@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.
Files changed (240) hide show
  1. package/README.md +4 -0
  2. package/package.json +11 -33
  3. package/{lib → src}/constant/conversion-table.d.ts +0 -0
  4. package/{lib → src}/constant/conversion-table.js +2 -0
  5. package/src/constant/conversion-table.js.map +1 -0
  6. package/{lib → src}/constant/country.d.ts +0 -0
  7. package/{lib → src}/constant/country.js +2 -0
  8. package/src/constant/country.js.map +1 -0
  9. package/{lib → src}/constant/dimension.d.ts +0 -0
  10. package/{lib → src}/constant/dimension.js +2 -0
  11. package/src/constant/dimension.js.map +1 -0
  12. package/{lib → src}/constant/event.d.ts +0 -0
  13. package/{lib → src}/constant/event.js +2 -0
  14. package/src/constant/event.js.map +1 -0
  15. package/{lib → src}/constant/extracurricular-activity.d.ts +0 -0
  16. package/{lib → src}/constant/extracurricular-activity.js +2 -0
  17. package/src/constant/extracurricular-activity.js.map +1 -0
  18. package/{lib → src}/constant/guardian.d.ts +0 -0
  19. package/{lib → src}/constant/guardian.js +2 -0
  20. package/src/constant/guardian.js.map +1 -0
  21. package/{lib → src}/constant/lead-form.d.ts +0 -0
  22. package/{lib → src}/constant/lead-form.js +2 -0
  23. package/src/constant/lead-form.js.map +1 -0
  24. package/{lib → src}/constant/lead.d.ts +0 -0
  25. package/{lib → src}/constant/lead.js +2 -0
  26. package/src/constant/lead.js.map +1 -0
  27. package/{lib → src}/constant/location.d.ts +0 -0
  28. package/{lib → src}/constant/location.js +2 -0
  29. package/src/constant/location.js.map +1 -0
  30. package/{lib → src}/constant/nationality.d.ts +0 -0
  31. package/{lib → src}/constant/nationality.js +2 -0
  32. package/src/constant/nationality.js.map +1 -0
  33. package/{lib → src}/constant/sale.d.ts +0 -0
  34. package/{lib → src}/constant/sale.js +2 -0
  35. package/src/constant/sale.js.map +1 -0
  36. package/{lib → src}/constant/school.d.ts +0 -0
  37. package/{lib → src}/constant/school.js +2 -0
  38. package/src/constant/school.js.map +1 -0
  39. package/{lib → src}/constant/student-service.d.ts +0 -0
  40. package/{lib → src}/constant/student-service.js +2 -0
  41. package/src/constant/student-service.js.map +1 -0
  42. package/{lib → src}/constant/subject.d.ts +0 -0
  43. package/{lib → src}/constant/subject.js +2 -0
  44. package/src/constant/subject.js.map +1 -0
  45. package/{lib → src}/constant/university-preference.d.ts +0 -0
  46. package/{lib → src}/constant/university-preference.js +2 -0
  47. package/src/constant/university-preference.js.map +1 -0
  48. package/{lib → src}/constant/user.d.ts +1 -0
  49. package/src/constant/user.js +16 -0
  50. package/src/constant/user.js.map +1 -0
  51. package/{lib → src}/constants.d.ts +1 -1
  52. package/src/constants.js +66 -0
  53. package/src/constants.js.map +1 -0
  54. package/{lib → src}/enums.d.ts +0 -0
  55. package/src/enums.js +54 -0
  56. package/src/enums.js.map +1 -0
  57. package/{lib → src}/index.d.ts +0 -0
  58. package/{lib → src}/index.js +4 -0
  59. package/src/index.js.map +1 -0
  60. package/{lib → src}/model/access-token.d.ts +0 -0
  61. package/{lib → src}/model/access-token.js +12 -10
  62. package/src/model/access-token.js.map +1 -0
  63. package/{lib → src}/model/answer-key.d.ts +0 -0
  64. package/{lib → src}/model/answer-key.js +8 -6
  65. package/src/model/answer-key.js.map +1 -0
  66. package/{lib → src}/model/case-study.d.ts +0 -0
  67. package/{lib → src}/model/case-study.js +7 -5
  68. package/src/model/case-study.js.map +1 -0
  69. package/{lib → src}/model/conversion-table.d.ts +0 -0
  70. package/{lib → src}/model/conversion-table.js +12 -10
  71. package/src/model/conversion-table.js.map +1 -0
  72. package/{lib → src}/model/course-template-event.d.ts +0 -0
  73. package/{lib → src}/model/course-template-event.js +12 -10
  74. package/src/model/course-template-event.js.map +1 -0
  75. package/{lib → src}/model/course-template.d.ts +0 -0
  76. package/{lib → src}/model/course-template.js +13 -11
  77. package/src/model/course-template.js.map +1 -0
  78. package/{lib → src}/model/dimension.d.ts +0 -0
  79. package/{lib → src}/model/dimension.js +10 -8
  80. package/src/model/dimension.js.map +1 -0
  81. package/{lib → src}/model/education-system.d.ts +0 -0
  82. package/{lib → src}/model/education-system.js +5 -3
  83. package/src/model/education-system.js.map +1 -0
  84. package/{lib → src}/model/event-log.d.ts +0 -0
  85. package/{lib → src}/model/event-log.js +12 -10
  86. package/src/model/event-log.js.map +1 -0
  87. package/{lib → src}/model/event-to-user.d.ts +0 -0
  88. package/{lib → src}/model/event-to-user.js +8 -6
  89. package/src/model/event-to-user.js.map +1 -0
  90. package/{lib → src}/model/event.d.ts +0 -0
  91. package/{lib → src}/model/event.js +26 -24
  92. package/src/model/event.js.map +1 -0
  93. package/{lib → src}/model/extracurricular-activity.d.ts +0 -0
  94. package/{lib → src}/model/extracurricular-activity.js +16 -14
  95. package/src/model/extracurricular-activity.js.map +1 -0
  96. package/{lib → src}/model/file-access.d.ts +0 -0
  97. package/{lib → src}/model/file-access.js +12 -10
  98. package/src/model/file-access.js.map +1 -0
  99. package/{lib → src}/model/file-category.d.ts +0 -0
  100. package/{lib → src}/model/file-category.js +8 -6
  101. package/src/model/file-category.js.map +1 -0
  102. package/{lib → src}/model/file.d.ts +0 -0
  103. package/{lib → src}/model/file.js +22 -20
  104. package/src/model/file.js.map +1 -0
  105. package/{lib → src}/model/guardian.d.ts +0 -0
  106. package/{lib → src}/model/guardian.js +16 -14
  107. package/src/model/guardian.js.map +1 -0
  108. package/{lib → src}/model/high-school-record.d.ts +0 -0
  109. package/{lib → src}/model/high-school-record.js +17 -15
  110. package/src/model/high-school-record.js.map +1 -0
  111. package/{lib → src}/model/journey-stage.d.ts +0 -0
  112. package/{lib → src}/model/journey-stage.js +10 -8
  113. package/src/model/journey-stage.js.map +1 -0
  114. package/{lib → src}/model/journey-to-student.d.ts +0 -0
  115. package/{lib → src}/model/journey-to-student.js +10 -8
  116. package/src/model/journey-to-student.js.map +1 -0
  117. package/{lib → src}/model/journey.d.ts +0 -0
  118. package/{lib → src}/model/journey.js +11 -9
  119. package/src/model/journey.js.map +1 -0
  120. package/{lib → src}/model/lead-assignment.d.ts +0 -0
  121. package/{lib → src}/model/lead-assignment.js +10 -8
  122. package/src/model/lead-assignment.js.map +1 -0
  123. package/{lib → src}/model/lead-form-field.d.ts +0 -0
  124. package/{lib → src}/model/lead-form-field.js +13 -11
  125. package/src/model/lead-form-field.js.map +1 -0
  126. package/{lib → src}/model/lead-form.d.ts +0 -0
  127. package/{lib → src}/model/lead-form.js +16 -14
  128. package/src/model/lead-form.js.map +1 -0
  129. package/{lib → src}/model/lead-queue.d.ts +0 -0
  130. package/{lib → src}/model/lead-queue.js +7 -5
  131. package/src/model/lead-queue.js.map +1 -0
  132. package/{lib → src}/model/lead.d.ts +0 -0
  133. package/{lib → src}/model/lead.js +37 -35
  134. package/src/model/lead.js.map +1 -0
  135. package/{lib → src}/model/log.d.ts +0 -0
  136. package/{lib → src}/model/log.js +13 -11
  137. package/src/model/log.js.map +1 -0
  138. package/{lib → src}/model/part-time-assignment.d.ts +0 -0
  139. package/{lib → src}/model/part-time-assignment.js +7 -5
  140. package/src/model/part-time-assignment.js.map +1 -0
  141. package/{lib → src}/model/pd-pipeline.d.ts +0 -0
  142. package/{lib → src}/model/pd-pipeline.js +8 -6
  143. package/src/model/pd-pipeline.js.map +1 -0
  144. package/{lib → src}/model/pd-user.d.ts +0 -0
  145. package/{lib → src}/model/pd-user.js +9 -7
  146. package/src/model/pd-user.js.map +1 -0
  147. package/{lib → src}/model/profile.d.ts +0 -0
  148. package/{lib → src}/model/profile.js +32 -30
  149. package/src/model/profile.js.map +1 -0
  150. package/{lib → src}/model/pup-lead.d.ts +0 -0
  151. package/{lib → src}/model/pup-lead.js +18 -16
  152. package/src/model/pup-lead.js.map +1 -0
  153. package/{lib → src}/model/sale-split.d.ts +0 -0
  154. package/{lib → src}/model/sale-split.js +8 -6
  155. package/src/model/sale-split.js.map +1 -0
  156. package/{lib → src}/model/sale.d.ts +0 -0
  157. package/{lib → src}/model/sale.js +37 -35
  158. package/src/model/sale.js.map +1 -0
  159. package/{lib → src}/model/school.d.ts +0 -0
  160. package/{lib → src}/model/school.js +8 -6
  161. package/src/model/school.js.map +1 -0
  162. package/{lib → src}/model/staff-hour-log.d.ts +0 -0
  163. package/{lib → src}/model/staff-hour-log.js +15 -13
  164. package/src/model/staff-hour-log.js.map +1 -0
  165. package/{lib → src}/model/staff-hour.d.ts +0 -0
  166. package/{lib → src}/model/staff-hour.js +200 -198
  167. package/src/model/staff-hour.js.map +1 -0
  168. package/{lib → src}/model/staff-subject-tag.d.ts +0 -0
  169. package/{lib → src}/model/staff-subject-tag.js +9 -7
  170. package/src/model/staff-subject-tag.js.map +1 -0
  171. package/{lib → src}/model/student-answer.d.ts +0 -0
  172. package/{lib → src}/model/student-answer.js +14 -12
  173. package/src/model/student-answer.js.map +1 -0
  174. package/{lib → src}/model/student-extra.d.ts +0 -0
  175. package/{lib → src}/model/student-extra.js +18 -16
  176. package/src/model/student-extra.js.map +1 -0
  177. package/{lib → src}/model/student-goal.d.ts +0 -0
  178. package/{lib → src}/model/student-goal.js +12 -10
  179. package/src/model/student-goal.js.map +1 -0
  180. package/{lib → src}/model/student-note-checklist-item.d.ts +0 -0
  181. package/{lib → src}/model/student-note-checklist-item.js +9 -7
  182. package/src/model/student-note-checklist-item.js.map +1 -0
  183. package/{lib → src}/model/student-note.d.ts +0 -0
  184. package/{lib → src}/model/student-note.js +24 -22
  185. package/src/model/student-note.js.map +1 -0
  186. package/{lib → src}/model/student-service-membership-log.d.ts +0 -0
  187. package/{lib → src}/model/student-service-membership-log.js +15 -13
  188. package/src/model/student-service-membership-log.js.map +1 -0
  189. package/{lib → src}/model/student-service-membership.d.ts +0 -0
  190. package/{lib → src}/model/student-service-membership.js +24 -22
  191. package/src/model/student-service-membership.js.map +1 -0
  192. package/{lib → src}/model/student-service.d.ts +0 -0
  193. package/{lib → src}/model/student-service.js +14 -12
  194. package/src/model/student-service.js.map +1 -0
  195. package/{lib → src}/model/student-target.d.ts +0 -0
  196. package/{lib → src}/model/student-target.js +19 -17
  197. package/src/model/student-target.js.map +1 -0
  198. package/{lib → src}/model/test-attempt.d.ts +0 -0
  199. package/{lib → src}/model/test-attempt.js +23 -21
  200. package/src/model/test-attempt.js.map +1 -0
  201. package/{lib → src}/model/test-category.d.ts +0 -0
  202. package/{lib → src}/model/test-category.js +9 -7
  203. package/src/model/test-category.js.map +1 -0
  204. package/{lib → src}/model/test-question.d.ts +0 -0
  205. package/{lib → src}/model/test-question.js +18 -16
  206. package/src/model/test-question.js.map +1 -0
  207. package/{lib → src}/model/test-report.d.ts +0 -0
  208. package/{lib → src}/model/test-report.js +2 -0
  209. package/src/model/test-report.js.map +1 -0
  210. package/{lib → src}/model/test-score.d.ts +0 -0
  211. package/{lib → src}/model/test-score.js +13 -11
  212. package/src/model/test-score.js.map +1 -0
  213. package/{lib → src}/model/test-section.d.ts +0 -0
  214. package/{lib → src}/model/test-section.js +11 -9
  215. package/src/model/test-section.js.map +1 -0
  216. package/{lib → src}/model/test.d.ts +0 -0
  217. package/{lib → src}/model/test.js +15 -13
  218. package/src/model/test.js.map +1 -0
  219. package/{lib → src}/model/university-preference.d.ts +0 -0
  220. package/{lib → src}/model/university-preference.js +16 -14
  221. package/src/model/university-preference.js.map +1 -0
  222. package/{lib → src}/model/user-preference.d.ts +0 -0
  223. package/{lib → src}/model/user-preference.js +10 -8
  224. package/src/model/user-preference.js.map +1 -0
  225. package/{lib → src}/model/user-to-guardian.d.ts +0 -0
  226. package/{lib → src}/model/user-to-guardian.js +12 -10
  227. package/src/model/user-to-guardian.js.map +1 -0
  228. package/{lib → src}/model/user.d.ts +3 -1
  229. package/{lib → src}/model/user.js +45 -41
  230. package/src/model/user.js.map +1 -0
  231. package/{lib → src}/model/zoom-info.d.ts +0 -0
  232. package/{lib → src}/model/zoom-info.js +9 -7
  233. package/src/model/zoom-info.js.map +1 -0
  234. package/{lib → src}/models.d.ts +0 -0
  235. package/src/models.js +130 -0
  236. package/src/models.js.map +1 -0
  237. package/lib/constant/user.js +0 -3
  238. package/lib/constants.js +0 -63
  239. package/lib/enums.js +0 -52
  240. package/lib/models.js +0 -127
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StudentServiceMembership = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const typeorm_1 = require("typeorm");
5
6
  const student_service_1 = require("./student-service");
