UNPKG

@n1ru4l/in-memory-live-query-store

Version:

[![npm version](https://img.shields.io/npm/v/@n1ru4l/in-memory-live-query-store.svg)](https://www.npmjs.com/package/@n1ru4l/in-memory-live-query-store) [![npm downloads](https://img.shields.io/npm/dm/@n1ru4l/in-memory-live-query-store.svg)](https://www.np

12 lines (11 loc) 468 B
import { DocumentNode, OperationDefinitionNode, TypeInfo } from "graphql"; import { Maybe } from "./Maybe.js"; /** * Returns an array that contains all the root query type field coordinates for a given graphql operation. */ export declare const extractLiveQueryRootFieldCoordinates: (params: { documentNode: DocumentNode; operationNode: OperationDefinitionNode; typeInfo: TypeInfo; variableValues?: Maybe<Record<string, unknown>>; }) => Set<string>;