@experts_hub/shared 1.0.544 → 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
|
@@ -606,7 +606,8 @@ declare class FreelancerChangePasswordDto {
|
|
|
606
606
|
|
|
607
607
|
declare enum NatureOfWorkDto {
|
|
608
608
|
FREELANCE = "FREELANCE",
|
|
609
|
-
FTE = "FTE"
|
|
609
|
+
FTE = "FTE",
|
|
610
|
+
BOTH = "BOTH"
|
|
610
611
|
}
|
|
611
612
|
declare enum ModeOfWorkDto {
|
|
612
613
|
ONSITE = "ONSITE",
|
|
@@ -625,6 +626,7 @@ declare class UpdateFreelancerProfileDto {
|
|
|
625
626
|
stateId: number;
|
|
626
627
|
cityId: number;
|
|
627
628
|
expectedHourlyCompensation: string;
|
|
629
|
+
expectedAnnualCompensation: string;
|
|
628
630
|
numberOfHours?: number;
|
|
629
631
|
natureOfWork: NatureOfWorkDto;
|
|
630
632
|
modeOfWork: ModeOfWorkDto;
|
package/dist/index.d.ts
CHANGED
|
@@ -606,7 +606,8 @@ declare class FreelancerChangePasswordDto {
|
|
|
606
606
|
|
|
607
607
|
declare enum NatureOfWorkDto {
|
|
608
608
|
FREELANCE = "FREELANCE",
|
|
609
|
-
FTE = "FTE"
|
|
609
|
+
FTE = "FTE",
|
|
610
|
+
BOTH = "BOTH"
|
|
610
611
|
}
|
|
611
612
|
declare enum ModeOfWorkDto {
|
|
612
613
|
ONSITE = "ONSITE",
|
|
@@ -625,6 +626,7 @@ declare class UpdateFreelancerProfileDto {
|
|
|
625
626
|
stateId: number;
|
|
626
627
|
cityId: number;
|
|
627
628
|
expectedHourlyCompensation: string;
|
|
629
|
+
expectedAnnualCompensation: string;
|
|
628
630
|
numberOfHours?: number;
|
|
629
631
|
natureOfWork: NatureOfWorkDto;
|
|
630
632
|
modeOfWork: ModeOfWorkDto;
|
package/dist/index.js
CHANGED
|
@@ -1678,6 +1678,7 @@ var import_class_validator40 = require("class-validator");
|
|
|
1678
1678
|
var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
|
|
1679
1679
|
NatureOfWorkDto2["FREELANCE"] = "FREELANCE";
|
|
1680
1680
|
NatureOfWorkDto2["FTE"] = "FTE";
|
|
1681
|
+
NatureOfWorkDto2["BOTH"] = "BOTH";
|
|
1681
1682
|
return NatureOfWorkDto2;
|
|
1682
1683
|
})(NatureOfWorkDto || {});
|
|
1683
1684
|
var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
|
|
@@ -1733,6 +1734,10 @@ __decorateClass([
|
|
|
1733
1734
|
__decorateClass([
|
|
1734
1735
|
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
|
|
1735
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);
|
|
1736
1741
|
__decorateClass([
|
|
1737
1742
|
(0, import_class_validator40.ValidateIf)((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
|
|
1738
1743
|
(0, import_class_validator40.IsInt)({ message: "Please enter valid weekly availability hours (integer)." }),
|
package/dist/index.mjs
CHANGED
|
@@ -1463,6 +1463,7 @@ import {
|
|
|
1463
1463
|
var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
|
|
1464
1464
|
NatureOfWorkDto2["FREELANCE"] = "FREELANCE";
|
|
1465
1465
|
NatureOfWorkDto2["FTE"] = "FTE";
|
|
1466
|
+
NatureOfWorkDto2["BOTH"] = "BOTH";
|
|
1466
1467
|
return NatureOfWorkDto2;
|
|
1467
1468
|
})(NatureOfWorkDto || {});
|
|
1468
1469
|
var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
|
|
@@ -1518,6 +1519,10 @@ __decorateClass([
|
|
|
1518
1519
|
__decorateClass([
|
|
1519
1520
|
IsNotEmpty34({ message: "Please enter expected hourly compensation." })
|
|
1520
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);
|
|
1521
1526
|
__decorateClass([
|
|
1522
1527
|
ValidateIf5((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
|
|
1523
1528
|
IsInt({ message: "Please enter valid weekly availability hours (integer)." }),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare enum NatureOfWorkDto {
|
|
2
2
|
FREELANCE = "FREELANCE",
|
|
3
|
-
FTE = "FTE"
|
|
3
|
+
FTE = "FTE",
|
|
4
|
+
BOTH = "BOTH"
|
|
4
5
|
}
|
|
5
6
|
export declare enum ModeOfWorkDto {
|
|
6
7
|
ONSITE = "ONSITE",
|
|
@@ -19,6 +20,7 @@ export declare class UpdateFreelancerProfileDto {
|
|
|
19
20
|
stateId: number;
|
|
20
21
|
cityId: number;
|
|
21
22
|
expectedHourlyCompensation: string;
|
|
23
|
+
expectedAnnualCompensation: string;
|
|
22
24
|
numberOfHours?: number;
|
|
23
25
|
natureOfWork: NatureOfWorkDto;
|
|
24
26
|
modeOfWork: ModeOfWorkDto;
|