UNPKG

twitch-graphql

Version:
12 lines (11 loc) 540 B
import { HelixFollow } from 'twitch'; export declare const FollowPubSubResolvers: { Subscription: { newFollow: { subscribe: (_: any, _args: any, { user_id, secret, refresh_token, callbackUrl, pubsub, }: GraphQLModules.Context) => Promise<AsyncIterator<unknown, any, undefined>>; resolve: (follow: HelixFollow) => Promise<HelixFollow>; }; }; }; export declare const FollowPubSubSchema: import("graphql").DocumentNode; export declare const FollowPubSubModule: import("graphql-modules").Module;