@things-factory/warehouse-base 4.3.183 → 4.3.186

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.
@@ -115,7 +115,7 @@ __decorate([
115
115
  __metadata("design:type", typeof (_e = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _e : Object)
116
116
  ], InventoryItem.prototype, "updater", void 0);
117
117
  __decorate([
118
- (0, typeorm_1.RelationId)((inventoryItem) => inventoryItem.creator),
118
+ (0, typeorm_1.RelationId)((inventoryItem) => inventoryItem.updater),
119
119
  __metadata("design:type", String)
120
120
  ], InventoryItem.prototype, "updaterId", void 0);
121
121
  __decorate([
@@ -98,7 +98,7 @@ __decorate([
98
98
  __metadata("design:type", typeof (_c = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _c : Object)
99
99
  ], InventoryItemChange.prototype, "updater", void 0);
100
100
  __decorate([
101
- (0, typeorm_1.RelationId)((inventoryItemChange) => inventoryItemChange.creator),
101
+ (0, typeorm_1.RelationId)((inventoryItemChange) => inventoryItemChange.updater),
102
102
  __metadata("design:type", String)
103
103
  ], InventoryItemChange.prototype, "updaterId", void 0);
104
104
  InventoryItemChange = __decorate([
@@ -100,7 +100,7 @@ __decorate([
100
100
  __metadata("design:type", typeof (_e = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _e : Object)
101
101
  ], InventoryProduct.prototype, "updater", void 0);
102
102
  __decorate([
103
- (0, typeorm_1.RelationId)((inventoryProduct) => inventoryProduct.creator),
103
+ (0, typeorm_1.RelationId)((inventoryProduct) => inventoryProduct.updater),
104
104
  __metadata("design:type", String)
105
105
  ], InventoryProduct.prototype, "updaterId", void 0);
106
106
  InventoryProduct = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/warehouse-base",
3
- "version": "4.3.183",
3
+ "version": "4.3.186",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@things-factory/biz-base": "^4.3.179",
27
- "@things-factory/id-rule-base": "^4.3.179",
28
- "@things-factory/integration-accounting": "^4.3.179",
29
- "@things-factory/integration-sellercraft": "^4.3.179",
30
- "@things-factory/marketplace-base": "^4.3.180",
31
- "@things-factory/product-base": "^4.3.179",
32
- "@things-factory/setting-base": "^4.3.179"
27
+ "@things-factory/id-rule-base": "^4.3.186",
28
+ "@things-factory/integration-accounting": "^4.3.186",
29
+ "@things-factory/integration-sellercraft": "^4.3.186",
30
+ "@things-factory/marketplace-base": "^4.3.186",
31
+ "@things-factory/product-base": "^4.3.186",
32
+ "@things-factory/setting-base": "^4.3.186"
33
33
  },
34
- "gitHead": "7f1c4065051da7867827873478b8cbeec0beded4"
34
+ "gitHead": "854c79b134b5d94c5635c75c467eca229430183b"
35
35
  }
@@ -101,7 +101,7 @@ export class InventoryItem {
101
101
  @Field({ nullable: true })
102
102
  updater?: User
103
103
 
104
- @RelationId((inventoryItem: InventoryItem) => inventoryItem.creator)
104
+ @RelationId((inventoryItem: InventoryItem) => inventoryItem.updater)
105
105
  updaterId?: string
106
106
 
107
107
  @Field({ nullable: true })
@@ -87,6 +87,6 @@ export class InventoryItemChange {
87
87
  @Field({ nullable: true })
88
88
  updater?: User
89
89
 
90
- @RelationId((inventoryItemChange: InventoryItemChange) => inventoryItemChange.creator)
90
+ @RelationId((inventoryItemChange: InventoryItemChange) => inventoryItemChange.updater)
91
91
  updaterId?: string
92
92
  }
@@ -87,6 +87,6 @@ export class InventoryProduct {
87
87
  @Field({ nullable: true })
88
88
  updater?: User
89
89
 
90
- @RelationId((inventoryProduct: InventoryProduct) => inventoryProduct.creator)
90
+ @RelationId((inventoryProduct: InventoryProduct) => inventoryProduct.updater)
91
91
  updaterId?: string
92
92
  }