Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Type<DataImmutable, DataMutable>

Type parameters

  • DataImmutable

  • DataMutable: DataImmutable

Hierarchy

  • GraphQLObjectType
    • Type

Index

Constructors

constructor

  • new Type(__namedParameters: object): Type
  • Parameters

    • __namedParameters: object

    Returns Type

Properties

astNode

astNode: Maybe<ObjectTypeDefinitionNode>

description

description: Maybe<string>

extensionASTNodes

extensionASTNodes: Maybe<ReadonlyArray<ObjectTypeExtensionNode>>

factory

factory: function

Type declaration

    • (data: DataImmutable): DataMutable
    • Parameters

      • data: DataImmutable

      Returns DataMutable

isTypeOf

isTypeOf: Maybe<GraphQLIsTypeOfFn<any, any>>

name

name: string

Methods

getFields

  • getFields(): GraphQLFieldMap<any, any>
  • Returns GraphQLFieldMap<any, any>

getInterfaces

  • getInterfaces(): GraphQLInterfaceType[]
  • Returns GraphQLInterfaceType[]

inspect

  • inspect(): string
  • Returns string

toJSON

  • toJSON(): string
  • Returns string

toString

  • toString(): string
  • Returns string