@@ -15,68 +16,69 @@ let StudentServiceMembership = class StudentServiceMembership {
15
16
  }
16
17
  };
17
18
  tslib_1.__decorate([
18
- typeorm_1.PrimaryGeneratedColumn(),
19
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
19
20
  tslib_1.__metadata("design:type", Number)
20
21
  ], StudentServiceMembership.prototype, "id", void 0);
21
22
  tslib_1.__decorate([
22
- typeorm_1.Column({ type: 'boolean', default: true }),
23
+ (0, typeorm_1.Column)({ type: 'boolean', default: true }),
23
24
  tslib_1.__metadata("design:type", Boolean)
24
25
  ], StudentServiceMembership.prototype, "practiceTestAccess", void 0);
25
26
  tslib_1.__decorate([
26
- typeorm_1.Column({ type: 'boolean', default: true }),
27
+ (0, typeorm_1.Column)({ type: 'boolean', default: true }),
27
28
  tslib_1.__metadata("design:type", Boolean)
28
29
  ], StudentServiceMembership.prototype, "groupCourseAccess", void 0);
29
30
  tslib_1.__decorate([
30
- typeorm_1.Column({ type: 'date' }),
31
+ (0, typeorm_1.Column)({ type: 'date' }),
31
32
  tslib_1.__metadata("design:type", Date)
32
33
  ], StudentServiceMembership.prototype, "startDate", void 0);
