diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-06-08 14:24:21 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-06-08 14:24:21 +0900 |
| commit | 55c549a9f83f25ac67fba888223faa9f98749b48 (patch) | |
| tree | 09aba86b913d1ab4fd7049fe1e7961493e08c305 /src/services | |
| parent | refactor type (diff) | |
| download | misskey-55c549a9f83f25ac67fba888223faa9f98749b48.tar.gz misskey-55c549a9f83f25ac67fba888223faa9f98749b48.tar.bz2 misskey-55c549a9f83f25ac67fba888223faa9f98749b48.zip | |
Remove entity descriptions
#6627
Diffstat (limited to 'src/services')
| -rw-r--r-- | src/services/chart/charts/schemas/active-users.ts | 1 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/drive.ts | 6 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/federation.ts | 3 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/hashtag.ts | 1 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/instance.ts | 24 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/network.ts | 7 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/notes.ts | 6 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/per-user-drive.ts | 6 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/per-user-following.ts | 6 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/per-user-notes.ts | 6 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/per-user-reactions.ts | 1 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/test-grouped.ts | 3 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/test.ts | 3 | ||||
| -rw-r--r-- | src/services/chart/charts/schemas/users.ts | 3 |
14 files changed, 1 insertions, 75 deletions
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: '減少したユーザー数' }, }; |