Skip to content

Function: readLakebaseInputs()

readLakebaseInputs(config?): Promise<LakebaseResolverInputs>

Pull resolver inputs from process.env, parse the address blob, and layer explicit config on top with this precedence:

config.<field> > coreConfig.resolveValue (shared config sources) > whatever parseAddress recovered from the endpoint / LAKEBASE_ENDPOINT blob.

Set config.endpoint (or LAKEBASE_ENDPOINT) to any input parseAddress understands: canonical resource paths, Postgres URIs, bare hostnames, or bare project ids.

LakebaseResolverInputs

Promise<LakebaseResolverInputs>