33
34
  tslib_1.__decorate([
34
- typeorm_1.Column({ type: 'date' }),
35
+ (0, typeorm_1.Column)({ type: 'date' }),
35
36
  tslib_1.__metadata("design:type", Date)
36
37
  ], StudentServiceMembership.prototype, "validUntil", void 0);
37
38
  tslib_1.__decorate([
38
- typeorm_1.Column({ type: 'double', default: 0 }),
39
- tslib_1.__metadata("design:type", Number)
39
+ (0, typeorm_1.Column)({ type: 'double', default: 0 }),
40
+ tslib_1.__metadata("design:type", Object)
40
41
  ], StudentServiceMembership.prototype, "purchasedHours", void 0);
41
42
  tslib_1.__decorate([
42
- typeorm_1.Column({ type: 'double', default: 0 }),
43
- tslib_1.__metadata("design:type", Number)
43
+ (0, typeorm_1.Column)({ type: 'double', default: 0 }),
44
+ tslib_1.__metadata("design:type", Object)
44
45
  ], StudentServiceMembership.prototype, "scheduledHours", void 0);
45
46
  tslib_1.__decorate([
46
- typeorm_1.Column({ type: 'double', default: 0 }),
47
- tslib_1.__metadata("design:type", Number)
47
+ (0, typeorm_1.Column)({ type: 'double', default: 0 }),
48
+ tslib_1.__metadata("design:type", Object)
48
49
  ], StudentServiceMembership.prototype, "usedHours", void 0);
49
50
  tslib_1.__decorate([
50
- typeorm_1.Column({ type: 'double', default: 0 }),
51
- tslib_1.__metadata("design:type", Number)
51
+ (0, typeorm_1.Column)({ type: 'double', default: 0 }),
52
+ tslib_1.__metadata("design:type", Object)
52
53
  ], StudentServiceMembership.prototype, "adjustingHours", void 0);
53
54
  tslib_1.__decorate([
54
- typeorm_1.Column({ type: 'int', default: 0 }),
55
- tslib_1.__metadata("design:type", Number)
55
+ (0, typeorm_1.Column)({ type: 'int', default: 0 }),
56
+ tslib_1.__metadata("design:type", Object)
56
57
  ], StudentServiceMembership.prototype, "schools", void 0);
