Types > __Type
Storefront APITypes__Type
__Type

Description

The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the __TypeKind enum.

Depending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional specifiedByURL, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.

Fields

description: String


enumValues: [__EnumValue!]


fields: [__Field!]


inputFields: [__InputValue!]


interfaces: [__Type!]


kind: __TypeKind!


name: String


ofType: __Type


possibleTypes: [__Type!]


specifiedByURL: String


Used By

Types

__Field, __InputValue, __Schema, __Type

Preview (typescript)

Loading module