Remove entity descriptions

#6627
This commit is contained in:
syuilo 2021-06-08 14:24:21 +09:00
parent 56600ba1df
commit 55c549a9f8
52 changed files with 1 additions and 249 deletions

View File

@ -41,14 +41,12 @@ export const packedBlockingSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this blocking.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the blocking was created.'
}, },
blockeeId: { blockeeId: {
type: 'string' as const, type: 'string' as const,
@ -59,7 +57,6 @@ export const packedBlockingSchema = {
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',
description: 'The blockee.'
}, },
} }
}; };

View File

@ -51,14 +51,12 @@ export const packedChannelSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Channel.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Channel was created.'
}, },
lastNotedAt: { lastNotedAt: {
type: 'string' as const, type: 'string' as const,
@ -68,7 +66,6 @@ export const packedChannelSchema = {
name: { name: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The name of the Channel.'
}, },
description: { description: {
type: 'string' as const, type: 'string' as const,

View File

@ -39,14 +39,12 @@ export const packedClipSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Clip.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Clip was created.'
}, },
userId: { userId: {
type: 'string' as const, type: 'string' as const,
@ -61,17 +59,14 @@ export const packedClipSchema = {
name: { name: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The name of the Clip.'
}, },
description: { description: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'The description of the Clip.'
}, },
isPublic: { isPublic: {
type: 'boolean' as const, type: 'boolean' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Whether this Clip is public.',
}, },
}, },
}; };

View File

@ -154,44 +154,37 @@ export const packedDriveFileSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Drive file.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Drive file was created on Misskey.'
}, },
name: { name: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The file name with extension.',
example: 'lenna.jpg' example: 'lenna.jpg'
}, },
type: { type: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The MIME type of this Drive file.',
example: 'image/jpeg' example: 'image/jpeg'
}, },
md5: { md5: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'md5', format: 'md5',
description: 'The MD5 hash of this Drive file.',
example: '15eca7fba0480996e2245f5185bf39f2' example: '15eca7fba0480996e2245f5185bf39f2'
}, },
size: { size: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The size of this Drive file. (bytes)',
example: 51469 example: 51469
}, },
isSensitive: { isSensitive: {
type: 'boolean' as const, type: 'boolean' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Whether this Drive file is sensitive.',
}, },
blurhash: { blurhash: {
type: 'string' as const, type: 'string' as const,
@ -222,13 +215,11 @@ export const packedDriveFileSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'url', format: 'url',
description: 'The URL of this Drive file.',
}, },
thumbnailUrl: { thumbnailUrl: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'url', format: 'url',
description: 'The thumbnail URL of this Drive file.',
}, },
comment: { comment: {
type: 'string' as const, type: 'string' as const,
@ -238,26 +229,22 @@ export const packedDriveFileSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'id', format: 'id',
description: 'The parent folder ID of this Drive file.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
folder: { folder: {
type: 'object' as const, type: 'object' as const,
optional: true as const, nullable: true as const, optional: true as const, nullable: true as const,
description: 'The parent folder of this Drive file.',
ref: 'DriveFolder' ref: 'DriveFolder'
}, },
userId: { userId: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'id', format: 'id',
description: 'Owner ID of this Drive file.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
user: { user: {
type: 'object' as const, type: 'object' as const,
optional: true as const, nullable: true as const, optional: true as const, nullable: true as const,
description: 'Owner of this Drive file.',
ref: 'User' ref: 'User'
} }
}, },

View File

@ -59,35 +59,29 @@ export const packedDriveFolderSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Drive folder.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Drive folder was created.'
}, },
name: { name: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The folder name.',
}, },
foldersCount: { foldersCount: {
type: 'number' as const, type: 'number' as const,
optional: true as const, nullable: false as const, optional: true as const, nullable: false as const,
description: 'The count of child folders.',
}, },
filesCount: { filesCount: {
type: 'number' as const, type: 'number' as const,
optional: true as const, nullable: false as const, optional: true as const, nullable: false as const,
description: 'The count of child files.',
}, },
parentId: { parentId: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'id', format: 'id',
description: 'The parent folder ID of this folder.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
parent: { parent: {

View File

@ -95,14 +95,12 @@ export const packedFollowingSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this following.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the following was created.'
}, },
followeeId: { followeeId: {
type: 'string' as const, type: 'string' as const,
@ -113,7 +111,6 @@ export const packedFollowingSchema = {
type: 'object' as const, type: 'object' as const,
optional: true as const, nullable: false as const, optional: true as const, nullable: false as const,
ref: 'User', ref: 'User',
description: 'The followee.'
}, },
followerId: { followerId: {
type: 'string' as const, type: 'string' as const,
@ -124,7 +121,6 @@ export const packedFollowingSchema = {
type: 'object' as const, type: 'object' as const,
optional: true as const, nullable: false as const, optional: true as const, nullable: false as const,
ref: 'User', ref: 'User',
description: 'The follower.'
}, },
} }
}; };

