UNPKG

@tanstack/electric-db-collection

Version:

ElectricSQL collection for TanStack DB

20 lines (19 loc) 756 B
import { TanStackDBError } from '@tanstack/db'; export declare class ElectricDBCollectionError extends TanStackDBError { constructor(message: string); } export declare class ExpectedNumberInAwaitTxIdError extends ElectricDBCollectionError { constructor(txIdType: string); } export declare class TimeoutWaitingForTxIdError extends ElectricDBCollectionError { constructor(txId: number); } export declare class ElectricInsertHandlerMustReturnTxIdError extends ElectricDBCollectionError { constructor(); } export declare class ElectricUpdateHandlerMustReturnTxIdError extends ElectricDBCollectionError { constructor(); } export declare class ElectricDeleteHandlerMustReturnTxIdError extends ElectricDBCollectionError { constructor(); }