mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-21 20:20:03 +02:00
Some checks are pending
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (26.5.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Verify single-instance deps (npm-install) (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
16 lines
684 B
TypeScript
16 lines
684 B
TypeScript
import { defineFrontendModule } from '@n8n/frontend-module-sdk';
|
|
|
|
/**
|
|
* Store-only: this module contributes no UI surface, so registering it is a no-op —
|
|
* `moduleInitializer` guards every surface it reads. `AboutModal` and `useDebugInfo`
|
|
* consume the store directly; the descriptor is what makes this a module the shell
|
|
* knows about rather than a library it happens to import.
|
|
*/
|
|
export const InstanceRegistryModule = defineFrontendModule({
|
|
// Must match the backend module id: both gate off `/rest/module-settings`.
|
|
id: 'instance-registry',
|
|
name: 'Instance Registry',
|
|
description: 'Reports which instances are in this deployment and their health',
|
|
icon: 'server',
|
|
});
|