@experts_hub/shared 1.0.238 → 1.0.239
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
|
@@ -787,6 +787,10 @@ __decorateClass([
|
|
|
787
787
|
(0, import_class_validator25.IsString)({ message: "Company address must be a string" }),
|
|
788
788
|
(0, import_class_validator25.Length)(5, 1e3, { message: "Address must be between 5 and 1000 characters" })
|
|
789
789
|
], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
|
|
790
|
+
__decorateClass([
|
|
791
|
+
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter mobile code." }),
|
|
792
|
+
(0, import_class_validator25.IsString)({ message: "Mobile Code must be a string" })
|
|
793
|
+
], UpdateCompanyProfileDto.prototype, "mobileCode", 2);
|
|
790
794
|
__decorateClass([
|
|
791
795
|
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter phone number." }),
|
|
792
796
|
(0, import_class_validator25.Matches)(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
|
package/dist/index.mjs
CHANGED
|
@@ -635,6 +635,10 @@ __decorateClass([
|
|
|
635
635
|
IsString10({ message: "Company address must be a string" }),
|
|
636
636
|
Length2(5, 1e3, { message: "Address must be between 5 and 1000 characters" })
|
|
637
637
|
], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
|
|
638
|
+
__decorateClass([
|
|
639
|
+
IsNotEmpty23({ message: "Please enter mobile code." }),
|
|
640
|
+
IsString10({ message: "Mobile Code must be a string" })
|
|
641
|
+
], UpdateCompanyProfileDto.prototype, "mobileCode", 2);
|
|
638
642
|
__decorateClass([
|
|
639
643
|
IsNotEmpty23({ message: "Please enter phone number." }),
|
|
640
644
|
Matches5(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
|