summaryrefslogtreecommitdiff
path: root/packages/backend/src/services/chart/charts/entities/federation.ts
blob: 5a76c4918c339485f515a781054d5fbfa3790cdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);