mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-11-05 07:54:13 +00:00
14 lines
461 B
TypeScript
14 lines
461 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' },
|
|
'stalled': { uniqueIncrement: true, range: 'small' },
|
|
} as const;
|
|
|
|
export const entity = Chart.schemaToEntity(name, schema);
|