UNPKG

contentful-migration

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