@tudopz/model 2.27.77 → 2.27.78
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/constant/service-course.d.ts +1 -0
- package/src/constant/service-course.js +5 -0
- package/src/constant/service-course.js.map +1 -0
- package/src/constants.d.ts +1 -0
- package/src/constants.js +1 -0
- package/src/constants.js.map +1 -1
- package/src/model/service-course-session.d.ts +6 -0
- package/src/model/service-course-session.js +11 -1
- package/src/model/service-course-session.js.map +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SESSION_TYPE_VALUES: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service-course.js","sourceRoot":"","sources":["../../../../../libs/model/src/constant/service-course.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG,CAAC,UAAU,EAAE,eAAe,EAAE,mBAAmB,CAAC,CAAC"}
|
package/src/constants.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './constant/lead';
|
|
|
10
10
|
export * from './constant/location';
|
|
11
11
|
export * from './constant/sale';
|
|
12
12
|
export * from './constant/school';
|
|
13
|
+
export * from './constant/service-course';
|
|
13
14
|
export * from './constant/student-assignment';
|
|
14
15
|
export * from './constant/student-service';
|
|
15
16
|
export * from './constant/subject';
|
package/src/constants.js
CHANGED
|
@@ -13,6 +13,7 @@ tslib_1.__exportStar(require("./constant/lead"), exports);
|
|
|
13
13
|
tslib_1.__exportStar(require("./constant/location"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./constant/sale"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./constant/school"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./constant/service-course"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./constant/student-assignment"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./constant/student-service"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./constant/subject"), exports);
|
package/src/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../libs/model/src/constants.ts"],"names":[],"mappings":";;;AAAA,sEAA4C;AAC5C,6DAAmC;AACnC,+DAAqC;AACrC,2DAAiC;AACjC,8EAAoD;AACpD,8DAAoC;AACpC,iEAAuC;AACvC,+DAAqC;AACrC,0DAAgC;AAChC,8DAAoC;AACpC,0DAAgC;AAChC,4DAAkC;AAClC,wEAA8C;AAC9C,qEAA2C;AAC3C,6DAAmC;AACnC,2EAAiD;AACjD,0DAAgC"}
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../libs/model/src/constants.ts"],"names":[],"mappings":";;;AAAA,sEAA4C;AAC5C,6DAAmC;AACnC,+DAAqC;AACrC,2DAAiC;AACjC,8EAAoD;AACpD,8DAAoC;AACpC,iEAAuC;AACvC,+DAAqC;AACrC,0DAAgC;AAChC,8DAAoC;AACpC,0DAAgC;AAChC,4DAAkC;AAClC,oEAA0C;AAC1C,wEAA8C;AAC9C,qEAA2C;AAC3C,6DAAmC;AACnC,2EAAiD;AACjD,0DAAgC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { ServiceCourse } from './service-course';
|
|
2
|
+
export declare enum SESSION_TYPE {
|
|
3
|
+
TUTORIAL = 1,
|
|
4
|
+
CONCEPT_CLASS = 2,
|
|
5
|
+
PRACTICE_REVIEW = 3
|
|
6
|
+
}
|
|
2
7
|
export declare class ServiceCourseSession {
|
|
3
8
|
id: number;
|
|
4
9
|
order: number;
|
|
5
10
|
name: string;
|
|
6
11
|
description: string;
|
|
12
|
+
type: SESSION_TYPE;
|
|
7
13
|
courseId: number;
|
|
8
14
|
createdAt: Date;
|
|
9
15
|
updatedAt: Date;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ServiceCourseSession = void 0;
|
|
3
|
+
exports.ServiceCourseSession = exports.SESSION_TYPE = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const typeorm_1 = require("typeorm");
|
|
6
6
|
const service_course_1 = require("./service-course");
|
|
7
|
+
var SESSION_TYPE;
|
|
8
|
+
(function (SESSION_TYPE) {
|
|
9
|
+
SESSION_TYPE[SESSION_TYPE["TUTORIAL"] = 1] = "TUTORIAL";
|
|
10
|
+
SESSION_TYPE[SESSION_TYPE["CONCEPT_CLASS"] = 2] = "CONCEPT_CLASS";
|
|
11
|
+
SESSION_TYPE[SESSION_TYPE["PRACTICE_REVIEW"] = 3] = "PRACTICE_REVIEW";
|
|
12
|
+
})(SESSION_TYPE = exports.SESSION_TYPE || (exports.SESSION_TYPE = {}));
|
|
7
13
|
let ServiceCourseSession = class ServiceCourseSession {
|
|
8
14
|
};
|
|
9
15
|
tslib_1.__decorate([
|
|
@@ -22,6 +28,10 @@ tslib_1.__decorate([
|
|
|
22
28
|
(0, typeorm_1.Column)({ type: 'text' }),
|
|
23
29
|
tslib_1.__metadata("design:type", String)
|
|
24
30
|
], ServiceCourseSession.prototype, "description", void 0);
|
|
31
|
+
tslib_1.__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'int', default: SESSION_TYPE.TUTORIAL }),
|
|
33
|
+
tslib_1.__metadata("design:type", Number)
|
|
34
|
+
], ServiceCourseSession.prototype, "type", void 0);
|
|
25
35
|
tslib_1.__decorate([
|
|
26
36
|
(0, typeorm_1.Column)({ type: 'int' }),
|
|
27
37
|
tslib_1.__metadata("design:type", Number)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-course-session.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/service-course-session.ts"],"names":[],"mappings":";;;;AAAA,qCAQiB;AAEjB,qDAAiD;
|
|
1
|
+
{"version":3,"file":"service-course-session.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/service-course-session.ts"],"names":[],"mappings":";;;;AAAA,qCAQiB;AAEjB,qDAAiD;AAEjD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,uDAAY,CAAA;IACZ,iEAAa,CAAA;IACb,qEAAe,CAAA;AACjB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAGM,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CA4BhC,CAAA;AA3BC;IAAC,IAAA,gCAAsB,GAAE;;gDACd;AAEX;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;mDACV;AAEd;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;kDAC5B;AAEb;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yDACL;AAEpB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,CAAC,QAAQ,EAAE,CAAC;;kDACrC;AAEnB;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;sDACP;AAEjB;IAAC,IAAA,0BAAgB,GAAE;sCACR,IAAI;uDAAC;AAEhB;IAAC,IAAA,0BAAgB,GAAE;sCACR,IAAI;uDAAC;AAEhB;IAAC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8BAAa,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;IACjD,IAAA,oBAAU,GAAE;sCACL,8BAAa;oDAAC;AA3BX,oBAAoB;IADhC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;GAC/B,oBAAoB,CA4BhC;AA5BY,oDAAoB"}
|