UNPKG

@vtex/api

Version:
6 lines (5 loc) 483 B
import { IOClients } from '../../../../../clients'; import { GraphQLOptions, ParamsContext, RecorderState } from '../../typings'; import { ExecutableSchema } from '../typings'; import { GraphQLServiceContext } from '../typings'; export declare const updateSchema: <T extends IOClients, U extends RecorderState, V extends ParamsContext>(graphql: GraphQLOptions<T, U, V>, executableSchema: ExecutableSchema) => (ctx: GraphQLServiceContext, next: () => Promise<void>) => Promise<void>;