@experts_hub/shared 1.0.197 → 1.0.199
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/assessment-question-option.d.ts +2 -1
- package/dist/entities/index.d.ts +2 -0
- package/dist/index.d.mts +25 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.js +79 -0
- package/dist/index.mjs +81 -0
- package/package.json +1 -1
|
@@ -6,8 +6,9 @@ export declare enum AnswerTypeEnum {
|
|
|
6
6
|
ELIMINATE = "ELIMINATE"
|
|
7
7
|
}
|
|
8
8
|
export declare class AssessmetQuestionOption extends BaseEntity {
|
|
9
|
+
questionId: number;
|
|
10
|
+
question: AssessmetQuestion;
|
|
9
11
|
text: string;
|
|
10
12
|
answerType: AnswerTypeEnum;
|
|
11
13
|
isActive: boolean;
|
|
12
|
-
question: AssessmetQuestion;
|
|
13
14
|
}
|
package/dist/entities/index.d.ts
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1594,4 +1594,28 @@ declare class Country extends BaseEntity {
|
|
|
1594
1594
|
isActive: boolean;
|
|
1595
1595
|
}
|
|
1596
1596
|
|
|
1597
|
-
|
|
1597
|
+
declare enum AnswerTypeEnum {
|
|
1598
|
+
CORRECT = "CORRECT",
|
|
1599
|
+
ACCEPTABLE = "ACCEPTABLE",
|
|
1600
|
+
ELIMINATE = "ELIMINATE"
|
|
1601
|
+
}
|
|
1602
|
+
declare class AssessmetQuestionOption extends BaseEntity {
|
|
1603
|
+
questionId: number;
|
|
1604
|
+
question: AssessmetQuestion;
|
|
1605
|
+
text: string;
|
|
1606
|
+
answerType: AnswerTypeEnum;
|
|
1607
|
+
isActive: boolean;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
declare enum QuestionForEnum {
|
|
1611
|
+
ASSESSMENT = "ASSESSMENT",
|
|
1612
|
+
INTERVIEW = "INTERVIEW"
|
|
1613
|
+
}
|
|
1614
|
+
declare class AssessmetQuestion extends BaseEntity {
|
|
1615
|
+
text: string;
|
|
1616
|
+
questionFor: QuestionForEnum;
|
|
1617
|
+
isActive: boolean;
|
|
1618
|
+
options: AssessmetQuestionOption[];
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, AnswerTypeEnum, ApplicationStatusEnum, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -1594,4 +1594,28 @@ declare class Country extends BaseEntity {
|
|
|
1594
1594
|
isActive: boolean;
|
|
1595
1595
|
}
|
|
1596
1596
|
|
|
1597
|
-
|
|
1597
|
+
declare enum AnswerTypeEnum {
|
|
1598
|
+
CORRECT = "CORRECT",
|
|
1599
|
+
ACCEPTABLE = "ACCEPTABLE",
|
|
1600
|
+
ELIMINATE = "ELIMINATE"
|
|
1601
|
+
}
|
|
1602
|
+
declare class AssessmetQuestionOption extends BaseEntity {
|
|
1603
|
+
questionId: number;
|
|
1604
|
+
question: AssessmetQuestion;
|
|
1605
|
+
text: string;
|
|
1606
|
+
answerType: AnswerTypeEnum;
|
|
1607
|
+
isActive: boolean;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
declare enum QuestionForEnum {
|
|
1611
|
+
ASSESSMENT = "ASSESSMENT",
|
|
1612
|
+
INTERVIEW = "INTERVIEW"
|
|
1613
|
+
}
|
|
1614
|
+
declare class AssessmetQuestion extends BaseEntity {
|
|
1615
|
+
text: string;
|
|
1616
|
+
questionFor: QuestionForEnum;
|
|
1617
|
+
isActive: boolean;
|
|
1618
|
+
options: AssessmetQuestionOption[];
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, AnswerTypeEnum, ApplicationStatusEnum, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.js
CHANGED
|
@@ -30,8 +30,11 @@ __export(index_exports, {
|
|
|
30
30
|
AUTHENTICATION_PATTERN: () => AUTHENTICATION_PATTERN,
|
|
31
31
|
AccountStatus: () => AccountStatus,
|
|
32
32
|
AccountType: () => AccountType,
|
|
33
|
+
AnswerTypeEnum: () => AnswerTypeEnum,
|
|
33
34
|
ApplicationStatusEnum: () => ApplicationStatusEnum,
|
|
34
35
|
AssessmentStatusEnum: () => AssessmentStatusEnum,
|
|
36
|
+
AssessmetQuestion: () => AssessmetQuestion,
|
|
37
|
+
AssessmetQuestionOption: () => AssessmetQuestionOption,
|
|
35
38
|
BANK_PATTERN: () => BANK_PATTERN,
|
|
36
39
|
BankAccountScope: () => BankAccountScope,
|
|
37
40
|
BankAccountScopeEnum: () => BankAccountScopeEnum,
|
|
@@ -148,6 +151,7 @@ __export(index_exports, {
|
|
|
148
151
|
QUESTION_PATTERN: () => QUESTION_PATTERN,
|
|
149
152
|
Question: () => Question,
|
|
150
153
|
QuestionFor: () => QuestionFor,
|
|
154
|
+
QuestionForEnum: () => QuestionForEnum,
|
|
151
155
|
RATING_PATTERN: () => RATING_PATTERN,
|
|
152
156
|
RESUME_PARSER_PATTERN: () => RESUME_PARSER_PATTERN,
|
|
153
157
|
Rating: () => Rating,
|
|
@@ -3777,13 +3781,87 @@ __decorateClass([
|
|
|
3777
3781
|
Country = __decorateClass([
|
|
3778
3782
|
(0, import_typeorm37.Entity)("countries")
|
|
3779
3783
|
], Country);
|
|
3784
|
+
|
|
3785
|
+
// src/entities/assessment-question.entity.ts
|
|
3786
|
+
var import_typeorm39 = require("typeorm");
|
|
3787
|
+
|
|
3788
|
+
// src/entities/assessment-question-option.ts
|
|
3789
|
+
var import_typeorm38 = require("typeorm");
|
|
3790
|
+
var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
|
|
3791
|
+
AnswerTypeEnum2["CORRECT"] = "CORRECT";
|
|
3792
|
+
AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
|
|
3793
|
+
AnswerTypeEnum2["ELIMINATE"] = "ELIMINATE";
|
|
3794
|
+
return AnswerTypeEnum2;
|
|
3795
|
+
})(AnswerTypeEnum || {});
|
|
3796
|
+
var AssessmetQuestionOption = class extends BaseEntity {
|
|
3797
|
+
};
|
|
3798
|
+
__decorateClass([
|
|
3799
|
+
(0, import_typeorm38.Column)({ name: "question_id", type: "integer", nullable: true }),
|
|
3800
|
+
(0, import_typeorm38.Index)()
|
|
3801
|
+
], AssessmetQuestionOption.prototype, "questionId", 2);
|
|
3802
|
+
__decorateClass([
|
|
3803
|
+
(0, import_typeorm38.ManyToOne)(
|
|
3804
|
+
() => AssessmetQuestion,
|
|
3805
|
+
(assessmentQuestion) => assessmentQuestion.options
|
|
3806
|
+
),
|
|
3807
|
+
(0, import_typeorm38.JoinColumn)({ name: "question_id" })
|
|
3808
|
+
], AssessmetQuestionOption.prototype, "question", 2);
|
|
3809
|
+
__decorateClass([
|
|
3810
|
+
(0, import_typeorm38.Column)({ name: "text", type: "varchar", nullable: true })
|
|
3811
|
+
], AssessmetQuestionOption.prototype, "text", 2);
|
|
3812
|
+
__decorateClass([
|
|
3813
|
+
(0, import_typeorm38.Column)({
|
|
3814
|
+
name: "answer_type",
|
|
3815
|
+
type: "enum",
|
|
3816
|
+
enum: AnswerTypeEnum,
|
|
3817
|
+
default: "ELIMINATE" /* ELIMINATE */
|
|
3818
|
+
})
|
|
3819
|
+
], AssessmetQuestionOption.prototype, "answerType", 2);
|
|
3820
|
+
__decorateClass([
|
|
3821
|
+
(0, import_typeorm38.Column)({ name: "is_active", type: "boolean", default: true })
|
|
3822
|
+
], AssessmetQuestionOption.prototype, "isActive", 2);
|
|
3823
|
+
AssessmetQuestionOption = __decorateClass([
|
|
3824
|
+
(0, import_typeorm38.Entity)("assessment_question_options")
|
|
3825
|
+
], AssessmetQuestionOption);
|
|
3826
|
+
|
|
3827
|
+
// src/entities/assessment-question.entity.ts
|
|
3828
|
+
var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
|
|
3829
|
+
QuestionForEnum2["ASSESSMENT"] = "ASSESSMENT";
|
|
3830
|
+
QuestionForEnum2["INTERVIEW"] = "INTERVIEW";
|
|
3831
|
+
return QuestionForEnum2;
|
|
3832
|
+
})(QuestionForEnum || {});
|
|
3833
|
+
var AssessmetQuestion = class extends BaseEntity {
|
|
3834
|
+
};
|
|
3835
|
+
__decorateClass([
|
|
3836
|
+
(0, import_typeorm39.Column)({ name: "text", type: "varchar", nullable: true })
|
|
3837
|
+
], AssessmetQuestion.prototype, "text", 2);
|
|
3838
|
+
__decorateClass([
|
|
3839
|
+
(0, import_typeorm39.Column)({
|
|
3840
|
+
name: "question_for",
|
|
3841
|
+
type: "enum",
|
|
3842
|
+
enum: QuestionForEnum,
|
|
3843
|
+
nullable: true
|
|
3844
|
+
})
|
|
3845
|
+
], AssessmetQuestion.prototype, "questionFor", 2);
|
|
3846
|
+
__decorateClass([
|
|
3847
|
+
(0, import_typeorm39.Column)({ name: "is_active", type: "boolean", default: true })
|
|
3848
|
+
], AssessmetQuestion.prototype, "isActive", 2);
|
|
3849
|
+
__decorateClass([
|
|
3850
|
+
(0, import_typeorm39.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
|
|
3851
|
+
], AssessmetQuestion.prototype, "options", 2);
|
|
3852
|
+
AssessmetQuestion = __decorateClass([
|
|
3853
|
+
(0, import_typeorm39.Entity)("assessment_questions")
|
|
3854
|
+
], AssessmetQuestion);
|
|
3780
3855
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3781
3856
|
0 && (module.exports = {
|
|
3782
3857
|
AUTHENTICATION_PATTERN,
|
|
3783
3858
|
AccountStatus,
|
|
3784
3859
|
AccountType,
|
|
3860
|
+
AnswerTypeEnum,
|
|
3785
3861
|
ApplicationStatusEnum,
|
|
3786
3862
|
AssessmentStatusEnum,
|
|
3863
|
+
AssessmetQuestion,
|
|
3864
|
+
AssessmetQuestionOption,
|
|
3787
3865
|
BANK_PATTERN,
|
|
3788
3866
|
BankAccountScope,
|
|
3789
3867
|
BankAccountScopeEnum,
|
|
@@ -3900,6 +3978,7 @@ Country = __decorateClass([
|
|
|
3900
3978
|
QUESTION_PATTERN,
|
|
3901
3979
|
Question,
|
|
3902
3980
|
QuestionFor,
|
|
3981
|
+
QuestionForEnum,
|
|
3903
3982
|
RATING_PATTERN,
|
|
3904
3983
|
RESUME_PARSER_PATTERN,
|
|
3905
3984
|
Rating,
|
package/dist/index.mjs
CHANGED
|
@@ -3883,12 +3883,92 @@ __decorateClass([
|
|
|
3883
3883
|
Country = __decorateClass([
|
|
3884
3884
|
Entity36("countries")
|
|
3885
3885
|
], Country);
|
|
3886
|
+
|
|
3887
|
+
// src/entities/assessment-question.entity.ts
|
|
3888
|
+
import { Entity as Entity38, Column as Column39, OneToMany as OneToMany15 } from "typeorm";
|
|
3889
|
+
|
|
3890
|
+
// src/entities/assessment-question-option.ts
|
|
3891
|
+
import {
|
|
3892
|
+
Entity as Entity37,
|
|
3893
|
+
Column as Column38,
|
|
3894
|
+
ManyToOne as ManyToOne29,
|
|
3895
|
+
Index as Index26,
|
|
3896
|
+
JoinColumn as JoinColumn29
|
|
3897
|
+
} from "typeorm";
|
|
3898
|
+
var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
|
|
3899
|
+
AnswerTypeEnum2["CORRECT"] = "CORRECT";
|
|
3900
|
+
AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
|
|
3901
|
+
AnswerTypeEnum2["ELIMINATE"] = "ELIMINATE";
|
|
3902
|
+
return AnswerTypeEnum2;
|
|
3903
|
+
})(AnswerTypeEnum || {});
|
|
3904
|
+
var AssessmetQuestionOption = class extends BaseEntity {
|
|
3905
|
+
};
|
|
3906
|
+
__decorateClass([
|
|
3907
|
+
Column38({ name: "question_id", type: "integer", nullable: true }),
|
|
3908
|
+
Index26()
|
|
3909
|
+
], AssessmetQuestionOption.prototype, "questionId", 2);
|
|
3910
|
+
__decorateClass([
|
|
3911
|
+
ManyToOne29(
|
|
3912
|
+
() => AssessmetQuestion,
|
|
3913
|
+
(assessmentQuestion) => assessmentQuestion.options
|
|
3914
|
+
),
|
|
3915
|
+
JoinColumn29({ name: "question_id" })
|
|
3916
|
+
], AssessmetQuestionOption.prototype, "question", 2);
|
|
3917
|
+
__decorateClass([
|
|
3918
|
+
Column38({ name: "text", type: "varchar", nullable: true })
|
|
3919
|
+
], AssessmetQuestionOption.prototype, "text", 2);
|
|
3920
|
+
__decorateClass([
|
|
3921
|
+
Column38({
|
|
3922
|
+
name: "answer_type",
|
|
3923
|
+
type: "enum",
|
|
3924
|
+
enum: AnswerTypeEnum,
|
|
3925
|
+
default: "ELIMINATE" /* ELIMINATE */
|
|
3926
|
+
})
|
|
3927
|
+
], AssessmetQuestionOption.prototype, "answerType", 2);
|
|
3928
|
+
__decorateClass([
|
|
3929
|
+
Column38({ name: "is_active", type: "boolean", default: true })
|
|
3930
|
+
], AssessmetQuestionOption.prototype, "isActive", 2);
|
|
3931
|
+
AssessmetQuestionOption = __decorateClass([
|
|
3932
|
+
Entity37("assessment_question_options")
|
|
3933
|
+
], AssessmetQuestionOption);
|
|
3934
|
+
|
|
3935
|
+
// src/entities/assessment-question.entity.ts
|
|
3936
|
+
var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
|
|
3937
|
+
QuestionForEnum2["ASSESSMENT"] = "ASSESSMENT";
|
|
3938
|
+
QuestionForEnum2["INTERVIEW"] = "INTERVIEW";
|
|
3939
|
+
return QuestionForEnum2;
|
|
3940
|
+
})(QuestionForEnum || {});
|
|
3941
|
+
var AssessmetQuestion = class extends BaseEntity {
|
|
3942
|
+
};
|
|
3943
|
+
__decorateClass([
|
|
3944
|
+
Column39({ name: "text", type: "varchar", nullable: true })
|
|
3945
|
+
], AssessmetQuestion.prototype, "text", 2);
|
|
3946
|
+
__decorateClass([
|
|
3947
|
+
Column39({
|
|
3948
|
+
name: "question_for",
|
|
3949
|
+
type: "enum",
|
|
3950
|
+
enum: QuestionForEnum,
|
|
3951
|
+
nullable: true
|
|
3952
|
+
})
|
|
3953
|
+
], AssessmetQuestion.prototype, "questionFor", 2);
|
|
3954
|
+
__decorateClass([
|
|
3955
|
+
Column39({ name: "is_active", type: "boolean", default: true })
|
|
3956
|
+
], AssessmetQuestion.prototype, "isActive", 2);
|
|
3957
|
+
__decorateClass([
|
|
3958
|
+
OneToMany15(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
|
|
3959
|
+
], AssessmetQuestion.prototype, "options", 2);
|
|
3960
|
+
AssessmetQuestion = __decorateClass([
|
|
3961
|
+
Entity38("assessment_questions")
|
|
3962
|
+
], AssessmetQuestion);
|
|
3886
3963
|
export {
|
|
3887
3964
|
AUTHENTICATION_PATTERN,
|
|
3888
3965
|
AccountStatus,
|
|
3889
3966
|
AccountType,
|
|
3967
|
+
AnswerTypeEnum,
|
|
3890
3968
|
ApplicationStatusEnum,
|
|
3891
3969
|
AssessmentStatusEnum,
|
|
3970
|
+
AssessmetQuestion,
|
|
3971
|
+
AssessmetQuestionOption,
|
|
3892
3972
|
BANK_PATTERN,
|
|
3893
3973
|
BankAccountScope,
|
|
3894
3974
|
BankAccountScopeEnum,
|
|
@@ -4005,6 +4085,7 @@ export {
|
|
|
4005
4085
|
QUESTION_PATTERN,
|
|
4006
4086
|
Question,
|
|
4007
4087
|
QuestionFor,
|
|
4088
|
+
QuestionForEnum,
|
|
4008
4089
|
RATING_PATTERN,
|
|
4009
4090
|
RESUME_PARSER_PATTERN,
|
|
4010
4091
|
Rating,
|