diff --git a/src/codegen/.hygen/templates/powerhouse/generate-editor/editor.esm.t b/src/codegen/.hygen/templates/powerhouse/generate-editor/editor.esm.t index adef1db..df49a0e 100644 --- a/src/codegen/.hygen/templates/powerhouse/generate-editor/editor.esm.t +++ b/src/codegen/.hygen/templates/powerhouse/generate-editor/editor.esm.t @@ -3,7 +3,7 @@ to: "<%= rootDir %>/<%= name %>/editor.tsx" unless_exists: true --- <% if(!documentTypes.length){ %>import { Action } from 'document-model/document';<% } %> -import { EditorProps } from 'document-model-editors'; +import { EditorProps } from 'document-model-libs/utils'; <% documentTypes.forEach(type => { _%> import { <%= documentTypesMap[type] %>State, <%= documentTypesMap[type] %>Action } from "../.<%= documentModelsDir %>/<%= h.changeCase.param(documentTypesMap[type]) %>"; %><% }); _%> diff --git a/src/codegen/.hygen/templates/powerhouse/generate-editor/story.esm.t b/src/codegen/.hygen/templates/powerhouse/generate-editor/story.esm.t index 0871733..47f174a 100644 --- a/src/codegen/.hygen/templates/powerhouse/generate-editor/story.esm.t +++ b/src/codegen/.hygen/templates/powerhouse/generate-editor/story.esm.t @@ -3,7 +3,7 @@ to: "<%= rootDir %>/<%= name %>/<%= name %>.stories.tsx" unless_exists: true --- import Editor from './editor'; -import { createDocumentStory } from 'document-model-editors'; +import { createDocumentStory } from 'document-model-libs/utils'; <% if(!documentTypes.length){ %>import { baseReducer, utils } from 'document-model/document';<% } %> <% documentTypes.forEach(type => { _%> import * as <%= documentTypesMap[type] %>Module from "../.<%= documentModelsDir %>/<%= h.changeCase.param(documentTypesMap[type]) %>";