prisma-nestjs-graphql 21.1.0 → 21.1.1
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/README.md +10 -10
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -367,21 +367,21 @@ Allow to declare custom import statements. (Only works with emitSingle = true)
|
|
|
367
367
|
|
|
368
368
|
```sh
|
|
369
369
|
generator nestgraphql {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
370
|
+
customImport_{key}_from = "module specifier"
|
|
371
|
+
customImport_{key}_name = "import name"
|
|
372
|
+
customImport_{key}_defaultImport = "default import name" | true
|
|
373
|
+
customImport_{key}_namespaceImport = "namespace import name"
|
|
374
|
+
customImport_{key}_namedImport = "import name" | true
|
|
375
375
|
}
|
|
376
376
|
```
|
|
377
377
|
|
|
378
378
|
Where `{key}` any identifier to group values (written in [flatten](https://github.com/hughsk/flat) style)
|
|
379
379
|
|
|
380
|
-
- `
|
|
381
|
-
- `
|
|
382
|
-
- `
|
|
383
|
-
- `
|
|
384
|
-
- `
|
|
380
|
+
- `customImport_{key}_from` - module specifier to import from (e.g `nestjs-i18n`)
|
|
381
|
+
- `customImport_{key}_name` - import name or name with namespace
|
|
382
|
+
- `customImport_{key}_defaultImport` - import as default
|
|
383
|
+
- `customImport_{key}_namespaceImport` - use this name as import namespace
|
|
384
|
+
- `customImport_{key}_namedImport` - named import (without namespace)
|
|
385
385
|
|
|
386
386
|
## Documentation and field options
|
|
387
387
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prisma-nestjs-graphql",
|
|
3
|
-
"version": "21.1.
|
|
3
|
+
"version": "21.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module",
|
|
6
6
|
"bin": "bin.js",
|
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
"ts-morph": "11 - 16"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
+
"@apollo/server": "^4.11.3",
|
|
82
83
|
"@eslint/compat": "^1.2.5",
|
|
83
84
|
"@nestjs/apollo": "^13.0.1",
|
|
84
85
|
"@nestjs/common": "^11.0.1",
|
|
@@ -127,6 +128,7 @@
|
|
|
127
128
|
"graphql-scalars": "^1.24.0",
|
|
128
129
|
"graphql-type-json": "^0.3.2",
|
|
129
130
|
"mocha": "^11.0.1",
|
|
131
|
+
"node-dev": "^8.0.0",
|
|
130
132
|
"ololog": "^1.1.175",
|
|
131
133
|
"pkgroll": "^2.6.1",
|
|
132
134
|
"precise-commits": "^1.0.2",
|