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
|
*.blend3
|
||||||
*.blend4
|
*.blend4
|
||||||
*.blend5
|
*.blend5
|
||||||
|
|
||||||
|
.yarn
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
"lodash": "^4.17.21"
|
"lodash": "^4.17.21"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@bull-board/koa": "3.10.2",
|
||||||
"@discordapp/twemoji": "13.1.1",
|
"@discordapp/twemoji": "13.1.1",
|
||||||
"@elastic/elasticsearch": "7.11.0",
|
"@elastic/elasticsearch": "7.11.0",
|
||||||
"@koa/cors": "3.1.0",
|
"@koa/cors": "3.1.0",
|
||||||
|
@ -67,7 +68,6 @@
|
||||||
"@types/ws": "8.5.3",
|
"@types/ws": "8.5.3",
|
||||||
"@typescript-eslint/eslint-plugin": "5.17.0",
|
"@typescript-eslint/eslint-plugin": "5.17.0",
|
||||||
"@typescript-eslint/parser": "5.17.0",
|
"@typescript-eslint/parser": "5.17.0",
|
||||||
"@bull-board/koa": "3.10.2",
|
|
||||||
"abort-controller": "3.0.0",
|
"abort-controller": "3.0.0",
|
||||||
"ajv": "8.11.0",
|
"ajv": "8.11.0",
|
||||||
"archiver": "5.3.0",
|
"archiver": "5.3.0",
|
||||||
|
@ -146,12 +146,9 @@
|
||||||
"s-age": "1.1.2",
|
"s-age": "1.1.2",
|
||||||
"sanitize-html": "2.7.0",
|
"sanitize-html": "2.7.0",
|
||||||
"seedrandom": "3.0.5",
|
"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",
|
"semver": "7.3.5",
|
||||||
"sharp": "0.30.3",
|
"sharp": "0.30.3",
|
||||||
|
"sonic-channel": "1.2.6",
|
||||||
"speakeasy": "2.0.0",
|
"speakeasy": "2.0.0",
|
||||||
"strict-event-emitter-types": "2.0.0",
|
"strict-event-emitter-types": "2.0.0",
|
||||||
"stringz": "2.1.0",
|
"stringz": "2.1.0",
|
||||||
|
|
|
@ -1,17 +1,12 @@
|
||||||
import $ from 'cafy';
|
import searchClient from "@/db/searchClient";
|
||||||
import searchClient from '@/db/searchClient';
|
import define from "../../define";
|
||||||
import es from '../../../../db/elasticsearch';
|
import { Notes } from "@/models/index";
|
||||||
import define from '../../define';
|
import { In } from "typeorm";
|
||||||
import { Notes } from '@/models/index';
|
import config from "@/config/index.js";
|
||||||
import es from '../../../../db/elasticsearch.js';
|
import { makePaginationQuery } from "../../common/make-pagination-query.js";
|
||||||
import define from '../../define.js';
|
import { generateVisibilityQuery } from "../../common/generate-visibility-query.js";
|
||||||
import { Notes } from '@/models/index.js';
|
import { generateMutedUserQuery } from "../../common/generate-muted-user-query.js";
|
||||||
import { In } from 'typeorm';
|
import { generateBlockedUserQuery } from "../../common/generate-block-query.js";
|
||||||
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 = {
|
export const meta = {
|
||||||
tags: ["notes"],
|
tags: ["notes"],
|
||||||
|
@ -30,27 +25,36 @@ export const meta = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
errors: {
|
errors: {},
|
||||||
},
|
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const paramDef = {
|
export const paramDef = {
|
||||||
type: 'object',
|
type: "object",
|
||||||
properties: {
|
properties: {
|
||||||
query: { type: 'string' },
|
query: { type: "string" },
|
||||||
sinceId: { type: 'string', format: 'misskey:id' },
|
sinceId: { type: "string", format: "misskey:id" },
|
||||||
untilId: { type: 'string', format: 'misskey:id' },
|
untilId: { type: "string", format: "misskey:id" },
|
||||||
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },
|
limit: { type: "integer", minimum: 1, maximum: 100, default: 10 },
|
||||||
offset: { type: 'integer', default: 0 },
|
offset: { type: "integer", default: 0 },
|
||||||
host: {
|
host: {
|
||||||
type: 'string',
|
type: "string",
|
||||||
nullable: true,
|
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 },
|
userId: {
|
||||||
channelId: { type: 'string', format: 'misskey:id', nullable: true, default: null },
|
type: "string",
|
||||||
|
format: "misskey:id",
|
||||||
|
nullable: true,
|
||||||
|
default: null,
|
||||||
},
|
},
|
||||||
required: ['query'],
|
channelId: {
|
||||||
|
type: "string",
|
||||||
|
format: "misskey:id",
|
||||||
|
nullable: true,
|
||||||
|
default: null,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
required: ["query"],
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
// eslint-disable-next-line import/no-default-export
|
// 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…
Add table
Add a link
Reference in a new issue