@experts_hub/shared 1.0.318 → 1.0.319
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 +4 -3
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +7 -5
- package/dist/index.mjs +7 -5
- package/package.json +1 -1
|
@@ -3,8 +3,9 @@ import { Interview } from "./interview.entity";
|
|
|
3
3
|
import { User } from "./user.entity";
|
|
4
4
|
export declare enum InterviewInviteStatusEnum {
|
|
5
5
|
PENDING = "PENDING",
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
ACCEPTED = "ACCEPTED",
|
|
7
|
+
REJECTED = "REJECTED",
|
|
8
|
+
EXPIRED = "EXPIRED"
|
|
8
9
|
}
|
|
9
10
|
export declare class InterviewInvite extends BaseEntity {
|
|
10
11
|
interviewId: number;
|
|
@@ -17,5 +18,5 @@ export declare class InterviewInvite extends BaseEntity {
|
|
|
17
18
|
sentAt: Date;
|
|
18
19
|
expiresAt: Date;
|
|
19
20
|
respondedAt?: Date;
|
|
20
|
-
|
|
21
|
+
token: string;
|
|
21
22
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -2047,8 +2047,9 @@ declare class JobRoles extends BaseEntity {
|
|
|
2047
2047
|
|
|
2048
2048
|
declare enum InterviewInviteStatusEnum {
|
|
2049
2049
|
PENDING = "PENDING",
|
|
2050
|
-
|
|
2051
|
-
|
|
2050
|
+
ACCEPTED = "ACCEPTED",
|
|
2051
|
+
REJECTED = "REJECTED",
|
|
2052
|
+
EXPIRED = "EXPIRED"
|
|
2052
2053
|
}
|
|
2053
2054
|
declare class InterviewInvite extends BaseEntity {
|
|
2054
2055
|
interviewId: number;
|
|
@@ -2061,7 +2062,7 @@ declare class InterviewInvite extends BaseEntity {
|
|
|
2061
2062
|
sentAt: Date;
|
|
2062
2063
|
expiresAt: Date;
|
|
2063
2064
|
respondedAt?: Date;
|
|
2064
|
-
|
|
2065
|
+
token: string;
|
|
2065
2066
|
}
|
|
2066
2067
|
|
|
2067
2068
|
declare enum AIInterviewStatusEnum {
|
package/dist/index.d.ts
CHANGED
|
@@ -2047,8 +2047,9 @@ declare class JobRoles extends BaseEntity {
|
|
|
2047
2047
|
|
|
2048
2048
|
declare enum InterviewInviteStatusEnum {
|
|
2049
2049
|
PENDING = "PENDING",
|
|
2050
|
-
|
|
2051
|
-
|
|
2050
|
+
ACCEPTED = "ACCEPTED",
|
|
2051
|
+
REJECTED = "REJECTED",
|
|
2052
|
+
EXPIRED = "EXPIRED"
|
|
2052
2053
|
}
|
|
2053
2054
|
declare class InterviewInvite extends BaseEntity {
|
|
2054
2055
|
interviewId: number;
|
|
@@ -2061,7 +2062,7 @@ declare class InterviewInvite extends BaseEntity {
|
|
|
2061
2062
|
sentAt: Date;
|
|
2062
2063
|
expiresAt: Date;
|
|
2063
2064
|
respondedAt?: Date;
|
|
2064
|
-
|
|
2065
|
+
token: string;
|
|
2065
2066
|
}
|
|
2066
2067
|
|
|
2067
2068
|
declare enum AIInterviewStatusEnum {
|
package/dist/index.js
CHANGED
|
@@ -5076,8 +5076,9 @@ JobRoles = __decorateClass([
|
|
|
5076
5076
|
var import_typeorm46 = require("typeorm");
|
|
5077
5077
|
var InterviewInviteStatusEnum = /* @__PURE__ */ ((InterviewInviteStatusEnum2) => {
|
|
5078
5078
|
InterviewInviteStatusEnum2["PENDING"] = "PENDING";
|
|
5079
|
+
InterviewInviteStatusEnum2["ACCEPTED"] = "ACCEPTED";
|
|
5080
|
+
InterviewInviteStatusEnum2["REJECTED"] = "REJECTED";
|
|
5079
5081
|
InterviewInviteStatusEnum2["EXPIRED"] = "EXPIRED";
|
|
5080
|
-
InterviewInviteStatusEnum2["COMPLETED"] = "COMPLETED";
|
|
5081
5082
|
return InterviewInviteStatusEnum2;
|
|
5082
5083
|
})(InterviewInviteStatusEnum || {});
|
|
5083
5084
|
var InterviewInvite = class extends BaseEntity {
|
|
@@ -5086,7 +5087,7 @@ __decorateClass([
|
|
|
5086
5087
|
(0, import_typeorm46.Column)({
|
|
5087
5088
|
name: "interview_id",
|
|
5088
5089
|
type: "integer",
|
|
5089
|
-
comment: "
|
|
5090
|
+
comment: "Column to specify interview id"
|
|
5090
5091
|
}),
|
|
5091
5092
|
(0, import_typeorm46.Index)()
|
|
5092
5093
|
], InterviewInvite.prototype, "interviewId", 2);
|
|
@@ -5128,7 +5129,8 @@ __decorateClass([
|
|
|
5128
5129
|
name: "status",
|
|
5129
5130
|
type: "enum",
|
|
5130
5131
|
enum: InterviewInviteStatusEnum,
|
|
5131
|
-
default: "PENDING" /* PENDING
|
|
5132
|
+
default: "PENDING" /* PENDING */,
|
|
5133
|
+
comment: "To manage invite status"
|
|
5132
5134
|
})
|
|
5133
5135
|
], InterviewInvite.prototype, "status", 2);
|
|
5134
5136
|
__decorateClass([
|
|
@@ -5157,14 +5159,14 @@ __decorateClass([
|
|
|
5157
5159
|
], InterviewInvite.prototype, "respondedAt", 2);
|
|
5158
5160
|
__decorateClass([
|
|
5159
5161
|
(0, import_typeorm46.Column)({
|
|
5160
|
-
name: "
|
|
5162
|
+
name: "token",
|
|
5161
5163
|
type: "varchar",
|
|
5162
5164
|
unique: true,
|
|
5163
5165
|
comment: "Secure unique token sent in email link for invite tracking",
|
|
5164
5166
|
nullable: true
|
|
5165
5167
|
}),
|
|
5166
5168
|
(0, import_typeorm46.Index)()
|
|
5167
|
-
], InterviewInvite.prototype, "
|
|
5169
|
+
], InterviewInvite.prototype, "token", 2);
|
|
5168
5170
|
InterviewInvite = __decorateClass([
|
|
5169
5171
|
(0, import_typeorm46.Entity)("interview_invites")
|
|
5170
5172
|
], InterviewInvite);
|
package/dist/index.mjs
CHANGED
|
@@ -5212,8 +5212,9 @@ JobRoles = __decorateClass([
|
|
|
5212
5212
|
import { Entity as Entity45, Column as Column46, ManyToOne as ManyToOne36, JoinColumn as JoinColumn36, Index as Index36 } from "typeorm";
|
|
5213
5213
|
var InterviewInviteStatusEnum = /* @__PURE__ */ ((InterviewInviteStatusEnum2) => {
|
|
5214
5214
|
InterviewInviteStatusEnum2["PENDING"] = "PENDING";
|
|
5215
|
+
InterviewInviteStatusEnum2["ACCEPTED"] = "ACCEPTED";
|
|
5216
|
+
InterviewInviteStatusEnum2["REJECTED"] = "REJECTED";
|
|
5215
5217
|
InterviewInviteStatusEnum2["EXPIRED"] = "EXPIRED";
|
|
5216
|
-
InterviewInviteStatusEnum2["COMPLETED"] = "COMPLETED";
|
|
5217
5218
|
return InterviewInviteStatusEnum2;
|
|
5218
5219
|
})(InterviewInviteStatusEnum || {});
|
|
5219
5220
|
var InterviewInvite = class extends BaseEntity {
|
|
@@ -5222,7 +5223,7 @@ __decorateClass([
|
|
|
5222
5223
|
Column46({
|
|
5223
5224
|
name: "interview_id",
|
|
5224
5225
|
type: "integer",
|
|
5225
|
-
comment: "
|
|
5226
|
+
comment: "Column to specify interview id"
|
|
5226
5227
|
}),
|
|
5227
5228
|
Index36()
|
|
5228
5229
|
], InterviewInvite.prototype, "interviewId", 2);
|
|
@@ -5264,7 +5265,8 @@ __decorateClass([
|
|
|
5264
5265
|
name: "status",
|
|
5265
5266
|
type: "enum",
|
|
5266
5267
|
enum: InterviewInviteStatusEnum,
|
|
5267
|
-
default: "PENDING" /* PENDING
|
|
5268
|
+
default: "PENDING" /* PENDING */,
|
|
5269
|
+
comment: "To manage invite status"
|
|
5268
5270
|
})
|
|
5269
5271
|
], InterviewInvite.prototype, "status", 2);
|
|
5270
5272
|
__decorateClass([
|
|
@@ -5293,14 +5295,14 @@ __decorateClass([
|
|
|
5293
5295
|
], InterviewInvite.prototype, "respondedAt", 2);
|
|
5294
5296
|
__decorateClass([
|
|
5295
5297
|
Column46({
|
|
5296
|
-
name: "
|
|
5298
|
+
name: "token",
|
|
5297
5299
|
type: "varchar",
|
|
5298
5300
|
unique: true,
|
|
5299
5301
|
comment: "Secure unique token sent in email link for invite tracking",
|
|
5300
5302
|
nullable: true
|
|
5301
5303
|
}),
|
|
5302
5304
|
Index36()
|
|
5303
|
-
], InterviewInvite.prototype, "
|
|
5305
|
+
], InterviewInvite.prototype, "token", 2);
|
|
5304
5306
|
InterviewInvite = __decorateClass([
|
|
5305
5307
|
Entity45("interview_invites")
|
|
5306
5308
|
], InterviewInvite);
|