diff options
Diffstat (limited to 'alarm/node_modules/graphql/language/predicates.d.ts')
-rw-r--r-- | alarm/node_modules/graphql/language/predicates.d.ts | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/alarm/node_modules/graphql/language/predicates.d.ts b/alarm/node_modules/graphql/language/predicates.d.ts new file mode 100644 index 0000000..cdbe1f9 --- /dev/null +++ b/alarm/node_modules/graphql/language/predicates.d.ts @@ -0,0 +1,36 @@ +import { + ASTNode, + DefinitionNode, + ExecutableDefinitionNode, + SelectionNode, + ValueNode, + TypeNode, + TypeSystemDefinitionNode, + TypeDefinitionNode, + TypeSystemExtensionNode, + TypeExtensionNode, +} from './ast'; + +export function isDefinitionNode(node: ASTNode): node is DefinitionNode; + +export function isExecutableDefinitionNode( + node: ASTNode, +): node is ExecutableDefinitionNode; + +export function isSelectionNode(node: ASTNode): node is SelectionNode; + +export function isValueNode(node: ASTNode): node is ValueNode; + +export function isTypeNode(node: ASTNode): node is TypeNode; + +export function isTypeSystemDefinitionNode( + node: ASTNode, +): node is TypeSystemDefinitionNode; + +export function isTypeDefinitionNode(node: ASTNode): node is TypeDefinitionNode; + +export function isTypeSystemExtensionNode( + node: ASTNode, +): node is TypeSystemExtensionNode; + +export function isTypeExtensionNode(node: ASTNode): node is TypeExtensionNode; |