ghostfolio/libs/common/src/lib/interfaces/admin-data.interface.ts

20 lines
509 B
TypeScript
Raw Normal View History

import { Property } from '@prisma/client';
2021-04-13 21:53:58 +02:00
export interface AdminData {
dataGatheringProgress?: number;
2021-04-18 20:12:58 +02:00
exchangeRates: { label1: string; label2: string; value: number }[];
lastDataGathering?: Date | 'IN_PROGRESS';
settings: { [key: string]: object | string | string[] };
2021-04-18 20:12:58 +02:00
transactionCount: number;
userCount: number;
users: {
accountCount: number;
2021-04-18 20:21:39 +02:00
alias: string;
createdAt: Date;
engagement: number;
2021-04-18 20:21:39 +02:00
id: string;
lastActivity: Date;
transactionCount: number;
2021-04-13 21:53:58 +02:00
}[];
}