@tudopz/model 0.0.1
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/libs/model/libs/model/README.md +364 -0
- package/package.json +7 -0
- package/src/constant/audience-list.d.ts +2 -0
- package/src/constant/audience-list.js +6 -0
- package/src/constant/audience-list.js.map +1 -0
- package/src/constant/campaign.d.ts +2 -0
- package/src/constant/campaign.js +6 -0
- package/src/constant/campaign.js.map +1 -0
- package/src/constant/conversion-table.d.ts +1 -0
- package/src/constant/conversion-table.js +17 -0
- package/src/constant/conversion-table.js.map +1 -0
- package/src/constant/country.d.ts +1 -0
- package/src/constant/country.js +234 -0
- package/src/constant/country.js.map +1 -0
- package/src/constant/dimension.d.ts +2 -0
- package/src/constant/dimension.js +6 -0
- package/src/constant/dimension.js.map +1 -0
- package/src/constant/event.d.ts +158 -0
- package/src/constant/event.js +230 -0
- package/src/constant/event.js.map +1 -0
- package/src/constant/extracurricular-activity.d.ts +1 -0
- package/src/constant/extracurricular-activity.js +11 -0
- package/src/constant/extracurricular-activity.js.map +1 -0
- package/src/constant/guardian.d.ts +1 -0
- package/src/constant/guardian.js +5 -0
- package/src/constant/guardian.js.map +1 -0
- package/src/constant/lead-form.d.ts +7 -0
- package/src/constant/lead-form.js +35 -0
- package/src/constant/lead-form.js.map +1 -0
- package/src/constant/lead.d.ts +1 -0
- package/src/constant/lead.js +14 -0
- package/src/constant/lead.js.map +1 -0
- package/src/constant/location.d.ts +2 -0
- package/src/constant/location.js +24 -0
- package/src/constant/location.js.map +1 -0
- package/src/constant/nationality.d.ts +1 -0
- package/src/constant/nationality.js +200 -0
- package/src/constant/nationality.js.map +1 -0
- package/src/constant/neo-test.d.ts +7 -0
- package/src/constant/neo-test.js +11 -0
- package/src/constant/neo-test.js.map +1 -0
- package/src/constant/refund.d.ts +1 -0
- package/src/constant/refund.js +8 -0
- package/src/constant/refund.js.map +1 -0
- package/src/constant/sale.d.ts +103 -0
- package/src/constant/sale.js +247 -0
- package/src/constant/sale.js.map +1 -0
- package/src/constant/school.d.ts +10 -0
- package/src/constant/school.js +671 -0
- package/src/constant/school.js.map +1 -0
- package/src/constant/service-course.d.ts +1 -0
- package/src/constant/service-course.js +5 -0
- package/src/constant/service-course.js.map +1 -0
- package/src/constant/student-assignment.d.ts +1 -0
- package/src/constant/student-assignment.js +5 -0
- package/src/constant/student-assignment.js.map +1 -0
- package/src/constant/student-service.d.ts +21 -0
- package/src/constant/student-service.js +147 -0
- package/src/constant/student-service.js.map +1 -0
- package/src/constant/subject.d.ts +33 -0
- package/src/constant/subject.js +155 -0
- package/src/constant/subject.js.map +1 -0
- package/src/constant/task.d.ts +2 -0
- package/src/constant/task.js +6 -0
- package/src/constant/task.js.map +1 -0
- package/src/constant/university-preference.d.ts +3 -0
- package/src/constant/university-preference.js +11 -0
- package/src/constant/university-preference.js.map +1 -0
- package/src/constant/user.d.ts +2 -0
- package/src/constant/user.js +16 -0
- package/src/constant/user.js.map +1 -0
- package/src/constants.d.ts +23 -0
- package/src/constants.js +27 -0
- package/src/constants.js.map +1 -0
- package/src/index.d.ts +2 -0
- package/src/index.js +8 -0
- package/src/index.js.map +1 -0
- package/src/model/access-token.d.ts +12 -0
- package/src/model/access-token.js +49 -0
- package/src/model/access-token.js.map +1 -0
- package/src/model/answer-key.d.ts +7 -0
- package/src/model/answer-key.js +30 -0
- package/src/model/answer-key.js.map +1 -0
- package/src/model/audience-list.d.ts +24 -0
- package/src/model/audience-list.js +69 -0
- package/src/model/audience-list.js.map +1 -0
- package/src/model/audit-log.d.ts +12 -0
- package/src/model/audit-log.js +50 -0
- package/src/model/audit-log.js.map +1 -0
- package/src/model/campaign-signature.d.ts +9 -0
- package/src/model/campaign-signature.js +37 -0
- package/src/model/campaign-signature.js.map +1 -0
- package/src/model/campaign.d.ts +29 -0
- package/src/model/campaign.js +94 -0
- package/src/model/campaign.js.map +1 -0
- package/src/model/case-study.d.ts +7 -0
- package/src/model/case-study.js +29 -0
- package/src/model/case-study.js.map +1 -0
- package/src/model/conversion-table.d.ts +25 -0
- package/src/model/conversion-table.js +59 -0
- package/src/model/conversion-table.js.map +1 -0
- package/src/model/course-template-event.d.ts +12 -0
- package/src/model/course-template-event.js +47 -0
- package/src/model/course-template-event.js.map +1 -0
- package/src/model/course-template.d.ts +14 -0
- package/src/model/course-template.js +52 -0
- package/src/model/course-template.js.map +1 -0
- package/src/model/dimension.d.ts +20 -0
- package/src/model/dimension.js +53 -0
- package/src/model/dimension.js.map +1 -0
- package/src/model/education-system.d.ts +4 -0
- package/src/model/education-system.js +20 -0
- package/src/model/education-system.js.map +1 -0
- package/src/model/event-log.d.ts +11 -0
- package/src/model/event-log.js +44 -0
- package/src/model/event-log.js.map +1 -0
- package/src/model/event-registration.d.ts +10 -0
- package/src/model/event-registration.js +41 -0
- package/src/model/event-registration.js.map +1 -0
- package/src/model/event-to-user.d.ts +9 -0
- package/src/model/event-to-user.js +34 -0
- package/src/model/event-to-user.js.map +1 -0
- package/src/model/event.d.ts +94 -0
- package/src/model/event.js +210 -0
- package/src/model/event.js.map +1 -0
- package/src/model/extracurricular-activity.d.ts +22 -0
- package/src/model/extracurricular-activity.js +70 -0
- package/src/model/extracurricular-activity.js.map +1 -0
- package/src/model/file-access.d.ts +13 -0
- package/src/model/file-access.js +50 -0
- package/src/model/file-access.js.map +1 -0
- package/src/model/file-category.d.ts +8 -0
- package/src/model/file-category.js +33 -0
- package/src/model/file-category.js.map +1 -0
- package/src/model/file.d.ts +22 -0
- package/src/model/file.js +83 -0
- package/src/model/file.js.map +1 -0
- package/src/model/gmail-message-email-index.d.ts +15 -0
- package/src/model/gmail-message-email-index.js +47 -0
- package/src/model/gmail-message-email-index.js.map +1 -0
- package/src/model/gmail-message.d.ts +17 -0
- package/src/model/gmail-message.js +69 -0
- package/src/model/gmail-message.js.map +1 -0
- package/src/model/google-user.d.ts +9 -0
- package/src/model/google-user.js +40 -0
- package/src/model/google-user.js.map +1 -0
- package/src/model/guardian.d.ts +17 -0
- package/src/model/guardian.js +66 -0
- package/src/model/guardian.js.map +1 -0
- package/src/model/high-school-record.d.ts +18 -0
- package/src/model/high-school-record.js +70 -0
- package/src/model/high-school-record.js.map +1 -0
- package/src/model/holiday.d.ts +9 -0
- package/src/model/holiday.js +38 -0
- package/src/model/holiday.js.map +1 -0
- package/src/model/invoice.d.ts +14 -0
- package/src/model/invoice.js +55 -0
- package/src/model/invoice.js.map +1 -0
- package/src/model/journey-stage.d.ts +9 -0
- package/src/model/journey-stage.js +38 -0
- package/src/model/journey-stage.js.map +1 -0
- package/src/model/journey-to-student.d.ts +12 -0
- package/src/model/journey-to-student.js +46 -0
- package/src/model/journey-to-student.js.map +1 -0
- package/src/model/journey.d.ts +12 -0
- package/src/model/journey.js +44 -0
- package/src/model/journey.js.map +1 -0
- package/src/model/lead-assignment.d.ts +9 -0
- package/src/model/lead-assignment.js +38 -0
- package/src/model/lead-assignment.js.map +1 -0
- package/src/model/lead-form-field.d.ts +34 -0
- package/src/model/lead-form-field.js +83 -0
- package/src/model/lead-form-field.js.map +1 -0
- package/src/model/lead-form.d.ts +47 -0
- package/src/model/lead-form.js +131 -0
- package/src/model/lead-form.js.map +1 -0
- package/src/model/lead-ip-ban.d.ts +6 -0
- package/src/model/lead-ip-ban.js +28 -0
- package/src/model/lead-ip-ban.js.map +1 -0
- package/src/model/lead-queue.d.ts +5 -0
- package/src/model/lead-queue.js +24 -0
- package/src/model/lead-queue.js.map +1 -0
- package/src/model/lead.d.ts +46 -0
- package/src/model/lead.js +159 -0
- package/src/model/lead.js.map +1 -0
- package/src/model/log.d.ts +21 -0
- package/src/model/log.js +63 -0
- package/src/model/log.js.map +1 -0
- package/src/model/neo-tag.d.ts +12 -0
- package/src/model/neo-tag.js +38 -0
- package/src/model/neo-tag.js.map +1 -0
- package/src/model/neo-test-flow.d.ts +28 -0
- package/src/model/neo-test-flow.js +17 -0
- package/src/model/neo-test-flow.js.map +1 -0
- package/src/model/neo-test-question-answer.d.ts +8 -0
- package/src/model/neo-test-question-answer.js +34 -0
- package/src/model/neo-test-question-answer.js.map +1 -0
- package/src/model/neo-test-question-category.d.ts +8 -0
- package/src/model/neo-test-question-category.js +33 -0
- package/src/model/neo-test-question-category.js.map +1 -0
- package/src/model/neo-test-question.d.ts +30 -0
- package/src/model/neo-test-question.js +99 -0
- package/src/model/neo-test-question.js.map +1 -0
- package/src/model/neo-test-section-to-question.d.ts +9 -0
- package/src/model/neo-test-section-to-question.js +36 -0
- package/src/model/neo-test-section-to-question.js.map +1 -0
- package/src/model/neo-test-section.d.ts +10 -0
- package/src/model/neo-test-section.js +39 -0
- package/src/model/neo-test-section.js.map +1 -0
- package/src/model/neo-test.d.ts +19 -0
- package/src/model/neo-test.js +59 -0
- package/src/model/neo-test.js.map +1 -0
- package/src/model/pd-pipeline.d.ts +7 -0
- package/src/model/pd-pipeline.js +30 -0
- package/src/model/pd-pipeline.js.map +1 -0
- package/src/model/pd-user.d.ts +8 -0
- package/src/model/pd-user.js +34 -0
- package/src/model/pd-user.js.map +1 -0
- package/src/model/profile.d.ts +469 -0
- package/src/model/profile.js +588 -0
- package/src/model/profile.js.map +1 -0
- package/src/model/pup-lead.d.ts +49 -0
- package/src/model/pup-lead.js +164 -0
- package/src/model/pup-lead.js.map +1 -0
- package/src/model/refund.d.ts +23 -0
- package/src/model/refund.js +81 -0
- package/src/model/refund.js.map +1 -0
- package/src/model/sale-payment.d.ts +18 -0
- package/src/model/sale-payment.js +75 -0
- package/src/model/sale-payment.js.map +1 -0
- package/src/model/sale-split.d.ts +10 -0
- package/src/model/sale-split.js +41 -0
- package/src/model/sale-split.js.map +1 -0
- package/src/model/sale-sub-type-to-service.d.ts +8 -0
- package/src/model/sale-sub-type-to-service.js +31 -0
- package/src/model/sale-sub-type-to-service.js.map +1 -0
- package/src/model/sale-sub-type.d.ts +12 -0
- package/src/model/sale-sub-type.js +46 -0
- package/src/model/sale-sub-type.js.map +1 -0
- package/src/model/sale-to-event.d.ts +10 -0
- package/src/model/sale-to-event.js +38 -0
- package/src/model/sale-to-event.js.map +1 -0
- package/src/model/sale.d.ts +138 -0
- package/src/model/sale.js +322 -0
- package/src/model/sale.js.map +1 -0
- package/src/model/school.d.ts +14 -0
- package/src/model/school.js +40 -0
- package/src/model/school.js.map +1 -0
- package/src/model/service-course-session.d.ts +21 -0
- package/src/model/service-course-session.js +69 -0
- package/src/model/service-course-session.js.map +1 -0
- package/src/model/service-course.d.ts +12 -0
- package/src/model/service-course.js +49 -0
- package/src/model/service-course.js.map +1 -0
- package/src/model/service-prompt.d.ts +8 -0
- package/src/model/service-prompt.js +33 -0
- package/src/model/service-prompt.js.map +1 -0
- package/src/model/service-rate.d.ts +8 -0
- package/src/model/service-rate.js +36 -0
- package/src/model/service-rate.js.map +1 -0
- package/src/model/staff-availability.d.ts +15 -0
- package/src/model/staff-availability.js +45 -0
- package/src/model/staff-availability.js.map +1 -0
- package/src/model/staff-hour-log.d.ts +24 -0
- package/src/model/staff-hour-log.js +70 -0
- package/src/model/staff-hour-log.js.map +1 -0
- package/src/model/staff-hour.d.ts +116 -0
- package/src/model/staff-hour.js +568 -0
- package/src/model/staff-hour.js.map +1 -0
- package/src/model/staff-subject-tag.d.ts +9 -0
- package/src/model/staff-subject-tag.js +38 -0
- package/src/model/staff-subject-tag.js.map +1 -0
- package/src/model/student-answer.d.ts +12 -0
- package/src/model/student-answer.js +49 -0
- package/src/model/student-answer.js.map +1 -0
- package/src/model/student-assignment.d.ts +15 -0
- package/src/model/student-assignment.js +46 -0
- package/src/model/student-assignment.js.map +1 -0
- package/src/model/student-extra.d.ts +17 -0
- package/src/model/student-extra.js +70 -0
- package/src/model/student-extra.js.map +1 -0
- package/src/model/student-goal.d.ts +12 -0
- package/src/model/student-goal.js +47 -0
- package/src/model/student-goal.js.map +1 -0
- package/src/model/student-note-checklist-item.d.ts +8 -0
- package/src/model/student-note-checklist-item.js +34 -0
- package/src/model/student-note-checklist-item.js.map +1 -0
- package/src/model/student-note.d.ts +28 -0
- package/src/model/student-note.js +96 -0
- package/src/model/student-note.js.map +1 -0
- package/src/model/student-service-deadline.d.ts +8 -0
- package/src/model/student-service-deadline.js +33 -0
- package/src/model/student-service-deadline.js.map +1 -0
- package/src/model/student-service-membership-log.d.ts +27 -0
- package/src/model/student-service-membership-log.js +73 -0
- package/src/model/student-service-membership-log.js.map +1 -0
- package/src/model/student-service-membership.d.ts +19 -0
- package/src/model/student-service-membership.js +81 -0
- package/src/model/student-service-membership.js.map +1 -0
- package/src/model/student-service.d.ts +77 -0
- package/src/model/student-service.js +124 -0
- package/src/model/student-service.js.map +1 -0
- package/src/model/student-session-attendance.d.ts +17 -0
- package/src/model/student-session-attendance.js +64 -0
- package/src/model/student-session-attendance.js.map +1 -0
- package/src/model/student-target.d.ts +21 -0
- package/src/model/student-target.js +80 -0
- package/src/model/student-target.js.map +1 -0
- package/src/model/task-attachment.d.ts +17 -0
- package/src/model/task-attachment.js +68 -0
- package/src/model/task-attachment.js.map +1 -0
- package/src/model/task-comment.d.ts +13 -0
- package/src/model/task-comment.js +52 -0
- package/src/model/task-comment.js.map +1 -0
- package/src/model/task.d.ts +33 -0
- package/src/model/task.js +98 -0
- package/src/model/task.js.map +1 -0
- package/src/model/test-attempt.d.ts +27 -0
- package/src/model/test-attempt.js +90 -0
- package/src/model/test-attempt.js.map +1 -0
- package/src/model/test-category.d.ts +10 -0
- package/src/model/test-category.js +38 -0
- package/src/model/test-category.js.map +1 -0
- package/src/model/test-question.d.ts +28 -0
- package/src/model/test-question.js +88 -0
- package/src/model/test-question.js.map +1 -0
- package/src/model/test-report.d.ts +123 -0
- package/src/model/test-report.js +40 -0
- package/src/model/test-report.js.map +1 -0
- package/src/model/test-score.d.ts +12 -0
- package/src/model/test-score.js +50 -0
- package/src/model/test-score.js.map +1 -0
- package/src/model/test-section.d.ts +11 -0
- package/src/model/test-section.js +43 -0
- package/src/model/test-section.js.map +1 -0
- package/src/model/test.d.ts +18 -0
- package/src/model/test.js +62 -0
- package/src/model/test.js.map +1 -0
- package/src/model/timeline.d.ts +24 -0
- package/src/model/timeline.js +10 -0
- package/src/model/timeline.js.map +1 -0
- package/src/model/university-preference.d.ts +15 -0
- package/src/model/university-preference.js +62 -0
- package/src/model/university-preference.js.map +1 -0
- package/src/model/user-preference.d.ts +10 -0
- package/src/model/user-preference.js +41 -0
- package/src/model/user-preference.js.map +1 -0
- package/src/model/user-to-guardian.d.ts +21 -0
- package/src/model/user-to-guardian.js +67 -0
- package/src/model/user-to-guardian.js.map +1 -0
- package/src/model/user.d.ts +91 -0
- package/src/model/user.js +248 -0
- package/src/model/user.js.map +1 -0
- package/src/model/wa-message.d.ts +21 -0
- package/src/model/wa-message.js +74 -0
- package/src/model/wa-message.js.map +1 -0
- package/src/model/zoom-info.d.ts +9 -0
- package/src/model/zoom-info.js +37 -0
- package/src/model/zoom-info.js.map +1 -0
- package/src/models.d.ts +94 -0
- package/src/models.js +98 -0
- package/src/models.js.map +1 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NeoTestQuestionAnswer = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const neo_test_question_1 = require("./neo-test-question");
|
|
7
|
+
let NeoTestQuestionAnswer = class NeoTestQuestionAnswer {
|
|
8
|
+
};
|
|
9
|
+
exports.NeoTestQuestionAnswer = NeoTestQuestionAnswer;
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
12
|
+
tslib_1.__metadata("design:type", Number)
|
|
13
|
+
], NeoTestQuestionAnswer.prototype, "id", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
16
|
+
tslib_1.__metadata("design:type", String)
|
|
17
|
+
], NeoTestQuestionAnswer.prototype, "content", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
20
|
+
tslib_1.__metadata("design:type", Number)
|
|
21
|
+
], NeoTestQuestionAnswer.prototype, "order", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
24
|
+
tslib_1.__metadata("design:type", Number)
|
|
25
|
+
], NeoTestQuestionAnswer.prototype, "questionId", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.ManyToOne)(() => neo_test_question_1.NeoTestQuestion, (question) => question.answers),
|
|
28
|
+
(0, typeorm_1.JoinColumn)(),
|
|
29
|
+
tslib_1.__metadata("design:type", neo_test_question_1.NeoTestQuestion)
|
|
30
|
+
], NeoTestQuestionAnswer.prototype, "question", void 0);
|
|
31
|
+
exports.NeoTestQuestionAnswer = NeoTestQuestionAnswer = tslib_1.__decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'neo_test_question_answers' })
|
|
33
|
+
], NeoTestQuestionAnswer);
|
|
34
|
+
//# sourceMappingURL=neo-test-question-answer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"neo-test-question-answer.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/neo-test-question-answer.ts"],"names":[],"mappings":";;;;AAAA,qCAAwF;AAExF,2DAAsD;AAG/C,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAgBjC,CAAA;AAhBY,sDAAqB;AAEhC;IADC,IAAA,gCAAsB,GAAE;;iDACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sDACT;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;oDACV;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;yDACL;AAInB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAe,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC;IAChE,IAAA,oBAAU,GAAE;sCACH,mCAAe;uDAAC;gCAff,qBAAqB;IADjC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;GACjC,qBAAqB,CAgBjC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NeoTestQuestionCategory = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const neo_test_question_1 = require("./neo-test-question");
|
|
7
|
+
let NeoTestQuestionCategory = class NeoTestQuestionCategory {
|
|
8
|
+
};
|
|
9
|
+
exports.NeoTestQuestionCategory = NeoTestQuestionCategory;
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
12
|
+
tslib_1.__metadata("design:type", Number)
|
|
13
|
+
], NeoTestQuestionCategory.prototype, "id", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
16
|
+
tslib_1.__metadata("design:type", Number)
|
|
17
|
+
], NeoTestQuestionCategory.prototype, "service", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
20
|
+
tslib_1.__metadata("design:type", String)
|
|
21
|
+
], NeoTestQuestionCategory.prototype, "name", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
24
|
+
tslib_1.__metadata("design:type", String)
|
|
25
|
+
], NeoTestQuestionCategory.prototype, "description", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.OneToMany)(() => neo_test_question_1.NeoTestQuestion, (q) => q.category),
|
|
28
|
+
tslib_1.__metadata("design:type", Array)
|
|
29
|
+
], NeoTestQuestionCategory.prototype, "questions", void 0);
|
|
30
|
+
exports.NeoTestQuestionCategory = NeoTestQuestionCategory = tslib_1.__decorate([
|
|
31
|
+
(0, typeorm_1.Entity)({ name: 'neo_test_question_categories' })
|
|
32
|
+
], NeoTestQuestionCategory);
|
|
33
|
+
//# sourceMappingURL=neo-test-question-category.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"neo-test-question-category.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/neo-test-question-category.ts"],"names":[],"mappings":";;;;AAAA,qCAA4E;AAE5E,2DAAsD;AAG/C,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;CAenC,CAAA;AAfY,0DAAuB;AAElC;IADC,IAAA,gCAAsB,GAAE;;mDACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;wDACR;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;qDAC5B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACrB;AAGpB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;;0DACvB;kCAdlB,uBAAuB;IADnC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;GACpC,uBAAuB,CAenC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { NeoTag } from './neo-tag';
|
|
2
|
+
import { NeoTestQuestionAnswer } from './neo-test-question-answer';
|
|
3
|
+
import { NeoTestQuestionCategory } from './neo-test-question-category';
|
|
4
|
+
import { NeoTestSectionToQuestion } from './neo-test-section-to-question';
|
|
5
|
+
export declare enum NEO_TEST_QUESTION_TYPE {
|
|
6
|
+
MCQ = "mcq",
|
|
7
|
+
KEY_IN = "key-in"
|
|
8
|
+
}
|
|
9
|
+
export declare enum NEO_TEST_QUESTION_DIFFICULTY {
|
|
10
|
+
EASY = 1,
|
|
11
|
+
MEDIUM = 2,
|
|
12
|
+
HARD = 3
|
|
13
|
+
}
|
|
14
|
+
export declare class NeoTestQuestion {
|
|
15
|
+
id: number;
|
|
16
|
+
uuid: string;
|
|
17
|
+
service: number;
|
|
18
|
+
categoryId: number;
|
|
19
|
+
type: NEO_TEST_QUESTION_TYPE;
|
|
20
|
+
content: string;
|
|
21
|
+
isExperimental: boolean;
|
|
22
|
+
answerKey: string;
|
|
23
|
+
difficulty: NEO_TEST_QUESTION_DIFFICULTY;
|
|
24
|
+
createdAt: Date;
|
|
25
|
+
updatedAt: Date;
|
|
26
|
+
category: NeoTestQuestionCategory;
|
|
27
|
+
tags: NeoTag[];
|
|
28
|
+
sections: NeoTestSectionToQuestion[];
|
|
29
|
+
answers: NeoTestQuestionAnswer[];
|
|
30
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NeoTestQuestion = exports.NEO_TEST_QUESTION_DIFFICULTY = exports.NEO_TEST_QUESTION_TYPE = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const neo_tag_1 = require("./neo-tag");
|
|
7
|
+
const neo_test_question_answer_1 = require("./neo-test-question-answer");
|
|
8
|
+
const neo_test_question_category_1 = require("./neo-test-question-category");
|
|
9
|
+
const neo_test_section_to_question_1 = require("./neo-test-section-to-question");
|
|
10
|
+
var NEO_TEST_QUESTION_TYPE;
|
|
11
|
+
(function (NEO_TEST_QUESTION_TYPE) {
|
|
12
|
+
NEO_TEST_QUESTION_TYPE["MCQ"] = "mcq";
|
|
13
|
+
NEO_TEST_QUESTION_TYPE["KEY_IN"] = "key-in";
|
|
14
|
+
})(NEO_TEST_QUESTION_TYPE || (exports.NEO_TEST_QUESTION_TYPE = NEO_TEST_QUESTION_TYPE = {}));
|
|
15
|
+
var NEO_TEST_QUESTION_DIFFICULTY;
|
|
16
|
+
(function (NEO_TEST_QUESTION_DIFFICULTY) {
|
|
17
|
+
NEO_TEST_QUESTION_DIFFICULTY[NEO_TEST_QUESTION_DIFFICULTY["EASY"] = 1] = "EASY";
|
|
18
|
+
NEO_TEST_QUESTION_DIFFICULTY[NEO_TEST_QUESTION_DIFFICULTY["MEDIUM"] = 2] = "MEDIUM";
|
|
19
|
+
NEO_TEST_QUESTION_DIFFICULTY[NEO_TEST_QUESTION_DIFFICULTY["HARD"] = 3] = "HARD";
|
|
20
|
+
})(NEO_TEST_QUESTION_DIFFICULTY || (exports.NEO_TEST_QUESTION_DIFFICULTY = NEO_TEST_QUESTION_DIFFICULTY = {}));
|
|
21
|
+
let NeoTestQuestion = class NeoTestQuestion {
|
|
22
|
+
};
|
|
23
|
+
exports.NeoTestQuestion = NeoTestQuestion;
|
|
24
|
+
tslib_1.__decorate([
|
|
25
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
26
|
+
tslib_1.__metadata("design:type", Number)
|
|
27
|
+
], NeoTestQuestion.prototype, "id", void 0);
|
|
28
|
+
tslib_1.__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, unique: true }),
|
|
30
|
+
tslib_1.__metadata("design:type", String)
|
|
31
|
+
], NeoTestQuestion.prototype, "uuid", void 0);
|
|
32
|
+
tslib_1.__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
34
|
+
tslib_1.__metadata("design:type", Number)
|
|
35
|
+
], NeoTestQuestion.prototype, "service", void 0);
|
|
36
|
+
tslib_1.__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
38
|
+
tslib_1.__metadata("design:type", Number)
|
|
39
|
+
], NeoTestQuestion.prototype, "categoryId", void 0);
|
|
40
|
+
tslib_1.__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: ['mcq', 'key-in'] }),
|
|
42
|
+
tslib_1.__metadata("design:type", String)
|
|
43
|
+
], NeoTestQuestion.prototype, "type", void 0);
|
|
44
|
+
tslib_1.__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
46
|
+
tslib_1.__metadata("design:type", String)
|
|
47
|
+
], NeoTestQuestion.prototype, "content", void 0);
|
|
48
|
+
tslib_1.__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'bool' }),
|
|
50
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
51
|
+
], NeoTestQuestion.prototype, "isExperimental", void 0);
|
|
52
|
+
tslib_1.__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
54
|
+
tslib_1.__metadata("design:type", String)
|
|
55
|
+
], NeoTestQuestion.prototype, "answerKey", void 0);
|
|
56
|
+
tslib_1.__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
58
|
+
tslib_1.__metadata("design:type", Number)
|
|
59
|
+
], NeoTestQuestion.prototype, "difficulty", void 0);
|
|
60
|
+
tslib_1.__decorate([
|
|
61
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
62
|
+
tslib_1.__metadata("design:type", Date)
|
|
63
|
+
], NeoTestQuestion.prototype, "createdAt", void 0);
|
|
64
|
+
tslib_1.__decorate([
|
|
65
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
66
|
+
tslib_1.__metadata("design:type", Date)
|
|
67
|
+
], NeoTestQuestion.prototype, "updatedAt", void 0);
|
|
68
|
+
tslib_1.__decorate([
|
|
69
|
+
(0, typeorm_1.ManyToOne)(() => neo_test_question_category_1.NeoTestQuestionCategory, (cat) => cat.questions),
|
|
70
|
+
(0, typeorm_1.JoinColumn)(),
|
|
71
|
+
tslib_1.__metadata("design:type", neo_test_question_category_1.NeoTestQuestionCategory)
|
|
72
|
+
], NeoTestQuestion.prototype, "category", void 0);
|
|
73
|
+
tslib_1.__decorate([
|
|
74
|
+
(0, typeorm_1.ManyToMany)(() => neo_tag_1.NeoTag, (tag) => tag.questions),
|
|
75
|
+
(0, typeorm_1.JoinTable)({
|
|
76
|
+
name: 'neo_test_questions_to_tags',
|
|
77
|
+
joinColumn: {
|
|
78
|
+
name: 'questionId',
|
|
79
|
+
referencedColumnName: 'id',
|
|
80
|
+
},
|
|
81
|
+
inverseJoinColumn: {
|
|
82
|
+
name: 'tagId',
|
|
83
|
+
referencedColumnName: 'id',
|
|
84
|
+
},
|
|
85
|
+
}),
|
|
86
|
+
tslib_1.__metadata("design:type", Array)
|
|
87
|
+
], NeoTestQuestion.prototype, "tags", void 0);
|
|
88
|
+
tslib_1.__decorate([
|
|
89
|
+
(0, typeorm_1.OneToMany)(() => neo_test_section_to_question_1.NeoTestSectionToQuestion, (section) => section.question),
|
|
90
|
+
tslib_1.__metadata("design:type", Array)
|
|
91
|
+
], NeoTestQuestion.prototype, "sections", void 0);
|
|
92
|
+
tslib_1.__decorate([
|
|
93
|
+
(0, typeorm_1.OneToMany)(() => neo_test_question_answer_1.NeoTestQuestionAnswer, (answer) => answer.question),
|
|
94
|
+
tslib_1.__metadata("design:type", Array)
|
|
95
|
+
], NeoTestQuestion.prototype, "answers", void 0);
|
|
96
|
+
exports.NeoTestQuestion = NeoTestQuestion = tslib_1.__decorate([
|
|
97
|
+
(0, typeorm_1.Entity)({ name: 'neo_test_questions' })
|
|
98
|
+
], NeoTestQuestion);
|
|
99
|
+
//# sourceMappingURL=neo-test-question.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"neo-test-question.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/neo-test-question.ts"],"names":[],"mappings":";;;;AAAA,qCAWiB;AAEjB,uCAAmC;AACnC,yEAAmE;AACnE,6EAAuE;AACvE,iFAA0E;AAE1E,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,qCAAW,CAAA;IACX,2CAAiB,CAAA;AACnB,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC;AAED,IAAY,4BAIX;AAJD,WAAY,4BAA4B;IACtC,+EAAQ,CAAA;IACR,mFAAU,CAAA;IACV,+EAAQ,CAAA;AACV,CAAC,EAJW,4BAA4B,4CAA5B,4BAA4B,QAIvC;AAGM,IAAM,eAAe,GAArB,MAAM,eAAe;CAyD3B,CAAA;AAzDY,0CAAe;AAE1B;IADC,IAAA,gCAAsB,GAAE;;2CACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;6CAC1C;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;gDACR;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;mDACL;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC;;6CACrB;AAG7B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;gDACT;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uDACD;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;kDACvB;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;mDACiB;AAGzC;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;kDAAC;AAGhB;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;kDAAC;AAIhB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oDAAuB,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC;IAChE,IAAA,oBAAU,GAAE;sCACH,oDAAuB;iDAAC;AAclC;IAZC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,gBAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC;IAChD,IAAA,mBAAS,EAAC;QACT,IAAI,EAAE,4BAA4B;QAClC,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,oBAAoB,EAAE,IAAI;SAC3B;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,OAAO;YACb,oBAAoB,EAAE,IAAI;SAC3B;KACF,CAAC;;6CACa;AAGf;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uDAAwB,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;;iDACpC;AAGrC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gDAAqB,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;;gDACnC;0BAxDtB,eAAe;IAD3B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;GAC1B,eAAe,CAyD3B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NeoTestQuestion } from './neo-test-question';
|
|
2
|
+
import { NeoTestSection } from './neo-test-section';
|
|
3
|
+
export declare class NeoTestSectionToQuestion {
|
|
4
|
+
sectionId: number;
|
|
5
|
+
questionId: number;
|
|
6
|
+
order: number;
|
|
7
|
+
section: NeoTestSection;
|
|
8
|
+
question: NeoTestQuestion;
|
|
9
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NeoTestSectionToQuestion = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const neo_test_question_1 = require("./neo-test-question");
|
|
7
|
+
const neo_test_section_1 = require("./neo-test-section");
|
|
8
|
+
let NeoTestSectionToQuestion = class NeoTestSectionToQuestion {
|
|
9
|
+
};
|
|
10
|
+
exports.NeoTestSectionToQuestion = NeoTestSectionToQuestion;
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, typeorm_1.PrimaryColumn)({ type: 'int', nullable: false }),
|
|
13
|
+
tslib_1.__metadata("design:type", Number)
|
|
14
|
+
], NeoTestSectionToQuestion.prototype, "sectionId", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, typeorm_1.PrimaryColumn)({ type: 'int', nullable: false }),
|
|
17
|
+
tslib_1.__metadata("design:type", Number)
|
|
18
|
+
], NeoTestSectionToQuestion.prototype, "questionId", void 0);
|
|
19
|
+
tslib_1.__decorate([
|
|
20
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
21
|
+
tslib_1.__metadata("design:type", Number)
|
|
22
|
+
], NeoTestSectionToQuestion.prototype, "order", void 0);
|
|
23
|
+
tslib_1.__decorate([
|
|
24
|
+
(0, typeorm_1.ManyToOne)(() => neo_test_section_1.NeoTestSection, (section) => section.questions),
|
|
25
|
+
(0, typeorm_1.JoinColumn)(),
|
|
26
|
+
tslib_1.__metadata("design:type", neo_test_section_1.NeoTestSection)
|
|
27
|
+
], NeoTestSectionToQuestion.prototype, "section", void 0);
|
|
28
|
+
tslib_1.__decorate([
|
|
29
|
+
(0, typeorm_1.ManyToOne)(() => neo_test_question_1.NeoTestQuestion, (question) => question.sections),
|
|
30
|
+
(0, typeorm_1.JoinColumn)(),
|
|
31
|
+
tslib_1.__metadata("design:type", neo_test_question_1.NeoTestQuestion)
|
|
32
|
+
], NeoTestSectionToQuestion.prototype, "question", void 0);
|
|
33
|
+
exports.NeoTestSectionToQuestion = NeoTestSectionToQuestion = tslib_1.__decorate([
|
|
34
|
+
(0, typeorm_1.Entity)({ name: 'neo_test_sections_to_questions' })
|
|
35
|
+
], NeoTestSectionToQuestion);
|
|
36
|
+
//# sourceMappingURL=neo-test-section-to-question.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"neo-test-section-to-question.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/neo-test-section-to-question.ts"],"names":[],"mappings":";;;;AAAA,qCAA+E;AAE/E,2DAAsD;AACtD,yDAAoD;AAG7C,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAiBpC,CAAA;AAjBY,4DAAwB;AAEnC;IADC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DAC9B;AAGlB;IADC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4DAC7B;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uDAC3B;AAId;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC;IAC/D,IAAA,oBAAU,GAAE;sCACJ,iCAAc;yDAAC;AAIxB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAe,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC;IACjE,IAAA,oBAAU,GAAE;sCACH,mCAAe;0DAAC;mCAhBf,wBAAwB;IADpC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,gCAAgC,EAAE,CAAC;GACtC,wBAAwB,CAiBpC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NeoTest } from './neo-test';
|
|
2
|
+
import { NeoTestSectionToQuestion } from './neo-test-section-to-question';
|
|
3
|
+
export declare class NeoTestSection {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
duration: number;
|
|
7
|
+
testId: number;
|
|
8
|
+
test: NeoTest;
|
|
9
|
+
questions: NeoTestSectionToQuestion[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NeoTestSection = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const neo_test_1 = require("./neo-test");
|
|
7
|
+
const neo_test_section_to_question_1 = require("./neo-test-section-to-question");
|
|
8
|
+
let NeoTestSection = class NeoTestSection {
|
|
9
|
+
};
|
|
10
|
+
exports.NeoTestSection = NeoTestSection;
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
13
|
+
tslib_1.__metadata("design:type", Number)
|
|
14
|
+
], NeoTestSection.prototype, "id", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], NeoTestSection.prototype, "name", void 0);
|
|
19
|
+
tslib_1.__decorate([
|
|
20
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
21
|
+
tslib_1.__metadata("design:type", Number)
|
|
22
|
+
], NeoTestSection.prototype, "duration", void 0);
|
|
23
|
+
tslib_1.__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
25
|
+
tslib_1.__metadata("design:type", Number)
|
|
26
|
+
], NeoTestSection.prototype, "testId", void 0);
|
|
27
|
+
tslib_1.__decorate([
|
|
28
|
+
(0, typeorm_1.ManyToOne)(() => neo_test_1.NeoTest, (test) => test.sections),
|
|
29
|
+
(0, typeorm_1.JoinColumn)(),
|
|
30
|
+
tslib_1.__metadata("design:type", neo_test_1.NeoTest)
|
|
31
|
+
], NeoTestSection.prototype, "test", void 0);
|
|
32
|
+
tslib_1.__decorate([
|
|
33
|
+
(0, typeorm_1.OneToMany)(() => neo_test_section_to_question_1.NeoTestSectionToQuestion, (question) => question.section),
|
|
34
|
+
tslib_1.__metadata("design:type", Array)
|
|
35
|
+
], NeoTestSection.prototype, "questions", void 0);
|
|
36
|
+
exports.NeoTestSection = NeoTestSection = tslib_1.__decorate([
|
|
37
|
+
(0, typeorm_1.Entity)({ name: 'neo_test_sections' })
|
|
38
|
+
], NeoTestSection);
|
|
39
|
+
//# sourceMappingURL=neo-test-section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"neo-test-section.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/neo-test-section.ts"],"names":[],"mappings":";;;;AAAA,qCAAmG;AAEnG,yCAAqC;AACrC,iFAA0E;AAGnE,IAAM,cAAc,GAApB,MAAM,cAAc;CAmB1B,CAAA;AAnBY,wCAAc;AAEzB;IADC,IAAA,gCAAsB,GAAE;;0CACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;4CAC5B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;gDACP;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;8CACT;AAIf;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC;IACjD,IAAA,oBAAU,GAAE;sCACP,kBAAO;4CAAC;AAGd;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uDAAwB,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC;;iDACpC;yBAlB3B,cAAc;IAD1B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;GACzB,cAAc,CAmB1B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NeoTestFlow } from './neo-test-flow';
|
|
2
|
+
import { NeoTestSection } from './neo-test-section';
|
|
3
|
+
export declare enum NEO_TEST_STATUS {
|
|
4
|
+
DRAFT = 1,
|
|
5
|
+
PUBLISHED = 2,
|
|
6
|
+
INACTIVE = 3
|
|
7
|
+
}
|
|
8
|
+
export declare class NeoTest {
|
|
9
|
+
id: number;
|
|
10
|
+
service: number;
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
isDiagnostic: boolean;
|
|
14
|
+
flow?: NeoTestFlow;
|
|
15
|
+
status: number;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
sections: NeoTestSection[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NeoTest = exports.NEO_TEST_STATUS = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const neo_test_section_1 = require("./neo-test-section");
|
|
7
|
+
var NEO_TEST_STATUS;
|
|
8
|
+
(function (NEO_TEST_STATUS) {
|
|
9
|
+
NEO_TEST_STATUS[NEO_TEST_STATUS["DRAFT"] = 1] = "DRAFT";
|
|
10
|
+
NEO_TEST_STATUS[NEO_TEST_STATUS["PUBLISHED"] = 2] = "PUBLISHED";
|
|
11
|
+
NEO_TEST_STATUS[NEO_TEST_STATUS["INACTIVE"] = 3] = "INACTIVE";
|
|
12
|
+
})(NEO_TEST_STATUS || (exports.NEO_TEST_STATUS = NEO_TEST_STATUS = {}));
|
|
13
|
+
let NeoTest = class NeoTest {
|
|
14
|
+
};
|
|
15
|
+
exports.NeoTest = NeoTest;
|
|
16
|
+
tslib_1.__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
18
|
+
tslib_1.__metadata("design:type", Number)
|
|
19
|
+
], NeoTest.prototype, "id", void 0);
|
|
20
|
+
tslib_1.__decorate([
|
|
21
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
22
|
+
tslib_1.__metadata("design:type", Number)
|
|
23
|
+
], NeoTest.prototype, "service", void 0);
|
|
24
|
+
tslib_1.__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
26
|
+
tslib_1.__metadata("design:type", String)
|
|
27
|
+
], NeoTest.prototype, "name", void 0);
|
|
28
|
+
tslib_1.__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
30
|
+
tslib_1.__metadata("design:type", String)
|
|
31
|
+
], NeoTest.prototype, "description", void 0);
|
|
32
|
+
tslib_1.__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
34
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
35
|
+
], NeoTest.prototype, "isDiagnostic", void 0);
|
|
36
|
+
tslib_1.__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'json', nullable: true }),
|
|
38
|
+
tslib_1.__metadata("design:type", Object)
|
|
39
|
+
], NeoTest.prototype, "flow", void 0);
|
|
40
|
+
tslib_1.__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'int', default: NEO_TEST_STATUS.DRAFT }),
|
|
42
|
+
tslib_1.__metadata("design:type", Number)
|
|
43
|
+
], NeoTest.prototype, "status", void 0);
|
|
44
|
+
tslib_1.__decorate([
|
|
45
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
46
|
+
tslib_1.__metadata("design:type", Date)
|
|
47
|
+
], NeoTest.prototype, "createdAt", void 0);
|
|
48
|
+
tslib_1.__decorate([
|
|
49
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
50
|
+
tslib_1.__metadata("design:type", Date)
|
|
51
|
+
], NeoTest.prototype, "updatedAt", void 0);
|
|
52
|
+
tslib_1.__decorate([
|
|
53
|
+
(0, typeorm_1.OneToMany)(() => neo_test_section_1.NeoTestSection, (section) => section.test),
|
|
54
|
+
tslib_1.__metadata("design:type", Array)
|
|
55
|
+
], NeoTest.prototype, "sections", void 0);
|
|
56
|
+
exports.NeoTest = NeoTest = tslib_1.__decorate([
|
|
57
|
+
(0, typeorm_1.Entity)({ name: 'neo_tests' })
|
|
58
|
+
], NeoTest);
|
|
59
|
+
//# sourceMappingURL=neo-test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"neo-test.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/neo-test.ts"],"names":[],"mappings":";;;;AAAA,qCAOiB;AAGjB,yDAAoD;AAEpD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,uDAAS,CAAA;IACT,+DAAa,CAAA;IACb,6DAAY,CAAA;AACd,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAGM,IAAM,OAAO,GAAb,MAAM,OAAO;CA8BnB,CAAA;AA9BY,0BAAO;AAElB;IADC,IAAA,gCAAsB,GAAE;;mCACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;wCACR;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;qCAC5B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACrB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CACtB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qCACtB;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,CAAC,KAAK,EAAE,CAAC;;uCACzC;AAGf;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;0CAAC;AAGhB;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;0CAAC;AAGhB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;;yCAChC;kBA7BhB,OAAO;IADnB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;GACjB,OAAO,CA8BnB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PDPipeline = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const student_service_1 = require("./student-service");
|
|
7
|
+
let PDPipeline = class PDPipeline {
|
|
8
|
+
};
|
|
9
|
+
exports.PDPipeline = PDPipeline;
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
12
|
+
tslib_1.__metadata("design:type", Number)
|
|
13
|
+
], PDPipeline.prototype, "id", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
16
|
+
tslib_1.__metadata("design:type", String)
|
|
17
|
+
], PDPipeline.prototype, "pdPipelineName", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
20
|
+
tslib_1.__metadata("design:type", Number)
|
|
21
|
+
], PDPipeline.prototype, "pdPipelineId", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
24
|
+
tslib_1.__metadata("design:type", Number)
|
|
25
|
+
], PDPipeline.prototype, "service", void 0);
|
|
26
|
+
exports.PDPipeline = PDPipeline = tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.Entity)({ name: 'pd_pipelines' }),
|
|
28
|
+
(0, typeorm_1.Unique)('pipe_service', ['pdPipelineId', 'service'])
|
|
29
|
+
], PDPipeline);
|
|
30
|
+
//# sourceMappingURL=pd-pipeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pd-pipeline.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/pd-pipeline.ts"],"names":[],"mappings":";;;;AAAA,qCAAyE;AAEzE,uDAAoD;AAI7C,IAAM,UAAU,GAAhB,MAAM,UAAU;CAYtB,CAAA;AAZY,gCAAU;AAErB;IADC,IAAA,gCAAsB,GAAE;;sCACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;kDAClB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;gDACH;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;2CACC;qBAXd,UAAU;IAFtB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;IAChC,IAAA,gBAAM,EAAC,cAAc,EAAE,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;GACvC,UAAU,CAYtB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PDUser = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const user_1 = require("./user");
|
|
7
|
+
let PDUser = class PDUser {
|
|
8
|
+
};
|
|
9
|
+
exports.PDUser = PDUser;
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
12
|
+
tslib_1.__metadata("design:type", Number)
|
|
13
|
+
], PDUser.prototype, "id", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
16
|
+
tslib_1.__metadata("design:type", Number)
|
|
17
|
+
], PDUser.prototype, "userId", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
20
|
+
tslib_1.__metadata("design:type", String)
|
|
21
|
+
], PDUser.prototype, "pdEmail", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
24
|
+
tslib_1.__metadata("design:type", String)
|
|
25
|
+
], PDUser.prototype, "pdId", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.OneToOne)(() => user_1.User, (user) => user.pdUser),
|
|
28
|
+
(0, typeorm_1.JoinColumn)(),
|
|
29
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
30
|
+
], PDUser.prototype, "user", void 0);
|
|
31
|
+
exports.PDUser = PDUser = tslib_1.__decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'pd_users' })
|
|
33
|
+
], PDUser);
|
|
34
|
+
//# sourceMappingURL=pd-user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pd-user.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/pd-user.ts"],"names":[],"mappings":";;;;AAAA,qCAAuF;AAEvF,iCAA8B;AAGvB,IAAM,MAAM,GAAZ,MAAM,MAAM;CAgBlB,CAAA;AAhBY,wBAAM;AAEjB;IADC,IAAA,gCAAsB,GAAE;;kCACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;sCACT;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;uCACzB;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;oCAC5B;AAIb;IAFC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;IAC3C,IAAA,oBAAU,GAAE;sCACP,WAAI;oCAAC;iBAfA,MAAM;IADlB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;GAChB,MAAM,CAgBlB"}
|