@stewartmcgown/apollo-response-cache
Version:
Caching and invalidation mechanisms (plugins, directives) of Apollo GraphQL
19 lines (18 loc) • 1.57 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CacheScope = exports.makeCacheHint = exports.cacheControlPlugin = exports.invalidateFQC = exports.PurgeCacheDirective = exports.LogCacheDirective = exports.responseCachePlugin = void 0;
const logCache_1 = require("./directives/logCache");
Object.defineProperty(exports, "LogCacheDirective", { enumerable: true, get: function () { return logCache_1.LogCacheDirective; } });
const purgeCache_1 = require("./directives/purgeCache");
Object.defineProperty(exports, "PurgeCacheDirective", { enumerable: true, get: function () { return purgeCache_1.PurgeCacheDirective; } });
const cacheControlPlugin_1 = require("./plugins/cacheControlPlugin");
Object.defineProperty(exports, "CacheScope", { enumerable: true, get: function () { return cacheControlPlugin_1.CacheScope; } });
Object.defineProperty(exports, "makeCacheHint", { enumerable: true, get: function () { return cacheControlPlugin_1.makeCacheHint; } });
Object.defineProperty(exports, "cacheControlPlugin", { enumerable: true, get: function () { return cacheControlPlugin_1.plugin; } });
const responseCachePlugin_1 = __importDefault(require("./plugins/responseCachePlugin"));
exports.responseCachePlugin = responseCachePlugin_1.default;
const utils_1 = require("./utils");
Object.defineProperty(exports, "invalidateFQC", { enumerable: true, get: function () { return utils_1.invalidateFQC; } });