@experts_hub/shared 1.0.589 → 1.0.590
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/entities/company-profile.entity.d.ts +1 -0
- package/dist/entities/freelancer-profile.entity.d.ts +1 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +16 -1
- package/dist/index.mjs +16 -1
- package/dist/modules/rating/dto/add.rating.dto.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1079,6 +1079,7 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
1079
1079
|
signaturePositions: any;
|
|
1080
1080
|
hiringCommisionTypeForFte: HiringCommissionTypeEnum;
|
|
1081
1081
|
hiringCommissionValueForFte: number;
|
|
1082
|
+
rating: number;
|
|
1082
1083
|
}
|
|
1083
1084
|
|
|
1084
1085
|
declare class City extends BaseEntity {
|
|
@@ -1200,6 +1201,7 @@ declare class FreelancerProfile extends BaseEntity {
|
|
|
1200
1201
|
isExpertshubVerified: boolean;
|
|
1201
1202
|
isFollowedOnLinkedIn: boolean;
|
|
1202
1203
|
signaturePositions: any;
|
|
1204
|
+
rating: number;
|
|
1203
1205
|
}
|
|
1204
1206
|
|
|
1205
1207
|
declare enum JobSkillCategoryEnum {
|
|
@@ -2419,6 +2421,7 @@ declare class Rating extends BaseEntity {
|
|
|
2419
2421
|
|
|
2420
2422
|
declare class CreateRatingDto {
|
|
2421
2423
|
revieweeId: number;
|
|
2424
|
+
reviewerId: number;
|
|
2422
2425
|
jobId: number;
|
|
2423
2426
|
ratingType: RatingTypeEnum;
|
|
2424
2427
|
reviewerComment?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1079,6 +1079,7 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
1079
1079
|
signaturePositions: any;
|
|
1080
1080
|
hiringCommisionTypeForFte: HiringCommissionTypeEnum;
|
|
1081
1081
|
hiringCommissionValueForFte: number;
|
|
1082
|
+
rating: number;
|
|
1082
1083
|
}
|
|
1083
1084
|
|
|
1084
1085
|
declare class City extends BaseEntity {
|
|
@@ -1200,6 +1201,7 @@ declare class FreelancerProfile extends BaseEntity {
|
|
|
1200
1201
|
isExpertshubVerified: boolean;
|
|
1201
1202
|
isFollowedOnLinkedIn: boolean;
|
|
1202
1203
|
signaturePositions: any;
|
|
1204
|
+
rating: number;
|
|
1203
1205
|
}
|
|
1204
1206
|
|
|
1205
1207
|
declare enum JobSkillCategoryEnum {
|
|
@@ -2419,6 +2421,7 @@ declare class Rating extends BaseEntity {
|
|
|
2419
2421
|
|
|
2420
2422
|
declare class CreateRatingDto {
|
|
2421
2423
|
revieweeId: number;
|
|
2424
|
+
reviewerId: number;
|
|
2422
2425
|
jobId: number;
|
|
2423
2426
|
ratingType: RatingTypeEnum;
|
|
2424
2427
|
reviewerComment?: string;
|
package/dist/index.js
CHANGED
|
@@ -2800,6 +2800,12 @@ __decorateClass([
|
|
|
2800
2800
|
__decorateClass([
|
|
2801
2801
|
(0, import_typeorm5.Column)({ name: "hiring_commission_value_for_fte", type: "integer", nullable: true })
|
|
2802
2802
|
], CompanyProfile.prototype, "hiringCommissionValueForFte", 2);
|
|
2803
|
+
__decorateClass([
|
|
2804
|
+
(0, import_typeorm5.Column)({
|
|
2805
|
+
type: "float",
|
|
2806
|
+
default: 0
|
|
2807
|
+
})
|
|
2808
|
+
], CompanyProfile.prototype, "rating", 2);
|
|
2803
2809
|
CompanyProfile = __decorateClass([
|
|
2804
2810
|
(0, import_typeorm5.Entity)("company_profiles")
|
|
2805
2811
|
], CompanyProfile);
|
|
@@ -3030,7 +3036,6 @@ var AiAssessmentStatusEnum = /* @__PURE__ */ ((AiAssessmentStatusEnum2) => {
|
|
|
3030
3036
|
return AiAssessmentStatusEnum2;
|
|
3031
3037
|
})(AiAssessmentStatusEnum || {});
|
|
3032
3038
|
var FreelancerProfile = class extends BaseEntity {
|
|
3033
|
-
// stores the positions JSON
|
|
3034
3039
|
};
|
|
3035
3040
|
// individual index to find profile by user
|
|
3036
3041
|
__decorateClass([
|
|
@@ -3238,6 +3243,12 @@ __decorateClass([
|
|
|
3238
3243
|
__decorateClass([
|
|
3239
3244
|
(0, import_typeorm9.Column)({ name: "signature_positions", type: "jsonb", nullable: true })
|
|
3240
3245
|
], FreelancerProfile.prototype, "signaturePositions", 2);
|
|
3246
|
+
__decorateClass([
|
|
3247
|
+
(0, import_typeorm9.Column)({
|
|
3248
|
+
type: "float",
|
|
3249
|
+
default: 0
|
|
3250
|
+
})
|
|
3251
|
+
], FreelancerProfile.prototype, "rating", 2);
|
|
3241
3252
|
FreelancerProfile = __decorateClass([
|
|
3242
3253
|
(0, import_typeorm9.Entity)("freelancer_profiles")
|
|
3243
3254
|
], FreelancerProfile);
|
|
@@ -7097,6 +7108,10 @@ __decorateClass([
|
|
|
7097
7108
|
(0, import_class_validator62.IsInt)({ message: "Reviewee ID must be a valid integer" }),
|
|
7098
7109
|
(0, import_class_validator62.IsNotEmpty)({ message: "Reviewee ID is required" })
|
|
7099
7110
|
], CreateRatingDto.prototype, "revieweeId", 2);
|
|
7111
|
+
__decorateClass([
|
|
7112
|
+
(0, import_class_validator62.IsInt)({ message: "Reviewer ID must be a valid integer" }),
|
|
7113
|
+
(0, import_class_validator62.IsNotEmpty)({ message: "Reviewer ID is required" })
|
|
7114
|
+
], CreateRatingDto.prototype, "reviewerId", 2);
|
|
7100
7115
|
__decorateClass([
|
|
7101
7116
|
(0, import_class_validator62.IsInt)({ message: "Job ID must be a valid integer" }),
|
|
7102
7117
|
(0, import_class_validator62.IsNotEmpty)({ message: "Job ID is required" })
|
package/dist/index.mjs
CHANGED
|
@@ -2583,6 +2583,12 @@ __decorateClass([
|
|
|
2583
2583
|
__decorateClass([
|
|
2584
2584
|
Column5({ name: "hiring_commission_value_for_fte", type: "integer", nullable: true })
|
|
2585
2585
|
], CompanyProfile.prototype, "hiringCommissionValueForFte", 2);
|
|
2586
|
+
__decorateClass([
|
|
2587
|
+
Column5({
|
|
2588
|
+
type: "float",
|
|
2589
|
+
default: 0
|
|
2590
|
+
})
|
|
2591
|
+
], CompanyProfile.prototype, "rating", 2);
|
|
2586
2592
|
CompanyProfile = __decorateClass([
|
|
2587
2593
|
Entity4("company_profiles")
|
|
2588
2594
|
], CompanyProfile);
|
|
@@ -2813,7 +2819,6 @@ var AiAssessmentStatusEnum = /* @__PURE__ */ ((AiAssessmentStatusEnum2) => {
|
|
|
2813
2819
|
return AiAssessmentStatusEnum2;
|
|
2814
2820
|
})(AiAssessmentStatusEnum || {});
|
|
2815
2821
|
var FreelancerProfile = class extends BaseEntity {
|
|
2816
|
-
// stores the positions JSON
|
|
2817
2822
|
};
|
|
2818
2823
|
// individual index to find profile by user
|
|
2819
2824
|
__decorateClass([
|
|
@@ -3021,6 +3026,12 @@ __decorateClass([
|
|
|
3021
3026
|
__decorateClass([
|
|
3022
3027
|
Column9({ name: "signature_positions", type: "jsonb", nullable: true })
|
|
3023
3028
|
], FreelancerProfile.prototype, "signaturePositions", 2);
|
|
3029
|
+
__decorateClass([
|
|
3030
|
+
Column9({
|
|
3031
|
+
type: "float",
|
|
3032
|
+
default: 0
|
|
3033
|
+
})
|
|
3034
|
+
], FreelancerProfile.prototype, "rating", 2);
|
|
3024
3035
|
FreelancerProfile = __decorateClass([
|
|
3025
3036
|
Entity8("freelancer_profiles")
|
|
3026
3037
|
], FreelancerProfile);
|
|
@@ -7053,6 +7064,10 @@ __decorateClass([
|
|
|
7053
7064
|
IsInt2({ message: "Reviewee ID must be a valid integer" }),
|
|
7054
7065
|
IsNotEmpty51({ message: "Reviewee ID is required" })
|
|
7055
7066
|
], CreateRatingDto.prototype, "revieweeId", 2);
|
|
7067
|
+
__decorateClass([
|
|
7068
|
+
IsInt2({ message: "Reviewer ID must be a valid integer" }),
|
|
7069
|
+
IsNotEmpty51({ message: "Reviewer ID is required" })
|
|
7070
|
+
], CreateRatingDto.prototype, "reviewerId", 2);
|
|
7056
7071
|
__decorateClass([
|
|
7057
7072
|
IsInt2({ message: "Job ID must be a valid integer" }),
|
|
7058
7073
|
IsNotEmpty51({ message: "Job ID is required" })
|