mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Add isRepeatable to GraphQLDirective (#36358)
https://github.com/graphql/graphql-js/commit/2c7224c32bf35ce97201b181d7b445cf8e49a585
This commit is contained in:
committed by
Daniel Rosenwasser
parent
3a3bb26b11
commit
40ca2b4b91
Vendored
+1
@@ -491,6 +491,7 @@ export interface DirectiveDefinitionNode {
|
||||
readonly description?: StringValueNode;
|
||||
readonly name: NameNode;
|
||||
readonly arguments?: ReadonlyArray<InputValueDefinitionNode>;
|
||||
readonly repeatable: boolean;
|
||||
readonly locations: ReadonlyArray<NameNode>;
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
@@ -16,6 +16,7 @@ export class GraphQLDirective {
|
||||
name: string;
|
||||
description: Maybe<string>;
|
||||
locations: DirectiveLocationEnum[];
|
||||
isRepeatable: boolean;
|
||||
args: GraphQLArgument[];
|
||||
astNode: Maybe<DirectiveDefinitionNode>;
|
||||
|
||||
@@ -31,6 +32,7 @@ export interface GraphQLDirectiveConfig {
|
||||
description?: Maybe<string>;
|
||||
locations: DirectiveLocationEnum[];
|
||||
args?: Maybe<GraphQLFieldConfigArgumentMap>;
|
||||
isRepeatable?: Maybe<boolean>;
|
||||
astNode?: Maybe<DirectiveDefinitionNode>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user