콘텐츠로 이동
한국어

RegisterLibSqlPluginsOptionsType

이 콘텐츠는 아직 번역되지 않았습니다.

RegisterLibSqlPluginsOptionsType = object

Defined in: src/persistence/journals/LibSqlPluginOptions.ts:8

readonly optional authToken?: string

Defined in: src/persistence/journals/LibSqlPluginOptions.ts:22

Auth token applied to every store that does not set its own.


readonly optional client?: LibSqlClientLike

Defined in: src/persistence/journals/LibSqlPluginOptions.ts:15

Shared client injected into all three stores — the usual case, since they target the same database and a libSQL client is a connection pool in its own right. When omitted, each store lazily builds its own client from its url / authToken.


readonly optional durableStateStore?: LibSqlDurableStateStoreOptions

Defined in: src/persistence/journals/LibSqlPluginOptions.ts:30

Durable-state-store-specific options (table name).


readonly optional journal?: LibSqlJournalOptions

Defined in: src/persistence/journals/LibSqlPluginOptions.ts:26

Journal-specific options (table names, autoCreate).


readonly optional serializer?: Serializer

Defined in: src/persistence/journals/LibSqlPluginOptions.ts:24

Shared payload serializer applied to every store that does not set its own.


readonly optional snapshotStore?: LibSqlSnapshotStoreOptions

Defined in: src/persistence/journals/LibSqlPluginOptions.ts:28

Snapshot-store-specific options (table name, keepN).


readonly optional url?: string

Defined in: src/persistence/journals/LibSqlPluginOptions.ts:20

Database URL applied to every store that does not set its own. Saves repeating the connection three times when no shared client is passed.