@experts_hub/shared 1.0.352 → 1.0.353
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.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -858,6 +858,14 @@ __decorateClass([
|
|
|
858
858
|
var import_class_validator24 = require("class-validator");
|
|
859
859
|
var ClientCreateAccountDto = class {
|
|
860
860
|
};
|
|
861
|
+
__decorateClass([
|
|
862
|
+
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter first name." }),
|
|
863
|
+
(0, import_class_validator24.IsString)({ message: "Please enter valid first name." })
|
|
864
|
+
], ClientCreateAccountDto.prototype, "firstName", 2);
|
|
865
|
+
__decorateClass([
|
|
866
|
+
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter last name." }),
|
|
867
|
+
(0, import_class_validator24.IsString)({ message: "Please enter valid last name." })
|
|
868
|
+
], ClientCreateAccountDto.prototype, "lastName", 2);
|
|
861
869
|
__decorateClass([
|
|
862
870
|
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter email." }),
|
|
863
871
|
(0, import_class_validator24.IsEmail)(),
|
package/dist/index.mjs
CHANGED
|
@@ -666,6 +666,14 @@ import {
|
|
|
666
666
|
} from "class-validator";
|
|
667
667
|
var ClientCreateAccountDto = class {
|
|
668
668
|
};
|
|
669
|
+
__decorateClass([
|
|
670
|
+
IsNotEmpty21({ message: "Please enter first name." }),
|
|
671
|
+
IsString7({ message: "Please enter valid first name." })
|
|
672
|
+
], ClientCreateAccountDto.prototype, "firstName", 2);
|
|
673
|
+
__decorateClass([
|
|
674
|
+
IsNotEmpty21({ message: "Please enter last name." }),
|
|
675
|
+
IsString7({ message: "Please enter valid last name." })
|
|
676
|
+
], ClientCreateAccountDto.prototype, "lastName", 2);
|
|
669
677
|
__decorateClass([
|
|
670
678
|
IsNotEmpty21({ message: "Please enter email." }),
|
|
671
679
|
IsEmail3(),
|