@things-factory/warehouse-base 6.2.49 → 6.2.50

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/warehouse-base",
3
- "version": "6.2.49",
3
+ "version": "6.2.50",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,12 +24,12 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/biz-base": "^6.2.49",
28
- "@things-factory/id-rule-base": "^6.2.49",
29
- "@things-factory/integration-sellercraft": "^6.2.49",
30
- "@things-factory/marketplace-base": "^6.2.49",
31
- "@things-factory/product-base": "^6.2.49",
32
- "@things-factory/setting-base": "^6.2.49"
27
+ "@things-factory/biz-base": "^6.2.50",
28
+ "@things-factory/id-rule-base": "^6.2.50",
29
+ "@things-factory/integration-sellercraft": "^6.2.50",
30
+ "@things-factory/marketplace-base": "^6.2.50",
31
+ "@things-factory/product-base": "^6.2.50",
32
+ "@things-factory/setting-base": "^6.2.50"
33
33
  },
34
- "gitHead": "57266c96220301729f9c5cd633af1a4e2a651096"
34
+ "gitHead": "4dc51db04b745ac434d2bb874038ac4c3b47989b"
35
35
  }
@@ -111,7 +111,7 @@ export class InventoryChangeMutation {
111
111
  async deleteInventoryChange(@Arg('name') name: string, @Ctx() context: ResolverContext): Promise<Boolean> {
112
112
  const { domain, tx } = context.state
113
113
 
114
- await tx.getRepository(InventoryChange).delete({ domain: domain, name })
114
+ await tx.getRepository(InventoryChange).delete({ domain: { id: domain.id }, name })
115
115
  return true
116
116
  }
117
117
 
@@ -124,7 +124,7 @@ export class InventoryChangeMutation {
124
124
  const { domain, tx } = context.state
125
125
 
126
126
  await tx.getRepository(InventoryChange).delete({
127
- domain: domain,
127
+ domain: { id: domain.id },
128
128
  name: In(names)
129
129
  })
130
130
  return true
@@ -95,7 +95,7 @@ export class InventoryHistoryMutation {
95
95
  async deleteInventoryHistory(@Arg('name') name: string, @Ctx() context: ResolverContext): Promise<Boolean> {
96
96
  const { domain, tx } = context.state
97
97
 
98
- await tx.getRepository(InventoryHistory).delete({ domain: domain, name })
98
+ await tx.getRepository(InventoryHistory).delete({ domain: { id: domain.id }, name })
99
99
  return true
100
100
  }
101
101
 
@@ -108,7 +108,7 @@ export class InventoryHistoryMutation {
108
108
  const { domain, tx } = context.state
109
109
 
110
110
  await tx.getRepository(InventoryHistory).delete({
111
- domain: domain,
111
+ domain: { id: domain.id },
112
112
  name: In(names)
113
113
  })
114
114
  return true
@@ -141,7 +141,7 @@ export class PalletMutation {
141
141
  async deletePallet(@Arg('name') name: string, @Ctx() context: ResolverContext): Promise<Boolean> {
142
142
  const { domain, tx } = context.state
143
143
 
144
- await tx.getRepository(Pallet).delete({ domain: domain, name })
144
+ await tx.getRepository(Pallet).delete({ domain: { id: domain.id }, name })
145
145
  return true
146
146
  }
147
147
 
@@ -95,7 +95,7 @@ export class PalletCountMutation {
95
95
  async deletePalletCount(@Arg('name') name: string, @Ctx() context: ResolverContext): Promise<Boolean> {
96
96
  const { domain, tx } = context.state
97
97
 
98
- await tx.getRepository(PalletCount).delete({ domain: domain, name })
98
+ await tx.getRepository(PalletCount).delete({ domain: { id: domain.id }, name })
99
99
  return true
100
100
  }
101
101
 
@@ -108,7 +108,7 @@ export class PalletCountMutation {
108
108
  const { domain, tx } = context.state
109
109
 
110
110
  await tx.getRepository(PalletCount).delete({
111
- domain: domain,
111
+ domain: { id: domain.id },
112
112
  name: In(names)
113
113
  })
114
114
  return true
@@ -93,7 +93,7 @@ export class PalletHistoryMutation {
93
93
  async deletePalletHistory(@Arg('name') name: string, @Ctx() context: ResolverContext): Promise<Boolean> {
94
94
  const { domain, user, tx } = context.state
95
95
 
96
- await tx.getRepository(PalletHistory).delete({ domain: domain, name })
96
+ await tx.getRepository(PalletHistory).delete({ domain: { id: domain.id }, name })
97
97
  return true
98
98
  }
99
99
 
@@ -106,7 +106,7 @@ export class PalletHistoryMutation {
106
106
  const { domain, user, tx } = context.state
107
107
 
108
108
  await tx.getRepository(PalletHistory).delete({
109
- domain: domain,
109
+ domain: { id: domain.id },
110
110
  name: In(names)
111
111
  })
112
112
  return true