Progress on

This commit is contained in:
Neshura 2022-12-17 01:20:58 +01:00
parent a9130c1af8
commit 6a2dc0d4d8
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A
7 changed files with 167 additions and 109 deletions

View file

@ -1,3 +1,16 @@
export interface EntryList {
services: Service[],
games: Game[]
}
export interface Game {
name: string,
icon: string,
href: string,
desc: string,
ip: string,
status: Status,
}
export interface Service {
name: string,
icon: string,
@ -7,10 +20,10 @@ export interface Service {
type: ServiceType,
docker_container_name: string,
location: ServiceLocation,
status: ServiceStatus
status: Status,
}
export enum ServiceStatus {
export enum Status {
online = "Online",
offline = "Offline",
loading = "Loading",
@ -25,4 +38,5 @@ export enum ServiceLocation {
export enum ServiceType {
docker = "docker",
app = "app"
}
}

View file

@ -1,17 +0,0 @@
import { Service } from "./Services"
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
}