@experts_hub/shared 1.0.354 → 1.0.355
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
|
@@ -657,18 +657,6 @@ __decorateClass([
|
|
|
657
657
|
(0, import_class_validator13.IsNotEmpty)({ message: "Please enter mobile number." }),
|
|
658
658
|
IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
|
|
659
659
|
], FreelancerCreateAccountDto.prototype, "mobile", 2);
|
|
660
|
-
__decorateClass([
|
|
661
|
-
(0, import_class_validator13.IsNotEmpty)({ message: "Please enter password." }),
|
|
662
|
-
(0, import_class_validator13.MinLength)(6),
|
|
663
|
-
(0, import_class_validator13.MaxLength)(32),
|
|
664
|
-
(0, import_class_validator13.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
665
|
-
message: "Password must include letters, numbers and symbols."
|
|
666
|
-
})
|
|
667
|
-
], FreelancerCreateAccountDto.prototype, "password", 2);
|
|
668
|
-
__decorateClass([
|
|
669
|
-
(0, import_class_validator13.IsNotEmpty)({ message: "Please enter confirm password." }),
|
|
670
|
-
Match("password", { message: "Passwords do not match" })
|
|
671
|
-
], FreelancerCreateAccountDto.prototype, "confirmPassword", 2);
|
|
672
660
|
__decorateClass([
|
|
673
661
|
(0, import_class_validator13.IsOptional)()
|
|
674
662
|
], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -246,8 +246,6 @@ import {
|
|
|
246
246
|
IsNotEmpty as IsNotEmpty10,
|
|
247
247
|
IsEmail as IsEmail2,
|
|
248
248
|
Matches as Matches3,
|
|
249
|
-
MinLength as MinLength3,
|
|
250
|
-
MaxLength as MaxLength3,
|
|
251
249
|
IsString as IsString3,
|
|
252
250
|
IsOptional as IsOptional2
|
|
253
251
|
} from "class-validator";
|
|
@@ -442,18 +440,6 @@ __decorateClass([
|
|
|
442
440
|
IsNotEmpty10({ message: "Please enter mobile number." }),
|
|
443
441
|
IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
|
|
444
442
|
], FreelancerCreateAccountDto.prototype, "mobile", 2);
|
|
445
|
-
__decorateClass([
|
|
446
|
-
IsNotEmpty10({ message: "Please enter password." }),
|
|
447
|
-
MinLength3(6),
|
|
448
|
-
MaxLength3(32),
|
|
449
|
-
Matches3(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
450
|
-
message: "Password must include letters, numbers and symbols."
|
|
451
|
-
})
|
|
452
|
-
], FreelancerCreateAccountDto.prototype, "password", 2);
|
|
453
|
-
__decorateClass([
|
|
454
|
-
IsNotEmpty10({ message: "Please enter confirm password." }),
|
|
455
|
-
Match("password", { message: "Passwords do not match" })
|
|
456
|
-
], FreelancerCreateAccountDto.prototype, "confirmPassword", 2);
|
|
457
443
|
__decorateClass([
|
|
458
444
|
IsOptional2()
|
|
459
445
|
], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
|