cabloy 5.1.38 → 5.1.39
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 +11 -0
- package/package.json +1 -1
- package/vona/packages-cli/cli/package.json +1 -1
- package/vona/packages-cli/cli-set-api/package.json +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/bin.build.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/bin.buildGeneral.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/bin.buildModule.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/bin.dbReset.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/bin.dev.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/bin.play.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/bin.test.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/bin.tsc.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/create.bean.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/create.module.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/create.suite.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/create.test.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.appMonkey.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.asset.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.config.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.constant.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.error.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.lib.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.locale.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.main.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.monkey.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.static.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/init.types.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/tools.crud.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/tools.crudBasic.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/tools.crudStart.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/tools.deps.ts +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/command/tools.metadata.ts +1 -1
- package/vona/packages-vona/vona/package.json +1 -1
- package/vona/src/suite/a-home/modules/home-user/src/model/user.ts +1 -8
- package/vona/src/suite-vendor/a-auth/modules/a-auth/package.json +1 -1
- package/vona/src/suite-vendor/a-auth/modules/a-auth/src/model/auth.ts +3 -9
- package/vona/src/suite-vendor/a-auth/package.json +1 -1
- package/zova/packages-cli/cli/package.json +2 -2
- package/zova/packages-cli/cli-set-front/package.json +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/bin.buildModule.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/bin.buildRest.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/create.bean.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/create.component.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/create.mock.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/create.module.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/create.page.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/create.suite.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.appMonkey.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.asset.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.config.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.constant.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.error.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.icon.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.legacy.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.lib.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.locale.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.main.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.mainSys.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.monkey.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.monkeySys.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.sysMonkey.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/init.types.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/openapi.config.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/openapi.generate.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.anotherRender.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.anotherStyle.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.componentEmits.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.componentGeneric.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.componentModel.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.componentProps.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.componentSlots.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.firstRender.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.firstStyle.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.pageParams.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.pageQuery.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/refactor.renameComponent.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/tools.deps.ts +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/command/tools.metadata.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.1.39
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- Update
|
|
8
|
+
|
|
9
|
+
### Improvements
|
|
10
|
+
|
|
11
|
+
- Replace arrow function model references with string-based module references in ORM relations and cache config
|
|
12
|
+
- Update CLI usage strings to use npm run prefix
|
|
13
|
+
|
|
3
14
|
## 5.1.38
|
|
4
15
|
|
|
5
16
|
### Features
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
info: {
|
|
4
4
|
version: '5.0.0',
|
|
5
5
|
title: 'Cli: Bin: Play',
|
|
6
|
-
usage: 'vona :bin:play [index.ts] [--flavor=] [--retainRuntime=] [--attach]',
|
|
6
|
+
usage: 'npm run vona :bin:play [index.ts] -- [--flavor=] [--retainRuntime=] [--attach]',
|
|
7
7
|
},
|
|
8
8
|
options: {
|
|
9
9
|
mode: {
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
info: {
|
|
4
4
|
version: '5.0.0',
|
|
5
5
|
title: 'Cli: Create Bean',
|
|
6
|
-
usage: 'vona :create:bean sceneName beanName [--module=] [--boilerplate=]',
|
|
6
|
+
usage: 'npm run vona :create:bean sceneName beanName -- [--module=] [--boilerplate=]',
|
|
7
7
|
},
|
|
8
8
|
options: {
|
|
9
9
|
module: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vona",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.38",
|
|
4
4
|
"gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
|
|
5
5
|
"description": "Vona is an intuitive, elegant and powerful Node.js framework for rapidly developing enterprise applications of any size",
|
|
6
6
|
"keywords": [
|
|
@@ -3,20 +3,13 @@ import type { IDecoratorModelOptions } from 'vona-module-a-orm';
|
|
|
3
3
|
import { $relation, BeanModelBase, Model } from 'vona-module-a-orm';
|
|
4
4
|
|
|
5
5
|
import { EntityUser } from '../entity/user.ts';
|
|
6
|
-
import { ModelRole } from './role.ts';
|
|
7
|
-
import { ModelRoleUser } from './roleUser.ts';
|
|
8
6
|
|
|
9
7
|
export interface IModelOptionsUser extends IDecoratorModelOptions<EntityUser> {}
|
|
10
8
|
|
|
11
9
|
@Model<IModelOptionsUser>({
|
|
12
10
|
entity: EntityUser,
|
|
13
11
|
relations: {
|
|
14
|
-
roles: $relation.belongsToMany(
|
|
15
|
-
() => ModelRoleUser,
|
|
16
|
-
() => ModelRole,
|
|
17
|
-
'userId',
|
|
18
|
-
'roleId',
|
|
19
|
-
),
|
|
12
|
+
roles: $relation.belongsToMany('home-user:roleUser', 'home-user:role', 'userId', 'roleId'),
|
|
20
13
|
},
|
|
21
14
|
})
|
|
22
15
|
export class ModelUser extends BeanModelBase<EntityUser> {
|
|
@@ -3,7 +3,6 @@ import type { IDecoratorModelOptions } from 'vona-module-a-orm';
|
|
|
3
3
|
import { $relation, BeanModelBase, Model } from 'vona-module-a-orm';
|
|
4
4
|
|
|
5
5
|
import { EntityAuth } from '../entity/auth.ts';
|
|
6
|
-
import { ModelAuthProvider } from './authProvider.ts';
|
|
7
6
|
|
|
8
7
|
export interface IModelOptionsAuth extends IDecoratorModelOptions<EntityAuth> {}
|
|
9
8
|
|
|
@@ -11,14 +10,9 @@ export interface IModelOptionsAuth extends IDecoratorModelOptions<EntityAuth> {}
|
|
|
11
10
|
entity: EntityAuth,
|
|
12
11
|
disableDeleted: true,
|
|
13
12
|
relations: {
|
|
14
|
-
authProvider: $relation.belongsTo(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
'authProviderId',
|
|
18
|
-
{
|
|
19
|
-
columns: ['id', 'providerName', 'clientName'],
|
|
20
|
-
},
|
|
21
|
-
),
|
|
13
|
+
authProvider: $relation.belongsTo('a-auth:auth', 'a-auth:authProvider', 'authProviderId', {
|
|
14
|
+
columns: ['id', 'providerName', 'clientName'],
|
|
15
|
+
}),
|
|
22
16
|
},
|
|
23
17
|
})
|
|
24
18
|
export class ModelAuth extends BeanModelBase<EntityAuth> {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.73",
|
|
4
4
|
"gitHead": "6f675a8cc46d596142c591c28a40cc4d82fcc6cc",
|
|
5
5
|
"description": "zova cli",
|
|
6
6
|
"keywords": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@cabloy/process-helper": "^3.0.0",
|
|
45
45
|
"fs-extra": "^11.3.5",
|
|
46
46
|
"semver": "^7.6.2",
|
|
47
|
-
"zova-cli-set-front": "^1.2.
|
|
47
|
+
"zova-cli-set-front": "^1.2.71"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"clean-package": "^2.2.0",
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
info: {
|
|
4
4
|
version: '5.0.0',
|
|
5
5
|
title: 'Cli: Create Component',
|
|
6
|
-
usage: 'zova :create:component componentName [--module=] [--boilerplate=]',
|
|
6
|
+
usage: 'npm run zova :create:component componentName -- [--module=] [--boilerplate=]',
|
|
7
7
|
},
|
|
8
8
|
options: {
|
|
9
9
|
module: {
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
info: {
|
|
4
4
|
version: '5.0.0',
|
|
5
5
|
title: 'Cli: Refactor: Another Render',
|
|
6
|
-
usage: 'zova :refactor:anotherRender componentName renderName [--module=]',
|
|
6
|
+
usage: 'npm run zova :refactor:anotherRender componentName renderName -- [--module=]',
|
|
7
7
|
},
|
|
8
8
|
options: {
|
|
9
9
|
module: {
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
info: {
|
|
4
4
|
version: '5.0.0',
|
|
5
5
|
title: 'Cli: Refactor: Another Style',
|
|
6
|
-
usage: 'zova :refactor:anotherStyle componentName styleName [--module=]',
|
|
6
|
+
usage: 'npm run zova :refactor:anotherStyle componentName styleName -- [--module=]',
|
|
7
7
|
},
|
|
8
8
|
options: {
|
|
9
9
|
module: {
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
info: {
|
|
4
4
|
version: '5.0.0',
|
|
5
5
|
title: 'Cli: Refactor: ComponentGeneric',
|
|
6
|
-
usage: 'zova :refactor:componentGeneric componentName [--module=]',
|
|
6
|
+
usage: 'npm run zova :refactor:componentGeneric componentName -- [--module=]',
|
|
7
7
|
},
|
|
8
8
|
options: {
|
|
9
9
|
module: {
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
info: {
|
|
4
4
|
version: '5.0.0',
|
|
5
5
|
title: 'Cli: Refactor: ComponentModel',
|
|
6
|
-
usage: 'zova :refactor:componentModel componentName modelName [--module=]',
|
|
6
|
+
usage: 'npm run zova :refactor:componentModel componentName modelName -- [--module=]',
|
|
7
7
|
},
|
|
8
8
|
options: {
|
|
9
9
|
module: {
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
info: {
|
|
4
4
|
version: '5.0.0',
|
|
5
5
|
title: 'Cli: Refactor: Rename Component',
|
|
6
|
-
usage: 'zova :refactor:renameComponent componentName componentNameNew [--module=]',
|
|
6
|
+
usage: 'npm run zova :refactor:renameComponent componentName componentNameNew -- [--module=]',
|
|
7
7
|
},
|
|
8
8
|
options: {
|
|
9
9
|
module: {
|