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.
universal-statuspage/src/app/_data/data.ts
Samuel Philipp a4542f7abd major refactoring
added universal
added api
2020-05-06 17:25:35 +02:00

26 lines
392 B
TypeScript

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