@things-factory/warehouse-base 8.0.0 → 8.0.2

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": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -17,19 +17,19 @@
17
17
  "directory": "packages/warehouse-base"
18
18
  },
19
19
  "scripts": {
20
- "build": "tsc --p tsconfig.json",
20
+ "build": "npm run build:server",
21
21
  "build:server": "npm run clean:server && tsc",
22
22
  "clean:server": "rm -rf dist-server",
23
23
  "clean": "npm run clean:server",
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create ./server/migrations/migration"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/biz-base": "^8.0.0",
28
- "@things-factory/id-rule-base": "^8.0.0",
29
- "@things-factory/integration-sellercraft": "^8.0.0",
30
- "@things-factory/marketplace-base": "^8.0.0",
31
- "@things-factory/product-base": "^8.0.0",
32
- "@things-factory/setting-base": "^8.0.0"
27
+ "@things-factory/biz-base": "^8.0.2",
28
+ "@things-factory/id-rule-base": "^8.0.2",
29
+ "@things-factory/integration-sellercraft": "^8.0.2",
30
+ "@things-factory/marketplace-base": "^8.0.2",
31
+ "@things-factory/product-base": "^8.0.2",
32
+ "@things-factory/setting-base": "^8.0.2"
33
33
  },
34
- "gitHead": "07ef27d272dd9a067a9648ac7013748510556a18"
34
+ "gitHead": "39d60f56e142561233ddf6d47b539c637971357c"
35
35
  }
@@ -221,7 +221,7 @@ export class InventoryQuery {
221
221
  params,
222
222
  alias: 'i',
223
223
  domain,
224
- searchables: ['productName', 'productSKU'],
224
+ searchables: ['productName', 'productSKU', 'productType'],
225
225
  filtersMap: {
226
226
  productName: {
227
227
  relationColumn: 'product',
@@ -230,6 +230,10 @@ export class InventoryQuery {
230
230
  productSKU: {
231
231
  relationColumn: 'product',
232
232
  columnName: 'sku'
233
+ },
234
+ productType: {
235
+ relationColumn: 'product',
236
+ columnName: 'type'
233
237
  }
234
238
  }
235
239
  })