test-entity-library-asm 3.2.5 → 3.2.7
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.
|
@@ -5,7 +5,8 @@ export declare class RequestLocal {
|
|
|
5
5
|
local: Local;
|
|
6
6
|
total_cost: string;
|
|
7
7
|
status: number;
|
|
8
|
-
preparation_time: string;
|
|
9
|
-
updated: Date;
|
|
8
|
+
preparation_time: string | null;
|
|
9
|
+
updated: Date | null;
|
|
10
|
+
is_notified: number;
|
|
10
11
|
requests_local_history: RequestLocalHistory[];
|
|
11
12
|
}
|
|
@@ -54,7 +54,7 @@ var RequestLocal = /** @class */ (function () {
|
|
|
54
54
|
nullable: true,
|
|
55
55
|
comment: "Columna para saber cuánto tiempo máximo (minutos) nos tomará en preparar los productos y sus toppings.\r\n\r\nEsta columna viene también al momento de crear.",
|
|
56
56
|
}),
|
|
57
|
-
__metadata("design:type",
|
|
57
|
+
__metadata("design:type", Object)
|
|
58
58
|
], RequestLocal.prototype, "preparation_time", void 0);
|
|
59
59
|
__decorate([
|
|
60
60
|
(0, typeorm_1.Column)({
|
|
@@ -63,8 +63,15 @@ var RequestLocal = /** @class */ (function () {
|
|
|
63
63
|
comment: "Columna donde almacenamos la fecha de actualización del registro, este campo nos sirve para saber cuánto tiempo llevamos desde qué se actualizó hasta la hora actual.",
|
|
64
64
|
transformer: new dateTransformer_1.DateTransformer(),
|
|
65
65
|
}),
|
|
66
|
-
__metadata("design:type",
|
|
66
|
+
__metadata("design:type", Object)
|
|
67
67
|
], RequestLocal.prototype, "updated", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({
|
|
70
|
+
default: 1,
|
|
71
|
+
comment: "Columna para saber sí se notificó vía mensaje desde la página web - aplicación de escritorio o/y correo electrónico:\r\n1. No notificado.\r\n2. Notificado.",
|
|
72
|
+
}),
|
|
73
|
+
__metadata("design:type", Number)
|
|
74
|
+
], RequestLocal.prototype, "is_notified", void 0);
|
|
68
75
|
__decorate([
|
|
69
76
|
(0, typeorm_1.OneToMany)(function () { return __1.RequestLocalHistory; }, function (requestLocalHistory) { return requestLocalHistory.request_local; }),
|
|
70
77
|
__metadata("design:type", Array)
|
package/package.json
CHANGED
|
@@ -48,7 +48,7 @@ export class RequestLocal {
|
|
|
48
48
|
comment:
|
|
49
49
|
"Columna para saber cuánto tiempo máximo (minutos) nos tomará en preparar los productos y sus toppings.\r\n\r\nEsta columna viene también al momento de crear.",
|
|
50
50
|
})
|
|
51
|
-
preparation_time: string;
|
|
51
|
+
preparation_time: string | null;
|
|
52
52
|
|
|
53
53
|
@Column({
|
|
54
54
|
type: "datetime",
|
|
@@ -57,7 +57,14 @@ export class RequestLocal {
|
|
|
57
57
|
"Columna donde almacenamos la fecha de actualización del registro, este campo nos sirve para saber cuánto tiempo llevamos desde qué se actualizó hasta la hora actual.",
|
|
58
58
|
transformer: new DateTransformer(),
|
|
59
59
|
})
|
|
60
|
-
updated: Date;
|
|
60
|
+
updated: Date | null;
|
|
61
|
+
|
|
62
|
+
@Column({
|
|
63
|
+
default: 1,
|
|
64
|
+
comment:
|
|
65
|
+
"Columna para saber sí se notificó vía mensaje desde la página web - aplicación de escritorio o/y correo electrónico:\r\n1. No notificado.\r\n2. Notificado.",
|
|
66
|
+
})
|
|
67
|
+
is_notified: number;
|
|
61
68
|
|
|
62
69
|
@OneToMany(
|
|
63
70
|
() => RequestLocalHistory,
|