Skip to main content
Module

x/graphql_deno/lib/type/index.d.ts

GraphQL-JS ported to Deno
Latest
import * as graphqlDeno from "https://deno.land/x/graphql_deno@v15.0.0/lib/type/index.d.ts";

Classes

Directives are used by the GraphQL runtime as a way of modifying execution behavior. Type system creators will usually not create these directly.

Enum Type Definition

Input Object Type Definition

Interface Type Definition

Object Type Definition

Scalar Type Definition

Schema Definition

Union Type Definition

Variables

Constant string used for default reason for a deprecation.

Used to declare element of a GraphQL schema as deprecated.

Used to conditionally include fields or fragments.

Used to conditionally skip (exclude) fields or fragments.

Note that these are GraphQLField and not GraphQLFieldConfig, so the format for args is different.

The full list of specified directives.

Functions

Utility function which asserts a schema is valid by throwing an error if it is invalid.

Test if the given value is a GraphQL directive.

Test if the given value is a GraphQL schema.

Implements the "Type Validation" sub-sections of the specification's "Type System" section.

Type Aliases

These types may describe the parent context of a selection set.

These types may describe the parent context of a selection set.

These types may be used as input types for arguments and directives.

These types may describe types which may be leaf values.

These named types do not include modifiers like List or NonNull.

These types can all accept null as a value.

These types may be used as output types as the result of fields.

These are all of the possible kinds of types.

Used while defining GraphQL types to allow for circular references in otherwise immutable type definitions.