Skip to content

Type Alias: JourneyDevtoolsBridgeOptions

@rxova/journey-devtools-bridge


@rxova/journey-devtools-bridge / JourneyDevtoolsBridgeOptions

type JourneyDevtoolsBridgeOptions = object;

Defined in: bridge.types.ts:9

Options for attachJourneyDevtools.

appName?: string;

Defined in: bridge.types.ts:17

App name shown in devtools. Defaults to document.title.


enabled?: boolean;

Defined in: bridge.types.ts:15

Force the bridge on or off. Defaults to enabled only in non-production builds.


eventTypes?: readonly string[];

Defined in: bridge.types.ts:25

Declared event types shown in the panel. The machine surface exposes only the currently enabled events, so pass the full union here when you want the panel to list every declared event.


label?: string;

Defined in: bridge.types.ts:13

Human-readable label shown in the devtools panel.


machineId?: string;

Defined in: bridge.types.ts:11

Stable id for this machine in devtools. Defaults to a generated id.


mutationsEnabled?: boolean;

Defined in: bridge.types.ts:19

Allow devtools to mutate the machine. Defaults to true whenever the bridge is enabled.


rateLimit?: object;

Defined in: bridge.types.ts:27

Operation rate limiting; mainly a test knob. Defaults to 100 per 10s.

maxPerWindow?: number;
windowMs?: number;