@asumano/worklip-typeorm-db 1.1.40 → 1.1.42
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.
|
@@ -45,6 +45,15 @@ __decorate([
|
|
|
45
45
|
}),
|
|
46
46
|
__metadata("design:type", String)
|
|
47
47
|
], ServiceOrder.prototype, "title", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({
|
|
50
|
+
type: "decimal",
|
|
51
|
+
precision: 10,
|
|
52
|
+
scale: 2,
|
|
53
|
+
comment: "Precio de la orden de servicio.",
|
|
54
|
+
}),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], ServiceOrder.prototype, "price", void 0);
|
|
48
57
|
__decorate([
|
|
49
58
|
(0, typeorm_1.ManyToOne)(() => Workshop_1.Workshop, (workshop) => workshop.service_orders, {
|
|
50
59
|
onDelete: "CASCADE",
|
|
@@ -26,6 +26,10 @@ __decorate([
|
|
|
26
26
|
(0, typeorm_1.ViewColumn)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], ServicesOrder.prototype, "title", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.ViewColumn)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], ServicesOrder.prototype, "price", void 0);
|
|
29
33
|
__decorate([
|
|
30
34
|
(0, typeorm_1.ViewColumn)(),
|
|
31
35
|
__metadata("design:type", Number)
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asumano/worklip-typeorm-db",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.42",
|
|
4
4
|
"publishConfig": {
|
|
5
|
-
"access": "
|
|
5
|
+
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"description": "Librería npm para la gestión de bases de datos utilizando TypeORM en el proyecto Worklip.",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"dist"
|
|
12
12
|
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "npx rimraf dist && tsc --build"
|
|
15
|
+
},
|
|
13
16
|
"keywords": [],
|
|
14
17
|
"author": "",
|
|
15
18
|
"license": "ISC",
|
|
@@ -31,8 +34,5 @@
|
|
|
31
34
|
"type": "git",
|
|
32
35
|
"url": "https://github.com/worklip/worklip-typeorm-db.git"
|
|
33
36
|
},
|
|
34
|
-
"homepage": "https://github.com/worklip/worklip-typeorm-db.git"
|
|
35
|
-
|
|
36
|
-
"build": "npx rimraf dist && tsc --build"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
37
|
+
"homepage": "https://github.com/worklip/worklip-typeorm-db.git"
|
|
38
|
+
}
|