1
0
Files
pawkey-sk/packages/backend/src/services/chart/charts/entities/per-user-notes.ts
T
syuilo c1b264e4e9 Improve chart engine (#8253)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update core.ts

* wip

* wip

* #7361

* delete network chart

* federationChart強化 apRequestChart追加

* tweak
2022-02-06 00:13:52 +09:00

15 lines
369 B
TypeScript

import Chart from '../../core';
export const name = 'perUserNotes';
export const schema = {
'total': { accumulate: true },
'inc': { range: 'small' },
'dec': { range: 'small' },
'diffs.normal': { range: 'small' },
'diffs.reply': { range: 'small' },
'diffs.renote': { range: 'small' },
} as const;
export const entity = Chart.schemaToEntity(name, schema, true);