Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SchemaBuilder

Implements

Index

Properties

Private _enums

_enums: Map<Object, EnumInfo> = new Map()

Private _types

_types: Hash<TypeInfo>

Accessors

Protected enums

enums:

Protected types

types:

Methods

build

  • build(): GraphQLSchema

decorateEnum

description

  • description(text: string): PropertyDecorator

field

Protected findByClass

  • findByClass(target: Function): TypeInfo | undefined
  • Parameters

    • target: Function

    Returns TypeInfo | undefined

Protected getOrAddEnum

  • getOrAddEnum(_enum: Object, name?: undefined | string): EnumInfo
  • Parameters

    • _enum: Object
    • Optional name: undefined | string

    Returns EnumInfo

Protected getOrAddField

  • getOrAddField(typeName: string, name: string): FieldInfo

Protected getOrAddType

  • getOrAddType(name: string): TypeInfo

Protected hasEnum

  • hasEnum(_enum: Object): boolean

Protected hasType

  • hasType(name: string): boolean

input

interface

list

  • list(type: OutputType, args?: undefined | object): PropertyDecorator

mutation

nonNull

  • nonNull(): PropertyDecorator

nonNullItems

  • nonNullItems(): PropertyDecorator

query

resolve

  • resolve<R>(resolver: R): PropertyDecorator

scalar

subscription

type

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc