UNPKG

contentful-migration

Version:
21 lines 671 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EditorLayoutDeleteAction = void 0; const action_1 = require("../action"); class EditorLayoutDeleteAction extends action_1.EntityAction { constructor(contentTypeId) { super(); this.contentTypeId = contentTypeId; } getEntityType() { return action_1.EntityType.EditorInterface; } getEntityId() { return this.contentTypeId; } async applyTo(editorInterfaces) { await editorInterfaces.deleteEditorLayout(); } } exports.EditorLayoutDeleteAction = EditorLayoutDeleteAction; //# sourceMappingURL=editor-layout-delete.js.map