콘텐츠로 이동
한국어

RegisterPostgresPluginsOptionsType

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

RegisterPostgresPluginsOptionsType = object

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

readonly optional durableStateStore?: PostgresDurableStateStoreOptions

Defined in: src/persistence/journals/PostgresPluginOptions.ts:23

Durable-state-store-specific options. Defaults to a fresh builder (uses the shared pool).


readonly optional journal?: PostgresJournalOptions

Defined in: src/persistence/journals/PostgresPluginOptions.ts:19

Journal-specific options (table names, autoCreate, and connection if no shared pool).


readonly optional pool?: PgPoolLike

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

Shared connection pool injected into all three stores. When provided, the journal + snapshot + durable-state stores reuse ONE pool (the usual case — they target the same database). When omitted, each store lazily builds its own pool from its url / poolConfig.


readonly optional serializer?: Serializer

Defined in: src/persistence/journals/PostgresPluginOptions.ts:17

Shared payload serializer injected into all three stores (a leaf’s own serializer wins).


readonly optional snapshotStore?: PostgresSnapshotStoreOptions

Defined in: src/persistence/journals/PostgresPluginOptions.ts:21

Snapshot-store-specific options.