Version: 0.15.x

GraphbackAPI

Defines the individual components created in the Graphback API

Hierarchy

  • GraphbackAPI

Index

Properties

Methods

Properties

resolvers

resolvers: any

Defined in buildGraphbackAPI.ts:43

CRUD resolvers for every data model


schema

schema: GraphQLSchema

Defined in buildGraphbackAPI.ts:39

GraphQL schema object


services

services: GraphbackServiceConfigMap

Defined in buildGraphbackAPI.ts:47

Model:Service map of CRUD services for every data model


typeDefs

typeDefs: string

Defined in buildGraphbackAPI.ts:35

GraphQL schema as a string

Methods

contextCreator

contextCreator(context?: any): GraphbackContext

Defined in buildGraphbackAPI.ts:52

Creates context to be attached to the running server

Parameters:

NameType
context?any

Returns: GraphbackContext