contentful-migration
Version:
Migration tooling for contentful
15 lines • 530 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentTypeUnpublishAction = void 0;
const action_1 = require("./action");
class ContentTypeUnpublishAction extends action_1.APIAction {
constructor(contentTypeId) {
super();
this.contentTypeId = contentTypeId;
}
async applyTo(api) {
await api.unpublishContentType(this.contentTypeId);
}
}
exports.ContentTypeUnpublishAction = ContentTypeUnpublishAction;
//# sourceMappingURL=content-type-unpublish.js.map