2023-07-26 22:31:52 -07:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-02-26 18:07:39 -08:00
|
|
|
import { entity as FederationChart } from './charts/entities/federation.js';
|
|
|
|
import { entity as NotesChart } from './charts/entities/notes.js';
|
|
|
|
import { entity as UsersChart } from './charts/entities/users.js';
|
|
|
|
import { entity as ActiveUsersChart } from './charts/entities/active-users.js';
|
|
|
|
import { entity as InstanceChart } from './charts/entities/instance.js';
|
|
|
|
import { entity as PerUserNotesChart } from './charts/entities/per-user-notes.js';
|
2023-01-01 00:45:49 -08:00
|
|
|
import { entity as PerUserPvChart } from './charts/entities/per-user-pv.js';
|
2022-02-26 18:07:39 -08:00
|
|
|
import { entity as DriveChart } from './charts/entities/drive.js';
|
|
|
|
import { entity as PerUserReactionsChart } from './charts/entities/per-user-reactions.js';
|
|
|
|
import { entity as PerUserFollowingChart } from './charts/entities/per-user-following.js';
|
|
|
|
import { entity as PerUserDriveChart } from './charts/entities/per-user-drive.js';
|
|
|
|
import { entity as ApRequestChart } from './charts/entities/ap-request.js';
|
2021-08-19 02:33:41 -07:00
|
|
|
|
2022-06-05 04:37:24 -07:00
|
|
|
import { entity as TestChart } from './charts/entities/test.js';
|
|
|
|
import { entity as TestGroupedChart } from './charts/entities/test-grouped.js';
|
|
|
|
import { entity as TestUniqueChart } from './charts/entities/test-unique.js';
|
|
|
|
import { entity as TestIntersectionChart } from './charts/entities/test-intersection.js';
|
|
|
|
|
2021-12-14 01:12:37 -08:00
|
|
|
export const entities = [
|
|
|
|
FederationChart.hour, FederationChart.day,
|
|
|
|
NotesChart.hour, NotesChart.day,
|
|
|
|
UsersChart.hour, UsersChart.day,
|
|
|
|
ActiveUsersChart.hour, ActiveUsersChart.day,
|
|
|
|
InstanceChart.hour, InstanceChart.day,
|
|
|
|
PerUserNotesChart.hour, PerUserNotesChart.day,
|
2023-01-01 00:45:49 -08:00
|
|
|
PerUserPvChart.hour, PerUserPvChart.day,
|
2021-12-14 01:12:37 -08:00
|
|
|
DriveChart.hour, DriveChart.day,
|
|
|
|
PerUserReactionsChart.hour, PerUserReactionsChart.day,
|
|
|
|
PerUserFollowingChart.hour, PerUserFollowingChart.day,
|
|
|
|
PerUserDriveChart.hour, PerUserDriveChart.day,
|
2022-02-05 07:13:52 -08:00
|
|
|
ApRequestChart.hour, ApRequestChart.day,
|
2022-06-05 04:37:24 -07:00
|
|
|
|
|
|
|
...(process.env.NODE_ENV === 'test' ? [
|
|
|
|
TestChart.hour, TestChart.day,
|
|
|
|
TestGroupedChart.hour, TestGroupedChart.day,
|
|
|
|
TestUniqueChart.hour, TestUniqueChart.day,
|
|
|
|
TestIntersectionChart.hour, TestIntersectionChart.day,
|
|
|
|
] : []),
|
2021-12-14 01:12:37 -08:00
|
|
|
];
|