Can create VM from UI
This commit is contained in:
@ -5,7 +5,19 @@ export interface ServerConfig {
|
||||
local_auth_enabled: boolean;
|
||||
oidc_auth_enabled: boolean;
|
||||
iso_mimetypes: string[];
|
||||
constraints: ServerConstraints;
|
||||
}
|
||||
|
||||
export interface ServerConstraints {
|
||||
iso_max_size: number;
|
||||
name_size: LenConstraint;
|
||||
title_size: LenConstraint;
|
||||
memory_size: LenConstraint;
|
||||
}
|
||||
|
||||
export interface LenConstraint {
|
||||
min: number;
|
||||
max: number;
|
||||
}
|
||||
|
||||
let config: ServerConfig | null = null;
|
||||
|
Reference in New Issue
Block a user