UNPKG

@neo4j/graphql

Version:

A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations

18 lines 692 B
import Cypher from "@neo4j/cypher-builder"; import type { Driver, QueryConfig } from "neo4j-driver"; import type { CDCQueryResponse } from "./cdc-types"; export declare class CDCApi { private driver; private cursor; private queryConfig; constructor(driver: Driver, queryConfig?: QueryConfig); /** Queries events since last call to queryEvents */ queryEvents(labels?: string[], txFilter?: Cypher.Map): Promise<CDCQueryResponse[]>; refreshCursor(): Promise<void>; private fetchCurrentChangeId; private createCDCQuery; private updateChangeIdWithLastEvent; private createQuerySelectors; private runProcedure; } //# sourceMappingURL=cdc-api.d.ts.map