forked from mirrors/misskey
* wip * wip * wip * wip * wip * wip * wip * Update core.ts * wip * wip * #7361 * delete network chart * federationChart強化 apRequestChart追加 * tweak
14 lines
406 B
TypeScript
14 lines
406 B
TypeScript
import Chart from '../../core';
|
|
|
|
export const name = 'federation';
|
|
|
|
export const schema = {
|
|
'instance.total': { accumulate: true },
|
|
'instance.inc': { range: 'small' },
|
|
'instance.dec': { range: 'small' },
|
|
'deliveredInstances': { uniqueIncrement: true, range: 'small' },
|
|
'inboxInstances': { uniqueIncrement: true, range: 'small' },
|
|
} as const;
|
|
|
|
export const entity = Chart.schemaToEntity(name, schema);
|