mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-21 11:25:56 +00:00
Prepare Manager 0.9.8 with isolated validation and SQUID module controls
This commit is contained in:
1 parent
dc3fcab7e1
commit
23cbb108ad
34 files changed
+791
-52
No files matched your search
+2
-1
@@ -229,7 +229,7 @@ export interface ModuleView {
|
||||
page: string | null;
|
||||
/** not shown on the Modules page */
|
||||
hidden: boolean;
|
||||
compatibility?: "compatible" | "experimental" | "unsupported";
|
||||
compatibility?: "compatible" | "experimental" | "unsupported" | "requires-squid";
|
||||
}
|
||||
|
||||
export interface ModuleSetting {
|
||||
@@ -499,6 +499,7 @@ export const api = {
|
||||
forceStop: (id: string) => invoke<DriverOutcome>("force_stop_server", { id }),
|
||||
stop: (id: string) => invoke<DriverOutcome>("stop_server", { id }),
|
||||
settings: (id: string, scope: Scope) => invoke<SettingsView>("get_settings", { id, scope }),
|
||||
serverLoggingPreset: (id: string, preset: "normal" | "errors" | "off") => invoke<void>("server_logging_preset", { id, preset }),
|
||||
save: (id: string, scope: Scope, changes: Record<string, JsonValue>) => invoke<SaveReport>("save_settings", { id, scope, changes }),
|
||||
presets: (scope: Scope) => invoke<PresetInfo[]>("list_presets", { scope }),
|
||||
backups: (id: string) => invoke<RecoveryPoint[]>("list_backups", { id }),
|
||||
|
||||
Reference in new issue
Block a user