@experts_hub/shared 1.0.459 → 1.0.460
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/interview-invite.entity.d.ts +3 -0
- package/dist/entities/job.entity.d.ts +2 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +16 -0
- package/dist/index.mjs +16 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
2
|
import { Interview } from "./interview.entity";
|
|
3
3
|
import { User } from "./user.entity";
|
|
4
|
+
import { Job } from "./job.entity";
|
|
4
5
|
export declare enum InterviewInviteStatusEnum {
|
|
5
6
|
PENDING = "PENDING",
|
|
6
7
|
ACCEPTED = "ACCEPTED",
|
|
@@ -12,6 +13,8 @@ export declare class InterviewInvite extends BaseEntity {
|
|
|
12
13
|
interview: Interview;
|
|
13
14
|
userId: number;
|
|
14
15
|
user: User;
|
|
16
|
+
jobId: number;
|
|
17
|
+
job: Job;
|
|
15
18
|
fullName: string;
|
|
16
19
|
email: string;
|
|
17
20
|
status: InterviewInviteStatusEnum;
|
|
@@ -13,6 +13,7 @@ import { TimesheetLine } from "./timesheet-line.entity";
|
|
|
13
13
|
import { ClientCandidatePreference } from "./client-candidate-preference.entity";
|
|
14
14
|
import { Invoice } from "./invoice.entity";
|
|
15
15
|
import { F2FInterview } from "./f2f-interview.entity";
|
|
16
|
+
import { InterviewInvite } from "./interview-invite.entity";
|
|
16
17
|
export declare enum JobLocationEnum {
|
|
17
18
|
ONSITE = "ONSITE",
|
|
18
19
|
REMOTE = "REMOTE",
|
|
@@ -87,6 +88,7 @@ export declare class Job extends BaseEntity {
|
|
|
87
88
|
applicationCount: number;
|
|
88
89
|
isContractSigned: boolean;
|
|
89
90
|
isInterviewCreated: boolean;
|
|
91
|
+
interviewInvites: InterviewInvite[];
|
|
90
92
|
jobSkills: JobSkill[];
|
|
91
93
|
jobApplications: JobApplication[];
|
|
92
94
|
interviews: Interview[];
|
package/dist/index.d.mts
CHANGED
|
@@ -905,6 +905,8 @@ declare class InterviewInvite extends BaseEntity {
|
|
|
905
905
|
interview: Interview;
|
|
906
906
|
userId: number;
|
|
907
907
|
user: User;
|
|
908
|
+
jobId: number;
|
|
909
|
+
job: Job;
|
|
908
910
|
fullName: string;
|
|
909
911
|
email: string;
|
|
910
912
|
status: InterviewInviteStatusEnum;
|
|
@@ -1335,6 +1337,7 @@ declare class Job extends BaseEntity {
|
|
|
1335
1337
|
applicationCount: number;
|
|
1336
1338
|
isContractSigned: boolean;
|
|
1337
1339
|
isInterviewCreated: boolean;
|
|
1340
|
+
interviewInvites: InterviewInvite[];
|
|
1338
1341
|
jobSkills: JobSkill[];
|
|
1339
1342
|
jobApplications: JobApplication[];
|
|
1340
1343
|
interviews: Interview[];
|
package/dist/index.d.ts
CHANGED
|
@@ -905,6 +905,8 @@ declare class InterviewInvite extends BaseEntity {
|
|
|
905
905
|
interview: Interview;
|
|
906
906
|
userId: number;
|
|
907
907
|
user: User;
|
|
908
|
+
jobId: number;
|
|
909
|
+
job: Job;
|
|
908
910
|
fullName: string;
|
|
909
911
|
email: string;
|
|
910
912
|
status: InterviewInviteStatusEnum;
|
|
@@ -1335,6 +1337,7 @@ declare class Job extends BaseEntity {
|
|
|
1335
1337
|
applicationCount: number;
|
|
1336
1338
|
isContractSigned: boolean;
|
|
1337
1339
|
isInterviewCreated: boolean;
|
|
1340
|
+
interviewInvites: InterviewInvite[];
|
|
1338
1341
|
jobSkills: JobSkill[];
|
|
1339
1342
|
jobApplications: JobApplication[];
|
|
1340
1343
|
interviews: Interview[];
|
package/dist/index.js
CHANGED
|
@@ -2564,6 +2564,19 @@ __decorateClass([
|
|
|
2564
2564
|
(0, import_typeorm14.ManyToOne)(() => User),
|
|
2565
2565
|
(0, import_typeorm14.JoinColumn)({ name: "user_id" })
|
|
2566
2566
|
], InterviewInvite.prototype, "user", 2);
|
|
2567
|
+
__decorateClass([
|
|
2568
|
+
(0, import_typeorm14.Column)({
|
|
2569
|
+
name: "job_id",
|
|
2570
|
+
type: "integer",
|
|
2571
|
+
comment: "Column to specify job id",
|
|
2572
|
+
nullable: true
|
|
2573
|
+
}),
|
|
2574
|
+
(0, import_typeorm14.Index)()
|
|
2575
|
+
], InterviewInvite.prototype, "jobId", 2);
|
|
2576
|
+
__decorateClass([
|
|
2577
|
+
(0, import_typeorm14.ManyToOne)(() => Job),
|
|
2578
|
+
(0, import_typeorm14.JoinColumn)({ name: "job_id" })
|
|
2579
|
+
], InterviewInvite.prototype, "job", 2);
|
|
2567
2580
|
__decorateClass([
|
|
2568
2581
|
(0, import_typeorm14.Column)({
|
|
2569
2582
|
name: "full_name",
|
|
@@ -3908,6 +3921,9 @@ __decorateClass([
|
|
|
3908
3921
|
__decorateClass([
|
|
3909
3922
|
(0, import_typeorm28.Column)({ name: "is_interview_created", type: "boolean", default: false })
|
|
3910
3923
|
], Job.prototype, "isInterviewCreated", 2);
|
|
3924
|
+
__decorateClass([
|
|
3925
|
+
(0, import_typeorm28.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
|
|
3926
|
+
], Job.prototype, "interviewInvites", 2);
|
|
3911
3927
|
__decorateClass([
|
|
3912
3928
|
(0, import_typeorm28.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
|
|
3913
3929
|
], Job.prototype, "jobSkills", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -2455,6 +2455,19 @@ __decorateClass([
|
|
|
2455
2455
|
ManyToOne12(() => User),
|
|
2456
2456
|
JoinColumn12({ name: "user_id" })
|
|
2457
2457
|
], InterviewInvite.prototype, "user", 2);
|
|
2458
|
+
__decorateClass([
|
|
2459
|
+
Column14({
|
|
2460
|
+
name: "job_id",
|
|
2461
|
+
type: "integer",
|
|
2462
|
+
comment: "Column to specify job id",
|
|
2463
|
+
nullable: true
|
|
2464
|
+
}),
|
|
2465
|
+
Index9()
|
|
2466
|
+
], InterviewInvite.prototype, "jobId", 2);
|
|
2467
|
+
__decorateClass([
|
|
2468
|
+
ManyToOne12(() => Job),
|
|
2469
|
+
JoinColumn12({ name: "job_id" })
|
|
2470
|
+
], InterviewInvite.prototype, "job", 2);
|
|
2458
2471
|
__decorateClass([
|
|
2459
2472
|
Column14({
|
|
2460
2473
|
name: "full_name",
|
|
@@ -3831,6 +3844,9 @@ __decorateClass([
|
|
|
3831
3844
|
__decorateClass([
|
|
3832
3845
|
Column28({ name: "is_interview_created", type: "boolean", default: false })
|
|
3833
3846
|
], Job.prototype, "isInterviewCreated", 2);
|
|
3847
|
+
__decorateClass([
|
|
3848
|
+
OneToMany10(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
|
|
3849
|
+
], Job.prototype, "interviewInvites", 2);
|
|
3834
3850
|
__decorateClass([
|
|
3835
3851
|
OneToMany10(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
|
|
3836
3852
|
], Job.prototype, "jobSkills", 2);
|