UNPKG

@graphql-mesh/serve-runtime

Version:
8 lines (7 loc) 280 B
import { Plugin } from 'graphql-yoga'; import { Logger, MeshPubSub } from '@graphql-mesh/types'; export interface MeshWebhooksPluginOptions { pubsub: MeshPubSub; logger: Logger; } export declare function useWebhooks({ pubsub, logger }: MeshWebhooksPluginOptions): Plugin;