Fix API Schema Error

This commit is contained in:
tamaina 2022-01-14 02:39:25 +09:00
parent 27778f839a
commit 21b6176d97
122 changed files with 137 additions and 133 deletions

View file

@ -22,9 +22,5 @@ export const packedQueueCountSchema = {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
}, },
paused: {
type: 'number' as const,
optional: false as const, nullable: false as const,
},
}, },
}; };

View file

@ -3,7 +3,7 @@ import { dirname } from 'path';
import { Context } from 'cafy'; import { Context } from 'cafy';
import * as path from 'path'; import * as path from 'path';
import * as glob from 'glob'; import * as glob from 'glob';
import { SimpleSchema } from '@/misc/simple-schema'; import { Schema } from '@/misc/schema';
//const _filename = fileURLToPath(import.meta.url); //const _filename = fileURLToPath(import.meta.url);
const _filename = __filename; const _filename = __filename;
@ -34,7 +34,7 @@ export interface IEndpointMeta {
}; };
}; };
res?: SimpleSchema; res?: Schema;
/** /**
* *

View file

@ -93,17 +93,17 @@ export const meta = {
reporter: { reporter: {
type: 'object' as const, type: 'object' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
ref: 'User', ref: 'User' as const,
}, },
targetUser: { targetUser: {
type: 'object' as const, type: 'object' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
ref: 'User', ref: 'User' as const,
}, },
assignee: { assignee: {
type: 'object' as const, type: 'object' as const,
nullable: true as const, optional: true as const, nullable: true as const, optional: true as const,
ref: 'User', ref: 'User' as const,
}, },
}, },
}, },

View file

@ -18,7 +18,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
properties: { properties: {
token: { token: {
type: 'string' as const, type: 'string' as const,

View file

@ -49,7 +49,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFile', ref: 'DriveFile' as const,
}, },
}, },
}; };

View file

@ -14,16 +14,24 @@ export const meta = {
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
properties: { properties: {
deliver: { deliver: {
ref: 'QueueCount', type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'QueueCount' as const,
}, },
inbox: { inbox: {
ref: 'QueueCount', type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'QueueCount' as const,
}, },
db: { db: {
ref: 'QueueCount', type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'QueueCount' as const,
}, },
objectStorage: { objectStorage: {
ref: 'QueueCount', type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'QueueCount' as const,
}, },
}, },
}, },

View file

@ -58,7 +58,7 @@ export const meta = {
user: { user: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}, },
}, },

View file

@ -69,7 +69,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
ref: 'User', ref: 'User' as const,
}, },
}, },
}; };

View file

@ -76,7 +76,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Antenna', ref: 'Antenna' as const,
}, },
}; };

View file

@ -14,7 +14,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Antenna', ref: 'Antenna' as const,
}, },
}, },
}; };

View file

@ -57,7 +57,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}; };

View file

@ -28,7 +28,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Antenna', ref: 'Antenna' as const,
}, },
}; };

View file

@ -85,7 +85,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Antenna', ref: 'Antenna' as const,
}, },
}; };

View file

@ -33,7 +33,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'App', ref: 'App' as const,
}, },
}; };

View file

@ -16,7 +16,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'App', ref: 'App' as const,
}, },
errors: { errors: {
@ -30,7 +30,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'App', ref: 'App' as const,
}, },
}; };

View file

@ -34,7 +34,7 @@ export const meta = {
app: { app: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'App', ref: 'App' as const,
}, },
token: { token: {
type: 'string' as const, type: 'string' as const,

View file

@ -30,7 +30,7 @@ export const meta = {
user: { user: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}, },
}, },

View file

@ -48,7 +48,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}; };

View file

@ -48,7 +48,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}; };

View file

@ -32,7 +32,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Blocking', ref: 'Blocking' as const,
}, },
}, },
}; };

View file

@ -30,7 +30,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Channel', ref: 'Channel' as const,
}, },
errors: { errors: {

View file

@ -12,7 +12,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Channel', ref: 'Channel' as const,
}, },
}, },
}; };

View file

@ -32,7 +32,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Channel', ref: 'Channel' as const,
}, },
}, },
}; };

View file

@ -32,7 +32,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Channel', ref: 'Channel' as const,
}, },
}, },
}; };

View file

@ -18,7 +18,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Channel', ref: 'Channel' as const,
}, },
errors: { errors: {

View file

@ -44,7 +44,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },

View file

@ -32,7 +32,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Channel', ref: 'Channel' as const,
}, },
errors: { errors: {

View file

@ -27,7 +27,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Clip', ref: 'Clip' as const,
}, },
}; };

View file

@ -14,7 +14,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Clip', ref: 'Clip' as const,
}, },
}, },
}; };

View file

@ -48,7 +48,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}; };

View file

@ -28,7 +28,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Clip', ref: 'Clip' as const,
}, },
}; };

View file

@ -40,7 +40,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Clip', ref: 'Clip' as const,
}, },
}; };

View file

@ -41,7 +41,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFile', ref: 'DriveFile' as const,
}, },
}, },
}; };

View file

@ -23,7 +23,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },

View file

@ -48,7 +48,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFile', ref: 'DriveFile' as const,
}, },
errors: { errors: {

View file

@ -21,7 +21,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFile', ref: 'DriveFile' as const,
}, },
}, },
}; };

View file

@ -27,7 +27,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFile', ref: 'DriveFile' as const,
}, },
}, },
}; };

View file

@ -25,7 +25,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFile', ref: 'DriveFile' as const,
}, },
errors: { errors: {

View file

@ -62,7 +62,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFile', ref: 'DriveFile' as const,
}, },
}; };

View file

@ -37,7 +37,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFolder', ref: 'DriveFolder' as const,
}, },
}, },
}; };

View file

@ -35,7 +35,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFolder', ref: 'DriveFolder' as const,
}, },
}; };

View file

@ -27,7 +27,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFolder', ref: 'DriveFolder' as const,
}, },
}, },
}; };

View file

@ -20,7 +20,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFolder', ref: 'DriveFolder' as const,
}, },
errors: { errors: {

View file

@ -49,7 +49,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFolder', ref: 'DriveFolder' as const,
}, },
}; };

View file

@ -36,7 +36,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'DriveFile', ref: 'DriveFile' as const,
}, },
}, },
}; };

View file

@ -34,7 +34,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Following', ref: 'Following' as const,
}, },
}, },
}; };

View file

@ -34,7 +34,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Following', ref: 'Following' as const,
}, },
}, },
}; };

View file

@ -59,7 +59,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'FederationInstance', ref: 'FederationInstance' as const,
}, },
}, },
}; };

View file

@ -17,7 +17,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'FederationInstance', ref: 'FederationInstance' as const,
}, },
}; };

View file

@ -34,7 +34,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}, },
}; };

View file

@ -60,7 +60,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}; };

View file

@ -48,7 +48,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}; };

View file

@ -48,7 +48,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}; };

View file

@ -36,7 +36,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}; };

View file

@ -23,12 +23,12 @@ export const meta = {
follower: { follower: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
followee: { followee: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}, },
}, },

View file

@ -12,7 +12,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'GalleryPost', ref: 'GalleryPost' as const,
}, },
}, },
}; };

View file

@ -12,7 +12,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'GalleryPost', ref: 'GalleryPost' as const,
}, },
}, },
}; };

View file

@ -28,7 +28,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'GalleryPost', ref: 'GalleryPost' as const,
}, },
}, },
}; };

View file

@ -42,7 +42,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'GalleryPost', ref: 'GalleryPost' as const,
}, },
errors: { errors: {

View file

@ -26,7 +26,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'GalleryPost', ref: 'GalleryPost' as const,
}, },
}; };

View file

@ -45,7 +45,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'GalleryPost', ref: 'GalleryPost' as const,
}, },
errors: { errors: {

View file

@ -52,7 +52,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Hashtag', ref: 'Hashtag' as const,
}, },
}, },
}; };

View file

@ -18,7 +18,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Hashtag', ref: 'Hashtag' as const,
}, },
errors: { errors: {

View file

@ -53,7 +53,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}, },
}; };

View file

@ -11,7 +11,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}; };

View file

@ -32,7 +32,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'NoteFavorite', ref: 'NoteFavorite' as const,
}, },
}, },
}; };

View file

@ -38,7 +38,7 @@ export const meta = {
page: { page: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'GalleryPost', ref: 'GalleryPost' as const,
}, },
}, },
}, },

View file

@ -32,7 +32,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'GalleryPost', ref: 'GalleryPost' as const,
}, },
}, },
}; };

View file

@ -60,7 +60,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Notification', ref: 'Notification' as const,
}, },
}, },
}; };

View file

@ -38,7 +38,7 @@ export const meta = {
page: { page: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Page', ref: 'Page' as const,
}, },
}, },
}, },

View file

@ -32,7 +32,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Page', ref: 'Page' as const,
}, },
}, },
}; };

View file

@ -41,7 +41,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}; };

View file

@ -29,7 +29,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}; };

View file

@ -164,7 +164,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'User', ref: 'User' as const,
}, },
}; };

View file

@ -41,7 +41,7 @@ export const meta = {
group: { group: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'UserGroup', ref: 'UserGroup' as const,
}, },
}, },
}, },

View file

@ -29,7 +29,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'MessagingMessage', ref: 'MessagingMessage' as const,
}, },
}, },
}; };

View file

@ -49,7 +49,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'MessagingMessage', ref: 'MessagingMessage' as const,
}, },
}, },

View file

@ -36,7 +36,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'MessagingMessage', ref: 'MessagingMessage' as const,
}, },
errors: { errors: {

View file

@ -32,7 +32,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Muting', ref: 'Muting' as const,
}, },
}, },
}; };

View file

@ -48,7 +48,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}; };

View file

@ -39,7 +39,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}; };

View file

@ -23,7 +23,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },

View file

@ -33,7 +33,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },

View file

@ -119,7 +119,7 @@ export const meta = {
createdNote: { createdNote: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}, },

View file

@ -27,7 +27,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}; };

View file

@ -48,7 +48,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },

View file

@ -68,7 +68,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },

View file

@ -59,7 +59,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },

View file

@ -45,7 +45,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}; };

View file

@ -26,7 +26,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}; };

View file

@ -46,7 +46,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'NoteReaction', ref: 'NoteReaction' as const,
}, },
}, },

View file

@ -39,7 +39,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },

View file

@ -37,7 +37,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}; };

View file

@ -61,7 +61,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}; };

View file

@ -55,7 +55,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },

View file

@ -19,7 +19,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
errors: { errors: {

View file

@ -66,7 +66,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },
}; };

View file

@ -65,7 +65,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Note', ref: 'Note' as const,
}, },
}, },

View file

@ -67,7 +67,7 @@ export const meta = {
res: { res: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
ref: 'Page', ref: 'Page' as const,
}, },
errors: { errors: {

View file

@ -12,7 +12,7 @@ export const meta = {
items: { items: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false 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