@experts_hub/shared 1.0.405 → 1.0.407

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.
@@ -4,7 +4,9 @@ import { Country } from "./country.entity";
4
4
  export declare enum NatureOfWork {
5
5
  FULLTIME = "FULLTIME",
6
6
  PARTTIME = "PARTTIME",
7
- BOTH = "BOTH"
7
+ BOTH = "BOTH",
8
+ HOURLY = "HOURLY",
9
+ FTE = "FTE"
8
10
  }
9
11
  export declare enum ModeOfWork {
10
12
  ONSITE = "ONSITE",
@@ -51,6 +53,7 @@ export declare class FreelancerProfile extends BaseEntity {
51
53
  aiAssessmentStatus: AiAssessmentStatusEnum;
52
54
  isDeveloper: boolean;
53
55
  natureOfWork: NatureOfWork;
56
+ numberOfHours: number;
54
57
  currency: string;
55
58
  expectedHourlyCompensation: number;
56
59
  modeOfWork: ModeOfWork;
package/dist/index.d.mts CHANGED
@@ -717,7 +717,9 @@ declare class Country extends BaseEntity {
717
717
  declare enum NatureOfWork {
718
718
  FULLTIME = "FULLTIME",
719
719
  PARTTIME = "PARTTIME",
720
- BOTH = "BOTH"
720
+ BOTH = "BOTH",
721
+ HOURLY = "HOURLY",
722
+ FTE = "FTE"
721
723
  }
722
724
  declare enum ModeOfWork {
723
725
  ONSITE = "ONSITE",
@@ -764,6 +766,7 @@ declare class FreelancerProfile extends BaseEntity {
764
766
  aiAssessmentStatus: AiAssessmentStatusEnum;
765
767
  isDeveloper: boolean;
766
768
  natureOfWork: NatureOfWork;
769
+ numberOfHours: number;
767
770
  currency: string;
768
771
  expectedHourlyCompensation: number;
769
772
  modeOfWork: ModeOfWork;
package/dist/index.d.ts CHANGED
@@ -717,7 +717,9 @@ declare class Country extends BaseEntity {
717
717
  declare enum NatureOfWork {
718
718
  FULLTIME = "FULLTIME",
719
719
  PARTTIME = "PARTTIME",
720
- BOTH = "BOTH"
720
+ BOTH = "BOTH",
721
+ HOURLY = "HOURLY",
722
+ FTE = "FTE"
721
723
  }
722
724
  declare enum ModeOfWork {
723
725
  ONSITE = "ONSITE",
@@ -764,6 +766,7 @@ declare class FreelancerProfile extends BaseEntity {
764
766
  aiAssessmentStatus: AiAssessmentStatusEnum;
765
767
  isDeveloper: boolean;
766
768
  natureOfWork: NatureOfWork;
769
+ numberOfHours: number;
767
770
  currency: string;
768
771
  expectedHourlyCompensation: number;
769
772
  modeOfWork: ModeOfWork;
package/dist/index.js CHANGED
@@ -1967,6 +1967,8 @@ var NatureOfWork = /* @__PURE__ */ ((NatureOfWork2) => {
1967
1967
  NatureOfWork2["FULLTIME"] = "FULLTIME";
1968
1968
  NatureOfWork2["PARTTIME"] = "PARTTIME";
1969
1969
  NatureOfWork2["BOTH"] = "BOTH";
1970
+ NatureOfWork2["HOURLY"] = "HOURLY";
1971
+ NatureOfWork2["FTE"] = "FTE";
1970
1972
  return NatureOfWork2;
1971
1973
  })(NatureOfWork || {});
1972
1974
  var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
@@ -2068,6 +2070,15 @@ __decorateClass([
2068
2070
  nullable: true
2069
2071
  })
2070
2072
  ], FreelancerProfile.prototype, "natureOfWork", 2);
2073
+ __decorateClass([
2074
+ (0, import_typeorm8.Column)({
2075
+ name: "number_of_hours",
2076
+ type: "decimal",
2077
+ precision: 4,
2078
+ scale: 2,
2079
+ default: 0
2080
+ })
2081
+ ], FreelancerProfile.prototype, "numberOfHours", 2);
2071
2082
  __decorateClass([
2072
2083
  (0, import_typeorm8.Column)({ name: "currency", type: "varchar", default: "USD" })
2073
2084
  ], FreelancerProfile.prototype, "currency", 2);
@@ -2958,7 +2969,7 @@ __decorateClass([
2958
2969
  (0, import_typeorm20.Index)()
2959
2970
  ], JobRecommendation.prototype, "clientId", 2);
2960
2971
  __decorateClass([
2961
- (0, import_typeorm20.Column)({ name: "match_score", type: "numeric", precision: 5, scale: 4 })
2972
+ (0, import_typeorm20.Column)({ name: "match_score", type: "numeric", precision: 5, scale: 2 })
2962
2973
  ], JobRecommendation.prototype, "matchScore", 2);
2963
2974
  __decorateClass([
2964
2975
  (0, import_typeorm20.Column)({ name: "match_score_summary", type: "jsonb", nullable: true })
package/dist/index.mjs CHANGED
@@ -1852,6 +1852,8 @@ var NatureOfWork = /* @__PURE__ */ ((NatureOfWork2) => {
1852
1852
  NatureOfWork2["FULLTIME"] = "FULLTIME";
1853
1853
  NatureOfWork2["PARTTIME"] = "PARTTIME";
1854
1854
  NatureOfWork2["BOTH"] = "BOTH";
1855
+ NatureOfWork2["HOURLY"] = "HOURLY";
1856
+ NatureOfWork2["FTE"] = "FTE";
1855
1857
  return NatureOfWork2;
1856
1858
  })(NatureOfWork || {});
1857
1859
  var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
@@ -1953,6 +1955,15 @@ __decorateClass([
1953
1955
  nullable: true
1954
1956
  })
1955
1957
  ], FreelancerProfile.prototype, "natureOfWork", 2);
1958
+ __decorateClass([
1959
+ Column8({
1960
+ name: "number_of_hours",
1961
+ type: "decimal",
1962
+ precision: 4,
1963
+ scale: 2,
1964
+ default: 0
1965
+ })
1966
+ ], FreelancerProfile.prototype, "numberOfHours", 2);
1956
1967
  __decorateClass([
1957
1968
  Column8({ name: "currency", type: "varchar", default: "USD" })
1958
1969
  ], FreelancerProfile.prototype, "currency", 2);
@@ -2887,7 +2898,7 @@ __decorateClass([
2887
2898
  Index13()
2888
2899
  ], JobRecommendation.prototype, "clientId", 2);
2889
2900
  __decorateClass([
2890
- Column20({ name: "match_score", type: "numeric", precision: 5, scale: 4 })
2901
+ Column20({ name: "match_score", type: "numeric", precision: 5, scale: 2 })
2891
2902
  ], JobRecommendation.prototype, "matchScore", 2);
2892
2903
  __decorateClass([
2893
2904
  Column20({ name: "match_score_summary", type: "jsonb", nullable: true })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.405",
3
+ "version": "1.0.407",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",