Rxova
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.

optional appName?: string;

Defined in: bridge.types.ts:17

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


optional enabled?: boolean;

Defined in: bridge.types.ts:15

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


optional 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.


optional label?: string;

Defined in: bridge.types.ts:13

Human-readable label shown in the devtools panel.


optional machineId?: string;

Defined in: bridge.types.ts:11

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


optional mutationsEnabled?: boolean;

Defined in: bridge.types.ts:19

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


optional rateLimit?: object;

Defined in: bridge.types.ts:27

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

optional maxPerWindow?: number;
optional windowMs?: number;