UNPKG

546 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.getCacheKey = exports.CACHE_KEYS = void 0;
4var CACHE_KEYS;
5(function (CACHE_KEYS) {
6 CACHE_KEYS["TYPE_MAP"] = "typeMap";
7 CACHE_KEYS["GRAPHQL_SDL"] = "graphqlSdl";
8 CACHE_KEYS["IMAGE_EXTENSIONS"] = "imageExt";
9})(CACHE_KEYS = exports.CACHE_KEYS || (exports.CACHE_KEYS = {}));
10function getCacheKey(config, suffix) {
11 return config.projectId + "-" + config.dataset + "-" + suffix;
12}
13exports.getCacheKey = getCacheKey;
14//# sourceMappingURL=cache.js.map
\No newline at end of file