sigo-entities 1.2.389 → 1.2.391
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 -0
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50336,6 +50336,7 @@ __decorateClass([
|
|
|
50336
50336
|
], UserEntity.prototype, "root", 2);
|
|
50337
50337
|
__decorateClass([
|
|
50338
50338
|
(0, import_class_validator769.IsDefined)({ message: "El campo Perfil es obligatorio" }),
|
|
50339
|
+
(0, import_class_validator769.ValidateIf)((_, value) => value !== ""),
|
|
50339
50340
|
(0, import_class_validator769.IsUUID)("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
50340
50341
|
(0, import_class_transformer792.Expose)()
|
|
50341
50342
|
], UserEntity.prototype, "profileId", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -49785,7 +49785,7 @@ __decorateClass([
|
|
|
49785
49785
|
], DelegationEntity.prototype, "name", 2);
|
|
49786
49786
|
|
|
49787
49787
|
// src/v2/entities/User.ts
|
|
49788
|
-
import { IsArray as IsArray250, IsBoolean as IsBoolean74, IsDefined as IsDefined266, IsEmail as IsEmail7, IsString as IsString631, IsUUID as IsUUID25 } from "class-validator";
|
|
49788
|
+
import { IsArray as IsArray250, IsBoolean as IsBoolean74, IsDefined as IsDefined266, IsEmail as IsEmail7, IsString as IsString631, IsUUID as IsUUID25, ValidateIf as ValidateIf6 } from "class-validator";
|
|
49789
49789
|
import { Expose as Expose765, Transform as Transform118 } from "class-transformer";
|
|
49790
49790
|
var UserEntity = class extends BaseEntity {
|
|
49791
49791
|
email;
|
|
@@ -49854,6 +49854,7 @@ __decorateClass([
|
|
|
49854
49854
|
], UserEntity.prototype, "root", 2);
|
|
49855
49855
|
__decorateClass([
|
|
49856
49856
|
IsDefined266({ message: "El campo Perfil es obligatorio" }),
|
|
49857
|
+
ValidateIf6((_, value) => value !== ""),
|
|
49857
49858
|
IsUUID25("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
49858
49859
|
Expose765()
|
|
49859
49860
|
], UserEntity.prototype, "profileId", 2);
|