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