2022-12-17 00:20:58 +00:00
|
|
|
export interface EntryList {
|
|
|
|
services: Service[],
|
|
|
|
games: Game[]
|
|
|
|
}
|
|
|
|
export interface Game {
|
|
|
|
name: string,
|
|
|
|
icon: string,
|
|
|
|
href: string,
|
|
|
|
desc: string,
|
|
|
|
ip: string,
|
|
|
|
status: Status,
|
|
|
|
}
|
|
|
|
|
2022-12-11 17:38:43 +00:00
|
|
|
export interface Service {
|
|
|
|
name: string,
|
2023-03-16 21:18:26 +00:00
|
|
|
icon?: string,
|
|
|
|
href?: string,
|
2022-12-11 17:38:43 +00:00
|
|
|
desc: string,
|
2023-01-05 23:34:00 +00:00
|
|
|
warn?: string,
|
|
|
|
extLink?: string,
|
2022-12-11 17:38:43 +00:00
|
|
|
type: ServiceType,
|
|
|
|
docker_container_name: string,
|
|
|
|
location: ServiceLocation,
|
2022-12-17 00:20:58 +00:00
|
|
|
status: Status,
|
2022-12-11 17:38:43 +00:00
|
|
|
}
|
|
|
|
|
2022-12-17 00:20:58 +00:00
|
|
|
export enum Status {
|
2022-12-11 17:38:43 +00:00
|
|
|
online = "Online",
|
|
|
|
offline = "Offline",
|
|
|
|
loading = "Loading",
|
|
|
|
error = "ERROR"
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum ServiceLocation {
|
|
|
|
brr7_4800u = "brr7-4800u",
|
2023-03-14 21:13:49 +00:00
|
|
|
tower_0 = "tower-0",
|
2022-12-11 17:38:43 +00:00
|
|
|
other = ""
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum ServiceType {
|
|
|
|
docker = "docker",
|
|
|
|
app = "app"
|
2022-12-17 00:20:58 +00:00
|
|
|
}
|
|
|
|
|