n8n
Version:
n8n Workflow Automation Tool
12 lines (11 loc) • 500 B
TypeScript
import type { InstanceRegistration } from '@n8n/api-types';
export interface InstanceRegistryProvider {
getAllInstances(): Promise<InstanceRegistration[]>;
getLocalInstance(): InstanceRegistration | null;
}
export declare class InstanceRegistryProxyService implements InstanceRegistryProvider {
private provider;
registerProvider(provider: InstanceRegistryProvider): void;
getAllInstances(): Promise<InstanceRegistration[]>;
getLocalInstance(): InstanceRegistration | null;
}