57
58
  tslib_1.__decorate([
58
- typeorm_1.CreateDateColumn(),
59
+ (0, typeorm_1.CreateDateColumn)(),
59
60
  tslib_1.__metadata("design:type", Date)
60
61
  ], StudentServiceMembership.prototype, "createdAt", void 0);
61
62
  tslib_1.__decorate([
62
- typeorm_1.UpdateDateColumn(),
63
+ (0, typeorm_1.UpdateDateColumn)(),
63
64
  tslib_1.__metadata("design:type", Date)
64
65
  ], StudentServiceMembership.prototype, "updatedAt", void 0);
65
66
  tslib_1.__decorate([
66
- typeorm_1.OneToOne(type => student_service_1.StudentService, studentService => studentService.studentServiceMembership),
67
- typeorm_1.JoinColumn(),
67
+ (0, typeorm_1.OneToOne)(() => student_service_1.StudentService, (studentService) => studentService.studentServiceMembership),
68
+ (0, typeorm_1.JoinColumn)(),
68
69
  tslib_1.__metadata("design:type", student_service_1.StudentService)
69
70
  ], StudentServiceMembership.prototype, "studentService", void 0);
70
71
  tslib_1.__decorate([
71
- typeorm_1.Column({ type: 'int' }),
72
+ (0, typeorm_1.Column)({ type: 'int' }),
72
73
  tslib_1.__metadata("design:type", Number)
73
74
  ], StudentServiceMembership.prototype, "studentServiceId", void 0);
74
75
  tslib_1.__decorate([
75
- typeorm_1.OneToMany(type => student_service_membership_log_1.StudentServiceMembershipLog, log => log.studentServiceMembership),
76
+ (0, typeorm_1.OneToMany)(() => student_service_membership_log_1.StudentServiceMembershipLog, (log) => log.studentServiceMembership),
76
77
  tslib_1.__metadata("design:type", Array)
77
78
  ], StudentServiceMembership.prototype, "studentServiceMembershipLogs", void 0);
78
79
  StudentServiceMembership = tslib_1.__decorate([
79
- typeorm_1.Entity({ name: 'student_service_memberships' }),
80
+ (0, typeorm_1.Entity)({ name: 'student_service_memberships' }),
80
81
  tslib_1.__metadata("design:paramtypes", [Object])
81
82
  ], StudentServiceMembership);
82
83
  exports.StudentServiceMembership = StudentServiceMembership;
84
+ //# sourceMappingURL=student-service-membership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"student-service-membership.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-service-membership.ts"],"names":[],"mappings":";;;;AAAA,qCASiB;AAEjB,uDAAmD;AACnD,qFAA+E;AAGxE,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IA+CnC,YAAmB,OAAY,EAAE;QA9BjC,mBAAc,GAAG,CAAC,CAAC;QAGnB,mBAAc,GAAG,CAAC,CAAC;QAGnB,cAAS,GAAG,CAAC,CAAC;QAGd,mBAAc,GAAG,CAAC,CAAC;QAGnB,YAAO,GAAG,CAAC,CAAC;QAmBV,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF,CAAA;A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AAE,IAAI,EAAE,KAAK,EAAE,CAAC;;kEACC;AAEzB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4DAA2B,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,wBAAwB,CAAC;;8EACxB;AA7CjD,wBAAwB;IADpC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC;;GACnC,wBAAwB,CAkDpC;AAlDY,4DAAwB"}
File without changes
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.STUDENT_SERVICE = exports.StudentService = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const typeorm_1 = require("typeorm");
5
6
  const user_1 = require("./user");
@@ -10,52 +11,52 @@ let StudentService = class StudentService {
10
11
  constructor(data = {}) {
11
12
  Object.assign(this, data);
12
13
  if (data.sales) {
13
- this.sales = data.sales.map(s => new sale_1.Sale(s));
14
+ this.sales = data.sales.map((s) => new sale_1.Sale(s));
14
15
  }
15
16
  }
16
17
  };
17
18
  tslib_1.__decorate([
18
- typeorm_1.PrimaryGeneratedColumn(),
19
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
19
20
  tslib_1.__metadata("design:type", Number)
20
21
  ], StudentService.prototype, "id", 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
  ], StudentService.prototype, "type", void 0);
25
26
  tslib_1.__decorate([
26
- typeorm_1.Column({ type: 'boolean' }),
27
+ (0, typeorm_1.Column)({ type: 'boolean' }),
27
28
  tslib_1.__metadata("design:type", Boolean)
28
29
  ], StudentService.prototype, "isPrimary", void 0);
29
30
  tslib_1.__decorate([
30
- typeorm_1.CreateDateColumn(),
31
+ (0, typeorm_1.CreateDateColumn)(),
31
32
  tslib_1.__metadata("design:type", Date)
32
33
  ], StudentService.prototype, "createdAt", void 0);
33
34
  tslib_1.__decorate([
34
- typeorm_1.UpdateDateColumn(),
35
+ (0, typeorm_1.UpdateDateColumn)(),
35
36
  tslib_1.__metadata("design:type", Date)
36
37
  ], StudentService.prototype, "updatedAt", void 0);
37
38
  tslib_1.__decorate([
38
- typeorm_1.Column({ type: 'int' }),
39
+ (0, typeorm_1.Column)({ type: 'int' }),
39
40
  tslib_1.__metadata("design:type", Number)
40
41
  ], StudentService.prototype, "userId", void 0);
41
42
  tslib_1.__decorate([
42
- typeorm_1.ManyToOne(type => user_1.User, user => user.studentServices),
43
+ (0, typeorm_1.ManyToOne)(() => user_1.User, (user) => user.studentServices),
43
44
  tslib_1.__metadata("design:type", user_1.User)
44
45
  ], StudentService.prototype, "user", void 0);
45
46
  tslib_1.__decorate([
46
- typeorm_1.OneToMany(type => sale_1.Sale, sale => sale.service),
47
+ (0, typeorm_1.OneToMany)(() => sale_1.Sale, (sale) => sale.service),
47
48
  tslib_1.__metadata("design:type", Array)
48
49
  ], StudentService.prototype, "sales", void 0);
49
50
  tslib_1.__decorate([
50
- typeorm_1.OneToOne(type => student_target_1.StudentTarget, studentTarget => studentTarget.studentService),
51
+ (0, typeorm_1.OneToOne)(() => student_target_1.StudentTarget, (studentTarget) => studentTarget.studentService),
51
52
  tslib_1.__metadata("design:type", student_target_1.StudentTarget)
52
53
  ], StudentService.prototype, "studentTarget", void 0);
