nest-prisma_doc-gen 1.0.5 → 1.0.6
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/dist/entities/field.js +0 -2
- package/package.json +1 -2
package/dist/entities/field.js
CHANGED
|
@@ -87,8 +87,6 @@ export class DocGenField {
|
|
|
87
87
|
buildApiExample() {
|
|
88
88
|
const fieldName = this.scalarField.name;
|
|
89
89
|
const props = [];
|
|
90
|
-
const scalarDbName = this.scalarField.dbName ?? "genericDbName";
|
|
91
|
-
console.log(this.scalarField);
|
|
92
90
|
if (this.isEntity) {
|
|
93
91
|
if (this.isList) {
|
|
94
92
|
props.push(`example: [generateExample(${this.type})]`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nest-prisma_doc-gen",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Auto generates ApiProperties from schema.prisma",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"author": "Alessandro Lepore",
|
|
29
29
|
"license": "ISC",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@esbuild/win32-x64": "^0.25.11",
|
|
32
31
|
"@prisma/internals": "^6.17.1",
|
|
33
32
|
"ajv": "^8.17.1",
|
|
34
33
|
"ajv-formats": "^3.0.1",
|