main-site/interfaces/LinkTypes.ts

42 lines
711 B
TypeScript
Raw Normal View History

export interface EntryList {
services: Service[],
2022-12-03 20:02:13 +00:00
games: CustomLink[]
}
export interface CustomLink {
name: string,
href: string,
desc: string,
ip: string,
type: string,
2022-12-03 20:02:13 +00:00
location: string,
status: string,
docker_container_name: string
}
export interface Service {
name: 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"
2022-12-03 20:02:13 +00:00
}