This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-06 15:25:35 +00:00
|
|
|
export type State = 'operational' | 'outage' | 'maintenance';
|
2020-05-04 23:33:14 +00:00
|
|
|
|
2020-05-06 15:25:35 +00:00
|
|
|
export interface CurrentStatus {
|
2020-05-04 23:33:14 +00:00
|
|
|
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;
|
|
|
|
}
|
2020-05-06 15:25:35 +00:00
|
|
|
|
|
|
|
export interface MetaInfo {
|
|
|
|
title: string;
|
|
|
|
description: string;
|
|
|
|
}
|