prostgles-client
Version:
Reactive client for Postgres
19 lines • 901 B
TypeScript
import { type DBSchemaTable, type TableSchemaForClient } from "prostgles-types";
import type { getSubscriptionHandler } from "./getSubscriptionHandler";
import type { getSyncHandler } from "./getSyncHandler";
import { type DBHandlerClient, type InitOptions } from "./prostgles";
import { type SyncedTable } from "./SyncedTable/SyncedTable";
type Args = {
schema: TableSchemaForClient;
tableSchema: DBSchemaTable[] | undefined;
onDebug: InitOptions["onDebug"];
socket: InitOptions["socket"];
syncedTable: typeof SyncedTable | undefined;
syncHandler: ReturnType<typeof getSyncHandler>;
subscriptionHandler: ReturnType<typeof getSubscriptionHandler>;
};
export declare const getDBO: ({ schema, tableSchema, onDebug, syncedTable, syncHandler, subscriptionHandler, socket, }: Args) => {
dbo: Partial<DBHandlerClient>;
};
export {};
//# sourceMappingURL=getDbHandler.d.ts.map