CreateMaelstromConfig
Defined in: packages/react/src/lib/create-maelstrom.ts:36
Configuration used to create one typed React Maelstrom instance.
Type Parameters
Section titled “Type Parameters”T extends readonly AnyVesselEntry[]
Properties
Section titled “Properties”cellSizePx?
Section titled “cellSizePx?”
optionalcellSizePx?:number
Defined in: packages/react/src/lib/create-maelstrom.ts:43
Grid cell size in pixels. Defaults to 80, must be positive, and may be overridden by the Provider.
debug?
Section titled “debug?”
optionaldebug?:boolean
Defined in: packages/react/src/lib/create-maelstrom.ts:50
Enables client diagnostic logging. Defaults to false.
intentQueue?
Section titled “intentQueue?”
optionalintentQueue?:IntentQueueOptions
Defined in: packages/react/src/lib/create-maelstrom.ts:62
Mount-time shared FIFO policy. Defaults: 8 pending, 30s queue wait, 10s disconnected grace, 60s active result deadline. The deadline does not cancel work. Provider overrides replace this object; remount to change it. Invalid limits fail Provider construction, as in the client SDK.
motion?
Section titled “motion?”
optionalmotion?:ChartMotionConfig
Defined in: packages/react/src/lib/create-maelstrom.ts:55
Chart motion/choreography settings. A motion prop on the Provider
overrides this as a whole object (no per-field merge).
tilingPaddingPx?
Section titled “tilingPaddingPx?”
optionaltilingPaddingPx?:number
Defined in: packages/react/src/lib/create-maelstrom.ts:48
Pixel gap inset around computed tiling regions. Defaults to 8, must be non-negative, and may be overridden by the Provider.
vessels
Section titled “vessels”vessels:
AssertNarrowIds<T> &T
Defined in: packages/react/src/lib/create-maelstrom.ts:38
Vessel entries available to the Provider and generated hooks.