diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-08 14:29:17 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-08 14:29:17 +0900 |
| commit | 1a2229f8865e67efe840b7eeed14e233a3730dcd (patch) | |
| tree | 852379dea7cf7e1780595e6c4dc88885aea371da /src/services/chart/charts/schemas | |
| parent | [Client] Better pagination (diff) | |
| download | misskey-1a2229f8865e67efe840b7eeed14e233a3730dcd.tar.gz misskey-1a2229f8865e67efe840b7eeed14e233a3730dcd.tar.bz2 misskey-1a2229f8865e67efe840b7eeed14e233a3730dcd.zip | |
Improve instance chart
Diffstat (limited to 'src/services/chart/charts/schemas')
| -rw-r--r-- | src/services/chart/charts/schemas/instance.ts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/services/chart/charts/schemas/instance.ts b/src/services/chart/charts/schemas/instance.ts index af46b33629..001f2428b5 100644 --- a/src/services/chart/charts/schemas/instance.ts +++ b/src/services/chart/charts/schemas/instance.ts @@ -21,6 +21,7 @@ export const schema = { }, } }, + notes: { type: 'object' as 'object', properties: { @@ -36,8 +37,29 @@ export const schema = { type: 'number' as 'number', description: '減少した投稿数' }, + + diffs: { + type: 'object' as 'object', + properties: { + normal: { + type: 'number' as 'number', + description: '通常の投稿数の差分' + }, + + reply: { + type: 'number' as 'number', + description: 'リプライの投稿数の差分' + }, + + renote: { + type: 'number' as 'number', + description: 'Renoteの投稿数の差分' + }, + } + }, } }, + users: { type: 'object' as 'object', properties: { @@ -55,6 +77,7 @@ export const schema = { }, } }, + following: { type: 'object' as 'object', properties: { @@ -72,6 +95,7 @@ export const schema = { }, } }, + followers: { type: 'object' as 'object', properties: { @@ -89,6 +113,7 @@ export const schema = { }, } }, + drive: { type: 'object' as 'object', properties: { |