@experts_hub/shared 1.0.540 → 1.0.542

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.
@@ -64,6 +64,7 @@ export declare class FreelancerProfile extends BaseEntity {
64
64
  numberOfHours: number;
65
65
  currency: string;
66
66
  expectedHourlyCompensation: number;
67
+ expectedAnnualCompensation: number;
67
68
  modeOfWork: ModeOfWork;
68
69
  availabilityToJoin: string;
69
70
  isImmediateJoiner: boolean;
package/dist/index.d.mts CHANGED
@@ -186,6 +186,7 @@ declare class FreelancerProfileQuestionDto {
186
186
  answer: any;
187
187
  numberOfHours?: number;
188
188
  currency?: string;
189
+ ctc?: number;
189
190
  }
190
191
 
191
192
  declare class FreelancerWorkShowcaseDto {
@@ -912,6 +913,7 @@ declare class FreelancerProfile extends BaseEntity {
912
913
  numberOfHours: number;
913
914
  currency: string;
914
915
  expectedHourlyCompensation: number;
916
+ expectedAnnualCompensation: number;
915
917
  modeOfWork: ModeOfWork;
916
918
  availabilityToJoin: string;
917
919
  isImmediateJoiner: boolean;
package/dist/index.d.ts CHANGED
@@ -186,6 +186,7 @@ declare class FreelancerProfileQuestionDto {
186
186
  answer: any;
187
187
  numberOfHours?: number;
188
188
  currency?: string;
189
+ ctc?: number;
189
190
  }
190
191
 
191
192
  declare class FreelancerWorkShowcaseDto {
@@ -912,6 +913,7 @@ declare class FreelancerProfile extends BaseEntity {
912
913
  numberOfHours: number;
913
914
  currency: string;
914
915
  expectedHourlyCompensation: number;
916
+ expectedAnnualCompensation: number;
915
917
  modeOfWork: ModeOfWork;
916
918
  availabilityToJoin: string;
917
919
  isImmediateJoiner: boolean;
package/dist/index.js CHANGED
@@ -901,6 +901,9 @@ __decorateClass([
901
901
  __decorateClass([
902
902
  (0, import_class_validator23.IsOptional)()
903
903
  ], FreelancerProfileQuestionDto.prototype, "currency", 2);
904
+ __decorateClass([
905
+ (0, import_class_validator23.IsOptional)()
906
+ ], FreelancerProfileQuestionDto.prototype, "ctc", 2);
904
907
 
905
908
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
906
909
  var import_class_validator24 = require("class-validator");
@@ -2597,6 +2600,15 @@ __decorateClass([
2597
2600
  nullable: true
2598
2601
  })
2599
2602
  ], FreelancerProfile.prototype, "expectedHourlyCompensation", 2);
2603
+ __decorateClass([
2604
+ (0, import_typeorm9.Column)({
2605
+ name: "expected_annual_compensation",
2606
+ type: "numeric",
2607
+ precision: 10,
2608
+ scale: 2,
2609
+ nullable: true
2610
+ })
2611
+ ], FreelancerProfile.prototype, "expectedAnnualCompensation", 2);
2600
2612
  __decorateClass([
2601
2613
  (0, import_typeorm9.Column)({
2602
2614
  name: "mode_of_work",
package/dist/index.mjs CHANGED
@@ -608,6 +608,9 @@ __decorateClass([
608
608
  __decorateClass([
609
609
  IsOptional5()
610
610
  ], FreelancerProfileQuestionDto.prototype, "currency", 2);
611
+ __decorateClass([
612
+ IsOptional5()
613
+ ], FreelancerProfileQuestionDto.prototype, "ctc", 2);
611
614
 
612
615
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
613
616
  import {
@@ -2453,6 +2456,15 @@ __decorateClass([
2453
2456
  nullable: true
2454
2457
  })
2455
2458
  ], FreelancerProfile.prototype, "expectedHourlyCompensation", 2);
2459
+ __decorateClass([
2460
+ Column9({
2461
+ name: "expected_annual_compensation",
2462
+ type: "numeric",
2463
+ precision: 10,
2464
+ scale: 2,
2465
+ nullable: true
2466
+ })
2467
+ ], FreelancerProfile.prototype, "expectedAnnualCompensation", 2);
2456
2468
  __decorateClass([
2457
2469
  Column9({
2458
2470
  name: "mode_of_work",
@@ -4,4 +4,5 @@ export declare class FreelancerProfileQuestionDto {
4
4
  answer: any;
5
5
  numberOfHours?: number;
6
6
  currency?: string;
7
+ ctc?: number;
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.540",
3
+ "version": "1.0.542",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",