View File

@ -34,38 +34,31 @@ export const packedHashtagSchema = {
tag: { tag: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The hashtag name. No # prefixed.',
example: 'misskey', example: 'misskey',
}, },
mentionedUsersCount: { mentionedUsersCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Number of all users using this hashtag.'
}, },
mentionedLocalUsersCount: { mentionedLocalUsersCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Number of local users using this hashtag.'
}, },
mentionedRemoteUsersCount: { mentionedRemoteUsersCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Number of remote users using this hashtag.'
}, },
attachedUsersCount: { attachedUsersCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Number of all users who attached this hashtag to profile.'
}, },
attachedLocalUsersCount: { attachedLocalUsersCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Number of local users who attached this hashtag to profile.'
}, },
attachedRemoteUsersCount: { attachedRemoteUsersCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Number of remote users who attached this hashtag to profile.'
}, },
} }
}; };

View File

@ -53,14 +53,12 @@ export const packedMessagingMessageSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this MessagingMessage.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the MessagingMessage was created.'
}, },
userId: { userId: {
type: 'string' as const, type: 'string' as const,

View File

@ -41,14 +41,12 @@ export const packedMutingSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this muting.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the muting was created.'
}, },
muteeId: { muteeId: {
type: 'string' as const, type: 'string' as const,
@ -59,7 +57,6 @@ export const packedMutingSchema = {
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',
description: 'The mutee.'
}, },
} }
}; };

View File

@ -35,14 +35,12 @@ export const packedNoteFavoriteSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this favorite.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the favorite was created.'
}, },
note: { note: {
type: 'object' as const, type: 'object' as const,

View File

@ -32,25 +32,21 @@ export const packedNoteReactionSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this reaction.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the reaction was created.'
}, },
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',
description: 'User who performed this reaction.'
}, },
type: { type: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The reaction type.'
}, },
}, },
}; };

View File

@ -281,14 +281,12 @@ export const packedNoteSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Note.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Note was created on Misskey.'
}, },
text: { text: {
type: 'string' as const, type: 'string' as const,
@ -426,7 +424,6 @@ export const packedNoteSchema = {
reactions: { reactions: {
type: 'object' as const, type: 'object' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Key is either Unicode emoji or custom emoji, value is count of that emoji reaction.',
}, },
renoteCount: { renoteCount: {
type: 'number' as const, type: 'number' as const,
@ -439,18 +436,15 @@ export const packedNoteSchema = {
uri: { uri: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'The URI of a note. it will be null when the note is local.',
}, },
url: { url: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'The human readable url of a note. it will be null when the note is local.',
}, },
myReaction: { myReaction: {
type: 'object' as const, type: 'object' as const,
optional: true as const, nullable: true as const, optional: true as const, nullable: true as const,
description: 'Key is either Unicode emoji or custom emoji, value is count of that emoji reaction.',
}, },
}, },
}; };

View File

