UNPKG

contentful-migration

Version:
21 lines 702 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EntryEditorResetToDefaultAction = void 0; const action_1 = require("./action"); class EntryEditorResetToDefaultAction extends action_1.EntityAction { constructor(contentTypeId) { super(); this.contentTypeId = contentTypeId; } getEntityType() { return action_1.EntityType.EditorInterface; } getEntityId() { return this.contentTypeId; } async applyTo(editorInterfaces) { editorInterfaces.resetEditorToDefault(); } } exports.EntryEditorResetToDefaultAction = EntryEditorResetToDefaultAction; //# sourceMappingURL=entryeditor-reset-to-default.js.map