@graphql-mesh/plugin-live-query
Version:
10 lines (9 loc) • 358 B
text/typescript
import type { Plugin } from '@envelop/core';
import type { Logger, MeshPubSub, YamlConfig } from '@graphql-mesh/types';
interface InvalidateByResultParams {
pubsub: MeshPubSub;
invalidations: YamlConfig.LiveQueryInvalidation[];
logger: Logger;
}
export declare function useInvalidateByResult(params: InvalidateByResultParams): Plugin;
export {};