createConsoleConfig
createConsoleConfig(
options?):ConsoleConfig
Defined in: console-sdk/src/config/createConsoleConfig.ts:65
Creates a frozen, branded ConsoleConfig from
ConsoleConfigOptions. Inert: validates and freezes only — zero
I/O, zero globals, nothing constructed. Invalid options throw TypeError
(wrong shape) or RangeError (out-of-range number) synchronously.
Each call mints a unique config identity; the provider keys its runtime on it, so passing a NEW config object tears the old runtime down and builds a fresh one (SDK_PLAN.md §3.1.3 config-change semantics — no setters exist).
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Example
Section titled “Example”const config = createConsoleConfig({ fleet: { maxDevices: 2 } });<ConsoleProvider config={config}>{children}</ConsoleProvider>