mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 15:33:12 +09:00
Address review on plugin docs and web plugins map
Point the invalid configuration section at the features flags and config validators instead of throwing from the entrypoint, use const in the examples, add a metrics hook example including a returned registry, and mark Control.plugins as deprecated. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
7122cbccf8
commit
8363b221bb
2 files changed
+45
-11
No files matched your search
@@ -52,6 +52,7 @@ export class Control extends lib.Link {
|
||||
accountRoles: lib.AccountRole[] | null = null;
|
||||
|
||||
public hooks = new WebPlugin.WebHooks(logger);
|
||||
/** @deprecated Only holds plugins using the class export, use loadedPlugins and hooks instead */
|
||||
public plugins = new Map<string, WebPlugin.BaseWebPlugin>();
|
||||
public loadedPlugins = new Map<string, lib.PluginWebpackEnvInfo>();
|
||||
public inputComponents = new Map<string, WebPlugin.InputComponent>();
|
||||
|
||||
Reference in new issue
Block a user