UNPKG

@getanthill/datastore

Version:

Event-Sourced Datastore

11 lines (10 loc) 934 B
import type { HandlerConfig, RunnerTrigger } from '../../typings'; import type Datastore from '../Datastore'; import Aggregator from '../aggregator/Aggregator'; export * from './utils'; export declare function getProjectionConfiguration(url: URL, datastores: Map<string, Datastore>): Promise<any>; export declare function getDestinationDatastore(url: URL, datastores: Map<string, Datastore>, configuration: any): Datastore; export declare function initDestinationModel(url: URL, datastores: Map<string, Datastore>, configuration: any): Promise<void>; export declare function getTriggers(url: URL, datastores: Map<string, Datastore>, aggregator: Aggregator, configuration: any): Promise<RunnerTrigger[]>; export declare const main: (url: URL, services?: import("../../typings").Services) => Promise<HandlerConfig>; export declare const syncPostgreSQL: (url: URL, services?: import("../../typings").Services) => Promise<HandlerConfig>;