UNPKG

type-graphql

Version:

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

9 lines (8 loc) 302 B
import { type GraphQLResolveInfo } from "graphql"; import { type ArgsDictionary } from "./resolver-data.js"; export interface SubscriptionHandlerData<TPayload = any, TArgs = ArgsDictionary, TContext = {}> { payload: TPayload; args: TArgs; context: TContext; info: GraphQLResolveInfo; }