easywork-common-lib 1.0.710 → 1.0.712
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/entities/capacitation/course-evaluation-attempt.entity.d.ts +20 -0
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js +86 -0
- package/dist/entities/capacitation/course-evaluation-attempt.entity.js.map +1 -0
- package/dist/entities/capacitation/course-evaluation-progress.d.ts +20 -0
- package/dist/entities/capacitation/course-evaluation-progress.js +81 -0
- package/dist/entities/capacitation/course-evaluation-progress.js.map +1 -0
- package/dist/entities/capacitation/course-evaluation.entity.d.ts +3 -0
- package/dist/entities/capacitation/course-evaluation.entity.js +16 -0
- package/dist/entities/capacitation/course-evaluation.entity.js.map +1 -1
- package/dist/entities/capacitation/course-progress.entity.d.ts +14 -0
- package/dist/entities/capacitation/course-progress.entity.js +53 -0
- package/dist/entities/capacitation/course-progress.entity.js.map +1 -0
- package/dist/entities/capacitation/folder-page.entity.d.ts +11 -0
- package/dist/entities/capacitation/folder-page.entity.js +57 -0
- package/dist/entities/capacitation/folder-page.entity.js.map +1 -0
- package/dist/entities/capacitation/index.d.ts +1 -1
- package/dist/entities/capacitation/index.js +4 -4
- package/dist/entities/capacitation/index.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.d.ts +0 -5
- package/dist/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.js +0 -40
- package/dist/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.js.map +0 -1
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.d.ts +0 -11
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.js +0 -68
- package/dist/entities/helpers/sales/poliza/poliza_file.entity.js.map +0 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
+
import { CourseEvaluation } from './course-evaluation.entity';
|
|
3
|
+
import { User } from '../user.entity';
|
|
4
|
+
export declare enum CourseEvaluationAttemptStatus {
|
|
5
|
+
inAttempt = "in-progress",
|
|
6
|
+
approved = "approved",
|
|
7
|
+
notPassed = "not-passed",
|
|
8
|
+
notStarted = "not-started"
|
|
9
|
+
}
|
|
10
|
+
export declare class CourseEvaluationAttempt extends EntityBase {
|
|
11
|
+
status: CourseEvaluationAttemptStatus;
|
|
12
|
+
attempt: number;
|
|
13
|
+
isStarted: boolean;
|
|
14
|
+
finishedAt?: Date;
|
|
15
|
+
startedAt?: Date;
|
|
16
|
+
qualification: number;
|
|
17
|
+
timeTaken?: number;
|
|
18
|
+
evaluation: CourseEvaluation;
|
|
19
|
+
tookBy: User;
|
|
20
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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.CourseEvaluationAttempt = exports.CourseEvaluationAttemptStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const course_evaluation_entity_1 = require("./course-evaluation.entity");
|
|
17
|
+
const user_entity_1 = require("../user.entity");
|
|
18
|
+
var CourseEvaluationAttemptStatus;
|
|
19
|
+
(function (CourseEvaluationAttemptStatus) {
|
|
20
|
+
CourseEvaluationAttemptStatus["inAttempt"] = "in-progress";
|
|
21
|
+
CourseEvaluationAttemptStatus["approved"] = "approved";
|
|
22
|
+
CourseEvaluationAttemptStatus["notPassed"] = "not-passed";
|
|
23
|
+
CourseEvaluationAttemptStatus["notStarted"] = "not-started";
|
|
24
|
+
})(CourseEvaluationAttemptStatus || (exports.CourseEvaluationAttemptStatus = CourseEvaluationAttemptStatus = {}));
|
|
25
|
+
let CourseEvaluationAttempt = class CourseEvaluationAttempt extends base_entity_1.EntityBase {
|
|
26
|
+
status;
|
|
27
|
+
attempt;
|
|
28
|
+
isStarted;
|
|
29
|
+
finishedAt;
|
|
30
|
+
startedAt;
|
|
31
|
+
qualification;
|
|
32
|
+
timeTaken;
|
|
33
|
+
evaluation;
|
|
34
|
+
tookBy;
|
|
35
|
+
};
|
|
36
|
+
exports.CourseEvaluationAttempt = CourseEvaluationAttempt;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'enum', nullable: false, default: CourseEvaluationAttemptStatus.notStarted, enum: CourseEvaluationAttemptStatus }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CourseEvaluationAttempt.prototype, "status", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], CourseEvaluationAttempt.prototype, "attempt", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
47
|
+
__metadata("design:type", Boolean)
|
|
48
|
+
], CourseEvaluationAttempt.prototype, "isStarted", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
51
|
+
__metadata("design:type", Date)
|
|
52
|
+
], CourseEvaluationAttempt.prototype, "finishedAt", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
55
|
+
__metadata("design:type", Date)
|
|
56
|
+
], CourseEvaluationAttempt.prototype, "startedAt", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'numeric', nullable: false, scale: 2, default: 0 }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], CourseEvaluationAttempt.prototype, "qualification", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'numeric', nullable: true, default: 60, scale: 2 }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], CourseEvaluationAttempt.prototype, "timeTaken", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, swagger_1.ApiProperty)({
|
|
67
|
+
type: () => course_evaluation_entity_1.CourseEvaluation,
|
|
68
|
+
description: 'Evaluation progress parent entity',
|
|
69
|
+
required: false,
|
|
70
|
+
}),
|
|
71
|
+
(0, typeorm_1.ManyToOne)(() => course_evaluation_entity_1.CourseEvaluation, courseEvaluation => courseEvaluation.evaluationAttempts, { cascade: true, onDelete: 'NO ACTION', nullable: false }),
|
|
72
|
+
__metadata("design:type", course_evaluation_entity_1.CourseEvaluation)
|
|
73
|
+
], CourseEvaluationAttempt.prototype, "evaluation", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, swagger_1.ApiProperty)({
|
|
76
|
+
type: () => user_entity_1.User,
|
|
77
|
+
description: 'User who takes the evaluation',
|
|
78
|
+
required: false,
|
|
79
|
+
}),
|
|
80
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User),
|
|
81
|
+
__metadata("design:type", user_entity_1.User)
|
|
82
|
+
], CourseEvaluationAttempt.prototype, "tookBy", void 0);
|
|
83
|
+
exports.CourseEvaluationAttempt = CourseEvaluationAttempt = __decorate([
|
|
84
|
+
(0, typeorm_1.Entity)()
|
|
85
|
+
], CourseEvaluationAttempt);
|
|
86
|
+
//# sourceMappingURL=course-evaluation-attempt.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-evaluation-attempt.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-evaluation-attempt.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,yEAA8D;AAC9D,gDAAsC;AAEtC,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,0DAAyB,CAAA;IACzB,sDAAqB,CAAA;IACrB,yDAAwB,CAAA;IACxB,2DAA0B,CAAA;AAC5B,CAAC,EALW,6BAA6B,6CAA7B,6BAA6B,QAKxC;AAGM,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,wBAAU;IAErD,MAAM,CAAgC;IAGtC,OAAO,CAAS;IAGhB,SAAS,CAAU;IAGnB,UAAU,CAAQ;IAGlB,SAAS,CAAQ;IAGjB,aAAa,CAAS;IAGtB,SAAS,CAAU;IAQnB,UAAU,CAAmB;IAQ7B,MAAM,CAAO;CACd,CAAA;AArCY,0DAAuB;AAElC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,6BAA6B,CAAC,UAAU,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC;;uDAC5F;AAGtC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wDACzB;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;0DACR;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC5B,IAAI;2DAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC7B,IAAI;0DAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;8DAC7C;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;0DAChD;AAQnB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,2CAAgB;QAC5B,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BAC1I,2CAAgB;2DAAC;AAQ7B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI;QAChB,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,CAAC;8BACd,kBAAI;uDAAC;kCApCF,uBAAuB;IADnC,IAAA,gBAAM,GAAE;GACI,uBAAuB,CAqCnC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
+
import { CourseEvaluation } from './course-evaluation.entity';
|
|
3
|
+
import { User } from 'entities/user.entity';
|
|
4
|
+
declare enum ProgressStatus {
|
|
5
|
+
inProgress = "in-progress",
|
|
6
|
+
approved = "approved",
|
|
7
|
+
notPassed = "not-passed",
|
|
8
|
+
notStarted = "not-started"
|
|
9
|
+
}
|
|
10
|
+
export declare class CourseEvaluationProgress extends EntityBase {
|
|
11
|
+
status: ProgressStatus;
|
|
12
|
+
attempt: number;
|
|
13
|
+
finishedAt?: Date;
|
|
14
|
+
startedAt?: Date;
|
|
15
|
+
qualification: number;
|
|
16
|
+
timeTaken: number;
|
|
17
|
+
evaluation: CourseEvaluation;
|
|
18
|
+
tookBy: User;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,81 @@
|
|
|
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.CourseEvaluationProgress = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const course_evaluation_entity_1 = require("./course-evaluation.entity");
|
|
17
|
+
const user_entity_1 = require("entities/user.entity");
|
|
18
|
+
var ProgressStatus;
|
|
19
|
+
(function (ProgressStatus) {
|
|
20
|
+
ProgressStatus["inProgress"] = "in-progress";
|
|
21
|
+
ProgressStatus["approved"] = "approved";
|
|
22
|
+
ProgressStatus["notPassed"] = "not-passed";
|
|
23
|
+
ProgressStatus["notStarted"] = "not-started";
|
|
24
|
+
})(ProgressStatus || (ProgressStatus = {}));
|
|
25
|
+
let CourseEvaluationProgress = class CourseEvaluationProgress extends base_entity_1.EntityBase {
|
|
26
|
+
status;
|
|
27
|
+
attempt;
|
|
28
|
+
finishedAt;
|
|
29
|
+
startedAt;
|
|
30
|
+
qualification;
|
|
31
|
+
timeTaken;
|
|
32
|
+
evaluation;
|
|
33
|
+
tookBy;
|
|
34
|
+
};
|
|
35
|
+
exports.CourseEvaluationProgress = CourseEvaluationProgress;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'enum', nullable: false, default: ProgressStatus.notStarted }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CourseEvaluationProgress.prototype, "status", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], CourseEvaluationProgress.prototype, "attempt", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
|
|
46
|
+
__metadata("design:type", Date)
|
|
47
|
+
], CourseEvaluationProgress.prototype, "finishedAt", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
|
|
50
|
+
__metadata("design:type", Date)
|
|
51
|
+
], CourseEvaluationProgress.prototype, "startedAt", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'numeric', nullable: false, scale: 2, default: 0 }),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], CourseEvaluationProgress.prototype, "qualification", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'numeric', nullable: false, default: 60, scale: 2 }),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], CourseEvaluationProgress.prototype, "timeTaken", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, swagger_1.ApiProperty)({
|
|
62
|
+
type: () => course_evaluation_entity_1.CourseEvaluation,
|
|
63
|
+
description: 'Evaluation progress parent entity',
|
|
64
|
+
required: false,
|
|
65
|
+
}),
|
|
66
|
+
(0, typeorm_1.ManyToOne)(() => course_evaluation_entity_1.CourseEvaluation),
|
|
67
|
+
__metadata("design:type", course_evaluation_entity_1.CourseEvaluation)
|
|
68
|
+
], CourseEvaluationProgress.prototype, "evaluation", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, swagger_1.ApiProperty)({
|
|
71
|
+
type: () => user_entity_1.User,
|
|
72
|
+
description: 'User who takes the evaluation',
|
|
73
|
+
required: false,
|
|
74
|
+
}),
|
|
75
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User),
|
|
76
|
+
__metadata("design:type", user_entity_1.User)
|
|
77
|
+
], CourseEvaluationProgress.prototype, "tookBy", void 0);
|
|
78
|
+
exports.CourseEvaluationProgress = CourseEvaluationProgress = __decorate([
|
|
79
|
+
(0, typeorm_1.Entity)()
|
|
80
|
+
], CourseEvaluationProgress);
|
|
81
|
+
//# sourceMappingURL=course-evaluation-progress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-evaluation-progress.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-evaluation-progress.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,yEAA8D;AAC9D,sDAA4C;AAE5C,IAAK,cAKJ;AALD,WAAK,cAAc;IACjB,4CAA0B,CAAA;IAC1B,uCAAqB,CAAA;IACrB,0CAAwB,CAAA;IACxB,4CAA0B,CAAA;AAC5B,CAAC,EALI,cAAc,KAAd,cAAc,QAKlB;AAGM,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,wBAAU;IAEtD,MAAM,CAAiB;IAGvB,OAAO,CAAS;IAGhB,UAAU,CAAQ;IAGlB,SAAS,CAAQ;IAGjB,aAAa,CAAS;IAGtB,SAAS,CAAS;IAQlB,UAAU,CAAmB;IAQ7B,MAAM,CAAO;CACd,CAAA;AAlCY,4DAAwB;AAEnC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,CAAC,UAAU,EAAE,CAAC;;wDACvD;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;yDACzB;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAChC,IAAI;4DAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjC,IAAI;2DAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;+DAC7C;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;2DAClD;AAQlB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,2CAAgB;QAC5B,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAgB,CAAC;8BACtB,2CAAgB;4DAAC;AAQ7B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI;QAChB,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,CAAC;8BACd,kBAAI;wDAAC;mCAjCF,wBAAwB;IADpC,IAAA,gBAAM,GAAE;GACI,wBAAwB,CAkCpC"}
|
|
@@ -2,6 +2,7 @@ import { EntityBase } from '../../common/database/base.entity';
|
|
|
2
2
|
import { User } from '../user.entity';
|
|
3
3
|
import { Course } from './course.entity';
|
|
4
4
|
import { CourseFolderPage } from './course-folder-page.entity';
|
|
5
|
+
import { CourseEvaluationAttempt } from './course-evaluation-attempt.entity';
|
|
5
6
|
declare enum QuestionType {
|
|
6
7
|
text = "text",
|
|
7
8
|
multipleChoice = "multiple-choice",
|
|
@@ -21,6 +22,8 @@ export type EvaluationQuestion = {
|
|
|
21
22
|
};
|
|
22
23
|
export declare class CourseEvaluation extends EntityBase {
|
|
23
24
|
questions: EvaluationQuestion[];
|
|
25
|
+
totalAttempts: number;
|
|
26
|
+
evaluationAttempts: CourseEvaluationAttempt[];
|
|
24
27
|
page?: CourseFolderPage;
|
|
25
28
|
course: Course;
|
|
26
29
|
createdBy: User;
|
|
@@ -16,6 +16,7 @@ const base_entity_1 = require("../../common/database/base.entity");
|
|
|
16
16
|
const user_entity_1 = require("../user.entity");
|
|
17
17
|
const course_entity_1 = require("./course.entity");
|
|
18
18
|
const course_folder_page_entity_1 = require("./course-folder-page.entity");
|
|
19
|
+
const course_evaluation_attempt_entity_1 = require("./course-evaluation-attempt.entity");
|
|
19
20
|
var QuestionType;
|
|
20
21
|
(function (QuestionType) {
|
|
21
22
|
QuestionType["text"] = "text";
|
|
@@ -28,6 +29,8 @@ var QuestionType;
|
|
|
28
29
|
})(QuestionType || (QuestionType = {}));
|
|
29
30
|
let CourseEvaluation = class CourseEvaluation extends base_entity_1.EntityBase {
|
|
30
31
|
questions;
|
|
32
|
+
totalAttempts;
|
|
33
|
+
evaluationAttempts;
|
|
31
34
|
page;
|
|
32
35
|
course;
|
|
33
36
|
createdBy;
|
|
@@ -37,6 +40,19 @@ __decorate([
|
|
|
37
40
|
(0, typeorm_1.Column)({ type: 'jsonb', nullable: false, default: [] }),
|
|
38
41
|
__metadata("design:type", Array)
|
|
39
42
|
], CourseEvaluation.prototype, "questions", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false, default: 3 }),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], CourseEvaluation.prototype, "totalAttempts", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, swagger_1.ApiProperty)({
|
|
49
|
+
type: () => CourseEvaluation,
|
|
50
|
+
description: 'Evaluation attempts',
|
|
51
|
+
required: false,
|
|
52
|
+
}),
|
|
53
|
+
(0, typeorm_1.ManyToOne)(() => course_evaluation_attempt_entity_1.CourseEvaluationAttempt, courseEvaluationAttempt => courseEvaluationAttempt.evaluation),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CourseEvaluation.prototype, "evaluationAttempts", void 0);
|
|
40
56
|
__decorate([
|
|
41
57
|
(0, swagger_1.ApiProperty)({ type: () => course_folder_page_entity_1.CourseFolderPage, description: "Page's evaluation", required: false }),
|
|
42
58
|
(0, typeorm_1.ManyToOne)(() => course_folder_page_entity_1.CourseFolderPage, page => page.evaluations, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-evaluation.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-evaluation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,gDAAsC;AAEtC,mDAAyC;AACzC,2EAA+D;
|
|
1
|
+
{"version":3,"file":"course-evaluation.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-evaluation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,gDAAsC;AAEtC,mDAAyC;AACzC,2EAA+D;AAC/D,yFAA6E;AAE7E,IAAK,YAQJ;AARD,WAAK,YAAY;IACf,6BAAa,CAAA;IACb,kDAAkC,CAAA;IAClC,0CAA0B,CAAA;IAC1B,uCAAuB,CAAA;IACvB,wCAAwB,CAAA;IACxB,8CAA8B,CAAA;IAC9B,8CAA8B,CAAA;AAChC,CAAC,EARI,YAAY,KAAZ,YAAY,QAQhB;AAYM,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,wBAAU;IAE9C,SAAS,CAAuB;IAGhC,aAAa,CAAS;IAQtB,kBAAkB,CAA4B;IAM9C,IAAI,CAAoB;IAIxB,MAAM,CAAS;IAQf,SAAS,CAAO;CACjB,CAAA;AAhCY,4CAAgB;AAE3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;mDACxB;AAGhC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;uDAC/B;AAQtB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,gBAAgB;QAC5B,WAAW,EAAE,qBAAqB;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0DAAuB,EAAE,uBAAuB,CAAC,EAAE,CAAC,uBAAuB,CAAC,UAAU,CAAC;;4DAC1D;AAM9C;IAJC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,4CAAgB,EAAE,WAAW,EAAE,mBAAmB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4CAAgB,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE;QAC3D,QAAQ,EAAE,IAAI;KACf,CAAC;8BACK,4CAAgB;8CAAC;AAIxB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,sBAAsB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACtF,sBAAM;gDAAC;AAQf;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI;QAChB,WAAW,EAAE,iCAAiC;QAC9C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,CAAC;8BACX,kBAAI;mDAAC;2BA/BL,gBAAgB;IAD5B,IAAA,gBAAM,GAAE;GACI,gBAAgB,CAgC5B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Course } from './course.entity';
|
|
2
|
+
import { CourseFolderPage } from './course-folder-page.entity';
|
|
3
|
+
import { User } from '../user.entity';
|
|
4
|
+
export declare class CourseProgress {
|
|
5
|
+
id: number;
|
|
6
|
+
user: User;
|
|
7
|
+
course: Course;
|
|
8
|
+
lastCompletedPage: CourseFolderPage | null;
|
|
9
|
+
progress: number;
|
|
10
|
+
completedPages: {
|
|
11
|
+
pageId: number;
|
|
12
|
+
completedAt: Date;
|
|
13
|
+
}[] | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.CourseProgress = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const course_entity_1 = require("./course.entity");
|
|
15
|
+
const course_folder_page_entity_1 = require("./course-folder-page.entity");
|
|
16
|
+
const user_entity_1 = require("../user.entity");
|
|
17
|
+
let CourseProgress = class CourseProgress {
|
|
18
|
+
id;
|
|
19
|
+
user;
|
|
20
|
+
course;
|
|
21
|
+
lastCompletedPage;
|
|
22
|
+
progress;
|
|
23
|
+
completedPages;
|
|
24
|
+
};
|
|
25
|
+
exports.CourseProgress = CourseProgress;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], CourseProgress.prototype, "id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, user => user.courseProgress),
|
|
32
|
+
__metadata("design:type", user_entity_1.User)
|
|
33
|
+
], CourseProgress.prototype, "user", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.ManyToOne)(() => course_entity_1.Course, course => course.courseProgress),
|
|
36
|
+
__metadata("design:type", course_entity_1.Course)
|
|
37
|
+
], CourseProgress.prototype, "course", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.ManyToOne)(() => course_folder_page_entity_1.CourseFolderPage, page => page.courseProgress, { nullable: true }),
|
|
40
|
+
__metadata("design:type", course_folder_page_entity_1.CourseFolderPage)
|
|
41
|
+
], CourseProgress.prototype, "lastCompletedPage", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ default: 0 }),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], CourseProgress.prototype, "progress", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
48
|
+
__metadata("design:type", Array)
|
|
49
|
+
], CourseProgress.prototype, "completedPages", void 0);
|
|
50
|
+
exports.CourseProgress = CourseProgress = __decorate([
|
|
51
|
+
(0, typeorm_1.Entity)()
|
|
52
|
+
], CourseProgress);
|
|
53
|
+
//# sourceMappingURL=course-progress.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course-progress.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-progress.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4E;AAC5E,mDAAyC;AACzC,2EAA+D;AAC/D,gDAAsC;AAG/B,IAAM,cAAc,GAApB,MAAM,cAAc;IAEzB,EAAE,CAAS;IAGX,IAAI,CAAO;IAGX,MAAM,CAAS;IAGf,iBAAiB,CAA0B;IAG3C,QAAQ,CAAS;IAGjB,cAAc,CAAiD;CAChE,CAAA;AAlBY,wCAAc;AAEzB;IADC,IAAA,gCAAsB,GAAE;;0CACd;AAGX;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC;8BAC7C,kBAAI;4CAAC;AAGX;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;8BACjD,sBAAM;8CAAC;AAGf;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4CAAgB,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAChE,4CAAgB;yDAAQ;AAG3C;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;gDACN;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACqB;yBAjBpD,cAAc;IAD1B,IAAA,gBAAM,GAAE;GACI,cAAc,CAkB1B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EntityBase } from '../../common/database/base.entity';
|
|
2
|
+
import { CourseFolder } from './course-folder.entity';
|
|
3
|
+
import { LMSFileUploaded } from 'common';
|
|
4
|
+
export declare class FolderPage extends EntityBase {
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
isCompleted: boolean;
|
|
8
|
+
isPublished: boolean;
|
|
9
|
+
files?: LMSFileUploaded[];
|
|
10
|
+
folder: CourseFolder;
|
|
11
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.FolderPage = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
+
const course_folder_entity_1 = require("./course-folder.entity");
|
|
17
|
+
let FolderPage = class FolderPage extends base_entity_1.EntityBase {
|
|
18
|
+
name;
|
|
19
|
+
description;
|
|
20
|
+
isCompleted;
|
|
21
|
+
isPublished;
|
|
22
|
+
files;
|
|
23
|
+
folder;
|
|
24
|
+
};
|
|
25
|
+
exports.FolderPage = FolderPage;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Folder page name' }),
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], FolderPage.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, swagger_1.ApiProperty)({ type: String, description: 'Folder page description', nullable: true }),
|
|
33
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], FolderPage.prototype, "description", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
38
|
+
__metadata("design:type", Boolean)
|
|
39
|
+
], FolderPage.prototype, "isCompleted", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
42
|
+
__metadata("design:type", Boolean)
|
|
43
|
+
], FolderPage.prototype, "isPublished", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Files uploaded to the content' }),
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true, default: [] }),
|
|
47
|
+
__metadata("design:type", Array)
|
|
48
|
+
], FolderPage.prototype, "files", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, swagger_1.ApiProperty)({ type: () => course_folder_entity_1.CourseFolder, description: 'Folder owner of the page', required: false }),
|
|
51
|
+
(0, typeorm_1.ManyToOne)(() => course_folder_entity_1.CourseFolder, folder => folder.pages, { onDelete: 'CASCADE' }),
|
|
52
|
+
__metadata("design:type", course_folder_entity_1.CourseFolder)
|
|
53
|
+
], FolderPage.prototype, "folder", void 0);
|
|
54
|
+
exports.FolderPage = FolderPage = __decorate([
|
|
55
|
+
(0, typeorm_1.Entity)()
|
|
56
|
+
], FolderPage);
|
|
57
|
+
//# sourceMappingURL=folder-page.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"folder-page.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/folder-page.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,iEAAsD;AAI/C,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,wBAAU;IAGxC,IAAI,CAAS;IAIb,WAAW,CAAU;IAGrB,WAAW,CAAU;IAGrB,WAAW,CAAU;IAIrB,KAAK,CAAqB;IAI1B,MAAM,CAAe;CACtB,CAAA;AAtBY,gCAAU;AAGrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC;IAC9D,IAAA,gBAAM,GAAE;;wCACI;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACrF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACN;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC1F,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;yCAC7B;AAI1B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,mCAAY,EAAE,WAAW,EAAE,0BAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACnG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACvE,mCAAY;0CAAC;qBArBV,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAsBtB"}
|
|
@@ -5,4 +5,4 @@ export { CourseFolderPage } from './course-folder-page.entity';
|
|
|
5
5
|
export { CourseAssigned } from './course-assigned.entity';
|
|
6
6
|
export { CourseOrder } from './course-order.entity';
|
|
7
7
|
export { CourseEvaluation, EvaluationQuestion } from './course-evaluation.entity';
|
|
8
|
-
export {
|
|
8
|
+
export { CourseEvaluationAttempt, CourseEvaluationAttemptStatus } from './course-evaluation-attempt.entity';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CourseEvaluationAttemptStatus = exports.CourseEvaluationAttempt = exports.CourseEvaluation = exports.CourseOrder = exports.CourseAssigned = exports.CourseFolderPage = exports.CourseFolder = exports.Course = exports.Capacitation = void 0;
|
|
4
4
|
var capacitation_entity_1 = require("./capacitation.entity");
|
|
5
5
|
Object.defineProperty(exports, "Capacitation", { enumerable: true, get: function () { return capacitation_entity_1.Capacitation; } });
|
|
6
6
|
var course_entity_1 = require("./course.entity");
|
|
@@ -15,7 +15,7 @@ var course_order_entity_1 = require("./course-order.entity");
|
|
|
15
15
|
Object.defineProperty(exports, "CourseOrder", { enumerable: true, get: function () { return course_order_entity_1.CourseOrder; } });
|
|
16
16
|
var course_evaluation_entity_1 = require("./course-evaluation.entity");
|
|
17
17
|
Object.defineProperty(exports, "CourseEvaluation", { enumerable: true, get: function () { return course_evaluation_entity_1.CourseEvaluation; } });
|
|
18
|
-
var
|
|
19
|
-
Object.defineProperty(exports, "
|
|
20
|
-
Object.defineProperty(exports, "
|
|
18
|
+
var course_evaluation_attempt_entity_1 = require("./course-evaluation-attempt.entity");
|
|
19
|
+
Object.defineProperty(exports, "CourseEvaluationAttempt", { enumerable: true, get: function () { return course_evaluation_attempt_entity_1.CourseEvaluationAttempt; } });
|
|
20
|
+
Object.defineProperty(exports, "CourseEvaluationAttemptStatus", { enumerable: true, get: function () { return course_evaluation_attempt_entity_1.CourseEvaluationAttemptStatus; } });
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/capacitation/index.ts"],"names":[],"mappings":";;;AAAA,6DAAqD;AAA5C,mHAAA,YAAY,OAAA;AACrB,iDAAyC;AAAhC,uGAAA,MAAM,OAAA;AACf,+DAAsD;AAA7C,oHAAA,YAAY,OAAA;AACrB,yEAA+D;AAAtD,6HAAA,gBAAgB,OAAA;AACzB,mEAA0D;AAAjD,wHAAA,cAAc,OAAA;AACvB,6DAAoD;AAA3C,kHAAA,WAAW,OAAA;AACpB,uEAAkF;AAAzE,4HAAA,gBAAgB,OAAA;AACzB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/capacitation/index.ts"],"names":[],"mappings":";;;AAAA,6DAAqD;AAA5C,mHAAA,YAAY,OAAA;AACrB,iDAAyC;AAAhC,uGAAA,MAAM,OAAA;AACf,+DAAsD;AAA7C,oHAAA,YAAY,OAAA;AACrB,yEAA+D;AAAtD,6HAAA,gBAAgB,OAAA;AACzB,mEAA0D;AAAjD,wHAAA,cAAc,OAAA;AACvB,6DAAoD;AAA3C,kHAAA,WAAW,OAAA;AACpB,uEAAkF;AAAzE,4HAAA,gBAAgB,OAAA;AACzB,uFAA4G;AAAnG,2IAAA,uBAAuB,OAAA;AAAE,iJAAA,6BAA6B,OAAA"}
|