@vtex/api
Version:
VTEX I/O API client
6 lines (5 loc) • 483 B
TypeScript
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>;