@tudopz/model 2.28.2 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/model/high-school-record.d.ts +9 -7
- package/src/model/high-school-record.js +13 -5
- package/src/model/high-school-record.js.map +1 -1
- package/src/model/student-service-membership.d.ts +0 -4
- package/src/model/student-service-membership.js +0 -16
- package/src/model/student-service-membership.js.map +1 -1
package/package.json
CHANGED
|
@@ -3,14 +3,16 @@ import { School } from './school';
|
|
|
3
3
|
import { User } from './user';
|
|
4
4
|
export declare class HighSchoolRecord {
|
|
5
5
|
id: number;
|
|
6
|
-
currentGrade
|
|
7
|
-
yearEnterCollege
|
|
8
|
-
areaOfStudy
|
|
6
|
+
currentGrade?: string;
|
|
7
|
+
yearEnterCollege?: number;
|
|
8
|
+
areaOfStudy?: string;
|
|
9
9
|
courseGrades: string;
|
|
10
|
-
educationSystemId
|
|
11
|
-
schoolId
|
|
10
|
+
educationSystemId?: number;
|
|
11
|
+
schoolId?: number;
|
|
12
12
|
userId: number;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
yearFinalExam?: number;
|
|
14
|
+
monthFinalExam?: number;
|
|
15
|
+
school?: School;
|
|
16
|
+
educationSystem?: EducationSystem;
|
|
15
17
|
user: User;
|
|
16
18
|
}
|
|
@@ -13,15 +13,15 @@ tslib_1.__decorate([
|
|
|
13
13
|
tslib_1.__metadata("design:type", Number)
|
|
14
14
|
], HighSchoolRecord.prototype, "id", void 0);
|
|
15
15
|
tslib_1.__decorate([
|
|
16
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 128 }),
|
|
16
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128, nullable: true }),
|
|
17
17
|
tslib_1.__metadata("design:type", String)
|
|
18
18
|
], HighSchoolRecord.prototype, "currentGrade", void 0);
|
|
19
19
|
tslib_1.__decorate([
|
|
20
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
20
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
21
21
|
tslib_1.__metadata("design:type", Number)
|
|
22
22
|
], HighSchoolRecord.prototype, "yearEnterCollege", void 0);
|
|
23
23
|
tslib_1.__decorate([
|
|
24
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 128 }),
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128, nullable: true }),
|
|
25
25
|
tslib_1.__metadata("design:type", String)
|
|
26
26
|
], HighSchoolRecord.prototype, "areaOfStudy", void 0);
|
|
27
27
|
tslib_1.__decorate([
|
|
@@ -29,17 +29,25 @@ tslib_1.__decorate([
|
|
|
29
29
|
tslib_1.__metadata("design:type", String)
|
|
30
30
|
], HighSchoolRecord.prototype, "courseGrades", void 0);
|
|
31
31
|
tslib_1.__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
33
33
|
tslib_1.__metadata("design:type", Number)
|
|
34
34
|
], HighSchoolRecord.prototype, "educationSystemId", void 0);
|
|
35
35
|
tslib_1.__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
37
37
|
tslib_1.__metadata("design:type", Number)
|
|
38
38
|
], HighSchoolRecord.prototype, "schoolId", void 0);
|
|
39
39
|
tslib_1.__decorate([
|
|
40
40
|
(0, typeorm_1.Column)({ type: 'int' }),
|
|
41
41
|
tslib_1.__metadata("design:type", Number)
|
|
42
42
|
], HighSchoolRecord.prototype, "userId", void 0);
|
|
43
|
+
tslib_1.__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
45
|
+
tslib_1.__metadata("design:type", Number)
|
|
46
|
+
], HighSchoolRecord.prototype, "yearFinalExam", void 0);
|
|
47
|
+
tslib_1.__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
49
|
+
tslib_1.__metadata("design:type", Number)
|
|
50
|
+
], HighSchoolRecord.prototype, "monthFinalExam", void 0);
|
|
43
51
|
tslib_1.__decorate([
|
|
44
52
|
(0, typeorm_1.ManyToOne)(() => school_1.School),
|
|
45
53
|
(0, typeorm_1.JoinColumn)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"high-school-record.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/high-school-record.ts"],"names":[],"mappings":";;;;AAAA,qCAAkG;AAElG,yDAAqD;AACrD,qCAAkC;AAClC,iCAA8B;AAGvB,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;
|
|
1
|
+
{"version":3,"file":"high-school-record.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/high-school-record.ts"],"names":[],"mappings":";;;;AAAA,qCAAkG;AAElG,yDAAqD;AACrD,qCAAkC;AAClC,iCAA8B;AAGvB,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CA0C5B,CAAA;AAzCC;IAAC,IAAA,gCAAsB,GAAE;;4CACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACnC;AAEtB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACd;AAE1B;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACpC;AAErB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;sDACnB;AAErB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACb;AAE3B;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACtB;AAElB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;gDACT;AAEf;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACjB;AAEvB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDAChB;AAExB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,eAAM,CAAC;IACvB,IAAA,oBAAU,GAAE;sCACJ,eAAM;gDAAC;AAEhB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kCAAe,CAAC;IAChC,IAAA,oBAAU,GAAE;sCACK,kCAAe;yDAAC;AAElC;IAAC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC;IACrD,IAAA,oBAAU,GAAE;sCACP,WAAI;8CAAC;AAzCA,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;GAC3B,gBAAgB,CA0C5B;AA1CY,4CAAgB"}
|
|
@@ -2,10 +2,6 @@ import { StudentService } from './student-service';
|
|
|
2
2
|
import { StudentServiceMembershipLog } from './student-service-membership-log';
|
|
3
3
|
export declare class StudentServiceMembership {
|
|
4
4
|
id: number;
|
|
5
|
-
practiceTestAccess: boolean;
|
|
6
|
-
groupCourseAccess: boolean;
|
|
7
|
-
startDate: Date;
|
|
8
|
-
validUntil: Date;
|
|
9
5
|
purchasedHours: number;
|
|
10
6
|
scheduledHours: number;
|
|
11
7
|
usedHours: number;
|
|
@@ -19,22 +19,6 @@ tslib_1.__decorate([
|
|
|
19
19
|
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
20
|
tslib_1.__metadata("design:type", Number)
|
|
21
21
|
], StudentServiceMembership.prototype, "id", void 0);
|
|
22
|
-
tslib_1.__decorate([
|
|
23
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
24
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
25
|
-
], StudentServiceMembership.prototype, "practiceTestAccess", void 0);
|
|
26
|
-
tslib_1.__decorate([
|
|
27
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
28
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
29
|
-
], StudentServiceMembership.prototype, "groupCourseAccess", void 0);
|
|
30
|
-
tslib_1.__decorate([
|
|
31
|
-
(0, typeorm_1.Column)({ type: 'date' }),
|
|
32
|
-
tslib_1.__metadata("design:type", Date)
|
|
33
|
-
], StudentServiceMembership.prototype, "startDate", void 0);
|
|
34
|
-
tslib_1.__decorate([
|
|
35
|
-
(0, typeorm_1.Column)({ type: 'date' }),
|
|
36
|
-
tslib_1.__metadata("design:type", Date)
|
|
37
|
-
], StudentServiceMembership.prototype, "validUntil", void 0);
|
|
38
22
|
tslib_1.__decorate([
|
|
39
23
|
(0, typeorm_1.Column)({ type: 'double', default: 0 }),
|
|
40
24
|
tslib_1.__metadata("design:type", Object)
|
|
@@ -1 +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;
|
|
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;IAmCnC,YAAmB,OA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