@experts_hub/shared 1.0.351 → 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
|
@@ -875,18 +875,6 @@ __decorateClass([
|
|
|
875
875
|
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter company name." }),
|
|
876
876
|
(0, import_class_validator24.IsString)({ message: "Please enter valid company name." })
|
|
877
877
|
], ClientCreateAccountDto.prototype, "companyName", 2);
|
|
878
|
-
__decorateClass([
|
|
879
|
-
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter password." }),
|
|
880
|
-
(0, import_class_validator24.MinLength)(6),
|
|
881
|
-
(0, import_class_validator24.MaxLength)(32),
|
|
882
|
-
(0, import_class_validator24.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
883
|
-
message: "Password must include letters, numbers and symbols."
|
|
884
|
-
})
|
|
885
|
-
], ClientCreateAccountDto.prototype, "password", 2);
|
|
886
|
-
__decorateClass([
|
|
887
|
-
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter confirm password." }),
|
|
888
|
-
Match("password", { message: "Passwords do not match" })
|
|
889
|
-
], ClientCreateAccountDto.prototype, "confirmPassword", 2);
|
|
890
878
|
__decorateClass([
|
|
891
879
|
(0, import_class_validator24.IsOptional)()
|
|
892
880
|
], ClientCreateAccountDto.prototype, "onBoardedBy", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -661,9 +661,6 @@ __decorateClass([
|
|
|
661
661
|
import {
|
|
662
662
|
IsNotEmpty as IsNotEmpty21,
|
|
663
663
|
IsEmail as IsEmail3,
|
|
664
|
-
Matches as Matches4,
|
|
665
|
-
MinLength as MinLength4,
|
|
666
|
-
MaxLength as MaxLength4,
|
|
667
664
|
IsString as IsString7,
|
|
668
665
|
IsOptional as IsOptional6
|
|
669
666
|
} from "class-validator";
|
|
@@ -686,18 +683,6 @@ __decorateClass([
|
|
|
686
683
|
IsNotEmpty21({ message: "Please enter company name." }),
|
|
687
684
|
IsString7({ message: "Please enter valid company name." })
|
|
688
685
|
], ClientCreateAccountDto.prototype, "companyName", 2);
|
|
689
|
-
__decorateClass([
|
|
690
|
-
IsNotEmpty21({ message: "Please enter password." }),
|
|
691
|
-
MinLength4(6),
|
|
692
|
-
MaxLength4(32),
|
|
693
|
-
Matches4(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
694
|
-
message: "Password must include letters, numbers and symbols."
|
|
695
|
-
})
|
|
696
|
-
], ClientCreateAccountDto.prototype, "password", 2);
|
|
697
|
-
__decorateClass([
|
|
698
|
-
IsNotEmpty21({ message: "Please enter confirm password." }),
|
|
699
|
-
Match("password", { message: "Passwords do not match" })
|
|
700
|
-
], ClientCreateAccountDto.prototype, "confirmPassword", 2);
|
|
701
686
|
__decorateClass([
|
|
702
687
|
IsOptional6()
|
|
703
688
|
], ClientCreateAccountDto.prototype, "onBoardedBy", 2);
|