UNPKG

@envelop/rate-limiter

Version:

This plugins uses [`graphql-rate-limit`](https://github.com/teamplanes/graphql-rate-limit#readme) in order to limit the rate of calling queries and mutations.

3 lines (2 loc) 161 B
import { DirectiveNode, GraphQLResolveInfo } from 'graphql'; export declare function getDirective(info: GraphQLResolveInfo, name: string): null | DirectiveNode;