Skip to content

r.config(...)

r.config({ keys, seeds? }) — declares per-tenant config keys and returns a handle map; passing a handle to ctx.config(handle) narrows the value type by the key’s declared type. Optional seeds write boot-time rows via the event-store executor (system-tenant by default, explicit tenantId per seed) — idempotent, skipped when the stream already exists.


From packages/framework/src/engine/feature-ast/patterns.ts -> ConfigPattern