@neo4j/graphql
Version:
A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations
23 lines • 1.07 kB
TypeScript
import type { IResolvers } from "@graphql-tools/utils";
import type { DocumentNode } from "graphql";
import type { Node } from "../classes";
import type Relationship from "../classes/Relationship";
import { type ComplexityEstimatorHelper } from "../classes/ComplexityEstimatorHelper";
import type { Subgraph } from "../classes/Subgraph";
import type { Neo4jGraphQLSchemaModel } from "../schema-model/Neo4jGraphQLSchemaModel";
import type { Neo4jFeaturesSettings } from "../types";
declare function makeAugmentedSchema({ document, features, userCustomResolvers, subgraph, schemaModel, complexityEstimatorHelper, }: {
document: DocumentNode;
features?: Neo4jFeaturesSettings;
userCustomResolvers?: IResolvers | Array<IResolvers>;
subgraph?: Subgraph;
schemaModel: Neo4jGraphQLSchemaModel;
complexityEstimatorHelper: ComplexityEstimatorHelper;
}): {
nodes: Node[];
relationships: Relationship[];
typeDefs: DocumentNode;
resolvers: IResolvers;
};
export default makeAugmentedSchema;
//# sourceMappingURL=make-augmented-schema.d.ts.map