UNPKG

@neo4j/graphql

Version:

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

14 lines 1.81 kB
import type { ValueOf } from "../utils/value-of"; export declare const LIBRARY_DIRECTIVES: readonly [...("authentication" | "jwt" | "authorization" | "coalesce" | "customResolver" | "cypher" | "default" | "filterable" | "fulltext" | "id" | "jwtClaim" | "limit" | "mutation" | "plural" | "populatedBy" | "query" | "relayId" | "selectable" | "settable" | "sortable" | "subscription" | "timestamp" | "vector" | "private" | "subscriptionsAuthorization")[], "alias", "relationship", "relationshipProperties", "declareRelationship", "node", "shareable"]; export declare const SCHEMA_CONFIGURATION_FIELD_DIRECTIVES: readonly ["filterable", "selectable", "settable", "sortable"]; export declare const FIELD_DIRECTIVES: readonly ["alias", "authentication", "authorization", "coalesce", "customResolver", "cypher", "default", "id", "jwtClaim", "populatedBy", "relationship", "relayId", "subscriptionsAuthorization", "timestamp", "declareRelationship", "filterable", "selectable", "settable", "sortable"]; export type FieldDirective = ValueOf<typeof FIELD_DIRECTIVES>; export declare const SCHEMA_CONFIGURATION_OBJECT_DIRECTIVES: readonly ["query", "mutation", "subscription"]; declare const OBJECT_DIRECTIVES: readonly ["authentication", "authorization", "subscriptionsAuthorization", "plural", "limit", "fulltext", "node", "jwt", "shareable", "deprecated", "relationshipProperties", "query", "mutation", "subscription"]; export type ObjectDirective = ValueOf<typeof OBJECT_DIRECTIVES>; declare const INTERFACE_DIRECTIVES: readonly ["query", "plural", "limit"]; export type InterfaceDirective = ValueOf<typeof INTERFACE_DIRECTIVES>; declare const UNION_DIRECTIVES: readonly ["query", "plural"]; export type UnionDirective = ValueOf<typeof UNION_DIRECTIVES>; export {}; //# sourceMappingURL=library-directives.d.ts.map