test-entity-library-asm 2.1.0 → 2.1.1
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.
|
@@ -43,7 +43,7 @@ var BusinessType = /** @class */ (function () {
|
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, typeorm_1.OneToMany)(function () { return BusinessTypeProduct_1.BusinessTypeProduct; }, function (businessTypeProduct) { return businessTypeProduct.business_type; }),
|
|
45
45
|
__metadata("design:type", Array)
|
|
46
|
-
], BusinessType.prototype, "
|
|
46
|
+
], BusinessType.prototype, "business_types_product", void 0);
|
|
47
47
|
BusinessType = __decorate([
|
|
48
48
|
(0, typeorm_1.Entity)({
|
|
49
49
|
name: 'business_type',
|
|
@@ -23,7 +23,7 @@ var BusinessTypeProduct = /** @class */ (function () {
|
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], BusinessTypeProduct.prototype, "id", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, typeorm_1.ManyToOne)(function () { return BusinessType_1.BusinessType; }, function (businessType) { return businessType.
|
|
26
|
+
(0, typeorm_1.ManyToOne)(function () { return BusinessType_1.BusinessType; }, function (businessType) { return businessType.business_types_product; }, {
|
|
27
27
|
onDelete: 'RESTRICT',
|
|
28
28
|
onUpdate: 'NO ACTION',
|
|
29
29
|
}),
|
package/package.json
CHANGED