@neo4j/graphql
Version:
A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations
10 lines • 970 B
TypeScript
import type { RelationshipNestedOperationsOption } from "../../constants";
import { ConcreteEntityAdapter } from "../../schema-model/entity/model-adapters/ConcreteEntityAdapter";
import type { InterfaceEntityAdapter } from "../../schema-model/entity/model-adapters/InterfaceEntityAdapter";
import type { Neo4jFeaturesSettings } from "../../types";
export declare function relationshipTargetHasRelationshipWithNestedOperation(target: ConcreteEntityAdapter | InterfaceEntityAdapter, nestedOperation: RelationshipNestedOperationsOption): boolean;
type DeprecationOptions = Exclude<Neo4jFeaturesSettings["excludeDeprecatedFields"], undefined>;
/** Returns true if the "excludeDeprecatedFields" flag is not set in the features option of Neo4jGraphQL for the chosen deprecation type */
export declare function shouldAddDeprecatedFields(features: Neo4jFeaturesSettings | undefined, deprecation: keyof DeprecationOptions): boolean;
export {};
//# sourceMappingURL=utils.d.ts.map