Version: 0.16.x

GraphbackAPI

Defines the individual components created in the Graphback API

Hierarchy#

  • GraphbackAPI

Index#

Properties#

Methods#

Properties#

resolvers#

resolvers: Record‹string, any›

Defined in buildGraphbackAPI.ts:44

CRUD resolvers for every data model


schema#

schema: GraphQLSchema

Defined in buildGraphbackAPI.ts:40

GraphQL schema object


services#

services: GraphbackServiceConfigMap

Defined in buildGraphbackAPI.ts:48

Model:Service map of CRUD services for every data model


typeDefs#

typeDefs: string

Defined in buildGraphbackAPI.ts:36

GraphQL schema as a string

Methods#

contextCreator#

contextCreator(context?: any): GraphbackContext

Defined in buildGraphbackAPI.ts:53

Creates context to be attached to the running server

Parameters:

NameType
context?any

Returns: GraphbackContext