1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.getCacheKey = exports.CACHE_KEYS = void 0;
|
4 | var 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 = {}));
|
10 | function getCacheKey(config, suffix) {
|
11 | return config.projectId + "-" + config.dataset + "-" + suffix;
|
12 | }
|
13 | exports.getCacheKey = getCacheKey;
|
14 |
|
\ | No newline at end of file |