@campxdev/server-shared 1.3.25 → 1.3.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/decorators/batch-validation.decorator.d.ts +3 -0
- package/dist/common/decorators/batch-validation.decorator.d.ts.map +1 -0
- package/dist/common/decorators/batch-validation.decorator.js +27 -0
- package/dist/common/decorators/batch-validation.decorator.js.map +1 -0
- package/dist/common/filters/unhandled-exception.filter.js +2 -3
- package/dist/common/filters/unhandled-exception.filter.js.map +1 -1
- package/dist/common/guards/guard.d.ts +2 -0
- package/dist/common/guards/guard.d.ts.map +1 -1
- package/dist/common/guards/guard.js +6 -1
- package/dist/common/guards/guard.js.map +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +1 -1
- package/dist/common/index.js.map +1 -1
- package/dist/common/interceptors/request.interceptor.d.ts +6 -1
- package/dist/common/interceptors/request.interceptor.d.ts.map +1 -1
- package/dist/common/interceptors/request.interceptor.js +53 -13
- package/dist/common/interceptors/request.interceptor.js.map +1 -1
- package/dist/common/interfaces/context.interface.d.ts +62 -32
- package/dist/common/interfaces/context.interface.d.ts.map +1 -1
- package/dist/common/store/request-store.d.ts +27 -7
- package/dist/common/store/request-store.d.ts.map +1 -1
- package/dist/common/store/request-store.js +96 -23
- package/dist/common/store/request-store.js.map +1 -1
- package/dist/common/store/store.interceptor.js +2 -3
- package/dist/common/store/store.interceptor.js.map +1 -1
- package/dist/domain/db-connection.module.js +2 -3
- package/dist/domain/db-connection.module.js.map +1 -1
- package/dist/domain/entities/evaluator.entity.js +2 -16
- package/dist/domain/entities/evaluator.entity.js.map +1 -1
- package/dist/domain/entities/leads.entity.js +2 -26
- package/dist/domain/entities/leads.entity.js.map +1 -1
- package/dist/domain/entities/profile-permission.entity.d.ts +2 -0
- package/dist/domain/entities/profile-permission.entity.d.ts.map +1 -1
- package/dist/domain/entities/profile-permission.entity.js +7 -12
- package/dist/domain/entities/profile-permission.entity.js.map +1 -1
- package/dist/domain/entities/profile.entity.d.ts +17 -1
- package/dist/domain/entities/profile.entity.d.ts.map +1 -1
- package/dist/domain/entities/profile.entity.js +45 -14
- package/dist/domain/entities/profile.entity.js.map +1 -1
- package/dist/domain/entities/student.entity.d.ts +11 -31
- package/dist/domain/entities/student.entity.d.ts.map +1 -1
- package/dist/domain/entities/student.entity.js +38 -170
- package/dist/domain/entities/student.entity.js.map +1 -1
- package/dist/domain/entities/user.entity.d.ts +0 -3
- package/dist/domain/entities/user.entity.d.ts.map +1 -1
- package/dist/domain/entities/user.entity.js +2 -29
- package/dist/domain/entities/user.entity.js.map +1 -1
- package/dist/domain/index.d.ts +8 -2
- package/dist/domain/index.d.ts.map +1 -1
- package/dist/domain/index.js +8 -2
- package/dist/domain/index.js.map +1 -1
- package/dist/domain/schemas/admission.schema.d.ts +257 -0
- package/dist/domain/schemas/admission.schema.d.ts.map +1 -0
- package/dist/domain/schemas/admission.schema.js +707 -0
- package/dist/domain/schemas/admission.schema.js.map +1 -0
- package/dist/domain/schemas/course.schema.d.ts +54 -0
- package/dist/domain/schemas/course.schema.d.ts.map +1 -0
- package/dist/domain/schemas/course.schema.js +89 -0
- package/dist/domain/schemas/course.schema.js.map +1 -0
- package/dist/domain/schemas/global-users.schema.d.ts +12 -3
- package/dist/domain/schemas/global-users.schema.d.ts.map +1 -1
- package/dist/domain/schemas/global-users.schema.js +46 -23
- package/dist/domain/schemas/global-users.schema.js.map +1 -1
- package/dist/domain/schemas/institution.schema.d.ts +53 -0
- package/dist/domain/schemas/institution.schema.d.ts.map +1 -0
- package/dist/domain/schemas/institution.schema.js +94 -0
- package/dist/domain/schemas/institution.schema.js.map +1 -0
- package/dist/domain/schemas/media-record.schema.d.ts +53 -0
- package/dist/domain/schemas/media-record.schema.d.ts.map +1 -0
- package/dist/domain/schemas/media-record.schema.js +86 -0
- package/dist/domain/schemas/media-record.schema.js.map +1 -0
- package/dist/domain/schemas/program.schema.d.ts +49 -0
- package/dist/domain/schemas/program.schema.d.ts.map +1 -0
- package/dist/domain/schemas/program.schema.js +81 -0
- package/dist/domain/schemas/program.schema.js.map +1 -0
- package/dist/domain/schemas/quota.schema.d.ts +47 -0
- package/dist/domain/schemas/quota.schema.d.ts.map +1 -0
- package/dist/domain/schemas/quota.schema.js +64 -0
- package/dist/domain/schemas/quota.schema.js.map +1 -0
- package/dist/domain/schemas/semester.schema.d.ts +50 -0
- package/dist/domain/schemas/semester.schema.d.ts.map +1 -0
- package/dist/domain/schemas/semester.schema.js +84 -0
- package/dist/domain/schemas/semester.schema.js.map +1 -0
- package/dist/domain/schemas/sub-schemas.schema.d.ts +270 -0
- package/dist/domain/schemas/sub-schemas.schema.d.ts.map +1 -0
- package/dist/domain/schemas/sub-schemas.schema.js +904 -0
- package/dist/domain/schemas/sub-schemas.schema.js.map +1 -0
- package/dist/domain/schemas/tenant.schema.d.ts +89 -35
- package/dist/domain/schemas/tenant.schema.d.ts.map +1 -1
- package/dist/domain/schemas/tenant.schema.js +274 -85
- package/dist/domain/schemas/tenant.schema.js.map +1 -1
- package/dist/domain/shared-domain.module.js +2 -3
- package/dist/domain/shared-domain.module.js.map +1 -1
- package/dist/permissions/app-permissions/commute-x-permissions.d.ts +119 -0
- package/dist/permissions/app-permissions/commute-x-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/commute-x-permissions.js +129 -0
- package/dist/permissions/app-permissions/commute-x-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/enroll-x-permissions.d.ts +538 -0
- package/dist/permissions/app-permissions/enroll-x-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/enroll-x-permissions.js +876 -0
- package/dist/permissions/app-permissions/enroll-x-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/exams-permissions.d.ts +912 -0
- package/dist/permissions/app-permissions/exams-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/exams-permissions.js +1702 -0
- package/dist/permissions/app-permissions/exams-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/hostels-permissions.d.ts +452 -0
- package/dist/permissions/app-permissions/hostels-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/hostels-permissions.js +580 -0
- package/dist/permissions/app-permissions/hostels-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/payments-permissions.d.ts +473 -0
- package/dist/permissions/app-permissions/payments-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/payments-permissions.js +794 -0
- package/dist/permissions/app-permissions/payments-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/people-x-permissions.d.ts +434 -0
- package/dist/permissions/app-permissions/people-x-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/people-x-permissions.js +530 -0
- package/dist/permissions/app-permissions/people-x-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/square-permissions.d.ts +1673 -0
- package/dist/permissions/app-permissions/square-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/square-permissions.js +3024 -0
- package/dist/permissions/app-permissions/square-permissions.js.map +1 -0
- package/dist/permissions/check-permission.guard.d.ts +5 -46
- package/dist/permissions/check-permission.guard.d.ts.map +1 -1
- package/dist/permissions/check-permission.guard.js +14 -8
- package/dist/permissions/check-permission.guard.js.map +1 -1
- package/dist/permissions/index.d.ts +7 -0
- package/dist/permissions/index.d.ts.map +1 -1
- package/dist/permissions/index.js +15 -0
- package/dist/permissions/index.js.map +1 -1
- package/dist/permissions/permissions.d.ts +8021 -762
- package/dist/permissions/permissions.d.ts.map +1 -1
- package/dist/permissions/permissions.js +94 -1916
- package/dist/permissions/permissions.js.map +1 -1
- package/dist/shared-module/shared.module.d.ts +1 -0
- package/dist/shared-module/shared.module.d.ts.map +1 -1
- package/dist/shared-module/shared.module.js +2 -3
- package/dist/shared-module/shared.module.js.map +1 -1
- package/dist/shared-module/shared.service.d.ts +11 -2
- package/dist/shared-module/shared.service.d.ts.map +1 -1
- package/dist/shared-module/shared.service.js +73 -20
- package/dist/shared-module/shared.service.js.map +1 -1
- package/dist/utils/constants.d.ts +19 -4
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/constants.js +15 -5
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/utils.d.ts +29 -3
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +132 -12
- package/dist/utils/utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/common/databases/mongoose.repository.d.ts +0 -41
- package/dist/common/databases/mongoose.repository.d.ts.map +0 -1
- package/dist/common/databases/mongoose.repository.js +0 -95
- package/dist/common/databases/mongoose.repository.js.map +0 -1
- package/dist/domain/entities/department.entity.d.ts +0 -10
- package/dist/domain/entities/department.entity.d.ts.map +0 -1
- package/dist/domain/entities/department.entity.js +0 -51
- package/dist/domain/entities/department.entity.js.map +0 -1
- package/dist/domain/entities/program.entity.d.ts +0 -14
- package/dist/domain/entities/program.entity.d.ts.map +0 -1
- package/dist/domain/entities/program.entity.js +0 -71
- package/dist/domain/entities/program.entity.js.map +0 -1
|
@@ -15,120 +15,57 @@ var Gender;
|
|
|
15
15
|
(function (Gender) {
|
|
16
16
|
Gender["Male"] = "male";
|
|
17
17
|
Gender["Female"] = "female";
|
|
18
|
-
})(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;
|
|
18
|
+
})(Gender || (exports.Gender = Gender = {}));
|
|
19
|
+
let Student = exports.Student = class Student {
|
|
71
20
|
};
|
|
72
21
|
__decorate([
|
|
73
22
|
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
74
23
|
__metadata("design:type", Number)
|
|
75
24
|
], Student.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], Student.prototype, "institutionId", void 0);
|
|
76
29
|
__decorate([
|
|
77
30
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
78
31
|
__metadata("design:type", Number)
|
|
79
|
-
], Student.prototype, "
|
|
32
|
+
], Student.prototype, "userId", void 0);
|
|
80
33
|
__decorate([
|
|
81
34
|
(0, typeorm_1.Column)(),
|
|
82
35
|
__metadata("design:type", String)
|
|
83
36
|
], Student.prototype, "rollNo", void 0);
|
|
84
37
|
__decorate([
|
|
85
|
-
(0, typeorm_1.Column)(
|
|
38
|
+
(0, typeorm_1.Column)(),
|
|
86
39
|
__metadata("design:type", String)
|
|
87
40
|
], Student.prototype, "fullName", void 0);
|
|
88
41
|
__decorate([
|
|
89
|
-
(0, typeorm_1.Column)(),
|
|
42
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
90
43
|
__metadata("design:type", Number)
|
|
91
44
|
], Student.prototype, "photoId", void 0);
|
|
92
45
|
__decorate([
|
|
93
|
-
(0, typeorm_1.Column)(
|
|
46
|
+
(0, typeorm_1.Column)(),
|
|
94
47
|
__metadata("design:type", String)
|
|
95
|
-
], Student.prototype, "
|
|
48
|
+
], Student.prototype, "batch", void 0);
|
|
96
49
|
__decorate([
|
|
97
|
-
(0, typeorm_1.Column)(
|
|
50
|
+
(0, typeorm_1.Column)(),
|
|
98
51
|
__metadata("design:type", Number)
|
|
99
52
|
], 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
53
|
__decorate([
|
|
109
54
|
(0, typeorm_1.Column)(),
|
|
110
55
|
__metadata("design:type", Number)
|
|
111
|
-
], Student.prototype, "
|
|
56
|
+
], Student.prototype, "programId", void 0);
|
|
112
57
|
__decorate([
|
|
113
58
|
(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
59
|
__metadata("design:type", String)
|
|
119
|
-
], Student.prototype, "
|
|
120
|
-
__decorate([
|
|
121
|
-
(0, typeorm_1.Column)(),
|
|
122
|
-
__metadata("design:type", Number)
|
|
123
|
-
], Student.prototype, "batchId", void 0);
|
|
60
|
+
], Student.prototype, "branchCode", void 0);
|
|
124
61
|
__decorate([
|
|
125
62
|
(0, typeorm_1.Column)(),
|
|
126
63
|
__metadata("design:type", Number)
|
|
127
|
-
], Student.prototype, "
|
|
64
|
+
], Student.prototype, "semNo", void 0);
|
|
128
65
|
__decorate([
|
|
129
66
|
(0, typeorm_1.Column)(),
|
|
130
67
|
__metadata("design:type", Number)
|
|
131
|
-
], Student.prototype, "
|
|
68
|
+
], Student.prototype, "classroomId", void 0);
|
|
132
69
|
__decorate([
|
|
133
70
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
134
71
|
__metadata("design:type", String)
|
|
@@ -141,10 +78,6 @@ __decorate([
|
|
|
141
78
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
142
79
|
__metadata("design:type", String)
|
|
143
80
|
], Student.prototype, "email", void 0);
|
|
144
|
-
__decorate([
|
|
145
|
-
(0, typeorm_1.Column)(),
|
|
146
|
-
__metadata("design:type", String)
|
|
147
|
-
], Student.prototype, "address", void 0);
|
|
148
81
|
__decorate([
|
|
149
82
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
150
83
|
__metadata("design:type", String)
|
|
@@ -152,119 +85,51 @@ __decorate([
|
|
|
152
85
|
__decorate([
|
|
153
86
|
(0, typeorm_1.Column)(),
|
|
154
87
|
__metadata("design:type", String)
|
|
155
|
-
], Student.prototype, "
|
|
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);
|
|
88
|
+
], Student.prototype, "address", void 0);
|
|
172
89
|
__decorate([
|
|
173
90
|
(0, typeorm_1.Column)(),
|
|
174
91
|
__metadata("design:type", String)
|
|
175
|
-
], Student.prototype, "
|
|
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);
|
|
92
|
+
], Student.prototype, "gender", void 0);
|
|
200
93
|
__decorate([
|
|
201
|
-
(0, typeorm_1.Column)({
|
|
94
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
202
95
|
__metadata("design:type", Boolean)
|
|
203
96
|
], Student.prototype, "hasScholarship", void 0);
|
|
204
97
|
__decorate([
|
|
205
|
-
(0, typeorm_1.Column)({
|
|
206
|
-
__metadata("design:type", String)
|
|
207
|
-
], Student.prototype, "admissionDate", void 0);
|
|
208
|
-
__decorate([
|
|
209
|
-
(0, typeorm_1.Column)({ default: false, nullable: true }),
|
|
98
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
210
99
|
__metadata("design:type", Boolean)
|
|
211
|
-
], Student.prototype, "
|
|
212
|
-
__decorate([
|
|
213
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
214
|
-
__metadata("design:type", String)
|
|
215
|
-
], Student.prototype, "discontinuedDate", void 0);
|
|
100
|
+
], Student.prototype, "detained", void 0);
|
|
216
101
|
__decorate([
|
|
217
102
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
218
103
|
__metadata("design:type", String)
|
|
219
|
-
], Student.prototype, "
|
|
104
|
+
], Student.prototype, "detainedReason", void 0);
|
|
220
105
|
__decorate([
|
|
221
|
-
(0, typeorm_1.Column)({ default: false
|
|
106
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
222
107
|
__metadata("design:type", Boolean)
|
|
223
|
-
], Student.prototype, "
|
|
108
|
+
], Student.prototype, "cancelled", void 0);
|
|
224
109
|
__decorate([
|
|
225
|
-
(0, typeorm_1.Column)({ default: false
|
|
110
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
226
111
|
__metadata("design:type", Boolean)
|
|
227
|
-
], Student.prototype, "
|
|
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);
|
|
112
|
+
], Student.prototype, "discontinued", void 0);
|
|
236
113
|
__decorate([
|
|
237
114
|
(0, typeorm_1.Column)(),
|
|
238
115
|
__metadata("design:type", String)
|
|
239
|
-
], Student.prototype, "
|
|
240
|
-
__decorate([
|
|
241
|
-
(0, typeorm_1.Column)(),
|
|
242
|
-
__metadata("design:type", Number)
|
|
243
|
-
], Student.prototype, "classroomId", void 0);
|
|
116
|
+
], Student.prototype, "discontinuedDate", void 0);
|
|
244
117
|
__decorate([
|
|
245
|
-
(0, typeorm_1.Column)(),
|
|
118
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
246
119
|
__metadata("design:type", Boolean)
|
|
247
|
-
], Student.prototype, "
|
|
120
|
+
], Student.prototype, "detainee", void 0);
|
|
248
121
|
__decorate([
|
|
249
|
-
(0, typeorm_1.Column)(),
|
|
122
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
250
123
|
__metadata("design:type", String)
|
|
251
|
-
], Student.prototype, "
|
|
124
|
+
], Student.prototype, "cancelledReason", void 0);
|
|
252
125
|
__decorate([
|
|
253
|
-
(0, typeorm_1.Column)(),
|
|
126
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
254
127
|
__metadata("design:type", Boolean)
|
|
255
128
|
], Student.prototype, "transferred", void 0);
|
|
256
129
|
__decorate([
|
|
257
|
-
(0, typeorm_1.Column)({ default: false
|
|
130
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
258
131
|
__metadata("design:type", Boolean)
|
|
259
132
|
], 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
133
|
__decorate([
|
|
269
134
|
(0, typeorm_1.CreateDateColumn)(),
|
|
270
135
|
__metadata("design:type", String)
|
|
@@ -273,8 +138,11 @@ __decorate([
|
|
|
273
138
|
(0, typeorm_1.UpdateDateColumn)(),
|
|
274
139
|
__metadata("design:type", String)
|
|
275
140
|
], Student.prototype, "updatedAt", void 0);
|
|
276
|
-
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, typeorm_1.Column)(),
|
|
143
|
+
__metadata("design:type", String)
|
|
144
|
+
], Student.prototype, "admissionDate", void 0);
|
|
145
|
+
exports.Student = Student = __decorate([
|
|
277
146
|
(0, typeorm_1.Entity)()
|
|
278
147
|
], Student);
|
|
279
|
-
exports.Student = Student;
|
|
280
148
|
//# sourceMappingURL=student.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"student.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/student.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AAEjB,IAAY,MAGX;AAHD,WAAY,MAAM;IAChB,uBAAa,CAAA;IACb,2BAAiB,CAAA;AACnB,CAAC,EAHW,MAAM,
|
|
1
|
+
{"version":3,"file":"student.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/student.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AAEjB,IAAY,MAGX;AAHD,WAAY,MAAM;IAChB,uBAAa,CAAA;IACb,2BAAiB,CAAA;AACnB,CAAC,EAHW,MAAM,sBAAN,MAAM,QAGjB;AAGM,IAAM,OAAO,qBAAb,MAAM,OAAO;CA6FnB,CAAA;AA3FC;IADC,IAAA,gCAAsB,GAAE;;mCACd;AAGX;IADC,IAAA,gBAAM,GAAE;;8CACa;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACZ;AAGf;IADC,IAAA,gBAAM,GAAE;;uCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;yCACQ;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACX;AAGhB;IADC,IAAA,gBAAM,GAAE;;sCACK;AAGd;IADC,IAAA,gBAAM,GAAE;;yCACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;0CACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;2CACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;sCACK;AAGd;IADC,IAAA,gBAAM,GAAE;;4CACW;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACZ;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACH;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sCACb;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACJ;AAGvB;IADC,IAAA,gBAAM,GAAE;;wCACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;uCACM;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACH;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;yCACT;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACJ;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;0CACR;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CACL;AAGtB;IADC,IAAA,gBAAM,GAAE;;iDACgB;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;yCACT;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACH;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;4CACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;qDACG;AAG9B;IADC,IAAA,0BAAgB,GAAE;;0CACD;AAGlB;IADC,IAAA,0BAAgB,GAAE;;0CACD;AAGlB;IADC,IAAA,gBAAM,GAAE;;8CACa;kBA5FX,OAAO;IADnB,IAAA,gBAAM,GAAE;GACI,OAAO,CA6FnB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Department } from './department.entity';
|
|
2
1
|
import { Profile } from './profile.entity';
|
|
3
2
|
export declare class User {
|
|
4
3
|
id: number;
|
|
@@ -12,10 +11,8 @@ export declare class User {
|
|
|
12
11
|
isSuperuser: boolean;
|
|
13
12
|
roleId: number;
|
|
14
13
|
departmentId: number;
|
|
15
|
-
department: Department;
|
|
16
14
|
pictureId: number;
|
|
17
15
|
profiles: Profile[];
|
|
18
|
-
schoolId: number;
|
|
19
16
|
createdAt: string;
|
|
20
17
|
updatedAt: string;
|
|
21
18
|
verifyPassword(plainTextPassword: string): Promise<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.d.ts","sourceRoot":"","sources":["../../../src/domain/entities/user.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user.entity.d.ts","sourceRoot":"","sources":["../../../src/domain/entities/user.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,qBACa,IAAI;IAEf,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,OAAO,CAAC;IAGlB,WAAW,EAAE,OAAO,CAAC;IAGrB,MAAM,EAAE,MAAM,CAAC;IAGf,YAAY,EAAE,MAAM,CAAC;IAGrB,SAAS,EAAE,MAAM,CAAC;IAQlB,QAAQ,EAAE,OAAO,EAAE,CAAC;IAGpB,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,MAAM,CAAC;IAEZ,cAAc,CAAC,iBAAiB,EAAE,MAAM;IAKxC,YAAY;CAGnB"}
|
|
@@ -35,26 +35,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
35
35
|
exports.User = void 0;
|
|
36
36
|
const bcrypt = __importStar(require("bcrypt"));
|
|
37
37
|
const typeorm_1 = require("typeorm");
|
|
38
|
-
const department_entity_1 = require("./department.entity");
|
|
39
38
|
const profile_entity_1 = require("./profile.entity");
|
|
40
|
-
let User = class User {
|
|
41
|
-
id;
|
|
42
|
-
type;
|
|
43
|
-
fullName;
|
|
44
|
-
username;
|
|
45
|
-
email;
|
|
46
|
-
mobile;
|
|
47
|
-
password;
|
|
48
|
-
isActive;
|
|
49
|
-
isSuperuser;
|
|
50
|
-
roleId;
|
|
51
|
-
departmentId;
|
|
52
|
-
department;
|
|
53
|
-
pictureId;
|
|
54
|
-
profiles;
|
|
55
|
-
schoolId;
|
|
56
|
-
createdAt;
|
|
57
|
-
updatedAt;
|
|
39
|
+
let User = exports.User = class User {
|
|
58
40
|
async verifyPassword(plainTextPassword) {
|
|
59
41
|
return bcrypt.compare(plainTextPassword, this.password);
|
|
60
42
|
}
|
|
@@ -106,10 +88,6 @@ __decorate([
|
|
|
106
88
|
(0, typeorm_1.Column)(),
|
|
107
89
|
__metadata("design:type", Number)
|
|
108
90
|
], User.prototype, "departmentId", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
(0, typeorm_1.ManyToOne)(() => department_entity_1.Department),
|
|
111
|
-
__metadata("design:type", department_entity_1.Department)
|
|
112
|
-
], User.prototype, "department", void 0);
|
|
113
91
|
__decorate([
|
|
114
92
|
(0, typeorm_1.Column)(),
|
|
115
93
|
__metadata("design:type", Number)
|
|
@@ -123,10 +101,6 @@ __decorate([
|
|
|
123
101
|
}),
|
|
124
102
|
__metadata("design:type", Array)
|
|
125
103
|
], User.prototype, "profiles", void 0);
|
|
126
|
-
__decorate([
|
|
127
|
-
(0, typeorm_1.Column)(),
|
|
128
|
-
__metadata("design:type", Number)
|
|
129
|
-
], User.prototype, "schoolId", void 0);
|
|
130
104
|
__decorate([
|
|
131
105
|
(0, typeorm_1.CreateDateColumn)(),
|
|
132
106
|
__metadata("design:type", String)
|
|
@@ -141,8 +115,7 @@ __decorate([
|
|
|
141
115
|
__metadata("design:paramtypes", []),
|
|
142
116
|
__metadata("design:returntype", Promise)
|
|
143
117
|
], User.prototype, "hashPassword", null);
|
|
144
|
-
User = __decorate([
|
|
118
|
+
exports.User = User = __decorate([
|
|
145
119
|
(0, typeorm_1.Entity)()
|
|
146
120
|
], User);
|
|
147
|
-
exports.User = User;
|
|
148
121
|
//# sourceMappingURL=user.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,
|
|
1
|
+
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,qCASiB;AACjB,qDAA2C;AAGpC,IAAM,IAAI,kBAAV,MAAM,IAAI;IAmDf,KAAK,CAAC,cAAc,CAAC,iBAAyB;QAC5C,OAAO,MAAM,CAAC,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1D,CAAC;IAGK,AAAN,KAAK,CAAC,YAAY;QAChB,IAAI,CAAC,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IACvD,CAAC;CACF,CAAA;AAzDC;IADC,IAAA,gCAAsB,GAAE;;gCACd;AAGX;IADC,IAAA,gBAAM,GAAE;;kCACI;AAGb;IADC,IAAA,gBAAM,GAAE;;sCACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;sCACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;mCACK;AAGd;IADC,IAAA,gBAAM,GAAE;;oCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;sCACQ;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;sCACR;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;yCACN;AAGrB;IADC,IAAA,gBAAM,GAAE;;oCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;0CACY;AAGrB;IADC,IAAA,gBAAM,GAAE;;uCACS;AAQlB;IANC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,wBAAO,CAAC;IACzB,IAAA,mBAAS,EAAC;QACT,IAAI,EAAE,eAAe;QACrB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;QAC/B,iBAAiB,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE;KAC1C,CAAC;;sCACkB;AAGpB;IADC,IAAA,0BAAgB,GAAE;;uCACD;AAGlB;IADC,IAAA,0BAAgB,GAAE;;uCACD;AAOZ;IADL,IAAA,sBAAY,GAAE;;;;wCAGd;eA1DU,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CA2DhB"}
|
package/dist/domain/index.d.ts
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
export * from './db-connection.module';
|
|
2
|
-
export * from './entities/department.entity';
|
|
3
2
|
export * from './entities/evaluator.entity';
|
|
4
3
|
export * from './entities/leads.entity';
|
|
5
4
|
export * from './entities/profile-permission.entity';
|
|
6
5
|
export * from './entities/profile.entity';
|
|
7
|
-
export * from './entities/program.entity';
|
|
8
6
|
export * from './entities/student.entity';
|
|
9
7
|
export * from './entities/user.entity';
|
|
8
|
+
export * from './schemas/admission.schema';
|
|
9
|
+
export * from './schemas/course.schema';
|
|
10
10
|
export * from './schemas/global-users.schema';
|
|
11
|
+
export * from './schemas/institution.schema';
|
|
12
|
+
export * from './schemas/media-record.schema';
|
|
13
|
+
export * from './schemas/program.schema';
|
|
14
|
+
export * from './schemas/quota.schema';
|
|
15
|
+
export * from './schemas/semester.schema';
|
|
16
|
+
export * from './schemas/sub-schemas.schema';
|
|
11
17
|
export * from './schemas/tenant.schema';
|
|
12
18
|
export * from './shared-domain.module';
|
|
13
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sCAAsC,CAAC;AACrD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC"}
|
package/dist/domain/index.js
CHANGED
|
@@ -15,15 +15,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./db-connection.module"), exports);
|
|
18
|
-
__exportStar(require("./entities/department.entity"), exports);
|
|
19
18
|
__exportStar(require("./entities/evaluator.entity"), exports);
|
|
20
19
|
__exportStar(require("./entities/leads.entity"), exports);
|
|
21
20
|
__exportStar(require("./entities/profile-permission.entity"), exports);
|
|
22
21
|
__exportStar(require("./entities/profile.entity"), exports);
|
|
23
|
-
__exportStar(require("./entities/program.entity"), exports);
|
|
24
22
|
__exportStar(require("./entities/student.entity"), exports);
|
|
25
23
|
__exportStar(require("./entities/user.entity"), exports);
|
|
24
|
+
__exportStar(require("./schemas/admission.schema"), exports);
|
|
25
|
+
__exportStar(require("./schemas/course.schema"), exports);
|
|
26
26
|
__exportStar(require("./schemas/global-users.schema"), exports);
|
|
27
|
+
__exportStar(require("./schemas/institution.schema"), exports);
|
|
28
|
+
__exportStar(require("./schemas/media-record.schema"), exports);
|
|
29
|
+
__exportStar(require("./schemas/program.schema"), exports);
|
|
30
|
+
__exportStar(require("./schemas/quota.schema"), exports);
|
|
31
|
+
__exportStar(require("./schemas/semester.schema"), exports);
|
|
32
|
+
__exportStar(require("./schemas/sub-schemas.schema"), exports);
|
|
27
33
|
__exportStar(require("./schemas/tenant.schema"), exports);
|
|
28
34
|
__exportStar(require("./shared-domain.module"), exports);
|
|
29
35
|
//# sourceMappingURL=index.js.map
|
package/dist/domain/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/domain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/domain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,8DAA4C;AAC5C,0DAAwC;AACxC,uEAAqD;AACrD,4DAA0C;AAC1C,4DAA0C;AAC1C,yDAAuC;AACvC,6DAA2C;AAC3C,0DAAwC;AACxC,gEAA8C;AAC9C,+DAA6C;AAC7C,gEAA8C;AAC9C,2DAAyC;AACzC,yDAAuC;AACvC,4DAA0C;AAC1C,+DAA6C;AAC7C,0DAAwC;AACxC,yDAAuC"}
|