simple-graphql
Version:
The simple way to generates GraphQL schemas and Sequelize models from your models definition.
8 lines (7 loc) • 328 B
TypeScript
import { Sequelize } from 'sequelize';
import { GraphQLSchema } from 'graphql';
import { SGBuildConfig, SGBuildOptions, SGContext } from '..';
export declare function buildGraphQLContext(sequelize: Sequelize, config: SGBuildConfig, buildOptions: SGBuildOptions): {
graphQLSchema: GraphQLSchema;
sgContext: SGContext;
};