* wip

* ✌️

* use ajv/dist/core

* revert try

* clean up
This commit is contained in:
tamaina
2022-02-20 13:15:40 +09:00
committed by GitHub
parent fd8f8162e1
commit fcfb5ef0a3
304 changed files with 307 additions and 306 deletions

View File

@@ -8,7 +8,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
token: { type: 'string' },

View File

@@ -21,7 +21,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
clientDataJSON: { type: 'string' },

View File

@@ -7,7 +7,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
value: { type: 'boolean' },

View File

@@ -14,7 +14,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
password: { type: 'string' },

View File

@@ -11,7 +11,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
password: { type: 'string' },

View File

@@ -9,7 +9,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
password: { type: 'string' },

View File

@@ -8,7 +8,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
password: { type: 'string' },

View File

@@ -7,7 +7,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
sort: { type: 'string', enum: ['+createdAt', '-createdAt', '+lastUsedAt', '-lastUsedAt'] },

View File

@@ -7,7 +7,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },

View File

@@ -8,7 +8,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
currentPassword: { type: 'string' },

View File

@@ -11,7 +11,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
password: { type: 'string' },

View File

@@ -11,7 +11,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {},
required: [],

View File

@@ -11,7 +11,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
excludeMuting: { type: 'boolean', default: false },

View File

@@ -11,7 +11,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {},
required: [],

View File

@@ -11,7 +11,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {},
required: [],

View File

@@ -11,7 +11,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {},
required: [],

View File

@@ -20,7 +20,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },

View File

@@ -31,7 +31,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },

View File

@@ -20,7 +20,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },

View File

@@ -20,7 +20,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {},
required: [],

View File

@@ -40,7 +40,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
fileId: { type: 'string', format: 'misskey:id' },

View File

@@ -39,7 +39,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
fileId: { type: 'string', format: 'misskey:id' },

View File

@@ -40,7 +40,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
fileId: { type: 'string', format: 'misskey:id' },

View File

@@ -39,7 +39,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
fileId: { type: 'string', format: 'misskey:id' },

View File

@@ -25,7 +25,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },

View File

@@ -30,7 +30,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },

View File

@@ -20,7 +20,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },

View File

@@ -37,7 +37,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
noteId: { type: 'string', format: 'misskey:id' },

View File

@@ -10,7 +10,7 @@ export const meta = {
kind: 'write:account',
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {},
required: [],

View File

@@ -10,7 +10,7 @@ export const meta = {
kind: 'write:account',
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {},
required: [],

View File

@@ -20,7 +20,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
announcementId: { type: 'string', format: 'misskey:id' },

View File

@@ -10,7 +10,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
password: { type: 'string' },

View File

@@ -7,7 +7,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
scope: { type: 'array', default: [], items: {

View File

@@ -16,7 +16,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
key: { type: 'string' },

View File

@@ -16,7 +16,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
key: { type: 'string' },

View File

@@ -7,7 +7,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
scope: { type: 'array', default: [], items: {

View File

@@ -7,7 +7,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
scope: { type: 'array', default: [], items: {

View File

@@ -16,7 +16,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
key: { type: 'string' },

View File

@@ -7,7 +7,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {},
required: [],

View File

@@ -9,7 +9,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
key: { type: 'string', minLength: 1 },

View File

@@ -8,7 +8,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
tokenId: { type: 'string', format: 'misskey:id' },

View File

@@ -8,7 +8,7 @@ export const meta = {
secure: true,
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },

View File

@@ -25,7 +25,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
noteId: { type: 'string', format: 'misskey:id' },

View File

@@ -34,7 +34,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
password: { type: 'string' },

View File

@@ -67,7 +67,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
name: { ...Users.nameSchema, nullable: true },

View File

@@ -31,7 +31,7 @@ export const meta = {
},
} as const;
const paramDef = {
export const paramDef = {
type: 'object',
properties: {
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },