@experts_hub/shared 1.0.431 → 1.0.433
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/client-candidate-preference.entity.d.ts +3 -0
- package/dist/entities/f2f-interview.entity.d.ts +5 -2
- package/dist/entities/job-recommendation.entity.d.ts +2 -0
- package/dist/entities/job.entity.d.ts +2 -0
- package/dist/index.d.mts +22 -16
- package/dist/index.d.ts +22 -16
- package/dist/index.js +200 -175
- package/dist/index.mjs +215 -188
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1449,7 +1449,7 @@ import {
|
|
|
1449
1449
|
Entity as Entity55,
|
|
1450
1450
|
Column as Column56,
|
|
1451
1451
|
OneToMany as OneToMany19,
|
|
1452
|
-
OneToOne as
|
|
1452
|
+
OneToOne as OneToOne7,
|
|
1453
1453
|
Index as Index48,
|
|
1454
1454
|
ManyToOne as ManyToOne49,
|
|
1455
1455
|
JoinColumn as JoinColumn50
|
|
@@ -2717,11 +2717,18 @@ __decorateClass([
|
|
|
2717
2717
|
__decorateClass([
|
|
2718
2718
|
Column18({ name: "round", type: "varchar", nullable: true })
|
|
2719
2719
|
], F2FInterview.prototype, "round", 2);
|
|
2720
|
+
__decorateClass([
|
|
2721
|
+
Column18({ name: "job_id", type: "integer", nullable: true })
|
|
2722
|
+
], F2FInterview.prototype, "jobId", 2);
|
|
2723
|
+
__decorateClass([
|
|
2724
|
+
ManyToOne16(() => Job, (job) => job.f2fInterviews, { nullable: true }),
|
|
2725
|
+
JoinColumn16({ name: "job_id" })
|
|
2726
|
+
], F2FInterview.prototype, "job", 2);
|
|
2720
2727
|
__decorateClass([
|
|
2721
2728
|
Column18({ name: "interview_id", type: "integer", nullable: true })
|
|
2722
2729
|
], F2FInterview.prototype, "interviewId", 2);
|
|
2723
2730
|
__decorateClass([
|
|
2724
|
-
ManyToOne16(() => Interview, (interview) => interview.
|
|
2731
|
+
ManyToOne16(() => Interview, (interview) => interview.f2fInterviews, { nullable: true }),
|
|
2725
2732
|
JoinColumn16({ name: "interview_id" })
|
|
2726
2733
|
], F2FInterview.prototype, "interview", 2);
|
|
2727
2734
|
__decorateClass([
|
|
@@ -2881,43 +2888,106 @@ Interview = __decorateClass([
|
|
|
2881
2888
|
], Interview);
|
|
2882
2889
|
|
|
2883
2890
|
// src/entities/job-recommendation.entity.ts
|
|
2891
|
+
import {
|
|
2892
|
+
Entity as Entity20,
|
|
2893
|
+
Column as Column21,
|
|
2894
|
+
Index as Index14,
|
|
2895
|
+
ManyToOne as ManyToOne19,
|
|
2896
|
+
JoinColumn as JoinColumn19,
|
|
2897
|
+
PrimaryGeneratedColumn as PrimaryGeneratedColumn5,
|
|
2898
|
+
OneToOne as OneToOne3
|
|
2899
|
+
} from "typeorm";
|
|
2900
|
+
|
|
2901
|
+
// src/entities/client-candidate-preference.entity.ts
|
|
2884
2902
|
import {
|
|
2885
2903
|
Entity as Entity19,
|
|
2886
2904
|
Column as Column20,
|
|
2887
2905
|
Index as Index13,
|
|
2888
2906
|
ManyToOne as ManyToOne18,
|
|
2889
2907
|
JoinColumn as JoinColumn18,
|
|
2890
|
-
|
|
2908
|
+
OneToOne as OneToOne2
|
|
2891
2909
|
} from "typeorm";
|
|
2910
|
+
var ClientCandidatePreferenceEnum = /* @__PURE__ */ ((ClientCandidatePreferenceEnum2) => {
|
|
2911
|
+
ClientCandidatePreferenceEnum2["NOT_SUITABLE"] = "NOT_SUITABLE";
|
|
2912
|
+
ClientCandidatePreferenceEnum2["SHORTLISTED"] = "SHORTLISTED";
|
|
2913
|
+
return ClientCandidatePreferenceEnum2;
|
|
2914
|
+
})(ClientCandidatePreferenceEnum || {});
|
|
2915
|
+
var ClientCandidatePreference = class extends BaseEntity {
|
|
2916
|
+
};
|
|
2917
|
+
__decorateClass([
|
|
2918
|
+
Column20({ name: "client_id", type: "integer" }),
|
|
2919
|
+
Index13()
|
|
2920
|
+
], ClientCandidatePreference.prototype, "clientId", 2);
|
|
2921
|
+
__decorateClass([
|
|
2922
|
+
ManyToOne18(() => User, (user) => user.clientPreferencesGiven),
|
|
2923
|
+
JoinColumn18({ name: "client_id" })
|
|
2924
|
+
], ClientCandidatePreference.prototype, "client", 2);
|
|
2925
|
+
__decorateClass([
|
|
2926
|
+
Column20({ name: "candidate_id", type: "integer" }),
|
|
2927
|
+
Index13()
|
|
2928
|
+
], ClientCandidatePreference.prototype, "candidateId", 2);
|
|
2929
|
+
__decorateClass([
|
|
2930
|
+
ManyToOne18(() => User, (user) => user.clientPreferencesReceived),
|
|
2931
|
+
JoinColumn18({ name: "candidate_id" })
|
|
2932
|
+
], ClientCandidatePreference.prototype, "candidate", 2);
|
|
2933
|
+
__decorateClass([
|
|
2934
|
+
Column20({ name: "job_id", type: "integer", nullable: true }),
|
|
2935
|
+
Index13()
|
|
2936
|
+
], ClientCandidatePreference.prototype, "jobId", 2);
|
|
2937
|
+
__decorateClass([
|
|
2938
|
+
ManyToOne18(() => Job, (job) => job.clientCandidatePreferences, { nullable: true }),
|
|
2939
|
+
JoinColumn18({ name: "job_id" })
|
|
2940
|
+
], ClientCandidatePreference.prototype, "job", 2);
|
|
2941
|
+
__decorateClass([
|
|
2942
|
+
Column20({ name: "recommendation_id", type: "integer", nullable: true }),
|
|
2943
|
+
Index13()
|
|
2944
|
+
], ClientCandidatePreference.prototype, "recommendationId", 2);
|
|
2945
|
+
__decorateClass([
|
|
2946
|
+
OneToOne2(() => JobRecommendation, (jobRecommendation) => jobRecommendation.preference, { nullable: true }),
|
|
2947
|
+
JoinColumn18({ name: "recommendation_id" })
|
|
2948
|
+
], ClientCandidatePreference.prototype, "recommendation", 2);
|
|
2949
|
+
__decorateClass([
|
|
2950
|
+
Column20({
|
|
2951
|
+
name: "preference",
|
|
2952
|
+
type: "enum",
|
|
2953
|
+
enum: ClientCandidatePreferenceEnum
|
|
2954
|
+
}),
|
|
2955
|
+
Index13()
|
|
2956
|
+
], ClientCandidatePreference.prototype, "preference", 2);
|
|
2957
|
+
ClientCandidatePreference = __decorateClass([
|
|
2958
|
+
Entity19("client_candidate_preferences")
|
|
2959
|
+
], ClientCandidatePreference);
|
|
2960
|
+
|
|
2961
|
+
// src/entities/job-recommendation.entity.ts
|
|
2892
2962
|
var JobRecommendation = class {
|
|
2893
2963
|
};
|
|
2894
2964
|
__decorateClass([
|
|
2895
2965
|
PrimaryGeneratedColumn5("increment", { type: "integer" })
|
|
2896
2966
|
], JobRecommendation.prototype, "id", 2);
|
|
2897
2967
|
__decorateClass([
|
|
2898
|
-
|
|
2899
|
-
|
|
2968
|
+
Column21({ name: "job_id", type: "integer" }),
|
|
2969
|
+
Index14()
|
|
2900
2970
|
], JobRecommendation.prototype, "jobId", 2);
|
|
2901
2971
|
__decorateClass([
|
|
2902
|
-
|
|
2903
|
-
|
|
2972
|
+
ManyToOne19(() => Job, (job) => job.recommendations, { onDelete: "CASCADE" }),
|
|
2973
|
+
JoinColumn19({ name: "job_id" })
|
|
2904
2974
|
], JobRecommendation.prototype, "job", 2);
|
|
2905
2975
|
__decorateClass([
|
|
2906
|
-
|
|
2907
|
-
|
|
2976
|
+
Column21({ name: "freelancer_id", type: "integer" }),
|
|
2977
|
+
Index14()
|
|
2908
2978
|
], JobRecommendation.prototype, "freelancerId", 2);
|
|
2909
2979
|
__decorateClass([
|
|
2910
|
-
|
|
2911
|
-
|
|
2980
|
+
Column21({ name: "client_id", type: "integer" }),
|
|
2981
|
+
Index14()
|
|
2912
2982
|
], JobRecommendation.prototype, "clientId", 2);
|
|
2913
2983
|
__decorateClass([
|
|
2914
|
-
|
|
2984
|
+
Column21({ name: "match_score", type: "numeric", precision: 5, scale: 2 })
|
|
2915
2985
|
], JobRecommendation.prototype, "matchScore", 2);
|
|
2916
2986
|
__decorateClass([
|
|
2917
|
-
|
|
2987
|
+
Column21({ name: "match_score_summary", type: "jsonb", nullable: true })
|
|
2918
2988
|
], JobRecommendation.prototype, "matchScoreSummary", 2);
|
|
2919
2989
|
__decorateClass([
|
|
2920
|
-
|
|
2990
|
+
Column21({
|
|
2921
2991
|
name: "matching_skills",
|
|
2922
2992
|
type: "text",
|
|
2923
2993
|
array: true,
|
|
@@ -2925,10 +2995,10 @@ __decorateClass([
|
|
|
2925
2995
|
})
|
|
2926
2996
|
], JobRecommendation.prototype, "matchingSkills", 2);
|
|
2927
2997
|
__decorateClass([
|
|
2928
|
-
|
|
2998
|
+
Column21({ name: "matching_skills_count", type: "int", nullable: true })
|
|
2929
2999
|
], JobRecommendation.prototype, "matchingSkillsCount", 2);
|
|
2930
3000
|
__decorateClass([
|
|
2931
|
-
|
|
3001
|
+
Column21({
|
|
2932
3002
|
name: "required_skills",
|
|
2933
3003
|
type: "text",
|
|
2934
3004
|
array: true,
|
|
@@ -2936,21 +3006,24 @@ __decorateClass([
|
|
|
2936
3006
|
})
|
|
2937
3007
|
], JobRecommendation.prototype, "requiredSkills", 2);
|
|
2938
3008
|
__decorateClass([
|
|
2939
|
-
|
|
3009
|
+
Column21({ name: "required_skills_count", type: "int", nullable: true })
|
|
2940
3010
|
], JobRecommendation.prototype, "requiredSkillsCount", 2);
|
|
2941
3011
|
__decorateClass([
|
|
2942
|
-
|
|
3012
|
+
Column21({
|
|
2943
3013
|
name: "last_calculated_at",
|
|
2944
3014
|
type: "timestamp with time zone",
|
|
2945
3015
|
nullable: true
|
|
2946
3016
|
})
|
|
2947
3017
|
], JobRecommendation.prototype, "lastCalculatedAt", 2);
|
|
3018
|
+
__decorateClass([
|
|
3019
|
+
OneToOne3(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.recommendation)
|
|
3020
|
+
], JobRecommendation.prototype, "preference", 2);
|
|
2948
3021
|
JobRecommendation = __decorateClass([
|
|
2949
|
-
|
|
3022
|
+
Entity20("job_recommendations")
|
|
2950
3023
|
], JobRecommendation);
|
|
2951
3024
|
|
|
2952
3025
|
// src/entities/contract.entity.ts
|
|
2953
|
-
import { Entity as
|
|
3026
|
+
import { Entity as Entity21, Column as Column22, Index as Index15, ManyToOne as ManyToOne20, JoinColumn as JoinColumn20 } from "typeorm";
|
|
2954
3027
|
var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
|
|
2955
3028
|
ContractStatusEnum2["GENERATED"] = "GENERATED";
|
|
2956
3029
|
ContractStatusEnum2["DRAFTED"] = "DRAFTED";
|
|
@@ -2973,37 +3046,37 @@ var Contract = class extends BaseEntity {
|
|
|
2973
3046
|
// stores the positions JSON
|
|
2974
3047
|
};
|
|
2975
3048
|
__decorateClass([
|
|
2976
|
-
|
|
3049
|
+
Column22({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
|
|
2977
3050
|
], Contract.prototype, "contractUniqueId", 2);
|
|
2978
3051
|
__decorateClass([
|
|
2979
|
-
|
|
2980
|
-
|
|
3052
|
+
Column22({ name: "job_id", type: "integer", nullable: true }),
|
|
3053
|
+
Index15()
|
|
2981
3054
|
], Contract.prototype, "jobId", 2);
|
|
2982
3055
|
__decorateClass([
|
|
2983
|
-
|
|
2984
|
-
|
|
3056
|
+
ManyToOne20(() => Job, (job) => job.contracts),
|
|
3057
|
+
JoinColumn20({ name: "job_id" })
|
|
2985
3058
|
], Contract.prototype, "job", 2);
|
|
2986
3059
|
__decorateClass([
|
|
2987
|
-
|
|
2988
|
-
|
|
3060
|
+
Column22({ name: "client_id", type: "integer", nullable: true }),
|
|
3061
|
+
Index15()
|
|
2989
3062
|
], Contract.prototype, "clientId", 2);
|
|
2990
3063
|
__decorateClass([
|
|
2991
|
-
|
|
2992
|
-
|
|
3064
|
+
ManyToOne20(() => User, (user) => user.clientContracts),
|
|
3065
|
+
JoinColumn20({ name: "client_id" })
|
|
2993
3066
|
], Contract.prototype, "client", 2);
|
|
2994
3067
|
__decorateClass([
|
|
2995
|
-
|
|
2996
|
-
|
|
3068
|
+
Column22({ name: "freelancer_id", type: "integer", nullable: true }),
|
|
3069
|
+
Index15()
|
|
2997
3070
|
], Contract.prototype, "freelancerId", 2);
|
|
2998
3071
|
__decorateClass([
|
|
2999
|
-
|
|
3000
|
-
|
|
3072
|
+
ManyToOne20(() => User, (user) => user.freelancerContracts),
|
|
3073
|
+
JoinColumn20({ name: "freelancer_id" })
|
|
3001
3074
|
], Contract.prototype, "freelancer", 2);
|
|
3002
3075
|
__decorateClass([
|
|
3003
|
-
|
|
3076
|
+
Column22({ name: "duration", type: "integer", nullable: true })
|
|
3004
3077
|
], Contract.prototype, "duration", 2);
|
|
3005
3078
|
__decorateClass([
|
|
3006
|
-
|
|
3079
|
+
Column22({
|
|
3007
3080
|
name: "status",
|
|
3008
3081
|
type: "enum",
|
|
3009
3082
|
enum: ContractStatusEnum,
|
|
@@ -3011,7 +3084,7 @@ __decorateClass([
|
|
|
3011
3084
|
})
|
|
3012
3085
|
], Contract.prototype, "status", 2);
|
|
3013
3086
|
__decorateClass([
|
|
3014
|
-
|
|
3087
|
+
Column22({
|
|
3015
3088
|
name: "type",
|
|
3016
3089
|
type: "enum",
|
|
3017
3090
|
enum: ContractTypeEnum,
|
|
@@ -3019,74 +3092,74 @@ __decorateClass([
|
|
|
3019
3092
|
})
|
|
3020
3093
|
], Contract.prototype, "type", 2);
|
|
3021
3094
|
__decorateClass([
|
|
3022
|
-
|
|
3095
|
+
Column22({
|
|
3023
3096
|
name: "start_date",
|
|
3024
3097
|
type: "timestamp with time zone",
|
|
3025
3098
|
nullable: true
|
|
3026
3099
|
})
|
|
3027
3100
|
], Contract.prototype, "startDate", 2);
|
|
3028
3101
|
__decorateClass([
|
|
3029
|
-
|
|
3102
|
+
Column22({
|
|
3030
3103
|
name: "end_date",
|
|
3031
3104
|
type: "timestamp with time zone",
|
|
3032
3105
|
nullable: true
|
|
3033
3106
|
})
|
|
3034
3107
|
], Contract.prototype, "endDate", 2);
|
|
3035
3108
|
__decorateClass([
|
|
3036
|
-
|
|
3109
|
+
Column22({ name: "original_document_url", type: "varchar", nullable: true })
|
|
3037
3110
|
], Contract.prototype, "originalDocumentUrl", 2);
|
|
3038
3111
|
__decorateClass([
|
|
3039
|
-
|
|
3112
|
+
Column22({ name: "contract_document_url", type: "varchar", nullable: true })
|
|
3040
3113
|
], Contract.prototype, "contractDocumentUrl", 2);
|
|
3041
3114
|
__decorateClass([
|
|
3042
|
-
|
|
3115
|
+
Column22({
|
|
3043
3116
|
name: "client_signed_at",
|
|
3044
3117
|
type: "timestamp with time zone",
|
|
3045
3118
|
nullable: true
|
|
3046
3119
|
})
|
|
3047
3120
|
], Contract.prototype, "clientSignedAt", 2);
|
|
3048
3121
|
__decorateClass([
|
|
3049
|
-
|
|
3122
|
+
Column22({ name: "freelancer_viewed", type: "boolean", default: false })
|
|
3050
3123
|
], Contract.prototype, "freelancerViewed", 2);
|
|
3051
3124
|
__decorateClass([
|
|
3052
|
-
|
|
3125
|
+
Column22({
|
|
3053
3126
|
name: "freelancer_viewed_at",
|
|
3054
3127
|
type: "timestamp with time zone",
|
|
3055
3128
|
nullable: true
|
|
3056
3129
|
})
|
|
3057
3130
|
], Contract.prototype, "freelancerViewedAt", 2);
|
|
3058
3131
|
__decorateClass([
|
|
3059
|
-
|
|
3132
|
+
Column22({
|
|
3060
3133
|
name: "freelancer_signed_at",
|
|
3061
3134
|
type: "timestamp with time zone",
|
|
3062
3135
|
nullable: true
|
|
3063
3136
|
})
|
|
3064
3137
|
], Contract.prototype, "freelancerSignedAt", 2);
|
|
3065
3138
|
__decorateClass([
|
|
3066
|
-
|
|
3139
|
+
Column22({
|
|
3067
3140
|
name: "rejectd_at",
|
|
3068
3141
|
type: "timestamp with time zone",
|
|
3069
3142
|
nullable: true
|
|
3070
3143
|
})
|
|
3071
3144
|
], Contract.prototype, "rejectedAt", 2);
|
|
3072
3145
|
__decorateClass([
|
|
3073
|
-
|
|
3146
|
+
Column22({ name: "reject_reason", type: "varchar", nullable: true })
|
|
3074
3147
|
], Contract.prototype, "rejectReason", 2);
|
|
3075
3148
|
__decorateClass([
|
|
3076
|
-
|
|
3149
|
+
Column22({ name: "is_work_contract_sent", type: "boolean", default: false })
|
|
3077
3150
|
], Contract.prototype, "isWorkContractSent", 2);
|
|
3078
3151
|
__decorateClass([
|
|
3079
|
-
|
|
3152
|
+
Column22({ name: "is_escrow_deposited", type: "boolean", default: false })
|
|
3080
3153
|
], Contract.prototype, "isEscrowDeposited", 2);
|
|
3081
3154
|
__decorateClass([
|
|
3082
|
-
|
|
3155
|
+
Column22({ name: "signature_positions", type: "jsonb", nullable: true })
|
|
3083
3156
|
], Contract.prototype, "signaturePositions", 2);
|
|
3084
3157
|
Contract = __decorateClass([
|
|
3085
|
-
|
|
3158
|
+
Entity21("contracts")
|
|
3086
3159
|
], Contract);
|
|
3087
3160
|
|
|
3088
3161
|
// src/entities/timesheets.entity.ts
|
|
3089
|
-
import { Entity as
|
|
3162
|
+
import { Entity as Entity22, Column as Column23, Index as Index16, JoinColumn as JoinColumn21, ManyToOne as ManyToOne21 } from "typeorm";
|
|
3090
3163
|
var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
|
|
3091
3164
|
TimesheetStatusEnum2["DRAFT"] = "DRAFT";
|
|
3092
3165
|
TimesheetStatusEnum2["SEND"] = "SEND";
|
|
@@ -3099,148 +3172,148 @@ var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
|
|
|
3099
3172
|
var Timesheet = class extends BaseEntity {
|
|
3100
3173
|
};
|
|
3101
3174
|
__decorateClass([
|
|
3102
|
-
|
|
3103
|
-
|
|
3175
|
+
Column23({ name: "job_id", type: "integer", nullable: true }),
|
|
3176
|
+
Index16()
|
|
3104
3177
|
], Timesheet.prototype, "jobId", 2);
|
|
3105
3178
|
__decorateClass([
|
|
3106
|
-
|
|
3107
|
-
|
|
3179
|
+
ManyToOne21(() => Job, (job) => job.timesheets),
|
|
3180
|
+
JoinColumn21({ name: "job_id" })
|
|
3108
3181
|
], Timesheet.prototype, "job", 2);
|
|
3109
3182
|
__decorateClass([
|
|
3110
|
-
|
|
3111
|
-
|
|
3183
|
+
Column23({ name: "client_id", type: "integer", nullable: true }),
|
|
3184
|
+
Index16()
|
|
3112
3185
|
], Timesheet.prototype, "clientId", 2);
|
|
3113
3186
|
__decorateClass([
|
|
3114
|
-
|
|
3115
|
-
|
|
3187
|
+
ManyToOne21(() => User, (user) => user.clientTimesheets),
|
|
3188
|
+
JoinColumn21({ name: "client_id" })
|
|
3116
3189
|
], Timesheet.prototype, "client", 2);
|
|
3117
3190
|
__decorateClass([
|
|
3118
|
-
|
|
3119
|
-
|
|
3191
|
+
Column23({ name: "freelancer_id", type: "integer", nullable: true }),
|
|
3192
|
+
Index16()
|
|
3120
3193
|
], Timesheet.prototype, "freelancerId", 2);
|
|
3121
3194
|
__decorateClass([
|
|
3122
|
-
|
|
3123
|
-
|
|
3195
|
+
ManyToOne21(() => User, (user) => user.freelancerTimesheets),
|
|
3196
|
+
JoinColumn21({ name: "freelancer_id" })
|
|
3124
3197
|
], Timesheet.prototype, "freelancer", 2);
|
|
3125
3198
|
__decorateClass([
|
|
3126
|
-
|
|
3199
|
+
Column23({
|
|
3127
3200
|
name: "start_date",
|
|
3128
3201
|
type: "date",
|
|
3129
3202
|
nullable: true
|
|
3130
3203
|
})
|
|
3131
3204
|
], Timesheet.prototype, "startDate", 2);
|
|
3132
3205
|
__decorateClass([
|
|
3133
|
-
|
|
3206
|
+
Column23({
|
|
3134
3207
|
name: "end_date",
|
|
3135
3208
|
type: "date",
|
|
3136
3209
|
nullable: true
|
|
3137
3210
|
})
|
|
3138
3211
|
], Timesheet.prototype, "endDate", 2);
|
|
3139
3212
|
__decorateClass([
|
|
3140
|
-
|
|
3213
|
+
Column23({ name: "start_time", type: "varchar", nullable: true })
|
|
3141
3214
|
], Timesheet.prototype, "startTime", 2);
|
|
3142
3215
|
__decorateClass([
|
|
3143
|
-
|
|
3216
|
+
Column23({ name: "end_time", type: "varchar", nullable: true })
|
|
3144
3217
|
], Timesheet.prototype, "endTime", 2);
|
|
3145
3218
|
__decorateClass([
|
|
3146
|
-
|
|
3219
|
+
Column23({ name: "worked_hours", type: "varchar", nullable: true })
|
|
3147
3220
|
], Timesheet.prototype, "workedHours", 2);
|
|
3148
3221
|
__decorateClass([
|
|
3149
|
-
|
|
3222
|
+
Column23({ name: "task_id", type: "integer", nullable: true })
|
|
3150
3223
|
], Timesheet.prototype, "taskId", 2);
|
|
3151
3224
|
__decorateClass([
|
|
3152
|
-
|
|
3225
|
+
Column23({ name: "task_name", type: "varchar", nullable: true })
|
|
3153
3226
|
], Timesheet.prototype, "taskName", 2);
|
|
3154
3227
|
__decorateClass([
|
|
3155
|
-
|
|
3228
|
+
Column23({ name: "description", type: "varchar", nullable: true })
|
|
3156
3229
|
], Timesheet.prototype, "description", 2);
|
|
3157
3230
|
__decorateClass([
|
|
3158
|
-
|
|
3231
|
+
Column23({ name: "week_start_date", type: "date", nullable: true })
|
|
3159
3232
|
], Timesheet.prototype, "weekStartDate", 2);
|
|
3160
3233
|
__decorateClass([
|
|
3161
|
-
|
|
3234
|
+
Column23({ name: "week_end_date", type: "date", nullable: true })
|
|
3162
3235
|
], Timesheet.prototype, "weekEndDate", 2);
|
|
3163
3236
|
__decorateClass([
|
|
3164
|
-
|
|
3237
|
+
Column23({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
|
|
3165
3238
|
], Timesheet.prototype, "rejectedAt", 2);
|
|
3166
3239
|
__decorateClass([
|
|
3167
|
-
|
|
3240
|
+
Column23({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
|
|
3168
3241
|
], Timesheet.prototype, "submittedAt", 2);
|
|
3169
3242
|
__decorateClass([
|
|
3170
|
-
|
|
3243
|
+
Column23({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
|
|
3171
3244
|
], Timesheet.prototype, "resubmittedAt", 2);
|
|
3172
3245
|
__decorateClass([
|
|
3173
|
-
|
|
3246
|
+
Column23({ name: "approved_at", type: "timestamp with time zone", nullable: true })
|
|
3174
3247
|
], Timesheet.prototype, "approvedAt", 2);
|
|
3175
3248
|
__decorateClass([
|
|
3176
|
-
|
|
3249
|
+
Column23({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
|
|
3177
3250
|
], Timesheet.prototype, "status", 2);
|
|
3178
3251
|
__decorateClass([
|
|
3179
|
-
|
|
3252
|
+
Column23({ name: "client_send_back_reason", type: "varchar", nullable: true })
|
|
3180
3253
|
], Timesheet.prototype, "clientSendBackReason", 2);
|
|
3181
3254
|
Timesheet = __decorateClass([
|
|
3182
|
-
|
|
3255
|
+
Entity22("timesheets")
|
|
3183
3256
|
], Timesheet);
|
|
3184
3257
|
|
|
3185
3258
|
// src/entities/timesheet-line.entity.ts
|
|
3186
|
-
import { Entity as
|
|
3259
|
+
import { Entity as Entity25, Column as Column26, Index as Index19, JoinColumn as JoinColumn24, OneToMany as OneToMany9, ManyToOne as ManyToOne24 } from "typeorm";
|
|
3187
3260
|
|
|
3188
3261
|
// src/entities/timesheet-logs.entity.ts
|
|
3189
|
-
import { Entity as
|
|
3262
|
+
import { Entity as Entity23, Column as Column24, Index as Index17, ManyToOne as ManyToOne22, JoinColumn as JoinColumn22 } from "typeorm";
|
|
3190
3263
|
var TimesheetLogs = class extends BaseEntity {
|
|
3191
3264
|
};
|
|
3192
3265
|
__decorateClass([
|
|
3193
|
-
|
|
3194
|
-
|
|
3266
|
+
Column24({ name: "timesheet_line_id", type: "integer", nullable: false }),
|
|
3267
|
+
Index17()
|
|
3195
3268
|
], TimesheetLogs.prototype, "timesheetLineId", 2);
|
|
3196
3269
|
__decorateClass([
|
|
3197
|
-
|
|
3198
|
-
|
|
3270
|
+
ManyToOne22(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLogs),
|
|
3271
|
+
JoinColumn22({ name: "timesheet_line_id" })
|
|
3199
3272
|
], TimesheetLogs.prototype, "timesheetLine", 2);
|
|
3200
3273
|
__decorateClass([
|
|
3201
|
-
|
|
3274
|
+
Column24({
|
|
3202
3275
|
name: "start_date",
|
|
3203
3276
|
type: "date",
|
|
3204
3277
|
nullable: true
|
|
3205
3278
|
})
|
|
3206
3279
|
], TimesheetLogs.prototype, "startDate", 2);
|
|
3207
3280
|
__decorateClass([
|
|
3208
|
-
|
|
3281
|
+
Column24({
|
|
3209
3282
|
name: "end_date",
|
|
3210
3283
|
type: "date",
|
|
3211
3284
|
nullable: true
|
|
3212
3285
|
})
|
|
3213
3286
|
], TimesheetLogs.prototype, "endDate", 2);
|
|
3214
3287
|
__decorateClass([
|
|
3215
|
-
|
|
3288
|
+
Column24({ name: "start_time", type: "varchar", nullable: true })
|
|
3216
3289
|
], TimesheetLogs.prototype, "startTime", 2);
|
|
3217
3290
|
__decorateClass([
|
|
3218
|
-
|
|
3291
|
+
Column24({ name: "end_time", type: "varchar", nullable: true })
|
|
3219
3292
|
], TimesheetLogs.prototype, "endTime", 2);
|
|
3220
3293
|
__decorateClass([
|
|
3221
|
-
|
|
3294
|
+
Column24({ name: "worked_hours", type: "varchar", nullable: true })
|
|
3222
3295
|
], TimesheetLogs.prototype, "workedHours", 2);
|
|
3223
3296
|
__decorateClass([
|
|
3224
|
-
|
|
3297
|
+
Column24({ name: "task_id", type: "integer", nullable: true })
|
|
3225
3298
|
], TimesheetLogs.prototype, "taskId", 2);
|
|
3226
3299
|
__decorateClass([
|
|
3227
|
-
|
|
3300
|
+
Column24({ name: "project_name", type: "varchar", nullable: true })
|
|
3228
3301
|
], TimesheetLogs.prototype, "projectName", 2);
|
|
3229
3302
|
__decorateClass([
|
|
3230
|
-
|
|
3303
|
+
Column24({ name: "deliverable", type: "varchar", nullable: true })
|
|
3231
3304
|
], TimesheetLogs.prototype, "deliverable", 2);
|
|
3232
3305
|
__decorateClass([
|
|
3233
|
-
|
|
3306
|
+
Column24({ name: "task_name", type: "varchar", nullable: true })
|
|
3234
3307
|
], TimesheetLogs.prototype, "taskName", 2);
|
|
3235
3308
|
__decorateClass([
|
|
3236
|
-
|
|
3309
|
+
Column24({ name: "description", type: "varchar", nullable: true })
|
|
3237
3310
|
], TimesheetLogs.prototype, "description", 2);
|
|
3238
3311
|
TimesheetLogs = __decorateClass([
|
|
3239
|
-
|
|
3312
|
+
Entity23("timesheet_logs")
|
|
3240
3313
|
], TimesheetLogs);
|
|
3241
3314
|
|
|
3242
3315
|
// src/entities/timesheet-line-history.entity.ts
|
|
3243
|
-
import { Entity as
|
|
3316
|
+
import { Entity as Entity24, Column as Column25, Index as Index18, ManyToOne as ManyToOne23, JoinColumn as JoinColumn23 } from "typeorm";
|
|
3244
3317
|
var TimesheetLineHistoryStatusEnum = /* @__PURE__ */ ((TimesheetLineHistoryStatusEnum2) => {
|
|
3245
3318
|
TimesheetLineHistoryStatusEnum2["DRAFT"] = "DRAFT";
|
|
3246
3319
|
TimesheetLineHistoryStatusEnum2["SEND"] = "SEND";
|
|
@@ -3264,19 +3337,19 @@ var TimesheetSubmissionActionEnum = /* @__PURE__ */ ((TimesheetSubmissionActionE
|
|
|
3264
3337
|
var TimesheetLineHistory = class extends BaseEntity {
|
|
3265
3338
|
};
|
|
3266
3339
|
__decorateClass([
|
|
3267
|
-
|
|
3268
|
-
|
|
3340
|
+
Column25({ name: "timesheet_line_id", type: "integer", nullable: false }),
|
|
3341
|
+
Index18()
|
|
3269
3342
|
], TimesheetLineHistory.prototype, "timesheetLineId", 2);
|
|
3270
3343
|
__decorateClass([
|
|
3271
|
-
|
|
3272
|
-
|
|
3344
|
+
ManyToOne23(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLineHistory),
|
|
3345
|
+
JoinColumn23({ name: "timesheet_line_id" })
|
|
3273
3346
|
], TimesheetLineHistory.prototype, "timesheetLine", 2);
|
|
3274
3347
|
__decorateClass([
|
|
3275
|
-
|
|
3276
|
-
|
|
3348
|
+
Column25({ name: "changed_by", type: "integer", nullable: true }),
|
|
3349
|
+
Index18()
|
|
3277
3350
|
], TimesheetLineHistory.prototype, "changedBy", 2);
|
|
3278
3351
|
__decorateClass([
|
|
3279
|
-
|
|
3352
|
+
Column25({
|
|
3280
3353
|
name: "previous_status",
|
|
3281
3354
|
type: "enum",
|
|
3282
3355
|
enum: TimesheetLineHistoryStatusEnum,
|
|
@@ -3284,7 +3357,7 @@ __decorateClass([
|
|
|
3284
3357
|
})
|
|
3285
3358
|
], TimesheetLineHistory.prototype, "previousStatus", 2);
|
|
3286
3359
|
__decorateClass([
|
|
3287
|
-
|
|
3360
|
+
Column25({
|
|
3288
3361
|
name: "new_status",
|
|
3289
3362
|
type: "enum",
|
|
3290
3363
|
enum: TimesheetLineHistoryStatusEnum,
|
|
@@ -3292,7 +3365,7 @@ __decorateClass([
|
|
|
3292
3365
|
})
|
|
3293
3366
|
], TimesheetLineHistory.prototype, "newStatus", 2);
|
|
3294
3367
|
__decorateClass([
|
|
3295
|
-
|
|
3368
|
+
Column25({
|
|
3296
3369
|
name: "action_type",
|
|
3297
3370
|
type: "enum",
|
|
3298
3371
|
enum: TimesheetSubmissionActionEnum,
|
|
@@ -3300,10 +3373,10 @@ __decorateClass([
|
|
|
3300
3373
|
})
|
|
3301
3374
|
], TimesheetLineHistory.prototype, "actionType", 2);
|
|
3302
3375
|
__decorateClass([
|
|
3303
|
-
|
|
3376
|
+
Column25({ name: "remarks", type: "varchar", nullable: true })
|
|
3304
3377
|
], TimesheetLineHistory.prototype, "remarks", 2);
|
|
3305
3378
|
TimesheetLineHistory = __decorateClass([
|
|
3306
|
-
|
|
3379
|
+
Entity24("timesheet_line_histories")
|
|
3307
3380
|
], TimesheetLineHistory);
|
|
3308
3381
|
|
|
3309
3382
|
// src/entities/timesheet-line.entity.ts
|
|
@@ -3321,28 +3394,28 @@ var TimesheetLineStatusEnum = /* @__PURE__ */ ((TimesheetLineStatusEnum2) => {
|
|
|
3321
3394
|
var TimesheetLine = class extends BaseEntity {
|
|
3322
3395
|
};
|
|
3323
3396
|
__decorateClass([
|
|
3324
|
-
|
|
3325
|
-
|
|
3397
|
+
Column26({ name: "job_id", type: "integer", nullable: true }),
|
|
3398
|
+
Index19()
|
|
3326
3399
|
], TimesheetLine.prototype, "jobId", 2);
|
|
3327
3400
|
__decorateClass([
|
|
3328
|
-
|
|
3329
|
-
|
|
3401
|
+
ManyToOne24(() => Job, (job) => job.timesheetLine),
|
|
3402
|
+
JoinColumn24({ name: "job_id" })
|
|
3330
3403
|
], TimesheetLine.prototype, "job", 2);
|
|
3331
3404
|
__decorateClass([
|
|
3332
|
-
|
|
3333
|
-
|
|
3405
|
+
Column26({ name: "client_id", type: "integer", nullable: true }),
|
|
3406
|
+
Index19()
|
|
3334
3407
|
], TimesheetLine.prototype, "clientId", 2);
|
|
3335
3408
|
__decorateClass([
|
|
3336
|
-
|
|
3337
|
-
|
|
3409
|
+
ManyToOne24(() => User, (user) => user.clientTimesheetLine),
|
|
3410
|
+
JoinColumn24({ name: "client_id" })
|
|
3338
3411
|
], TimesheetLine.prototype, "client", 2);
|
|
3339
3412
|
__decorateClass([
|
|
3340
|
-
|
|
3341
|
-
|
|
3413
|
+
Column26({ name: "freelancer_id", type: "integer", nullable: true }),
|
|
3414
|
+
Index19()
|
|
3342
3415
|
], TimesheetLine.prototype, "freelancerId", 2);
|
|
3343
3416
|
__decorateClass([
|
|
3344
|
-
|
|
3345
|
-
|
|
3417
|
+
ManyToOne24(() => User, (user) => user.freelancerTimesheetLine),
|
|
3418
|
+
JoinColumn24({ name: "freelancer_id" })
|
|
3346
3419
|
], TimesheetLine.prototype, "freelancer", 2);
|
|
3347
3420
|
__decorateClass([
|
|
3348
3421
|
OneToMany9(() => TimesheetLogs, (timesheetLogs) => timesheetLogs.timesheetLine)
|
|
@@ -3351,89 +3424,38 @@ __decorateClass([
|
|
|
3351
3424
|
OneToMany9(() => TimesheetLineHistory, (timesheetLineHistory) => timesheetLineHistory.timesheetLine)
|
|
3352
3425
|
], TimesheetLine.prototype, "timesheetLineHistory", 2);
|
|
3353
3426
|
__decorateClass([
|
|
3354
|
-
|
|
3427
|
+
Column26({ name: "unique_id", type: "varchar", nullable: true })
|
|
3355
3428
|
], TimesheetLine.prototype, "uniqueId", 2);
|
|
3356
3429
|
__decorateClass([
|
|
3357
|
-
|
|
3430
|
+
Column26({
|
|
3358
3431
|
name: "week_start_date",
|
|
3359
3432
|
type: "date",
|
|
3360
3433
|
nullable: true
|
|
3361
3434
|
})
|
|
3362
3435
|
], TimesheetLine.prototype, "weekStartDate", 2);
|
|
3363
3436
|
__decorateClass([
|
|
3364
|
-
|
|
3437
|
+
Column26({
|
|
3365
3438
|
name: "week_end_date",
|
|
3366
3439
|
type: "date",
|
|
3367
3440
|
nullable: true
|
|
3368
3441
|
})
|
|
3369
3442
|
], TimesheetLine.prototype, "weekEndDate", 2);
|
|
3370
3443
|
__decorateClass([
|
|
3371
|
-
|
|
3444
|
+
Column26({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
|
|
3372
3445
|
], TimesheetLine.prototype, "status", 2);
|
|
3373
3446
|
__decorateClass([
|
|
3374
|
-
|
|
3447
|
+
Column26({ name: "weekly_hours_sum", type: "varchar", nullable: true })
|
|
3375
3448
|
], TimesheetLine.prototype, "weeklyHoursSum", 2);
|
|
3376
3449
|
__decorateClass([
|
|
3377
|
-
|
|
3450
|
+
Column26({ name: "is_invoice_genrated", type: "boolean", default: false })
|
|
3378
3451
|
], TimesheetLine.prototype, "isInvoiceGenrated", 2);
|
|
3379
3452
|
__decorateClass([
|
|
3380
|
-
|
|
3453
|
+
Column26({ name: "is_invoice_approved", type: "boolean", default: false })
|
|
3381
3454
|
], TimesheetLine.prototype, "isInvoiceApproved", 2);
|
|
3382
3455
|
TimesheetLine = __decorateClass([
|
|
3383
|
-
|
|
3456
|
+
Entity25("timesheet_lines")
|
|
3384
3457
|
], TimesheetLine);
|
|
3385
3458
|
|
|
3386
|
-
// src/entities/client-candidate-preference.entity.ts
|
|
3387
|
-
import {
|
|
3388
|
-
Entity as Entity25,
|
|
3389
|
-
Column as Column26,
|
|
3390
|
-
Index as Index19,
|
|
3391
|
-
ManyToOne as ManyToOne24,
|
|
3392
|
-
JoinColumn as JoinColumn24
|
|
3393
|
-
} from "typeorm";
|
|
3394
|
-
var ClientCandidatePreferenceEnum = /* @__PURE__ */ ((ClientCandidatePreferenceEnum2) => {
|
|
3395
|
-
ClientCandidatePreferenceEnum2["NOT_SUITABLE"] = "NOT_SUITABLE";
|
|
3396
|
-
ClientCandidatePreferenceEnum2["SHORTLISTED"] = "SHORTLISTED";
|
|
3397
|
-
return ClientCandidatePreferenceEnum2;
|
|
3398
|
-
})(ClientCandidatePreferenceEnum || {});
|
|
3399
|
-
var ClientCandidatePreference = class extends BaseEntity {
|
|
3400
|
-
};
|
|
3401
|
-
__decorateClass([
|
|
3402
|
-
Column26({ name: "client_id", type: "integer" }),
|
|
3403
|
-
Index19()
|
|
3404
|
-
], ClientCandidatePreference.prototype, "clientId", 2);
|
|
3405
|
-
__decorateClass([
|
|
3406
|
-
ManyToOne24(() => User, (user) => user.clientPreferencesGiven),
|
|
3407
|
-
JoinColumn24({ name: "client_id" })
|
|
3408
|
-
], ClientCandidatePreference.prototype, "client", 2);
|
|
3409
|
-
__decorateClass([
|
|
3410
|
-
Column26({ name: "candidate_id", type: "integer" }),
|
|
3411
|
-
Index19()
|
|
3412
|
-
], ClientCandidatePreference.prototype, "candidateId", 2);
|
|
3413
|
-
__decorateClass([
|
|
3414
|
-
ManyToOne24(() => User, (user) => user.clientPreferencesReceived),
|
|
3415
|
-
JoinColumn24({ name: "candidate_id" })
|
|
3416
|
-
], ClientCandidatePreference.prototype, "candidate", 2);
|
|
3417
|
-
__decorateClass([
|
|
3418
|
-
Column26({ name: "job_id", type: "integer", nullable: true }),
|
|
3419
|
-
Index19()
|
|
3420
|
-
], ClientCandidatePreference.prototype, "jobId", 2);
|
|
3421
|
-
__decorateClass([
|
|
3422
|
-
ManyToOne24(() => Job, (job) => job.clientCandidatePreferences, { nullable: true }),
|
|
3423
|
-
JoinColumn24({ name: "job_id" })
|
|
3424
|
-
], ClientCandidatePreference.prototype, "job", 2);
|
|
3425
|
-
__decorateClass([
|
|
3426
|
-
Column26({
|
|
3427
|
-
name: "preference",
|
|
3428
|
-
type: "enum",
|
|
3429
|
-
enum: ClientCandidatePreferenceEnum
|
|
3430
|
-
}),
|
|
3431
|
-
Index19()
|
|
3432
|
-
], ClientCandidatePreference.prototype, "preference", 2);
|
|
3433
|
-
ClientCandidatePreference = __decorateClass([
|
|
3434
|
-
Entity25("client_candidate_preferences")
|
|
3435
|
-
], ClientCandidatePreference);
|
|
3436
|
-
|
|
3437
3459
|
// src/entities/invoice.entity.ts
|
|
3438
3460
|
import { Entity as Entity26, Column as Column27, Index as Index20, JoinColumn as JoinColumn25, ManyToOne as ManyToOne25 } from "typeorm";
|
|
3439
3461
|
var InvoiceStatusEnum = /* @__PURE__ */ ((InvoiceStatusEnum2) => {
|
|
@@ -3763,6 +3785,11 @@ __decorateClass([
|
|
|
3763
3785
|
cascade: true
|
|
3764
3786
|
})
|
|
3765
3787
|
], Job.prototype, "interviews", 2);
|
|
3788
|
+
__decorateClass([
|
|
3789
|
+
OneToMany10(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
|
|
3790
|
+
cascade: true
|
|
3791
|
+
})
|
|
3792
|
+
], Job.prototype, "f2fInterviews", 2);
|
|
3766
3793
|
__decorateClass([
|
|
3767
3794
|
OneToMany10(
|
|
3768
3795
|
() => JobRecommendation,
|
|
@@ -4694,7 +4721,7 @@ FreelancerResume = __decorateClass([
|
|
|
4694
4721
|
], FreelancerResume);
|
|
4695
4722
|
|
|
4696
4723
|
// src/entities/stripe-wallet.entity.ts
|
|
4697
|
-
import { Entity as Entity53, Column as Column54, Index as Index46, JoinColumn as JoinColumn48, OneToOne as
|
|
4724
|
+
import { Entity as Entity53, Column as Column54, Index as Index46, JoinColumn as JoinColumn48, OneToOne as OneToOne6, OneToMany as OneToMany18 } from "typeorm";
|
|
4698
4725
|
|
|
4699
4726
|
// src/entities/stripe-wallet-transaction.entity.ts
|
|
4700
4727
|
import { Entity as Entity52, Column as Column53, Index as Index45, ManyToOne as ManyToOne47, JoinColumn as JoinColumn47 } from "typeorm";
|
|
@@ -4794,7 +4821,7 @@ __decorateClass([
|
|
|
4794
4821
|
Index46()
|
|
4795
4822
|
], StripeWallet.prototype, "userId", 2);
|
|
4796
4823
|
__decorateClass([
|
|
4797
|
-
|
|
4824
|
+
OneToOne6(() => User, (user) => user.stripeWallet),
|
|
4798
4825
|
JoinColumn48({ name: "user_id" })
|
|
4799
4826
|
], StripeWallet.prototype, "user", 2);
|
|
4800
4827
|
__decorateClass([
|
|
@@ -5001,7 +5028,7 @@ __decorateClass([
|
|
|
5001
5028
|
OneToMany19(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
5002
5029
|
], User.prototype, "senseloafLogs", 2);
|
|
5003
5030
|
__decorateClass([
|
|
5004
|
-
|
|
5031
|
+
OneToOne7(() => CompanyProfile, (companyProfile) => companyProfile.user)
|
|
5005
5032
|
], User.prototype, "companyProfile", 2);
|
|
5006
5033
|
__decorateClass([
|
|
5007
5034
|
OneToMany19(() => CompanySkill, (companySkill) => companySkill.user)
|
|
@@ -5019,13 +5046,13 @@ __decorateClass([
|
|
|
5019
5046
|
OneToMany19(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
|
|
5020
5047
|
], User.prototype, "clientF2FInterviews", 2);
|
|
5021
5048
|
__decorateClass([
|
|
5022
|
-
|
|
5049
|
+
OneToOne7(
|
|
5023
5050
|
() => FreelancerProfile,
|
|
5024
5051
|
(freelancerProfile) => freelancerProfile.user
|
|
5025
5052
|
)
|
|
5026
5053
|
], User.prototype, "freelancerProfile", 2);
|
|
5027
5054
|
__decorateClass([
|
|
5028
|
-
|
|
5055
|
+
OneToOne7(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
|
|
5029
5056
|
], User.prototype, "freelancerResume", 2);
|
|
5030
5057
|
__decorateClass([
|
|
5031
5058
|
OneToMany19(
|
|
@@ -5076,7 +5103,7 @@ __decorateClass([
|
|
|
5076
5103
|
)
|
|
5077
5104
|
], User.prototype, "freelancerFramework", 2);
|
|
5078
5105
|
__decorateClass([
|
|
5079
|
-
|
|
5106
|
+
OneToOne7(
|
|
5080
5107
|
() => FreelancerDeclaration,
|
|
5081
5108
|
(freelancerDeclaration) => freelancerDeclaration.user
|
|
5082
5109
|
)
|
|
@@ -5127,10 +5154,10 @@ __decorateClass([
|
|
|
5127
5154
|
OneToMany19(() => Contract, (contract) => contract.freelancer)
|
|
5128
5155
|
], User.prototype, "freelancerContracts", 2);
|
|
5129
5156
|
__decorateClass([
|
|
5130
|
-
|
|
5157
|
+
OneToOne7(() => StripeWallet, (stripeWallet) => stripeWallet.user)
|
|
5131
5158
|
], User.prototype, "stripeWallet", 2);
|
|
5132
5159
|
__decorateClass([
|
|
5133
|
-
|
|
5160
|
+
OneToOne7(() => Signature, (signature) => signature.user)
|
|
5134
5161
|
], User.prototype, "signatures", 2);
|
|
5135
5162
|
__decorateClass([
|
|
5136
5163
|
OneToMany19(() => Timesheet, (timesheet) => timesheet.client)
|