UNPKG

contentful-migration

Version:
22 lines 723 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EntryEditorsConfigureAction = void 0; const action_1 = require("./action"); class EntryEditorsConfigureAction extends action_1.EntityAction { constructor(contentTypeId, editors) { super(); this.contentTypeId = contentTypeId; this.editors = editors; } getEntityType() { return action_1.EntityType.EditorInterface; } getEntityId() { return this.contentTypeId; } async applyTo(editorInterfaces) { editorInterfaces.setEditors(this.editors); } } exports.EntryEditorsConfigureAction = EntryEditorsConfigureAction; //# sourceMappingURL=entryeditors-configure.js.map