@experts_hub/shared 1.0.594 → 1.0.595
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/rating.entity.d.ts +11 -11
- package/dist/index.d.mts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +24 -17
- package/dist/index.mjs +24 -17
- package/package.json +1 -1
|
@@ -6,23 +6,23 @@ export declare enum RatingTypeEnum {
|
|
|
6
6
|
CLIENT_TO_FREELANCER = "CLIENT_TO_FREELANCER"
|
|
7
7
|
}
|
|
8
8
|
export declare class Rating extends BaseEntity {
|
|
9
|
-
|
|
9
|
+
reviewerId: number;
|
|
10
10
|
reviewer: User;
|
|
11
|
-
|
|
11
|
+
revieweeId: number;
|
|
12
12
|
reviewee: User;
|
|
13
13
|
jobId: number;
|
|
14
14
|
job: Job;
|
|
15
15
|
ratingType: RatingTypeEnum;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
reviewerComment: string;
|
|
17
|
+
overAllExperience: number;
|
|
18
|
+
workQuality: number;
|
|
19
|
+
oneTimeDelivery: number;
|
|
20
20
|
understaning: number;
|
|
21
21
|
communication: number;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
skillUtilized: number;
|
|
23
|
+
communicationClarity: number;
|
|
24
|
+
requirementsClarity: number;
|
|
25
25
|
responsiveness: number;
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
paymentPromptness: number;
|
|
27
|
+
responsibilitiesAndExpectations: number;
|
|
28
28
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1114,25 +1114,25 @@ declare enum RatingTypeEnum {
|
|
|
1114
1114
|
CLIENT_TO_FREELANCER = "CLIENT_TO_FREELANCER"
|
|
1115
1115
|
}
|
|
1116
1116
|
declare class Rating extends BaseEntity {
|
|
1117
|
-
|
|
1117
|
+
reviewerId: number;
|
|
1118
1118
|
reviewer: User;
|
|
1119
|
-
|
|
1119
|
+
revieweeId: number;
|
|
1120
1120
|
reviewee: User;
|
|
1121
1121
|
jobId: number;
|
|
1122
1122
|
job: Job;
|
|
1123
1123
|
ratingType: RatingTypeEnum;
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1124
|
+
reviewerComment: string;
|
|
1125
|
+
overAllExperience: number;
|
|
1126
|
+
workQuality: number;
|
|
1127
|
+
oneTimeDelivery: number;
|
|
1128
1128
|
understaning: number;
|
|
1129
1129
|
communication: number;
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1130
|
+
skillUtilized: number;
|
|
1131
|
+
communicationClarity: number;
|
|
1132
|
+
requirementsClarity: number;
|
|
1133
1133
|
responsiveness: number;
|
|
1134
|
-
|
|
1135
|
-
|
|
1134
|
+
paymentPromptness: number;
|
|
1135
|
+
responsibilitiesAndExpectations: number;
|
|
1136
1136
|
}
|
|
1137
1137
|
|
|
1138
1138
|
declare enum JobLocationEnum$1 {
|
package/dist/index.d.ts
CHANGED
|
@@ -1114,25 +1114,25 @@ declare enum RatingTypeEnum {
|
|
|
1114
1114
|
CLIENT_TO_FREELANCER = "CLIENT_TO_FREELANCER"
|
|
1115
1115
|
}
|
|
1116
1116
|
declare class Rating extends BaseEntity {
|
|
1117
|
-
|
|
1117
|
+
reviewerId: number;
|
|
1118
1118
|
reviewer: User;
|
|
1119
|
-
|
|
1119
|
+
revieweeId: number;
|
|
1120
1120
|
reviewee: User;
|
|
1121
1121
|
jobId: number;
|
|
1122
1122
|
job: Job;
|
|
1123
1123
|
ratingType: RatingTypeEnum;
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1124
|
+
reviewerComment: string;
|
|
1125
|
+
overAllExperience: number;
|
|
1126
|
+
workQuality: number;
|
|
1127
|
+
oneTimeDelivery: number;
|
|
1128
1128
|
understaning: number;
|
|
1129
1129
|
communication: number;
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1130
|
+
skillUtilized: number;
|
|
1131
|
+
communicationClarity: number;
|
|
1132
|
+
requirementsClarity: number;
|
|
1133
1133
|
responsiveness: number;
|
|
1134
|
-
|
|
1135
|
-
|
|
1134
|
+
paymentPromptness: number;
|
|
1135
|
+
responsibilitiesAndExpectations: number;
|
|
1136
1136
|
}
|
|
1137
1137
|
|
|
1138
1138
|
declare enum JobLocationEnum$1 {
|
package/dist/index.js
CHANGED
|
@@ -3875,7 +3875,7 @@ var Rating = class extends BaseEntity {
|
|
|
3875
3875
|
__decorateClass([
|
|
3876
3876
|
(0, import_typeorm33.Column)({ name: "reviewer_id", type: "integer" }),
|
|
3877
3877
|
(0, import_typeorm33.Index)()
|
|
3878
|
-
], Rating.prototype, "
|
|
3878
|
+
], Rating.prototype, "reviewerId", 2);
|
|
3879
3879
|
__decorateClass([
|
|
3880
3880
|
(0, import_typeorm33.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
3881
3881
|
(0, import_typeorm33.JoinColumn)({ name: "reviewer_id" })
|
|
@@ -3883,7 +3883,7 @@ __decorateClass([
|
|
|
3883
3883
|
__decorateClass([
|
|
3884
3884
|
(0, import_typeorm33.Column)({ name: "reviewee_id", type: "integer" }),
|
|
3885
3885
|
(0, import_typeorm33.Index)()
|
|
3886
|
-
], Rating.prototype, "
|
|
3886
|
+
], Rating.prototype, "revieweeId", 2);
|
|
3887
3887
|
__decorateClass([
|
|
3888
3888
|
(0, import_typeorm33.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
3889
3889
|
(0, import_typeorm33.JoinColumn)({ name: "reviewee_id" })
|
|
@@ -3898,65 +3898,72 @@ __decorateClass([
|
|
|
3898
3898
|
], Rating.prototype, "job", 2);
|
|
3899
3899
|
__decorateClass([
|
|
3900
3900
|
(0, import_typeorm33.Column)({
|
|
3901
|
+
name: "rating_type",
|
|
3901
3902
|
type: "enum",
|
|
3902
3903
|
enum: RatingTypeEnum,
|
|
3903
3904
|
nullable: true
|
|
3904
3905
|
})
|
|
3905
3906
|
], Rating.prototype, "ratingType", 2);
|
|
3906
3907
|
__decorateClass([
|
|
3907
|
-
(0, import_typeorm33.Column)({ type: "text", nullable: true })
|
|
3908
|
-
], Rating.prototype, "
|
|
3908
|
+
(0, import_typeorm33.Column)({ name: "reviewer_comment", type: "text", nullable: true })
|
|
3909
|
+
], Rating.prototype, "reviewerComment", 2);
|
|
3909
3910
|
__decorateClass([
|
|
3910
3911
|
(0, import_typeorm33.Column)({
|
|
3912
|
+
name: "overall_experience",
|
|
3911
3913
|
type: "float",
|
|
3912
3914
|
default: 0
|
|
3913
3915
|
})
|
|
3914
|
-
], Rating.prototype, "
|
|
3916
|
+
], Rating.prototype, "overAllExperience", 2);
|
|
3915
3917
|
__decorateClass([
|
|
3916
3918
|
(0, import_typeorm33.Column)({
|
|
3919
|
+
name: "work_quality",
|
|
3917
3920
|
type: "float",
|
|
3918
3921
|
default: 0
|
|
3919
3922
|
})
|
|
3920
|
-
], Rating.prototype, "
|
|
3923
|
+
], Rating.prototype, "workQuality", 2);
|
|
3921
3924
|
__decorateClass([
|
|
3922
3925
|
(0, import_typeorm33.Column)({
|
|
3926
|
+
name: "one_time_delivery",
|
|
3923
3927
|
type: "float",
|
|
3924
3928
|
default: 0
|
|
3925
3929
|
})
|
|
3926
|
-
], Rating.prototype, "
|
|
3930
|
+
], Rating.prototype, "oneTimeDelivery", 2);
|
|
3927
3931
|
__decorateClass([
|
|
3928
3932
|
(0, import_typeorm33.Column)({
|
|
3933
|
+
name: "understaning",
|
|
3929
3934
|
type: "float",
|
|
3930
3935
|
default: 0
|
|
3931
3936
|
})
|
|
3932
3937
|
], Rating.prototype, "understaning", 2);
|
|
3933
3938
|
__decorateClass([
|
|
3934
3939
|
(0, import_typeorm33.Column)({
|
|
3940
|
+
name: "communication",
|
|
3935
3941
|
type: "float",
|
|
3936
3942
|
default: 0
|
|
3937
3943
|
})
|
|
3938
3944
|
], Rating.prototype, "communication", 2);
|
|
3939
3945
|
__decorateClass([
|
|
3940
3946
|
(0, import_typeorm33.Column)({
|
|
3947
|
+
name: "skill_utilized",
|
|
3941
3948
|
type: "float",
|
|
3942
3949
|
default: 0
|
|
3943
3950
|
})
|
|
3944
|
-
], Rating.prototype, "
|
|
3951
|
+
], Rating.prototype, "skillUtilized", 2);
|
|
3945
3952
|
__decorateClass([
|
|
3946
|
-
(0, import_typeorm33.Column)({ type: "float", default: 0 })
|
|
3947
|
-
], Rating.prototype, "
|
|
3953
|
+
(0, import_typeorm33.Column)({ name: "communication_clarity", type: "float", default: 0 })
|
|
3954
|
+
], Rating.prototype, "communicationClarity", 2);
|
|
3948
3955
|
__decorateClass([
|
|
3949
|
-
(0, import_typeorm33.Column)({ type: "float", default: 0 })
|
|
3950
|
-
], Rating.prototype, "
|
|
3956
|
+
(0, import_typeorm33.Column)({ name: "requirements_clarity", type: "float", default: 0 })
|
|
3957
|
+
], Rating.prototype, "requirementsClarity", 2);
|
|
3951
3958
|
__decorateClass([
|
|
3952
|
-
(0, import_typeorm33.Column)({ type: "float", default: 0 })
|
|
3959
|
+
(0, import_typeorm33.Column)({ name: "responsiveness", type: "float", default: 0 })
|
|
3953
3960
|
], Rating.prototype, "responsiveness", 2);
|
|
3954
3961
|
__decorateClass([
|
|
3955
|
-
(0, import_typeorm33.Column)({ type: "float", default: 0 })
|
|
3956
|
-
], Rating.prototype, "
|
|
3962
|
+
(0, import_typeorm33.Column)({ name: "payment_promptness", type: "float", default: 0 })
|
|
3963
|
+
], Rating.prototype, "paymentPromptness", 2);
|
|
3957
3964
|
__decorateClass([
|
|
3958
|
-
(0, import_typeorm33.Column)({ type: "float", default: 0 })
|
|
3959
|
-
], Rating.prototype, "
|
|
3965
|
+
(0, import_typeorm33.Column)({ name: "responsibilities_and_expectations", type: "float", default: 0 })
|
|
3966
|
+
], Rating.prototype, "responsibilitiesAndExpectations", 2);
|
|
3960
3967
|
Rating = __decorateClass([
|
|
3961
3968
|
(0, import_typeorm33.Entity)("ratings")
|
|
3962
3969
|
], Rating);
|
package/dist/index.mjs
CHANGED
|
@@ -3647,7 +3647,7 @@ var Rating = class extends BaseEntity {
|
|
|
3647
3647
|
__decorateClass([
|
|
3648
3648
|
Column33({ name: "reviewer_id", type: "integer" }),
|
|
3649
3649
|
Index25()
|
|
3650
|
-
], Rating.prototype, "
|
|
3650
|
+
], Rating.prototype, "reviewerId", 2);
|
|
3651
3651
|
__decorateClass([
|
|
3652
3652
|
ManyToOne31(() => User, { onDelete: "CASCADE" }),
|
|
3653
3653
|
JoinColumn31({ name: "reviewer_id" })
|
|
@@ -3655,7 +3655,7 @@ __decorateClass([
|
|
|
3655
3655
|
__decorateClass([
|
|
3656
3656
|
Column33({ name: "reviewee_id", type: "integer" }),
|
|
3657
3657
|
Index25()
|
|
3658
|
-
], Rating.prototype, "
|
|
3658
|
+
], Rating.prototype, "revieweeId", 2);
|
|
3659
3659
|
__decorateClass([
|
|
3660
3660
|
ManyToOne31(() => User, { onDelete: "CASCADE" }),
|
|
3661
3661
|
JoinColumn31({ name: "reviewee_id" })
|
|
@@ -3670,65 +3670,72 @@ __decorateClass([
|
|
|
3670
3670
|
], Rating.prototype, "job", 2);
|
|
3671
3671
|
__decorateClass([
|
|
3672
3672
|
Column33({
|
|
3673
|
+
name: "rating_type",
|
|
3673
3674
|
type: "enum",
|
|
3674
3675
|
enum: RatingTypeEnum,
|
|
3675
3676
|
nullable: true
|
|
3676
3677
|
})
|
|
3677
3678
|
], Rating.prototype, "ratingType", 2);
|
|
3678
3679
|
__decorateClass([
|
|
3679
|
-
Column33({ type: "text", nullable: true })
|
|
3680
|
-
], Rating.prototype, "
|
|
3680
|
+
Column33({ name: "reviewer_comment", type: "text", nullable: true })
|
|
3681
|
+
], Rating.prototype, "reviewerComment", 2);
|
|
3681
3682
|
__decorateClass([
|
|
3682
3683
|
Column33({
|
|
3684
|
+
name: "overall_experience",
|
|
3683
3685
|
type: "float",
|
|
3684
3686
|
default: 0
|
|
3685
3687
|
})
|
|
3686
|
-
], Rating.prototype, "
|
|
3688
|
+
], Rating.prototype, "overAllExperience", 2);
|
|
3687
3689
|
__decorateClass([
|
|
3688
3690
|
Column33({
|
|
3691
|
+
name: "work_quality",
|
|
3689
3692
|
type: "float",
|
|
3690
3693
|
default: 0
|
|
3691
3694
|
})
|
|
3692
|
-
], Rating.prototype, "
|
|
3695
|
+
], Rating.prototype, "workQuality", 2);
|
|
3693
3696
|
__decorateClass([
|
|
3694
3697
|
Column33({
|
|
3698
|
+
name: "one_time_delivery",
|
|
3695
3699
|
type: "float",
|
|
3696
3700
|
default: 0
|
|
3697
3701
|
})
|
|
3698
|
-
], Rating.prototype, "
|
|
3702
|
+
], Rating.prototype, "oneTimeDelivery", 2);
|
|
3699
3703
|
__decorateClass([
|
|
3700
3704
|
Column33({
|
|
3705
|
+
name: "understaning",
|
|
3701
3706
|
type: "float",
|
|
3702
3707
|
default: 0
|
|
3703
3708
|
})
|
|
3704
3709
|
], Rating.prototype, "understaning", 2);
|
|
3705
3710
|
__decorateClass([
|
|
3706
3711
|
Column33({
|
|
3712
|
+
name: "communication",
|
|
3707
3713
|
type: "float",
|
|
3708
3714
|
default: 0
|
|
3709
3715
|
})
|
|
3710
3716
|
], Rating.prototype, "communication", 2);
|
|
3711
3717
|
__decorateClass([
|
|
3712
3718
|
Column33({
|
|
3719
|
+
name: "skill_utilized",
|
|
3713
3720
|
type: "float",
|
|
3714
3721
|
default: 0
|
|
3715
3722
|
})
|
|
3716
|
-
], Rating.prototype, "
|
|
3723
|
+
], Rating.prototype, "skillUtilized", 2);
|
|
3717
3724
|
__decorateClass([
|
|
3718
|
-
Column33({ type: "float", default: 0 })
|
|
3719
|
-
], Rating.prototype, "
|
|
3725
|
+
Column33({ name: "communication_clarity", type: "float", default: 0 })
|
|
3726
|
+
], Rating.prototype, "communicationClarity", 2);
|
|
3720
3727
|
__decorateClass([
|
|
3721
|
-
Column33({ type: "float", default: 0 })
|
|
3722
|
-
], Rating.prototype, "
|
|
3728
|
+
Column33({ name: "requirements_clarity", type: "float", default: 0 })
|
|
3729
|
+
], Rating.prototype, "requirementsClarity", 2);
|
|
3723
3730
|
__decorateClass([
|
|
3724
|
-
Column33({ type: "float", default: 0 })
|
|
3731
|
+
Column33({ name: "responsiveness", type: "float", default: 0 })
|
|
3725
3732
|
], Rating.prototype, "responsiveness", 2);
|
|
3726
3733
|
__decorateClass([
|
|
3727
|
-
Column33({ type: "float", default: 0 })
|
|
3728
|
-
], Rating.prototype, "
|
|
3734
|
+
Column33({ name: "payment_promptness", type: "float", default: 0 })
|
|
3735
|
+
], Rating.prototype, "paymentPromptness", 2);
|
|
3729
3736
|
__decorateClass([
|
|
3730
|
-
Column33({ type: "float", default: 0 })
|
|
3731
|
-
], Rating.prototype, "
|
|
3737
|
+
Column33({ name: "responsibilities_and_expectations", type: "float", default: 0 })
|
|
3738
|
+
], Rating.prototype, "responsibilitiesAndExpectations", 2);
|
|
3732
3739
|
Rating = __decorateClass([
|
|
3733
3740
|
Entity32("ratings")
|
|
3734
3741
|
], Rating);
|