53
54
  tslib_1.__decorate([
54
- typeorm_1.OneToOne(type => student_service_membership_1.StudentServiceMembership, studentServiceMembership => studentServiceMembership.studentService),
55
+ (0, typeorm_1.OneToOne)(() => student_service_membership_1.StudentServiceMembership, (studentServiceMembership) => studentServiceMembership.studentService),
55
56
  tslib_1.__metadata("design:type", student_service_membership_1.StudentServiceMembership)
56
57
  ], StudentService.prototype, "studentServiceMembership", void 0);
57
58
  StudentService = tslib_1.__decorate([
58
- typeorm_1.Entity({ name: 'student_services' }),
59
+ (0, typeorm_1.Entity)({ name: 'student_services' }),
59
60
  tslib_1.__metadata("design:paramtypes", [Object])
60
61
  ], StudentService);
61
62
  exports.StudentService = StudentService;
@@ -103,3 +104,4 @@ var STUDENT_SERVICE;
103
104
  STUDENT_SERVICE[STUDENT_SERVICE["IB_SPECIALISED"] = 40] = "IB_SPECIALISED";
104
105
  STUDENT_SERVICE[STUDENT_SERVICE["INSEAD_EMBA_ADMISSIONS"] = 41] = "INSEAD_EMBA_ADMISSIONS";
105
106
  })(STUDENT_SERVICE = exports.STUDENT_SERVICE || (exports.STUDENT_SERVICE = {}));
107
+ //# sourceMappingURL=student-service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"student-service.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-service.ts"],"names":[],"mappings":";;;;AAAA,qCASiB;AAEjB,iCAA8B;AAC9B,iCAA8B;AAC9B,6EAAwE;AACxE,qDAAiD;AAG1C,IAAM,cAAc,GAApB,MAAM,cAAc;IAkCzB,YAAmB,OAAY,EAAE;QAC/B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1B,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,WAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjD;IACH,CAAC;CACF,CAAA;AAvCC;IAAC,IAAA,gCAAsB,GAAE;;0CACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;4CACF;AAEtB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;iDACT;AAEnB;IAAC,IAAA,0BAAgB,GAAE;sCACR,IAAI;iDAAC;AAEhB;IAAC,IAAA,0BAAgB,GAAE;sCACR,IAAI;iDAAC;AAEhB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;8CACT;AAEf;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CAAA;IACL,wDAAK,CAAA;IACL,wDAAK,CAAA;IACL,kEAAU,CAAA;IACV,0EAAc,CAAA;IACd,4EAAe,CAAA;IACf,oEAAW,CAAA;IACX,sDAAI,CAAA;IACJ,kEAAU,CAAA;IACV,4DAAO,CAAA;IACP,oDAAG,CAAA;IACH,0EAAc,CAAA;IACd,0FAAsB,CAAA;AACxB,CAAC,EA1CW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA0C1B"}
File without changes
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StudentTarget = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const typeorm_1 = require("typeorm");
5
6
  const user_1 = require("./user");
@@ -11,68 +12,69 @@ let StudentTarget = class StudentTarget {
11
12
  }
12
13
  };
13
14
  tslib_1.__decorate([
14
- typeorm_1.PrimaryGeneratedColumn(),
15
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
15
16
  tslib_1.__metadata("design:type", Number)
16
17
  ], StudentTarget.prototype, "id", void 0);
17
18
  tslib_1.__decorate([
18
- typeorm_1.Column({ type: 'int' }),
19
+ (0, typeorm_1.Column)({ type: 'int' }),
19
20
  tslib_1.__metadata("design:type", Number)
20
21
  ], StudentTarget.prototype, "type", 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
  ], StudentTarget.prototype, "country", void 0);
25
26
  tslib_1.__decorate([
26
- typeorm_1.Column({ type: 'varchar', length: 64, nullable: true }),
27
+ (0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: true }),
27
28
  tslib_1.__metadata("design:type", String)
28
29
  ], StudentTarget.prototype, "university", void 0);
29
30
  tslib_1.__decorate([
30
- typeorm_1.Column({ type: 'varchar', length: 64, nullable: true }),
31
+ (0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: true }),
31
32
  tslib_1.__metadata("design:type", String)
32
33
  ], StudentTarget.prototype, "major", void 0);
33
34
  tslib_1.__decorate([
34
- typeorm_1.Column({ type: 'float', nullable: true }),
35
+ (0, typeorm_1.Column)({ type: 'float', nullable: true }),
35
36
  tslib_1.__metadata("design:type", Number)
36
37
  ], StudentTarget.prototype, "diagnosticScore", void 0);
37
38
  tslib_1.__decorate([
38
- typeorm_1.Column({ type: 'float', nullable: true }),
39
+ (0, typeorm_1.Column)({ type: 'float', nullable: true }),
39
40
  tslib_1.__metadata("design:type", Number)
40
41
  ], StudentTarget.prototype, "targetScore", void 0);
41
42
  tslib_1.__decorate([
42
- typeorm_1.Column({ type: 'float', nullable: true }),
43
+ (0, typeorm_1.Column)({ type: 'float', nullable: true }),
43
44
  tslib_1.__metadata("design:type", Number)
44
45
  ], StudentTarget.prototype, "officialTestScore", void 0);
45
46
  tslib_1.__decorate([
46
- typeorm_1.Column({ type: 'date', nullable: true }),
47
+ (0, typeorm_1.Column)({ type: 'date', nullable: true }),
47
48
  tslib_1.__metadata("design:type", Date)
48
49
  ], StudentTarget.prototype, "intendedTestDate", void 0);
49
50
  tslib_1.__decorate([
50
- typeorm_1.CreateDateColumn(),
51
+ (0, typeorm_1.CreateDateColumn)(),
51
52
  tslib_1.__metadata("design:type", Date)
52
53
  ], StudentTarget.prototype, "createdAt", void 0);
53
54
  tslib_1.__decorate([
54
- typeorm_1.UpdateDateColumn(),
55
+ (0, typeorm_1.UpdateDateColumn)(),
55
56
  tslib_1.__metadata("design:type", Date)
56
57
  ], StudentTarget.prototype, "updatedAt", void 0);
