mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-24 11:25:56 +00:00
Bot deploy shows the module's refusal; modules update only when the owner asks
- Deploy: a refusal text of the bot module (switched off, rejected, 0 created) is an error, not a started job; the outdated-module message points to the Modules page. - Modules: a module whose build differs from the commit the core recommends shows an Update button. Nothing updates by itself, not even on a core change. Needs the world stopped, merges the module's settings. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5db6691b8b
commit
e8bf35f95d
16 files changed
+233
-8
No files matched your search
@@ -260,6 +260,8 @@ export interface ModuleView {
|
||||
component_type?: ComponentType;
|
||||
can_remove?: boolean;
|
||||
source_commit?: string | null;
|
||||
/** a newer build of the module is recommended by the server's core; the owner chooses when to update */
|
||||
available_commit?: string | null;
|
||||
part_of?: string | null;
|
||||
}
|
||||
|
||||
@@ -794,6 +796,7 @@ export const api = {
|
||||
analyzeGithubModule: (url: string, realmId: string) =>
|
||||
invoke<CompatibilityReport>("analyze_github_module", { url, realmId }),
|
||||
moduleSetEnabled: (id: string, module: string, enabled: boolean) => invoke<void>("module_set_enabled", { id, module, enabled }),
|
||||
moduleUpdate: (id: string, module: string) => invoke<string>("module_update", { id, module }),
|
||||
pluginsRepair: (id: string) => invoke<string[]>("plugins_repair", { id }),
|
||||
moduleSettings: (id: string, module: string) => invoke<ModuleSetting[]>("module_settings", { id, module }),
|
||||
moduleSaveSettings: (id: string, module: string, changes: Record<string, string>) => invoke<string[]>("module_save_settings", { id, module, changes }),
|
||||
|
||||
Reference in new issue
Block a user