major refactoring
added universal added api
This commit is contained in:
parent
2bea201bb3
commit
a4542f7abd
52 changed files with 2851 additions and 313 deletions
25
src/app/_data/data.ts
Normal file
25
src/app/_data/data.ts
Normal 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;
|
||||
}
|
Reference in a new issue