@ -117,20 +117,17 @@ export const packedNotificationSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this notification.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the notification was created.'
}, },
type: { type: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
enum: ['follow', 'followRequestAccepted', 'receiveFollowRequest', 'mention', 'reply', 'renote', 'quote', 'reaction', 'pollVote'], enum: ['follow', 'followRequestAccepted', 'receiveFollowRequest', 'mention', 'reply', 'renote', 'quote', 'reaction', 'pollVote'],
description: 'The type of the notification.'
}, },
userId: { userId: {
type: 'string' as const, type: 'string' as const,

View File

@ -34,19 +34,16 @@ export const packedUserGroupSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this UserGroup.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the UserGroup was created.'
}, },
name: { name: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The name of the UserGroup.'
}, },
ownerId: { ownerId: {
type: 'string' as const, type: 'string' as const,

View File

@ -33,19 +33,16 @@ export const packedUserListSchema = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this UserList.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the UserList was created.'
}, },
name: { name: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The name of the UserList.'
}, },
userIds: { userIds: {
type: 'array' as const, type: 'array' as const,

View File

@ -342,19 +342,16 @@ export const packedUserSchema = {
type: 'string' as const, type: 'string' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this User.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
name: { name: {
type: 'string' as const, type: 'string' as const,
nullable: true as const, optional: false as const, nullable: true as const, optional: false as const,
description: 'The name of the user, as theyve defined it.',
example: '藍' example: '藍'
}, },
username: { username: {
type: 'string' as const, type: 'string' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
description: 'The screen name, handle, or alias that this user identifies themselves with.',
example: 'ai' example: 'ai'
}, },
host: { host: {
@ -379,24 +376,20 @@ export const packedUserSchema = {
isAdmin: { isAdmin: {
type: 'boolean' as const, type: 'boolean' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
description: 'Whether this account is the admin.',
default: false default: false
}, },
isModerator: { isModerator: {
type: 'boolean' as const, type: 'boolean' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
description: 'Whether this account is a moderator.',
default: false default: false
}, },
isBot: { isBot: {
type: 'boolean' as const, type: 'boolean' as const,
nullable: false as const, optional: true as const, nullable: false as const, optional: true as const,
description: 'Whether this account is a bot.'
}, },
isCat: { isCat: {
type: 'boolean' as const, type: 'boolean' as const,
nullable: false as const, optional: true as const, nullable: false as const, optional: true as const,
description: 'Whether this account is a cat.'
}, },
emojis: { emojis: {
type: 'array' as const, type: 'array' as const,
@ -438,7 +431,6 @@ export const packedUserSchema = {
type: 'string' as const, type: 'string' as const,
nullable: false as const, optional: true as const, nullable: false as const, optional: true as const,
format: 'date-time', format: 'date-time',
description: 'The date that the user account was created on Misskey.'
}, },
updatedAt: { updatedAt: {
type: 'string' as const, type: 'string' as const,
@ -471,7 +463,6 @@ export const packedUserSchema = {
description: { description: {
type: 'string' as const, type: 'string' as const,
nullable: true as const, optional: true as const, nullable: true as const, optional: true as const,
description: 'The user-defined UTF-8 string describing their account.',
example: 'Hi masters, I am Ai!' example: 'Hi masters, I am Ai!'
}, },
location: { location: {
@ -505,17 +496,14 @@ export const packedUserSchema = {
followersCount: { followersCount: {
type: 'number' as const, type: 'number' as const,
nullable: false as const, optional: true as const, nullable: false as const, optional: true as const,
description: 'The number of followers this account currently has.'
}, },
followingCount: { followingCount: {
type: 'number' as const, type: 'number' as const,
nullable: false as const, optional: true as const, nullable: false as const, optional: true as const,
description: 'The number of users this account is following.'
}, },
notesCount: { notesCount: {
type: 'number' as const, type: 'number' as const,
nullable: false as const, optional: true as const, nullable: false as const, optional: true as const,
description: 'The number of Notes (including renotes) issued by the user.'
}, },
pinnedNoteIds: { pinnedNoteIds: {
type: 'array' as const, type: 'array' as const,

View File

@ -59,43 +59,36 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this User.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the abuse user report was created on Misskey.'
}, },
comment: { comment: {
type: 'string' as const, type: 'string' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
description: 'The content of the report.',
}, },
resolved: { resolved: {
type: 'boolean' as const, type: 'boolean' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
description: 'Returns whether this report has been resolved',
example: false example: false
}, },
reporterId: { reporterId: {
type: 'string' as const, type: 'string' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
format: 'id', format: 'id',
description: 'Reporter\'s user ID.'
}, },
targetUserId: { targetUserId: {
type: 'string' as const, type: 'string' as const,
nullable: false as const, optional: false as const, nullable: false as const, optional: false as const,
format: 'id', format: 'id',
description: 'User ID of the person to be reported.'
}, },
assigneeId: { assigneeId: {
type: 'string' as const, type: 'string' as const,
nullable: true as const, optional: false as const, nullable: true as const, optional: false as const,
format: 'id', format: 'id',
description: 'User ID of the person who responded to the report.'
}, },
reporter: { reporter: {
type: 'object' as const, type: 'object' as const,

View File

@ -23,7 +23,6 @@ export const meta = {
token: { token: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Token to access this user.'
} }
} }
} }

View File

@ -29,35 +29,29 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Announcement.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Announcement was created.'
}, },
updatedAt: { updatedAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Announcement was updated.'
}, },
title: { title: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Announcement title.'
}, },
text: { text: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Announcement text.'
}, },
imageUrl: { imageUrl: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'Announcement image.'
} }
} }
} }

View File

@ -36,40 +36,33 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Announcement.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Announcement was created.'
}, },
updatedAt: { updatedAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Announcement was updated.'
}, },
text: { text: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Announcement text.'
}, },
title: { title: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Announcement title.'
}, },
imageUrl: { imageUrl: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'Announcement image.'
}, },
reads: { reads: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Number of people who read this announcement.'
} }
} }
} }

