@experts_hub/shared 1.0.200 → 1.0.201
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-answer.entity.d.ts +19 -0
- package/dist/entities/{assessment-question-option.d.ts → assessment-question-option.entity.d.ts} +2 -0
- package/dist/entities/assessment-question.entity.d.ts +3 -1
- package/dist/entities/index.d.ts +2 -1
- package/dist/entities/user.entity.d.ts +2 -0
- package/dist/index.d.mts +44 -25
- package/dist/index.d.ts +44 -25
- package/dist/index.js +269 -197
- package/dist/index.mjs +281 -204
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1063,17 +1063,17 @@ import {
|
|
|
1063
1063
|
} from "class-validator";
|
|
1064
1064
|
|
|
1065
1065
|
// src/entities/rating.entity.ts
|
|
1066
|
-
import { Entity as
|
|
1066
|
+
import { Entity as Entity31, Column as Column32, ManyToOne as ManyToOne28, JoinColumn as JoinColumn28, Index as Index27 } from "typeorm";
|
|
1067
1067
|
|
|
1068
1068
|
// src/entities/user.entity.ts
|
|
1069
1069
|
import {
|
|
1070
|
-
Entity as
|
|
1071
|
-
Column as
|
|
1072
|
-
OneToMany as
|
|
1070
|
+
Entity as Entity30,
|
|
1071
|
+
Column as Column31,
|
|
1072
|
+
OneToMany as OneToMany11,
|
|
1073
1073
|
OneToOne,
|
|
1074
|
-
Index as
|
|
1075
|
-
ManyToOne as
|
|
1076
|
-
JoinColumn as
|
|
1074
|
+
Index as Index26,
|
|
1075
|
+
ManyToOne as ManyToOne27,
|
|
1076
|
+
JoinColumn as JoinColumn27
|
|
1077
1077
|
} from "typeorm";
|
|
1078
1078
|
|
|
1079
1079
|
// src/entities/base.entity.ts
|
|
@@ -2512,6 +2512,152 @@ CompanyMemberRole = __decorateClass([
|
|
|
2512
2512
|
Entity26("company_member_roles")
|
|
2513
2513
|
], CompanyMemberRole);
|
|
2514
2514
|
|
|
2515
|
+
// src/entities/assessment-answer.entity.ts
|
|
2516
|
+
import {
|
|
2517
|
+
Entity as Entity29,
|
|
2518
|
+
Column as Column30,
|
|
2519
|
+
ManyToOne as ManyToOne26,
|
|
2520
|
+
Index as Index25,
|
|
2521
|
+
JoinColumn as JoinColumn26
|
|
2522
|
+
} from "typeorm";
|
|
2523
|
+
|
|
2524
|
+
// src/entities/assessment-question.entity.ts
|
|
2525
|
+
import { Entity as Entity28, Column as Column29, OneToMany as OneToMany9 } from "typeorm";
|
|
2526
|
+
|
|
2527
|
+
// src/entities/assessment-question-option.entity.ts
|
|
2528
|
+
import {
|
|
2529
|
+
Entity as Entity27,
|
|
2530
|
+
Column as Column28,
|
|
2531
|
+
OneToMany as OneToMany8,
|
|
2532
|
+
ManyToOne as ManyToOne25,
|
|
2533
|
+
Index as Index24,
|
|
2534
|
+
JoinColumn as JoinColumn25
|
|
2535
|
+
} from "typeorm";
|
|
2536
|
+
var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
|
|
2537
|
+
AnswerTypeEnum2["CORRECT"] = "CORRECT";
|
|
2538
|
+
AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
|
|
2539
|
+
AnswerTypeEnum2["ELIMINATE"] = "ELIMINATE";
|
|
2540
|
+
return AnswerTypeEnum2;
|
|
2541
|
+
})(AnswerTypeEnum || {});
|
|
2542
|
+
var AssessmetQuestionOption = class extends BaseEntity {
|
|
2543
|
+
};
|
|
2544
|
+
__decorateClass([
|
|
2545
|
+
Column28({ name: "question_id", type: "integer", nullable: true }),
|
|
2546
|
+
Index24()
|
|
2547
|
+
], AssessmetQuestionOption.prototype, "questionId", 2);
|
|
2548
|
+
__decorateClass([
|
|
2549
|
+
ManyToOne25(
|
|
2550
|
+
() => AssessmetQuestion,
|
|
2551
|
+
(assessmentQuestion) => assessmentQuestion.options
|
|
2552
|
+
),
|
|
2553
|
+
JoinColumn25({ name: "question_id" })
|
|
2554
|
+
], AssessmetQuestionOption.prototype, "question", 2);
|
|
2555
|
+
__decorateClass([
|
|
2556
|
+
Column28({ name: "text", type: "varchar", nullable: true })
|
|
2557
|
+
], AssessmetQuestionOption.prototype, "text", 2);
|
|
2558
|
+
__decorateClass([
|
|
2559
|
+
Column28({
|
|
2560
|
+
name: "answer_type",
|
|
2561
|
+
type: "enum",
|
|
2562
|
+
enum: AnswerTypeEnum,
|
|
2563
|
+
default: "ELIMINATE" /* ELIMINATE */
|
|
2564
|
+
})
|
|
2565
|
+
], AssessmetQuestionOption.prototype, "answerType", 2);
|
|
2566
|
+
__decorateClass([
|
|
2567
|
+
Column28({ name: "is_active", type: "boolean", default: true })
|
|
2568
|
+
], AssessmetQuestionOption.prototype, "isActive", 2);
|
|
2569
|
+
__decorateClass([
|
|
2570
|
+
OneToMany8(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
|
|
2571
|
+
], AssessmetQuestionOption.prototype, "selectedOptions", 2);
|
|
2572
|
+
AssessmetQuestionOption = __decorateClass([
|
|
2573
|
+
Entity27("assessment_question_options")
|
|
2574
|
+
], AssessmetQuestionOption);
|
|
2575
|
+
|
|
2576
|
+
// src/entities/assessment-question.entity.ts
|
|
2577
|
+
var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
|
|
2578
|
+
QuestionForEnum2["ASSESSMENT"] = "ASSESSMENT";
|
|
2579
|
+
QuestionForEnum2["INTERVIEW"] = "INTERVIEW";
|
|
2580
|
+
return QuestionForEnum2;
|
|
2581
|
+
})(QuestionForEnum || {});
|
|
2582
|
+
var AssessmetQuestion = class extends BaseEntity {
|
|
2583
|
+
};
|
|
2584
|
+
__decorateClass([
|
|
2585
|
+
Column29({ name: "text", type: "varchar", nullable: true })
|
|
2586
|
+
], AssessmetQuestion.prototype, "text", 2);
|
|
2587
|
+
__decorateClass([
|
|
2588
|
+
Column29({
|
|
2589
|
+
name: "question_for",
|
|
2590
|
+
type: "enum",
|
|
2591
|
+
enum: QuestionForEnum,
|
|
2592
|
+
nullable: true
|
|
2593
|
+
})
|
|
2594
|
+
], AssessmetQuestion.prototype, "questionFor", 2);
|
|
2595
|
+
__decorateClass([
|
|
2596
|
+
Column29({ name: "is_active", type: "boolean", default: true })
|
|
2597
|
+
], AssessmetQuestion.prototype, "isActive", 2);
|
|
2598
|
+
__decorateClass([
|
|
2599
|
+
OneToMany9(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
|
|
2600
|
+
], AssessmetQuestion.prototype, "options", 2);
|
|
2601
|
+
__decorateClass([
|
|
2602
|
+
OneToMany9(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
|
|
2603
|
+
], AssessmetQuestion.prototype, "answers", 2);
|
|
2604
|
+
AssessmetQuestion = __decorateClass([
|
|
2605
|
+
Entity28("assessment_questions")
|
|
2606
|
+
], AssessmetQuestion);
|
|
2607
|
+
|
|
2608
|
+
// src/entities/assessment-answer.entity.ts
|
|
2609
|
+
var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
|
|
2610
|
+
SelectedAnswerTypeEnum2["CORRECT"] = "CORRECT";
|
|
2611
|
+
SelectedAnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
|
|
2612
|
+
SelectedAnswerTypeEnum2["ELIMINATE"] = "ELIMINATE";
|
|
2613
|
+
return SelectedAnswerTypeEnum2;
|
|
2614
|
+
})(SelectedAnswerTypeEnum || {});
|
|
2615
|
+
var AssessmentAnswer = class extends BaseEntity {
|
|
2616
|
+
};
|
|
2617
|
+
__decorateClass([
|
|
2618
|
+
Column30({ name: "user_id", type: "integer" }),
|
|
2619
|
+
Index25()
|
|
2620
|
+
], AssessmentAnswer.prototype, "userId", 2);
|
|
2621
|
+
__decorateClass([
|
|
2622
|
+
ManyToOne26(() => User, (user) => user.assessmentAnswers),
|
|
2623
|
+
JoinColumn26({ name: "user_id" })
|
|
2624
|
+
], AssessmentAnswer.prototype, "user", 2);
|
|
2625
|
+
__decorateClass([
|
|
2626
|
+
Column30({ name: "question_id", type: "integer" }),
|
|
2627
|
+
Index25()
|
|
2628
|
+
], AssessmentAnswer.prototype, "questionId", 2);
|
|
2629
|
+
__decorateClass([
|
|
2630
|
+
ManyToOne26(
|
|
2631
|
+
() => AssessmetQuestion,
|
|
2632
|
+
(assessmentQuestion) => assessmentQuestion.answers
|
|
2633
|
+
),
|
|
2634
|
+
JoinColumn26({ name: "question_id" })
|
|
2635
|
+
], AssessmentAnswer.prototype, "question", 2);
|
|
2636
|
+
__decorateClass([
|
|
2637
|
+
Column30({ name: "selected_option_id", type: "integer" }),
|
|
2638
|
+
Index25()
|
|
2639
|
+
], AssessmentAnswer.prototype, "selectedOptionId", 2);
|
|
2640
|
+
__decorateClass([
|
|
2641
|
+
ManyToOne26(
|
|
2642
|
+
() => AssessmetQuestionOption,
|
|
2643
|
+
(assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
|
|
2644
|
+
),
|
|
2645
|
+
JoinColumn26({ name: "selected_option_id" })
|
|
2646
|
+
], AssessmentAnswer.prototype, "option", 2);
|
|
2647
|
+
__decorateClass([
|
|
2648
|
+
Column30({
|
|
2649
|
+
name: "selected_answer_type",
|
|
2650
|
+
type: "enum",
|
|
2651
|
+
enum: SelectedAnswerTypeEnum
|
|
2652
|
+
})
|
|
2653
|
+
], AssessmentAnswer.prototype, "selectedAnswerType", 2);
|
|
2654
|
+
__decorateClass([
|
|
2655
|
+
Column30({ name: "score", type: "integer" })
|
|
2656
|
+
], AssessmentAnswer.prototype, "score", 2);
|
|
2657
|
+
AssessmentAnswer = __decorateClass([
|
|
2658
|
+
Entity29("assessment_answers")
|
|
2659
|
+
], AssessmentAnswer);
|
|
2660
|
+
|
|
2515
2661
|
// src/entities/user.entity.ts
|
|
2516
2662
|
var AccountType = /* @__PURE__ */ ((AccountType2) => {
|
|
2517
2663
|
AccountType2["ADMIN"] = "ADMIN";
|
|
@@ -2537,51 +2683,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
2537
2683
|
var User = class extends BaseEntity {
|
|
2538
2684
|
};
|
|
2539
2685
|
__decorateClass([
|
|
2540
|
-
|
|
2686
|
+
Column31({ name: "unique_id", type: "varchar", unique: true })
|
|
2541
2687
|
], User.prototype, "uniqueId", 2);
|
|
2542
2688
|
__decorateClass([
|
|
2543
|
-
|
|
2544
|
-
|
|
2689
|
+
Column31({ name: "parent_id", type: "integer", nullable: true }),
|
|
2690
|
+
Index26()
|
|
2545
2691
|
], User.prototype, "parentId", 2);
|
|
2546
2692
|
__decorateClass([
|
|
2547
|
-
|
|
2548
|
-
|
|
2693
|
+
ManyToOne27(() => User, (user) => user.children, { nullable: true }),
|
|
2694
|
+
JoinColumn27({ name: "parent_id" })
|
|
2549
2695
|
], User.prototype, "parent", 2);
|
|
2550
2696
|
__decorateClass([
|
|
2551
|
-
|
|
2697
|
+
OneToMany11(() => User, (user) => user.parent)
|
|
2552
2698
|
], User.prototype, "children", 2);
|
|
2553
2699
|
__decorateClass([
|
|
2554
|
-
|
|
2700
|
+
Column31({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
2555
2701
|
], User.prototype, "username", 2);
|
|
2556
2702
|
__decorateClass([
|
|
2557
|
-
|
|
2703
|
+
Column31({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
2558
2704
|
], User.prototype, "firstName", 2);
|
|
2559
2705
|
__decorateClass([
|
|
2560
|
-
|
|
2706
|
+
Column31({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
2561
2707
|
], User.prototype, "lastName", 2);
|
|
2562
2708
|
__decorateClass([
|
|
2563
|
-
|
|
2709
|
+
Column31({ name: "date_of_birth", type: "date", nullable: true })
|
|
2564
2710
|
], User.prototype, "dateOfBirth", 2);
|
|
2565
2711
|
__decorateClass([
|
|
2566
|
-
|
|
2712
|
+
Column31({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
2567
2713
|
], User.prototype, "gender", 2);
|
|
2568
2714
|
__decorateClass([
|
|
2569
|
-
|
|
2715
|
+
Column31({ name: "profile_picture_url", type: "text", nullable: true })
|
|
2570
2716
|
], User.prototype, "profilePictureUrl", 2);
|
|
2571
2717
|
__decorateClass([
|
|
2572
|
-
|
|
2718
|
+
Column31({ name: "email", type: "varchar", unique: true })
|
|
2573
2719
|
], User.prototype, "email", 2);
|
|
2574
2720
|
__decorateClass([
|
|
2575
|
-
|
|
2721
|
+
Column31({ name: "mobile_code", type: "varchar", nullable: true })
|
|
2576
2722
|
], User.prototype, "mobileCode", 2);
|
|
2577
2723
|
__decorateClass([
|
|
2578
|
-
|
|
2724
|
+
Column31({ name: "mobile", type: "varchar", nullable: true })
|
|
2579
2725
|
], User.prototype, "mobile", 2);
|
|
2580
2726
|
__decorateClass([
|
|
2581
|
-
|
|
2727
|
+
Column31({ name: "password", type: "varchar", nullable: true })
|
|
2582
2728
|
], User.prototype, "password", 2);
|
|
2583
2729
|
__decorateClass([
|
|
2584
|
-
|
|
2730
|
+
Column31({
|
|
2585
2731
|
name: "account_type",
|
|
2586
2732
|
type: "enum",
|
|
2587
2733
|
enum: AccountType,
|
|
@@ -2589,7 +2735,7 @@ __decorateClass([
|
|
|
2589
2735
|
})
|
|
2590
2736
|
], User.prototype, "accountType", 2);
|
|
2591
2737
|
__decorateClass([
|
|
2592
|
-
|
|
2738
|
+
Column31({
|
|
2593
2739
|
name: "account_status",
|
|
2594
2740
|
type: "enum",
|
|
2595
2741
|
enum: AccountStatus,
|
|
@@ -2597,36 +2743,36 @@ __decorateClass([
|
|
|
2597
2743
|
})
|
|
2598
2744
|
], User.prototype, "accountStatus", 2);
|
|
2599
2745
|
__decorateClass([
|
|
2600
|
-
|
|
2746
|
+
Column31({ name: "is_email_verified", type: "boolean", default: false })
|
|
2601
2747
|
], User.prototype, "isEmailVerified", 2);
|
|
2602
2748
|
__decorateClass([
|
|
2603
|
-
|
|
2749
|
+
Column31({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
2604
2750
|
], User.prototype, "isMobileVerified", 2);
|
|
2605
2751
|
__decorateClass([
|
|
2606
|
-
|
|
2752
|
+
Column31({
|
|
2607
2753
|
name: "last_login_at",
|
|
2608
2754
|
type: "timestamp with time zone",
|
|
2609
2755
|
nullable: true
|
|
2610
2756
|
})
|
|
2611
2757
|
], User.prototype, "lastLoginAt", 2);
|
|
2612
2758
|
__decorateClass([
|
|
2613
|
-
|
|
2759
|
+
Column31({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
2614
2760
|
], User.prototype, "lastLoginIp", 2);
|
|
2615
2761
|
__decorateClass([
|
|
2616
|
-
|
|
2762
|
+
Column31({ name: "reset_token", type: "varchar", nullable: true })
|
|
2617
2763
|
], User.prototype, "resetToken", 2);
|
|
2618
2764
|
__decorateClass([
|
|
2619
|
-
|
|
2765
|
+
Column31({
|
|
2620
2766
|
name: "reset_token_expire_at",
|
|
2621
2767
|
type: "timestamp with time zone",
|
|
2622
2768
|
nullable: true
|
|
2623
2769
|
})
|
|
2624
2770
|
], User.prototype, "resetTokenExpireAt", 2);
|
|
2625
2771
|
__decorateClass([
|
|
2626
|
-
|
|
2772
|
+
OneToMany11(() => RefreshToken, (token) => token.user)
|
|
2627
2773
|
], User.prototype, "refreshTokens", 2);
|
|
2628
2774
|
__decorateClass([
|
|
2629
|
-
|
|
2775
|
+
Column31({
|
|
2630
2776
|
name: "provider",
|
|
2631
2777
|
type: "enum",
|
|
2632
2778
|
enum: Provider,
|
|
@@ -2635,22 +2781,22 @@ __decorateClass([
|
|
|
2635
2781
|
})
|
|
2636
2782
|
], User.prototype, "provider", 2);
|
|
2637
2783
|
__decorateClass([
|
|
2638
|
-
|
|
2784
|
+
Column31({ name: "provider_token", type: "varchar", nullable: true })
|
|
2639
2785
|
], User.prototype, "providerToken", 2);
|
|
2640
2786
|
__decorateClass([
|
|
2641
|
-
|
|
2787
|
+
Column31({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
2642
2788
|
], User.prototype, "linkedInId", 2);
|
|
2643
2789
|
__decorateClass([
|
|
2644
|
-
|
|
2790
|
+
Column31({ name: "google_id", type: "varchar", nullable: true })
|
|
2645
2791
|
], User.prototype, "googleId", 2);
|
|
2646
2792
|
__decorateClass([
|
|
2647
|
-
|
|
2793
|
+
Column31({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
2648
2794
|
], User.prototype, "gitLabsId", 2);
|
|
2649
2795
|
__decorateClass([
|
|
2650
|
-
|
|
2796
|
+
OneToMany11(() => Otp, (otp) => otp.user)
|
|
2651
2797
|
], User.prototype, "otps", 2);
|
|
2652
2798
|
__decorateClass([
|
|
2653
|
-
|
|
2799
|
+
OneToMany11(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
2654
2800
|
], User.prototype, "senseloafLogs", 2);
|
|
2655
2801
|
__decorateClass([
|
|
2656
2802
|
OneToOne(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user, { cascade: true })
|
|
@@ -2661,37 +2807,43 @@ __decorateClass([
|
|
|
2661
2807
|
})
|
|
2662
2808
|
], User.prototype, "companyProfile", 2);
|
|
2663
2809
|
__decorateClass([
|
|
2664
|
-
|
|
2810
|
+
OneToMany11(() => CompanyMemberRole, (companyMemberRole) => companyMemberRole.user)
|
|
2665
2811
|
], User.prototype, "companyMemberRoles", 2);
|
|
2666
2812
|
__decorateClass([
|
|
2667
|
-
|
|
2813
|
+
OneToMany11(
|
|
2668
2814
|
() => FreelancerAssessment,
|
|
2669
2815
|
(freelancerAssessment) => freelancerAssessment.user
|
|
2670
2816
|
)
|
|
2671
2817
|
], User.prototype, "assessments", 2);
|
|
2672
2818
|
__decorateClass([
|
|
2673
|
-
|
|
2819
|
+
OneToMany11(
|
|
2820
|
+
() => AssessmentAnswer,
|
|
2821
|
+
(assessmentAnswer) => assessmentAnswer.user
|
|
2822
|
+
)
|
|
2823
|
+
], User.prototype, "assessmentAnswers", 2);
|
|
2824
|
+
__decorateClass([
|
|
2825
|
+
OneToMany11(() => Job, (job) => job.user)
|
|
2674
2826
|
], User.prototype, "jobs", 2);
|
|
2675
2827
|
__decorateClass([
|
|
2676
|
-
|
|
2828
|
+
OneToMany11(() => Interview, (interview) => interview.user)
|
|
2677
2829
|
], User.prototype, "interviews", 2);
|
|
2678
2830
|
__decorateClass([
|
|
2679
|
-
|
|
2831
|
+
OneToMany11(() => BankDetail, (bankDetail) => bankDetail.user)
|
|
2680
2832
|
], User.prototype, "bankDetail", 2);
|
|
2681
2833
|
__decorateClass([
|
|
2682
|
-
|
|
2834
|
+
OneToMany11(
|
|
2683
2835
|
() => SystemPreference,
|
|
2684
2836
|
(systemPreference) => systemPreference.user
|
|
2685
2837
|
)
|
|
2686
2838
|
], User.prototype, "systemPreference", 2);
|
|
2687
2839
|
__decorateClass([
|
|
2688
|
-
|
|
2840
|
+
OneToMany11(() => Rating, (rating) => rating.reviewer)
|
|
2689
2841
|
], User.prototype, "givenRatings", 2);
|
|
2690
2842
|
__decorateClass([
|
|
2691
|
-
|
|
2843
|
+
OneToMany11(() => Rating, (rating) => rating.reviewee)
|
|
2692
2844
|
], User.prototype, "receivedRatings", 2);
|
|
2693
2845
|
__decorateClass([
|
|
2694
|
-
|
|
2846
|
+
OneToMany11(() => JobApplication, (jobApplication) => jobApplication.user)
|
|
2695
2847
|
], User.prototype, "jobApplications", 2);
|
|
2696
2848
|
__decorateClass([
|
|
2697
2849
|
OneToOne(
|
|
@@ -2739,7 +2891,7 @@ __decorateClass([
|
|
|
2739
2891
|
)
|
|
2740
2892
|
], User.prototype, "freelancerDeclaration", 2);
|
|
2741
2893
|
User = __decorateClass([
|
|
2742
|
-
|
|
2894
|
+
Entity30("users")
|
|
2743
2895
|
], User);
|
|
2744
2896
|
|
|
2745
2897
|
// src/entities/rating.entity.ts
|
|
@@ -2751,36 +2903,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
|
|
|
2751
2903
|
var Rating = class extends BaseEntity {
|
|
2752
2904
|
};
|
|
2753
2905
|
__decorateClass([
|
|
2754
|
-
|
|
2755
|
-
|
|
2906
|
+
Column32({ name: "reviewer_id", type: "integer" }),
|
|
2907
|
+
Index27()
|
|
2756
2908
|
], Rating.prototype, "reviewer_id", 2);
|
|
2757
2909
|
__decorateClass([
|
|
2758
|
-
|
|
2759
|
-
|
|
2910
|
+
ManyToOne28(() => User, { onDelete: "CASCADE" }),
|
|
2911
|
+
JoinColumn28({ name: "reviewer_id" })
|
|
2760
2912
|
], Rating.prototype, "reviewer", 2);
|
|
2761
2913
|
__decorateClass([
|
|
2762
|
-
|
|
2763
|
-
|
|
2914
|
+
Column32({ name: "reviewee_id", type: "integer" }),
|
|
2915
|
+
Index27()
|
|
2764
2916
|
], Rating.prototype, "reviewee_id", 2);
|
|
2765
2917
|
__decorateClass([
|
|
2766
|
-
|
|
2767
|
-
|
|
2918
|
+
ManyToOne28(() => User, { onDelete: "CASCADE" }),
|
|
2919
|
+
JoinColumn28({ name: "reviewee_id" })
|
|
2768
2920
|
], Rating.prototype, "reviewee", 2);
|
|
2769
2921
|
__decorateClass([
|
|
2770
|
-
|
|
2922
|
+
Column32({
|
|
2771
2923
|
type: "enum",
|
|
2772
2924
|
enum: RatingTypeEnum,
|
|
2773
2925
|
nullable: true
|
|
2774
2926
|
})
|
|
2775
2927
|
], Rating.prototype, "ratingType", 2);
|
|
2776
2928
|
__decorateClass([
|
|
2777
|
-
|
|
2929
|
+
Column32({ type: "integer", nullable: true })
|
|
2778
2930
|
], Rating.prototype, "rating", 2);
|
|
2779
2931
|
__decorateClass([
|
|
2780
|
-
|
|
2932
|
+
Column32({ type: "text", nullable: true })
|
|
2781
2933
|
], Rating.prototype, "review", 2);
|
|
2782
2934
|
Rating = __decorateClass([
|
|
2783
|
-
|
|
2935
|
+
Entity31("ratings")
|
|
2784
2936
|
], Rating);
|
|
2785
2937
|
|
|
2786
2938
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -3593,7 +3745,7 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
3593
3745
|
};
|
|
3594
3746
|
|
|
3595
3747
|
// src/entities/question.entity.ts
|
|
3596
|
-
import { Entity as
|
|
3748
|
+
import { Entity as Entity32, Column as Column33 } from "typeorm";
|
|
3597
3749
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
3598
3750
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
3599
3751
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -3602,16 +3754,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
3602
3754
|
var Question = class extends BaseEntity {
|
|
3603
3755
|
};
|
|
3604
3756
|
__decorateClass([
|
|
3605
|
-
|
|
3757
|
+
Column33({ name: "question", type: "varchar" })
|
|
3606
3758
|
], Question.prototype, "question", 2);
|
|
3607
3759
|
__decorateClass([
|
|
3608
|
-
|
|
3760
|
+
Column33({ name: "hint", type: "varchar", nullable: true })
|
|
3609
3761
|
], Question.prototype, "hint", 2);
|
|
3610
3762
|
__decorateClass([
|
|
3611
|
-
|
|
3763
|
+
Column33({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
3612
3764
|
], Question.prototype, "slug", 2);
|
|
3613
3765
|
__decorateClass([
|
|
3614
|
-
|
|
3766
|
+
Column33({
|
|
3615
3767
|
name: "question_for",
|
|
3616
3768
|
type: "enum",
|
|
3617
3769
|
enum: QuestionFor,
|
|
@@ -3619,125 +3771,125 @@ __decorateClass([
|
|
|
3619
3771
|
})
|
|
3620
3772
|
], Question.prototype, "questionFor", 2);
|
|
3621
3773
|
__decorateClass([
|
|
3622
|
-
|
|
3774
|
+
Column33({ name: "type", type: "varchar", nullable: true })
|
|
3623
3775
|
], Question.prototype, "type", 2);
|
|
3624
3776
|
__decorateClass([
|
|
3625
|
-
|
|
3777
|
+
Column33({ name: "options", type: "jsonb", nullable: true })
|
|
3626
3778
|
], Question.prototype, "options", 2);
|
|
3627
3779
|
__decorateClass([
|
|
3628
|
-
|
|
3780
|
+
Column33({ name: "is_active", type: "boolean", default: false })
|
|
3629
3781
|
], Question.prototype, "isActive", 2);
|
|
3630
3782
|
Question = __decorateClass([
|
|
3631
|
-
|
|
3783
|
+
Entity32("questions")
|
|
3632
3784
|
], Question);
|
|
3633
3785
|
|
|
3634
3786
|
// src/entities/job-role.entity.ts
|
|
3635
|
-
import { Entity as
|
|
3787
|
+
import { Entity as Entity33, Column as Column34 } from "typeorm";
|
|
3636
3788
|
var JobRoles = class extends BaseEntity {
|
|
3637
3789
|
};
|
|
3638
3790
|
__decorateClass([
|
|
3639
|
-
|
|
3791
|
+
Column34({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
3640
3792
|
], JobRoles.prototype, "slug", 2);
|
|
3641
3793
|
__decorateClass([
|
|
3642
|
-
|
|
3794
|
+
Column34({ name: "name", type: "varchar", nullable: true })
|
|
3643
3795
|
], JobRoles.prototype, "name", 2);
|
|
3644
3796
|
__decorateClass([
|
|
3645
|
-
|
|
3797
|
+
Column34({ name: "is_active", type: "boolean", default: true })
|
|
3646
3798
|
], JobRoles.prototype, "isActive", 2);
|
|
3647
3799
|
JobRoles = __decorateClass([
|
|
3648
|
-
|
|
3800
|
+
Entity33("job_roles")
|
|
3649
3801
|
], JobRoles);
|
|
3650
3802
|
|
|
3651
3803
|
// src/entities/plan.entity.ts
|
|
3652
|
-
import { Entity as
|
|
3804
|
+
import { Entity as Entity35, Column as Column36, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
|
|
3653
3805
|
|
|
3654
3806
|
// src/entities/feature.entity.ts
|
|
3655
|
-
import { Entity as
|
|
3807
|
+
import { Entity as Entity34, Column as Column35, ManyToMany as ManyToMany2 } from "typeorm";
|
|
3656
3808
|
var Feature = class extends BaseEntity {
|
|
3657
3809
|
};
|
|
3658
3810
|
__decorateClass([
|
|
3659
|
-
|
|
3811
|
+
Column35({ name: "name", type: "varchar", unique: true })
|
|
3660
3812
|
], Feature.prototype, "name", 2);
|
|
3661
3813
|
__decorateClass([
|
|
3662
3814
|
ManyToMany2(() => Plan, (plan) => plan.features)
|
|
3663
3815
|
], Feature.prototype, "plans", 2);
|
|
3664
3816
|
Feature = __decorateClass([
|
|
3665
|
-
|
|
3817
|
+
Entity34("features")
|
|
3666
3818
|
], Feature);
|
|
3667
3819
|
|
|
3668
3820
|
// src/entities/plan.entity.ts
|
|
3669
3821
|
var Plan = class extends BaseEntity {
|
|
3670
3822
|
};
|
|
3671
3823
|
__decorateClass([
|
|
3672
|
-
|
|
3824
|
+
Column36({ name: "name", type: "varchar", unique: true })
|
|
3673
3825
|
], Plan.prototype, "name", 2);
|
|
3674
3826
|
__decorateClass([
|
|
3675
|
-
|
|
3827
|
+
Column36({ name: "description", type: "varchar", nullable: true })
|
|
3676
3828
|
], Plan.prototype, "description", 2);
|
|
3677
3829
|
__decorateClass([
|
|
3678
|
-
|
|
3830
|
+
Column36({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
3679
3831
|
], Plan.prototype, "price", 2);
|
|
3680
3832
|
__decorateClass([
|
|
3681
|
-
|
|
3833
|
+
Column36({ name: "billing_period", type: "varchar" })
|
|
3682
3834
|
], Plan.prototype, "billingPeriod", 2);
|
|
3683
3835
|
__decorateClass([
|
|
3684
|
-
|
|
3836
|
+
Column36({ name: "is_current", type: "boolean", default: false })
|
|
3685
3837
|
], Plan.prototype, "isCurrent", 2);
|
|
3686
3838
|
__decorateClass([
|
|
3687
3839
|
ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
3688
3840
|
JoinTable()
|
|
3689
3841
|
], Plan.prototype, "features", 2);
|
|
3690
3842
|
Plan = __decorateClass([
|
|
3691
|
-
|
|
3843
|
+
Entity35("plans")
|
|
3692
3844
|
], Plan);
|
|
3693
3845
|
|
|
3694
3846
|
// src/entities/cms.entity.ts
|
|
3695
|
-
import { Entity as
|
|
3847
|
+
import { Entity as Entity36, Column as Column37 } from "typeorm";
|
|
3696
3848
|
var Cms = class extends BaseEntity {
|
|
3697
3849
|
};
|
|
3698
3850
|
__decorateClass([
|
|
3699
|
-
|
|
3851
|
+
Column37({ name: "title", type: "varchar", nullable: true })
|
|
3700
3852
|
], Cms.prototype, "title", 2);
|
|
3701
3853
|
__decorateClass([
|
|
3702
|
-
|
|
3854
|
+
Column37({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
3703
3855
|
], Cms.prototype, "slug", 2);
|
|
3704
3856
|
__decorateClass([
|
|
3705
|
-
|
|
3857
|
+
Column37({ name: "content", type: "varchar", nullable: true })
|
|
3706
3858
|
], Cms.prototype, "content", 2);
|
|
3707
3859
|
__decorateClass([
|
|
3708
|
-
|
|
3860
|
+
Column37({ name: "is_active", type: "boolean", default: true })
|
|
3709
3861
|
], Cms.prototype, "isActive", 2);
|
|
3710
3862
|
Cms = __decorateClass([
|
|
3711
|
-
|
|
3863
|
+
Entity36("cms")
|
|
3712
3864
|
], Cms);
|
|
3713
3865
|
|
|
3714
3866
|
// src/entities/country.entity.ts
|
|
3715
3867
|
import {
|
|
3716
|
-
Entity as
|
|
3717
|
-
Column as
|
|
3718
|
-
OneToMany as
|
|
3868
|
+
Entity as Entity39,
|
|
3869
|
+
Column as Column40,
|
|
3870
|
+
OneToMany as OneToMany16
|
|
3719
3871
|
} from "typeorm";
|
|
3720
3872
|
|
|
3721
3873
|
// src/entities/state.entity.ts
|
|
3722
3874
|
import {
|
|
3723
|
-
Entity as
|
|
3724
|
-
Column as
|
|
3725
|
-
ManyToOne as
|
|
3726
|
-
JoinColumn as
|
|
3727
|
-
OneToMany as
|
|
3875
|
+
Entity as Entity38,
|
|
3876
|
+
Column as Column39,
|
|
3877
|
+
ManyToOne as ManyToOne30,
|
|
3878
|
+
JoinColumn as JoinColumn30,
|
|
3879
|
+
OneToMany as OneToMany15
|
|
3728
3880
|
} from "typeorm";
|
|
3729
3881
|
|
|
3730
3882
|
// src/entities/city.entity.ts
|
|
3731
3883
|
import {
|
|
3732
|
-
Entity as
|
|
3733
|
-
Column as
|
|
3734
|
-
ManyToOne as
|
|
3735
|
-
JoinColumn as
|
|
3884
|
+
Entity as Entity37,
|
|
3885
|
+
Column as Column38,
|
|
3886
|
+
ManyToOne as ManyToOne29,
|
|
3887
|
+
JoinColumn as JoinColumn29
|
|
3736
3888
|
} from "typeorm";
|
|
3737
3889
|
var City = class extends BaseEntity {
|
|
3738
3890
|
};
|
|
3739
3891
|
__decorateClass([
|
|
3740
|
-
|
|
3892
|
+
Column38({
|
|
3741
3893
|
name: "country_id",
|
|
3742
3894
|
type: "int",
|
|
3743
3895
|
nullable: true,
|
|
@@ -3745,11 +3897,11 @@ __decorateClass([
|
|
|
3745
3897
|
})
|
|
3746
3898
|
], City.prototype, "countryId", 2);
|
|
3747
3899
|
__decorateClass([
|
|
3748
|
-
|
|
3749
|
-
|
|
3900
|
+
ManyToOne29(() => Country),
|
|
3901
|
+
JoinColumn29({ name: "country_id" })
|
|
3750
3902
|
], City.prototype, "country", 2);
|
|
3751
3903
|
__decorateClass([
|
|
3752
|
-
|
|
3904
|
+
Column38({
|
|
3753
3905
|
name: "state_id",
|
|
3754
3906
|
type: "int",
|
|
3755
3907
|
nullable: false,
|
|
@@ -3757,11 +3909,11 @@ __decorateClass([
|
|
|
3757
3909
|
})
|
|
3758
3910
|
], City.prototype, "stateId", 2);
|
|
3759
3911
|
__decorateClass([
|
|
3760
|
-
|
|
3761
|
-
|
|
3912
|
+
ManyToOne29(() => State, (state) => state.cities),
|
|
3913
|
+
JoinColumn29({ name: "state_id" })
|
|
3762
3914
|
], City.prototype, "state", 2);
|
|
3763
3915
|
__decorateClass([
|
|
3764
|
-
|
|
3916
|
+
Column38({
|
|
3765
3917
|
name: "city_code",
|
|
3766
3918
|
type: "varchar",
|
|
3767
3919
|
length: 100,
|
|
@@ -3771,7 +3923,7 @@ __decorateClass([
|
|
|
3771
3923
|
})
|
|
3772
3924
|
], City.prototype, "cityCode", 2);
|
|
3773
3925
|
__decorateClass([
|
|
3774
|
-
|
|
3926
|
+
Column38({
|
|
3775
3927
|
name: "city_name",
|
|
3776
3928
|
type: "varchar",
|
|
3777
3929
|
length: 100,
|
|
@@ -3780,7 +3932,7 @@ __decorateClass([
|
|
|
3780
3932
|
})
|
|
3781
3933
|
], City.prototype, "cityName", 2);
|
|
3782
3934
|
__decorateClass([
|
|
3783
|
-
|
|
3935
|
+
Column38({
|
|
3784
3936
|
name: "is_active",
|
|
3785
3937
|
type: "boolean",
|
|
3786
3938
|
default: true,
|
|
@@ -3788,14 +3940,14 @@ __decorateClass([
|
|
|
3788
3940
|
})
|
|
3789
3941
|
], City.prototype, "isActive", 2);
|
|
3790
3942
|
City = __decorateClass([
|
|
3791
|
-
|
|
3943
|
+
Entity37("cities")
|
|
3792
3944
|
], City);
|
|
3793
3945
|
|
|
3794
3946
|
// src/entities/state.entity.ts
|
|
3795
3947
|
var State = class extends BaseEntity {
|
|
3796
3948
|
};
|
|
3797
3949
|
__decorateClass([
|
|
3798
|
-
|
|
3950
|
+
Column39({
|
|
3799
3951
|
name: "country_id",
|
|
3800
3952
|
type: "int",
|
|
3801
3953
|
nullable: false,
|
|
@@ -3803,14 +3955,14 @@ __decorateClass([
|
|
|
3803
3955
|
})
|
|
3804
3956
|
], State.prototype, "countryId", 2);
|
|
3805
3957
|
__decorateClass([
|
|
3806
|
-
|
|
3807
|
-
|
|
3958
|
+
ManyToOne30(() => Country, (country) => country.states),
|
|
3959
|
+
JoinColumn30({ name: "country_id" })
|
|
3808
3960
|
], State.prototype, "country", 2);
|
|
3809
3961
|
__decorateClass([
|
|
3810
|
-
|
|
3962
|
+
OneToMany15(() => City, (city) => city.state)
|
|
3811
3963
|
], State.prototype, "cities", 2);
|
|
3812
3964
|
__decorateClass([
|
|
3813
|
-
|
|
3965
|
+
Column39({
|
|
3814
3966
|
name: "state_name",
|
|
3815
3967
|
type: "varchar",
|
|
3816
3968
|
length: 100,
|
|
@@ -3819,7 +3971,7 @@ __decorateClass([
|
|
|
3819
3971
|
})
|
|
3820
3972
|
], State.prototype, "stateName", 2);
|
|
3821
3973
|
__decorateClass([
|
|
3822
|
-
|
|
3974
|
+
Column39({
|
|
3823
3975
|
name: "is_active",
|
|
3824
3976
|
type: "boolean",
|
|
3825
3977
|
default: true,
|
|
@@ -3827,17 +3979,17 @@ __decorateClass([
|
|
|
3827
3979
|
})
|
|
3828
3980
|
], State.prototype, "isActive", 2);
|
|
3829
3981
|
State = __decorateClass([
|
|
3830
|
-
|
|
3982
|
+
Entity38("states")
|
|
3831
3983
|
], State);
|
|
3832
3984
|
|
|
3833
3985
|
// src/entities/country.entity.ts
|
|
3834
3986
|
var Country = class extends BaseEntity {
|
|
3835
3987
|
};
|
|
3836
3988
|
__decorateClass([
|
|
3837
|
-
|
|
3989
|
+
OneToMany16(() => State, (state) => state.country)
|
|
3838
3990
|
], Country.prototype, "states", 2);
|
|
3839
3991
|
__decorateClass([
|
|
3840
|
-
|
|
3992
|
+
Column40({
|
|
3841
3993
|
name: "country_name",
|
|
3842
3994
|
type: "varchar",
|
|
3843
3995
|
length: 100,
|
|
@@ -3847,7 +3999,7 @@ __decorateClass([
|
|
|
3847
3999
|
})
|
|
3848
4000
|
], Country.prototype, "countryName", 2);
|
|
3849
4001
|
__decorateClass([
|
|
3850
|
-
|
|
4002
|
+
Column40({
|
|
3851
4003
|
name: "country_iso_code",
|
|
3852
4004
|
type: "varchar",
|
|
3853
4005
|
length: 2,
|
|
@@ -3858,7 +4010,7 @@ __decorateClass([
|
|
|
3858
4010
|
})
|
|
3859
4011
|
], Country.prototype, "countryIsoCode", 2);
|
|
3860
4012
|
__decorateClass([
|
|
3861
|
-
|
|
4013
|
+
Column40({
|
|
3862
4014
|
name: "country_phone_code",
|
|
3863
4015
|
type: "varchar",
|
|
3864
4016
|
length: 10,
|
|
@@ -3867,7 +4019,7 @@ __decorateClass([
|
|
|
3867
4019
|
})
|
|
3868
4020
|
], Country.prototype, "countryPhoneCode", 2);
|
|
3869
4021
|
__decorateClass([
|
|
3870
|
-
|
|
4022
|
+
Column40({
|
|
3871
4023
|
name: "currency",
|
|
3872
4024
|
type: "varchar",
|
|
3873
4025
|
length: 3,
|
|
@@ -3876,7 +4028,7 @@ __decorateClass([
|
|
|
3876
4028
|
})
|
|
3877
4029
|
], Country.prototype, "currency", 2);
|
|
3878
4030
|
__decorateClass([
|
|
3879
|
-
|
|
4031
|
+
Column40({
|
|
3880
4032
|
name: "is_active",
|
|
3881
4033
|
type: "boolean",
|
|
3882
4034
|
default: true,
|
|
@@ -3884,85 +4036,8 @@ __decorateClass([
|
|
|
3884
4036
|
})
|
|
3885
4037
|
], Country.prototype, "isActive", 2);
|
|
3886
4038
|
Country = __decorateClass([
|
|
3887
|
-
|
|
4039
|
+
Entity39("countries")
|
|
3888
4040
|
], Country);
|
|
3889
|
-
|
|
3890
|
-
// src/entities/assessment-question.entity.ts
|
|
3891
|
-
import { Entity as Entity38, Column as Column39, OneToMany as OneToMany15 } from "typeorm";
|
|
3892
|
-
|
|
3893
|
-
// src/entities/assessment-question-option.ts
|
|
3894
|
-
import {
|
|
3895
|
-
Entity as Entity37,
|
|
3896
|
-
Column as Column38,
|
|
3897
|
-
ManyToOne as ManyToOne29,
|
|
3898
|
-
Index as Index26,
|
|
3899
|
-
JoinColumn as JoinColumn29
|
|
3900
|
-
} from "typeorm";
|
|
3901
|
-
var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
|
|
3902
|
-
AnswerTypeEnum2["CORRECT"] = "CORRECT";
|
|
3903
|
-
AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
|
|
3904
|
-
AnswerTypeEnum2["ELIMINATE"] = "ELIMINATE";
|
|
3905
|
-
return AnswerTypeEnum2;
|
|
3906
|
-
})(AnswerTypeEnum || {});
|
|
3907
|
-
var AssessmetQuestionOption = class extends BaseEntity {
|
|
3908
|
-
};
|
|
3909
|
-
__decorateClass([
|
|
3910
|
-
Column38({ name: "question_id", type: "integer", nullable: true }),
|
|
3911
|
-
Index26()
|
|
3912
|
-
], AssessmetQuestionOption.prototype, "questionId", 2);
|
|
3913
|
-
__decorateClass([
|
|
3914
|
-
ManyToOne29(
|
|
3915
|
-
() => AssessmetQuestion,
|
|
3916
|
-
(assessmentQuestion) => assessmentQuestion.options
|
|
3917
|
-
),
|
|
3918
|
-
JoinColumn29({ name: "question_id" })
|
|
3919
|
-
], AssessmetQuestionOption.prototype, "question", 2);
|
|
3920
|
-
__decorateClass([
|
|
3921
|
-
Column38({ name: "text", type: "varchar", nullable: true })
|
|
3922
|
-
], AssessmetQuestionOption.prototype, "text", 2);
|
|
3923
|
-
__decorateClass([
|
|
3924
|
-
Column38({
|
|
3925
|
-
name: "answer_type",
|
|
3926
|
-
type: "enum",
|
|
3927
|
-
enum: AnswerTypeEnum,
|
|
3928
|
-
default: "ELIMINATE" /* ELIMINATE */
|
|
3929
|
-
})
|
|
3930
|
-
], AssessmetQuestionOption.prototype, "answerType", 2);
|
|
3931
|
-
__decorateClass([
|
|
3932
|
-
Column38({ name: "is_active", type: "boolean", default: true })
|
|
3933
|
-
], AssessmetQuestionOption.prototype, "isActive", 2);
|
|
3934
|
-
AssessmetQuestionOption = __decorateClass([
|
|
3935
|
-
Entity37("assessment_question_options")
|
|
3936
|
-
], AssessmetQuestionOption);
|
|
3937
|
-
|
|
3938
|
-
// src/entities/assessment-question.entity.ts
|
|
3939
|
-
var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
|
|
3940
|
-
QuestionForEnum2["ASSESSMENT"] = "ASSESSMENT";
|
|
3941
|
-
QuestionForEnum2["INTERVIEW"] = "INTERVIEW";
|
|
3942
|
-
return QuestionForEnum2;
|
|
3943
|
-
})(QuestionForEnum || {});
|
|
3944
|
-
var AssessmetQuestion = class extends BaseEntity {
|
|
3945
|
-
};
|
|
3946
|
-
__decorateClass([
|
|
3947
|
-
Column39({ name: "text", type: "varchar", nullable: true })
|
|
3948
|
-
], AssessmetQuestion.prototype, "text", 2);
|
|
3949
|
-
__decorateClass([
|
|
3950
|
-
Column39({
|
|
3951
|
-
name: "question_for",
|
|
3952
|
-
type: "enum",
|
|
3953
|
-
enum: QuestionForEnum,
|
|
3954
|
-
nullable: true
|
|
3955
|
-
})
|
|
3956
|
-
], AssessmetQuestion.prototype, "questionFor", 2);
|
|
3957
|
-
__decorateClass([
|
|
3958
|
-
Column39({ name: "is_active", type: "boolean", default: true })
|
|
3959
|
-
], AssessmetQuestion.prototype, "isActive", 2);
|
|
3960
|
-
__decorateClass([
|
|
3961
|
-
OneToMany15(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
|
|
3962
|
-
], AssessmetQuestion.prototype, "options", 2);
|
|
3963
|
-
AssessmetQuestion = __decorateClass([
|
|
3964
|
-
Entity38("assessment_questions")
|
|
3965
|
-
], AssessmetQuestion);
|
|
3966
4041
|
export {
|
|
3967
4042
|
ASSESSMENT_QUESTION_PATTERN,
|
|
3968
4043
|
AUTHENTICATION_PATTERN,
|
|
@@ -3970,6 +4045,7 @@ export {
|
|
|
3970
4045
|
AccountType,
|
|
3971
4046
|
AnswerTypeEnum,
|
|
3972
4047
|
ApplicationStatusEnum,
|
|
4048
|
+
AssessmentAnswer,
|
|
3973
4049
|
AssessmentStatusEnum,
|
|
3974
4050
|
AssessmetQuestion,
|
|
3975
4051
|
AssessmetQuestionOption,
|
|
@@ -4100,6 +4176,7 @@ export {
|
|
|
4100
4176
|
SUBADMIN_PATTERN,
|
|
4101
4177
|
SYSTEM_PREFERENCES_PATTERN,
|
|
4102
4178
|
ScopeEnum,
|
|
4179
|
+
SelectedAnswerTypeEnum,
|
|
4103
4180
|
SendGuestOtpDto,
|
|
4104
4181
|
SendGuestOtpPurposeEnum,
|
|
4105
4182
|
SenseloafLog,
|