@experts_hub/shared 1.0.349 → 1.0.351

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.
@@ -7,5 +7,9 @@ export declare class JobRecommendation {
7
7
  clientId: number;
8
8
  matchScore: number;
9
9
  matchScoreSummary?: Record<string, any>;
10
+ matchingSkills: string[];
11
+ matchingSkillsCount: number;
12
+ requiredSkills: string[];
13
+ requiredSkillsCount: number;
10
14
  lastCalculatedAt: Date;
11
15
  }
package/dist/index.d.mts CHANGED
@@ -85,7 +85,6 @@ declare enum SendGuestOtpScopeEnum {
85
85
  FREELANCER = "FREELANCER"
86
86
  }
87
87
  declare class SendGuestOtpDto {
88
- fullName: string;
89
88
  target: string;
90
89
  fallbackTarget: string;
91
90
  purpose: SendGuestOtpPurposeEnum;
@@ -999,6 +998,10 @@ declare class JobRecommendation {
999
998
  clientId: number;
1000
999
  matchScore: number;
1001
1000
  matchScoreSummary?: Record<string, any>;
1001
+ matchingSkills: string[];
1002
+ matchingSkillsCount: number;
1003
+ requiredSkills: string[];
1004
+ requiredSkillsCount: number;
1002
1005
  lastCalculatedAt: Date;
1003
1006
  }
1004
1007
 
package/dist/index.d.ts CHANGED
@@ -85,7 +85,6 @@ declare enum SendGuestOtpScopeEnum {
85
85
  FREELANCER = "FREELANCER"
86
86
  }
87
87
  declare class SendGuestOtpDto {
88
- fullName: string;
89
88
  target: string;
90
89
  fallbackTarget: string;
91
90
  purpose: SendGuestOtpPurposeEnum;
@@ -999,6 +998,10 @@ declare class JobRecommendation {
999
998
  clientId: number;
1000
999
  matchScore: number;
1001
1000
  matchScoreSummary?: Record<string, any>;
1001
+ matchingSkills: string[];
1002
+ matchingSkillsCount: number;
1003
+ requiredSkills: string[];
1004
+ requiredSkillsCount: number;
1002
1005
  lastCalculatedAt: Date;
1003
1006
  }
1004
1007
 
package/dist/index.js CHANGED
@@ -416,10 +416,6 @@ var SendGuestOtpScopeEnum = /* @__PURE__ */ ((SendGuestOtpScopeEnum2) => {
416
416
  })(SendGuestOtpScopeEnum || {});
417
417
  var SendGuestOtpDto = class {
418
418
  };
419
- __decorateClass([
420
- (0, import_class_validator8.IsNotEmpty)({ message: "Please enter full name." }),
421
- (0, import_class_validator8.IsString)({ message: "Please enter valid full name." })
422
- ], SendGuestOtpDto.prototype, "fullName", 2);
423
419
  __decorateClass([
424
420
  (0, import_class_validator8.IsNotEmpty)({ message: "Please enter target." }),
425
421
  (0, import_class_validator8.IsString)({ message: "Please enter valid target." })
@@ -2871,6 +2867,28 @@ __decorateClass([
2871
2867
  __decorateClass([
2872
2868
  (0, import_typeorm20.Column)({ name: "match_score_summary", type: "jsonb", nullable: true })
2873
2869
  ], JobRecommendation.prototype, "matchScoreSummary", 2);
2870
+ __decorateClass([
2871
+ (0, import_typeorm20.Column)({
2872
+ name: "matching_skills",
2873
+ type: "text",
2874
+ array: true,
2875
+ nullable: true
2876
+ })
2877
+ ], JobRecommendation.prototype, "matchingSkills", 2);
2878
+ __decorateClass([
2879
+ (0, import_typeorm20.Column)({ name: "matching_skills_count", type: "int", nullable: true })
2880
+ ], JobRecommendation.prototype, "matchingSkillsCount", 2);
2881
+ __decorateClass([
2882
+ (0, import_typeorm20.Column)({
2883
+ name: "required_skills",
2884
+ type: "text",
2885
+ array: true,
2886
+ nullable: true
2887
+ })
2888
+ ], JobRecommendation.prototype, "requiredSkills", 2);
2889
+ __decorateClass([
2890
+ (0, import_typeorm20.Column)({ name: "required_skills_count", type: "int", nullable: true })
2891
+ ], JobRecommendation.prototype, "requiredSkillsCount", 2);
2874
2892
  __decorateClass([
2875
2893
  (0, import_typeorm20.Column)({
2876
2894
  name: "last_calculated_at",
package/dist/index.mjs CHANGED
@@ -184,10 +184,6 @@ var SendGuestOtpScopeEnum = /* @__PURE__ */ ((SendGuestOtpScopeEnum2) => {
184
184
  })(SendGuestOtpScopeEnum || {});
185
185
  var SendGuestOtpDto = class {
186
186
  };
187
- __decorateClass([
188
- IsNotEmpty8({ message: "Please enter full name." }),
189
- IsString({ message: "Please enter valid full name." })
190
- ], SendGuestOtpDto.prototype, "fullName", 2);
191
187
  __decorateClass([
192
188
  IsNotEmpty8({ message: "Please enter target." }),
193
189
  IsString({ message: "Please enter valid target." })
@@ -2803,7 +2799,14 @@ Interview = __decorateClass([
2803
2799
  ], Interview);
2804
2800
 
2805
2801
  // src/entities/job-recommendation.entity.ts
2806
- import { Entity as Entity19, Column as Column20, Index as Index13, ManyToOne as ManyToOne18, JoinColumn as JoinColumn18, PrimaryGeneratedColumn as PrimaryGeneratedColumn5 } from "typeorm";
2802
+ import {
2803
+ Entity as Entity19,
2804
+ Column as Column20,
2805
+ Index as Index13,
2806
+ ManyToOne as ManyToOne18,
2807
+ JoinColumn as JoinColumn18,
2808
+ PrimaryGeneratedColumn as PrimaryGeneratedColumn5
2809
+ } from "typeorm";
2807
2810
  var JobRecommendation = class {
2808
2811
  };
2809
2812
  __decorateClass([
@@ -2831,6 +2834,28 @@ __decorateClass([
2831
2834
  __decorateClass([
2832
2835
  Column20({ name: "match_score_summary", type: "jsonb", nullable: true })
2833
2836
  ], JobRecommendation.prototype, "matchScoreSummary", 2);
2837
+ __decorateClass([
2838
+ Column20({
2839
+ name: "matching_skills",
2840
+ type: "text",
2841
+ array: true,
2842
+ nullable: true
2843
+ })
2844
+ ], JobRecommendation.prototype, "matchingSkills", 2);
2845
+ __decorateClass([
2846
+ Column20({ name: "matching_skills_count", type: "int", nullable: true })
2847
+ ], JobRecommendation.prototype, "matchingSkillsCount", 2);
2848
+ __decorateClass([
2849
+ Column20({
2850
+ name: "required_skills",
2851
+ type: "text",
2852
+ array: true,
2853
+ nullable: true
2854
+ })
2855
+ ], JobRecommendation.prototype, "requiredSkills", 2);
2856
+ __decorateClass([
2857
+ Column20({ name: "required_skills_count", type: "int", nullable: true })
2858
+ ], JobRecommendation.prototype, "requiredSkillsCount", 2);
2834
2859
  __decorateClass([
2835
2860
  Column20({
2836
2861
  name: "last_calculated_at",
@@ -6,7 +6,6 @@ export declare enum SendGuestOtpScopeEnum {
6
6
  FREELANCER = "FREELANCER"
7
7
  }
8
8
  export declare class SendGuestOtpDto {
9
- fullName: string;
10
9
  target: string;
11
10
  fallbackTarget: string;
12
11
  purpose: SendGuestOtpPurposeEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.349",
3
+ "version": "1.0.351",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",