@experts_hub/shared 1.0.342 → 1.0.343
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.
|
@@ -9,6 +9,7 @@ export declare enum F2fInterviewScheduleStatusEnum {
|
|
|
9
9
|
export declare class F2FInterviewSchedule extends BaseEntity {
|
|
10
10
|
f2fInterviewId: number;
|
|
11
11
|
f2fInterview: F2FInterview;
|
|
12
|
+
eventId: string;
|
|
12
13
|
meetingZoomLink: string;
|
|
13
14
|
meetingId: string;
|
|
14
15
|
meetingPasscode: string;
|
|
@@ -11,7 +11,8 @@ export declare enum F2fInterviewStatusEnum {
|
|
|
11
11
|
EXPIRED = "EXPIRED",
|
|
12
12
|
POSTPONED = "POSTPONED",
|
|
13
13
|
RESCHEDULED = "RESCHEDULED",
|
|
14
|
-
EXITED = "EXITED"
|
|
14
|
+
EXITED = "EXITED",
|
|
15
|
+
CANCELLED = "CANCELLED"
|
|
15
16
|
}
|
|
16
17
|
export declare class F2FInterview extends BaseEntity {
|
|
17
18
|
interviewUniqueId: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -918,6 +918,7 @@ declare enum F2fInterviewScheduleStatusEnum {
|
|
|
918
918
|
declare class F2FInterviewSchedule extends BaseEntity {
|
|
919
919
|
f2fInterviewId: number;
|
|
920
920
|
f2fInterview: F2FInterview;
|
|
921
|
+
eventId: string;
|
|
921
922
|
meetingZoomLink: string;
|
|
922
923
|
meetingId: string;
|
|
923
924
|
meetingPasscode: string;
|
|
@@ -936,7 +937,8 @@ declare enum F2fInterviewStatusEnum {
|
|
|
936
937
|
EXPIRED = "EXPIRED",
|
|
937
938
|
POSTPONED = "POSTPONED",
|
|
938
939
|
RESCHEDULED = "RESCHEDULED",
|
|
939
|
-
EXITED = "EXITED"
|
|
940
|
+
EXITED = "EXITED",
|
|
941
|
+
CANCELLED = "CANCELLED"
|
|
940
942
|
}
|
|
941
943
|
declare class F2FInterview extends BaseEntity {
|
|
942
944
|
interviewUniqueId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -918,6 +918,7 @@ declare enum F2fInterviewScheduleStatusEnum {
|
|
|
918
918
|
declare class F2FInterviewSchedule extends BaseEntity {
|
|
919
919
|
f2fInterviewId: number;
|
|
920
920
|
f2fInterview: F2FInterview;
|
|
921
|
+
eventId: string;
|
|
921
922
|
meetingZoomLink: string;
|
|
922
923
|
meetingId: string;
|
|
923
924
|
meetingPasscode: string;
|
|
@@ -936,7 +937,8 @@ declare enum F2fInterviewStatusEnum {
|
|
|
936
937
|
EXPIRED = "EXPIRED",
|
|
937
938
|
POSTPONED = "POSTPONED",
|
|
938
939
|
RESCHEDULED = "RESCHEDULED",
|
|
939
|
-
EXITED = "EXITED"
|
|
940
|
+
EXITED = "EXITED",
|
|
941
|
+
CANCELLED = "CANCELLED"
|
|
940
942
|
}
|
|
941
943
|
declare class F2FInterview extends BaseEntity {
|
|
942
944
|
interviewUniqueId: string;
|
package/dist/index.js
CHANGED
|
@@ -2609,6 +2609,10 @@ __decorateClass([
|
|
|
2609
2609
|
(0, import_typeorm17.ManyToOne)(() => F2FInterview, (f2fInterview) => f2fInterview.schedules),
|
|
2610
2610
|
(0, import_typeorm17.JoinColumn)({ name: "f2f_interview_id" })
|
|
2611
2611
|
], F2FInterviewSchedule.prototype, "f2fInterview", 2);
|
|
2612
|
+
__decorateClass([
|
|
2613
|
+
(0, import_typeorm17.Column)({ name: "event_id", type: "varchar", nullable: true }),
|
|
2614
|
+
(0, import_typeorm17.Index)()
|
|
2615
|
+
], F2FInterviewSchedule.prototype, "eventId", 2);
|
|
2612
2616
|
__decorateClass([
|
|
2613
2617
|
(0, import_typeorm17.Column)({ name: "zoom_link", type: "varchar", nullable: true })
|
|
2614
2618
|
], F2FInterviewSchedule.prototype, "meetingZoomLink", 2);
|
|
@@ -2660,6 +2664,7 @@ var F2fInterviewStatusEnum = /* @__PURE__ */ ((F2fInterviewStatusEnum2) => {
|
|
|
2660
2664
|
F2fInterviewStatusEnum2["POSTPONED"] = "POSTPONED";
|
|
2661
2665
|
F2fInterviewStatusEnum2["RESCHEDULED"] = "RESCHEDULED";
|
|
2662
2666
|
F2fInterviewStatusEnum2["EXITED"] = "EXITED";
|
|
2667
|
+
F2fInterviewStatusEnum2["CANCELLED"] = "CANCELLED";
|
|
2663
2668
|
return F2fInterviewStatusEnum2;
|
|
2664
2669
|
})(F2fInterviewStatusEnum || {});
|
|
2665
2670
|
var F2FInterview = class extends BaseEntity {
|
package/dist/index.mjs
CHANGED
|
@@ -1399,7 +1399,7 @@ import {
|
|
|
1399
1399
|
} from "class-validator";
|
|
1400
1400
|
|
|
1401
1401
|
// src/entities/rating.entity.ts
|
|
1402
|
-
import { Entity as Entity46, Column as Column47, ManyToOne as ManyToOne41, JoinColumn as JoinColumn41, Index as
|
|
1402
|
+
import { Entity as Entity46, Column as Column47, ManyToOne as ManyToOne41, JoinColumn as JoinColumn41, Index as Index39 } from "typeorm";
|
|
1403
1403
|
|
|
1404
1404
|
// src/entities/user.entity.ts
|
|
1405
1405
|
import {
|
|
@@ -1407,7 +1407,7 @@ import {
|
|
|
1407
1407
|
Column as Column46,
|
|
1408
1408
|
OneToMany as OneToMany16,
|
|
1409
1409
|
OneToOne as OneToOne2,
|
|
1410
|
-
Index as
|
|
1410
|
+
Index as Index38,
|
|
1411
1411
|
ManyToOne as ManyToOne40,
|
|
1412
1412
|
JoinColumn as JoinColumn40
|
|
1413
1413
|
} from "typeorm";
|
|
@@ -2126,7 +2126,7 @@ CompanyProfile = __decorateClass([
|
|
|
2126
2126
|
import {
|
|
2127
2127
|
Entity as Entity20,
|
|
2128
2128
|
Column as Column21,
|
|
2129
|
-
Index as
|
|
2129
|
+
Index as Index14,
|
|
2130
2130
|
ManyToOne as ManyToOne19,
|
|
2131
2131
|
JoinColumn as JoinColumn19,
|
|
2132
2132
|
OneToMany as OneToMany8
|
|
@@ -2277,7 +2277,7 @@ JobApplication = __decorateClass([
|
|
|
2277
2277
|
import {
|
|
2278
2278
|
Entity as Entity18,
|
|
2279
2279
|
Column as Column19,
|
|
2280
|
-
Index as
|
|
2280
|
+
Index as Index12,
|
|
2281
2281
|
ManyToOne as ManyToOne17,
|
|
2282
2282
|
JoinColumn as JoinColumn17,
|
|
2283
2283
|
OneToMany as OneToMany7
|
|
@@ -2551,7 +2551,8 @@ import {
|
|
|
2551
2551
|
Entity as Entity16,
|
|
2552
2552
|
Column as Column17,
|
|
2553
2553
|
ManyToOne as ManyToOne15,
|
|
2554
|
-
JoinColumn as JoinColumn15
|
|
2554
|
+
JoinColumn as JoinColumn15,
|
|
2555
|
+
Index as Index11
|
|
2555
2556
|
} from "typeorm";
|
|
2556
2557
|
var F2fInterviewScheduleStatusEnum = /* @__PURE__ */ ((F2fInterviewScheduleStatusEnum2) => {
|
|
2557
2558
|
F2fInterviewScheduleStatusEnum2["ACTIVE"] = "ACTIVE";
|
|
@@ -2569,6 +2570,10 @@ __decorateClass([
|
|
|
2569
2570
|
ManyToOne15(() => F2FInterview, (f2fInterview) => f2fInterview.schedules),
|
|
2570
2571
|
JoinColumn15({ name: "f2f_interview_id" })
|
|
2571
2572
|
], F2FInterviewSchedule.prototype, "f2fInterview", 2);
|
|
2573
|
+
__decorateClass([
|
|
2574
|
+
Column17({ name: "event_id", type: "varchar", nullable: true }),
|
|
2575
|
+
Index11()
|
|
2576
|
+
], F2FInterviewSchedule.prototype, "eventId", 2);
|
|
2572
2577
|
__decorateClass([
|
|
2573
2578
|
Column17({ name: "zoom_link", type: "varchar", nullable: true })
|
|
2574
2579
|
], F2FInterviewSchedule.prototype, "meetingZoomLink", 2);
|
|
@@ -2620,6 +2625,7 @@ var F2fInterviewStatusEnum = /* @__PURE__ */ ((F2fInterviewStatusEnum2) => {
|
|
|
2620
2625
|
F2fInterviewStatusEnum2["POSTPONED"] = "POSTPONED";
|
|
2621
2626
|
F2fInterviewStatusEnum2["RESCHEDULED"] = "RESCHEDULED";
|
|
2622
2627
|
F2fInterviewStatusEnum2["EXITED"] = "EXITED";
|
|
2628
|
+
F2fInterviewStatusEnum2["CANCELLED"] = "CANCELLED";
|
|
2623
2629
|
return F2fInterviewStatusEnum2;
|
|
2624
2630
|
})(F2fInterviewStatusEnum || {});
|
|
2625
2631
|
var F2FInterview = class extends BaseEntity {
|
|
@@ -2714,11 +2720,11 @@ __decorateClass([
|
|
|
2714
2720
|
unique: true,
|
|
2715
2721
|
nullable: true
|
|
2716
2722
|
}),
|
|
2717
|
-
|
|
2723
|
+
Index12()
|
|
2718
2724
|
], Interview.prototype, "interviewId", 2);
|
|
2719
2725
|
__decorateClass([
|
|
2720
2726
|
Column19({ name: "user_id", type: "integer", nullable: true }),
|
|
2721
|
-
|
|
2727
|
+
Index12()
|
|
2722
2728
|
], Interview.prototype, "userId", 2);
|
|
2723
2729
|
__decorateClass([
|
|
2724
2730
|
ManyToOne17(() => User, (user) => user.interviews),
|
|
@@ -2729,7 +2735,7 @@ __decorateClass([
|
|
|
2729
2735
|
], Interview.prototype, "interviewName", 2);
|
|
2730
2736
|
__decorateClass([
|
|
2731
2737
|
Column19({ name: "job_id", type: "integer" }),
|
|
2732
|
-
|
|
2738
|
+
Index12()
|
|
2733
2739
|
], Interview.prototype, "jobId", 2);
|
|
2734
2740
|
__decorateClass([
|
|
2735
2741
|
ManyToOne17(() => Job, (job) => job.interviews, { onDelete: "CASCADE" }),
|
|
@@ -2780,7 +2786,7 @@ Interview = __decorateClass([
|
|
|
2780
2786
|
], Interview);
|
|
2781
2787
|
|
|
2782
2788
|
// src/entities/job-recommendation.entity.ts
|
|
2783
|
-
import { Entity as Entity19, Column as Column20, Index as
|
|
2789
|
+
import { Entity as Entity19, Column as Column20, Index as Index13, ManyToOne as ManyToOne18, JoinColumn as JoinColumn18, PrimaryGeneratedColumn as PrimaryGeneratedColumn5 } from "typeorm";
|
|
2784
2790
|
var JobRecommendation = class {
|
|
2785
2791
|
};
|
|
2786
2792
|
__decorateClass([
|
|
@@ -2788,7 +2794,7 @@ __decorateClass([
|
|
|
2788
2794
|
], JobRecommendation.prototype, "id", 2);
|
|
2789
2795
|
__decorateClass([
|
|
2790
2796
|
Column20({ name: "job_id", type: "integer" }),
|
|
2791
|
-
|
|
2797
|
+
Index13()
|
|
2792
2798
|
], JobRecommendation.prototype, "jobId", 2);
|
|
2793
2799
|
__decorateClass([
|
|
2794
2800
|
ManyToOne18(() => Job, (job) => job.recommendations, { onDelete: "CASCADE" }),
|
|
@@ -2796,11 +2802,11 @@ __decorateClass([
|
|
|
2796
2802
|
], JobRecommendation.prototype, "job", 2);
|
|
2797
2803
|
__decorateClass([
|
|
2798
2804
|
Column20({ name: "freelancer_id", type: "integer" }),
|
|
2799
|
-
|
|
2805
|
+
Index13()
|
|
2800
2806
|
], JobRecommendation.prototype, "freelancerId", 2);
|
|
2801
2807
|
__decorateClass([
|
|
2802
2808
|
Column20({ name: "client_id", type: "integer" }),
|
|
2803
|
-
|
|
2809
|
+
Index13()
|
|
2804
2810
|
], JobRecommendation.prototype, "clientId", 2);
|
|
2805
2811
|
__decorateClass([
|
|
2806
2812
|
Column20({ name: "match_score", type: "numeric", precision: 5, scale: 4 })
|
|
@@ -2861,7 +2867,7 @@ __decorateClass([
|
|
|
2861
2867
|
// individual index to find jobs by user
|
|
2862
2868
|
__decorateClass([
|
|
2863
2869
|
Column21({ name: "user_id", type: "integer", nullable: true }),
|
|
2864
|
-
|
|
2870
|
+
Index14()
|
|
2865
2871
|
], Job.prototype, "userId", 2);
|
|
2866
2872
|
__decorateClass([
|
|
2867
2873
|
ManyToOne19(() => User, (user) => user.jobs),
|
|
@@ -3029,7 +3035,7 @@ Job = __decorateClass([
|
|
|
3029
3035
|
import {
|
|
3030
3036
|
Entity as Entity21,
|
|
3031
3037
|
Column as Column22,
|
|
3032
|
-
Index as
|
|
3038
|
+
Index as Index15,
|
|
3033
3039
|
ManyToOne as ManyToOne20,
|
|
3034
3040
|
JoinColumn as JoinColumn20
|
|
3035
3041
|
} from "typeorm";
|
|
@@ -3048,7 +3054,7 @@ var BankDetail = class extends BaseEntity {
|
|
|
3048
3054
|
// individual index to find bank details by user
|
|
3049
3055
|
__decorateClass([
|
|
3050
3056
|
Column22({ name: "user_id", type: "integer", nullable: true }),
|
|
3051
|
-
|
|
3057
|
+
Index15()
|
|
3052
3058
|
], BankDetail.prototype, "userId", 2);
|
|
3053
3059
|
__decorateClass([
|
|
3054
3060
|
ManyToOne20(() => User, (user) => user.bankDetail),
|
|
@@ -3111,7 +3117,7 @@ BankDetail = __decorateClass([
|
|
|
3111
3117
|
import {
|
|
3112
3118
|
Entity as Entity22,
|
|
3113
3119
|
Column as Column23,
|
|
3114
|
-
Index as
|
|
3120
|
+
Index as Index16,
|
|
3115
3121
|
ManyToOne as ManyToOne21,
|
|
3116
3122
|
JoinColumn as JoinColumn21
|
|
3117
3123
|
} from "typeorm";
|
|
@@ -3120,7 +3126,7 @@ var SystemPreference = class extends BaseEntity {
|
|
|
3120
3126
|
// individual index to find system preference by user
|
|
3121
3127
|
__decorateClass([
|
|
3122
3128
|
Column23({ name: "user_id", type: "integer", nullable: true }),
|
|
3123
|
-
|
|
3129
|
+
Index16()
|
|
3124
3130
|
], SystemPreference.prototype, "userId", 2);
|
|
3125
3131
|
__decorateClass([
|
|
3126
3132
|
ManyToOne21(() => User, (user) => user.systemPreference),
|
|
@@ -3140,7 +3146,7 @@ SystemPreference = __decorateClass([
|
|
|
3140
3146
|
import {
|
|
3141
3147
|
Entity as Entity23,
|
|
3142
3148
|
Column as Column24,
|
|
3143
|
-
Index as
|
|
3149
|
+
Index as Index17,
|
|
3144
3150
|
ManyToOne as ManyToOne22,
|
|
3145
3151
|
JoinColumn as JoinColumn22
|
|
3146
3152
|
} from "typeorm";
|
|
@@ -3149,7 +3155,7 @@ var FreelancerExperience = class extends BaseEntity {
|
|
|
3149
3155
|
// individual index to find experence by user
|
|
3150
3156
|
__decorateClass([
|
|
3151
3157
|
Column24({ name: "user_id", type: "integer", nullable: true }),
|
|
3152
|
-
|
|
3158
|
+
Index17()
|
|
3153
3159
|
], FreelancerExperience.prototype, "userId", 2);
|
|
3154
3160
|
__decorateClass([
|
|
3155
3161
|
ManyToOne22(() => User, (user) => user.freelancerExperience),
|
|
@@ -3175,7 +3181,7 @@ FreelancerExperience = __decorateClass([
|
|
|
3175
3181
|
import {
|
|
3176
3182
|
Entity as Entity24,
|
|
3177
3183
|
Column as Column25,
|
|
3178
|
-
Index as
|
|
3184
|
+
Index as Index18,
|
|
3179
3185
|
ManyToOne as ManyToOne23,
|
|
3180
3186
|
JoinColumn as JoinColumn23
|
|
3181
3187
|
} from "typeorm";
|
|
@@ -3184,7 +3190,7 @@ var FreelancerEducation = class extends BaseEntity {
|
|
|
3184
3190
|
// individual index to find education by user
|
|
3185
3191
|
__decorateClass([
|
|
3186
3192
|
Column25({ name: "user_id", type: "integer", nullable: true }),
|
|
3187
|
-
|
|
3193
|
+
Index18()
|
|
3188
3194
|
], FreelancerEducation.prototype, "userId", 2);
|
|
3189
3195
|
__decorateClass([
|
|
3190
3196
|
ManyToOne23(() => User, (user) => user.freelancerEducation),
|
|
@@ -3207,7 +3213,7 @@ FreelancerEducation = __decorateClass([
|
|
|
3207
3213
|
import {
|
|
3208
3214
|
Entity as Entity25,
|
|
3209
3215
|
Column as Column26,
|
|
3210
|
-
Index as
|
|
3216
|
+
Index as Index19,
|
|
3211
3217
|
ManyToOne as ManyToOne24,
|
|
3212
3218
|
JoinColumn as JoinColumn24
|
|
3213
3219
|
} from "typeorm";
|
|
@@ -3216,7 +3222,7 @@ var FreelancerProject = class extends BaseEntity {
|
|
|
3216
3222
|
// individual index to find project by user
|
|
3217
3223
|
__decorateClass([
|
|
3218
3224
|
Column26({ name: "user_id", type: "integer", nullable: true }),
|
|
3219
|
-
|
|
3225
|
+
Index19()
|
|
3220
3226
|
], FreelancerProject.prototype, "userId", 2);
|
|
3221
3227
|
__decorateClass([
|
|
3222
3228
|
ManyToOne24(() => User, (user) => user.freelancerProject),
|
|
@@ -3248,7 +3254,7 @@ FreelancerProject = __decorateClass([
|
|
|
3248
3254
|
import {
|
|
3249
3255
|
Entity as Entity26,
|
|
3250
3256
|
Column as Column27,
|
|
3251
|
-
Index as
|
|
3257
|
+
Index as Index20,
|
|
3252
3258
|
ManyToOne as ManyToOne25,
|
|
3253
3259
|
JoinColumn as JoinColumn25
|
|
3254
3260
|
} from "typeorm";
|
|
@@ -3257,7 +3263,7 @@ var FreelancerCaseStudy = class extends BaseEntity {
|
|
|
3257
3263
|
// individual index to find case study by user
|
|
3258
3264
|
__decorateClass([
|
|
3259
3265
|
Column27({ name: "user_id", type: "integer", nullable: true }),
|
|
3260
|
-
|
|
3266
|
+
Index20()
|
|
3261
3267
|
], FreelancerCaseStudy.prototype, "userId", 2);
|
|
3262
3268
|
__decorateClass([
|
|
3263
3269
|
ManyToOne25(() => User, (user) => user.freelancerCaseStudy),
|
|
@@ -3280,7 +3286,7 @@ FreelancerCaseStudy = __decorateClass([
|
|
|
3280
3286
|
import {
|
|
3281
3287
|
Entity as Entity27,
|
|
3282
3288
|
Column as Column28,
|
|
3283
|
-
Index as
|
|
3289
|
+
Index as Index21,
|
|
3284
3290
|
ManyToOne as ManyToOne26,
|
|
3285
3291
|
JoinColumn as JoinColumn26
|
|
3286
3292
|
} from "typeorm";
|
|
@@ -3289,7 +3295,7 @@ var FreelancerSkill = class extends BaseEntity {
|
|
|
3289
3295
|
// individual index to find core skills by user
|
|
3290
3296
|
__decorateClass([
|
|
3291
3297
|
Column28({ name: "user_id", type: "integer", nullable: true }),
|
|
3292
|
-
|
|
3298
|
+
Index21()
|
|
3293
3299
|
], FreelancerSkill.prototype, "userId", 2);
|
|
3294
3300
|
__decorateClass([
|
|
3295
3301
|
ManyToOne26(() => User, (user) => user.freelancerSkills),
|
|
@@ -3306,7 +3312,7 @@ FreelancerSkill = __decorateClass([
|
|
|
3306
3312
|
import {
|
|
3307
3313
|
Entity as Entity28,
|
|
3308
3314
|
Column as Column29,
|
|
3309
|
-
Index as
|
|
3315
|
+
Index as Index22,
|
|
3310
3316
|
ManyToOne as ManyToOne27,
|
|
3311
3317
|
JoinColumn as JoinColumn27
|
|
3312
3318
|
} from "typeorm";
|
|
@@ -3315,7 +3321,7 @@ var FreelancerTool = class extends BaseEntity {
|
|
|
3315
3321
|
// individual index to find tool by user
|
|
3316
3322
|
__decorateClass([
|
|
3317
3323
|
Column29({ name: "user_id", type: "integer", nullable: true }),
|
|
3318
|
-
|
|
3324
|
+
Index22()
|
|
3319
3325
|
], FreelancerTool.prototype, "userId", 2);
|
|
3320
3326
|
__decorateClass([
|
|
3321
3327
|
ManyToOne27(() => User, (user) => user.freelancerTool),
|
|
@@ -3332,7 +3338,7 @@ FreelancerTool = __decorateClass([
|
|
|
3332
3338
|
import {
|
|
3333
3339
|
Entity as Entity29,
|
|
3334
3340
|
Column as Column30,
|
|
3335
|
-
Index as
|
|
3341
|
+
Index as Index23,
|
|
3336
3342
|
ManyToOne as ManyToOne28,
|
|
3337
3343
|
JoinColumn as JoinColumn28
|
|
3338
3344
|
} from "typeorm";
|
|
@@ -3341,7 +3347,7 @@ var FreelancerFramework = class extends BaseEntity {
|
|
|
3341
3347
|
// individual index to find framework by user
|
|
3342
3348
|
__decorateClass([
|
|
3343
3349
|
Column30({ name: "user_id", type: "integer", nullable: true }),
|
|
3344
|
-
|
|
3350
|
+
Index23()
|
|
3345
3351
|
], FreelancerFramework.prototype, "userId", 2);
|
|
3346
3352
|
__decorateClass([
|
|
3347
3353
|
ManyToOne28(() => User, (user) => user.freelancerFramework),
|
|
@@ -3358,7 +3364,7 @@ FreelancerFramework = __decorateClass([
|
|
|
3358
3364
|
import {
|
|
3359
3365
|
Entity as Entity30,
|
|
3360
3366
|
Column as Column31,
|
|
3361
|
-
Index as
|
|
3367
|
+
Index as Index24,
|
|
3362
3368
|
ManyToOne as ManyToOne29,
|
|
3363
3369
|
JoinColumn as JoinColumn29
|
|
3364
3370
|
} from "typeorm";
|
|
@@ -3378,7 +3384,7 @@ var FreelancerAssessment = class extends BaseEntity {
|
|
|
3378
3384
|
};
|
|
3379
3385
|
__decorateClass([
|
|
3380
3386
|
Column31({ name: "user_id", type: "integer", nullable: true }),
|
|
3381
|
-
|
|
3387
|
+
Index24()
|
|
3382
3388
|
], FreelancerAssessment.prototype, "userId", 2);
|
|
3383
3389
|
__decorateClass([
|
|
3384
3390
|
ManyToOne29(() => User, (user) => user.assessments),
|
|
@@ -3412,7 +3418,7 @@ FreelancerAssessment = __decorateClass([
|
|
|
3412
3418
|
], FreelancerAssessment);
|
|
3413
3419
|
|
|
3414
3420
|
// src/entities/freelancer-declaration.entity.ts
|
|
3415
|
-
import { Entity as Entity31, Column as Column32, Index as
|
|
3421
|
+
import { Entity as Entity31, Column as Column32, Index as Index25, ManyToOne as ManyToOne30, JoinColumn as JoinColumn30 } from "typeorm";
|
|
3416
3422
|
var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
|
|
3417
3423
|
DocumentType2["AADHAAR"] = "AADHAAR_CARD";
|
|
3418
3424
|
DocumentType2["PASSPORT"] = "PASSPORT";
|
|
@@ -3425,7 +3431,7 @@ var FreelancerDeclaration = class extends BaseEntity {
|
|
|
3425
3431
|
// individual index to find declaration by user
|
|
3426
3432
|
__decorateClass([
|
|
3427
3433
|
Column32({ name: "user_id", type: "integer", nullable: true }),
|
|
3428
|
-
|
|
3434
|
+
Index25()
|
|
3429
3435
|
], FreelancerDeclaration.prototype, "userId", 2);
|
|
3430
3436
|
__decorateClass([
|
|
3431
3437
|
ManyToOne30(() => User, (user) => user.freelancerDeclaration),
|
|
@@ -3461,14 +3467,14 @@ import {
|
|
|
3461
3467
|
Entity as Entity35,
|
|
3462
3468
|
ManyToOne as ManyToOne33,
|
|
3463
3469
|
JoinColumn as JoinColumn33,
|
|
3464
|
-
Index as
|
|
3470
|
+
Index as Index29
|
|
3465
3471
|
} from "typeorm";
|
|
3466
3472
|
|
|
3467
3473
|
// src/entities/company-role.entity.ts
|
|
3468
3474
|
import {
|
|
3469
3475
|
Column as Column35,
|
|
3470
3476
|
Entity as Entity34,
|
|
3471
|
-
Index as
|
|
3477
|
+
Index as Index28,
|
|
3472
3478
|
JoinColumn as JoinColumn32,
|
|
3473
3479
|
ManyToOne as ManyToOne32,
|
|
3474
3480
|
OneToMany as OneToMany10
|
|
@@ -3480,11 +3486,11 @@ import {
|
|
|
3480
3486
|
Entity as Entity33,
|
|
3481
3487
|
ManyToOne as ManyToOne31,
|
|
3482
3488
|
JoinColumn as JoinColumn31,
|
|
3483
|
-
Index as
|
|
3489
|
+
Index as Index27
|
|
3484
3490
|
} from "typeorm";
|
|
3485
3491
|
|
|
3486
3492
|
// src/entities/permission.entity.ts
|
|
3487
|
-
import { Column as Column33, Entity as Entity32, Index as
|
|
3493
|
+
import { Column as Column33, Entity as Entity32, Index as Index26 } from "typeorm";
|
|
3488
3494
|
var Permission = class extends BaseEntity {
|
|
3489
3495
|
};
|
|
3490
3496
|
__decorateClass([
|
|
@@ -3492,7 +3498,7 @@ __decorateClass([
|
|
|
3492
3498
|
], Permission.prototype, "name", 2);
|
|
3493
3499
|
__decorateClass([
|
|
3494
3500
|
Column33({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
3495
|
-
|
|
3501
|
+
Index26()
|
|
3496
3502
|
], Permission.prototype, "slug", 2);
|
|
3497
3503
|
__decorateClass([
|
|
3498
3504
|
Column33({ name: "description", type: "text", nullable: true })
|
|
@@ -3509,7 +3515,7 @@ var CompanyRolePermission = class extends BaseEntity {
|
|
|
3509
3515
|
};
|
|
3510
3516
|
__decorateClass([
|
|
3511
3517
|
Column34({ name: "company_role_id", type: "integer", nullable: true }),
|
|
3512
|
-
|
|
3518
|
+
Index27()
|
|
3513
3519
|
], CompanyRolePermission.prototype, "companyRoleId", 2);
|
|
3514
3520
|
__decorateClass([
|
|
3515
3521
|
ManyToOne31(() => CompanyRole, (role) => role.rolePermissions, {
|
|
@@ -3519,7 +3525,7 @@ __decorateClass([
|
|
|
3519
3525
|
], CompanyRolePermission.prototype, "companyRole", 2);
|
|
3520
3526
|
__decorateClass([
|
|
3521
3527
|
Column34({ name: "permission_id", type: "integer" }),
|
|
3522
|
-
|
|
3528
|
+
Index27()
|
|
3523
3529
|
], CompanyRolePermission.prototype, "permissionId", 2);
|
|
3524
3530
|
__decorateClass([
|
|
3525
3531
|
ManyToOne31(() => Permission, { onDelete: "CASCADE" }),
|
|
@@ -3537,7 +3543,7 @@ var CompanyRole = class extends BaseEntity {
|
|
|
3537
3543
|
};
|
|
3538
3544
|
__decorateClass([
|
|
3539
3545
|
Column35({ name: "user_id", type: "integer", nullable: true }),
|
|
3540
|
-
|
|
3546
|
+
Index28()
|
|
3541
3547
|
], CompanyRole.prototype, "userId", 2);
|
|
3542
3548
|
__decorateClass([
|
|
3543
3549
|
ManyToOne32(() => User, (user) => user.otps),
|
|
@@ -3548,7 +3554,7 @@ __decorateClass([
|
|
|
3548
3554
|
], CompanyRole.prototype, "name", 2);
|
|
3549
3555
|
__decorateClass([
|
|
3550
3556
|
Column35({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
3551
|
-
|
|
3557
|
+
Index28()
|
|
3552
3558
|
], CompanyRole.prototype, "slug", 2);
|
|
3553
3559
|
__decorateClass([
|
|
3554
3560
|
Column35({ name: "description", type: "text", nullable: true })
|
|
@@ -3568,7 +3574,7 @@ var CompanyMemberRole = class extends BaseEntity {
|
|
|
3568
3574
|
};
|
|
3569
3575
|
__decorateClass([
|
|
3570
3576
|
Column36({ name: "user_id", type: "integer", nullable: true }),
|
|
3571
|
-
|
|
3577
|
+
Index29()
|
|
3572
3578
|
], CompanyMemberRole.prototype, "userId", 2);
|
|
3573
3579
|
__decorateClass([
|
|
3574
3580
|
ManyToOne33(() => User),
|
|
@@ -3580,7 +3586,7 @@ __decorateClass([
|
|
|
3580
3586
|
], CompanyMemberRole.prototype, "role", 2);
|
|
3581
3587
|
__decorateClass([
|
|
3582
3588
|
Column36({ name: "company_role_id", type: "integer", nullable: true }),
|
|
3583
|
-
|
|
3589
|
+
Index29()
|
|
3584
3590
|
], CompanyMemberRole.prototype, "companyRoleId", 2);
|
|
3585
3591
|
__decorateClass([
|
|
3586
3592
|
Column36({ name: "assigned_by", type: "integer", nullable: true })
|
|
@@ -3594,7 +3600,7 @@ import {
|
|
|
3594
3600
|
Entity as Entity38,
|
|
3595
3601
|
Column as Column39,
|
|
3596
3602
|
ManyToOne as ManyToOne35,
|
|
3597
|
-
Index as
|
|
3603
|
+
Index as Index31,
|
|
3598
3604
|
JoinColumn as JoinColumn35
|
|
3599
3605
|
} from "typeorm";
|
|
3600
3606
|
|
|
@@ -3607,7 +3613,7 @@ import {
|
|
|
3607
3613
|
Column as Column37,
|
|
3608
3614
|
OneToMany as OneToMany11,
|
|
3609
3615
|
ManyToOne as ManyToOne34,
|
|
3610
|
-
Index as
|
|
3616
|
+
Index as Index30,
|
|
3611
3617
|
JoinColumn as JoinColumn34
|
|
3612
3618
|
} from "typeorm";
|
|
3613
3619
|
var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
|
|
@@ -3620,7 +3626,7 @@ var AssessmetQuestionOption = class extends BaseEntity {
|
|
|
3620
3626
|
};
|
|
3621
3627
|
__decorateClass([
|
|
3622
3628
|
Column37({ name: "question_id", type: "integer", nullable: true }),
|
|
3623
|
-
|
|
3629
|
+
Index30()
|
|
3624
3630
|
], AssessmetQuestionOption.prototype, "questionId", 2);
|
|
3625
3631
|
__decorateClass([
|
|
3626
3632
|
ManyToOne34(
|
|
@@ -3693,7 +3699,7 @@ var AssessmentAnswer = class extends BaseEntity {
|
|
|
3693
3699
|
};
|
|
3694
3700
|
__decorateClass([
|
|
3695
3701
|
Column39({ name: "user_id", type: "integer" }),
|
|
3696
|
-
|
|
3702
|
+
Index31()
|
|
3697
3703
|
], AssessmentAnswer.prototype, "userId", 2);
|
|
3698
3704
|
__decorateClass([
|
|
3699
3705
|
ManyToOne35(() => User, (user) => user.assessmentAnswers),
|
|
@@ -3701,7 +3707,7 @@ __decorateClass([
|
|
|
3701
3707
|
], AssessmentAnswer.prototype, "user", 2);
|
|
3702
3708
|
__decorateClass([
|
|
3703
3709
|
Column39({ name: "question_id", type: "integer" }),
|
|
3704
|
-
|
|
3710
|
+
Index31()
|
|
3705
3711
|
], AssessmentAnswer.prototype, "questionId", 2);
|
|
3706
3712
|
__decorateClass([
|
|
3707
3713
|
ManyToOne35(
|
|
@@ -3712,7 +3718,7 @@ __decorateClass([
|
|
|
3712
3718
|
], AssessmentAnswer.prototype, "question", 2);
|
|
3713
3719
|
__decorateClass([
|
|
3714
3720
|
Column39({ name: "selected_option_id", type: "integer" }),
|
|
3715
|
-
|
|
3721
|
+
Index31()
|
|
3716
3722
|
], AssessmentAnswer.prototype, "selectedOptionId", 2);
|
|
3717
3723
|
__decorateClass([
|
|
3718
3724
|
ManyToOne35(
|
|
@@ -3736,13 +3742,13 @@ AssessmentAnswer = __decorateClass([
|
|
|
3736
3742
|
], AssessmentAnswer);
|
|
3737
3743
|
|
|
3738
3744
|
// src/entities/company-skill.entity.ts
|
|
3739
|
-
import { Entity as Entity39, Column as Column40, Index as
|
|
3745
|
+
import { Entity as Entity39, Column as Column40, Index as Index32, ManyToOne as ManyToOne36, JoinColumn as JoinColumn36 } from "typeorm";
|
|
3740
3746
|
var CompanySkill = class extends BaseEntity {
|
|
3741
3747
|
};
|
|
3742
3748
|
// individual index to find core skills by user
|
|
3743
3749
|
__decorateClass([
|
|
3744
3750
|
Column40({ name: "user_id", type: "integer", nullable: true }),
|
|
3745
|
-
|
|
3751
|
+
Index32()
|
|
3746
3752
|
], CompanySkill.prototype, "userId", 2);
|
|
3747
3753
|
__decorateClass([
|
|
3748
3754
|
ManyToOne36(() => User, (user) => user.freelancerSkills),
|
|
@@ -3759,13 +3765,13 @@ CompanySkill = __decorateClass([
|
|
|
3759
3765
|
import { Entity as Entity43, Column as Column44, ManyToOne as ManyToOne38, JoinColumn as JoinColumn38 } from "typeorm";
|
|
3760
3766
|
|
|
3761
3767
|
// src/entities/admin-role.entity.ts
|
|
3762
|
-
import { Entity as Entity42, Column as Column43, Index as
|
|
3768
|
+
import { Entity as Entity42, Column as Column43, Index as Index35, OneToMany as OneToMany15 } from "typeorm";
|
|
3763
3769
|
|
|
3764
3770
|
// src/entities/admin-role-permission.entity.ts
|
|
3765
3771
|
import { Entity as Entity41, Column as Column42, ManyToOne as ManyToOne37, JoinColumn as JoinColumn37 } from "typeorm";
|
|
3766
3772
|
|
|
3767
3773
|
// src/entities/admin-permission.entity.ts
|
|
3768
|
-
import { Entity as Entity40, Column as Column41, Index as
|
|
3774
|
+
import { Entity as Entity40, Column as Column41, Index as Index33, OneToMany as OneToMany14 } from "typeorm";
|
|
3769
3775
|
var AdminPermission = class extends BaseEntity {
|
|
3770
3776
|
};
|
|
3771
3777
|
__decorateClass([
|
|
@@ -3778,7 +3784,7 @@ __decorateClass([
|
|
|
3778
3784
|
unique: true,
|
|
3779
3785
|
nullable: true
|
|
3780
3786
|
}),
|
|
3781
|
-
|
|
3787
|
+
Index33()
|
|
3782
3788
|
], AdminPermission.prototype, "permissionSlug", 2);
|
|
3783
3789
|
__decorateClass([
|
|
3784
3790
|
Column41({ name: "permission_description", type: "varchar", nullable: true })
|
|
@@ -3838,7 +3844,7 @@ __decorateClass([
|
|
|
3838
3844
|
], AdminRole.prototype, "roleName", 2);
|
|
3839
3845
|
__decorateClass([
|
|
3840
3846
|
Column43({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
|
|
3841
|
-
|
|
3847
|
+
Index35()
|
|
3842
3848
|
], AdminRole.prototype, "roleSlug", 2);
|
|
3843
3849
|
__decorateClass([
|
|
3844
3850
|
Column43({ name: "role_description", type: "varchar", nullable: true })
|
|
@@ -3894,7 +3900,7 @@ AdminUserRole = __decorateClass([
|
|
|
3894
3900
|
import {
|
|
3895
3901
|
Entity as Entity44,
|
|
3896
3902
|
Column as Column45,
|
|
3897
|
-
Index as
|
|
3903
|
+
Index as Index37,
|
|
3898
3904
|
ManyToOne as ManyToOne39,
|
|
3899
3905
|
JoinColumn as JoinColumn39
|
|
3900
3906
|
} from "typeorm";
|
|
@@ -3903,7 +3909,7 @@ var FreelancerResume = class extends BaseEntity {
|
|
|
3903
3909
|
// individual index to find profile by user
|
|
3904
3910
|
__decorateClass([
|
|
3905
3911
|
Column45({ name: "user_id", type: "integer", nullable: true }),
|
|
3906
|
-
|
|
3912
|
+
Index37()
|
|
3907
3913
|
], FreelancerResume.prototype, "userId", 2);
|
|
3908
3914
|
__decorateClass([
|
|
3909
3915
|
ManyToOne39(() => User, (user) => user.freelancerProfile),
|
|
@@ -3948,7 +3954,7 @@ __decorateClass([
|
|
|
3948
3954
|
], User.prototype, "uniqueId", 2);
|
|
3949
3955
|
__decorateClass([
|
|
3950
3956
|
Column46({ name: "parent_id", type: "integer", nullable: true }),
|
|
3951
|
-
|
|
3957
|
+
Index38()
|
|
3952
3958
|
], User.prototype, "parentId", 2);
|
|
3953
3959
|
__decorateClass([
|
|
3954
3960
|
ManyToOne40(() => User, (user) => user.children, { nullable: true }),
|
|
@@ -4163,7 +4169,7 @@ var Rating = class extends BaseEntity {
|
|
|
4163
4169
|
};
|
|
4164
4170
|
__decorateClass([
|
|
4165
4171
|
Column47({ name: "reviewer_id", type: "integer" }),
|
|
4166
|
-
|
|
4172
|
+
Index39()
|
|
4167
4173
|
], Rating.prototype, "reviewer_id", 2);
|
|
4168
4174
|
__decorateClass([
|
|
4169
4175
|
ManyToOne41(() => User, { onDelete: "CASCADE" }),
|
|
@@ -4171,7 +4177,7 @@ __decorateClass([
|
|
|
4171
4177
|
], Rating.prototype, "reviewer", 2);
|
|
4172
4178
|
__decorateClass([
|
|
4173
4179
|
Column47({ name: "reviewee_id", type: "integer" }),
|
|
4174
|
-
|
|
4180
|
+
Index39()
|
|
4175
4181
|
], Rating.prototype, "reviewee_id", 2);
|
|
4176
4182
|
__decorateClass([
|
|
4177
4183
|
ManyToOne41(() => User, { onDelete: "CASCADE" }),
|
|
@@ -6188,13 +6194,13 @@ Commission = __decorateClass([
|
|
|
6188
6194
|
import {
|
|
6189
6195
|
Entity as Entity56,
|
|
6190
6196
|
Column as Column57,
|
|
6191
|
-
Index as
|
|
6197
|
+
Index as Index40
|
|
6192
6198
|
} from "typeorm";
|
|
6193
6199
|
var CalendlyMeetingLog = class extends BaseEntity {
|
|
6194
6200
|
};
|
|
6195
6201
|
__decorateClass([
|
|
6196
6202
|
Column57({ name: "calendly_event_id", type: "varchar", nullable: true }),
|
|
6197
|
-
|
|
6203
|
+
Index40()
|
|
6198
6204
|
], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
|
|
6199
6205
|
__decorateClass([
|
|
6200
6206
|
Column57({ name: "calendly_event_type", type: "varchar", nullable: true })
|