major refactoring

added universal
added api
This commit is contained in:
Samuel Philipp 2020-05-06 17:25:35 +02:00
parent 2bea201bb3
commit a4542f7abd
52 changed files with 2851 additions and 313 deletions

25
src/app/_data/data.ts Normal file
View file

@ -0,0 +1,25 @@
export type State = 'operational' | 'outage' | 'maintenance';
export interface CurrentStatus {
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;
}
export interface MetaInfo {
title: string;
description: string;
}