fix(editor): Derive the debug info instance type from the shared schema (no-changelog)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Michael Siega 2026-09-21 11:37:14 +02:00
parent 36b8d42d6e
commit 00db7e705d

View File

@ -2,15 +2,13 @@ import { useRootStore } from '@n8n/stores/useRootStore';
import { useSettingsStore } from '@n8n/stores/settings.store';
import { useInstanceRegistryStore } from '@n8n/frontend-module-instance-registry';
import { useDeviceSupport } from '@n8n/composables/useDeviceSupport';
import type { InstanceRegistration } from '@n8n/api-types';
import type { WorkflowSettings } from 'n8n-workflow';
type ClusterInstanceSummary = {
instanceKey: string;
hostId: string;
instanceType: 'main' | 'worker' | 'webhook';
instanceRole: 'leader' | 'follower' | 'unset';
version: string;
};
type ClusterInstanceSummary = Pick<
InstanceRegistration,
'instanceKey' | 'hostId' | 'instanceType' | 'instanceRole' | 'version'
>;
type ClusterCheckSummary = {
check: string;