Fix API Schema Error
This commit is contained in:
parent
27778f839a
commit
21b6176d97
|
@ -22,9 +22,5 @@ export const packedQueueCountSchema = {
|
|||
type: 'number' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
},
|
||||
paused: {
|
||||
type: 'number' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@ import { dirname } from 'path';
|
|||
import { Context } from 'cafy';
|
||||
import * as path from 'path';
|
||||
import * as glob from 'glob';
|
||||
import { SimpleSchema } from '@/misc/simple-schema';
|
||||
import { Schema } from '@/misc/schema';
|
||||
|
||||
//const _filename = fileURLToPath(import.meta.url);
|
||||
const _filename = __filename;
|
||||
|
@ -34,7 +34,7 @@ export interface IEndpointMeta {
|
|||
};
|
||||
};
|
||||
|
||||
res?: SimpleSchema;
|
||||
res?: Schema;
|
||||
|
||||
/**
|
||||
* このエンドポイントにリクエストするのにユーザー情報が必須か否か
|
||||
|
|
|
@ -93,17 +93,17 @@ export const meta = {
|
|||
reporter: {
|
||||
type: 'object' as const,
|
||||
nullable: false as const, optional: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
targetUser: {
|
||||
type: 'object' as const,
|
||||
nullable: false as const, optional: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
assignee: {
|
||||
type: 'object' as const,
|
||||
nullable: true as const, optional: true as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -18,7 +18,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
properties: {
|
||||
token: {
|
||||
type: 'string' as const,
|
||||
|
|
|
@ -49,7 +49,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFile',
|
||||
ref: 'DriveFile' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -14,16 +14,24 @@ export const meta = {
|
|||
optional: false as const, nullable: false as const,
|
||||
properties: {
|
||||
deliver: {
|
||||
ref: 'QueueCount',
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'QueueCount' as const,
|
||||
},
|
||||
inbox: {
|
||||
ref: 'QueueCount',
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'QueueCount' as const,
|
||||
},
|
||||
db: {
|
||||
ref: 'QueueCount',
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'QueueCount' as const,
|
||||
},
|
||||
objectStorage: {
|
||||
ref: 'QueueCount',
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'QueueCount' as const,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -58,7 +58,7 @@ export const meta = {
|
|||
user: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -69,7 +69,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
nullable: false as const, optional: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -76,7 +76,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Antenna',
|
||||
ref: 'Antenna' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Antenna',
|
||||
ref: 'Antenna' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -57,7 +57,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Antenna',
|
||||
ref: 'Antenna' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Antenna',
|
||||
ref: 'Antenna' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'App',
|
||||
ref: 'App' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'App',
|
||||
ref: 'App' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
@ -30,7 +30,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'App',
|
||||
ref: 'App' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ export const meta = {
|
|||
app: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'App',
|
||||
ref: 'App' as const,
|
||||
},
|
||||
token: {
|
||||
type: 'string' as const,
|
||||
|
|
|
@ -30,7 +30,7 @@ export const meta = {
|
|||
user: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -48,7 +48,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Blocking',
|
||||
ref: 'Blocking' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -30,7 +30,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Channel',
|
||||
ref: 'Channel' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -12,7 +12,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Channel',
|
||||
ref: 'Channel' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Channel',
|
||||
ref: 'Channel' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Channel',
|
||||
ref: 'Channel' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Channel',
|
||||
ref: 'Channel' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -44,7 +44,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Channel',
|
||||
ref: 'Channel' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -27,7 +27,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Clip',
|
||||
ref: 'Clip' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Clip',
|
||||
ref: 'Clip' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Clip',
|
||||
ref: 'Clip' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Clip',
|
||||
ref: 'Clip' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFile',
|
||||
ref: 'DriveFile' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFile',
|
||||
ref: 'DriveFile' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -21,7 +21,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFile',
|
||||
ref: 'DriveFile' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFile',
|
||||
ref: 'DriveFile' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -25,7 +25,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFile',
|
||||
ref: 'DriveFile' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -62,7 +62,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFile',
|
||||
ref: 'DriveFile' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFolder',
|
||||
ref: 'DriveFolder' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -35,7 +35,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFolder',
|
||||
ref: 'DriveFolder' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFolder',
|
||||
ref: 'DriveFolder' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -20,7 +20,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFolder',
|
||||
ref: 'DriveFolder' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -49,7 +49,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFolder',
|
||||
ref: 'DriveFolder' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'DriveFile',
|
||||
ref: 'DriveFile' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -34,7 +34,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Following',
|
||||
ref: 'Following' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -34,7 +34,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Following',
|
||||
ref: 'Following' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -59,7 +59,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'FederationInstance',
|
||||
ref: 'FederationInstance' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'FederationInstance',
|
||||
ref: 'FederationInstance' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -60,7 +60,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -23,12 +23,12 @@ export const meta = {
|
|||
follower: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
followee: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -12,7 +12,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'GalleryPost',
|
||||
ref: 'GalleryPost' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'GalleryPost',
|
||||
ref: 'GalleryPost' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'GalleryPost',
|
||||
ref: 'GalleryPost' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -42,7 +42,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'GalleryPost',
|
||||
ref: 'GalleryPost' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -26,7 +26,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'GalleryPost',
|
||||
ref: 'GalleryPost' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'GalleryPost',
|
||||
ref: 'GalleryPost' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -52,7 +52,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Hashtag',
|
||||
ref: 'Hashtag' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Hashtag',
|
||||
ref: 'Hashtag' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -53,7 +53,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -11,7 +11,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'NoteFavorite',
|
||||
ref: 'NoteFavorite' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -38,7 +38,7 @@ export const meta = {
|
|||
page: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'GalleryPost',
|
||||
ref: 'GalleryPost' as const,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -32,7 +32,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'GalleryPost',
|
||||
ref: 'GalleryPost' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -60,7 +60,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Notification',
|
||||
ref: 'Notification' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -38,7 +38,7 @@ export const meta = {
|
|||
page: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Page',
|
||||
ref: 'Page' as const,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -32,7 +32,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Page',
|
||||
ref: 'Page' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -41,7 +41,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -164,7 +164,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'User',
|
||||
ref: 'User' as const,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ export const meta = {
|
|||
group: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'UserGroup',
|
||||
ref: 'UserGroup' as const,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -29,7 +29,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'MessagingMessage',
|
||||
ref: 'MessagingMessage' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -49,7 +49,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'MessagingMessage',
|
||||
ref: 'MessagingMessage' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'MessagingMessage',
|
||||
ref: 'MessagingMessage' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -32,7 +32,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Muting',
|
||||
ref: 'Muting' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -39,7 +39,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ export const meta = {
|
|||
createdNote: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -27,7 +27,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -26,7 +26,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -46,7 +46,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'NoteReaction',
|
||||
ref: 'NoteReaction' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -61,7 +61,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -55,7 +55,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -66,7 +66,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -65,7 +65,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Note',
|
||||
ref: 'Note' as const,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ export const meta = {
|
|||
res: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Page',
|
||||
ref: 'Page' as const,
|
||||
},
|
||||
|
||||
errors: {
|
||||
|
|
|
@ -12,7 +12,7 @@ export const meta = {
|
|||
items: {
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
ref: 'Page',
|
||||
ref: 'Page' as const,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue