This repository has been archived on 2023-12-07. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
universal-statuspage/frontend/src/app/_data/data.ts
2020-05-05 01:33:14 +02:00

20 lines
345 B
TypeScript

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;
}