Type Alias: JourneyDevtoolsBridgeOptions
@rxova/journey-devtools-bridge
@rxova/journey-devtools-bridge / JourneyDevtoolsBridgeOptions
type JourneyDevtoolsBridgeOptions = object;Defined in: bridge.types.ts:9
Options for attachJourneyDevtools.
Properties
Section titled “Properties”appName?
Section titled “appName?”appName?: string;Defined in: bridge.types.ts:17
App name shown in devtools. Defaults to document.title.
enabled?
Section titled “enabled?”enabled?: boolean;Defined in: bridge.types.ts:15
Force the bridge on or off. Defaults to enabled only in non-production builds.
eventTypes?
Section titled “eventTypes?”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?
Section titled “label?”label?: string;Defined in: bridge.types.ts:13
Human-readable label shown in the devtools panel.
machineId?
Section titled “machineId?”machineId?: string;Defined in: bridge.types.ts:11
Stable id for this machine in devtools. Defaults to a generated id.
mutationsEnabled?
Section titled “mutationsEnabled?”mutationsEnabled?: boolean;Defined in: bridge.types.ts:19
Allow devtools to mutate the machine. Defaults to true whenever the bridge is enabled.
rateLimit?
Section titled “rateLimit?”rateLimit?: object;Defined in: bridge.types.ts:27
Operation rate limiting; mainly a test knob. Defaults to 100 per 10s.
maxPerWindow?
Section titled “maxPerWindow?”maxPerWindow?: number;windowMs?
Section titled “windowMs?”windowMs?: number;