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