View File

@ -36,20 +36,17 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Drive file.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Drive file was created on Misskey.'
}, },
userId: { userId: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'id', format: 'id',
description: 'Owner ID of this Drive file.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
userHost: { userHost: {
@ -60,25 +57,21 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'md5', format: 'md5',
description: 'The MD5 hash of this Drive file.',
example: '15eca7fba0480996e2245f5185bf39f2' example: '15eca7fba0480996e2245f5185bf39f2'
}, },
name: { name: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The file name with extension.',
example: 'lenna.jpg' example: 'lenna.jpg'
}, },
type: { type: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The MIME type of this Drive file.',
example: 'image/jpeg' example: 'image/jpeg'
}, },
size: { size: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The size of this Drive file. (bytes)',
example: 51469 example: 51469
}, },
comment: { comment: {
@ -113,41 +106,34 @@ export const meta = {
storedInternal: { storedInternal: {
type: 'boolean' as const, type: 'boolean' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'Indicates whether this file is stored in the same location as Misskey itself',
example: true example: true
}, },
url: { url: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'url', format: 'url',
description: 'The URL of this Drive file.',
}, },
thumbnailUrl: { thumbnailUrl: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'url', format: 'url',
description: 'The thumbnail URL of this Drive file.',
}, },
webpublicUrl: { webpublicUrl: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'url', format: 'url',
description: 'The public URL of this Drive file.',
}, },
accessKey: { accessKey: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Access key to access this file'
}, },
thumbnailAccessKey: { thumbnailAccessKey: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Access key to access this file for thumbnail'
}, },
webpublicAccessKey: { webpublicAccessKey: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Access key to access this file for webpublic'
}, },
uri: { uri: {
type: 'string' as const, type: 'string' as const,
@ -161,13 +147,11 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'id', format: 'id',
description: 'The parent folder ID of this Drive file.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
isSensitive: { isSensitive: {
type: 'boolean' as const, type: 'boolean' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Whether this Drive file is sensitive.',
}, },
isLink: { isLink: {
type: 'boolean' as const, type: 'boolean' as const,

View File

@ -36,7 +36,6 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'New copied emoji ID'
} }
} }
} }

View File

@ -47,12 +47,10 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Emoji.'
}, },
aliases: { aliases: {
type: 'array' as const, type: 'array' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'List to make it easier to be displayed as a candidate when entering emoji.',
items: { items: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const optional: false as const, nullable: false as const
@ -61,22 +59,18 @@ export const meta = {
name: { name: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Official name of custom emoji.'
}, },
category: { category: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'Names categorized in the emoji list.'
}, },
host: { host: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'If it is another server, the FQDN will be returned here.'
}, },
url: { url: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Image URL of emoji.'
} }
} }
} }

View File

@ -42,12 +42,10 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Emoji.'
}, },
aliases: { aliases: {
type: 'array' as const, type: 'array' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'List to make it easier to be displayed as a candidate when entering emoji.',
items: { items: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const optional: false as const, nullable: false as const
@ -56,22 +54,18 @@ export const meta = {
name: { name: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Official name of custom emoji.'
}, },
category: { category: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'Names categorized in the emoji list.'
}, },
host: { host: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'If it is another server, the FQDN will be returned here.'
}, },
url: { url: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Image URL of emoji.'
} }
} }
} }

View File

