UNPKG

contentful-migration

Version:
15 lines 518 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ContentTypePublishAction = void 0; const action_1 = require("./action"); class ContentTypePublishAction extends action_1.APIAction { constructor(contentTypeId) { super(); this.contentTypeId = contentTypeId; } async applyTo(api) { await api.publishContentType(this.contentTypeId); } } exports.ContentTypePublishAction = ContentTypePublishAction; //# sourceMappingURL=content-type-publish.js.map