@visulima/prisma-dmmf-transformer 2.0.12 → 2.0.13

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## @visulima/prisma-dmmf-transformer [2.0.13](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@2.0.12...@visulima/prisma-dmmf-transformer@2.0.13) (2024-01-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update prisma type ([a3505ca](https://github.com/visulima/visulima/commit/a3505ca3f5b1070c40c24642e5a8cac519f9781e))
7
+
1
8
  ## @visulima/prisma-dmmf-transformer [2.0.12](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@2.0.11...@visulima/prisma-dmmf-transformer@2.0.12) (2024-01-19)
2
9
 
3
10
 
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as json_schema from 'json-schema';
2
2
  import { JSONSchema7Definition, JSONSchema7 } from 'json-schema';
3
- import { DMMF } from '@prisma/generator-helper';
3
+ import { ReadonlyDeep, DMMF } from '@prisma/generator-helper';
4
4
 
5
5
  interface PropertyMetaData {
6
6
  hasDefaultValue: boolean;
@@ -9,7 +9,7 @@ interface PropertyMetaData {
9
9
  }
10
10
 
11
11
  interface ModelMetaData {
12
- enums: DMMF.DatamodelEnum[];
12
+ enums: ReadonlyDeep<DMMF.DatamodelEnum[]>;
13
13
  }
14
14
 
15
15
  type DefinitionMap = [name: string, definition: JSONSchema7Definition];
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as json_schema from 'json-schema';
2
2
  import { JSONSchema7Definition, JSONSchema7 } from 'json-schema';
3
- import { DMMF } from '@prisma/generator-helper';
3
+ import { ReadonlyDeep, DMMF } from '@prisma/generator-helper';
4
4
 
5
5
  interface PropertyMetaData {
6
6
  hasDefaultValue: boolean;
@@ -9,7 +9,7 @@ interface PropertyMetaData {
9
9
  }
10
10
 
11
11
  interface ModelMetaData {
12
- enums: DMMF.DatamodelEnum[];
12
+ enums: ReadonlyDeep<DMMF.DatamodelEnum[]>;
13
13
  }
14
14
 
15
15
  type DefinitionMap = [name: string, definition: JSONSchema7Definition];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/prisma-dmmf-transformer",
3
- "version": "2.0.12",
3
+ "version": "2.0.13",
4
4
  "description": "A generator for Prisma to generate a valid JSON Schema v7.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -76,20 +76,20 @@
76
76
  "test:watch": "vitest"
77
77
  },
78
78
  "dependencies": {
79
- "@prisma/generator-helper": "5.8.1"
79
+ "@prisma/generator-helper": "5.9.0"
80
80
  },
81
81
  "devDependencies": {
82
82
  "@anolilab/eslint-config": "^15.0.3",
83
83
  "@anolilab/prettier-config": "^5.0.14",
84
84
  "@anolilab/semantic-release-preset": "^8.0.3",
85
- "@babel/core": "^7.23.7",
85
+ "@babel/core": "^7.23.9",
86
86
  "@prisma/client": "4.16.2",
87
- "@prisma/internals": "5.8.1",
87
+ "@prisma/internals": "5.9.0",
88
88
  "@rushstack/eslint-plugin-security": "^0.8.0",
89
89
  "@types/json-schema": "7.0.15",
90
90
  "@types/micromatch": "4.0.6",
91
91
  "@types/node": "18.18.8",
92
- "@vitest/coverage-v8": "1.2.1",
92
+ "@vitest/coverage-v8": "1.2.2",
93
93
  "ajv": "8.12.0",
94
94
  "ajv-formats": "2.1.1",
95
95
  "cross-env": "7.0.3",
@@ -98,16 +98,16 @@
98
98
  "eslint-plugin-etc": "^2.0.3",
99
99
  "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
100
100
  "eslint-plugin-mdx": "^3.1.5",
101
- "eslint-plugin-vitest": "^0.3.20",
101
+ "eslint-plugin-vitest": "^0.3.21",
102
102
  "eslint-plugin-vitest-globals": "^1.4.0",
103
103
  "prettier": "3.2.4",
104
104
  "prisma": "4.16.2",
105
105
  "rimraf": "5.0.5",
106
106
  "semantic-release": "23.0.0",
107
- "sort-package-json": "^2.6.0",
107
+ "sort-package-json": "^2.7.0",
108
108
  "tsup": "8.0.1",
109
109
  "typescript": "5.3.3",
110
- "vitest": "1.2.1"
110
+ "vitest": "1.2.2"
111
111
  },
112
112
  "peerDependencies": {
113
113
  "@prisma/client": "3.* || 4.*",