LibSqlJournalOptionsType
이 콘텐츠는 아직 번역되지 않았습니다.
Defined in: src/persistence/journals/LibSqlJournalOptions.ts:8
Connection options shared by all three libSQL stores.
Extends
Section titled “Extends”LibSqlConnection.StoreSerializerOptionsBase
Properties
Section titled “Properties”authToken?
Section titled “authToken?”
readonlyoptionalauthToken?:string
Defined in: src/persistence/journals/LibSqlClient.ts:61
Turso auth token. Omit for an unauthenticated local sqld.
Inherited from
Section titled “Inherited from”LibSqlConnection.authToken
autoCreateTables?
Section titled “autoCreateTables?”
readonlyoptionalautoCreateTables?:boolean
Defined in: src/persistence/journals/LibSqlJournalOptions.ts:14
Run CREATE TABLE IF NOT EXISTS on first use. Default: true.
client?
Section titled “client?”
readonlyoptionalclient?:LibSqlClientLike
Defined in: src/persistence/journals/LibSqlClient.ts:68
Pre-built client — bypasses the lazy @libsql/client import entirely.
Use to share ONE client across the journal, snapshot and durable-state
stores (see registerLibSqlPlugins), to inject a fake in tests, or to
supply a client built with options this connection shape does not model.
Inherited from
Section titled “Inherited from”LibSqlConnection.client
eventsTable?
Section titled “eventsTable?”
readonlyoptionaleventsTable?:string
Defined in: src/persistence/journals/LibSqlJournalOptions.ts:10
Events table name. Default: events.
serializer?
Section titled “serializer?”
readonlyoptionalserializer?:Serializer<unknown>
Defined in: src/persistence/storage/StoreSerializerOptions.ts:23
Custom payload serializer. When set, the store writes rows in the
self-describing __serialized__ framing (see PayloadCodec) instead
of the default tagged JSON; rows of both formats can coexist in one
stream, but reading a framed row back requires a serializer with the
same id to be configured.
Inherited from
Section titled “Inherited from”StoreSerializerOptionsBase.serializer
tagsTable?
Section titled “tagsTable?”
readonlyoptionaltagsTable?:string
Defined in: src/persistence/journals/LibSqlJournalOptions.ts:12
Tags join table name. Default: ${eventsTable}_tags.
readonlyoptionalurl?:string
Defined in: src/persistence/journals/LibSqlClient.ts:59
Database URL — libsql://… (Turso), or http(s):// / ws(s):// for a
self-hosted sqld. Required unless client is supplied.
Inherited from
Section titled “Inherited from”LibSqlConnection.url