57
58
  tslib_1.__decorate([
58
- typeorm_1.Column({ type: 'int' }),
59
+ (0, typeorm_1.Column)({ type: 'int' }),
59
60
  tslib_1.__metadata("design:type", Number)
60
61
  ], StudentTarget.prototype, "studentServiceId", void 0);
61
62
  tslib_1.__decorate([
62
- typeorm_1.OneToOne(type => student_service_1.StudentService, studentService => studentService.studentTarget),
63
- typeorm_1.JoinColumn(),
63
+ (0, typeorm_1.OneToOne)(() => student_service_1.StudentService, (studentService) => studentService.studentTarget),
64
+ (0, typeorm_1.JoinColumn)(),
64
65
  tslib_1.__metadata("design:type", student_service_1.StudentService)
65
66
  ], StudentTarget.prototype, "studentService", void 0);
66
67
  tslib_1.__decorate([
67
- typeorm_1.Column({ type: 'int' }),
68
+ (0, typeorm_1.Column)({ type: 'int' }),
68
69
  tslib_1.__metadata("design:type", Number)
69
70
  ], StudentTarget.prototype, "userId", void 0);
70
71
  tslib_1.__decorate([
71
- typeorm_1.ManyToOne(type => user_1.User, user => user.studentTargets),
72
+ (0, typeorm_1.ManyToOne)(() => user_1.User, (user) => user.studentTargets),
72
73
  tslib_1.__metadata("design:type", user_1.User)
73
74
  ], StudentTarget.prototype, "user", void 0);
74
75
  StudentTarget = tslib_1.__decorate([
75
- typeorm_1.Entity({ name: 'student_targets' }),
76
+ (0, typeorm_1.Entity)({ name: 'student_targets' }),
76
77
  tslib_1.__metadata("design:paramtypes", [Object])
77
78
  ], StudentTarget);
78
79
  exports.StudentTarget = StudentTarget;
80
+ //# sourceMappingURL=student-target.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"student-target.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-target.ts"],"names":[],"mappings":";;;;AAAA,qCASiB;AAEjB,iCAA8B;AAC9B,uDAAoE;AACpE,uCAAoC;AAG7B,IAAM,aAAa,GAAnB,MAAM,aAAa;IA+CxB,YAAmB,OAAY,EAAE;QAC/B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF,CAAA;AAjDC;IAAC,IAAA,gCAAsB,GAAE;;yCACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;2CACF;AAEtB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;8CACP;AAEjB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAA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I,EAAE,iBAAiB,EAAE,CAAC;;GACvB,aAAa,CAkDzB;AAlDY,sCAAa"}
File without changes
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TestAttempt = exports.TEST_ATTEMPT_STATUS = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const typeorm_1 = require("typeorm");
5
6
  const student_answer_1 = require("./student-answer");
@@ -15,74 +16,75 @@ var TEST_ATTEMPT_STATUS;
15
16
  let TestAttempt = class TestAttempt {
16
17
  };
17
18
  tslib_1.__decorate([
18
- typeorm_1.PrimaryGeneratedColumn(),
19
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
19
20
  tslib_1.__metadata("design:type", Number)
20
21
  ], TestAttempt.prototype, "id", void 0);
21
22
  tslib_1.__decorate([
22
- typeorm_1.Column({ type: 'int', nullable: true, default: 1 }),
23
+ (0, typeorm_1.Column)({ type: 'int', nullable: true, default: 1 }),
23
24
  tslib_1.__metadata("design:type", Number)
24
25
  ], TestAttempt.prototype, "status", void 0);
25
26
  tslib_1.__decorate([
26
- typeorm_1.Column({ type: 'text', nullable: true }),
27
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
27
28
  tslib_1.__metadata("design:type", String)
28
29
  ], TestAttempt.prototype, "essayUrl", void 0);
29
30
  tslib_1.__decorate([
30
- typeorm_1.Column({ type: 'text', nullable: true }),
31
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
31
32
  tslib_1.__metadata("design:type", String)
32
33
  ], TestAttempt.prototype, "essayReview", 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
  ], TestAttempt.prototype, "creatorId", void 0);
37
38
  tslib_1.__decorate([
38
- typeorm_1.Column({ type: 'int' }),
39
+ (0, typeorm_1.Column)({ type: 'int' }),
39
40
  tslib_1.__metadata("design:type", Number)
40
41
  ], TestAttempt.prototype, "studentId", void 0);
41
42
  tslib_1.__decorate([
42
- typeorm_1.Column({ type: 'int' }),
43
+ (0, typeorm_1.Column)({ type: 'int' }),
43
44
  tslib_1.__metadata("design:type", Number)
44
45
  ], TestAttempt.prototype, "testId", void 0);
45
46
  tslib_1.__decorate([
46
- typeorm_1.Column({ type: 'datetime', nullable: true }),
47
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
47
48
  tslib_1.__metadata("design:type", Date)
48
49
  ], TestAttempt.prototype, "startTime", void 0);
