added frontend template

This commit is contained in:
Samuel Philipp 2020-05-05 01:33:14 +02:00
commit 2bea201bb3
41 changed files with 15481 additions and 0 deletions

View file

@ -0,0 +1,20 @@
export type State = 'operational' | 'outage' | 'maintenance'; // ok, alerting, paused
export interface ApiResponse {
state: State;
groups: Group[];
}
export interface Group {
id: string;
name: string;
state: State;
services: Service[];
}
export interface Service {
id: string;
name: string;
url: string;
state: State;
}