twitch-graphql
Version:
A graphql wrapper for the Twitch API.
12 lines (11 loc) • 540 B
TypeScript
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;