49
50
  tslib_1.__decorate([
50
- typeorm_1.Column({ type: 'datetime', nullable: true }),
51
+ (0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
51
52
  tslib_1.__metadata("design:type", Date)
52
53
  ], TestAttempt.prototype, "endTime", void 0);
53
54
  tslib_1.__decorate([
54
- typeorm_1.Column({ type: 'text', nullable: true }),
55
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
55
56
  tslib_1.__metadata("design:type", String)
56
57
  ], TestAttempt.prototype, "caseStudyScore", void 0);
57
58
  tslib_1.__decorate([
58
- typeorm_1.CreateDateColumn(),
59
+ (0, typeorm_1.CreateDateColumn)(),
59
60
  tslib_1.__metadata("design:type", Date)
60
61
  ], TestAttempt.prototype, "createdAt", void 0);
61
62
  tslib_1.__decorate([
62
- typeorm_1.UpdateDateColumn(),
63
+ (0, typeorm_1.UpdateDateColumn)(),
63
64
  tslib_1.__metadata("design:type", Date)
64
65
  ], TestAttempt.prototype, "updatedAt", void 0);
65
66
  tslib_1.__decorate([
66
- typeorm_1.ManyToOne(type => user_1.User),
67
- typeorm_1.JoinColumn(),
67
+ (0, typeorm_1.ManyToOne)(() => user_1.User),
68
+ (0, typeorm_1.JoinColumn)(),
68
69
  tslib_1.__metadata("design:type", user_1.User)
69
70
  ], TestAttempt.prototype, "creator", void 0);
70
71
  tslib_1.__decorate([
71
- typeorm_1.ManyToOne(type => user_1.User, user => user.testAttempts),
72
- typeorm_1.JoinColumn(),
72
+ (0, typeorm_1.ManyToOne)(() => user_1.User, (user) => user.testAttempts),
73
+ (0, typeorm_1.JoinColumn)(),
73
74
  tslib_1.__metadata("design:type", user_1.User)
74
75
  ], TestAttempt.prototype, "student", void 0);
75
76
  tslib_1.__decorate([
76
- typeorm_1.ManyToOne(type => test_1.Test, test => test.testAttempts),
77
- typeorm_1.JoinColumn(),
77
+ (0, typeorm_1.ManyToOne)(() => test_1.Test, (test) => test.testAttempts),
78
+ (0, typeorm_1.JoinColumn)(),
78
79
  tslib_1.__metadata("design:type", test_1.Test)
79
80
  ], TestAttempt.prototype, "test", void 0);
80
81
  tslib_1.__decorate([
81
- typeorm_1.OneToMany(type => student_answer_1.StudentAnswer, studentAnswer => studentAnswer.testAttempt),
82
- typeorm_1.JoinColumn(),
82
+ (0, typeorm_1.OneToMany)(() => student_answer_1.StudentAnswer, (studentAnswer) => studentAnswer.testAttempt),
83
+ (0, typeorm_1.JoinColumn)(),
83
84
  tslib_1.__metadata("design:type", Array)
84
85
  ], TestAttempt.prototype, "studentAnswers", void 0);
85
86
  TestAttempt = tslib_1.__decorate([
86
- typeorm_1.Entity({ name: 'test_attempts' })
87
+ (0, typeorm_1.Entity)({ name: 'test_attempts' })
87
88
  ], TestAttempt);
88
89
  exports.TestAttempt = TestAttempt;
90
+ //# sourceMappingURL=test-attempt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-attempt.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/test-attempt.ts"],"names":[],"mappings":";;;;AAAA,qCASiB;AAEjB,qDAAiD;AACjD,iCAA8B;AAC9B,iCAA8B;AAE9B,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,mEAAW,CAAA;IACX,2EAAW,CAAA;IACX,qEAAQ,CAAA;IACR,mEAAO,CAAA;AACT,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B;AAGM,IAAM,WAAW,GAAjB,MAAM,WAAW;CAoDvB,CAAA;AAn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AAC,YAAY,CAAC;IAClD,IAAA,oBAAU,GAAE;sCACJ,WAAI;4CAAC;AAEd;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;IAClD,IAAA,oBAAU,GAAE;sCACP,WAAI;yCAAC;AAEX;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8BAAa,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,WAAW,CAAC;IAC5E,IAAA,oBAAU,GAAE;;mDACmB;AAnDrB,WAAW;IADvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;GACrB,WAAW,CAoDvB;AApDY,kCAAW"}
File without changes
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TestCategory = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const typeorm_1 = require("typeorm");
5
6
  const test_1 = require("./test");
@@ -7,30 +8,31 @@ const student_service_1 = require("./student-service");
7
8
  let TestCategory = class TestCategory {
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
  ], TestCategory.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
  ], TestCategory.prototype, "name", void 0);
17
18
  tslib_1.__decorate([
18
- typeorm_1.Column({ type: 'varchar', length: 128, unique: true }),
19
+ (0, typeorm_1.Column)({ type: 'varchar', length: 128, unique: true }),
19
20
  tslib_1.__metadata("design:type", String)
20
21
  ], TestCategory.prototype, "slug", void 0);
21
22
  tslib_1.__decorate([
22
- typeorm_1.Column({ type: 'text', nullable: true }),
23
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
23
24
  tslib_1.__metadata("design:type", String)
24
25
  ], TestCategory.prototype, "description", void 0);
25
26
  tslib_1.__decorate([
26
- typeorm_1.Column({ type: 'int', nullable: true }),
27
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
27
28
  tslib_1.__metadata("design:type", Number)
28
29
  ], TestCategory.prototype, "respectiveService", void 0);
29
30
  tslib_1.__decorate([
30
- typeorm_1.OneToMany(type => test_1.Test, test => test.testCategory),
31
+ (0, typeorm_1.OneToMany)(() => test_1.Test, (test) => test.testCategory),
31
32
  tslib_1.__metadata("design:type", Array)
32
33
  ], TestCategory.prototype, "tests", void 0);
33
34
  TestCategory = tslib_1.__decorate([
34
- typeorm_1.Entity({ name: 'test_categories' })
35
+ (0, typeorm_1.Entity)({ name: 'test_categories' })
35
36
  ], TestCategory);
36
37
  exports.TestCategory = TestCategory;
38
+ //# sourceMappingURL=test-category.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-category.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/test-category.ts"],"names":[],"mappings":";;;;AAAA,qCAA4E;AAE5E,iCAA8B;AAC9B,uDAAoD;AAG7C,IAAM,YAAY,GAAlB,MAAM,YAAY;CAkBxB,CAAA;AAjBC;IAAC,IAAA,gCAAsB,GAAE;;wCACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;0CAC5B;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;0CAC1C;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACrB;AAEpB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACL;AAEnC;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;;2CACrC;AAjBH,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;GACvB,YAAY,CAkBxB;AAlBY,oCAAY"}
File without changes
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TestQuestion = exports.TEST_QUESTION_TYPE = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const typeorm_1 = require("typeorm");
5
6
  const answer_key_1 = require("./answer-key");
@@ -19,54 +20,54 @@ var TEST_QUESTION_TYPE;
19
20
  let TestQuestion = class TestQuestion {
20
21
  };
21
22
  tslib_1.__decorate([
22
- typeorm_1.PrimaryGeneratedColumn(),
23
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
23
24
  tslib_1.__metadata("design:type", Number)
24
25
  ], TestQuestion.prototype, "id", 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
  ], TestQuestion.prototype, "type", 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
  ], TestQuestion.prototype, "order", 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
  ], TestQuestion.prototype, "testSectionId", void 0);
37
38
  tslib_1.__decorate([
38
- typeorm_1.Column({ type: 'text', nullable: true }),
39
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
39
40
  tslib_1.__metadata("design:type", String)
40
41
  ], TestQuestion.prototype, "questionContent", void 0);
