@postxl/generator 0.15.7 → 0.15.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,7 +96,7 @@ export const ${modals.createComponentName} = ({ show, onHide }: { show: boolean;
96
96
  }
97
97
  }}
98
98
  >
99
- {({ isSubmitting, submitForm, isValid }) => (
99
+ {({ isSubmitting, submitForm }) => (
100
100
  <ModalWithActions actions={
101
101
  <ConfirmButton
102
102
  color="primary"
@@ -79,7 +79,9 @@ function generateRepository({ model, meta }) {
79
79
  return `
80
80
  import { Injectable, Logger } from '@nestjs/common'
81
81
  ${model.attributes.inMemoryOnly
82
- ? ''
82
+ ? `
83
+ import { ${indexes.length === 0 ? '' : 'NestedMap'} } from '@pxl/common'
84
+ `
83
85
  : `
84
86
  import { DbService, ${model.sourceName} as DbType } from '@${model.schemaConfig.project}/db'
85
87
  import { format, pluralize ${indexes.length === 0 ? '' : ', NestedMap'} } from '@pxl/common'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postxl/generator",
3
- "version": "0.15.7",
3
+ "version": "0.15.8",
4
4
  "main": "./dist/generator.js",
5
5
  "typings": "./dist/generator.d.ts",
6
6
  "bin": {