@experts_hub/shared 1.0.545 → 1.0.548
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
|
@@ -626,6 +626,7 @@ declare class UpdateFreelancerProfileDto {
|
|
|
626
626
|
stateId: number;
|
|
627
627
|
cityId: number;
|
|
628
628
|
expectedHourlyCompensation: string;
|
|
629
|
+
expectedAnnualCompensation: string;
|
|
629
630
|
numberOfHours?: number;
|
|
630
631
|
natureOfWork: NatureOfWorkDto;
|
|
631
632
|
modeOfWork: ModeOfWorkDto;
|
package/dist/index.d.ts
CHANGED
|
@@ -626,6 +626,7 @@ declare class UpdateFreelancerProfileDto {
|
|
|
626
626
|
stateId: number;
|
|
627
627
|
cityId: number;
|
|
628
628
|
expectedHourlyCompensation: string;
|
|
629
|
+
expectedAnnualCompensation: string;
|
|
629
630
|
numberOfHours?: number;
|
|
630
631
|
natureOfWork: NatureOfWorkDto;
|
|
631
632
|
modeOfWork: ModeOfWorkDto;
|
package/dist/index.js
CHANGED
|
@@ -1734,6 +1734,10 @@ __decorateClass([
|
|
|
1734
1734
|
__decorateClass([
|
|
1735
1735
|
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
|
|
1736
1736
|
], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
|
|
1737
|
+
__decorateClass([
|
|
1738
|
+
(0, import_class_validator40.ValidateIf)((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
|
|
1739
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter expected annual compensation." })
|
|
1740
|
+
], UpdateFreelancerProfileDto.prototype, "expectedAnnualCompensation", 2);
|
|
1737
1741
|
__decorateClass([
|
|
1738
1742
|
(0, import_class_validator40.ValidateIf)((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
|
|
1739
1743
|
(0, import_class_validator40.IsInt)({ message: "Please enter valid weekly availability hours (integer)." }),
|
package/dist/index.mjs
CHANGED
|
@@ -1519,6 +1519,10 @@ __decorateClass([
|
|
|
1519
1519
|
__decorateClass([
|
|
1520
1520
|
IsNotEmpty34({ message: "Please enter expected hourly compensation." })
|
|
1521
1521
|
], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
|
|
1522
|
+
__decorateClass([
|
|
1523
|
+
ValidateIf5((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
|
|
1524
|
+
IsNotEmpty34({ message: "Please enter expected annual compensation." })
|
|
1525
|
+
], UpdateFreelancerProfileDto.prototype, "expectedAnnualCompensation", 2);
|
|
1522
1526
|
__decorateClass([
|
|
1523
1527
|
ValidateIf5((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
|
|
1524
1528
|
IsInt({ message: "Please enter valid weekly availability hours (integer)." }),
|