Content Migration from websites repo
This commit is contained in:
parent
f6eb9794a9
commit
f58a45df06
24 changed files with 7575 additions and 1 deletions
interfaces
7
interfaces/LinkTypes.ts
Normal file
7
interfaces/LinkTypes.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
export interface LinkList {
|
||||
links: CustomLink[]
|
||||
}
|
||||
export interface CustomLink {
|
||||
name: string,
|
||||
href: string
|
||||
}
|
32
interfaces/ServerType.ts
Normal file
32
interfaces/ServerType.ts
Normal file
|
@ -0,0 +1,32 @@
|
|||
export interface ServerData {
|
||||
server: ServerObject
|
||||
}
|
||||
|
||||
export interface ServerObject {
|
||||
mods: Mod[],
|
||||
url: string,
|
||||
port: number,
|
||||
status: Status
|
||||
}
|
||||
|
||||
export interface Mod {
|
||||
name: string,
|
||||
href: string,
|
||||
version: string
|
||||
}
|
||||
|
||||
export interface Status {
|
||||
data: Details,
|
||||
online: string
|
||||
error: any
|
||||
}
|
||||
|
||||
export interface Details {
|
||||
players: Players,
|
||||
}
|
||||
|
||||
export interface Players {
|
||||
online: number,
|
||||
max: number,
|
||||
sample: string[]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue