@campxdev/server-shared 1.1.15 → 1.1.16

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 (90) hide show
  1. package/dist/common/config/mongo.config.d.ts +3 -3
  2. package/dist/common/config/mongo.config.js +23 -23
  3. package/dist/common/databases/mongoose.repository.d.ts +40 -40
  4. package/dist/common/databases/mongoose.repository.js +94 -94
  5. package/dist/common/decorators/request.decorators.d.ts +5 -5
  6. package/dist/common/decorators/request.decorators.js +36 -36
  7. package/dist/common/decorators/time-validation.decorator.d.ts +2 -2
  8. package/dist/common/decorators/time-validation.decorator.js +26 -26
  9. package/dist/common/filters/unhandled-exception.filter.d.ts +4 -4
  10. package/dist/common/filters/unhandled-exception.filter.js +38 -38
  11. package/dist/common/guards/guard.d.ts +8 -8
  12. package/dist/common/guards/guard.js +24 -24
  13. package/dist/common/index.d.ts +11 -11
  14. package/dist/common/index.js +27 -27
  15. package/dist/common/interceptors/request.interceptor.d.ts +17 -17
  16. package/dist/common/interceptors/request.interceptor.js +132 -132
  17. package/dist/common/interfaces/context.interface.d.ts +102 -102
  18. package/dist/common/interfaces/context.interface.js +2 -2
  19. package/dist/common/store/request-store.d.ts +32 -32
  20. package/dist/common/store/request-store.js +125 -125
  21. package/dist/common/store/store-config.d.ts +6 -6
  22. package/dist/common/store/store-config.js +23 -23
  23. package/dist/common/store/store.interceptor.d.ts +5 -5
  24. package/dist/common/store/store.interceptor.js +37 -37
  25. package/dist/domain/db-connection.module.d.ts +3 -3
  26. package/dist/domain/db-connection.module.js +29 -29
  27. package/dist/domain/entities/department.entity.d.ts +9 -9
  28. package/dist/domain/entities/department.entity.js +50 -50
  29. package/dist/domain/entities/evaluator.entity.d.ts +17 -17
  30. package/dist/domain/entities/evaluator.entity.js +112 -112
  31. package/dist/domain/entities/leads.entity.d.ts +26 -26
  32. package/dist/domain/entities/leads.entity.js +161 -161
  33. package/dist/domain/entities/profile-permission.entity.d.ts +13 -13
  34. package/dist/domain/entities/profile-permission.entity.js +70 -70
  35. package/dist/domain/entities/profile.entity.d.ts +25 -25
  36. package/dist/domain/entities/profile.entity.js +98 -98
  37. package/dist/domain/entities/program.entity.d.ts +13 -13
  38. package/dist/domain/entities/program.entity.js +70 -70
  39. package/dist/domain/entities/student.entity.d.ts +57 -57
  40. package/dist/domain/entities/student.entity.js +279 -279
  41. package/dist/domain/entities/user.entity.d.ts +23 -23
  42. package/dist/domain/entities/user.entity.js +147 -147
  43. package/dist/domain/index.d.ts +12 -12
  44. package/dist/domain/index.js +28 -28
  45. package/dist/domain/schemas/global-users.schema.d.ts +58 -58
  46. package/dist/domain/schemas/global-users.schema.js +145 -145
  47. package/dist/domain/schemas/tenant.schema.d.ts +114 -114
  48. package/dist/domain/schemas/tenant.schema.js +387 -387
  49. package/dist/domain/shared-domain.module.d.ts +2 -2
  50. package/dist/domain/shared-domain.module.js +27 -27
  51. package/dist/index.d.ts +5 -5
  52. package/dist/index.js +21 -21
  53. package/dist/permissions/app-permissions/enroll-x-permissions.d.ts +390 -375
  54. package/dist/permissions/app-permissions/enroll-x-permissions.d.ts.map +1 -1
  55. package/dist/permissions/app-permissions/enroll-x-permissions.js +433 -468
  56. package/dist/permissions/app-permissions/enroll-x-permissions.js.map +1 -1
  57. package/dist/permissions/app-permissions/exams-permissions.d.ts +745 -730
  58. package/dist/permissions/app-permissions/exams-permissions.d.ts.map +1 -1
  59. package/dist/permissions/app-permissions/exams-permissions.js +1213 -1137
  60. package/dist/permissions/app-permissions/exams-permissions.js.map +1 -1
  61. package/dist/permissions/app-permissions/hostels-permissions.d.ts +239 -239
  62. package/dist/permissions/app-permissions/hostels-permissions.js +243 -243
  63. package/dist/permissions/app-permissions/payments-permissions.d.ts +352 -337
  64. package/dist/permissions/app-permissions/payments-permissions.d.ts.map +1 -1
  65. package/dist/permissions/app-permissions/payments-permissions.js +474 -454
  66. package/dist/permissions/app-permissions/payments-permissions.js.map +1 -1
  67. package/dist/permissions/app-permissions/square-permissions.d.ts +1090 -1084
  68. package/dist/permissions/app-permissions/square-permissions.d.ts.map +1 -1
  69. package/dist/permissions/app-permissions/square-permissions.js +2013 -1992
  70. package/dist/permissions/app-permissions/square-permissions.js.map +1 -1
  71. package/dist/permissions/check-permission.guard.d.ts +52 -52
  72. package/dist/permissions/check-permission.guard.js +58 -58
  73. package/dist/permissions/index.d.ts +6 -6
  74. package/dist/permissions/index.js +26 -26
  75. package/dist/permissions/permissions.d.ts +5642 -5540
  76. package/dist/permissions/permissions.d.ts.map +1 -1
  77. package/dist/permissions/permissions.js +116 -116
  78. package/dist/shared-module/index.d.ts +2 -2
  79. package/dist/shared-module/index.js +7 -7
  80. package/dist/shared-module/shared.module.d.ts +10 -10
  81. package/dist/shared-module/shared.module.js +37 -37
  82. package/dist/shared-module/shared.service.d.ts +67 -67
  83. package/dist/shared-module/shared.service.js +209 -209
  84. package/dist/utils/constants.d.ts +25 -25
  85. package/dist/utils/constants.js +28 -28
  86. package/dist/utils/index.d.ts +2 -2
  87. package/dist/utils/index.js +18 -18
  88. package/dist/utils/utils.d.ts +24 -24
  89. package/dist/utils/utils.js +234 -234
  90. package/package.json +46 -46
