28 lines
470 B
TypeScript
28 lines
470 B
TypeScript
|
export interface Service {
|
||
|
name: string,
|
||
|
icon: string,
|
||
|
href: string,
|
||
|
desc: string,
|
||
|
warn: string,
|
||
|
type: ServiceType,
|
||
|
docker_container_name: string,
|
||
|
location: ServiceLocation,
|
||
|
status: ServiceStatus
|
||
|
}
|
||
|
|
||
|
export enum ServiceStatus {
|
||
|
online = "Online",
|
||
|
offline = "Offline",
|
||
|
loading = "Loading",
|
||
|
error = "ERROR"
|
||
|
}
|
||
|
|
||
|
export enum ServiceLocation {
|
||
|
brr7_4800u = "brr7-4800u",
|
||
|
other = ""
|
||
|
}
|
||
|
|
||
|
export enum ServiceType {
|
||
|
docker = "docker",
|
||
|
app = "app"
|
||
|
}
|