MCPcopy
hub / github.com/koala73/worldmonitor / constructor

Method constructor

src/components/RuntimeConfigPanel.ts:40–47  ·  view source on GitHub ↗
(options: RuntimeConfigPanelOptions = {})

Source from the content-addressed store, hash-verified

38 private validationMessages = new Map<RuntimeSecretKey, string>();
39
40 constructor(options: RuntimeConfigPanelOptions = {}) {
41 super({ id: 'runtime-config', title: t('modals.runtimeConfig.title'), showCount: false });
42 this.mode = options.mode ?? (isDesktopRuntime() ? 'alert' : 'full');
43 this.buffered = options.buffered ?? false;
44 this.featureFilter = options.featureFilter;
45 this.unsubscribe = subscribeRuntimeConfig(() => this.render());
46 this.render();
47 }
48
49 public async commitPendingSecrets(): Promise<void> {
50 for (const [key, value] of this.pendingSecrets) {

Callers

nothing calls this directly

Calls 4

renderMethod · 0.95
tFunction · 0.90
isDesktopRuntimeFunction · 0.90
subscribeRuntimeConfigFunction · 0.90

Tested by

no test coverage detected