UNPKG

contentful-migration

Version:
21 lines 540 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TagSaveAction = void 0; const action_1 = require("./action"); class TagSaveAction extends action_1.APIAction { constructor(tagId) { super(); this.tagId = tagId; } getEntityId() { return this.tagId; } getEntityType() { return action_1.EntityType.Tag; } async applyTo(api) { await api.saveTag(this.tagId); } } exports.TagSaveAction = TagSaveAction; //# sourceMappingURL=tag-save.js.map