mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-03 18:27:09 +02:00
8 lines
317 B
TypeScript
8 lines
317 B
TypeScript
export const INSTANCE_ID_HEADER = 'n8n-instance-id';
|
|
|
|
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];
|