UNPKG

@graphql-authz/directive

Version:
7 lines 396 B
import { RulesObject } from '@graphql-authz/core'; import { GraphQLDirective, GraphQLSchema } from 'graphql'; export declare function authZGraphQLDirective(rules: RulesObject, directiveName?: string): GraphQLDirective; export declare function authZDirective(directiveName?: string): { authZDirectiveTransformer: (schema: GraphQLSchema) => GraphQLSchema; }; //# sourceMappingURL=index.d.ts.map