@@ -1,280 +1,280 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.Student = exports.Gender = void 0;
13
- const typeorm_1 = require("typeorm");
14
- var Gender;
15
- (function (Gender) {
16
- Gender["Male"] = "male";
17
- Gender["Female"] = "female";
18
- })(Gender = exports.Gender || (exports.Gender = {}));
19
- let Student = class Student {
20
- id;
21
- collegeId;
22
- rollNo;
23
- fullName;
24
- photoId;
25
- admissionNo;
26
- courseId;
27
- branchCode;
28
- semester;
29
- semesterId;
30
- semNo;
31
- batch;
32
- batchId;
33
- curriculumId;
34
- programId;
35
- mobile;
36
- alternateMobile;
37
- email;
38
- address;
39
- alternateEmail;
40
- gender;
41
- dob;
42
- parentName;
43
- parentMobile;
44
- parentOccupation;
45
- fatherName;
46
- motherName;
47
- motherOccupation;
48
- motherTongue;
49
- nationality;
50
- religion;
51
- caste;
52
- hasScholarship;
53
- admissionDate;
54
- discontinued;
55
- discontinuedDate;
56
- yearOfPass;
57
- spotAdmission;
58
- detainee;
59
- aadhaarNo;
60
- userId;
61
- section;
62
- classroomId;
63
- detained;
64
- detained_reason;
65
- transferred;
66
- physicallyChallenged;
67
- identificationMark1;
68
- identificationMark2;
69
- createdAt;
70
- updatedAt;
71
- };
72
- __decorate([
73
- (0, typeorm_1.PrimaryGeneratedColumn)(),
74
- __metadata("design:type", Number)
75
- ], Student.prototype, "id", void 0);
76
- __decorate([
77
- (0, typeorm_1.Column)({ nullable: true }),
78
- __metadata("design:type", Number)
79
- ], Student.prototype, "collegeId", void 0);
80
- __decorate([
81
- (0, typeorm_1.Column)(),
82
- __metadata("design:type", String)
83
- ], Student.prototype, "rollNo", void 0);
84
- __decorate([
85
- (0, typeorm_1.Column)({ nullable: true }),
86
- __metadata("design:type", String)
87
- ], Student.prototype, "fullName", void 0);
88
- __decorate([
89
- (0, typeorm_1.Column)(),
90
- __metadata("design:type", Number)
91
- ], Student.prototype, "photoId", void 0);
92
- __decorate([
93
- (0, typeorm_1.Column)({ nullable: true }),
94
- __metadata("design:type", String)
95
- ], Student.prototype, "admissionNo", void 0);
96
- __decorate([
97
- (0, typeorm_1.Column)({ nullable: true }),
98
- __metadata("design:type", Number)
99
- ], Student.prototype, "courseId", void 0);
100
- __decorate([
101
- (0, typeorm_1.Column)({ nullable: true }),
102
- __metadata("design:type", String)
103
- ], Student.prototype, "branchCode", void 0);
104
- __decorate([
105
- (0, typeorm_1.Column)({ nullable: true }),
106
- __metadata("design:type", String)
107
- ], Student.prototype, "semester", void 0);
108
- __decorate([
109
- (0, typeorm_1.Column)(),
110
- __metadata("design:type", Number)
111
- ], Student.prototype, "semesterId", void 0);
112
- __decorate([
113
- (0, typeorm_1.Column)(),
114
- __metadata("design:type", Number)
115
- ], Student.prototype, "semNo", void 0);
116
- __decorate([
117
- (0, typeorm_1.Column)({ nullable: true }),
118
- __metadata("design:type", String)
119
- ], Student.prototype, "batch", void 0);
120
- __decorate([
121
- (0, typeorm_1.Column)(),
122
- __metadata("design:type", Number)
123
- ], Student.prototype, "batchId", void 0);
124
- __decorate([
125
- (0, typeorm_1.Column)(),
126
- __metadata("design:type", Number)
127
- ], Student.prototype, "curriculumId", void 0);
128
- __decorate([
129
- (0, typeorm_1.Column)(),
130
- __metadata("design:type", Number)
131
- ], Student.prototype, "programId", void 0);
132
- __decorate([
133
- (0, typeorm_1.Column)({ nullable: true }),
134
- __metadata("design:type", String)
135
- ], Student.prototype, "mobile", void 0);
136
- __decorate([
137
- (0, typeorm_1.Column)({ nullable: true }),
138
- __metadata("design:type", String)
139
- ], Student.prototype, "alternateMobile", void 0);
140
- __decorate([
141
- (0, typeorm_1.Column)({ nullable: true }),
142
- __metadata("design:type", String)
143
- ], Student.prototype, "email", void 0);
144
- __decorate([
145
- (0, typeorm_1.Column)(),
146
- __metadata("design:type", String)
147
- ], Student.prototype, "address", void 0);
148
- __decorate([
149
- (0, typeorm_1.Column)({ nullable: true }),
150
- __metadata("design:type", String)
151
- ], Student.prototype, "alternateEmail", void 0);
152
- __decorate([
153
- (0, typeorm_1.Column)(),
154
- __metadata("design:type", String)
155
- ], Student.prototype, "gender", void 0);
156
- __decorate([
157
- (0, typeorm_1.Column)(),
158
- __metadata("design:type", String)
159
- ], Student.prototype, "dob", void 0);
160
- __decorate([
161
- (0, typeorm_1.Column)({ nullable: true }),
162
- __metadata("design:type", String)
163
- ], Student.prototype, "parentName", void 0);
164
- __decorate([
165
- (0, typeorm_1.Column)({ nullable: true }),
166
- __metadata("design:type", String)
167
- ], Student.prototype, "parentMobile", void 0);
168
- __decorate([
169
- (0, typeorm_1.Column)({ nullable: true }),
170
- __metadata("design:type", String)
171
- ], Student.prototype, "parentOccupation", void 0);
172
- __decorate([
173
- (0, typeorm_1.Column)(),
174
- __metadata("design:type", String)
175
- ], Student.prototype, "fatherName", void 0);
176
- __decorate([
177
- (0, typeorm_1.Column)({ nullable: true }),
178
- __metadata("design:type", String)
179
- ], Student.prototype, "motherName", void 0);
180
- __decorate([
181
- (0, typeorm_1.Column)({ nullable: true }),
182
- __metadata("design:type", String)
183
- ], Student.prototype, "motherOccupation", void 0);
184
- __decorate([
185
- (0, typeorm_1.Column)({ nullable: true }),
186
- __metadata("design:type", String)
187
- ], Student.prototype, "motherTongue", void 0);
188
- __decorate([
189
- (0, typeorm_1.Column)({ nullable: true }),
190
- __metadata("design:type", String)
191
- ], Student.prototype, "nationality", void 0);
192
- __decorate([
193
- (0, typeorm_1.Column)({ nullable: true }),
194
- __metadata("design:type", String)
195
- ], Student.prototype, "religion", void 0);
196
- __decorate([
197
- (0, typeorm_1.Column)({ nullable: true }),
198
- __metadata("design:type", String)
199
- ], Student.prototype, "caste", void 0);
200
- __decorate([
201
- (0, typeorm_1.Column)({ nullable: true }),
202
- __metadata("design:type", Boolean)
203
- ], Student.prototype, "hasScholarship", void 0);
204
- __decorate([
205
- (0, typeorm_1.Column)({ type: 'date', nullable: true }),
206
- __metadata("design:type", String)
207
- ], Student.prototype, "admissionDate", void 0);
208
- __decorate([
209
- (0, typeorm_1.Column)({ default: false, nullable: true }),
210
- __metadata("design:type", Boolean)
211
- ], Student.prototype, "discontinued", void 0);
212
- __decorate([
213
- (0, typeorm_1.Column)({ type: 'date', nullable: true }),
214
- __metadata("design:type", String)
215
- ], Student.prototype, "discontinuedDate", void 0);
216
- __decorate([
217
- (0, typeorm_1.Column)({ nullable: true }),
218
- __metadata("design:type", String)
219
- ], Student.prototype, "yearOfPass", void 0);
220
- __decorate([
221
- (0, typeorm_1.Column)({ default: false, nullable: true }),
222
- __metadata("design:type", Boolean)
223
- ], Student.prototype, "spotAdmission", void 0);
224
- __decorate([
225
- (0, typeorm_1.Column)({ default: false, nullable: true }),
226
- __metadata("design:type", Boolean)
227
- ], Student.prototype, "detainee", void 0);
228
- __decorate([
229
- (0, typeorm_1.Column)({ nullable: true }),
230
- __metadata("design:type", String)
231
- ], Student.prototype, "aadhaarNo", void 0);
232
- __decorate([
233
- (0, typeorm_1.Column)({ nullable: true }),
234
- __metadata("design:type", Number)
235
- ], Student.prototype, "userId", void 0);
236
- __decorate([
237
- (0, typeorm_1.Column)(),
238
- __metadata("design:type", String)
239
- ], Student.prototype, "section", void 0);
240
- __decorate([
241
- (0, typeorm_1.Column)(),
242
- __metadata("design:type", Number)
243
- ], Student.prototype, "classroomId", void 0);
244
- __decorate([
245
- (0, typeorm_1.Column)(),
246
- __metadata("design:type", Boolean)
247
- ], Student.prototype, "detained", void 0);
248
- __decorate([
249
- (0, typeorm_1.Column)(),
250
- __metadata("design:type", String)
251
- ], Student.prototype, "detained_reason", void 0);
252
- __decorate([
253
- (0, typeorm_1.Column)(),
254
- __metadata("design:type", Boolean)
255
- ], Student.prototype, "transferred", void 0);
256
- __decorate([
257
- (0, typeorm_1.Column)({ default: false, nullable: true }),
258
- __metadata("design:type", Boolean)
259
- ], Student.prototype, "physicallyChallenged", void 0);
260
- __decorate([
261
- (0, typeorm_1.Column)(),
262
- __metadata("design:type", String)
263
- ], Student.prototype, "identificationMark1", void 0);
264
- __decorate([
265
- (0, typeorm_1.Column)(),
266
- __metadata("design:type", String)
267
- ], Student.prototype, "identificationMark2", void 0);
268
- __decorate([
269
- (0, typeorm_1.CreateDateColumn)(),
270
- __metadata("design:type", String)
271
- ], Student.prototype, "createdAt", void 0);
272
- __decorate([
273
- (0, typeorm_1.UpdateDateColumn)(),
274
- __metadata("design:type", String)
275
- ], Student.prototype, "updatedAt", void 0);
276
- Student = __decorate([
277
- (0, typeorm_1.Entity)()
278
- ], Student);
279
- exports.Student = Student;
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.Student = exports.Gender = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ var Gender;
15
+ (function (Gender) {
16
+ Gender["Male"] = "male";
17
+ Gender["Female"] = "female";
18
+ })(Gender = exports.Gender || (exports.Gender = {}));
19
+ let Student = class Student {
20
+ id;
21
+ collegeId;
22
+ rollNo;
23
+ fullName;
24
+ photoId;
25
+ admissionNo;
26
+ courseId;
27
+ branchCode;
28
+ semester;
29
+ semesterId;
30
+ semNo;
31
+ batch;
32
+ batchId;
33
+ curriculumId;
34
+ programId;
35
+ mobile;
36
+ alternateMobile;
37
+ email;
38
+ address;
39
+ alternateEmail;
40
+ gender;
41
+ dob;
42
+ parentName;
43
+ parentMobile;
44
+ parentOccupation;
45
+ fatherName;
46
+ motherName;
47
+ motherOccupation;
48
+ motherTongue;
49
+ nationality;
50
+ religion;
51
+ caste;
52
+ hasScholarship;
53
+ admissionDate;
54
+ discontinued;
55
+ discontinuedDate;
56
+ yearOfPass;
57
+ spotAdmission;
58
+ detainee;
59
+ aadhaarNo;
60
+ userId;
61
+ section;
62
+ classroomId;
63
+ detained;
64
+ detained_reason;
65
+ transferred;
66
+ physicallyChallenged;
67
+ identificationMark1;
68
+ identificationMark2;
69
+ createdAt;
70
+ updatedAt;
71
+ };
72
+ __decorate([
73
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
74
+ __metadata("design:type", Number)
75
+ ], Student.prototype, "id", void 0);
76
+ __decorate([
77
+ (0, typeorm_1.Column)({ nullable: true }),
78
+ __metadata("design:type", Number)
79
+ ], Student.prototype, "collegeId", void 0);
80
+ __decorate([
81
+ (0, typeorm_1.Column)(),
82
+ __metadata("design:type", String)
83
+ ], Student.prototype, "rollNo", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.Column)({ nullable: true }),
86
+ __metadata("design:type", String)
87
+ ], Student.prototype, "fullName", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)(),
90
+ __metadata("design:type", Number)
91
+ ], Student.prototype, "photoId", void 0);
92
+ __decorate([
93
+ (0, typeorm_1.Column)({ nullable: true }),
94
+ __metadata("design:type", String)
95
+ ], Student.prototype, "admissionNo", void 0);
96
+ __decorate([
97
+ (0, typeorm_1.Column)({ nullable: true }),
98
+ __metadata("design:type", Number)
99
+ ], Student.prototype, "courseId", void 0);
100
+ __decorate([
101
+ (0, typeorm_1.Column)({ nullable: true }),
102
+ __metadata("design:type", String)
103
+ ], Student.prototype, "branchCode", void 0);
104
+ __decorate([
105
+ (0, typeorm_1.Column)({ nullable: true }),
106
+ __metadata("design:type", String)
107
+ ], Student.prototype, "semester", void 0);
108
+ __decorate([
109
+ (0, typeorm_1.Column)(),
110
+ __metadata("design:type", Number)
111
+ ], Student.prototype, "semesterId", void 0);
112
+ __decorate([
113
+ (0, typeorm_1.Column)(),
114
+ __metadata("design:type", Number)
115
+ ], Student.prototype, "semNo", void 0);
116
+ __decorate([
117
+ (0, typeorm_1.Column)({ nullable: true }),
118
+ __metadata("design:type", String)
119
+ ], Student.prototype, "batch", void 0);
120
+ __decorate([
121
+ (0, typeorm_1.Column)(),
122
+ __metadata("design:type", Number)
123
+ ], Student.prototype, "batchId", void 0);
124
+ __decorate([
125
+ (0, typeorm_1.Column)(),
126
+ __metadata("design:type", Number)
127
+ ], Student.prototype, "curriculumId", void 0);
128
+ __decorate([
129
+ (0, typeorm_1.Column)(),
130
+ __metadata("design:type", Number)
131
+ ], Student.prototype, "programId", void 0);
132
+ __decorate([
133
+ (0, typeorm_1.Column)({ nullable: true }),
134
+ __metadata("design:type", String)
135
+ ], Student.prototype, "mobile", void 0);
136
+ __decorate([
137
+ (0, typeorm_1.Column)({ nullable: true }),
138
+ __metadata("design:type", String)
139
+ ], Student.prototype, "alternateMobile", void 0);
140
+ __decorate([
141
+ (0, typeorm_1.Column)({ nullable: true }),
142
+ __metadata("design:type", String)
143
+ ], Student.prototype, "email", void 0);
144
+ __decorate([
145
+ (0, typeorm_1.Column)(),
146
+ __metadata("design:type", String)
147
+ ], Student.prototype, "address", void 0);
148
+ __decorate([
149
+ (0, typeorm_1.Column)({ nullable: true }),
150
+ __metadata("design:type", String)
151
+ ], Student.prototype, "alternateEmail", void 0);
152
+ __decorate([
153
+ (0, typeorm_1.Column)(),
154
+ __metadata("design:type", String)
155
+ ], Student.prototype, "gender", void 0);
156
+ __decorate([
157
+ (0, typeorm_1.Column)(),
158
+ __metadata("design:type", String)
159
+ ], Student.prototype, "dob", void 0);
160
+ __decorate([
161
+ (0, typeorm_1.Column)({ nullable: true }),
162
+ __metadata("design:type", String)
163
+ ], Student.prototype, "parentName", void 0);
164
+ __decorate([
165
+ (0, typeorm_1.Column)({ nullable: true }),
166
+ __metadata("design:type", String)
167
+ ], Student.prototype, "parentMobile", void 0);
168
+ __decorate([
169
+ (0, typeorm_1.Column)({ nullable: true }),
170
+ __metadata("design:type", String)
171
+ ], Student.prototype, "parentOccupation", void 0);
172
+ __decorate([
173
+ (0, typeorm_1.Column)(),
174
+ __metadata("design:type", String)
175
+ ], Student.prototype, "fatherName", void 0);
176
+ __decorate([
177
+ (0, typeorm_1.Column)({ nullable: true }),
178
+ __metadata("design:type", String)
179
+ ], Student.prototype, "motherName", void 0);
180
+ __decorate([
181
+ (0, typeorm_1.Column)({ nullable: true }),
182
+ __metadata("design:type", String)
183
+ ], Student.prototype, "motherOccupation", void 0);
184
+ __decorate([
185
+ (0, typeorm_1.Column)({ nullable: true }),
186
+ __metadata("design:type", String)
187
+ ], Student.prototype, "motherTongue", void 0);
188
+ __decorate([
189
+ (0, typeorm_1.Column)({ nullable: true }),
190
+ __metadata("design:type", String)
191
+ ], Student.prototype, "nationality", void 0);
192
+ __decorate([
193
+ (0, typeorm_1.Column)({ nullable: true }),
194
+ __metadata("design:type", String)
195
+ ], Student.prototype, "religion", void 0);
196
+ __decorate([
197
+ (0, typeorm_1.Column)({ nullable: true }),
198
+ __metadata("design:type", String)
199
+ ], Student.prototype, "caste", void 0);
200
+ __decorate([
201
+ (0, typeorm_1.Column)({ nullable: true }),
202
+ __metadata("design:type", Boolean)
203
+ ], Student.prototype, "hasScholarship", void 0);
204
+ __decorate([
205
+ (0, typeorm_1.Column)({ type: 'date', nullable: true }),
206
+ __metadata("design:type", String)
207
+ ], Student.prototype, "admissionDate", void 0);
208
+ __decorate([
209
+ (0, typeorm_1.Column)({ default: false, nullable: true }),
210
+ __metadata("design:type", Boolean)
211
+ ], Student.prototype, "discontinued", void 0);
212
+ __decorate([
213
+ (0, typeorm_1.Column)({ type: 'date', nullable: true }),
214
+ __metadata("design:type", String)
215
+ ], Student.prototype, "discontinuedDate", void 0);
216
+ __decorate([
217
+ (0, typeorm_1.Column)({ nullable: true }),
218
+ __metadata("design:type", String)
219
+ ], Student.prototype, "yearOfPass", void 0);
220
+ __decorate([
221
+ (0, typeorm_1.Column)({ default: false, nullable: true }),
222
+ __metadata("design:type", Boolean)
223
+ ], Student.prototype, "spotAdmission", void 0);
224
+ __decorate([
225
+ (0, typeorm_1.Column)({ default: false, nullable: true }),
226
+ __metadata("design:type", Boolean)
227
+ ], Student.prototype, "detainee", void 0);
228
+ __decorate([
229
+ (0, typeorm_1.Column)({ nullable: true }),
230
+ __metadata("design:type", String)
231
+ ], Student.prototype, "aadhaarNo", void 0);
232
+ __decorate([
233
+ (0, typeorm_1.Column)({ nullable: true }),
234
+ __metadata("design:type", Number)
235
+ ], Student.prototype, "userId", void 0);
236
+ __decorate([
237
+ (0, typeorm_1.Column)(),
238
+ __metadata("design:type", String)
239
+ ], Student.prototype, "section", void 0);
240
+ __decorate([
241
+ (0, typeorm_1.Column)(),
242
+ __metadata("design:type", Number)
243
+ ], Student.prototype, "classroomId", void 0);
244
+ __decorate([
245
+ (0, typeorm_1.Column)(),
246
+ __metadata("design:type", Boolean)
247
+ ], Student.prototype, "detained", void 0);
248
+ __decorate([
249
+ (0, typeorm_1.Column)(),
250
+ __metadata("design:type", String)
251
+ ], Student.prototype, "detained_reason", void 0);
252
+ __decorate([
253
+ (0, typeorm_1.Column)(),
254
+ __metadata("design:type", Boolean)
255
+ ], Student.prototype, "transferred", void 0);
256
+ __decorate([
257
+ (0, typeorm_1.Column)({ default: false, nullable: true }),
258
+ __metadata("design:type", Boolean)
259
+ ], Student.prototype, "physicallyChallenged", void 0);
260
+ __decorate([
261
+ (0, typeorm_1.Column)(),
262
+ __metadata("design:type", String)
263
+ ], Student.prototype, "identificationMark1", void 0);
264
+ __decorate([
265
+ (0, typeorm_1.Column)(),
266
+ __metadata("design:type", String)
267
+ ], Student.prototype, "identificationMark2", void 0);
268
+ __decorate([
269
+ (0, typeorm_1.CreateDateColumn)(),
270
+ __metadata("design:type", String)
271
+ ], Student.prototype, "createdAt", void 0);
272
+ __decorate([
273
+ (0, typeorm_1.UpdateDateColumn)(),
274
+ __metadata("design:type", String)
275
+ ], Student.prototype, "updatedAt", void 0);
276
+ Student = __decorate([
277
+ (0, typeorm_1.Entity)()
278
+ ], Student);
279
+ exports.Student = Student;
280
280
  //# sourceMappingURL=student.entity.js.map
