vona-module-test-vona 5.0.63 → 5.0.64
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/index.js +1 -1
- package/package.json +1 -1
- package/src/dto/userLazy.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1905,7 +1905,7 @@ let DtoProfile = (_dec$r = Dto(), _dec2$r = BeanInfo({
|
|
|
1905
1905
|
var _dec$q, _dec2$q, _dec3$n, _dec4$n, _dec5$n, _dec6$n, _dec7$k, _dec8$g, _class$q, _class2$n, _descriptor$6, _descriptor2$6, _descriptor3$3;
|
|
1906
1906
|
let DtoUserLazy = (_dec$q = Dto(), _dec2$q = BeanInfo({
|
|
1907
1907
|
module: "test-vona"
|
|
1908
|
-
}), _dec3$n = Api.field(), _dec4$n = Reflect.metadata("design:type", String), _dec5$n = Api.field(v.
|
|
1908
|
+
}), _dec3$n = Api.field(), _dec4$n = Reflect.metadata("design:type", String), _dec5$n = Api.field(v.optional(), v.lazy(() => DtoUserLazy)), _dec6$n = Reflect.metadata("design:type", Object), _dec7$k = Api.field(v.optional(), v.array(v.lazy(() => DtoRoleLazy))), _dec8$g = Reflect.metadata("design:type", Array), _dec$q(_class$q = _dec2$q(_class$q = (_class2$n = class DtoUserLazy {
|
|
1909
1909
|
constructor() {
|
|
1910
1910
|
_initializerDefineProperty(this, "name", _descriptor$6, this);
|
|
1911
1911
|
_initializerDefineProperty(this, "user", _descriptor2$6, this);
|
package/package.json
CHANGED
package/src/dto/userLazy.ts
CHANGED
|
@@ -10,7 +10,7 @@ export class DtoUserLazy {
|
|
|
10
10
|
@Api.field()
|
|
11
11
|
name: string;
|
|
12
12
|
|
|
13
|
-
@Api.field(v.
|
|
13
|
+
@Api.field(v.optional(), v.lazy(() => DtoUserLazy))
|
|
14
14
|
user?: DtoUserLazy;
|
|
15
15
|
|
|
16
16
|
@Api.field(v.optional(), v.array(v.lazy(() => DtoRoleLazy)))
|