@experts_hub/shared 1.0.342 → 1.0.344
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;
|
|
@@ -31,7 +32,6 @@ export declare class F2FInterview extends BaseEntity {
|
|
|
31
32
|
cancelledAt: Date;
|
|
32
33
|
cancelReason: string;
|
|
33
34
|
provider: string;
|
|
34
|
-
providerEventId: string;
|
|
35
35
|
schedules: F2FInterviewSchedule[];
|
|
36
36
|
rescheduleRequests: F2fInterviewRescheduleRequest[];
|
|
37
37
|
}
|
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;
|
|
@@ -956,7 +958,6 @@ declare class F2FInterview extends BaseEntity {
|
|
|
956
958
|
cancelledAt: Date;
|
|
957
959
|
cancelReason: string;
|
|
958
960
|
provider: string;
|
|
959
|
-
providerEventId: string;
|
|
960
961
|
schedules: F2FInterviewSchedule[];
|
|
961
962
|
rescheduleRequests: F2fInterviewRescheduleRequest[];
|
|
962
963
|
}
|
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;
|
|
@@ -956,7 +958,6 @@ declare class F2FInterview extends BaseEntity {
|
|
|
956
958
|
cancelledAt: Date;
|
|
957
959
|
cancelReason: string;
|
|
958
960
|
provider: string;
|
|
959
|
-
providerEventId: string;
|
|
960
961
|
schedules: F2FInterviewSchedule[];
|
|
961
962
|
rescheduleRequests: F2fInterviewRescheduleRequest[];
|
|
962
963
|
}
|
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 {
|
|
@@ -2723,9 +2728,6 @@ __decorateClass([
|
|
|
2723
2728
|
__decorateClass([
|
|
2724
2729
|
(0, import_typeorm18.Column)({ name: "provider", type: "varchar", nullable: true })
|
|
2725
2730
|
], F2FInterview.prototype, "provider", 2);
|
|
2726
|
-
__decorateClass([
|
|
2727
|
-
(0, import_typeorm18.Column)({ name: "provider_event_id", type: "varchar", nullable: true })
|
|
2728
|
-
], F2FInterview.prototype, "providerEventId", 2);
|
|
2729
2731
|
__decorateClass([
|
|
2730
2732
|
(0, import_typeorm18.OneToMany)(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
|
|
2731
2733
|
], F2FInterview.prototype, "schedules", 2);
|
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 {
|
|
@@ -2683,9 +2689,6 @@ __decorateClass([
|
|
|
2683
2689
|
__decorateClass([
|
|
2684
2690
|
Column18({ name: "provider", type: "varchar", nullable: true })
|
|
2685
2691
|
], F2FInterview.prototype, "provider", 2);
|
|
2686
|
-
__decorateClass([
|
|
2687
|
-
Column18({ name: "provider_event_id", type: "varchar", nullable: true })
|
|
2688
|
-
], F2FInterview.prototype, "providerEventId", 2);
|
|
2689
2692
|
__decorateClass([
|
|
2690
2693
|
OneToMany6(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
|
|
2691
2694
|
], F2FInterview.prototype, "schedules", 2);
|
|
@@ -2714,11 +2717,11 @@ __decorateClass([
|
|
|
2714
2717
|
unique: true,
|
|
2715
2718
|
nullable: true
|
|
2716
2719
|
}),
|
|
2717
|
-
|
|
2720
|
+
Index12()
|
|
2718
2721
|
], Interview.prototype, "interviewId", 2);
|
|
2719
2722
|
__decorateClass([
|
|
2720
2723
|
Column19({ name: "user_id", type: "integer", nullable: true }),
|
|
2721
|
-
|
|
2724
|
+
Index12()
|
|
2722
2725
|
], Interview.prototype, "userId", 2);
|
|
2723
2726
|
__decorateClass([
|
|
2724
2727
|
ManyToOne17(() => User, (user) => user.interviews),
|
|
@@ -2729,7 +2732,7 @@ __decorateClass([
|
|
|
2729
2732
|
], Interview.prototype, "interviewName", 2);
|
|
2730
2733
|
__decorateClass([
|
|
2731
2734
|
Column19({ name: "job_id", type: "integer" }),
|
|
2732
|
-
|
|
2735
|
+
Index12()
|
|
2733
2736
|
], Interview.prototype, "jobId", 2);
|
|
2734
2737
|
__decorateClass([
|
|
2735
2738
|
ManyToOne17(() => Job, (job) => job.interviews, { onDelete: "CASCADE" }),
|
|
@@ -2780,7 +2783,7 @@ Interview = __decorateClass([
|
|
|
2780
2783
|
], Interview);
|
|
2781
2784
|
|
|
2782
2785
|
// src/entities/job-recommendation.entity.ts
|
|
2783
|
-
import { Entity as Entity19, Column as Column20, Index as
|
|
2786
|
+
import { Entity as Entity19, Column as Column20, Index as Index13, ManyToOne as ManyToOne18, JoinColumn as JoinColumn18, PrimaryGeneratedColumn as PrimaryGeneratedColumn5 } from "typeorm";
|
|
2784
2787
|
var JobRecommendation = class {
|
|
2785
2788
|
};
|
|
2786
2789
|
__decorateClass([
|
|
@@ -2788,7 +2791,7 @@ __decorateClass([
|
|
|
2788
2791
|
], JobRecommendation.prototype, "id", 2);
|
|
2789
2792
|
__decorateClass([
|
|
2790
2793
|
Column20({ name: "job_id", type: "integer" }),
|
|
2791
|
-
|
|
2794
|
+
Index13()
|
|
2792
2795
|
], JobRecommendation.prototype, "jobId", 2);
|
|
2793
2796
|
__decorateClass([
|
|
2794
2797
|
ManyToOne18(() => Job, (job) => job.recommendations, { onDelete: "CASCADE" }),
|
|
@@ -2796,11 +2799,11 @@ __decorateClass([
|
|
|
2796
2799
|
], JobRecommendation.prototype, "job", 2);
|
|
2797
2800
|
__decorateClass([
|
|
2798
2801
|
Column20({ name: "freelancer_id", type: "integer" }),
|
|
2799
|
-
|
|
2802
|
+
Index13()
|
|
2800
2803
|
], JobRecommendation.prototype, "freelancerId", 2);
|
|
2801
2804
|
__decorateClass([
|
|
2802
2805
|
Column20({ name: "client_id", type: "integer" }),
|
|
2803
|
-
|
|
2806
|
+
Index13()
|
|
2804
2807
|
], JobRecommendation.prototype, "clientId", 2);
|
|
2805
2808
|
__decorateClass([
|
|
2806
2809
|
Column20({ name: "match_score", type: "numeric", precision: 5, scale: 4 })
|
|
@@ -2861,7 +2864,7 @@ __decorateClass([
|
|
|
2861
2864
|
// individual index to find jobs by user
|
|
2862
2865
|
__decorateClass([
|
|
2863
2866
|
Column21({ name: "user_id", type: "integer", nullable: true }),
|
|
2864
|
-
|
|
2867
|
+
Index14()
|
|
2865
2868
|
], Job.prototype, "userId", 2);
|
|
2866
2869
|
__decorateClass([
|
|
2867
2870
|
ManyToOne19(() => User, (user) => user.jobs),
|
|
@@ -3029,7 +3032,7 @@ Job = __decorateClass([
|
|
|
3029
3032
|
import {
|
|
3030
3033
|
Entity as Entity21,
|
|
3031
3034
|
Column as Column22,
|
|
3032
|
-
Index as
|
|
3035
|
+
Index as Index15,
|
|
3033
3036
|
ManyToOne as ManyToOne20,
|
|
3034
3037
|
JoinColumn as JoinColumn20
|
|
3035
3038
|
} from "typeorm";
|
|
@@ -3048,7 +3051,7 @@ var BankDetail = class extends BaseEntity {
|
|
|
3048
3051
|
// individual index to find bank details by user
|
|
3049
3052
|
__decorateClass([
|
|
3050
3053
|
Column22({ name: "user_id", type: "integer", nullable: true }),
|
|
3051
|
-
|
|
3054
|
+
Index15()
|
|
3052
3055
|
], BankDetail.prototype, "userId", 2);
|
|
3053
3056
|
__decorateClass([
|
|
3054
3057
|
ManyToOne20(() => User, (user) => user.bankDetail),
|
|
@@ -3111,7 +3114,7 @@ BankDetail = __decorateClass([
|
|
|
3111
3114
|
import {
|
|
3112
3115
|
Entity as Entity22,
|
|
3113
3116
|
Column as Column23,
|
|
3114
|
-
Index as
|
|
3117
|
+
Index as Index16,
|
|
3115
3118
|
ManyToOne as ManyToOne21,
|
|
3116
3119
|
JoinColumn as JoinColumn21
|
|
3117
3120
|
} from "typeorm";
|
|
@@ -3120,7 +3123,7 @@ var SystemPreference = class extends BaseEntity {
|
|
|
3120
3123
|
// individual index to find system preference by user
|
|
3121
3124
|
__decorateClass([
|
|
3122
3125
|
Column23({ name: "user_id", type: "integer", nullable: true }),
|
|
3123
|
-
|
|
3126
|
+
Index16()
|
|
3124
3127
|
], SystemPreference.prototype, "userId", 2);
|
|
3125
3128
|
__decorateClass([
|
|
3126
3129
|
ManyToOne21(() => User, (user) => user.systemPreference),
|
|
@@ -3140,7 +3143,7 @@ SystemPreference = __decorateClass([
|
|
|
3140
3143
|
import {
|
|
3141
3144
|
Entity as Entity23,
|
|
3142
3145
|
Column as Column24,
|
|
3143
|
-
Index as
|
|
3146
|
+
Index as Index17,
|
|
3144
3147
|
ManyToOne as ManyToOne22,
|
|
3145
3148
|
JoinColumn as JoinColumn22
|
|
3146
3149
|
} from "typeorm";
|
|
@@ -3149,7 +3152,7 @@ var FreelancerExperience = class extends BaseEntity {
|
|
|
3149
3152
|
// individual index to find experence by user
|
|
3150
3153
|
__decorateClass([
|
|
3151
3154
|
Column24({ name: "user_id", type: "integer", nullable: true }),
|
|
3152
|
-
|
|
3155
|
+
Index17()
|
|
3153
3156
|
], FreelancerExperience.prototype, "userId", 2);
|
|
3154
3157
|
__decorateClass([
|
|
3155
3158
|
ManyToOne22(() => User, (user) => user.freelancerExperience),
|
|
@@ -3175,7 +3178,7 @@ FreelancerExperience = __decorateClass([
|
|
|
3175
3178
|
import {
|
|
3176
3179
|
Entity as Entity24,
|
|
3177
3180
|
Column as Column25,
|
|
3178
|
-
Index as
|
|
3181
|
+
Index as Index18,
|
|
3179
3182
|
ManyToOne as ManyToOne23,
|
|
3180
3183
|
JoinColumn as JoinColumn23
|
|
3181
3184
|
} from "typeorm";
|
|
@@ -3184,7 +3187,7 @@ var FreelancerEducation = class extends BaseEntity {
|
|
|
3184
3187
|
// individual index to find education by user
|
|
3185
3188
|
__decorateClass([
|
|
3186
3189
|
Column25({ name: "user_id", type: "integer", nullable: true }),
|
|
3187
|
-
|
|
3190
|
+
Index18()
|
|
3188
3191
|
], FreelancerEducation.prototype, "userId", 2);
|
|
3189
3192
|
__decorateClass([
|
|
3190
3193
|
ManyToOne23(() => User, (user) => user.freelancerEducation),
|
|
@@ -3207,7 +3210,7 @@ FreelancerEducation = __decorateClass([
|
|
|
3207
3210
|
import {
|
|
3208
3211
|
Entity as Entity25,
|
|
3209
3212
|
Column as Column26,
|
|
3210
|
-
Index as
|
|
3213
|
+
Index as Index19,
|
|
3211
3214
|
ManyToOne as ManyToOne24,
|
|
3212
3215
|
JoinColumn as JoinColumn24
|
|
3213
3216
|
} from "typeorm";
|
|
@@ -3216,7 +3219,7 @@ var FreelancerProject = class extends BaseEntity {
|
|
|
3216
3219
|
// individual index to find project by user
|
|
3217
3220
|
__decorateClass([
|
|
3218
3221
|
Column26({ name: "user_id", type: "integer", nullable: true }),
|
|
3219
|
-
|
|
3222
|
+
Index19()
|
|
3220
3223
|
], FreelancerProject.prototype, "userId", 2);
|
|
3221
3224
|
__decorateClass([
|
|
3222
3225
|
ManyToOne24(() => User, (user) => user.freelancerProject),
|
|
@@ -3248,7 +3251,7 @@ FreelancerProject = __decorateClass([
|
|
|
3248
3251
|
import {
|
|
3249
3252
|
Entity as Entity26,
|
|
3250
3253
|
Column as Column27,
|
|
3251
|
-
Index as
|
|
3254
|
+
Index as Index20,
|
|
3252
3255
|
ManyToOne as ManyToOne25,
|
|
3253
3256
|
JoinColumn as JoinColumn25
|
|
3254
3257
|
} from "typeorm";
|
|
@@ -3257,7 +3260,7 @@ var FreelancerCaseStudy = class extends BaseEntity {
|
|
|
3257
3260
|
// individual index to find case study by user
|
|
3258
3261
|
__decorateClass([
|
|
3259
3262
|
Column27({ name: "user_id", type: "integer", nullable: true }),
|
|
3260
|
-
|
|
3263
|
+
Index20()
|
|
3261
3264
|
], FreelancerCaseStudy.prototype, "userId", 2);
|
|
3262
3265
|
__decorateClass([
|
|
3263
3266
|
ManyToOne25(() => User, (user) => user.freelancerCaseStudy),
|
|
@@ -3280,7 +3283,7 @@ FreelancerCaseStudy = __decorateClass([
|
|
|
3280
3283
|
import {
|
|
3281
3284
|
Entity as Entity27,
|
|
3282
3285
|
Column as Column28,
|
|
3283
|
-
Index as
|
|
3286
|
+
Index as Index21,
|
|
3284
3287
|
ManyToOne as ManyToOne26,
|
|
3285
3288
|
JoinColumn as JoinColumn26
|
|
3286
3289
|
} from "typeorm";
|
|
@@ -3289,7 +3292,7 @@ var FreelancerSkill = class extends BaseEntity {
|
|
|
3289
3292
|
// individual index to find core skills by user
|
|
3290
3293
|
__decorateClass([
|
|
3291
3294
|
Column28({ name: "user_id", type: "integer", nullable: true }),
|
|
3292
|
-
|
|
3295
|
+
Index21()
|
|
3293
3296
|
], FreelancerSkill.prototype, "userId", 2);
|
|
3294
3297
|
__decorateClass([
|
|
3295
3298
|
ManyToOne26(() => User, (user) => user.freelancerSkills),
|
|
@@ -3306,7 +3309,7 @@ FreelancerSkill = __decorateClass([
|
|
|
3306
3309
|
import {
|
|
3307
3310
|
Entity as Entity28,
|
|
3308
3311
|
Column as Column29,
|
|
3309
|
-
Index as
|
|
3312
|
+
Index as Index22,
|
|
3310
3313
|
ManyToOne as ManyToOne27,
|
|
3311
3314
|
JoinColumn as JoinColumn27
|
|
3312
3315
|
} from "typeorm";
|
|
@@ -3315,7 +3318,7 @@ var FreelancerTool = class extends BaseEntity {
|
|
|
3315
3318
|
// individual index to find tool by user
|
|
3316
3319
|
__decorateClass([
|
|
3317
3320
|
Column29({ name: "user_id", type: "integer", nullable: true }),
|
|
3318
|
-
|
|
3321
|
+
Index22()
|
|
3319
3322
|
], FreelancerTool.prototype, "userId", 2);
|
|
3320
3323
|
__decorateClass([
|
|
3321
3324
|
ManyToOne27(() => User, (user) => user.freelancerTool),
|
|
@@ -3332,7 +3335,7 @@ FreelancerTool = __decorateClass([
|
|
|
3332
3335
|
import {
|
|
3333
3336
|
Entity as Entity29,
|
|
3334
3337
|
Column as Column30,
|
|
3335
|
-
Index as
|
|
3338
|
+
Index as Index23,
|
|
3336
3339
|
ManyToOne as ManyToOne28,
|
|
3337
3340
|
JoinColumn as JoinColumn28
|
|
3338
3341
|
} from "typeorm";
|
|
@@ -3341,7 +3344,7 @@ var FreelancerFramework = class extends BaseEntity {
|
|
|
3341
3344
|
// individual index to find framework by user
|
|
3342
3345
|
__decorateClass([
|
|
3343
3346
|
Column30({ name: "user_id", type: "integer", nullable: true }),
|
|
3344
|
-
|
|
3347
|
+
Index23()
|
|
3345
3348
|
], FreelancerFramework.prototype, "userId", 2);
|
|
3346
3349
|
__decorateClass([
|
|
3347
3350
|
ManyToOne28(() => User, (user) => user.freelancerFramework),
|
|
@@ -3358,7 +3361,7 @@ FreelancerFramework = __decorateClass([
|
|
|
3358
3361
|
import {
|
|
3359
3362
|
Entity as Entity30,
|
|
3360
3363
|
Column as Column31,
|
|
3361
|
-
Index as
|
|
3364
|
+
Index as Index24,
|
|
3362
3365
|
ManyToOne as ManyToOne29,
|
|
3363
3366
|
JoinColumn as JoinColumn29
|
|
3364
3367
|
} from "typeorm";
|
|
@@ -3378,7 +3381,7 @@ var FreelancerAssessment = class extends BaseEntity {
|
|
|
3378
3381
|
};
|
|
3379
3382
|
__decorateClass([
|
|
3380
3383
|
Column31({ name: "user_id", type: "integer", nullable: true }),
|
|
3381
|
-
|
|
3384
|
+
Index24()
|
|
3382
3385
|
], FreelancerAssessment.prototype, "userId", 2);
|
|
3383
3386
|
__decorateClass([
|
|
3384
3387
|
ManyToOne29(() => User, (user) => user.assessments),
|
|
@@ -3412,7 +3415,7 @@ FreelancerAssessment = __decorateClass([
|
|
|
3412
3415
|
], FreelancerAssessment);
|
|
3413
3416
|
|
|
3414
3417
|
// src/entities/freelancer-declaration.entity.ts
|
|
3415
|
-
import { Entity as Entity31, Column as Column32, Index as
|
|
3418
|
+
import { Entity as Entity31, Column as Column32, Index as Index25, ManyToOne as ManyToOne30, JoinColumn as JoinColumn30 } from "typeorm";
|
|
3416
3419
|
var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
|
|
3417
3420
|
DocumentType2["AADHAAR"] = "AADHAAR_CARD";
|
|
3418
3421
|
DocumentType2["PASSPORT"] = "PASSPORT";
|
|
@@ -3425,7 +3428,7 @@ var FreelancerDeclaration = class extends BaseEntity {
|
|
|
3425
3428
|
// individual index to find declaration by user
|
|
3426
3429
|
__decorateClass([
|
|
3427
3430
|
Column32({ name: "user_id", type: "integer", nullable: true }),
|
|
3428
|
-
|
|
3431
|
+
Index25()
|
|
3429
3432
|
], FreelancerDeclaration.prototype, "userId", 2);
|
|
3430
3433
|
__decorateClass([
|
|
3431
3434
|
ManyToOne30(() => User, (user) => user.freelancerDeclaration),
|
|
@@ -3461,14 +3464,14 @@ import {
|
|
|
3461
3464
|
Entity as Entity35,
|
|
3462
3465
|
ManyToOne as ManyToOne33,
|
|
3463
3466
|
JoinColumn as JoinColumn33,
|
|
3464
|
-
Index as
|
|
3467
|
+
Index as Index29
|
|
3465
3468
|
} from "typeorm";
|
|
3466
3469
|
|
|
3467
3470
|
// src/entities/company-role.entity.ts
|
|
3468
3471
|
import {
|
|
3469
3472
|
Column as Column35,
|
|
3470
3473
|
Entity as Entity34,
|
|
3471
|
-
Index as
|
|
3474
|
+
Index as Index28,
|
|
3472
3475
|
JoinColumn as JoinColumn32,
|
|
3473
3476
|
ManyToOne as ManyToOne32,
|
|
3474
3477
|
OneToMany as OneToMany10
|
|
@@ -3480,11 +3483,11 @@ import {
|
|
|
3480
3483
|
Entity as Entity33,
|
|
3481
3484
|
ManyToOne as ManyToOne31,
|
|
3482
3485
|
JoinColumn as JoinColumn31,
|
|
3483
|
-
Index as
|
|
3486
|
+
Index as Index27
|
|
3484
3487
|
} from "typeorm";
|
|
3485
3488
|
|
|
3486
3489
|
// src/entities/permission.entity.ts
|
|
3487
|
-
import { Column as Column33, Entity as Entity32, Index as
|
|
3490
|
+
import { Column as Column33, Entity as Entity32, Index as Index26 } from "typeorm";
|
|
3488
3491
|
var Permission = class extends BaseEntity {
|
|
3489
3492
|
};
|
|
3490
3493
|
__decorateClass([
|
|
@@ -3492,7 +3495,7 @@ __decorateClass([
|
|
|
3492
3495
|
], Permission.prototype, "name", 2);
|
|
3493
3496
|
__decorateClass([
|
|
3494
3497
|
Column33({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
3495
|
-
|
|
3498
|
+
Index26()
|
|
3496
3499
|
], Permission.prototype, "slug", 2);
|
|
3497
3500
|
__decorateClass([
|
|
3498
3501
|
Column33({ name: "description", type: "text", nullable: true })
|
|
@@ -3509,7 +3512,7 @@ var CompanyRolePermission = class extends BaseEntity {
|
|
|
3509
3512
|
};
|
|
3510
3513
|
__decorateClass([
|
|
3511
3514
|
Column34({ name: "company_role_id", type: "integer", nullable: true }),
|
|
3512
|
-
|
|
3515
|
+
Index27()
|
|
3513
3516
|
], CompanyRolePermission.prototype, "companyRoleId", 2);
|
|
3514
3517
|
__decorateClass([
|
|
3515
3518
|
ManyToOne31(() => CompanyRole, (role) => role.rolePermissions, {
|
|
@@ -3519,7 +3522,7 @@ __decorateClass([
|
|
|
3519
3522
|
], CompanyRolePermission.prototype, "companyRole", 2);
|
|
3520
3523
|
__decorateClass([
|
|
3521
3524
|
Column34({ name: "permission_id", type: "integer" }),
|
|
3522
|
-
|
|
3525
|
+
Index27()
|
|
3523
3526
|
], CompanyRolePermission.prototype, "permissionId", 2);
|
|
3524
3527
|
__decorateClass([
|
|
3525
3528
|
ManyToOne31(() => Permission, { onDelete: "CASCADE" }),
|
|
@@ -3537,7 +3540,7 @@ var CompanyRole = class extends BaseEntity {
|
|
|
3537
3540
|
};
|
|
3538
3541
|
__decorateClass([
|
|
3539
3542
|
Column35({ name: "user_id", type: "integer", nullable: true }),
|
|
3540
|
-
|
|
3543
|
+
Index28()
|
|
3541
3544
|
], CompanyRole.prototype, "userId", 2);
|
|
3542
3545
|
__decorateClass([
|
|
3543
3546
|
ManyToOne32(() => User, (user) => user.otps),
|
|
@@ -3548,7 +3551,7 @@ __decorateClass([
|
|
|
3548
3551
|
], CompanyRole.prototype, "name", 2);
|
|
3549
3552
|
__decorateClass([
|
|
3550
3553
|
Column35({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
3551
|
-
|
|
3554
|
+
Index28()
|
|
3552
3555
|
], CompanyRole.prototype, "slug", 2);
|
|
3553
3556
|
__decorateClass([
|
|
3554
3557
|
Column35({ name: "description", type: "text", nullable: true })
|
|
@@ -3568,7 +3571,7 @@ var CompanyMemberRole = class extends BaseEntity {
|
|
|
3568
3571
|
};
|
|
3569
3572
|
__decorateClass([
|
|
3570
3573
|
Column36({ name: "user_id", type: "integer", nullable: true }),
|
|
3571
|
-
|
|
3574
|
+
Index29()
|
|
3572
3575
|
], CompanyMemberRole.prototype, "userId", 2);
|
|
3573
3576
|
__decorateClass([
|
|
3574
3577
|
ManyToOne33(() => User),
|
|
@@ -3580,7 +3583,7 @@ __decorateClass([
|
|
|
3580
3583
|
], CompanyMemberRole.prototype, "role", 2);
|
|
3581
3584
|
__decorateClass([
|
|
3582
3585
|
Column36({ name: "company_role_id", type: "integer", nullable: true }),
|
|
3583
|
-
|
|
3586
|
+
Index29()
|
|
3584
3587
|
], CompanyMemberRole.prototype, "companyRoleId", 2);
|
|
3585
3588
|
__decorateClass([
|
|
3586
3589
|
Column36({ name: "assigned_by", type: "integer", nullable: true })
|
|
@@ -3594,7 +3597,7 @@ import {
|
|
|
3594
3597
|
Entity as Entity38,
|
|
3595
3598
|
Column as Column39,
|
|
3596
3599
|
ManyToOne as ManyToOne35,
|
|
3597
|
-
Index as
|
|
3600
|
+
Index as Index31,
|
|
3598
3601
|
JoinColumn as JoinColumn35
|
|
3599
3602
|
} from "typeorm";
|
|
3600
3603
|
|
|
@@ -3607,7 +3610,7 @@ import {
|
|
|
3607
3610
|
Column as Column37,
|
|
3608
3611
|
OneToMany as OneToMany11,
|
|
3609
3612
|
ManyToOne as ManyToOne34,
|
|
3610
|
-
Index as
|
|
3613
|
+
Index as Index30,
|
|
3611
3614
|
JoinColumn as JoinColumn34
|
|
3612
3615
|
} from "typeorm";
|
|
3613
3616
|
var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
|
|
@@ -3620,7 +3623,7 @@ var AssessmetQuestionOption = class extends BaseEntity {
|
|
|
3620
3623
|
};
|
|
3621
3624
|
__decorateClass([
|
|
3622
3625
|
Column37({ name: "question_id", type: "integer", nullable: true }),
|
|
3623
|
-
|
|
3626
|
+
Index30()
|
|
3624
3627
|
], AssessmetQuestionOption.prototype, "questionId", 2);
|
|
3625
3628
|
__decorateClass([
|
|
3626
3629
|
ManyToOne34(
|
|
@@ -3693,7 +3696,7 @@ var AssessmentAnswer = class extends BaseEntity {
|
|
|
3693
3696
|
};
|
|
3694
3697
|
__decorateClass([
|
|
3695
3698
|
Column39({ name: "user_id", type: "integer" }),
|
|
3696
|
-
|
|
3699
|
+
Index31()
|
|
3697
3700
|
], AssessmentAnswer.prototype, "userId", 2);
|
|
3698
3701
|
__decorateClass([
|
|
3699
3702
|
ManyToOne35(() => User, (user) => user.assessmentAnswers),
|
|
@@ -3701,7 +3704,7 @@ __decorateClass([
|
|
|
3701
3704
|
], AssessmentAnswer.prototype, "user", 2);
|
|
3702
3705
|
__decorateClass([
|
|
3703
3706
|
Column39({ name: "question_id", type: "integer" }),
|
|
3704
|
-
|
|
3707
|
+
Index31()
|
|
3705
3708
|
], AssessmentAnswer.prototype, "questionId", 2);
|
|
3706
3709
|
__decorateClass([
|
|
3707
3710
|
ManyToOne35(
|
|
@@ -3712,7 +3715,7 @@ __decorateClass([
|
|
|
3712
3715
|
], AssessmentAnswer.prototype, "question", 2);
|
|
3713
3716
|
__decorateClass([
|
|
3714
3717
|
Column39({ name: "selected_option_id", type: "integer" }),
|
|
3715
|
-
|
|
3718
|
+
Index31()
|
|
3716
3719
|
], AssessmentAnswer.prototype, "selectedOptionId", 2);
|
|
3717
3720
|
__decorateClass([
|
|
3718
3721
|
ManyToOne35(
|
|
@@ -3736,13 +3739,13 @@ AssessmentAnswer = __decorateClass([
|
|
|
3736
3739
|
], AssessmentAnswer);
|
|
3737
3740
|
|
|
3738
3741
|
// src/entities/company-skill.entity.ts
|
|
3739
|
-
import { Entity as Entity39, Column as Column40, Index as
|
|
3742
|
+
import { Entity as Entity39, Column as Column40, Index as Index32, ManyToOne as ManyToOne36, JoinColumn as JoinColumn36 } from "typeorm";
|
|
3740
3743
|
var CompanySkill = class extends BaseEntity {
|
|
3741
3744
|
};
|
|
3742
3745
|
// individual index to find core skills by user
|
|
3743
3746
|
__decorateClass([
|
|
3744
3747
|
Column40({ name: "user_id", type: "integer", nullable: true }),
|
|
3745
|
-
|
|
3748
|
+
Index32()
|
|
3746
3749
|
], CompanySkill.prototype, "userId", 2);
|
|
3747
3750
|
__decorateClass([
|
|
3748
3751
|
ManyToOne36(() => User, (user) => user.freelancerSkills),
|
|
@@ -3759,13 +3762,13 @@ CompanySkill = __decorateClass([
|
|
|
3759
3762
|
import { Entity as Entity43, Column as Column44, ManyToOne as ManyToOne38, JoinColumn as JoinColumn38 } from "typeorm";
|
|
3760
3763
|
|
|
3761
3764
|
// src/entities/admin-role.entity.ts
|
|
3762
|
-
import { Entity as Entity42, Column as Column43, Index as
|
|
3765
|
+
import { Entity as Entity42, Column as Column43, Index as Index35, OneToMany as OneToMany15 } from "typeorm";
|
|
3763
3766
|
|
|
3764
3767
|
// src/entities/admin-role-permission.entity.ts
|
|
3765
3768
|
import { Entity as Entity41, Column as Column42, ManyToOne as ManyToOne37, JoinColumn as JoinColumn37 } from "typeorm";
|
|
3766
3769
|
|
|
3767
3770
|
// src/entities/admin-permission.entity.ts
|
|
3768
|
-
import { Entity as Entity40, Column as Column41, Index as
|
|
3771
|
+
import { Entity as Entity40, Column as Column41, Index as Index33, OneToMany as OneToMany14 } from "typeorm";
|
|
3769
3772
|
var AdminPermission = class extends BaseEntity {
|
|
3770
3773
|
};
|
|
3771
3774
|
__decorateClass([
|
|
@@ -3778,7 +3781,7 @@ __decorateClass([
|
|
|
3778
3781
|
unique: true,
|
|
3779
3782
|
nullable: true
|
|
3780
3783
|
}),
|
|
3781
|
-
|
|
3784
|
+
Index33()
|
|
3782
3785
|
], AdminPermission.prototype, "permissionSlug", 2);
|
|
3783
3786
|
__decorateClass([
|
|
3784
3787
|
Column41({ name: "permission_description", type: "varchar", nullable: true })
|
|
@@ -3838,7 +3841,7 @@ __decorateClass([
|
|
|
3838
3841
|
], AdminRole.prototype, "roleName", 2);
|
|
3839
3842
|
__decorateClass([
|
|
3840
3843
|
Column43({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
|
|
3841
|
-
|
|
3844
|
+
Index35()
|
|
3842
3845
|
], AdminRole.prototype, "roleSlug", 2);
|
|
3843
3846
|
__decorateClass([
|
|
3844
3847
|
Column43({ name: "role_description", type: "varchar", nullable: true })
|
|
@@ -3894,7 +3897,7 @@ AdminUserRole = __decorateClass([
|
|
|
3894
3897
|
import {
|
|
3895
3898
|
Entity as Entity44,
|
|
3896
3899
|
Column as Column45,
|
|
3897
|
-
Index as
|
|
3900
|
+
Index as Index37,
|
|
3898
3901
|
ManyToOne as ManyToOne39,
|
|
3899
3902
|
JoinColumn as JoinColumn39
|
|
3900
3903
|
} from "typeorm";
|
|
@@ -3903,7 +3906,7 @@ var FreelancerResume = class extends BaseEntity {
|
|
|
3903
3906
|
// individual index to find profile by user
|
|
3904
3907
|
__decorateClass([
|
|
3905
3908
|
Column45({ name: "user_id", type: "integer", nullable: true }),
|
|
3906
|
-
|
|
3909
|
+
Index37()
|
|
3907
3910
|
], FreelancerResume.prototype, "userId", 2);
|
|
3908
3911
|
__decorateClass([
|
|
3909
3912
|
ManyToOne39(() => User, (user) => user.freelancerProfile),
|
|
@@ -3948,7 +3951,7 @@ __decorateClass([
|
|
|
3948
3951
|
], User.prototype, "uniqueId", 2);
|
|
3949
3952
|
__decorateClass([
|
|
3950
3953
|
Column46({ name: "parent_id", type: "integer", nullable: true }),
|
|
3951
|
-
|
|
3954
|
+
Index38()
|
|
3952
3955
|
], User.prototype, "parentId", 2);
|
|
3953
3956
|
__decorateClass([
|
|
3954
3957
|
ManyToOne40(() => User, (user) => user.children, { nullable: true }),
|
|
@@ -4163,7 +4166,7 @@ var Rating = class extends BaseEntity {
|
|
|
4163
4166
|
};
|
|
4164
4167
|
__decorateClass([
|
|
4165
4168
|
Column47({ name: "reviewer_id", type: "integer" }),
|
|
4166
|
-
|
|
4169
|
+
Index39()
|
|
4167
4170
|
], Rating.prototype, "reviewer_id", 2);
|
|
4168
4171
|
__decorateClass([
|
|
4169
4172
|
ManyToOne41(() => User, { onDelete: "CASCADE" }),
|
|
@@ -4171,7 +4174,7 @@ __decorateClass([
|
|
|
4171
4174
|
], Rating.prototype, "reviewer", 2);
|
|
4172
4175
|
__decorateClass([
|
|
4173
4176
|
Column47({ name: "reviewee_id", type: "integer" }),
|
|
4174
|
-
|
|
4177
|
+
Index39()
|
|
4175
4178
|
], Rating.prototype, "reviewee_id", 2);
|
|
4176
4179
|
__decorateClass([
|
|
4177
4180
|
ManyToOne41(() => User, { onDelete: "CASCADE" }),
|
|
@@ -6188,13 +6191,13 @@ Commission = __decorateClass([
|
|
|
6188
6191
|
import {
|
|
6189
6192
|
Entity as Entity56,
|
|
6190
6193
|
Column as Column57,
|
|
6191
|
-
Index as
|
|
6194
|
+
Index as Index40
|
|
6192
6195
|
} from "typeorm";
|
|
6193
6196
|
var CalendlyMeetingLog = class extends BaseEntity {
|
|
6194
6197
|
};
|
|
6195
6198
|
__decorateClass([
|
|
6196
6199
|
Column57({ name: "calendly_event_id", type: "varchar", nullable: true }),
|
|
6197
|
-
|
|
6200
|
+
Index40()
|
|
6198
6201
|
], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
|
|
6199
6202
|
__decorateClass([
|
|
6200
6203
|
Column57({ name: "calendly_event_type", type: "varchar", nullable: true })
|