1 | import { Driver } from 'neo4j-driver';
|
2 | import { YamlConfig, MeshHandler, GetMeshSourceOptions } from '@graphql-mesh/types';
|
3 | export default class Neo4JHandler implements MeshHandler {
|
4 | private name;
|
5 | private cache;
|
6 | private config;
|
7 | private pubsub;
|
8 | constructor({ name, cache, config, pubsub }: GetMeshSourceOptions<YamlConfig.Neo4JHandler>);
|
9 | private driver;
|
10 | getDriver(): Driver;
|
11 | getMeshSource(): Promise<{
|
12 | schema: any;
|
13 | contextBuilder: () => Promise<{
|
14 | driver: Driver;
|
15 | neo4jDatabase: string;
|
16 | }>;
|
17 | }>;
|
18 | }
|