mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 16:57:08 +02:00
9 lines
371 B
TypeScript
9 lines
371 B
TypeScript
export const INSTANCE_ID_HEADER = 'n8n-instance-id';
|
|
export const INSTANCE_VERSION_HEADER = 'n8n-version';
|
|
|
|
export const INSTANCE_TYPES = ['main', 'webhook', 'worker'] as const;
|
|
export type InstanceType = (typeof INSTANCE_TYPES)[number];
|
|
|
|
export const INSTANCE_ROLES = ['unset', 'leader', 'follower'] as const;
|
|
export type InstanceRole = (typeof INSTANCE_ROLES)[number];
|