Initial commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
export interface ServerSettings {
|
||||
ip_port: string
|
||||
server_parameters: string
|
||||
steam_branch: string
|
||||
steam_user: string
|
||||
platform: 'linux' | 'windows'
|
||||
cba_settings: string
|
||||
ai_level_presets: string
|
||||
difficulty_presets: string
|
||||
active_config: string
|
||||
active_modlist: string
|
||||
updated_at: string
|
||||
}
|
||||
|
||||
export interface ModEntry {
|
||||
id: string
|
||||
name: string
|
||||
enabled: boolean
|
||||
}
|
||||
|
||||
export interface Modlist {
|
||||
id: string
|
||||
name: string
|
||||
mods: ModEntry[]
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
||||
export interface ModlistListItem {
|
||||
id: string
|
||||
name: string
|
||||
mod_count: number
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
||||
export interface ConfigInfo {
|
||||
name: string
|
||||
size: number
|
||||
}
|
||||
|
||||
export interface ServerPaths {
|
||||
serverfile_dir: string
|
||||
mods_dir: string
|
||||
cfg_dir: string
|
||||
profiles_dir: string
|
||||
}
|
||||
Reference in New Issue
Block a user