gatsby-source-sanity
Version:
Gatsby source plugin for building websites using Sanity.io as a backend.
13 lines • 495 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var CACHE_KEYS;
(function (CACHE_KEYS) {
CACHE_KEYS["TYPE_MAP"] = "typeMap";
CACHE_KEYS["GRAPHQL_SDL"] = "graphqlSdl";
CACHE_KEYS["IMAGE_EXTENSIONS"] = "imageExt";
})(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