gatsby-source-sanity
Version:
Gatsby source plugin for building websites using Sanity.io as a backend.
11 lines • 395 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var CACHE_KEYS;
(function (CACHE_KEYS) {
CACHE_KEYS["TYPE_MAP"] = "typeMap";
})(CACHE_KEYS = exports.CACHE_KEYS || (exports.CACHE_KEYS = {}));
function getCacheKey(config, suffix) {
return `${config.projectId}-${config.dataset}-${suffix}`;
}
exports.getCacheKey = getCacheKey;
//# sourceMappingURL=cache.js.map