UNPKG

@neo4j/graphql

Version:

A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations

15 lines 638 B
import type { Neo4jGraphQLContext } from "../types/neo4j-graphql-context"; export interface NodeDirectiveConstructor { labels?: string[]; } export declare class NodeDirective { readonly labels: string[]; constructor(input: NodeDirectiveConstructor); getLabelsString(typeName: string, context: Neo4jGraphQLContext): string; /** * Returns the list containing labels mapped with the values contained in the Context. * Be careful when using this method, labels returned are unescaped. **/ getLabels(typeName: string, context: Neo4jGraphQLContext): string[]; } //# sourceMappingURL=NodeDirective.d.ts.map