1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/services/client-metrics/models.ts

30 lines
641 B
TypeScript
Raw Normal View History

import { IClientInstance } from '../../types/stores/client-instance-store';
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;
instances?: IClientInstance[];
seenToggles?: Record<string, any>;
links?: Record<string, string>;
}