"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isLiveQueryOperationDefinitionNode = void 0;
const utils_1 = require("@graphql-tools/utils");
exports.isLiveQueryOperationDefinitionNode = (0, utils_1.memoize1)(function isLiveQueryOperationDefinitionNode(node) {
    return (node.operation === 'query' &&
        node.directives?.some(directive => directive.name.value === 'live'));
});
