27 lines
409 B
TypeScript
27 lines
409 B
TypeScript
export type State = 'operational' | 'outage' | 'maintenance';
|
|
|
|
export interface CurrentStatus {
|
|
state: State;
|
|
groups: Group[];
|
|
}
|
|
|
|
export interface Group {
|
|
id: string;
|
|
name: string;
|
|
url?: string;
|
|
state: State;
|
|
services: Service[];
|
|
}
|
|
|
|
export interface Service {
|
|
id: string;
|
|
name: string;
|
|
url?: string;
|
|
state: State;
|
|
}
|
|
|
|
export interface MetaInfo {
|
|
title: string;
|
|
description: string;
|
|
}
|