@comet/api-generator 8.23.0 → 8.23.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.
|
@@ -472,6 +472,7 @@ function generateInputHandling(options, metadata, generatorOptions) {
|
|
|
472
472
|
const targetMeta = prop.targetMeta;
|
|
473
473
|
if (!targetMeta)
|
|
474
474
|
throw new Error("targetMeta is not set for relation");
|
|
475
|
+
imports.push(generateEntityImport(targetMeta, generatorOptions.targetDirectory));
|
|
475
476
|
return {
|
|
476
477
|
name: prop.name,
|
|
477
478
|
singularName: (0, pluralize_1.singular)(prop.name),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comet/api-generator",
|
|
3
|
-
"version": "8.23.
|
|
3
|
+
"version": "8.23.1",
|
|
4
4
|
"description": "Comet API Generator CLI tool",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/api/api-generator",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"ts-morph": "^25.0.1",
|
|
26
26
|
"ts-node": "^10.9.2",
|
|
27
27
|
"typescript": "^5.9.3",
|
|
28
|
-
"@comet/cms-api": "8.23.
|
|
28
|
+
"@comet/cms-api": "8.23.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@mikro-orm/cli": "^6.4.16",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"rimraf": "^6.1.2",
|
|
45
45
|
"ts-jest": "^29.4.6",
|
|
46
46
|
"uuid": "^11.1.0",
|
|
47
|
-
"@comet/eslint-config": "8.23.
|
|
47
|
+
"@comet/eslint-config": "8.23.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@mikro-orm/cli": "^6.0.0",
|