Skip to content

Commit

Permalink
feat: replaced document-model-editors by new document-model-lib/utils
Browse files Browse the repository at this point in the history
  • Loading branch information
gpuente committed Mar 15, 2024
1 parent 01e18eb commit 5881de7
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 5881de7

Please sign in to comment.