easywork-common-lib 1.0.635 → 1.0.637

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.
@@ -0,0 +1,4 @@
1
+ import { EntityBase } from '../../common/database/base.entity';
2
+ export declare class CourseAssigned extends EntityBase {
3
+ progress: number;
4
+ }
@@ -9,32 +9,20 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AgentRecruimentStage = void 0;
13
- const base_entity_1 = require("../../../../common/database/base.entity");
14
- const class_validator_1 = require("class-validator");
12
+ exports.CourseAssigned = void 0;
15
13
  const typeorm_1 = require("typeorm");
16
14
  const swagger_1 = require("@nestjs/swagger");
17
- let AgentRecruimentStage = class AgentRecruimentStage extends base_entity_1.BaseEntitySimple {
18
- name;
19
- idx;
15
+ const base_entity_1 = require("../../common/database/base.entity");
16
+ let CourseAssigned = class CourseAssigned extends base_entity_1.EntityBase {
17
+ progress;
20
18
  };
21
- exports.AgentRecruimentStage = AgentRecruimentStage;
19
+ exports.CourseAssigned = CourseAssigned;
22
20
  __decorate([
23
- (0, swagger_1.ApiProperty)({
24
- type: String,
25
- description: "Name of the Agent Recruiment stage",
26
- minLength: 1,
27
- }),
28
- (0, class_validator_1.MinLength)(1),
29
- (0, typeorm_1.Column)({ unique: true }),
30
- __metadata("design:type", String)
31
- ], AgentRecruimentStage.prototype, "name", void 0);
32
- __decorate([
33
- (0, swagger_1.ApiProperty)({ type: Number, description: "Index of the lead stage" }),
34
- (0, typeorm_1.Column)(),
21
+ (0, swagger_1.ApiProperty)({ type: String, description: 'Capacitation module progress' }),
22
+ (0, typeorm_1.Column)({ type: 'float', default: 0 }),
35
23
  __metadata("design:type", Number)
36
- ], AgentRecruimentStage.prototype, "idx", void 0);
37
- exports.AgentRecruimentStage = AgentRecruimentStage = __decorate([
24
+ ], CourseAssigned.prototype, "progress", void 0);
25
+ exports.CourseAssigned = CourseAssigned = __decorate([
38
26
  (0, typeorm_1.Entity)()
39
- ], AgentRecruimentStage);
40
- //# sourceMappingURL=h_agent_recruiment_stage.entity.js.map
27
+ ], CourseAssigned);
28
+ //# sourceMappingURL=course-assigned.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"course-assigned.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-assigned.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,6CAA8C;AAE9C,mEAA+D;AAKxD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,wBAAU;IAG5C,QAAQ,CAAS;CAOlB,CAAA;AAVY,wCAAc;AAGzB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,CAAC;IAC1E,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;gDACrB;yBAHN,cAAc;IAD1B,IAAA,gBAAM,GAAE;GACI,cAAc,CAU1B"}
@@ -0,0 +1,9 @@
1
+ import { EntityBase } from '../../common/database/base.entity';
2
+ import { Course } from './course.entity';
3
+ import { FolderPage } from './folder-page.entity';
4
+ export declare class CourseFolder extends EntityBase {
5
+ name: string;
6
+ isPublished: boolean;
7
+ course: Course;
8
+ pages: FolderPage[];
9
+ }
@@ -0,0 +1,47 @@
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.CourseFolder = 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_entity_1 = require("./course.entity");
17
+ const folder_page_entity_1 = require("./folder-page.entity");
18
+ let CourseFolder = class CourseFolder extends base_entity_1.EntityBase {
19
+ name;
20
+ isPublished;
21
+ course;
22
+ pages;
23
+ };
24
+ exports.CourseFolder = CourseFolder;
25
+ __decorate([
26
+ (0, swagger_1.ApiProperty)({ type: String, description: 'Folder name' }),
27
+ (0, typeorm_1.Column)(),
28
+ __metadata("design:type", String)
29
+ ], CourseFolder.prototype, "name", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ default: false }),
32
+ __metadata("design:type", Boolean)
33
+ ], CourseFolder.prototype, "isPublished", void 0);
34
+ __decorate([
35
+ (0, swagger_1.ApiProperty)({ type: () => course_entity_1.Course, description: 'Course owner of the folder', required: false }),
36
+ (0, typeorm_1.ManyToOne)(() => course_entity_1.Course, course => course.folders, { onDelete: 'CASCADE' }),
37
+ __metadata("design:type", course_entity_1.Course)
38
+ ], CourseFolder.prototype, "course", void 0);
39
+ __decorate([
40
+ (0, swagger_1.ApiProperty)({ type: () => folder_page_entity_1.FolderPage, description: 'Folder owner of the pages', required: false }),
41
+ (0, typeorm_1.OneToMany)(() => folder_page_entity_1.FolderPage, FolderPage => FolderPage.folder, { onDelete: 'CASCADE' }),
42
+ __metadata("design:type", Array)
43
+ ], CourseFolder.prototype, "pages", void 0);
44
+ exports.CourseFolder = CourseFolder = __decorate([
45
+ (0, typeorm_1.Entity)()
46
+ ], CourseFolder);
47
+ //# sourceMappingURL=course-folder.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"course-folder.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,6CAA8C;AAE9C,mEAA+D;AAC/D,mDAAyC;AACzC,6DAAkD;AAG3C,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,wBAAU;IAG1C,IAAI,CAAS;IAGb,WAAW,CAAU;IAIrB,MAAM,CAAS;IAIf,KAAK,CAAe;CACrB,CAAA;AAfY,oCAAY;AAGvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;IACzD,IAAA,gBAAM,GAAE;;0CACI;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;iDACN;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACnE,sBAAM;4CAAC;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,+BAAU,EAAE,WAAW,EAAE,2BAA2B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,+BAAU,EAAE,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;2CAClE;uBAdT,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAexB"}
@@ -1,5 +1,5 @@
1
1
  import { EntityBase } from '../../common/database/base.entity';