@ -18,7 +18,6 @@ export const meta = {
code: { code: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Give this code to the applicant for registration.',
example: '2ERUA5VR', example: '2ERUA5VR',
maxLength: 8, maxLength: 8,
minLength: 8 minLength: 8

View File

@ -37,14 +37,12 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this log.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Drive file was created on Misskey.'
}, },
domain: { domain: {
type: 'array' as const, type: 'array' as const,
@ -65,12 +63,10 @@ export const meta = {
machine: { machine: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The name of the running machine.'
}, },
message: { message: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Log body.'
}, },
data: { data: {
type: 'object' as const, type: 'object' as const,

View File

@ -21,11 +21,9 @@ export const meta = {
anyOf: [ anyOf: [
{ {
type: 'string' as const, type: 'string' as const,
description: 'FQDN to fediverse server'
}, },
{ {
type: 'number' as const, type: 'number' as const,
description: 'Delayed queue counts'
} }
] ]
} }

View File

@ -21,11 +21,9 @@ export const meta = {
anyOf: [ anyOf: [
{ {
type: 'string' as const, type: 'string' as const,
description: 'FQDN to fediverse server'
}, },
{ {
type: 'number' as const, type: 'number' as const,
description: 'Delayed queue counts'
} }
] ]
} }

View File

@ -20,23 +20,19 @@ export const meta = {
machine: { machine: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The name of the running server'
}, },
os: { os: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'OS used by the server',
example: 'linux' example: 'linux'
}, },
node: { node: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Version of Node.js'
}, },
psql: { psql: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Version of Postgresql'
}, },
cpu: { cpu: {
type: 'object' as const, type: 'object' as const,
@ -45,12 +41,10 @@ export const meta = {
model: { model: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The name of the CPU you are using'
}, },
cores: { cores: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Number of CPU cores used (number of logical processors)'
} }
} }
}, },
@ -62,7 +56,6 @@ export const meta = {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'bytes', format: 'bytes',
description: 'RAM capacity.'
} }
} }
}, },
@ -74,13 +67,11 @@ export const meta = {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'bytes', format: 'bytes',
description: 'Total storage capacity.'
}, },
used: { used: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'bytes', format: 'bytes',
description: 'Amount of storage used'
} }
} }
}, },
@ -91,7 +82,6 @@ export const meta = {
interface: { interface: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The interface name of your network.',
example: 'eth0' example: 'eth0'
} }
} }

View File

@ -40,40 +40,33 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this Announcement.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
createdAt: { createdAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Announcement was created.'
}, },
updatedAt: { updatedAt: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
format: 'date-time', format: 'date-time',
description: 'The date that the Announcement was updated.'
}, },
text: { text: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Announcement text.'
}, },
title: { title: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Announcement title.'
}, },
imageUrl: { imageUrl: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'Announcement image.'
}, },
isRead: { isRead: {
type: 'boolean' as const, type: 'boolean' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Indicates that you have read this announcement'
} }
} }
} }

View File

@ -24,13 +24,11 @@ export const meta = {
token: { token: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'セッションのトークン'
}, },
url: { url: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'url', format: 'url',
description: 'セッションのURL'
}, },
} }
}, },

View File

@ -25,14 +25,12 @@ export const meta = {
accessToken: { accessToken: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'ユーザーのアクセストークン',
}, },
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',
description: '認証したユーザー'
}, },
} }
}, },

View File

