summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-06-08 14:24:21 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-06-08 14:24:21 +0900
commit55c549a9f83f25ac67fba888223faa9f98749b48 (patch)
tree09aba86b913d1ab4fd7049fe1e7961493e08c305 /src
parentrefactor type (diff)
downloadsharkey-55c549a9f83f25ac67fba888223faa9f98749b48.tar.gz
sharkey-55c549a9f83f25ac67fba888223faa9f98749b48.tar.bz2
sharkey-55c549a9f83f25ac67fba888223faa9f98749b48.zip
Remove entity descriptions
#6627
Diffstat (limited to 'src')
-rw-r--r--src/models/repositories/blocking.ts3
-rw-r--r--src/models/repositories/channel.ts3
-rw-r--r--src/models/repositories/clip.ts5
-rw-r--r--src/models/repositories/drive-file.ts13
-rw-r--r--src/models/repositories/drive-folder.ts6
-rw-r--r--src/models/repositories/following.ts4
-rw-r--r--src/models/repositories/hashtag.ts7
-rw-r--r--src/models/repositories/messaging-message.ts2
-rw-r--r--src/models/repositories/muting.ts3
-rw-r--r--src/models/repositories/note-favorite.ts2
-rw-r--r--src/models/repositories/note-reaction.ts4
-rw-r--r--src/models/repositories/note.ts6
-rw-r--r--src/models/repositories/notification.ts3
-rw-r--r--src/models/repositories/user-group.ts3
-rw-r--r--src/models/repositories/user-list.ts3
-rw-r--r--src/models/repositories/user.ts12
-rw-r--r--src/server/api/endpoints/admin/abuse-user-reports.ts7
-rw-r--r--src/server/api/endpoints/admin/accounts/create.ts1
-rw-r--r--src/server/api/endpoints/admin/announcements/create.ts6
-rw-r--r--src/server/api/endpoints/admin/announcements/list.ts7
-rw-r--r--src/server/api/endpoints/admin/drive/show-file.ts16
-rw-r--r--src/server/api/endpoints/admin/emoji/copy.ts1
-rw-r--r--src/server/api/endpoints/admin/emoji/list-remote.ts6
-rw-r--r--src/server/api/endpoints/admin/emoji/list.ts6
-rw-r--r--src/server/api/endpoints/admin/invite.ts1
-rw-r--r--src/server/api/endpoints/admin/logs.ts4
-rw-r--r--src/server/api/endpoints/admin/queue/deliver-delayed.ts2
-rw-r--r--src/server/api/endpoints/admin/queue/inbox-delayed.ts2
-rw-r--r--src/server/api/endpoints/admin/server-info.ts10
-rw-r--r--src/server/api/endpoints/announcements.ts7
-rw-r--r--src/server/api/endpoints/auth/session/generate.ts2
-rw-r--r--src/server/api/endpoints/auth/session/userkey.ts2
-rw-r--r--src/server/api/endpoints/blocking/delete.ts1
-rw-r--r--src/server/api/endpoints/meta.ts6
-rw-r--r--src/server/api/endpoints/notes/create.ts1
-rw-r--r--src/server/api/endpoints/room/show.ts1
-rw-r--r--src/server/api/endpoints/stats.ts5
-rw-r--r--src/server/api/endpoints/username/available.ts1
-rw-r--r--src/services/chart/charts/schemas/active-users.ts1
-rw-r--r--src/services/chart/charts/schemas/drive.ts6
-rw-r--r--src/services/chart/charts/schemas/federation.ts3
-rw-r--r--src/services/chart/charts/schemas/hashtag.ts1
-rw-r--r--src/services/chart/charts/schemas/instance.ts24
-rw-r--r--src/services/chart/charts/schemas/network.ts7
-rw-r--r--src/services/chart/charts/schemas/notes.ts6
-rw-r--r--src/services/chart/charts/schemas/per-user-drive.ts6
-rw-r--r--src/services/chart/charts/schemas/per-user-following.ts6
-rw-r--r--src/services/chart/charts/schemas/per-user-notes.ts6
-rw-r--r--src/services/chart/charts/schemas/per-user-reactions.ts1
-rw-r--r--src/services/chart/charts/schemas/test-grouped.ts3
-rw-r--r--src/services/chart/charts/schemas/test.ts3
-rw-r--r--src/services/chart/charts/schemas/users.ts3
52 files changed, 1 insertions, 249 deletions
diff --git a/src/models/repositories/blocking.ts b/src/models/repositories/blocking.ts
index 60b43fae3e..9a4f3f6c68 100644
--- a/src/models/repositories/blocking.ts
+++ b/src/models/repositories/blocking.ts
@@ -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.'
},
}
};
diff --git a/src/models/repositories/channel.ts b/src/models/repositories/channel.ts
index a1c85f2bd7..3a6bd4c923 100644
--- a/src/models/repositories/channel.ts
+++ b/src/models/repositories/channel.ts
@@ -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,
diff --git a/src/models/repositories/clip.ts b/src/models/repositories/clip.ts
index 8d1f63c44b..293807b125 100644
--- a/src/models/repositories/clip.ts
+++ b/src/models/repositories/clip.ts
@@ -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.',
},
},
};
diff --git a/src/models/repositories/drive-file.ts b/src/models/repositories/drive-file.ts
index 92bf12a4e0..675faca8e3 100644
--- a/src/models/repositories/drive-file.ts
+++ b/src/models/repositories/drive-file.ts
@@ -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'
}
},
diff --git a/src/models/repositories/drive-folder.ts b/src/models/repositories/drive-folder.ts
index cc07c56675..d1922c96f8 100644
--- a/src/models/repositories/drive-folder.ts
+++ b/src/models/repositories/drive-folder.ts
@@ -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: {
diff --git a/src/models/repositories/following.ts b/src/models/repositories/following.ts
index b886432978..3aed83f320 100644
--- a/src/models/repositories/following.ts
+++ b/src/models/repositories/following.ts
@@ -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.'
},
}
};
diff --git a/src/models/repositories/hashtag.ts b/src/models/repositories/hashtag.ts
index 0089ab50db..3fee2f771d 100644
--- a/src/models/repositories/hashtag.ts
+++ b/src/models/repositories/hashtag.ts
@@ -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.'
},
}
};
diff --git a/src/models/repositories/messaging-message.ts b/src/models/repositories/messaging-message.ts
index 8d6d03a236..c77b14ca7f 100644
--- a/src/models/repositories/messaging-message.ts
+++ b/src/models/repositories/messaging-message.ts
@@ -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,
diff --git a/src/models/repositories/muting.ts b/src/models/repositories/muting.ts
index b5bbe8a0a3..32e681bf0b 100644
--- a/src/models/repositories/muting.ts
+++ b/src/models/repositories/muting.ts
@@ -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.'
},
}
};
diff --git a/src/models/repositories/note-favorite.ts b/src/models/repositories/note-favorite.ts
index 316ebdff35..e58b258fcb 100644
--- a/src/models/repositories/note-favorite.ts
+++ b/src/models/repositories/note-favorite.ts
@@ -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,
diff --git a/src/models/repositories/note-reaction.ts b/src/models/repositories/note-reaction.ts
index 4c56809603..5de9e1be65 100644
--- a/src/models/repositories/note-reaction.ts
+++ b/src/models/repositories/note-reaction.ts
@@ -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.'
},
},
};
diff --git a/src/models/repositories/note.ts b/src/models/repositories/note.ts
index 7b1df73024..df0ca8c6ad 100644
--- a/src/models/repositories/note.ts
+++ b/src/models/repositories/note.ts
@@ -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.',
},
},
};
diff --git a/src/models/repositories/notification.ts b/src/models/repositories/notification.ts
index abadea4632..94a2c3c91a 100644
--- a/src/models/repositories/notification.ts
+++ b/src/models/repositories/notification.ts
@@ -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,
diff --git a/src/models/repositories/user-group.ts b/src/models/repositories/user-group.ts
index 9861b23356..c7d73ebe26 100644
--- a/src/models/repositories/user-group.ts
+++ b/src/models/repositories/user-group.ts
@@ -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,
diff --git a/src/models/repositories/user-list.ts b/src/models/repositories/user-list.ts
index 094abace63..7710bebfcc 100644
--- a/src/models/repositories/user-list.ts
+++ b/src/models/repositories/user-list.ts
@@ -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,
diff --git a/src/models/repositories/user.ts b/src/models/repositories/user.ts
index 1ebc16a563..90a91987fb 100644
--- a/src/models/repositories/user.ts
+++ b/src/models/repositories/user.ts
@@ -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 they’ve 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,
diff --git a/src/server/api/endpoints/admin/abuse-user-reports.ts b/src/server/api/endpoints/admin/abuse-user-reports.ts
index d09c9d0efb..02291a3edd 100644
--- a/src/server/api/endpoints/admin/abuse-user-reports.ts
+++ b/src/server/api/endpoints/admin/abuse-user-reports.ts
@@ -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,
diff --git a/src/server/api/endpoints/admin/accounts/create.ts b/src/server/api/endpoints/admin/accounts/create.ts
index e232031d35..bceb210a82 100644
--- a/src/server/api/endpoints/admin/accounts/create.ts
+++ b/src/server/api/endpoints/admin/accounts/create.ts
@@ -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.'
}
}
}
diff --git a/src/server/api/endpoints/admin/announcements/create.ts b/src/server/api/endpoints/admin/announcements/create.ts
index 8d121c4843..794c35023b 100644
--- a/src/server/api/endpoints/admin/announcements/create.ts
+++ b/src/server/api/endpoints/admin/announcements/create.ts
@@ -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.'
}
}
}
diff --git a/src/server/api/endpoints/admin/announcements/list.ts b/src/server/api/endpoints/admin/announcements/list.ts
index 94a830dbae..a14f0c0bdc 100644
--- a/src/server/api/endpoints/admin/announcements/list.ts
+++ b/src/server/api/endpoints/admin/announcements/list.ts
@@ -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.'
}
}
}
diff --git a/src/server/api/endpoints/admin/drive/show-file.ts b/src/server/api/endpoints/admin/drive/show-file.ts
index cfe25306c2..3489e5c816 100644
--- a/src/server/api/endpoints/admin/drive/show-file.ts
+++ b/src/server/api/endpoints/admin/drive/show-file.ts
@@ -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,
diff --git a/src/server/api/endpoints/admin/emoji/copy.ts b/src/server/api/endpoints/admin/emoji/copy.ts
index 7807809720..1a784f4061 100644
--- a/src/server/api/endpoints/admin/emoji/copy.ts
+++ b/src/server/api/endpoints/admin/emoji/copy.ts
@@ -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'
}
}
}
diff --git a/src/server/api/endpoints/admin/emoji/list-remote.ts b/src/server/api/endpoints/admin/emoji/list-remote.ts
index f1cfbdd3e2..570db064ec 100644
--- a/src/server/api/endpoints/admin/emoji/list-remote.ts
+++ b/src/server/api/endpoints/admin/emoji/list-remote.ts
@@ -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.'
}
}
}
diff --git a/src/server/api/endpoints/admin/emoji/list.ts b/src/server/api/endpoints/admin/emoji/list.ts
index 3f3e49396b..b864fed4b0 100644
--- a/src/server/api/endpoints/admin/emoji/list.ts
+++ b/src/server/api/endpoints/admin/emoji/list.ts
@@ -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.'
}
}
}
diff --git a/src/server/api/endpoints/admin/invite.ts b/src/server/api/endpoints/admin/invite.ts
index 8ce6415218..141f27d95e 100644
--- a/src/server/api/endpoints/admin/invite.ts
+++ b/src/server/api/endpoints/admin/invite.ts
@@ -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
diff --git a/src/server/api/endpoints/admin/logs.ts b/src/server/api/endpoints/admin/logs.ts
index e719ce19c7..1ec7320399 100644
--- a/src/server/api/endpoints/admin/logs.ts
+++ b/src/server/api/endpoints/admin/logs.ts
@@ -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,
diff --git a/src/server/api/endpoints/admin/queue/deliver-delayed.ts b/src/server/api/endpoints/admin/queue/deliver-delayed.ts
index 8b70fa6680..cd7b640983 100644
--- a/src/server/api/endpoints/admin/queue/deliver-delayed.ts
+++ b/src/server/api/endpoints/admin/queue/deliver-delayed.ts
@@ -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'
}
]
}
diff --git a/src/server/api/endpoints/admin/queue/inbox-delayed.ts b/src/server/api/endpoints/admin/queue/inbox-delayed.ts
index 437027eea8..119976c680 100644
--- a/src/server/api/endpoints/admin/queue/inbox-delayed.ts
+++ b/src/server/api/endpoints/admin/queue/inbox-delayed.ts
@@ -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'
}
]
}
diff --git a/src/server/api/endpoints/admin/server-info.ts b/src/server/api/endpoints/admin/server-info.ts
index 1373802f3e..bb2d35e397 100644
--- a/src/server/api/endpoints/admin/server-info.ts
+++ b/src/server/api/endpoints/admin/server-info.ts
@@ -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'
}
}
diff --git a/src/server/api/endpoints/announcements.ts b/src/server/api/endpoints/announcements.ts
index f5d07d8080..124682909c 100644
--- a/src/server/api/endpoints/announcements.ts
+++ b/src/server/api/endpoints/announcements.ts
@@ -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'
}
}
}
diff --git a/src/server/api/endpoints/auth/session/generate.ts b/src/server/api/endpoints/auth/session/generate.ts
index ca004e9b19..42f9e25c78 100644
--- a/src/server/api/endpoints/auth/session/generate.ts
+++ b/src/server/api/endpoints/auth/session/generate.ts
@@ -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'
},
}
},
diff --git a/src/server/api/endpoints/auth/session/userkey.ts b/src/server/api/endpoints/auth/session/userkey.ts
index e015be20eb..7059aacbea 100644
--- a/src/server/api/endpoints/auth/session/userkey.ts
+++ b/src/server/api/endpoints/auth/session/userkey.ts
@@ -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: '認証したユーザー'
},
}
},
diff --git a/src/server/api/endpoints/blocking/delete.ts b/src/server/api/endpoints/blocking/delete.ts
index 71927fa727..28776727a5 100644
--- a/src/server/api/endpoints/blocking/delete.ts
+++ b/src/server/api/endpoints/blocking/delete.ts
@@ -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: {
diff --git a/src/server/api/endpoints/meta.ts b/src/server/api/endpoints/meta.ts
index e7a6a401d8..dd75149ad2 100644
--- a/src/server/api/endpoints/meta.ts
+++ b/src/server/api/endpoints/meta.ts
@@ -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,
diff --git a/src/server/api/endpoints/notes/create.ts b/src/server/api/endpoints/notes/create.ts
index beeacb5374..ddb5c953ec 100644
--- a/src/server/api/endpoints/notes/create.ts
+++ b/src/server/api/endpoints/notes/create.ts
@@ -125,7 +125,6 @@ export const meta = {
type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'Note',
- description: '作成した投稿'
}
}
},
diff --git a/src/server/api/endpoints/room/show.ts b/src/server/api/endpoints/room/show.ts
index 7b2526c313..85cd57aef4 100644
--- a/src/server/api/endpoints/room/show.ts
+++ b/src/server/api/endpoints/room/show.ts
@@ -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,
diff --git a/src/server/api/endpoints/stats.ts b/src/server/api/endpoints/stats.ts
index 748c612564..f9c17f86eb 100644
--- a/src/server/api/endpoints/stats.ts
+++ b/src/server/api/endpoints/stats.ts
@@ -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,
diff --git a/src/server/api/endpoints/username/available.ts b/src/server/api/endpoints/username/available.ts
index 5b51d7e176..cd434b582e 100644
--- a/src/server/api/endpoints/username/available.ts
+++ b/src/server/api/endpoints/username/available.ts
@@ -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.'
}
}
}
diff --git a/src/services/chart/charts/schemas/active-users.ts b/src/services/chart/charts/schemas/active-users.ts
index cdf0579efb..1d65f280b0 100644
--- a/src/services/chart/charts/schemas/active-users.ts
+++ b/src/services/chart/charts/schemas/active-users.ts
@@ -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,
diff --git a/src/services/chart/charts/schemas/drive.ts b/src/services/chart/charts/schemas/drive.ts
index dcc50df8cf..133b47846a 100644
--- a/src/services/chart/charts/schemas/drive.ts
+++ b/src/services/chart/charts/schemas/drive.ts
@@ -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: '減少したドライブ使用量'
},
};
diff --git a/src/services/chart/charts/schemas/federation.ts b/src/services/chart/charts/schemas/federation.ts
index 2f2d22c0d3..dca4587cac 100644
--- a/src/services/chart/charts/schemas/federation.ts
+++ b/src/services/chart/charts/schemas/federation.ts
@@ -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: '減少インスタンス数'
},
}
}
diff --git a/src/services/chart/charts/schemas/hashtag.ts b/src/services/chart/charts/schemas/hashtag.ts
index 791d0d1721..4e7c542bbc 100644
--- a/src/services/chart/charts/schemas/hashtag.ts
+++ b/src/services/chart/charts/schemas/hashtag.ts
@@ -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,
diff --git a/src/services/chart/charts/schemas/instance.ts b/src/services/chart/charts/schemas/instance.ts
index d2152a4ae7..785d6ae7ce 100644
--- a/src/services/chart/charts/schemas/instance.ts
+++ b/src/services/chart/charts/schemas/instance.ts
@@ -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: '減少したドライブ使用量'
},
}
},
diff --git a/src/services/chart/charts/schemas/network.ts b/src/services/chart/charts/schemas/network.ts
index 30123c5d90..49a364debc 100644
--- a/src/services/chart/charts/schemas/network.ts
+++ b/src/services/chart/charts/schemas/network.ts
@@ -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: '合計送信データ量'
},
}
};
diff --git a/src/services/chart/charts/schemas/notes.ts b/src/services/chart/charts/schemas/notes.ts
index 6dbf321b7c..2b5105348c 100644
--- a/src/services/chart/charts/schemas/notes.ts
+++ b/src/services/chart/charts/schemas/notes.ts
@@ -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の投稿数の差分'
},
}
},
diff --git a/src/services/chart/charts/schemas/per-user-drive.ts b/src/services/chart/charts/schemas/per-user-drive.ts
index 21312e82d8..856f1e0439 100644
--- a/src/services/chart/charts/schemas/per-user-drive.ts
+++ b/src/services/chart/charts/schemas/per-user-drive.ts
@@ -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: '減少したドライブ使用量'
},
}
};
diff --git a/src/services/chart/charts/schemas/per-user-following.ts b/src/services/chart/charts/schemas/per-user-following.ts
index dffd9c2572..eaf74aaf77 100644
--- a/src/services/chart/charts/schemas/per-user-following.ts
+++ b/src/services/chart/charts/schemas/per-user-following.ts
@@ -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: 'フォロー解除された数',
},
}
},
diff --git a/src/services/chart/charts/schemas/per-user-notes.ts b/src/services/chart/charts/schemas/per-user-notes.ts
index 778f498c6e..72b3ff0210 100644
--- a/src/services/chart/charts/schemas/per-user-notes.ts
+++ b/src/services/chart/charts/schemas/per-user-notes.ts
@@ -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の投稿数の差分'
},
}
},
diff --git a/src/services/chart/charts/schemas/per-user-reactions.ts b/src/services/chart/charts/schemas/per-user-reactions.ts
index d103124ccb..2a8520db37 100644
--- a/src/services/chart/charts/schemas/per-user-reactions.ts
+++ b/src/services/chart/charts/schemas/per-user-reactions.ts
@@ -5,7 +5,6 @@ export const logSchema = {
count: {
type: 'number' as const,
optional: false as const, nullable: false as const,
- description: 'リアクションされた数',
},
};
diff --git a/src/services/chart/charts/schemas/test-grouped.ts b/src/services/chart/charts/schemas/test-grouped.ts
index 163ec5bba3..f8c8250e79 100644
--- a/src/services/chart/charts/schemas/test-grouped.ts
+++ b/src/services/chart/charts/schemas/test-grouped.ts
@@ -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: ''
},
}
}
diff --git a/src/services/chart/charts/schemas/test.ts b/src/services/chart/charts/schemas/test.ts
index 6142434a89..4b48d4d417 100644
--- a/src/services/chart/charts/schemas/test.ts
+++ b/src/services/chart/charts/schemas/test.ts
@@ -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: ''
},
}
}
diff --git a/src/services/chart/charts/schemas/users.ts b/src/services/chart/charts/schemas/users.ts
index 1153369983..2bf9d3c50f 100644
--- a/src/services/chart/charts/schemas/users.ts
+++ b/src/services/chart/charts/schemas/users.ts
@@ -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: '減少したユーザー数'
},
};