feat: notes/instance/perUserNotesチャートに添付ファイル付きノートの数を追加

This commit is contained in:
syuilo
2022-02-08 23:12:37 +09:00
parent 1da7be6334
commit adf3493af8
9 changed files with 59 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ export const schema = {
'notes.diffs.normal': {},
'notes.diffs.reply': {},
'notes.diffs.renote': {},
'notes.diffs.withFile': {},
'users.total': { accumulate: true },
'users.inc': { range: 'small' },
'users.dec': { range: 'small' },

View File

@@ -9,12 +9,14 @@ export const schema = {
'local.diffs.normal': {},
'local.diffs.reply': {},
'local.diffs.renote': {},
'local.diffs.withFile': {},
'remote.total': { accumulate: true },
'remote.inc': {},
'remote.dec': {},
'remote.diffs.normal': {},
'remote.diffs.reply': {},
'remote.diffs.renote': {},
'remote.diffs.withFile': {},
} as const;
export const entity = Chart.schemaToEntity(name, schema);

View File

@@ -9,6 +9,7 @@ export const schema = {
'diffs.normal': { range: 'small' },
'diffs.reply': { range: 'small' },
'diffs.renote': { range: 'small' },
'diffs.withFile': { range: 'small' },
} as const;
export const entity = Chart.schemaToEntity(name, schema, true);