@ -53,7 +53,6 @@ export const meta = {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
format: 'id', format: 'id',
description: 'The unique identifier for this blocking.',
example: 'xxxxxxxxxx', example: 'xxxxxxxxxx',
}, },
name: { name: {

View File

@ -33,13 +33,11 @@ export const meta = {
version: { version: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The version of Misskey of this instance.',
example: config.version example: config.version
}, },
name: { name: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The name of this instance.',
}, },
uri: { uri: {
type: 'string' as const, type: 'string' as const,
@ -50,7 +48,6 @@ export const meta = {
description: { description: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: true as const, optional: false as const, nullable: true as const,
description: 'The description of this instance.',
}, },
langs: { langs: {
type: 'array' as const, type: 'array' as const,
@ -82,17 +79,14 @@ export const meta = {
disableRegistration: { disableRegistration: {
type: 'boolean' as const, type: 'boolean' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Whether disabled open registration.',
}, },
disableLocalTimeline: { disableLocalTimeline: {
type: 'boolean' as const, type: 'boolean' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Whether disabled LTL and STL.',
}, },
disableGlobalTimeline: { disableGlobalTimeline: {
type: 'boolean' as const, type: 'boolean' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Whether disabled GTL.',
}, },
driveCapacityPerLocalUserMb: { driveCapacityPerLocalUserMb: {
type: 'number' as const, type: 'number' as const,

View File

@ -125,7 +125,6 @@ export const meta = {
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',
description: '作成した投稿'
} }
} }
}, },

View File

@ -59,7 +59,6 @@ export const meta = {
props: { props: {
type: 'object' as const, type: 'object' as const,
optional: true as const, nullable: false as const, optional: true as const, nullable: false as const,
description: 'Properties vary depending on the furniture'
}, },
position: { position: {
type: 'object' as const, type: 'object' as const,

View File

@ -17,27 +17,22 @@ export const meta = {
notesCount: { notesCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The count of all (local/remote) notes of this instance.',
}, },
originalNotesCount: { originalNotesCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The count of all local notes of this instance.',
}, },
usersCount: { usersCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The count of all (local/remote) accounts of this instance.',
}, },
originalUsersCount: { originalUsersCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The count of all local accounts of this instance.',
}, },
instances: { instances: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'The count of federated instances.',
}, },
driveUsageLocal: { driveUsageLocal: {
type: 'number' as const, type: 'number' as const,

View File

@ -20,7 +20,6 @@ export const meta = {
available: { available: {
type: 'boolean' as const, type: 'boolean' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Returns true if the username is not used.'
} }
} }
} }

View File

@ -5,7 +5,6 @@ export const logSchema = {
users: { users: {
type: 'array' as const, type: 'array' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'アクティブユーザー',
items: { items: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,

View File

@ -5,7 +5,6 @@ const logSchema = {
totalCount: { totalCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全ドライブファイル数'
}, },
/** /**
@ -14,7 +13,6 @@ const logSchema = {
totalSize: { totalSize: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全ドライブファイルの合計サイズ'
}, },
/** /**
@ -23,7 +21,6 @@ const logSchema = {
incCount: { incCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加したドライブファイル数'
}, },
/** /**
@ -32,7 +29,6 @@ const logSchema = {
incSize: { incSize: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加したドライブ使用量'
}, },
/** /**
@ -41,7 +37,6 @@ const logSchema = {
decCount: { decCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少したドライブファイル数'
}, },
/** /**
@ -50,7 +45,6 @@ const logSchema = {
decSize: { decSize: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少したドライブ使用量'
}, },
}; };

View File

@ -12,17 +12,14 @@ export const schema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'インスタンス数の合計'
}, },
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加インスタンス数'
}, },
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少インスタンス数'
}, },
} }
} }

View File

@ -5,7 +5,6 @@ export const logSchema = {
users: { users: {
type: 'array' as const, type: 'array' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '投稿したユーザー',
items: { items: {
type: 'string' as const, type: 'string' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,

View File

@ -12,17 +12,14 @@ export const schema = {
failed: { failed: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '失敗したリクエスト数'
}, },
succeeded: { succeeded: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '成功したリクエスト数'
}, },
received: { received: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '受信したリクエスト数'
}, },
} }
}, },
@ -34,17 +31,14 @@ export const schema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全投稿数'
}, },
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加した投稿数'
}, },
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少した投稿数'
}, },
diffs: { diffs: {
@ -54,19 +48,16 @@ export const schema = {
normal: { normal: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '通常の投稿数の差分'
}, },
reply: { reply: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'リプライの投稿数の差分'
}, },
renote: { renote: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Renoteの投稿数の差分'
}, },
} }
}, },
@ -80,17 +71,14 @@ export const schema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全ユーザー数'
}, },
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加したユーザー数'
}, },
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少したユーザー数'
}, },
} }
}, },
@ -102,17 +90,14 @@ export const schema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全フォロー数'
}, },
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加したフォロー数'
}, },
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少したフォロー数'
}, },
} }
}, },
@ -124,17 +109,14 @@ export const schema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全フォロワー数'
}, },
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加したフォロワー数'
}, },
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少したフォロワー数'
}, },
} }
}, },
@ -146,32 +128,26 @@ export const schema = {
totalFiles: { totalFiles: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全ドライブファイル数'
}, },
totalUsage: { totalUsage: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全ドライブファイルの合計サイズ'
}, },
incFiles: { incFiles: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加したドライブファイル数'
}, },
incUsage: { incUsage: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加したドライブ使用量'
}, },
decFiles: { decFiles: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少したドライブファイル数'
}, },
decUsage: { decUsage: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少したドライブ使用量'
}, },
} }
}, },

View File

@ -8,27 +8,22 @@ export const schema = {
incomingRequests: { incomingRequests: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '受信したリクエスト数'
}, },
outgoingRequests: { outgoingRequests: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '送信したリクエスト数'
}, },
totalTime: { totalTime: { // TIP: (totalTime / incomingRequests) でひとつのリクエストに平均でどれくらいの時間がかかったか知れる
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '応答時間の合計' // TIP: (totalTime / incomingRequests) でひとつのリクエストに平均でどれくらいの時間がかかったか知れる
}, },
incomingBytes: { incomingBytes: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '合計受信データ量'
}, },
outgoingBytes: { outgoingBytes: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '合計送信データ量'
}, },
} }
}; };

View File

@ -2,19 +2,16 @@ const logSchema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全投稿数'
}, },
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加した投稿数'
}, },
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少した投稿数'
}, },
diffs: { diffs: {
@ -24,19 +21,16 @@ const logSchema = {
normal: { normal: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '通常の投稿数の差分'
}, },
reply: { reply: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'リプライの投稿数の差分'
}, },
renote: { renote: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Renoteの投稿数の差分'
}, },
} }
}, },

View File

@ -8,7 +8,6 @@ export const schema = {
totalCount: { totalCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全ドライブファイル数'
}, },
/** /**
@ -17,7 +16,6 @@ export const schema = {
totalSize: { totalSize: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全ドライブファイルの合計サイズ'
}, },
/** /**
@ -26,7 +24,6 @@ export const schema = {
incCount: { incCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加したドライブファイル数'
}, },
/** /**
@ -35,7 +32,6 @@ export const schema = {
incSize: { incSize: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加したドライブ使用量'
}, },
/** /**
@ -44,7 +40,6 @@ export const schema = {
decCount: { decCount: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少したドライブファイル数'
}, },
/** /**
@ -53,7 +48,6 @@ export const schema = {
decSize: { decSize: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少したドライブ使用量'
}, },
} }
}; };

View File

@ -12,7 +12,6 @@ export const logSchema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'フォローしている合計',
}, },
/** /**
@ -21,7 +20,6 @@ export const logSchema = {
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'フォローした数',
}, },
/** /**
@ -30,7 +28,6 @@ export const logSchema = {
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'フォロー解除した数',
}, },
} }
}, },
@ -48,7 +45,6 @@ export const logSchema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'フォローされている合計',
}, },
/** /**
@ -57,7 +53,6 @@ export const logSchema = {
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'フォローされた数',
}, },
/** /**
@ -66,7 +61,6 @@ export const logSchema = {
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'フォロー解除された数',
}, },
} }
}, },

View File

@ -5,19 +5,16 @@ export const schema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全投稿数'
}, },
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加した投稿数'
}, },
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少した投稿数'
}, },
diffs: { diffs: {
@ -27,19 +24,16 @@ export const schema = {
normal: { normal: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '通常の投稿数の差分'
}, },
reply: { reply: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'リプライの投稿数の差分'
}, },
renote: { renote: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'Renoteの投稿数の差分'
}, },
} }
}, },

View File

@ -5,7 +5,6 @@ export const logSchema = {
count: { count: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: 'リアクションされた数',
}, },
}; };

View File

@ -9,19 +9,16 @@ export const schema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: ''
}, },
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: ''
}, },
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: ''
}, },
} }
} }

View File

@ -9,19 +9,16 @@ export const schema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: ''
}, },
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: ''
}, },
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: ''
}, },
} }
} }

View File

@ -5,7 +5,6 @@ const logSchema = {
total: { total: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '集計期間時点での、全ユーザー数'
}, },
/** /**
@ -14,7 +13,6 @@ const logSchema = {
inc: { inc: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '増加したユーザー数'
}, },
/** /**
@ -23,7 +21,6 @@ const logSchema = {
dec: { dec: {
type: 'number' as const, type: 'number' as const,
optional: false as const, nullable: false as const, optional: false as const, nullable: false as const,
description: '減少したユーザー数'
}, },
}; };