@tudopz/model 2.25.0 → 2.26.0
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/README.md +4 -0
- package/package.json +11 -33
- package/{lib → src}/constant/conversion-table.d.ts +0 -0
- package/{lib → src}/constant/conversion-table.js +2 -0
- package/src/constant/conversion-table.js.map +1 -0
- package/{lib → src}/constant/country.d.ts +0 -0
- package/{lib → src}/constant/country.js +2 -0
- package/src/constant/country.js.map +1 -0
- package/{lib → src}/constant/dimension.d.ts +0 -0
- package/{lib → src}/constant/dimension.js +2 -0
- package/src/constant/dimension.js.map +1 -0
- package/{lib → src}/constant/event.d.ts +0 -0
- package/{lib → src}/constant/event.js +2 -0
- package/src/constant/event.js.map +1 -0
- package/{lib → src}/constant/extracurricular-activity.d.ts +0 -0
- package/{lib → src}/constant/extracurricular-activity.js +2 -0
- package/src/constant/extracurricular-activity.js.map +1 -0
- package/{lib → src}/constant/guardian.d.ts +0 -0
- package/{lib → src}/constant/guardian.js +2 -0
- package/src/constant/guardian.js.map +1 -0
- package/{lib → src}/constant/lead-form.d.ts +0 -0
- package/{lib → src}/constant/lead-form.js +2 -0
- package/src/constant/lead-form.js.map +1 -0
- package/{lib → src}/constant/lead.d.ts +0 -0
- package/{lib → src}/constant/lead.js +2 -0
- package/src/constant/lead.js.map +1 -0
- package/{lib → src}/constant/location.d.ts +0 -0
- package/{lib → src}/constant/location.js +2 -0
- package/src/constant/location.js.map +1 -0
- package/{lib → src}/constant/nationality.d.ts +0 -0
- package/{lib → src}/constant/nationality.js +2 -0
- package/src/constant/nationality.js.map +1 -0
- package/{lib → src}/constant/sale.d.ts +0 -0
- package/{lib → src}/constant/sale.js +2 -0
- package/src/constant/sale.js.map +1 -0
- package/{lib → src}/constant/school.d.ts +0 -0
- package/{lib → src}/constant/school.js +2 -0
- package/src/constant/school.js.map +1 -0
- package/{lib → src}/constant/student-service.d.ts +0 -0
- package/{lib → src}/constant/student-service.js +2 -0
- package/src/constant/student-service.js.map +1 -0
- package/{lib → src}/constant/subject.d.ts +0 -0
- package/{lib → src}/constant/subject.js +2 -0
- package/src/constant/subject.js.map +1 -0
- package/{lib → src}/constant/university-preference.d.ts +0 -0
- package/{lib → src}/constant/university-preference.js +2 -0
- package/src/constant/university-preference.js.map +1 -0
- package/{lib → src}/constant/user.d.ts +1 -0
- package/src/constant/user.js +16 -0
- package/src/constant/user.js.map +1 -0
- package/{lib → src}/constants.d.ts +1 -1
- package/src/constants.js +66 -0
- package/src/constants.js.map +1 -0
- package/{lib → src}/enums.d.ts +0 -0
- package/src/enums.js +54 -0
- package/src/enums.js.map +1 -0
- package/{lib → src}/index.d.ts +0 -0
- package/{lib → src}/index.js +4 -0
- package/src/index.js.map +1 -0
- package/{lib → src}/model/access-token.d.ts +0 -0
- package/{lib → src}/model/access-token.js +12 -10
- package/src/model/access-token.js.map +1 -0
- package/{lib → src}/model/answer-key.d.ts +0 -0
- package/{lib → src}/model/answer-key.js +8 -6
- package/src/model/answer-key.js.map +1 -0
- package/{lib → src}/model/case-study.d.ts +0 -0
- package/{lib → src}/model/case-study.js +7 -5
- package/src/model/case-study.js.map +1 -0
- package/{lib → src}/model/conversion-table.d.ts +0 -0
- package/{lib → src}/model/conversion-table.js +12 -10
- package/src/model/conversion-table.js.map +1 -0
- package/{lib → src}/model/course-template-event.d.ts +0 -0
- package/{lib → src}/model/course-template-event.js +12 -10
- package/src/model/course-template-event.js.map +1 -0
- package/{lib → src}/model/course-template.d.ts +0 -0
- package/{lib → src}/model/course-template.js +13 -11
- package/src/model/course-template.js.map +1 -0
- package/{lib → src}/model/dimension.d.ts +0 -0
- package/{lib → src}/model/dimension.js +10 -8
- package/src/model/dimension.js.map +1 -0
- package/{lib → src}/model/education-system.d.ts +0 -0
- package/{lib → src}/model/education-system.js +5 -3
- package/src/model/education-system.js.map +1 -0
- package/{lib → src}/model/event-log.d.ts +0 -0
- package/{lib → src}/model/event-log.js +12 -10
- package/src/model/event-log.js.map +1 -0
- package/{lib → src}/model/event-to-user.d.ts +0 -0
- package/{lib → src}/model/event-to-user.js +8 -6
- package/src/model/event-to-user.js.map +1 -0
- package/{lib → src}/model/event.d.ts +0 -0
- package/{lib → src}/model/event.js +26 -24
- package/src/model/event.js.map +1 -0
- package/{lib → src}/model/extracurricular-activity.d.ts +0 -0
- package/{lib → src}/model/extracurricular-activity.js +16 -14
- package/src/model/extracurricular-activity.js.map +1 -0
- package/{lib → src}/model/file-access.d.ts +0 -0
- package/{lib → src}/model/file-access.js +12 -10
- package/src/model/file-access.js.map +1 -0
- package/{lib → src}/model/file-category.d.ts +0 -0
- package/{lib → src}/model/file-category.js +8 -6
- package/src/model/file-category.js.map +1 -0
- package/{lib → src}/model/file.d.ts +0 -0
- package/{lib → src}/model/file.js +22 -20
- package/src/model/file.js.map +1 -0
- package/{lib → src}/model/guardian.d.ts +0 -0
- package/{lib → src}/model/guardian.js +16 -14
- package/src/model/guardian.js.map +1 -0
- package/{lib → src}/model/high-school-record.d.ts +0 -0
- package/{lib → src}/model/high-school-record.js +17 -15
- package/src/model/high-school-record.js.map +1 -0
- package/{lib → src}/model/journey-stage.d.ts +0 -0
- package/{lib → src}/model/journey-stage.js +10 -8
- package/src/model/journey-stage.js.map +1 -0
- package/{lib → src}/model/journey-to-student.d.ts +0 -0
- package/{lib → src}/model/journey-to-student.js +10 -8
- package/src/model/journey-to-student.js.map +1 -0
- package/{lib → src}/model/journey.d.ts +0 -0
- package/{lib → src}/model/journey.js +11 -9
- package/src/model/journey.js.map +1 -0
- package/{lib → src}/model/lead-assignment.d.ts +0 -0
- package/{lib → src}/model/lead-assignment.js +10 -8
- package/src/model/lead-assignment.js.map +1 -0
- package/{lib → src}/model/lead-form-field.d.ts +0 -0
- package/{lib → src}/model/lead-form-field.js +13 -11
- package/src/model/lead-form-field.js.map +1 -0
- package/{lib → src}/model/lead-form.d.ts +0 -0
- package/{lib → src}/model/lead-form.js +16 -14
- package/src/model/lead-form.js.map +1 -0
- package/{lib → src}/model/lead-queue.d.ts +0 -0
- package/{lib → src}/model/lead-queue.js +7 -5
- package/src/model/lead-queue.js.map +1 -0
- package/{lib → src}/model/lead.d.ts +0 -0
- package/{lib → src}/model/lead.js +37 -35
- package/src/model/lead.js.map +1 -0
- package/{lib → src}/model/log.d.ts +0 -0
- package/{lib → src}/model/log.js +13 -11
- package/src/model/log.js.map +1 -0
- package/{lib → src}/model/part-time-assignment.d.ts +0 -0
- package/{lib → src}/model/part-time-assignment.js +7 -5
- package/src/model/part-time-assignment.js.map +1 -0
- package/{lib → src}/model/pd-pipeline.d.ts +0 -0
- package/{lib → src}/model/pd-pipeline.js +8 -6
- package/src/model/pd-pipeline.js.map +1 -0
- package/{lib → src}/model/pd-user.d.ts +0 -0
- package/{lib → src}/model/pd-user.js +9 -7
- package/src/model/pd-user.js.map +1 -0
- package/{lib → src}/model/profile.d.ts +0 -0
- package/{lib → src}/model/profile.js +32 -30
- package/src/model/profile.js.map +1 -0
- package/{lib → src}/model/pup-lead.d.ts +0 -0
- package/{lib → src}/model/pup-lead.js +18 -16
- package/src/model/pup-lead.js.map +1 -0
- package/{lib → src}/model/sale-split.d.ts +0 -0
- package/{lib → src}/model/sale-split.js +8 -6
- package/src/model/sale-split.js.map +1 -0
- package/{lib → src}/model/sale.d.ts +0 -0
- package/{lib → src}/model/sale.js +37 -35
- package/src/model/sale.js.map +1 -0
- package/{lib → src}/model/school.d.ts +0 -0
- package/{lib → src}/model/school.js +8 -6
- package/src/model/school.js.map +1 -0
- package/{lib → src}/model/staff-hour-log.d.ts +0 -0
- package/{lib → src}/model/staff-hour-log.js +15 -13
- package/src/model/staff-hour-log.js.map +1 -0
- package/{lib → src}/model/staff-hour.d.ts +0 -0
- package/{lib → src}/model/staff-hour.js +200 -198
- package/src/model/staff-hour.js.map +1 -0
- package/{lib → src}/model/staff-subject-tag.d.ts +0 -0
- package/{lib → src}/model/staff-subject-tag.js +9 -7
- package/src/model/staff-subject-tag.js.map +1 -0
- package/{lib → src}/model/student-answer.d.ts +0 -0
- package/{lib → src}/model/student-answer.js +14 -12
- package/src/model/student-answer.js.map +1 -0
- package/{lib → src}/model/student-extra.d.ts +0 -0
- package/{lib → src}/model/student-extra.js +18 -16
- package/src/model/student-extra.js.map +1 -0
- package/{lib → src}/model/student-goal.d.ts +0 -0
- package/{lib → src}/model/student-goal.js +12 -10
- package/src/model/student-goal.js.map +1 -0
- package/{lib → src}/model/student-note-checklist-item.d.ts +0 -0
- package/{lib → src}/model/student-note-checklist-item.js +9 -7
- package/src/model/student-note-checklist-item.js.map +1 -0
- package/{lib → src}/model/student-note.d.ts +0 -0
- package/{lib → src}/model/student-note.js +24 -22
- package/src/model/student-note.js.map +1 -0
- package/{lib → src}/model/student-service-membership-log.d.ts +0 -0
- package/{lib → src}/model/student-service-membership-log.js +15 -13
- package/src/model/student-service-membership-log.js.map +1 -0
- package/{lib → src}/model/student-service-membership.d.ts +0 -0
- package/{lib → src}/model/student-service-membership.js +24 -22
- package/src/model/student-service-membership.js.map +1 -0
- package/{lib → src}/model/student-service.d.ts +0 -0
- package/{lib → src}/model/student-service.js +14 -12
- package/src/model/student-service.js.map +1 -0
- package/{lib → src}/model/student-target.d.ts +0 -0
- package/{lib → src}/model/student-target.js +19 -17
- package/src/model/student-target.js.map +1 -0
- package/{lib → src}/model/test-attempt.d.ts +0 -0
- package/{lib → src}/model/test-attempt.js +23 -21
- package/src/model/test-attempt.js.map +1 -0
- package/{lib → src}/model/test-category.d.ts +0 -0
- package/{lib → src}/model/test-category.js +9 -7
- package/src/model/test-category.js.map +1 -0
- package/{lib → src}/model/test-question.d.ts +0 -0
- package/{lib → src}/model/test-question.js +18 -16
- package/src/model/test-question.js.map +1 -0
- package/{lib → src}/model/test-report.d.ts +0 -0
- package/{lib → src}/model/test-report.js +2 -0
- package/src/model/test-report.js.map +1 -0
- package/{lib → src}/model/test-score.d.ts +0 -0
- package/{lib → src}/model/test-score.js +13 -11
- package/src/model/test-score.js.map +1 -0
- package/{lib → src}/model/test-section.d.ts +0 -0
- package/{lib → src}/model/test-section.js +11 -9
- package/src/model/test-section.js.map +1 -0
- package/{lib → src}/model/test.d.ts +0 -0
- package/{lib → src}/model/test.js +15 -13
- package/src/model/test.js.map +1 -0
- package/{lib → src}/model/university-preference.d.ts +0 -0
- package/{lib → src}/model/university-preference.js +16 -14
- package/src/model/university-preference.js.map +1 -0
- package/{lib → src}/model/user-preference.d.ts +0 -0
- package/{lib → src}/model/user-preference.js +10 -8
- package/src/model/user-preference.js.map +1 -0
- package/{lib → src}/model/user-to-guardian.d.ts +0 -0
- package/{lib → src}/model/user-to-guardian.js +12 -10
- package/src/model/user-to-guardian.js.map +1 -0
- package/{lib → src}/model/user.d.ts +3 -1
- package/{lib → src}/model/user.js +45 -41
- package/src/model/user.js.map +1 -0
- package/{lib → src}/model/zoom-info.d.ts +0 -0
- package/{lib → src}/model/zoom-info.js +9 -7
- package/src/model/zoom-info.js.map +1 -0
- package/{lib → src}/models.d.ts +0 -0
- package/src/models.js +130 -0
- package/src/models.js.map +1 -0
- package/lib/constant/user.js +0 -3
- package/lib/constants.js +0 -63
- package/lib/enums.js +0 -52
- package/lib/models.js +0 -127
|
@@ -1,47 +1,49 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccessToken = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const typeorm_1 = require("typeorm");
|
|
5
6
|
const user_1 = require("./user");
|
|
6
7
|
let AccessToken = class AccessToken {
|
|
7
8
|
};
|
|
8
9
|
tslib_1.__decorate([
|
|
9
|
-
typeorm_1.PrimaryColumn({ type: 'char', length: 36 }),
|
|
10
|
+
(0, typeorm_1.PrimaryColumn)({ type: 'char', length: 36 }),
|
|
10
11
|
tslib_1.__metadata("design:type", String)
|
|
11
12
|
], AccessToken.prototype, "jti", void 0);
|
|
12
13
|
tslib_1.__decorate([
|
|
13
|
-
typeorm_1.Column({ type: 'text' }),
|
|
14
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
14
15
|
tslib_1.__metadata("design:type", String)
|
|
15
16
|
], AccessToken.prototype, "token", void 0);
|
|
16
17
|
tslib_1.__decorate([
|
|
17
|
-
typeorm_1.Column({ type: 'text' }),
|
|
18
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
18
19
|
tslib_1.__metadata("design:type", String)
|
|
19
20
|
], AccessToken.prototype, "userAgent", void 0);
|
|
20
21
|
tslib_1.__decorate([
|
|
21
|
-
typeorm_1.Column({ type: 'boolean', default: false }),
|
|
22
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
22
23
|
tslib_1.__metadata("design:type", Boolean)
|
|
23
24
|
], AccessToken.prototype, "revoked", void 0);
|
|
24
25
|
tslib_1.__decorate([
|
|
25
|
-
typeorm_1.Column({ type: 'datetime' }),
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'datetime' }),
|
|
26
27
|
tslib_1.__metadata("design:type", Date)
|
|
27
28
|
], AccessToken.prototype, "exp", void 0);
|
|
28
29
|
tslib_1.__decorate([
|
|
29
|
-
typeorm_1.CreateDateColumn(),
|
|
30
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
30
31
|
tslib_1.__metadata("design:type", Date)
|
|
31
32
|
], AccessToken.prototype, "createdAt", void 0);
|
|
32
33
|
tslib_1.__decorate([
|
|
33
|
-
typeorm_1.UpdateDateColumn(),
|
|
34
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
34
35
|
tslib_1.__metadata("design:type", Date)
|
|
35
36
|
], AccessToken.prototype, "updatedAt", void 0);
|
|
36
37
|
tslib_1.__decorate([
|
|
37
|
-
typeorm_1.Column({ type: 'int' }),
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
38
39
|
tslib_1.__metadata("design:type", Number)
|
|
39
40
|
], AccessToken.prototype, "userId", void 0);
|
|
40
41
|
tslib_1.__decorate([
|
|
41
|
-
typeorm_1.ManyToOne(
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User, (user) => user.accessTokens),
|
|
42
43
|
tslib_1.__metadata("design:type", user_1.User)
|
|
43
44
|
], AccessToken.prototype, "user", void 0);
|
|
44
45
|
AccessToken = tslib_1.__decorate([
|
|
45
|
-
typeorm_1.Entity({ name: 'access_tokens' })
|
|
46
|
+
(0, typeorm_1.Entity)({ name: 'access_tokens' })
|
|
46
47
|
], AccessToken);
|
|
47
48
|
exports.AccessToken = AccessToken;
|
|
49
|
+
//# sourceMappingURL=access-token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access-token.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/access-token.ts"],"names":[],"mappings":";;;;AAAA,qCAOiB;AAEjB,iCAA8B;AAGvB,IAAM,WAAW,GAAjB,MAAM,WAAW;CA2BvB,CAAA;AA1BC;IAAC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;wCAChC;AAEZ;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;0CACX;AAEd;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;8CACP;AAElB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;4CAC3B;AAEjB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;sCACxB,IAAI;wCAAC;AAEV;IAAC,IAAA,0BAAgB,GAAE;sCACR,IAAI;8CAAC;AAEhB;IAAC,IAAA,0BAAgB,GAAE;sCACR,IAAI;8CAAC;AAEhB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;2CACT;AAEf;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;sCAC7C,WAAI;yCAAC;AA1BA,WAAW;IADvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;GACrB,WAAW,CA2BvB;AA3BY,kCAAW"}
|
|
File without changes
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AnswerKey = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const typeorm_1 = require("typeorm");
|
|
5
6
|
const test_question_1 = require("./test-question");
|
|
6
7
|
let AnswerKey = class AnswerKey {
|
|
7
8
|
};
|
|
8
9
|
tslib_1.__decorate([
|
|
9
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
10
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
10
11
|
tslib_1.__metadata("design:type", Number)
|
|
11
12
|
], AnswerKey.prototype, "id", void 0);
|
|
12
13
|
tslib_1.__decorate([
|
|
13
|
-
typeorm_1.Column({ type: 'varchar', length: 128 }),
|
|
14
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128 }),
|
|
14
15
|
tslib_1.__metadata("design:type", String)
|
|
15
16
|
], AnswerKey.prototype, "key", void 0);
|
|
16
17
|
tslib_1.__decorate([
|
|
17
|
-
typeorm_1.Column({ type: 'int' }),
|
|
18
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
18
19
|
tslib_1.__metadata("design:type", Number)
|
|
19
20
|
], AnswerKey.prototype, "testQuestionId", void 0);
|
|
20
21
|
tslib_1.__decorate([
|
|
21
|
-
typeorm_1.ManyToOne(
|
|
22
|
-
typeorm_1.JoinColumn(),
|
|
22
|
+
(0, typeorm_1.ManyToOne)(() => test_question_1.TestQuestion, (testQuestion) => testQuestion.answerKeys),
|
|
23
|
+
(0, typeorm_1.JoinColumn)(),
|
|
23
24
|
tslib_1.__metadata("design:type", test_question_1.TestQuestion)
|
|
24
25
|
], AnswerKey.prototype, "testQuestion", void 0);
|
|
25
26
|
AnswerKey = tslib_1.__decorate([
|
|
26
|
-
typeorm_1.Entity({ name: 'answer_keys' })
|
|
27
|
+
(0, typeorm_1.Entity)({ name: 'answer_keys' })
|
|
27
28
|
], AnswerKey);
|
|
28
29
|
exports.AnswerKey = AnswerKey;
|
|
30
|
+
//# sourceMappingURL=answer-key.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"answer-key.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/answer-key.ts"],"names":[],"mappings":";;;;AAAA,qCAAwF;AAExF,mDAA+C;AAGxC,IAAM,SAAS,GAAf,MAAM,SAAS;CAarB,CAAA;AAZC;IAAC,IAAA,gCAAsB,GAAE;;qCACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;sCAC7B;AAEZ;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;iDACD;AAEvB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4BAAY,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC;IACxE,IAAA,oBAAU,GAAE;sCACC,4BAAY;+CAAC;AAZhB,SAAS;IADrB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;GACnB,SAAS,CAarB;AAbY,8BAAS"}
|
|
File without changes
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CaseStudy = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const typeorm_1 = require("typeorm");
|
|
5
6
|
const test_question_1 = require("./test-question");
|
|
6
7
|
let CaseStudy = class CaseStudy {
|
|
7
8
|
};
|
|
8
9
|
tslib_1.__decorate([
|
|
9
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
10
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
10
11
|
tslib_1.__metadata("design:type", Number)
|
|
11
12
|
], CaseStudy.prototype, "id", void 0);
|
|
12
13
|
tslib_1.__decorate([
|
|
13
|
-
typeorm_1.Column({ type: 'varchar', length: 128 }),
|
|
14
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128 }),
|
|
14
15
|
tslib_1.__metadata("design:type", String)
|
|
15
16
|
], CaseStudy.prototype, "name", void 0);
|
|
16
17
|
tslib_1.__decorate([
|
|
17
|
-
typeorm_1.Column({ type: 'text' }),
|
|
18
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
18
19
|
tslib_1.__metadata("design:type", String)
|
|
19
20
|
], CaseStudy.prototype, "content", void 0);
|
|
20
21
|
tslib_1.__decorate([
|
|
21
|
-
typeorm_1.OneToMany(
|
|
22
|
+
(0, typeorm_1.OneToMany)(() => test_question_1.TestQuestion, (testQuestion) => testQuestion.caseStudy),
|
|
22
23
|
tslib_1.__metadata("design:type", Array)
|
|
23
24
|
], CaseStudy.prototype, "testQuestions", void 0);
|
|
24
25
|
CaseStudy = tslib_1.__decorate([
|
|
25
|
-
typeorm_1.Entity({ name: 'case_studies' })
|
|
26
|
+
(0, typeorm_1.Entity)({ name: 'case_studies' })
|
|
26
27
|
], CaseStudy);
|
|
27
28
|
exports.CaseStudy = CaseStudy;
|
|
29
|
+
//# sourceMappingURL=case-study.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-study.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/case-study.ts"],"names":[],"mappings":";;;;AAAA,qCAA4E;AAE5E,mDAA+C;AAGxC,IAAM,SAAS,GAAf,MAAM,SAAS;CAYrB,CAAA;AAXC;IAAC,IAAA,gCAAsB,GAAE;;qCACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;uCAC5B;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;0CACT;AAEhB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4BAAY,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC;;gDAC1C;AAXnB,SAAS;IADrB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;GACpB,SAAS,CAYrB;AAZY,8BAAS"}
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConversionTable = exports.CONVERSION_TABLE_TYPE = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const typeorm_1 = require("typeorm");
|
|
5
6
|
const dimension_1 = require("./dimension");
|
|
@@ -22,36 +23,37 @@ var CONVERSION_TABLE_TYPE;
|
|
|
22
23
|
let ConversionTable = class ConversionTable {
|
|
23
24
|
};
|
|
24
25
|
tslib_1.__decorate([
|
|
25
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
26
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
26
27
|
tslib_1.__metadata("design:type", Number)
|
|
27
28
|
], ConversionTable.prototype, "id", void 0);
|
|
28
29
|
tslib_1.__decorate([
|
|
29
|
-
typeorm_1.Column({ type: 'text' }),
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
30
31
|
tslib_1.__metadata("design:type", String)
|
|
31
32
|
], ConversionTable.prototype, "values", void 0);
|
|
32
33
|
tslib_1.__decorate([
|
|
33
|
-
typeorm_1.Column({ type: 'int' }),
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
34
35
|
tslib_1.__metadata("design:type", Number)
|
|
35
36
|
], ConversionTable.prototype, "type", void 0);
|
|
36
37
|
tslib_1.__decorate([
|
|
37
|
-
typeorm_1.Column({ type: 'int' }),
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
38
39
|
tslib_1.__metadata("design:type", Number)
|
|
39
40
|
], ConversionTable.prototype, "testId", void 0);
|
|
40
41
|
tslib_1.__decorate([
|
|
41
|
-
typeorm_1.Column({ type: 'int' }),
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
42
43
|
tslib_1.__metadata("design:type", Number)
|
|
43
44
|
], ConversionTable.prototype, "dimensionId", void 0);
|
|
44
45
|
tslib_1.__decorate([
|
|
45
|
-
typeorm_1.ManyToOne(
|
|
46
|
-
typeorm_1.JoinColumn(),
|
|
46
|
+
(0, typeorm_1.ManyToOne)(() => test_1.Test, (test) => test.conversionTables),
|
|
47
|
+
(0, typeorm_1.JoinColumn)(),
|
|
47
48
|
tslib_1.__metadata("design:type", test_1.Test)
|
|
48
49
|
], ConversionTable.prototype, "test", void 0);
|
|
49
50
|
tslib_1.__decorate([
|
|
50
|
-
typeorm_1.ManyToOne(
|
|
51
|
-
typeorm_1.JoinColumn(),
|
|
51
|
+
(0, typeorm_1.ManyToOne)(() => dimension_1.Dimension, (dimension) => dimension.conversionTables),
|
|
52
|
+
(0, typeorm_1.JoinColumn)(),
|
|
52
53
|
tslib_1.__metadata("design:type", dimension_1.Dimension)
|
|
53
54
|
], ConversionTable.prototype, "dimension", void 0);
|
|
54
55
|
ConversionTable = tslib_1.__decorate([
|
|
55
|
-
typeorm_1.Entity({ name: 'conversion_tables' })
|
|
56
|
+
(0, typeorm_1.Entity)({ name: 'conversion_tables' })
|
|
56
57
|
], ConversionTable);
|
|
57
58
|
exports.ConversionTable = ConversionTable;
|
|
59
|
+
//# sourceMappingURL=conversion-table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversion-table.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/conversion-table.ts"],"names":[],"mappings":";;;;AAAA,qCAAwF;AAExF,2CAAwC;AACxC,iCAA8B;AAE9B,IAAY,qBAaX;AAbD,WAAY,qBAAqB;IAC/B,iEAAQ,CAAA;IACR,uEAAO,CAAA;IACP,uEAAO,CAAA;IACP,2EAAS,CAAA;IACT,uEAAO,CAAA;IACP,uEAAO,CAAA;IACP,qEAAM,CAAA;IACN,mEAAK,CAAA;IACL,mEAAK,CAAA;IACL,0EAAQ,CAAA;IACR,0EAAQ,CAAA;IACR,0EAAQ,CAAA;AACV,CAAC,EAbW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAahC;AAGM,IAAM,eAAe,GAArB,MAAM,eAAe;CAuB3B,CAAA;AAtBC;IAAC,IAAA,gCAAsB,GAAE;;2CACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;+CACV;AAEf;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;6CACI;AAE5B;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;+CACT;AAEf;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;oDACJ;AAEpB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC;IACtD,IAAA,oBAAU,GAAE;sCACP,WAAI;6CAAC;AAEX;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qBAAS,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,gBAAgB,CAAC;IACrE,IAAA,oBAAU,GAAE;sCACF,qBAAS;kDAAC;AAtBV,eAAe;IAD3B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;GACzB,eAAe,CAuB3B;AAvBY,0CAAe"}
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CourseTemplateEvent = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const typeorm_1 = require("typeorm");
|
|
5
6
|
const event_1 = require("./event");
|
|
@@ -7,39 +8,40 @@ const course_template_1 = require("./course-template");
|
|
|
7
8
|
let CourseTemplateEvent = class CourseTemplateEvent {
|
|
8
9
|
};
|
|
9
10
|
tslib_1.__decorate([
|
|
10
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
11
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
11
12
|
tslib_1.__metadata("design:type", Number)
|
|
12
13
|
], CourseTemplateEvent.prototype, "id", void 0);
|
|
13
14
|
tslib_1.__decorate([
|
|
14
|
-
typeorm_1.Column({ type: 'varchar', length: 128 }),
|
|
15
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128 }),
|
|
15
16
|
tslib_1.__metadata("design:type", String)
|
|
16
17
|
], CourseTemplateEvent.prototype, "name", void 0);
|
|
17
18
|
tslib_1.__decorate([
|
|
18
|
-
typeorm_1.Column({ type: 'text' }),
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
19
20
|
tslib_1.__metadata("design:type", String)
|
|
20
21
|
], CourseTemplateEvent.prototype, "description", void 0);
|
|
21
22
|
tslib_1.__decorate([
|
|
22
|
-
typeorm_1.Column({ type: 'double' }),
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'double' }),
|
|
23
24
|
tslib_1.__metadata("design:type", Number)
|
|
24
25
|
], CourseTemplateEvent.prototype, "duration", void 0);
|
|
25
26
|
tslib_1.__decorate([
|
|
26
|
-
typeorm_1.Column({ type: 'int' }),
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
27
28
|
tslib_1.__metadata("design:type", Number)
|
|
28
29
|
], CourseTemplateEvent.prototype, "category", void 0);
|
|
29
30
|
tslib_1.__decorate([
|
|
30
|
-
typeorm_1.Column({ type: 'int' }),
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
31
32
|
tslib_1.__metadata("design:type", Number)
|
|
32
33
|
], CourseTemplateEvent.prototype, "visibility", void 0);
|
|
33
34
|
tslib_1.__decorate([
|
|
34
|
-
typeorm_1.Column({ type: 'int' }),
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
35
36
|
tslib_1.__metadata("design:type", Number)
|
|
36
37
|
], CourseTemplateEvent.prototype, "courseTemplateId", void 0);
|
|
37
38
|
tslib_1.__decorate([
|
|
38
|
-
typeorm_1.ManyToOne(
|
|
39
|
-
typeorm_1.JoinColumn(),
|
|
39
|
+
(0, typeorm_1.ManyToOne)(() => course_template_1.CourseTemplate, (course) => course.courseTemplateEvents),
|
|
40
|
+
(0, typeorm_1.JoinColumn)(),
|
|
40
41
|
tslib_1.__metadata("design:type", course_template_1.CourseTemplate)
|
|
41
42
|
], CourseTemplateEvent.prototype, "courseTemplate", void 0);
|
|
42
43
|
CourseTemplateEvent = tslib_1.__decorate([
|
|
43
|
-
typeorm_1.Entity({ name: 'course_template_events' })
|
|
44
|
+
(0, typeorm_1.Entity)({ name: 'course_template_events' })
|
|
44
45
|
], CourseTemplateEvent);
|
|
45
46
|
exports.CourseTemplateEvent = CourseTemplateEvent;
|
|
47
|
+
//# sourceMappingURL=course-template-event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-template-event.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/course-template-event.ts"],"names":[],"mappings":";;;;AAAA,qCAAwF;AAExF,mCAA2D;AAC3D,uDAAmD;AAG5C,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAyB/B,CAAA;AAxBC;IAAC,IAAA,gCAAsB,GAAE;;+CACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;iDAC5B;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACL;AAEpB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;qDACV;AAEjB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;qDACC;AAEzB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;uDACK;AAE7B;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;6DACC;AAEzB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gCAAc,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,oBAAoB,CAAC;IACxE,IAAA,oBAAU,GAAE;sCACG,gCAAc;2DAAC;AAxBpB,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC;GAC9B,mBAAmB,CAyB/B;AAzBY,kDAAmB"}
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CourseTemplate = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const typeorm_1 = require("typeorm");
|
|
5
6
|
const course_template_event_1 = require("./course-template-event");
|
|
@@ -8,43 +9,44 @@ const student_service_1 = require("./student-service");
|
|
|
8
9
|
let CourseTemplate = class CourseTemplate {
|
|
9
10
|
};
|
|
10
11
|
tslib_1.__decorate([
|
|
11
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
12
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
12
13
|
tslib_1.__metadata("design:type", Number)
|
|
13
14
|
], CourseTemplate.prototype, "id", void 0);
|
|
14
15
|
tslib_1.__decorate([
|
|
15
|
-
typeorm_1.Column({ type: 'varchar', length: 128, unique: true }),
|
|
16
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128, unique: true }),
|
|
16
17
|
tslib_1.__metadata("design:type", String)
|
|
17
18
|
], CourseTemplate.prototype, "name", void 0);
|
|
18
19
|
tslib_1.__decorate([
|
|
19
|
-
typeorm_1.Column({ type: 'text' }),
|
|
20
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
20
21
|
tslib_1.__metadata("design:type", String)
|
|
21
22
|
], CourseTemplate.prototype, "description", void 0);
|
|
22
23
|
tslib_1.__decorate([
|
|
23
|
-
typeorm_1.Column({ type: 'int' }),
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
24
25
|
tslib_1.__metadata("design:type", Number)
|
|
25
26
|
], CourseTemplate.prototype, "service", void 0);
|
|
26
27
|
tslib_1.__decorate([
|
|
27
|
-
typeorm_1.CreateDateColumn(),
|
|
28
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
28
29
|
tslib_1.__metadata("design:type", Date)
|
|
29
30
|
], CourseTemplate.prototype, "createdAt", void 0);
|
|
30
31
|
tslib_1.__decorate([
|
|
31
|
-
typeorm_1.Column({ type: 'datetime', nullable: true }),
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
|
|
32
33
|
tslib_1.__metadata("design:type", Date)
|
|
33
34
|
], CourseTemplate.prototype, "updatedAt", void 0);
|
|
34
35
|
tslib_1.__decorate([
|
|
35
|
-
typeorm_1.Column({ type: 'int' }),
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
36
37
|
tslib_1.__metadata("design:type", Number)
|
|
37
38
|
], CourseTemplate.prototype, "createdBy", void 0);
|
|
38
39
|
tslib_1.__decorate([
|
|
39
|
-
typeorm_1.ManyToOne(
|
|
40
|
-
typeorm_1.JoinColumn({ name: 'createdBy' }),
|
|
40
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User),
|
|
41
|
+
(0, typeorm_1.JoinColumn)({ name: 'createdBy' }),
|
|
41
42
|
tslib_1.__metadata("design:type", user_1.User)
|
|
42
43
|
], CourseTemplate.prototype, "creator", void 0);
|
|
43
44
|
tslib_1.__decorate([
|
|
44
|
-
typeorm_1.OneToMany(
|
|
45
|
+
(0, typeorm_1.OneToMany)(() => course_template_event_1.CourseTemplateEvent, (event) => event.courseTemplate),
|
|
45
46
|
tslib_1.__metadata("design:type", Array)
|
|
46
47
|
], CourseTemplate.prototype, "courseTemplateEvents", void 0);
|
|
47
48
|
CourseTemplate = tslib_1.__decorate([
|
|
48
|
-
typeorm_1.Entity({ name: 'course_templates' })
|
|
49
|
+
(0, typeorm_1.Entity)({ name: 'course_templates' })
|
|
49
50
|
], CourseTemplate);
|
|
50
51
|
exports.CourseTemplate = CourseTemplate;
|
|
52
|
+
//# sourceMappingURL=course-template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-template.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/course-template.ts"],"names":[],"mappings":";;;;AAAA,qCAQiB;AAEjB,mEAA8D;AAC9D,iCAA8B;AAC9B,uDAAoD;AAG7C,IAAM,cAAc,GAApB,MAAM,cAAc;CA4B1B,CAAA;AA3BC;IAAC,IAAA,gCAAsB,GAAE;;0CACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;4CAC1C;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;mDACL;AAEpB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;+CACC;AAEzB;IAAC,IAAA,0BAAgB,GAAE;sCACR,IAAI;iDAAC;AAEhB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCAClC,IAAI;iDAAC;AAEhB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;iDACN;AAElB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;IACrB,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;sCACzB,WAAI;+CAAC;AAEd;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAmB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC;;4DAC1B;AA3BjC,cAAc;IAD1B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;GACxB,cAAc,CA4B1B;AA5BY,wCAAc"}
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Dimension = exports.DIMENSION_CATEGORY = exports.DIMENSION_TYPE = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const typeorm_1 = require("typeorm");
|
|
5
6
|
const conversion_table_1 = require("./conversion-table");
|
|
@@ -18,34 +19,35 @@ var DIMENSION_CATEGORY;
|
|
|
18
19
|
let Dimension = class Dimension {
|
|
19
20
|
};
|
|
20
21
|
tslib_1.__decorate([
|
|
21
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
22
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
22
23
|
tslib_1.__metadata("design:type", Number)
|
|
23
24
|
], Dimension.prototype, "id", void 0);
|
|
24
25
|
tslib_1.__decorate([
|
|
25
|
-
typeorm_1.Column({ type: 'varchar', length: 128 }),
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128 }),
|
|
26
27
|
tslib_1.__metadata("design:type", String)
|
|
27
28
|
], Dimension.prototype, "name", void 0);
|
|
28
29
|
tslib_1.__decorate([
|
|
29
|
-
typeorm_1.Column({ type: 'varchar', length: 128, unique: true }),
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128, unique: true }),
|
|
30
31
|
tslib_1.__metadata("design:type", String)
|
|
31
32
|
], Dimension.prototype, "code", void 0);
|
|
32
33
|
tslib_1.__decorate([
|
|
33
|
-
typeorm_1.Column({ type: 'int' }),
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
34
35
|
tslib_1.__metadata("design:type", Number)
|
|
35
36
|
], Dimension.prototype, "type", void 0);
|
|
36
37
|
tslib_1.__decorate([
|
|
37
|
-
typeorm_1.Column({ type: 'int' }),
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
38
39
|
tslib_1.__metadata("design:type", Number)
|
|
39
40
|
], Dimension.prototype, "category", void 0);
|
|
40
41
|
tslib_1.__decorate([
|
|
41
|
-
typeorm_1.ManyToMany(
|
|
42
|
+
(0, typeorm_1.ManyToMany)(() => test_question_1.TestQuestion, (testQuestion) => testQuestion.dimensions),
|
|
42
43
|
tslib_1.__metadata("design:type", Array)
|
|
43
44
|
], Dimension.prototype, "testQuestions", void 0);
|
|
44
45
|
tslib_1.__decorate([
|
|
45
|
-
typeorm_1.OneToMany(
|
|
46
|
+
(0, typeorm_1.OneToMany)(() => conversion_table_1.ConversionTable, (conversionTable) => conversionTable.dimension),
|
|
46
47
|
tslib_1.__metadata("design:type", Array)
|
|
47
48
|
], Dimension.prototype, "conversionTables", void 0);
|
|
48
49
|
Dimension = tslib_1.__decorate([
|
|
49
|
-
typeorm_1.Entity({ name: 'dimensions' })
|
|
50
|
+
(0, typeorm_1.Entity)({ name: 'dimensions' })
|
|
50
51
|
], Dimension);
|
|
51
52
|
exports.Dimension = Dimension;
|
|
53
|
+
//# sourceMappingURL=dimension.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dimension.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/dimension.ts"],"names":[],"mappings":";;;;AAAA,qCAAwF;AAExF,yDAAqD;AACrD,mDAA+C;AAE/C,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mDAAQ,CAAA;IACR,iDAAG,CAAA;AACL,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,+DAAU,CAAA;IACV,2EAAY,CAAA;IACZ,6DAAK,CAAA;AACP,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAGM,IAAM,SAAS,GAAf,MAAM,SAAS;CAqBrB,CAAA;AApBC;IAAC,IAAA,gCAAsB,GAAE;;qCACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;uCAC5B;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;uCAC1C;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;uCACH;AAErB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;2CACK;AAE7B;IAAC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,4BAAY,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC;;gDAC5C;AAE9B;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kCAAe,EAAE,CAAC,eAAe,EAAE,EAAE,CAAC,eAAe,CAAC,SAAS,CAAC;;mDAC7C;AApBzB,SAAS;IADrB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;GAClB,SAAS,CAqBrB;AArBY,8BAAS"}
|
|
File without changes
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EducationSystem = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const typeorm_1 = require("typeorm");
|
|
5
6
|
let EducationSystem = class EducationSystem {
|
|
6
7
|
};
|
|
7
8
|
tslib_1.__decorate([
|
|
8
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
9
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
9
10
|
tslib_1.__metadata("design:type", Number)
|
|
10
11
|
], EducationSystem.prototype, "id", void 0);
|
|
11
12
|
tslib_1.__decorate([
|
|
12
|
-
typeorm_1.Column({ type: 'varchar', length: 128, unique: true }),
|
|
13
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128, unique: true }),
|
|
13
14
|
tslib_1.__metadata("design:type", String)
|
|
14
15
|
], EducationSystem.prototype, "name", void 0);
|
|
15
16
|
EducationSystem = tslib_1.__decorate([
|
|
16
|
-
typeorm_1.Entity({ name: 'education_systems' })
|
|
17
|
+
(0, typeorm_1.Entity)({ name: 'education_systems' })
|
|
17
18
|
], EducationSystem);
|
|
18
19
|
exports.EducationSystem = EducationSystem;
|
|
20
|
+
//# sourceMappingURL=education-system.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"education-system.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/education-system.ts"],"names":[],"mappings":";;;;AAAA,qCAAiE;AAG1D,IAAM,eAAe,GAArB,MAAM,eAAe;CAM3B,CAAA;AALC;IAAC,IAAA,gCAAsB,GAAE;;2CACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;6CAC1C;AALF,eAAe;IAD3B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;GACzB,eAAe,CAM3B;AANY,0CAAe"}
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventLog = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const typeorm_1 = require("typeorm");
|
|
5
6
|
const event_1 = require("./event");
|
|
@@ -7,36 +8,37 @@ const user_1 = require("./user");
|
|
|
7
8
|
let EventLog = class EventLog {
|
|
8
9
|
};
|
|
9
10
|
tslib_1.__decorate([
|
|
10
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
11
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
11
12
|
tslib_1.__metadata("design:type", Number)
|
|
12
13
|
], EventLog.prototype, "id", void 0);
|
|
13
14
|
tslib_1.__decorate([
|
|
14
|
-
typeorm_1.Column({ type: 'text' }),
|
|
15
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
15
16
|
tslib_1.__metadata("design:type", String)
|
|
16
17
|
], EventLog.prototype, "payload", void 0);
|
|
17
18
|
tslib_1.__decorate([
|
|
18
|
-
typeorm_1.CreateDateColumn(),
|
|
19
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
19
20
|
tslib_1.__metadata("design:type", Date)
|
|
20
21
|
], EventLog.prototype, "createdAt", void 0);
|
|
21
22
|
tslib_1.__decorate([
|
|
22
|
-
typeorm_1.Column({ type: 'int' }),
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
23
24
|
tslib_1.__metadata("design:type", Number)
|
|
24
25
|
], EventLog.prototype, "eventId", void 0);
|
|
25
26
|
tslib_1.__decorate([
|
|
26
|
-
typeorm_1.ManyToOne(
|
|
27
|
-
typeorm_1.JoinColumn(),
|
|
27
|
+
(0, typeorm_1.ManyToOne)(() => event_1.Event, (event) => event.eventLogs),
|
|
28
|
+
(0, typeorm_1.JoinColumn)(),
|
|
28
29
|
tslib_1.__metadata("design:type", event_1.Event)
|
|
29
30
|
], EventLog.prototype, "event", void 0);
|
|
30
31
|
tslib_1.__decorate([
|
|
31
|
-
typeorm_1.Column({ type: 'int' }),
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
32
33
|
tslib_1.__metadata("design:type", Number)
|
|
33
34
|
], EventLog.prototype, "userId", void 0);
|
|
34
35
|
tslib_1.__decorate([
|
|
35
|
-
typeorm_1.ManyToOne(
|
|
36
|
-
typeorm_1.JoinColumn(),
|
|
36
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User),
|
|
37
|
+
(0, typeorm_1.JoinColumn)(),
|
|
37
38
|
tslib_1.__metadata("design:type", user_1.User)
|
|
38
39
|
], EventLog.prototype, "user", void 0);
|
|
39
40
|
EventLog = tslib_1.__decorate([
|
|
40
|
-
typeorm_1.Entity({ name: 'event_logs' })
|
|
41
|
+
(0, typeorm_1.Entity)({ name: 'event_logs' })
|
|
41
42
|
], EventLog);
|
|
42
43
|
exports.EventLog = EventLog;
|
|
44
|
+
//# sourceMappingURL=event-log.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-log.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/event-log.ts"],"names":[],"mappings":";;;;AAAA,qCAOiB;AAEjB,mCAAgC;AAChC,iCAA8B;AAGvB,IAAM,QAAQ,GAAd,MAAM,QAAQ;CAuBpB,CAAA;AAtBC;IAAC,IAAA,gCAAsB,GAAE;;oCACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACT;AAEhB;IAAC,IAAA,0BAAgB,GAAE;sCACR,IAAI;2CAAC;AAEhB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;yCACR;AAEhB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,aAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;IAClD,IAAA,oBAAU,GAAE;sCACN,aAAK;uCAAC;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;wCACT;AAEf;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;IACrB,IAAA,oBAAU,GAAE;sCACP,WAAI;sCAAC;AAtBA,QAAQ;IADpB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;GAClB,QAAQ,CAuBpB;AAvBY,4BAAQ"}
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventToUser = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const typeorm_1 = require("typeorm");
|
|
5
6
|
const event_1 = require("./event");
|
|
@@ -7,26 +8,27 @@ const user_1 = require("./user");
|
|
|
7
8
|
let EventToUser = class EventToUser {
|
|
8
9
|
};
|
|
9
10
|
tslib_1.__decorate([
|
|
10
|
-
typeorm_1.PrimaryColumn({ type: 'int' }),
|
|
11
|
+
(0, typeorm_1.PrimaryColumn)({ type: 'int' }),
|
|
11
12
|
tslib_1.__metadata("design:type", Number)
|
|
12
13
|
], EventToUser.prototype, "eventId", void 0);
|
|
13
14
|
tslib_1.__decorate([
|
|
14
|
-
typeorm_1.PrimaryColumn({ type: 'int' }),
|
|
15
|
+
(0, typeorm_1.PrimaryColumn)({ type: 'int' }),
|
|
15
16
|
tslib_1.__metadata("design:type", Number)
|
|
16
17
|
], EventToUser.prototype, "userId", void 0);
|
|
17
18
|
tslib_1.__decorate([
|
|
18
|
-
typeorm_1.Column({ type: 'boolean', default: false }),
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
19
20
|
tslib_1.__metadata("design:type", Boolean)
|
|
20
21
|
], EventToUser.prototype, "attended", void 0);
|
|
21
22
|
tslib_1.__decorate([
|
|
22
|
-
typeorm_1.ManyToOne(
|
|
23
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User, (user) => user.events),
|
|
23
24
|
tslib_1.__metadata("design:type", user_1.User)
|
|
24
25
|
], EventToUser.prototype, "user", void 0);
|
|
25
26
|
tslib_1.__decorate([
|
|
26
|
-
typeorm_1.ManyToOne(
|
|
27
|
+
(0, typeorm_1.ManyToOne)(() => event_1.Event, (event) => event.attendees),
|
|
27
28
|
tslib_1.__metadata("design:type", event_1.Event)
|
|
28
29
|
], EventToUser.prototype, "event", void 0);
|
|
29
30
|
EventToUser = tslib_1.__decorate([
|
|
30
|
-
typeorm_1.Entity({ name: 'events_attendees_users' })
|
|
31
|
+
(0, typeorm_1.Entity)({ name: 'events_attendees_users' })
|
|
31
32
|
], EventToUser);
|
|
32
33
|
exports.EventToUser = EventToUser;
|
|
34
|
+
//# sourceMappingURL=event-to-user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-to-user.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/event-to-user.ts"],"names":[],"mappings":";;;;AAAA,qCAAmE;AAEnE,mCAAgC;AAChC,iCAA8B;AAGvB,IAAM,WAAW,GAAjB,MAAM,WAAW;CAevB,CAAA;AAdC;IAAC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;4CACd;AAEjB;IAAC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;2CACf;AAEhB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CAC1B;AAElB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;sCACtC,WAAI;yCAAC;AAEZ;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,aAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;sCAC3C,aAAK;0CAAC;AAdH,WAAW;IADvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC;GAC9B,WAAW,CAevB;AAfY,kCAAW"}
|
|
File without changes
|