2
- import { Lesson } from './lesson.entity';
2
+ import { CourseFolder } from './course-folder.entity';
3
3
  export declare class Course extends EntityBase {
4
4
  name: string;
5
5
  description?: string;
@@ -8,5 +8,5 @@ export declare class Course extends EntityBase {
8
8
  openAfterNDays: boolean;
9
9
  coverPhotoSrc?: string;
10
10
  isPublished: boolean;
11
- lessons: Lesson[];
11
+ folders: CourseFolder[];
12
12
  }
@@ -13,7 +13,7 @@ exports.Course = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const swagger_1 = require("@nestjs/swagger");
15
15
  const base_entity_1 = require("../../common/database/base.entity");
16
- const lesson_entity_1 = require("./lesson.entity");
16
+ const course_folder_entity_1 = require("./course-folder.entity");
17
17
  let Course = class Course extends base_entity_1.EntityBase {
18
18
  name;
19
19
  description;
@@ -22,7 +22,7 @@ let Course = class Course extends base_entity_1.EntityBase {
22
22
  openAfterNDays;
23
23
  coverPhotoSrc;
24
24
  isPublished;
25
- lessons;
25
+ folders;
26
26
  };
27
27
  exports.Course = Course;
28
28
  __decorate([
@@ -81,10 +81,10 @@ __decorate([
81
81
  __metadata("design:type", Boolean)
82
82
  ], Course.prototype, "isPublished", void 0);
83
83
  __decorate([
84
- (0, swagger_1.ApiProperty)({ type: () => lesson_entity_1.Lesson }),
85
- (0, typeorm_1.OneToMany)(() => lesson_entity_1.Lesson, lesson => lesson.course),
84
+ (0, swagger_1.ApiProperty)({ type: () => course_folder_entity_1.CourseFolder }),
85
+ (0, typeorm_1.OneToMany)(() => course_folder_entity_1.CourseFolder, folder => folder.course),
86
86
  __metadata("design:type", Array)
87
- ], Course.prototype, "lessons", void 0);
87
+ ], Course.prototype, "folders", void 0);
88
88
  exports.Course = Course = __decorate([
89
89
  (0, typeorm_1.Entity)()
90
90
  ], Course);
@@ -1 +1 @@
1
- {"version":3,"file":"course.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;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AAM,CAoDlB"}
@@ -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"}
@@ -1,4 +1,4 @@
1
1
  export { Capacitation } from './capacitation.entity';
2
2
  export { Course } from './course.entity';
3
- export { Lesson } from './lesson.entity';
4
- export { LessonPage } from './lesson-page.entity';
3
+ export { CourseFolder } from './course-folder.entity';
4
+ export { FolderPage } from './folder-page.entity';
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LessonPage = exports.Lesson = exports.Course = exports.Capacitation = void 0;
3
+ exports.FolderPage = 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");
7
7
  Object.defineProperty(exports, "Course", { enumerable: true, get: function () { return course_entity_1.Course; } });
8
- var lesson_entity_1 = require("./lesson.entity");
9
- Object.defineProperty(exports, "Lesson", { enumerable: true, get: function () { return lesson_entity_1.Lesson; } });
10
- var lesson_page_entity_1 = require("./lesson-page.entity");
11
- Object.defineProperty(exports, "LessonPage", { enumerable: true, get: function () { return lesson_page_entity_1.LessonPage; } });
8
+ var course_folder_entity_1 = require("./course-folder.entity");
9
+ Object.defineProperty(exports, "CourseFolder", { enumerable: true, get: function () { return course_folder_entity_1.CourseFolder; } });
10
+ var folder_page_entity_1 = require("./folder-page.entity");
11
+ Object.defineProperty(exports, "FolderPage", { enumerable: true, get: function () { return folder_page_entity_1.FolderPage; } });
12
12
  //# 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,iDAAyC;AAAhC,uGAAA,MAAM,OAAA;AACf,2DAAkD;AAAzC,gHAAA,UAAU,OAAA"}
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,2DAAkD;AAAzC,gHAAA,UAAU,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.635",
3
+ "version": "1.0.637",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {