@asumano/worklip-typeorm-db 1.1.49 → 1.1.51
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/MediaFile.d.ts +1 -0
- package/dist/entities/MediaFile.js +11 -1
- package/dist/entities/Workshop.d.ts +1 -0
- package/dist/entities/Workshop.js +10 -13
- package/dist/views/Workshops.d.ts +1 -0
- package/dist/views/Workshops.js +4 -0
- package/dist/views/WorkshopsByAssociate.d.ts +1 -0
- package/dist/views/WorkshopsByAssociate.js +5 -1
- package/package.json +1 -1
|
@@ -115,7 +115,7 @@ __decorate([
|
|
|
115
115
|
default: 1,
|
|
116
116
|
type: "int",
|
|
117
117
|
width: 1,
|
|
118
|
-
comment: "1: Activo, 0: Eliminado.",
|
|
118
|
+
comment: "1: Activo, 0: Inactivo, 2: Eliminado.",
|
|
119
119
|
}),
|
|
120
120
|
__metadata("design:type", Number)
|
|
121
121
|
], MediaFile.prototype, "status", void 0);
|
|
@@ -127,6 +127,16 @@ __decorate([
|
|
|
127
127
|
}),
|
|
128
128
|
__metadata("design:type", Date)
|
|
129
129
|
], MediaFile.prototype, "created", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, typeorm_1.Column)({
|
|
132
|
+
type: "datetime",
|
|
133
|
+
nullable: true,
|
|
134
|
+
default: null,
|
|
135
|
+
comment: "Fecha de actualización del registro.",
|
|
136
|
+
onUpdate: "CURRENT_TIMESTAMP",
|
|
137
|
+
}),
|
|
138
|
+
__metadata("design:type", Object)
|
|
139
|
+
], MediaFile.prototype, "updated", void 0);
|
|
130
140
|
__decorate([
|
|
131
141
|
(0, typeorm_1.Column)({
|
|
132
142
|
type: "datetime",
|
|
@@ -135,19 +135,16 @@ __decorate([
|
|
|
135
135
|
__metadata("design:type", Number)
|
|
136
136
|
], Workshop.prototype, "status", void 0);
|
|
137
137
|
__decorate([
|
|
138
|
-
(0, typeorm_1.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
// },
|
|
149
|
-
// })
|
|
150
|
-
,
|
|
138
|
+
(0, typeorm_1.Column)({
|
|
139
|
+
default: 1,
|
|
140
|
+
type: "int",
|
|
141
|
+
width: 1,
|
|
142
|
+
comment: "Es el estado para verificar si se envía en la papelera o no.",
|
|
143
|
+
}),
|
|
144
|
+
__metadata("design:type", Number)
|
|
145
|
+
], Workshop.prototype, "visible", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, typeorm_1.ManyToMany)(() => Associate_1.Associate, (associate) => associate.workshops_associated),
|
|
151
148
|
__metadata("design:type", Array)
|
|
152
149
|
], Workshop.prototype, "associates", void 0);
|
|
153
150
|
__decorate([
|
package/dist/views/Workshops.js
CHANGED
|
@@ -66,6 +66,10 @@ __decorate([
|
|
|
66
66
|
(0, typeorm_1.ViewColumn)(),
|
|
67
67
|
__metadata("design:type", Number)
|
|
68
68
|
], Workshops.prototype, "status", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.ViewColumn)(),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], Workshops.prototype, "visible", void 0);
|
|
69
73
|
__decorate([
|
|
70
74
|
(0, typeorm_1.ViewColumn)(),
|
|
71
75
|
__metadata("design:type", Number)
|
|
@@ -66,6 +66,10 @@ __decorate([
|
|
|
66
66
|
(0, typeorm_1.ViewColumn)(),
|
|
67
67
|
__metadata("design:type", Number)
|
|
68
68
|
], WorkshopsByAssociate.prototype, "status", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.ViewColumn)(),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], WorkshopsByAssociate.prototype, "visible", void 0);
|
|
69
73
|
__decorate([
|
|
70
74
|
(0, typeorm_1.ViewColumn)(),
|
|
71
75
|
__metadata("design:type", Number)
|
|
@@ -136,6 +140,6 @@ __decorate([
|
|
|
136
140
|
], WorkshopsByAssociate.prototype, "associates_count", void 0);
|
|
137
141
|
exports.WorkshopsByAssociate = WorkshopsByAssociate = __decorate([
|
|
138
142
|
(0, typeorm_1.ViewEntity)({
|
|
139
|
-
name: "workshops_by_associate"
|
|
143
|
+
name: "workshops_by_associate",
|
|
140
144
|
})
|
|
141
145
|
], WorkshopsByAssociate);
|