@omnigraph/neo4j
Version:
13 lines (12 loc) • 567 B
text/typescript
import type { Driver } from 'neo4j-driver';
import type { Neo4JAuthOpts } from '@graphql-mesh/transport-neo4j';
import type { Logger, MeshPubSub } from '@graphql-mesh/types';
export interface LoadGraphQLSchemaFromNeo4JOpts {
endpoint: string;
database?: string;
auth?: Neo4JAuthOpts;
pubsub?: MeshPubSub;
logger?: Logger;
driver?: Driver;
}
export declare function loadGraphQLSchemaFromNeo4J(subgraphName: string, { endpoint, auth, logger, pubsub, database, driver }: LoadGraphQLSchemaFromNeo4JOpts): Promise<import("graphql").GraphQLSchema>;