
* wip * wip * wip * wip * wip * wip * wip * Update core.ts * wip * wip * #7361 * delete network chart * federationChart強化 apRequestChart追加 * tweak
21 lines
731 B
TypeScript
21 lines
731 B
TypeScript
import Chart from '../../core';
|
|
|
|
export const name = 'perUserFollowing';
|
|
|
|
export const schema = {
|
|
'local.followings.total': { accumulate: true },
|
|
'local.followings.inc': { range: 'small' },
|
|
'local.followings.dec': { range: 'small' },
|
|
'local.followers.total': { accumulate: true },
|
|
'local.followers.inc': { range: 'small' },
|
|
'local.followers.dec': { range: 'small' },
|
|
'remote.followings.total': { accumulate: true },
|
|
'remote.followings.inc': { range: 'small' },
|
|
'remote.followings.dec': { range: 'small' },
|
|
'remote.followers.total': { accumulate: true },
|
|
'remote.followers.inc': { range: 'small' },
|
|
'remote.followers.dec': { range: 'small' },
|
|
} as const;
|
|
|
|
export const entity = Chart.schemaToEntity(name, schema, true);
|