main-site/interfaces/LinkTypes.ts
Neshura 39aaea05e5
Expanded Interfaces
Services got expanded, now uses Enums where sensible
2022-12-10 03:00:25 +01:00

42 lines
711 B
TypeScript

export interface EntryList {
services: Service[],
games: CustomLink[]
}
export interface CustomLink {
name: string,
href: string,
desc: string,
ip: string,
type: string,
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"
}