easywork-common-lib 1.0.1191 → 1.0.1193
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/process-certificate/asignatures.entity.d.ts +2 -0
- package/dist/entities/capacitation/process-certificate/asignatures.entity.js +15 -0
- package/dist/entities/capacitation/process-certificate/asignatures.entity.js.map +1 -1
- package/dist/entities/capacitation/process-certificate/kardex.entity.d.ts +2 -0
- package/dist/entities/capacitation/process-certificate/kardex.entity.js +15 -0
- package/dist/entities/capacitation/process-certificate/kardex.entity.js.map +1 -1
- package/dist/entities/capacitation/process-certificate/sections.entity.d.ts +2 -0
- package/dist/entities/capacitation/process-certificate/sections.entity.js +16 -0
- package/dist/entities/capacitation/process-certificate/sections.entity.js.map +1 -1
- package/dist/entities/capacitation/process-certificate/table-contents.entity.d.ts +2 -0
- package/dist/entities/capacitation/process-certificate/table-contents.entity.js +16 -0
- package/dist/entities/capacitation/process-certificate/table-contents.entity.js.map +1 -1
- package/dist/entities/tools/mail/mail-crm-queue-status.entity.js.map +1 -1
- package/dist/grpc/drive/drive.proto +310 -310
- package/dist/grpc/drive/leads.proto +114 -114
- package/dist/modules/authorization/services/resource-access-filter.service.js +21 -21
- package/package.json +54 -54
- package/dist/entities/subscriptions/feature.d.ts +0 -15
- package/dist/entities/subscriptions/feature.js +0 -64
- package/dist/entities/subscriptions/feature.js.map +0 -1
- package/dist/entities/subscriptions/plan-feature.d.ts +0 -8
- package/dist/entities/subscriptions/plan-feature.js +0 -44
- package/dist/entities/subscriptions/plan-feature.js.map +0 -1
- package/dist/entities/tools/mail/mail-queue-distribution.d.ts +0 -8
- package/dist/entities/tools/mail/mail-queue-distribution.entity.d.ts +0 -8
- package/dist/entities/tools/mail/mail-queue-distribution.entity.js +0 -38
- package/dist/entities/tools/mail/mail-queue-distribution.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail-queue-distribution.js +0 -38
- package/dist/entities/tools/mail/mail-queue-distribution.js.map +0 -1
- package/dist/entities/tools/mail/mail-queue-entities-assigned.d.ts +0 -9
- package/dist/entities/tools/mail/mail-queue-entities-assigned.entity.d.ts +0 -9
- package/dist/entities/tools/mail/mail-queue-entities-assigned.entity.js +0 -39
- package/dist/entities/tools/mail/mail-queue-entities-assigned.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail-queue-entities-assigned.js +0 -39
- package/dist/entities/tools/mail/mail-queue-entities-assigned.js.map +0 -1
- package/dist/entities/tools/mail/mail-queue-status.d.ts +0 -9
- package/dist/entities/tools/mail/mail-queue-status.entity.d.ts +0 -9
- package/dist/entities/tools/mail/mail-queue-status.entity.js +0 -44
- package/dist/entities/tools/mail/mail-queue-status.entity.js.map +0 -1
- package/dist/entities/tools/mail/mail-queue-status.js +0 -44
- package/dist/entities/tools/mail/mail-queue-status.js.map +0 -1
- package/dist/entities/user-group.entity.d.ts +0 -5
- package/dist/entities/user-group.entity.js +0 -31
- package/dist/entities/user-group.entity.js.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseEntitySimple, CertificateStatus } from "../../../common";
|
|
2
2
|
import { Agent } from "../../sales/agent.entity";
|
|
3
3
|
import { ElementAsignature } from "./element-asignature.entity";
|
|
4
|
+
import { Group } from "../../group.entity";
|
|
4
5
|
export declare class Asignatures extends BaseEntitySimple {
|
|
5
6
|
agentId: string;
|
|
6
7
|
idElementAsignature: string;
|
|
@@ -10,4 +11,5 @@ export declare class Asignatures extends BaseEntitySimple {
|
|
|
10
11
|
dateStartAsignature: Date;
|
|
11
12
|
agent: Agent;
|
|
12
13
|
element: ElementAsignature;
|
|
14
|
+
group?: Group;
|
|
13
15
|
}
|
|
@@ -16,6 +16,7 @@ const common_1 = require("../../../common");
|
|
|
16
16
|
const agent_entity_1 = require("../../sales/agent.entity");
|
|
17
17
|
const typeorm_1 = require("typeorm");
|
|
18
18
|
const element_asignature_entity_1 = require("./element-asignature.entity");
|
|
19
|
+
const group_entity_1 = require("../../group.entity");
|
|
19
20
|
let Asignatures = class Asignatures extends common_1.BaseEntitySimple {
|
|
20
21
|
agentId;
|
|
21
22
|
idElementAsignature;
|
|
@@ -25,6 +26,7 @@ let Asignatures = class Asignatures extends common_1.BaseEntitySimple {
|
|
|
25
26
|
dateStartAsignature;
|
|
26
27
|
agent;
|
|
27
28
|
element;
|
|
29
|
+
group;
|
|
28
30
|
};
|
|
29
31
|
exports.Asignatures = Asignatures;
|
|
30
32
|
__decorate([
|
|
@@ -85,6 +87,19 @@ __decorate([
|
|
|
85
87
|
(0, typeorm_1.JoinColumn)({ name: "idElementAsignature" }),
|
|
86
88
|
__metadata("design:type", element_asignature_entity_1.ElementAsignature)
|
|
87
89
|
], Asignatures.prototype, "element", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, swagger_1.ApiProperty)({
|
|
92
|
+
type: () => group_entity_1.Group,
|
|
93
|
+
description: "Grupo al que pertenece el elemento",
|
|
94
|
+
required: false,
|
|
95
|
+
}),
|
|
96
|
+
(0, typeorm_1.ManyToOne)(() => group_entity_1.Group, {
|
|
97
|
+
onDelete: "SET NULL",
|
|
98
|
+
onUpdate: "CASCADE",
|
|
99
|
+
nullable: true,
|
|
100
|
+
}),
|
|
101
|
+
__metadata("design:type", group_entity_1.Group)
|
|
102
|
+
], Asignatures.prototype, "group", void 0);
|
|
88
103
|
exports.Asignatures = Asignatures = __decorate([
|
|
89
104
|
(0, typeorm_1.Entity)()
|
|
90
105
|
], Asignatures);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asignatures.entity.js","sourceRoot":"","sources":["../../../../src/entities/capacitation/process-certificate/asignatures.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAA4C;AAC5C,4CAAsE;AACtE,2DAAiD;AACjD,qCAAgE;AAChE,2EAAgE;
|
|
1
|
+
{"version":3,"file":"asignatures.entity.js","sourceRoot":"","sources":["../../../../src/entities/capacitation/process-certificate/asignatures.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAA4C;AAC5C,4CAAsE;AACtE,2DAAiD;AACjD,qCAAgE;AAChE,2EAAgE;AAChE,qDAA2C;AAEpC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,yBAAgB;IAQ/C,OAAO,CAAS;IAShB,mBAAmB,CAAS;IAO5B,MAAM,CAAoB;IAG1B,YAAY,CAAS;IAGrB,iBAAiB,CAAO;IAGxB,mBAAmB,CAAO;IAQnB,KAAK,CAAQ;IAQpB,OAAO,CAAoB;IAa3B,KAAK,CAAS;CACf,CAAA;AA/DY,kCAAW;AAQtB;IAPC,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,4BAA4B;QACzC,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACT;AAShB;IAPC,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,wCAAwC;QACrD,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACG;AAO5B;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,0BAAiB;QACvB,OAAO,EAAE,0BAAiB,CAAC,UAAU;KACtC,CAAC;;2CACwB;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAClB;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACR,IAAI;sDAAC;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACN,IAAI;wDAAC;AAQnB;IANN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IAC1E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,EAAE;QACpD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAClB,oBAAK;0CAAC;AAQpB;IANC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;QACxD,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;8BACnC,6CAAiB;4CAAC;AAa3B;IAVC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK;QACjB,WAAW,EAAE,oCAAoC;QACjD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;8BACM,oBAAK;0CAAC;sBA9DH,WAAW;IADvB,IAAA,gBAAM,GAAE;GACI,WAAW,CA+DvB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseEntitySimple } from "../../../common/database/base.entity";
|
|
2
2
|
import { User } from "../../user.entity";
|
|
3
3
|
import { Asignatures } from "./asignatures.entity";
|
|
4
|
+
import { Group } from "../../group.entity";
|
|
4
5
|
export declare enum KardexType {
|
|
5
6
|
START = "arranque",
|
|
6
7
|
PRODUCT = "producto",
|
|
@@ -12,4 +13,5 @@ export declare class Kardex extends BaseEntitySimple {
|
|
|
12
13
|
director: string;
|
|
13
14
|
tipo: KardexType;
|
|
14
15
|
printingDate: Date;
|
|
16
|
+
group?: Group;
|
|
15
17
|
}
|
|
@@ -15,6 +15,7 @@ const base_entity_1 = require("../../../common/database/base.entity");
|
|
|
15
15
|
const user_entity_1 = require("../../user.entity");
|
|
16
16
|
const typeorm_1 = require("typeorm");
|
|
17
17
|
const asignatures_entity_1 = require("./asignatures.entity");
|
|
18
|
+
const group_entity_1 = require("../../group.entity");
|
|
18
19
|
var KardexType;
|
|
19
20
|
(function (KardexType) {
|
|
20
21
|
KardexType["START"] = "arranque";
|
|
@@ -27,6 +28,7 @@ let Kardex = class Kardex extends base_entity_1.BaseEntitySimple {
|
|
|
27
28
|
director;
|
|
28
29
|
tipo;
|
|
29
30
|
printingDate;
|
|
31
|
+
group;
|
|
30
32
|
};
|
|
31
33
|
exports.Kardex = Kardex;
|
|
32
34
|
__decorate([
|
|
@@ -74,6 +76,19 @@ __decorate([
|
|
|
74
76
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
75
77
|
__metadata("design:type", Date)
|
|
76
78
|
], Kardex.prototype, "printingDate", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, swagger_1.ApiProperty)({
|
|
81
|
+
type: () => group_entity_1.Group,
|
|
82
|
+
description: "Grupo al que pertenece el elemento",
|
|
83
|
+
required: false,
|
|
84
|
+
}),
|
|
85
|
+
(0, typeorm_1.ManyToOne)(() => group_entity_1.Group, {
|
|
86
|
+
onDelete: "SET NULL",
|
|
87
|
+
onUpdate: "CASCADE",
|
|
88
|
+
nullable: true,
|
|
89
|
+
}),
|
|
90
|
+
__metadata("design:type", group_entity_1.Group)
|
|
91
|
+
], Kardex.prototype, "group", void 0);
|
|
77
92
|
exports.Kardex = Kardex = __decorate([
|
|
78
93
|
(0, typeorm_1.Entity)()
|
|
79
94
|
], Kardex);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kardex.entity.js","sourceRoot":"","sources":["../../../../src/entities/capacitation/process-certificate/kardex.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,sEAAwE;AACxE,mDAAyC;AACzC,qCAAgE;AAChE,6DAAmD;
|
|
1
|
+
{"version":3,"file":"kardex.entity.js","sourceRoot":"","sources":["../../../../src/entities/capacitation/process-certificate/kardex.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,sEAAwE;AACxE,mDAAyC;AACzC,qCAAgE;AAChE,6DAAmD;AACnD,qDAA2C;AAE3C,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,gCAAkB,CAAA;IAClB,kCAAoB,CAAA;IACpB,wCAA0B,CAAA;AAC5B,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB;AAGM,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,8BAAgB;IAQ1C,UAAU,CAAc;IAQxB,WAAW,CAAO;IAQlB,QAAQ,CAAS;IAQjB,IAAI,CAAa;IAOjB,YAAY,CAAO;IAanB,KAAK,CAAS;CACf,CAAA;AArDY,wBAAM;AAQjB;IAPC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,iCAAiC;QAC9C,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gCAAW,CAAC;IAC5B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;8BACzB,gCAAW;0CAAC;AAQxB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI;QAChB,WAAW,EAAE,oBAAoB;KAClC,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;IAC/D,IAAA,oBAAU,GAAE;8BACA,kBAAI;2CAAC;AAQlB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,0BAA0B;QACvC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACV;AAQjB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,UAAU;KACjB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oCAC3C;AAOjB;IALC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,IAAI;QACV,WAAW,EAAE,iCAAiC;KAC/C,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACb,IAAI;4CAAC;AAanB;IAVC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK;QACjB,WAAW,EAAE,oCAAoC;QACjD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;8BACM,oBAAK;qCAAC;iBApDH,MAAM;IADlB,IAAA,gBAAM,GAAE;GACI,MAAM,CAqDlB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseEntitySimple } from "../../../common/database/base.entity";
|
|
2
2
|
import { TableContents } from "./table-contents.entity";
|
|
3
3
|
import { ElementAsignature } from "./element-asignature.entity";
|
|
4
|
+
import { Group } from "../../group.entity";
|
|
4
5
|
export declare class Sections extends BaseEntitySimple {
|
|
5
6
|
idx: number;
|
|
6
7
|
name: string;
|
|
@@ -8,4 +9,5 @@ export declare class Sections extends BaseEntitySimple {
|
|
|
8
9
|
idTableContent: string;
|
|
9
10
|
tableContent: TableContents;
|
|
10
11
|
elements?: ElementAsignature[];
|
|
12
|
+
group?: Group;
|
|
11
13
|
}
|
|
@@ -14,6 +14,8 @@ const base_entity_1 = require("../../../common/database/base.entity");
|
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const table_contents_entity_1 = require("./table-contents.entity");
|
|
16
16
|
const element_asignature_entity_1 = require("./element-asignature.entity");
|
|
17
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
18
|
+
const group_entity_1 = require("../../group.entity");
|
|
17
19
|
let Sections = class Sections extends base_entity_1.BaseEntitySimple {
|
|
18
20
|
idx;
|
|
19
21
|
name;
|
|
@@ -21,6 +23,7 @@ let Sections = class Sections extends base_entity_1.BaseEntitySimple {
|
|
|
21
23
|
idTableContent;
|
|
22
24
|
tableContent;
|
|
23
25
|
elements;
|
|
26
|
+
group;
|
|
24
27
|
};
|
|
25
28
|
exports.Sections = Sections;
|
|
26
29
|
__decorate([
|
|
@@ -52,6 +55,19 @@ __decorate([
|
|
|
52
55
|
(0, typeorm_1.OneToMany)(() => element_asignature_entity_1.ElementAsignature, (e) => e.section, { cascade: true }),
|
|
53
56
|
__metadata("design:type", Array)
|
|
54
57
|
], Sections.prototype, "elements", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, swagger_1.ApiProperty)({
|
|
60
|
+
type: () => group_entity_1.Group,
|
|
61
|
+
description: "Grupo al que pertenece el elemento",
|
|
62
|
+
required: false,
|
|
63
|
+
}),
|
|
64
|
+
(0, typeorm_1.ManyToOne)(() => group_entity_1.Group, {
|
|
65
|
+
onDelete: "SET NULL",
|
|
66
|
+
onUpdate: "CASCADE",
|
|
67
|
+
nullable: true,
|
|
68
|
+
}),
|
|
69
|
+
__metadata("design:type", group_entity_1.Group)
|
|
70
|
+
], Sections.prototype, "group", void 0);
|
|
55
71
|
exports.Sections = Sections = __decorate([
|
|
56
72
|
(0, typeorm_1.Entity)()
|
|
57
73
|
], Sections);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sections.entity.js","sourceRoot":"","sources":["../../../../src/entities/capacitation/process-certificate/sections.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAwE;AACxE,qCAA2E;AAC3E,mEAAwD;AACxD,2EAAgE;
|
|
1
|
+
{"version":3,"file":"sections.entity.js","sourceRoot":"","sources":["../../../../src/entities/capacitation/process-certificate/sections.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAwE;AACxE,qCAA2E;AAC3E,mEAAwD;AACxD,2EAAgE;AAChE,6CAA8C;AAC9C,qDAA2C;AAEpC,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,8BAAgB;IAE5C,GAAG,CAAS;IAGZ,IAAI,CAAS;IAGb,WAAW,CAAS;IAGpB,cAAc,CAAS;IAQvB,YAAY,CAAgB;IAG5B,QAAQ,CAAuB;IAa/B,KAAK,CAAS;CACf,CAAA;AApCY,4BAAQ;AAEnB;IADC,IAAA,gBAAM,GAAE;;qCACG;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;sCACX;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACrB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDACnB;AAQvB;IANC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;QACjD,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;8BACzB,qCAAa;8CAAC;AAG5B;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;0CACzC;AAa/B;IAVC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK;QACjB,WAAW,EAAE,oCAAoC;QACjD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;8BACM,oBAAK;uCAAC;mBAnCH,QAAQ;IADpB,IAAA,gBAAM,GAAE;GACI,QAAQ,CAoCpB"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { BaseEntitySimple } from "../../../common/database/base.entity";
|
|
2
2
|
import { Sections } from "./sections.entity";
|
|
3
|
+
import { Group } from "../../group.entity";
|
|
3
4
|
export declare class TableContents extends BaseEntitySimple {
|
|
4
5
|
idx: number;
|
|
5
6
|
title: string;
|
|
6
7
|
description: string;
|
|
7
8
|
sections?: Sections[];
|
|
9
|
+
group?: Group;
|
|
8
10
|
}
|
|
@@ -13,11 +13,14 @@ exports.TableContents = void 0;
|
|
|
13
13
|
const base_entity_1 = require("../../../common/database/base.entity");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const sections_entity_1 = require("./sections.entity");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
const group_entity_1 = require("../../group.entity");
|
|
16
18
|
let TableContents = class TableContents extends base_entity_1.BaseEntitySimple {
|
|
17
19
|
idx;
|
|
18
20
|
title;
|
|
19
21
|
description;
|
|
20
22
|
sections;
|
|
23
|
+
group;
|
|
21
24
|
};
|
|
22
25
|
exports.TableContents = TableContents;
|
|
23
26
|
__decorate([
|
|
@@ -36,6 +39,19 @@ __decorate([
|
|
|
36
39
|
(0, typeorm_1.OneToMany)(() => sections_entity_1.Sections, (s) => s.tableContent, { cascade: true }),
|
|
37
40
|
__metadata("design:type", Array)
|
|
38
41
|
], TableContents.prototype, "sections", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, swagger_1.ApiProperty)({
|
|
44
|
+
type: () => group_entity_1.Group,
|
|
45
|
+
description: "Grupo al que pertenece el elemento",
|
|
46
|
+
required: false,
|
|
47
|
+
}),
|
|
48
|
+
(0, typeorm_1.ManyToOne)(() => group_entity_1.Group, {
|
|
49
|
+
onDelete: "SET NULL",
|
|
50
|
+
onUpdate: "CASCADE",
|
|
51
|
+
nullable: true,
|
|
52
|
+
}),
|
|
53
|
+
__metadata("design:type", group_entity_1.Group)
|
|
54
|
+
], TableContents.prototype, "group", void 0);
|
|
39
55
|
exports.TableContents = TableContents = __decorate([
|
|
40
56
|
(0, typeorm_1.Entity)()
|
|
41
57
|
], TableContents);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-contents.entity.js","sourceRoot":"","sources":["../../../../src/entities/capacitation/process-certificate/table-contents.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAwE;AACxE,
|
|
1
|
+
{"version":3,"file":"table-contents.entity.js","sourceRoot":"","sources":["../../../../src/entities/capacitation/process-certificate/table-contents.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAwE;AACxE,qCAA+D;AAC/D,uDAA6C;AAC7C,6CAA8C;AAC9C,qDAA2C;AAEpC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,8BAAgB;IAEjD,GAAG,CAAS;IAGZ,KAAK,CAAS;IAGd,WAAW,CAAS;IAGpB,QAAQ,CAAc;IAatB,KAAK,CAAS;CACf,CAAA;AAzBY,sCAAa;AAExB;IADC,IAAA,gBAAM,GAAE;;0CACG;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;4CACV;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACrB;AAGpB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0BAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;+CAC9C;AAatB;IAVC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK;QACjB,WAAW,EAAE,oCAAoC;QACjD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;8BACM,oBAAK;4CAAC;wBAxBH,aAAa;IADzB,IAAA,gBAAM,GAAE;GACI,aAAa,CAyBzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail-crm-queue-status.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-crm-queue-status.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAE5D,qDAA2C;AAC3C,mDAAyC;AACzC,sEAA+E;AAGxE,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,qCAAuB;
|
|
1
|
+
{"version":3,"file":"mail-crm-queue-status.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-crm-queue-status.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAE5D,qDAA2C;AAC3C,mDAAyC;AACzC,sEAA+E;AAGxE,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,qCAAuB;IAG7D,iBAAiB,CAAU;IAG3B,uBAAuB,CAAU;IAIjC,OAAO,CAAU;IAGjB,gBAAgB,CAAQ;CACzB,CAAA;AAdY,gDAAkB;AAG7B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACA;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEACb;AAIjC;IAFC,IAAA,gBAAM,EAAC,CAAC,SAAS,CAAC,CAAC;IACnB,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1D,wBAAO;mDAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAC7C,kBAAI;4DAAC;6BAbb,kBAAkB;IAD9B,IAAA,gBAAM,GAAE;GACI,kBAAkB,CAc9B"}
|