vona-cli-set-api 1.0.111 → 1.0.113
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import type {
|
|
2
|
+
import type { TypeEntityMeta } from 'vona-module-a-database';
|
|
3
3
|
import type { TypeControllerOptionsActions } from 'vona-module-a-openapi';
|
|
4
4
|
import type { TypeEntityOptionsFields } from 'vona-module-a-openapi';
|
|
5
5
|
/** entity: begin */
|
|
@@ -29,9 +29,9 @@ import type { EntityRole } from '../entity/role.ts';
|
|
|
29
29
|
import type { EntityUser } from '../entity/user.ts';
|
|
30
30
|
import type { EntityUserRole } from '../entity/userRole.ts';
|
|
31
31
|
export interface IModuleEntity {
|
|
32
|
-
'role':
|
|
33
|
-
'user':
|
|
34
|
-
'userRole':
|
|
32
|
+
'role': TypeEntityMeta<EntityRole,EntityRoleTableName>;
|
|
33
|
+
'user': TypeEntityMeta<EntityUser,EntityUserTableName>;
|
|
34
|
+
'userRole': TypeEntityMeta<EntityUserRole,EntityUserRoleTableName>;
|
|
35
35
|
}
|
|
36
36
|
/** entity: end */
|
|
37
37
|
/** entity: begin */
|
|
@@ -143,8 +143,8 @@ export class CliToolsMetadata extends BeanCliBase {
|
|
|
143
143
|
if (content.includes('TypeControllerOptionsActions')) {
|
|
144
144
|
content = `import type { TypeControllerOptionsActions } from 'vona-module-a-openapi';\n${content}`;
|
|
145
145
|
}
|
|
146
|
-
if (content.includes('
|
|
147
|
-
content = `import type {
|
|
146
|
+
if (content.includes('TypeEntityMeta')) {
|
|
147
|
+
content = `import type { TypeEntityMeta } from 'vona-module-a-database';\n${content}`;
|
|
148
148
|
}
|
|
149
149
|
return content;
|
|
150
150
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vona-cli-set-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.113",
|
|
5
5
|
"description": "vona cli-set-api",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"ts-node": "^10.9.2",
|
|
62
62
|
"urllib": "^4.6.11",
|
|
63
63
|
"uuid": "^11.1.0",
|
|
64
|
-
"vona-core": "^5.0.
|
|
64
|
+
"vona-core": "^5.0.37",
|
|
65
65
|
"why-is-node-running": "^3.2.2",
|
|
66
66
|
"yargs-parser": "^21.1.1"
|
|
67
67
|
},
|