UNPKG

@sekiban/postgres

Version:

PostgreSQL storage provider for Sekiban Event Sourcing framework

7 lines (6 loc) 289 B
import { ResultAsync } from 'neverthrow'; import { IEventStore, StorageProviderConfig, StorageError } from '@sekiban/core'; /** * Creates a PostgreSQL event store */ export declare function createPostgresEventStore(config: StorageProviderConfig): ResultAsync<IEventStore, StorageError>;