fix, add .yarn to gitignore
This commit is contained in:
parent
b1f3e412bb
commit
b3662f2b61
6 changed files with 25809 additions and 18108 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -42,3 +42,5 @@ ormconfig.json
|
|||
*.blend3
|
||||
*.blend4
|
||||
*.blend5
|
||||
|
||||
.yarn
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
"lodash": "^4.17.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@bull-board/koa": "3.10.2",
|
||||
"@discordapp/twemoji": "13.1.1",
|
||||
"@elastic/elasticsearch": "7.11.0",
|
||||
"@koa/cors": "3.1.0",
|
||||
|
@ -67,7 +68,6 @@
|
|||
"@types/ws": "8.5.3",
|
||||
"@typescript-eslint/eslint-plugin": "5.17.0",
|
||||
"@typescript-eslint/parser": "5.17.0",
|
||||
"@bull-board/koa": "3.10.2",
|
||||
"abort-controller": "3.0.0",
|
||||
"ajv": "8.11.0",
|
||||
"archiver": "5.3.0",
|
||||
|
@ -146,12 +146,9 @@
|
|||
"s-age": "1.1.2",
|
||||
"sanitize-html": "2.7.0",
|
||||
"seedrandom": "3.0.5",
|
||||
"sharp": "0.30.0",
|
||||
"sonic-channel": "1.2.6",
|
||||
"sharp": "0.30.1",
|
||||
"sharp": "0.30.2",
|
||||
"semver": "7.3.5",
|
||||
"sharp": "0.30.3",
|
||||
"sonic-channel": "1.2.6",
|
||||
"speakeasy": "2.0.0",
|
||||
"strict-event-emitter-types": "2.0.0",
|
||||
"stringz": "2.1.0",
|
||||
|
|
|
@ -1,17 +1,12 @@
|
|||
import $ from 'cafy';
|
||||
import searchClient from '@/db/searchClient';
|
||||
import es from '../../../../db/elasticsearch';
|
||||
import define from '../../define';
|
||||
import { Notes } from '@/models/index';
|
||||
import es from '../../../../db/elasticsearch.js';
|
||||
import define from '../../define.js';
|
||||
import { Notes } from '@/models/index.js';
|
||||
import { In } from 'typeorm';
|
||||
import config from '@/config/index.js';
|
||||
import { makePaginationQuery } from '../../common/make-pagination-query.js';
|
||||
import { generateVisibilityQuery } from '../../common/generate-visibility-query.js';
|
||||
import { generateMutedUserQuery } from '../../common/generate-muted-user-query.js';
|
||||
import { generateBlockedUserQuery } from '../../common/generate-block-query.js';
|
||||
import searchClient from "@/db/searchClient";
|
||||
import define from "../../define";
|
||||
import { Notes } from "@/models/index";
|
||||
import { In } from "typeorm";
|
||||
import config from "@/config/index.js";
|
||||
import { makePaginationQuery } from "../../common/make-pagination-query.js";
|
||||
import { generateVisibilityQuery } from "../../common/generate-visibility-query.js";
|
||||
import { generateMutedUserQuery } from "../../common/generate-muted-user-query.js";
|
||||
import { generateBlockedUserQuery } from "../../common/generate-block-query.js";
|
||||
|
||||
export const meta = {
|
||||
tags: ["notes"],
|
||||
|
@ -30,27 +25,36 @@ export const meta = {
|
|||
},
|
||||
},
|
||||
|
||||
errors: {
|
||||
},
|
||||
errors: {},
|
||||
} as const;
|
||||
|
||||
export const paramDef = {
|
||||
type: 'object',
|
||||
type: "object",
|
||||
properties: {
|
||||
query: { type: 'string' },
|
||||
sinceId: { type: 'string', format: 'misskey:id' },
|
||||
untilId: { type: 'string', format: 'misskey:id' },
|
||||
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },
|
||||
offset: { type: 'integer', default: 0 },
|
||||
query: { type: "string" },
|
||||
sinceId: { type: "string", format: "misskey:id" },
|
||||
untilId: { type: "string", format: "misskey:id" },
|
||||
limit: { type: "integer", minimum: 1, maximum: 100, default: 10 },
|
||||
offset: { type: "integer", default: 0 },
|
||||
host: {
|
||||
type: 'string',
|
||||
type: "string",
|
||||
nullable: true,
|
||||
description: 'The local host is represented with `null`.',
|
||||
description: "The local host is represented with `null`.",
|
||||
},
|
||||
userId: {
|
||||
type: "string",
|
||||
format: "misskey:id",
|
||||
nullable: true,
|
||||
default: null,
|
||||
},
|
||||
channelId: {
|
||||
type: "string",
|
||||
format: "misskey:id",
|
||||
nullable: true,
|
||||
default: null,
|
||||
},
|
||||
userId: { type: 'string', format: 'misskey:id', nullable: true, default: null },
|
||||
channelId: { type: 'string', format: 'misskey:id', nullable: true, default: null },
|
||||
},
|
||||
required: ['query'],
|
||||
required: ["query"],
|
||||
} as const;
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue