2021-08-12 15:04:37 +02:00
|
|
|
import { IClientInstance } from '../../types/stores/client-instance-store';
|
|
|
|
|
2021-06-24 19:22:12 +02:00
|
|
|
export interface IYesNoCount {
|
|
|
|
yes: number;
|
|
|
|
no: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IAppInstance {
|
|
|
|
appName: string;
|
|
|
|
instanceId: string;
|
|
|
|
sdkVersion: string;
|
|
|
|
clientIp: string;
|
|
|
|
lastSeen: Date;
|
|
|
|
createdAt: Date;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IApplication {
|
|
|
|
appName: string;
|
|
|
|
sdkVersion?: string;
|
|
|
|
strategies?: string[] | any[];
|
|
|
|
description?: string;
|
|
|
|
url?: string;
|
|
|
|
color?: string;
|
|
|
|
icon?: string;
|
|
|
|
createdAt: Date;
|
2021-08-12 15:04:37 +02:00
|
|
|
instances?: IClientInstance[];
|
2021-06-24 19:22:12 +02:00
|
|
|
seenToggles: Record<string, any>;
|
|
|
|
links: Record<string, string>;
|
|
|
|
}
|