mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-19 16:55:02 +02:00
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:
parent
36b8d42d6e
commit
00db7e705d
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user