@experts_hub/shared 1.0.41 → 1.0.43
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/index.d.ts +1 -0
- package/dist/index.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +44 -0
- package/dist/index.mjs +41 -0
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/onboarding/index.d.ts +1 -0
- package/dist/modules/onboarding/pattern/pattern.d.ts +3 -0
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -28,6 +28,10 @@ declare const OTP_PATTERN: {
|
|
|
28
28
|
handleVerifyOtp: string;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
+
declare const ONBOARDING_PATTERN: {
|
|
32
|
+
handleFreelancerAccountCreation: string;
|
|
33
|
+
};
|
|
34
|
+
|
|
31
35
|
declare const RESUME_PARSER_PATTERN: {
|
|
32
36
|
handleResumeParsing: string;
|
|
33
37
|
};
|
|
@@ -265,4 +269,16 @@ declare class User extends BaseEntity {
|
|
|
265
269
|
resumeParserLogs: ResumeParserLog[];
|
|
266
270
|
}
|
|
267
271
|
|
|
268
|
-
|
|
272
|
+
declare enum QuestionFor {
|
|
273
|
+
CLIENT = "CLIENT",
|
|
274
|
+
FREELANCER = "FREELANCER"
|
|
275
|
+
}
|
|
276
|
+
declare class Question extends BaseEntity {
|
|
277
|
+
questionId: number;
|
|
278
|
+
question: string;
|
|
279
|
+
questionFor: QuestionFor;
|
|
280
|
+
options: string[];
|
|
281
|
+
isActive: boolean;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CreateQuestionDto, CreateSubAdminDto, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, LoginDto, LogoutDto, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ declare const OTP_PATTERN: {
|
|
|
28
28
|
handleVerifyOtp: string;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
+
declare const ONBOARDING_PATTERN: {
|
|
32
|
+
handleFreelancerAccountCreation: string;
|
|
33
|
+
};
|
|
34
|
+
|
|
31
35
|
declare const RESUME_PARSER_PATTERN: {
|
|
32
36
|
handleResumeParsing: string;
|
|
33
37
|
};
|
|
@@ -265,4 +269,16 @@ declare class User extends BaseEntity {
|
|
|
265
269
|
resumeParserLogs: ResumeParserLog[];
|
|
266
270
|
}
|
|
267
271
|
|
|
268
|
-
|
|
272
|
+
declare enum QuestionFor {
|
|
273
|
+
CLIENT = "CLIENT",
|
|
274
|
+
FREELANCER = "FREELANCER"
|
|
275
|
+
}
|
|
276
|
+
declare class Question extends BaseEntity {
|
|
277
|
+
questionId: number;
|
|
278
|
+
question: string;
|
|
279
|
+
questionFor: QuestionFor;
|
|
280
|
+
options: string[];
|
|
281
|
+
isActive: boolean;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CreateQuestionDto, CreateSubAdminDto, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, LoginDto, LogoutDto, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -37,9 +37,12 @@ __export(index_exports, {
|
|
|
37
37
|
JobTCPAdapter: () => JobTCPAdapter,
|
|
38
38
|
LoginDto: () => LoginDto,
|
|
39
39
|
LogoutDto: () => LogoutDto,
|
|
40
|
+
ONBOARDING_PATTERN: () => ONBOARDING_PATTERN,
|
|
40
41
|
OTP_PATTERN: () => OTP_PATTERN,
|
|
41
42
|
Otp: () => Otp,
|
|
42
43
|
QUESTION_PATTERN: () => QUESTION_PATTERN,
|
|
44
|
+
Question: () => Question,
|
|
45
|
+
QuestionFor: () => QuestionFor,
|
|
43
46
|
RESUME_PARSER_PATTERN: () => RESUME_PARSER_PATTERN,
|
|
44
47
|
RefreshDto: () => RefreshDto,
|
|
45
48
|
RefreshToken: () => RefreshToken,
|
|
@@ -97,6 +100,11 @@ var OTP_PATTERN = {
|
|
|
97
100
|
handleVerifyOtp: "handle.verify.otp"
|
|
98
101
|
};
|
|
99
102
|
|
|
103
|
+
// src/modules/onboarding/pattern/pattern.ts
|
|
104
|
+
var ONBOARDING_PATTERN = {
|
|
105
|
+
handleFreelancerAccountCreation: "handle.freelancer.account.creation"
|
|
106
|
+
};
|
|
107
|
+
|
|
100
108
|
// src/modules/resume-parser/pattern/pattern.ts
|
|
101
109
|
var RESUME_PARSER_PATTERN = {
|
|
102
110
|
handleResumeParsing: "handle.resume.parsing"
|
|
@@ -602,6 +610,39 @@ __decorateClass([
|
|
|
602
610
|
User = __decorateClass([
|
|
603
611
|
(0, import_typeorm5.Entity)("users")
|
|
604
612
|
], User);
|
|
613
|
+
|
|
614
|
+
// src/entities/question.entity.ts
|
|
615
|
+
var import_typeorm6 = require("typeorm");
|
|
616
|
+
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
617
|
+
QuestionFor2["CLIENT"] = "CLIENT";
|
|
618
|
+
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
619
|
+
return QuestionFor2;
|
|
620
|
+
})(QuestionFor || {});
|
|
621
|
+
var Question = class extends BaseEntity {
|
|
622
|
+
};
|
|
623
|
+
__decorateClass([
|
|
624
|
+
(0, import_typeorm6.Column)({ name: "question_id", type: "number" })
|
|
625
|
+
], Question.prototype, "questionId", 2);
|
|
626
|
+
__decorateClass([
|
|
627
|
+
(0, import_typeorm6.Column)({ name: "question", type: "varchar", unique: true })
|
|
628
|
+
], Question.prototype, "question", 2);
|
|
629
|
+
__decorateClass([
|
|
630
|
+
(0, import_typeorm6.Column)({
|
|
631
|
+
name: "question_for",
|
|
632
|
+
type: "enum",
|
|
633
|
+
enum: QuestionFor,
|
|
634
|
+
default: "CLIENT" /* CLIENT */
|
|
635
|
+
})
|
|
636
|
+
], Question.prototype, "questionFor", 2);
|
|
637
|
+
__decorateClass([
|
|
638
|
+
(0, import_typeorm6.Column)({ name: "options", type: "varchar", array: true })
|
|
639
|
+
], Question.prototype, "options", 2);
|
|
640
|
+
__decorateClass([
|
|
641
|
+
(0, import_typeorm6.Column)({ name: "is_active", type: "boolean", default: false })
|
|
642
|
+
], Question.prototype, "isActive", 2);
|
|
643
|
+
Question = __decorateClass([
|
|
644
|
+
(0, import_typeorm6.Entity)("questions")
|
|
645
|
+
], Question);
|
|
605
646
|
// Annotate the CommonJS export names for ESM import in node:
|
|
606
647
|
0 && (module.exports = {
|
|
607
648
|
AUTHENTICATION_PATTERN,
|
|
@@ -614,9 +655,12 @@ User = __decorateClass([
|
|
|
614
655
|
JobTCPAdapter,
|
|
615
656
|
LoginDto,
|
|
616
657
|
LogoutDto,
|
|
658
|
+
ONBOARDING_PATTERN,
|
|
617
659
|
OTP_PATTERN,
|
|
618
660
|
Otp,
|
|
619
661
|
QUESTION_PATTERN,
|
|
662
|
+
Question,
|
|
663
|
+
QuestionFor,
|
|
620
664
|
RESUME_PARSER_PATTERN,
|
|
621
665
|
RefreshDto,
|
|
622
666
|
RefreshToken,
|
package/dist/index.mjs
CHANGED
|
@@ -59,6 +59,11 @@ var OTP_PATTERN = {
|
|
|
59
59
|
handleVerifyOtp: "handle.verify.otp"
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
+
// src/modules/onboarding/pattern/pattern.ts
|
|
63
|
+
var ONBOARDING_PATTERN = {
|
|
64
|
+
handleFreelancerAccountCreation: "handle.freelancer.account.creation"
|
|
65
|
+
};
|
|
66
|
+
|
|
62
67
|
// src/modules/resume-parser/pattern/pattern.ts
|
|
63
68
|
var RESUME_PARSER_PATTERN = {
|
|
64
69
|
handleResumeParsing: "handle.resume.parsing"
|
|
@@ -600,6 +605,39 @@ __decorateClass([
|
|
|
600
605
|
User = __decorateClass([
|
|
601
606
|
Entity4("users")
|
|
602
607
|
], User);
|
|
608
|
+
|
|
609
|
+
// src/entities/question.entity.ts
|
|
610
|
+
import { Entity as Entity5, Column as Column6 } from "typeorm";
|
|
611
|
+
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
612
|
+
QuestionFor2["CLIENT"] = "CLIENT";
|
|
613
|
+
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
614
|
+
return QuestionFor2;
|
|
615
|
+
})(QuestionFor || {});
|
|
616
|
+
var Question = class extends BaseEntity {
|
|
617
|
+
};
|
|
618
|
+
__decorateClass([
|
|
619
|
+
Column6({ name: "question_id", type: "number" })
|
|
620
|
+
], Question.prototype, "questionId", 2);
|
|
621
|
+
__decorateClass([
|
|
622
|
+
Column6({ name: "question", type: "varchar", unique: true })
|
|
623
|
+
], Question.prototype, "question", 2);
|
|
624
|
+
__decorateClass([
|
|
625
|
+
Column6({
|
|
626
|
+
name: "question_for",
|
|
627
|
+
type: "enum",
|
|
628
|
+
enum: QuestionFor,
|
|
629
|
+
default: "CLIENT" /* CLIENT */
|
|
630
|
+
})
|
|
631
|
+
], Question.prototype, "questionFor", 2);
|
|
632
|
+
__decorateClass([
|
|
633
|
+
Column6({ name: "options", type: "varchar", array: true })
|
|
634
|
+
], Question.prototype, "options", 2);
|
|
635
|
+
__decorateClass([
|
|
636
|
+
Column6({ name: "is_active", type: "boolean", default: false })
|
|
637
|
+
], Question.prototype, "isActive", 2);
|
|
638
|
+
Question = __decorateClass([
|
|
639
|
+
Entity5("questions")
|
|
640
|
+
], Question);
|
|
603
641
|
export {
|
|
604
642
|
AUTHENTICATION_PATTERN,
|
|
605
643
|
AccountStatus,
|
|
@@ -611,9 +649,12 @@ export {
|
|
|
611
649
|
JobTCPAdapter,
|
|
612
650
|
LoginDto,
|
|
613
651
|
LogoutDto,
|
|
652
|
+
ONBOARDING_PATTERN,
|
|
614
653
|
OTP_PATTERN,
|
|
615
654
|
Otp,
|
|
616
655
|
QUESTION_PATTERN,
|
|
656
|
+
Question,
|
|
657
|
+
QuestionFor,
|
|
617
658
|
RESUME_PARSER_PATTERN,
|
|
618
659
|
RefreshDto,
|
|
619
660
|
RefreshToken,
|
package/dist/modules/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pattern/pattern';
|