@neo4j/graphql
Version:
A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations
27 lines • 1.13 kB
TypeScript
import type { AuthorizationOperation } from "../../../schema-model/annotation/AuthorizationAnnotation";
import type { Node } from "../../../types";
import type { Neo4jGraphQLTranslationContext } from "../../../types/neo4j-graphql-translation-context";
type AuthorizationAfterAndParams = {
cypher: string;
params: Record<string, any>;
subqueries?: string;
};
type StringNodeMap = {
node: Node;
variable: string;
fieldName?: string;
};
export declare function createAuthorizationAfterAndParams({ context, nodes, operations, indexPrefix, }: {
context: Neo4jGraphQLTranslationContext;
nodes: StringNodeMap[];
operations: AuthorizationOperation[];
indexPrefix?: string;
}): AuthorizationAfterAndParams | undefined;
export declare function createAuthorizationAfterAndParamsField({ context, nodes, operations, indexPrefix, }: {
context: Neo4jGraphQLTranslationContext;
nodes: StringNodeMap[];
operations: AuthorizationOperation[];
indexPrefix?: string;
}): AuthorizationAfterAndParams | undefined;
export {};
//# sourceMappingURL=create-authorization-after-and-params.d.ts.map