Skip to content

LibsqlStorageOptions

Defined in: src/storage/libsql.ts:22

Options for createLibsqlStorage.

Property Type Description Defined in
authToken? string Turso auth token for remote databases. src/storage/libsql.ts:32
client? LibsqlClientLike A pre-constructed @libsql/client client to use instead of connecting. Never closed. src/storage/libsql.ts:34
subpath? string The import path to name in error messages (a missing peer, a missing client/url…), e.g. "@xtandard/webhooks/storage/libsql" when a product re-exports this driver. Default: the kit subpath. src/storage/libsql.ts:28
table? string Table name (default "xtandard_kv"; products pass theirs). Validated as a safe identifier. src/storage/libsql.ts:36
url? string libSQL URL (libsql://…, https://…, file:…, :memory:). Used when no client. src/storage/libsql.ts:30