@gadmin2n/prisma-react-generator 0.0.52 → 0.0.53

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.
@@ -264,7 +264,7 @@ function getModelConfigStruct(model, enums = []) {
264
264
  const textFieldsExclude = model.fields
265
265
  .filter((field) => {
266
266
  const { formItem: { type }, } = (0, helpers_1.parseDocumentation)(field.documentation || '', field);
267
- return ['Text', 'Html', 'File', 'Markdown'].includes(type);
267
+ return ['Text', 'Html', 'File', 'Markdown', 'JSON'].includes(type);
268
268
  })
269
269
  .map((field) => `!${field.name}`);
270
270
  const tableFileds = relationsFields
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gadmin2n/prisma-react-generator",
3
3
  "description": "Generates react props and components from Prisma Schema for Tea/Antd ui lib.",
4
- "version": "0.0.52",
4
+ "version": "0.0.53",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
7
7
  "name": "kavenma",