UNPKG

contentful-migration

Version:
15 lines 512 B
"use strict"; 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