Skip to content

@pgege/kaboo-runtime


Interface: PostgresGrantStoreOptions

Defined in: src/stores/postgres-grants.ts:11

Options for PostgresGrantStore. Provide exactly one connection source: a dsn connection string (the store creates and owns its own pg.Pool) or an existing pool to reuse — typically the one your PostgresThreadStore uses. Passing neither throws.

Properties

dsn?

optional dsn?: string

Defined in: src/stores/postgres-grants.ts:13

Postgres connection string. Ignored when an existing pool is passed.


pool?

optional pool?: Pool

Defined in: src/stores/postgres-grants.ts:15

Reuse an existing pg.Pool instead of creating one from dsn.