@omnigraph/neo4j
Version:
29 lines (28 loc) • 908 B
TypeScript
import { GraphQLSchema } from 'graphql';
import { Logger, MeshFetch, MeshPubSub } from '@graphql-mesh/types';
import { Neo4JAuthOpts } from './auth.js';
import { LoadGraphQLSchemaFromNeo4JOpts } from './schema.js';
export declare function loadNeo4JSubgraph(name: string, opts: LoadGraphQLSchemaFromNeo4JOpts): ({ logger }: {
logger: Logger;
}) => {
name: string;
schema$: Promise<GraphQLSchema>;
};
export interface Neo4JTransportEntry {
kind: 'neo4j';
location: string;
options: {
database: string;
auth: Neo4JAuthOpts;
};
}
export declare function getSubgraphExecutor(transportContext: {
getSubgraph: () => GraphQLSchema;
fetch: MeshFetch;
pubsub: MeshPubSub;
logger: Logger;
}): Promise<import("@graphql-tools/utils").Executor>;
export * from './schema.js';
export * from './executor.js';
export * from './driver.js';
export * from './auth.js';