From 40ca2b4b911af800ba78067bc1f586bf6b0028c8 Mon Sep 17 00:00:00 2001 From: Pavel Lang Date: Mon, 24 Jun 2019 21:41:37 +0200 Subject: [PATCH] Add `isRepeatable` to GraphQLDirective (#36358) https://github.com/graphql/graphql-js/commit/2c7224c32bf35ce97201b181d7b445cf8e49a585 --- types/graphql/language/ast.d.ts | 1 + types/graphql/type/directives.d.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/types/graphql/language/ast.d.ts b/types/graphql/language/ast.d.ts index 6a6ee1b3e2..4a2668704c 100644 --- a/types/graphql/language/ast.d.ts +++ b/types/graphql/language/ast.d.ts @@ -491,6 +491,7 @@ export interface DirectiveDefinitionNode { readonly description?: StringValueNode; readonly name: NameNode; readonly arguments?: ReadonlyArray; + readonly repeatable: boolean; readonly locations: ReadonlyArray; } diff --git a/types/graphql/type/directives.d.ts b/types/graphql/type/directives.d.ts index b3995704a7..86e6cae5fc 100644 --- a/types/graphql/type/directives.d.ts +++ b/types/graphql/type/directives.d.ts @@ -16,6 +16,7 @@ export class GraphQLDirective { name: string; description: Maybe; locations: DirectiveLocationEnum[]; + isRepeatable: boolean; args: GraphQLArgument[]; astNode: Maybe; @@ -31,6 +32,7 @@ export interface GraphQLDirectiveConfig { description?: Maybe; locations: DirectiveLocationEnum[]; args?: Maybe; + isRepeatable?: Maybe; astNode?: Maybe; }