easywork-common-lib 1.0.592 → 1.0.594
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/lesson-page.entity.d.ts +2 -0
- package/dist/entities/capacitation/lesson-page.entity.js +12 -0
- package/dist/entities/capacitation/lesson-page.entity.js.map +1 -1
- package/dist/entities/capacitation/lesson.entity.d.ts +2 -0
- package/dist/entities/capacitation/lesson.entity.js +12 -0
- package/dist/entities/capacitation/lesson.entity.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -20,6 +20,8 @@ let LessonPage = class LessonPage extends base_entity_1.EntityBase {
|
|
|
20
20
|
coverPhotoSrc;
|
|
21
21
|
progress;
|
|
22
22
|
isCompleted;
|
|
23
|
+
images;
|
|
24
|
+
files;
|
|
23
25
|
lesson;
|
|
24
26
|
};
|
|
25
27
|
exports.LessonPage = LessonPage;
|
|
@@ -46,6 +48,16 @@ __decorate([
|
|
|
46
48
|
(0, typeorm_1.Column)({ default: false }),
|
|
47
49
|
__metadata("design:type", Boolean)
|
|
48
50
|
], LessonPage.prototype, "isCompleted", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Images uploaded to the content' }),
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'text', array: true, default: [] }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], LessonPage.prototype, "images", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Files uploaded to the content' }),
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'text', array: true, default: [] }),
|
|
59
|
+
__metadata("design:type", Array)
|
|
60
|
+
], LessonPage.prototype, "files", void 0);
|
|
49
61
|
__decorate([
|
|
50
62
|
(0, swagger_1.ApiProperty)({ type: () => lesson_entity_1.Lesson, description: 'Lesson owner of the page', required: false }),
|
|
51
63
|
(0, typeorm_1.ManyToOne)(() => lesson_entity_1.Lesson, lesson => lesson.pages),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lesson-page.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/lesson-page.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,mDAAyC;AAGlC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,wBAAU;IAGxC,IAAI,CAAS;IAIb,WAAW,CAAU;IAIrB,aAAa,CAAU;IAGvB,QAAQ,CAAS;IAGjB,WAAW,CAAU;IAIrB,MAAM,CAAS;CAChB,CAAA;
|
|
1
|
+
{"version":3,"file":"lesson-page.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/lesson-page.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,mDAAyC;AAGlC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,wBAAU;IAGxC,IAAI,CAAS;IAIb,WAAW,CAAU;IAIrB,aAAa,CAAU;IAGvB,QAAQ,CAAS;IAGjB,WAAW,CAAU;IAIrB,MAAM,CAAY;IAIlB,KAAK,CAAY;IAIjB,MAAM,CAAS;CAChB,CAAA;AA9BY,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;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE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oSrc;
|
|
23
|
+
images;
|
|
24
|
+
files;
|
|
23
25
|
isCompleted;
|
|
24
26
|
course;
|
|
25
27
|
pages;
|
|
@@ -45,6 +47,16 @@ __decorate([
|
|
|
45
47
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
46
48
|
__metadata("design:type", String)
|
|
47
49
|
], Lesson.prototype, "coverPhotoSrc", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Images uploaded to the content' }),
|
|
52
|
+
(0, typeorm_1.Column)({ type: 'text', array: true, default: [] }),
|
|
53
|
+
__metadata("design:type", Array)
|
|
54
|
+
], Lesson.prototype, "images", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Files uploaded to the content' }),
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'text', array: true, default: [] }),
|
|
58
|
+
__metadata("design:type", Array)
|
|
59
|
+
], Lesson.prototype, "files", void 0);
|
|
48
60
|
__decorate([
|
|
49
61
|
(0, typeorm_1.Column)({ default: false }),
|
|
50
62
|
__metadata("design:type", Boolean)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lesson.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/lesson.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,6CAA8C;AAE9C,mEAA+D;AAC/D,mDAAyC;AACzC,6DAAkD;AAG3C,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,wBAAU;IAGpC,IAAI,CAAS;IAIb,WAAW,CAAU;IAIrB,OAAO,CAAU;IAIjB,aAAa,CAAU;
|
|
1
|
+
{"version":3,"file":"lesson.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/lesson.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,6CAA8C;AAE9C,mEAA+D;AAC/D,mDAAyC;AACzC,6D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