UNPKG

@apollo/federation-internals

Version:
18 lines 991 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CACHE_TAG_VERSIONS = exports.CacheTagSpecDefinition = exports.CACHE_TAG = void 0; const coreSpec_1 = require("./coreSpec"); exports.CACHE_TAG = 'cacheTag'; class CacheTagSpecDefinition extends coreSpec_1.FeatureDefinition { constructor(version, minimumFederationVersion) { super(new coreSpec_1.FeatureUrl(CacheTagSpecDefinition.identity, CacheTagSpecDefinition.specName, version), minimumFederationVersion); } get defaultCorePurpose() { return 'EXECUTION'; } } exports.CacheTagSpecDefinition = CacheTagSpecDefinition; CacheTagSpecDefinition.specName = exports.CACHE_TAG; CacheTagSpecDefinition.identity = `https://specs.apollo.dev/${CacheTagSpecDefinition.specName}`; exports.CACHE_TAG_VERSIONS = new coreSpec_1.FeatureDefinitions(CacheTagSpecDefinition.identity).add(new CacheTagSpecDefinition(new coreSpec_1.FeatureVersion(0, 1))); //# sourceMappingURL=cacheTagSpec.js.map