0
0

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

View File

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

View File

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

View File

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

View File

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

View File

@ -34,38 +34,31 @@ export const packedHashtagSchema = {
tag: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'The hashtag name. No # prefixed.',
example: 'misskey',
},
mentionedUsersCount: {
type: 'number' as const,
optional: false as const, nullable: false as const,
description: 'Number of all users using this hashtag.'
},
mentionedLocalUsersCount: {
type: 'number' as const,
optional: false as const, nullable: false as const,
description: 'Number of local users using this hashtag.'
},
mentionedRemoteUsersCount: {
type: 'number' as const,
optional: false as const, nullable: false as const,
description: 'Number of remote users using this hashtag.'
},
attachedUsersCount: {
type: 'number' as const,
optional: false as const, nullable: false as const,
description: 'Number of all users who attached this hashtag to profile.'
},
attachedLocalUsersCount: {
type: 'number' as const,
optional: false as const, nullable: false as const,
description: 'Number of local users who attached this hashtag to profile.'
},
attachedRemoteUsersCount: {
type: 'number' 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,
optional: false as const, nullable: false as const,
format: 'id',
description: 'The unique identifier for this MessagingMessage.',
example: 'xxxxxxxxxx',
},
createdAt: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'date-time',
description: 'The date that the MessagingMessage was created.'
},
userId: {
type: 'string' as const,

View File

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

View File

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

View File

@ -32,25 +32,21 @@ export const packedNoteReactionSchema = {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'id',
description: 'The unique identifier for this reaction.',
example: 'xxxxxxxxxx',
},
createdAt: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'date-time',
description: 'The date that the reaction was created.'
},
user: {
type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'User',
description: 'User who performed this reaction.'
},
type: {
type: 'string' 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,
optional: false as const, nullable: false as const,
format: 'id',
description: 'The unique identifier for this Note.',
example: 'xxxxxxxxxx',
},
createdAt: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'date-time',
description: 'The date that the Note was created on Misskey.'
},
text: {
type: 'string' as const,
@ -426,7 +424,6 @@ export const packedNoteSchema = {
reactions: {
type: 'object' 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: {
type: 'number' as const,
@ -439,18 +436,15 @@ export const packedNoteSchema = {
uri: {
type: 'string' 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: {
type: 'string' 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: {
type: 'object' 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,
optional: false as const, nullable: false as const,
format: 'id',
description: 'The unique identifier for this notification.',
example: 'xxxxxxxxxx',
},
createdAt: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'date-time',
description: 'The date that the notification was created.'
},
type: {
type: 'string' as const,
optional: false as const, nullable: false as const,
enum: ['follow', 'followRequestAccepted', 'receiveFollowRequest', 'mention', 'reply', 'renote', 'quote', 'reaction', 'pollVote'],
description: 'The type of the notification.'
},
userId: {
type: 'string' as const,

View File

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

View File

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

View File

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

View File

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

View File

@ -23,7 +23,6 @@ export const meta = {
token: {
type: 'string' 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,
optional: false as const, nullable: false as const,
format: 'id',
description: 'The unique identifier for this Announcement.',
example: 'xxxxxxxxxx',
},
createdAt: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'date-time',
description: 'The date that the Announcement was created.'
},
updatedAt: {
type: 'string' as const,
optional: false as const, nullable: true as const,
format: 'date-time',
description: 'The date that the Announcement was updated.'
},
title: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Announcement title.'
},
text: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Announcement text.'
},
imageUrl: {
type: 'string' 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,
optional: false as const, nullable: false as const,
format: 'id',
description: 'The unique identifier for this Announcement.',
example: 'xxxxxxxxxx',
},
createdAt: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'date-time',
description: 'The date that the Announcement was created.'
},
updatedAt: {
type: 'string' as const,
optional: false as const, nullable: true as const,
format: 'date-time',
description: 'The date that the Announcement was updated.'
},
text: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Announcement text.'
},
title: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Announcement title.'
},
imageUrl: {
type: 'string' as const,
optional: false as const, nullable: true as const,
description: 'Announcement image.'
},
reads: {
type: 'number' 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,
optional: false as const, nullable: false as const,
format: 'id',
description: 'The unique identifier for this Drive file.',
example: 'xxxxxxxxxx',
},
createdAt: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'date-time',
description: 'The date that the Drive file was created on Misskey.'
},
userId: {
type: 'string' as const,
optional: false as const, nullable: true as const,
format: 'id',
description: 'Owner ID of this Drive file.',
example: 'xxxxxxxxxx',
},
userHost: {
@ -60,25 +57,21 @@ export const meta = {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'md5',
description: 'The MD5 hash of this Drive file.',
example: '15eca7fba0480996e2245f5185bf39f2'
},
name: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'The file name with extension.',
example: 'lenna.jpg'
},
type: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'The MIME type of this Drive file.',
example: 'image/jpeg'
},
size: {
type: 'number' as const,
optional: false as const, nullable: false as const,
description: 'The size of this Drive file. (bytes)',
example: 51469
},
comment: {
@ -113,41 +106,34 @@ export const meta = {
storedInternal: {
type: 'boolean' 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
},
url: {
type: 'string' as const,
optional: false as const, nullable: true as const,
format: 'url',
description: 'The URL of this Drive file.',
},
thumbnailUrl: {
type: 'string' as const,
optional: false as const, nullable: true as const,
format: 'url',
description: 'The thumbnail URL of this Drive file.',
},
webpublicUrl: {
type: 'string' as const,
optional: false as const, nullable: true as const,
format: 'url',
description: 'The public URL of this Drive file.',
},
accessKey: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Access key to access this file'
},
thumbnailAccessKey: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Access key to access this file for thumbnail'
},
webpublicAccessKey: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Access key to access this file for webpublic'
},
uri: {
type: 'string' as const,
@ -161,13 +147,11 @@ export const meta = {
type: 'string' as const,
optional: false as const, nullable: true as const,
format: 'id',
description: 'The parent folder ID of this Drive file.',
example: 'xxxxxxxxxx',
},
isSensitive: {
type: 'boolean' as const,
optional: false as const, nullable: false as const,
description: 'Whether this Drive file is sensitive.',
},
isLink: {
type: 'boolean' as const,

View File

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

View File

@ -47,12 +47,10 @@ export const meta = {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'id',
description: 'The unique identifier for this Emoji.'
},
aliases: {
type: 'array' 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: {
type: 'string' as const,
optional: false as const, nullable: false as const
@ -61,22 +59,18 @@ export const meta = {
name: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Official name of custom emoji.'
},
category: {
type: 'string' as const,
optional: false as const, nullable: true as const,
description: 'Names categorized in the emoji list.'
},
host: {
type: 'string' as const,
optional: false as const, nullable: true as const,
description: 'If it is another server, the FQDN will be returned here.'
},
url: {
type: 'string' 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,
optional: false as const, nullable: false as const,
format: 'id',
description: 'The unique identifier for this Emoji.'
},
aliases: {
type: 'array' 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: {
type: 'string' as const,
optional: false as const, nullable: false as const
@ -56,22 +54,18 @@ export const meta = {
name: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Official name of custom emoji.'
},
category: {
type: 'string' as const,
optional: false as const, nullable: true as const,
description: 'Names categorized in the emoji list.'
},
host: {
type: 'string' as const,
optional: false as const, nullable: true as const,
description: 'If it is another server, the FQDN will be returned here.'
},
url: {
type: 'string' 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: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Give this code to the applicant for registration.',
example: '2ERUA5VR',
maxLength: 8,
minLength: 8

View File

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

View File

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

View File

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

View File

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

View File

@ -40,40 +40,33 @@ export const meta = {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'id',
description: 'The unique identifier for this Announcement.',
example: 'xxxxxxxxxx',
},
createdAt: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'date-time',
description: 'The date that the Announcement was created.'
},
updatedAt: {
type: 'string' as const,
optional: false as const, nullable: true as const,
format: 'date-time',
description: 'The date that the Announcement was updated.'
},
text: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Announcement text.'
},
title: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'Announcement title.'
},
imageUrl: {
type: 'string' as const,
optional: false as const, nullable: true as const,
description: 'Announcement image.'
},
isRead: {
type: 'boolean' 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: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'セッションのトークン'
},
url: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'url',
description: 'セッションのURL'
},
}
},

View File

@ -25,14 +25,12 @@ export const meta = {
accessToken: {
type: 'string' as const,
optional: false as const, nullable: false as const,
description: 'ユーザーのアクセストークン',
},
user: {
type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'User',
description: '認証したユーザー'
},
}
},

View File

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

View File

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

View File

@ -125,7 +125,6 @@ export const meta = {
type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'Note',
description: '作成した投稿'
}
}
},

View File

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

View File

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

View File

@ -20,7 +20,6 @@ export const meta = {
available: {
type: 'boolean' 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: {
type: 'array' as const,
optional: false as const, nullable: false as const,
description: 'アクティブユーザー',
items: {
type: 'string' as const,
optional: false as const, nullable: false as const,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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