41
42
  tslib_1.__decorate([
42
- typeorm_1.Column({ type: 'text', nullable: true }),
43
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
43
44
  tslib_1.__metadata("design:type", String)
44
45
  ], TestQuestion.prototype, "answerContent", void 0);
45
46
  tslib_1.__decorate([
46
- typeorm_1.Column({ type: 'int', nullable: true }),
47
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
47
48
  tslib_1.__metadata("design:type", Number)
48
49
  ], TestQuestion.prototype, "caseStudyId", void 0);
49
50
  tslib_1.__decorate([
50
- typeorm_1.ManyToOne(type => test_section_1.TestSection, testSection => testSection.testQuestions),
51
- typeorm_1.JoinColumn(),
51
+ (0, typeorm_1.ManyToOne)(() => test_section_1.TestSection, (testSection) => testSection.testQuestions),
52
+ (0, typeorm_1.JoinColumn)(),
52
53
  tslib_1.__metadata("design:type", test_section_1.TestSection)
53
54
  ], TestQuestion.prototype, "testSection", void 0);
54
55
  tslib_1.__decorate([
55
- typeorm_1.ManyToOne(type => case_study_1.CaseStudy, caseStudy => caseStudy.testQuestions),
56
- typeorm_1.JoinColumn(),
56
+ (0, typeorm_1.ManyToOne)(() => case_study_1.CaseStudy, (caseStudy) => caseStudy.testQuestions),
57
+ (0, typeorm_1.JoinColumn)(),
57
58
  tslib_1.__metadata("design:type", case_study_1.CaseStudy)
58
59
  ], TestQuestion.prototype, "caseStudy", void 0);
59
60
  tslib_1.__decorate([
60
- typeorm_1.OneToMany(type => answer_key_1.AnswerKey, answerKey => answerKey.testQuestion),
61
+ (0, typeorm_1.OneToMany)(() => answer_key_1.AnswerKey, (answerKey) => answerKey.testQuestion),
61
62
  tslib_1.__metadata("design:type", Array)
62
63
  ], TestQuestion.prototype, "answerKeys", void 0);
63
64
  tslib_1.__decorate([
64
- typeorm_1.OneToMany(type => student_answer_1.StudentAnswer, studentAnswer => studentAnswer.testQuestion),
65
+ (0, typeorm_1.OneToMany)(() => student_answer_1.StudentAnswer, (studentAnswer) => studentAnswer.testQuestion),
65
66
  tslib_1.__metadata("design:type", Array)
66
67
  ], TestQuestion.prototype, "studentAnswers", void 0);
67
68
  tslib_1.__decorate([
68
- typeorm_1.ManyToMany(type => dimension_1.Dimension, dimension => dimension.testQuestions),
69
- typeorm_1.JoinTable({
69
+ (0, typeorm_1.ManyToMany)(() => dimension_1.Dimension, (dimension) => dimension.testQuestions),
70
+ (0, typeorm_1.JoinTable)({
70
71
  name: 'test_questions_to_dimensions',
71
72
  joinColumn: {
72
73
  name: 'testQuestionId',
@@ -80,6 +81,7 @@ tslib_1.__decorate([
80
81
  tslib_1.__metadata("design:type", Array)
81
82
  ], TestQuestion.prototype, "dimensions", void 0);
82
83
  TestQuestion = tslib_1.__decorate([
83
- typeorm_1.Entity({ name: 'test_questions' })
84
+ (0, typeorm_1.Entity)({ name: 'test_questions' })
84
85
  ], TestQuestion);
85
86
  exports.TestQuestion = TestQuestion;
87
+ //# sourceMappingURL=test-question.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-question.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/test-question.ts"],"names":[],"mappings":";;;;AAAA,qCASiB;AAEjB,6CAAyC;AACzC,2CAAwC;AACxC,qDAAiD;AACjD,iDAA6C;AAC7C,6CAAyC;AAEzC,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,yDAAO,CAAA;IACP,+DAAM,CAAA;IACN,6DAAK,CAAA;IACL,+DAAM,CAAA;IACN,iEAAO,CAAA;IACP,uEAAU,CAAA;AACZ,CAAC,EAPW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAO7B;AAGM,IAAM,YAAY,GAAlB,MAAM,YAAY;CAiDxB,CAAA;AAhDC;IAAC,IAAA,gCAAsB,GAAE;;wCACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;0CACC;AAEzB;IAAC,IAAA,gB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,oBAAoB,EAAE,IAAI;SAC3B;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,aAAa;YACnB,oBAAoB,EAAE,IAAI;SAC3B;KACF,CAAC;;gDACsB;AAhDb,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;GACtB,YAAY,CAiDxB;AAjDY,oCAAY"}
File without changes
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DimensionScore = exports.IEATReport = exports.BMATReport = exports.ISATReport = exports.MCATReport = exports.LSATReport = exports.UCATReport = exports.GMATReport = exports.ACTReport = exports.SATReport = exports.BaseReport = void 0;
3
4
  class BaseReport {
4
5
  }
5
6
  exports.BaseReport = BaseReport;
@@ -33,3 +34,4 @@ exports.IEATReport = IEATReport;
33
34
  class DimensionScore {
34
35
  }
35
36
  exports.DimensionScore = DimensionScore;
37
+ //# sourceMappingURL=test-report.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-report.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/test-report.ts"],"names":[],"mappings":";;;AAIA,MAAa,UAAU;CAetB;AAfD,gCAeC;AAED,MAAa,SAAU,SAAQ,UAAU;CAcxC;AAdD,8BAcC;AAED,MAAa,SAAU,SAAQ,UAAU;CAcxC;AAdD,8BAcC;AAED,MAAa,UAAW,SAAQ,UAAU;CAOzC;AAPD,gCAOC;AAED,MAAa,UAAW,SAAQ,UAAU;CAYzC;AAZD,gCAYC;AAED,MAAa,UAAW,SAAQ,UAAU;CAYzC;AAZD,gCAYC;AAED,MAAa,UAAW,SAAQ,UAAU;CAazC;AAbD,gCAaC;AAED,MAAa,UAAW,SAAQ,UAAU;CAMzC;AAND,gCAMC;AAED,MAAa,UAAW,SAAQ,UAAU;CAMzC;AAND,gCAMC;AAED,MAAa,UAAW,SAAQ,UAAU;CAKzC;AALD,gCAKC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC"}
File without changes