UNPKG

shyft

Version:

Model driven GraphQL API framework

19 lines (18 loc) 490 B
import { GraphQLObjectType } from 'graphql'; import { Action, Entity, ViewEntity } from '..'; export interface GraphRegistryType { types: { [key: string]: { entity: Entity | ViewEntity; type: GraphQLObjectType; connection?: GraphQLObjectType; connectionArgs?: unknown; }; }; actions: { [key: string]: { action: Action; }; }; } export declare const graphRegistry: GraphRegistryType;