@@ -1,24 +1,24 @@
1
- import { Department } from './department.entity';
2
- import { Profile } from './profile.entity';
3
- export declare class User {
4
- id: number;
5
- type: string;
6
- fullName: string;
7
- username: string;
8
- email: string;
9
- mobile: string;
10
- password: string;
11
- isActive: boolean;
12
- isSuperuser: boolean;
13
- roleId: number;
14
- departmentId: number;
15
- department: Department;
16
- pictureId: number;
17
- profiles: Profile[];
18
- schoolId: number;
19
- createdAt: string;
20
- updatedAt: string;
21
- verifyPassword(plainTextPassword: string): Promise<boolean>;
22
- hashPassword(): Promise<void>;
23
- }
1
+ import { Department } from './department.entity';
2
+ import { Profile } from './profile.entity';
3
+ export declare class User {
4
+ id: number;
5
+ type: string;
6
+ fullName: string;
7
+ username: string;
8
+ email: string;
9
+ mobile: string;
10
+ password: string;
11
+ isActive: boolean;
12
+ isSuperuser: boolean;
13
+ roleId: number;
14
+ departmentId: number;
15
+ department: Department;
16
+ pictureId: number;
17
+ profiles: Profile[];
18
+ schoolId: number;
19
+ createdAt: string;
20
+ updatedAt: string;
21
+ verifyPassword(plainTextPassword: string): Promise<boolean>;
22
+ hashPassword(): Promise<void>;
23
+ }
24
24
  //# sourceMappingURL=user.entity.d.ts.map