mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
32399291e0
* task: add OpenApi spec to metrics route
30 lines
641 B
TypeScript
30 lines
641 B
TypeScript
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>;
|
|
}
|