Skip to content

Commit

Permalink
Merge pull request #26 from powerhouse-inc/document-model-editors-mig…
Browse files Browse the repository at this point in the history
…ration

feat: replaced document-model-editors by new document-model-lib/utils
  • Loading branch information
gpuente authored Mar 15, 2024
2 parents 01e18eb + 5881de7 commit d39d7a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]) %>";
%><% }); _%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]) %>";
Expand Down

0 comments on commit d39d7a0

Please sign in to comment.