From 279d02bc0cb2a00a39efa7596464e50c4bf7f6f9 Mon Sep 17 00:00:00 2001 From: ryanwolhuter Date: Mon, 22 Jan 2024 15:36:24 +0200 Subject: [PATCH] fix: import from types instead of schema Signed-off-by: ryanwolhuter --- .../powerhouse/generate-document-model/customUtils.esm.t | 2 +- .../templates/powerhouse/generate-document-model/reducer.esm.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codegen/.hygen/templates/powerhouse/generate-document-model/customUtils.esm.t b/src/codegen/.hygen/templates/powerhouse/generate-document-model/customUtils.esm.t index 937c5eb..a92be66 100644 --- a/src/codegen/.hygen/templates/powerhouse/generate-document-model/customUtils.esm.t +++ b/src/codegen/.hygen/templates/powerhouse/generate-document-model/customUtils.esm.t @@ -2,4 +2,4 @@ to: "<%= rootDir %>/<%= h.changeCase.param(documentType) %>/src/utils.ts" unless_exists: true --- -export {}; \ No newline at end of file +export {}; diff --git a/src/codegen/.hygen/templates/powerhouse/generate-document-model/reducer.esm.t b/src/codegen/.hygen/templates/powerhouse/generate-document-model/reducer.esm.t index a9c6d63..4dbbb01 100644 --- a/src/codegen/.hygen/templates/powerhouse/generate-document-model/reducer.esm.t +++ b/src/codegen/.hygen/templates/powerhouse/generate-document-model/reducer.esm.t @@ -3,7 +3,7 @@ to: "<%= rootDir %>/<%= h.changeCase.param(documentType) %>/gen/reducer.ts" force: true --- import { ImmutableStateReducer, utils } from "document-model/document"; -import { <%= h.changeCase.pascal(documentType) %>State, <%= h.changeCase.pascal(documentType) %>LocalState, z } from './schema'; +import { <%= h.changeCase.pascal(documentType) %>State, <%= h.changeCase.pascal(documentType) %>LocalState, z } from './types'; import { <%= h.changeCase.pascal(documentType) %>Action } from './actions'; <% modules.forEach(m => { _%>