@lakeql/config is the composition layer. It loads your lakeql.config.ts, validates the data-source definitions against the registered adapters, and composes a runtime that owns the live data-source instances.
Install it:
pnpm add @lakeql/configIf you scaffolded with create-app, @lakeql/config is already installed.
Three functions span the lifecycle:
-
defineConfig— author the config file with full type inference. -
loadConfig— load it and resolve it into a neutral project object. Per-source validation runs indefineConfigand the adapter factory, not here. -
createLakeQLRuntime— compose the runtime from the loaded config, the adapter factories, and an auth resolver.
This section covers the runtime config contract and the full API reference.