@things-factory/product-base 4.3.638 → 4.3.651

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.
Files changed (114) hide show
  1. package/package.json +2 -2
  2. package/server/service/product/product-types.ts +14 -8
  3. package/server/service/product/product.ts +13 -8
  4. package/server/service/product-detail/product-detail-mutation.ts +1 -1
  5. package/dist-server/constants/index.js +0 -18
  6. package/dist-server/constants/index.js.map +0 -1
  7. package/dist-server/constants/product.js +0 -25
  8. package/dist-server/constants/product.js.map +0 -1
  9. package/dist-server/controllers/index.js +0 -1
  10. package/dist-server/controllers/index.js.map +0 -1
  11. package/dist-server/index.js +0 -19
  12. package/dist-server/index.js.map +0 -1
  13. package/dist-server/middlewares/index.js +0 -1
  14. package/dist-server/middlewares/index.js.map +0 -1
  15. package/dist-server/migrations/index.js +0 -12
  16. package/dist-server/migrations/index.js.map +0 -1
  17. package/dist-server/service/index.js +0 -74
  18. package/dist-server/service/index.js.map +0 -1
  19. package/dist-server/service/product/index.js +0 -9
  20. package/dist-server/service/product/index.js.map +0 -1
  21. package/dist-server/service/product/product-mutation.js +0 -408
  22. package/dist-server/service/product/product-mutation.js.map +0 -1
  23. package/dist-server/service/product/product-query.js +0 -373
  24. package/dist-server/service/product/product-query.js.map +0 -1
  25. package/dist-server/service/product/product-types.js +0 -610
  26. package/dist-server/service/product/product-types.js.map +0 -1
  27. package/dist-server/service/product/product.js +0 -609
  28. package/dist-server/service/product/product.js.map +0 -1
  29. package/dist-server/service/product/validate-product.js +0 -26
  30. package/dist-server/service/product/validate-product.js.map +0 -1
  31. package/dist-server/service/product-barcode/index.js +0 -9
  32. package/dist-server/service/product-barcode/index.js.map +0 -1
  33. package/dist-server/service/product-barcode/product-barcode-mutation.js +0 -120
  34. package/dist-server/service/product-barcode/product-barcode-mutation.js.map +0 -1
  35. package/dist-server/service/product-barcode/product-barcode-query.js +0 -87
  36. package/dist-server/service/product-barcode/product-barcode-query.js.map +0 -1
  37. package/dist-server/service/product-barcode/product-barcode-type.js +0 -63
  38. package/dist-server/service/product-barcode/product-barcode-type.js.map +0 -1
  39. package/dist-server/service/product-barcode/product-barcode.js +0 -104
  40. package/dist-server/service/product-barcode/product-barcode.js.map +0 -1
  41. package/dist-server/service/product-bundle/index.js +0 -9
  42. package/dist-server/service/product-bundle/index.js.map +0 -1
  43. package/dist-server/service/product-bundle/product-bundle-mutation.js +0 -130
  44. package/dist-server/service/product-bundle/product-bundle-mutation.js.map +0 -1
  45. package/dist-server/service/product-bundle/product-bundle-query.js +0 -128
  46. package/dist-server/service/product-bundle/product-bundle-query.js.map +0 -1
  47. package/dist-server/service/product-bundle/product-bundle-types.js +0 -85
  48. package/dist-server/service/product-bundle/product-bundle-types.js.map +0 -1
  49. package/dist-server/service/product-bundle/product-bundle.js +0 -128
  50. package/dist-server/service/product-bundle/product-bundle.js.map +0 -1
  51. package/dist-server/service/product-bundle-setting/index.js +0 -9
  52. package/dist-server/service/product-bundle-setting/index.js.map +0 -1
  53. package/dist-server/service/product-bundle-setting/product-bundle-setting-mutation.js +0 -165
  54. package/dist-server/service/product-bundle-setting/product-bundle-setting-mutation.js.map +0 -1
  55. package/dist-server/service/product-bundle-setting/product-bundle-setting-query.js +0 -113
  56. package/dist-server/service/product-bundle-setting/product-bundle-setting-query.js.map +0 -1
  57. package/dist-server/service/product-bundle-setting/product-bundle-setting-types.js +0 -69
  58. package/dist-server/service/product-bundle-setting/product-bundle-setting-types.js.map +0 -1
  59. package/dist-server/service/product-bundle-setting/product-bundle-setting.js +0 -63
  60. package/dist-server/service/product-bundle-setting/product-bundle-setting.js.map +0 -1
  61. package/dist-server/service/product-combination/index.js +0 -9
  62. package/dist-server/service/product-combination/index.js.map +0 -1
  63. package/dist-server/service/product-combination/product-combination-mutation.js +0 -137
  64. package/dist-server/service/product-combination/product-combination-mutation.js.map +0 -1
  65. package/dist-server/service/product-combination/product-combination-query.js +0 -86
  66. package/dist-server/service/product-combination/product-combination-query.js.map +0 -1
  67. package/dist-server/service/product-combination/product-combination-type.js +0 -83
  68. package/dist-server/service/product-combination/product-combination-type.js.map +0 -1
  69. package/dist-server/service/product-combination/product-combination.js +0 -133
  70. package/dist-server/service/product-combination/product-combination.js.map +0 -1
  71. package/dist-server/service/product-combination-setting/index.js +0 -9
  72. package/dist-server/service/product-combination-setting/index.js.map +0 -1
  73. package/dist-server/service/product-combination-setting/product-combination-setting-mutation.js +0 -221
  74. package/dist-server/service/product-combination-setting/product-combination-setting-mutation.js.map +0 -1
  75. package/dist-server/service/product-combination-setting/product-combination-setting-query.js +0 -177
  76. package/dist-server/service/product-combination-setting/product-combination-setting-query.js.map +0 -1
  77. package/dist-server/service/product-combination-setting/product-combination-setting-type.js +0 -75
  78. package/dist-server/service/product-combination-setting/product-combination-setting-type.js.map +0 -1
  79. package/dist-server/service/product-combination-setting/product-combination-setting.js +0 -105
  80. package/dist-server/service/product-combination-setting/product-combination-setting.js.map +0 -1
  81. package/dist-server/service/product-detail/index.js +0 -9
  82. package/dist-server/service/product-detail/index.js.map +0 -1
  83. package/dist-server/service/product-detail/product-detail-mutation.js +0 -374
  84. package/dist-server/service/product-detail/product-detail-mutation.js.map +0 -1
  85. package/dist-server/service/product-detail/product-detail-query.js +0 -223
  86. package/dist-server/service/product-detail/product-detail-query.js.map +0 -1
  87. package/dist-server/service/product-detail/product-detail-types.js +0 -392
  88. package/dist-server/service/product-detail/product-detail-types.js.map +0 -1
  89. package/dist-server/service/product-detail/product-detail.js +0 -444
  90. package/dist-server/service/product-detail/product-detail.js.map +0 -1
  91. package/dist-server/service/product-detail-bizplace-setting/index.js +0 -9
  92. package/dist-server/service/product-detail-bizplace-setting/index.js.map +0 -1
  93. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-mutation.js +0 -118
  94. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-mutation.js.map +0 -1
  95. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-query.js +0 -107
  96. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-query.js.map +0 -1
  97. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-types.js +0 -99
  98. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-types.js.map +0 -1
  99. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting.js +0 -120
  100. package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting.js.map +0 -1
  101. package/dist-server/service/product-set/index.js +0 -9
  102. package/dist-server/service/product-set/index.js.map +0 -1
  103. package/dist-server/service/product-set/product-set-mutation.js +0 -146
  104. package/dist-server/service/product-set/product-set-mutation.js.map +0 -1
  105. package/dist-server/service/product-set/product-set-query.js +0 -136
  106. package/dist-server/service/product-set/product-set-query.js.map +0 -1
  107. package/dist-server/service/product-set/product-set-types.js +0 -77
  108. package/dist-server/service/product-set/product-set-types.js.map +0 -1
  109. package/dist-server/service/product-set/product-set.js +0 -118
  110. package/dist-server/service/product-set/product-set.js.map +0 -1
  111. package/dist-server/utils/index.js +0 -18
  112. package/dist-server/utils/index.js.map +0 -1
  113. package/dist-server/utils/product-util.js +0 -16
  114. package/dist-server/utils/product-util.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/product-base",
3
- "version": "4.3.638",
3
+ "version": "4.3.651",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -26,5 +26,5 @@
26
26
  "@things-factory/biz-base": "^4.3.595",
27
27
  "@things-factory/routing-base": "^4.3.591"
28
28
  },
29
- "gitHead": "d87c82028467f0feb5ece6f09783350baaebfe8a"
29
+ "gitHead": "5b41864ea318a1881f63938a95ab82636bdcd336"
30
30
  }
@@ -45,16 +45,16 @@ export class NewProduct {
45
45
  @Field(type => Int, { nullable: true })
46
46
  expirationPeriod?: number
47
47
 
48
- @Field(type => Int, {nullable: true})
48
+ @Field(type => Int, { nullable: true })
49
49
  minInboundShelfLife?: number
50
50
 
51
- @Field(type => Int, {nullable: true})
51
+ @Field(type => Int, { nullable: true })
52
52
  minOutboundShelfLife?: number
53
53
 
54
- @Field(type => Int, {nullable: true})
54
+ @Field(type => Int, { nullable: true })
55
55
  outboundAlert?: number
56
56
 
57
- @Field(type => Int, {nullable: true})
57
+ @Field(type => Int, { nullable: true })
58
58
  productShelfLife?: number
59
59
 
60
60
  @Field({ nullable: true })
@@ -192,6 +192,9 @@ export class NewProduct {
192
192
  @Field({ nullable: true })
193
193
  isRequireSerialNumberScanningOutbound?: boolean
194
194
 
195
+ @Field({ nullable: true })
196
+ isInventoryDecimal?: boolean
197
+
195
198
  @Field({ nullable: true })
196
199
  gtin?: string
197
200
 
@@ -279,16 +282,16 @@ export class ProductPatch {
279
282
  @Field(type => Int, { nullable: true })
280
283
  expirationPeriod?: number
281
284
 
282
- @Field(type => Int, {nullable: true})
285
+ @Field(type => Int, { nullable: true })
283
286
  minInboundShelfLife?: number
284
287
 
285
- @Field(type => Int, {nullable: true})
288
+ @Field(type => Int, { nullable: true })
286
289
  minOutboundShelfLife?: number
287
290
 
288
- @Field(type => Int, {nullable: true})
291
+ @Field(type => Int, { nullable: true })
289
292
  outboundAlert?: number
290
293
 
291
- @Field(type => Int, {nullable: true})
294
+ @Field(type => Int, { nullable: true })
292
295
  productShelfLife?: number
293
296
 
294
297
  @Field(type => Int, { nullable: true })
@@ -363,6 +366,9 @@ export class ProductPatch {
363
366
  @Field(type => Boolean, { nullable: true })
364
367
  isRequireSerialNumberScanningOutbound?: boolean
365
368
 
369
+ @Field(type => Boolean, { nullable: true })
370
+ isInventoryDecimal?: boolean
371
+
366
372
  @Field({ nullable: true })
367
373
  primaryUnit?: string
368
374
 
@@ -162,21 +162,21 @@ export class Product {
162
162
  expirationPeriod: number
163
163
 
164
164
  //add min outbound shelf life column
165
- @Column({ nullable: true})
166
- @Field({ nullable: true})
165
+ @Column({ nullable: true })
166
+ @Field({ nullable: true })
167
167
  minOutboundShelfLife: number
168
168
 
169
169
  //add min inbound shelfLife column
170
- @Column({nullable: true })
171
- @Field({nullable: true})
170
+ @Column({ nullable: true })
171
+ @Field({ nullable: true })
172
172
  minInboundShelfLife: number
173
173
 
174
- @Column({ nullable: true})
175
- @Field({ nullable: true})
174
+ @Column({ nullable: true })
175
+ @Field({ nullable: true })
176
176
  productShelfLife: number
177
177
 
178
178
  @Column({ nullable: true })
179
- @Field({ nullable: true})
179
+ @Field({ nullable: true })
180
180
  outboundAlert: number
181
181
 
182
182
  //// To be removed ////
@@ -390,6 +390,10 @@ export class Product {
390
390
  @Field({ nullable: true })
391
391
  isRequireSerialNumberScanningOutbound: boolean
392
392
 
393
+ @Column({ default: false })
394
+ @Field({ nullable: true })
395
+ isInventoryDecimal: boolean
396
+
393
397
  @Column({ nullable: true })
394
398
  @Field({ nullable: true })
395
399
  deletedAt: Date
@@ -494,7 +498,7 @@ export class Product {
494
498
  this.minInboundShelfLife = obj.min_inbound_shelf_life
495
499
  this.minOutboundShelfLife = obj.min_outbound_shelf_life
496
500
  this.productShelfLife = obj.product_shelf_life
497
- this.outboundAlert=obj.outbound_alert
501
+ this.outboundAlert = obj.outbound_alert
498
502
  this.weightUnit = obj.product_weight_unit
499
503
  this.weight = obj.product_weight
500
504
  this.density = obj.product_density
@@ -542,6 +546,7 @@ export class Product {
542
546
  this.maxQty = obj.product_max_qty
543
547
  this.isCompany = obj.product_is_company
544
548
  this.deletedAt = obj.product_deleted_at
549
+ this.isInventoryDecimal = obj.product_is_inventory_decimal
545
550
  this.isRequiredCheckExpiry = obj.product_is_required_check_expiry
546
551
  this.isRequireSerialNumberScanning = obj.product_is_require_serial_number_scanning
547
552
  this.isRequireSerialNumberScanningInbound = obj.product_is_require_serial_number_scanning_inbound
@@ -184,7 +184,7 @@ export async function updateMultipleProductDetail(productId, patches, context: a
184
184
  : null
185
185
  const newRecord = {
186
186
  ..._createRecords[i],
187
- name: _createRecords[i].gtin ? _createRecords[i].gtin : _createRecords[i].name,
187
+ name: _createRecords[i].name ? _createRecords[i].name : _createRecords[i].gtin,
188
188
  gtin: barcodeInfo?.gtin || product.sku,
189
189
  refCode:
190
190
  _createRecords[i].refCode && _createRecords[i].refCode !== ''
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./product"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PRODUCT_COMBINATION_STATUS = exports.PRODUCT_BUNDLE_STATUS = exports.PRODUCT_SET_STATUS = exports.PRODUCT_STATUS = void 0;
4
- exports.PRODUCT_STATUS = {
5
- ACTIVE: 'ACTIVE',
6
- DELETED: 'DELETED',
7
- INACTIVE: 'INACTIVE'
8
- };
9
- exports.PRODUCT_SET_STATUS = {
10
- ACTIVE: 'ACTIVE',
11
- DELETED: 'DELETED',
12
- INACTIVE: 'INACTIVE'
13
- };
14
- exports.PRODUCT_BUNDLE_STATUS = {
15
- ACTIVE: 'ACTIVE',
16
- DELETED: 'DELETED',
17
- INACTIVE: 'INACTIVE'
18
- };
19
- exports.PRODUCT_COMBINATION_STATUS = {
20
- ACTIVE: 'ACTIVE',
21
- ACTIVATED: 'ACTIVATED',
22
- DELETED: 'DELETED',
23
- INACTIVE: 'INACTIVE'
24
- };
25
- //# sourceMappingURL=product.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"product.js","sourceRoot":"","sources":["../../server/constants/product.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG;IAC5B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACrB,CAAA;AAEY,QAAA,kBAAkB,GAAG;IAChC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACrB,CAAA;AAEY,QAAA,qBAAqB,GAAG;IACnC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACrB,CAAA;AAEY,QAAA,0BAA0B,GAAG;IACxC,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACrB,CAAA"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/controllers/index.ts"],"names":[],"mappings":""}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./service"), exports);
18
- __exportStar(require("./migrations"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/middlewares/index.ts"],"names":[],"mappings":""}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.migrations = void 0;
4
- const glob = require('glob');
5
- const path = require('path');
6
- exports.migrations = [];
7
- glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function (file) {
8
- if (file.indexOf('index.js') !== -1)
9
- return;
10
- exports.migrations = exports.migrations.concat(Object.values(require(path.resolve(file))) || []);
11
- });
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/migrations/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEjB,QAAA,UAAU,GAAG,EAAE,CAAA;AAE1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,UAAS,IAAI;IACzE,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAAE,OAAM;IAC3C,kBAAU,GAAG,kBAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;AAClF,CAAC,CAAC,CAAA"}
@@ -1,74 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.updateProduct = exports.createProduct = exports.schema = exports.entities = void 0;
18
- const product_1 = require("./product");
19
- const product_bundle_1 = require("./product-bundle");
20
- const product_bundle_setting_1 = require("./product-bundle-setting");
21
- const product_detail_1 = require("./product-detail");
22
- const product_detail_bizplace_setting_1 = require("./product-detail-bizplace-setting");
23
- const product_set_1 = require("./product-set");
24
- const product_combination_1 = require("./product-combination");
25
- const product_combination_setting_1 = require("./product-combination-setting");
26
- const product_barcode_1 = require("./product-barcode");
27
- /* EXPORT ENTITY TYPES */
28
- __exportStar(require("./product-barcode/product-barcode"), exports);
29
- __exportStar(require("./product-combination-setting/product-combination-setting"), exports);
30
- __exportStar(require("./product-combination/product-combination"), exports);
31
- __exportStar(require("./product/product"), exports);
32
- __exportStar(require("./product-detail/product-detail"), exports);
33
- __exportStar(require("./product-bundle/product-bundle"), exports);
34
- __exportStar(require("./product-bundle-setting/product-bundle-setting"), exports);
35
- __exportStar(require("./product-detail-bizplace-setting/product-detail-bizplace-setting"), exports);
36
- __exportStar(require("./product-set/product-set"), exports);
37
- /* EXPORT TYPES */
38
- __exportStar(require("./product-barcode/product-barcode-type"), exports);
39
- __exportStar(require("./product-combination/product-combination-type"), exports);
40
- __exportStar(require("./product-combination-setting/product-combination-setting-type"), exports);
41
- __exportStar(require("./product/product-types"), exports);
42
- __exportStar(require("./product-detail/product-detail-types"), exports);
43
- __exportStar(require("./product-bundle/product-bundle-types"), exports);
44
- __exportStar(require("./product-bundle-setting/product-bundle-setting-types"), exports);
45
- __exportStar(require("./product-detail-bizplace-setting/product-detail-bizplace-setting-types"), exports);
46
- __exportStar(require("./product-set/product-set-types"), exports);
47
- exports.entities = [
48
- ...product_1.entities,
49
- ...product_detail_1.entities,
50
- ...product_bundle_1.entities,
51
- ...product_bundle_setting_1.entities,
52
- ...product_detail_bizplace_setting_1.entities,
53
- ...product_set_1.entities,
54
- ...product_combination_1.entities,
55
- ...product_combination_setting_1.entities,
56
- ...product_barcode_1.entities
57
- ];
58
- exports.schema = {
59
- resolverClasses: [
60
- ...product_1.resolvers,
61
- ...product_detail_1.resolvers,
62
- ...product_bundle_1.resolvers,
63
- ...product_bundle_setting_1.resolvers,
64
- ...product_detail_bizplace_setting_1.resolvers,
65
- ...product_set_1.resolvers,
66
- ...product_combination_1.resolvers,
67
- ...product_combination_setting_1.resolvers,
68
- ...product_barcode_1.resolvers
69
- ]
70
- };
71
- var product_mutation_1 = require("./product/product-mutation");
72
- Object.defineProperty(exports, "createProduct", { enumerable: true, get: function () { return product_mutation_1.createProduct; } });
73
- Object.defineProperty(exports, "updateProduct", { enumerable: true, get: function () { return product_mutation_1.updateProduct; } });
74
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/service/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uCAAsF;AACtF,qDAAyG;AACzG,qEAGiC;AACjC,qDAAyG;AACzG,uFAG0C;AAC1C,+CAAgG;AAChG,+DAAwH;AACxH,+EAGsC;AACtC,uDAA4G;AAG5G,yBAAyB;AACzB,oEAAiD;AACjD,4FAAyE;AACzE,4EAAyD;AACzD,oDAAiC;AACjC,kEAA+C;AAC/C,kEAA+C;AAC/C,kFAA+D;AAC/D,oGAAiF;AACjF,4DAAyC;AAEzC,kBAAkB;AAClB,yEAAsD;AACtD,iFAA8D;AAC9D,iGAA8E;AAC9E,0DAAuC;AACvC,wEAAqD;AACrD,wEAAqD;AACrD,wFAAqE;AACrE,0GAAuF;AACvF,kEAA+C;AAElC,QAAA,QAAQ,GAAG;IACtB,GAAG,kBAAe;IAClB,GAAG,yBAAqB;IACxB,GAAG,yBAAqB;IACxB,GAAG,iCAA4B;IAC/B,GAAG,0CAAoC;IACvC,GAAG,sBAAkB;IACrB,GAAG,8BAA0B;IAC7B,GAAG,sCAAiC;IACpC,GAAG,0BAAsB;CAC1B,CAAA;AAEY,QAAA,MAAM,GAAG;IACpB,eAAe,EAAE;QACf,GAAG,mBAAgB;QACnB,GAAG,0BAAsB;QACzB,GAAG,0BAAsB;QACzB,GAAG,kCAA6B;QAChC,GAAG,2CAAoC;QACvC,GAAG,uBAAmB;QACtB,GAAG,+BAA2B;QAC9B,GAAG,uCAAkC;QACrC,GAAG,2BAAuB;KAC3B;CACF,CAAA;AAED,+DAAyE;AAAhE,iHAAA,aAAa,OAAA;AAAE,iHAAA,aAAa,OAAA"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolvers = exports.entities = void 0;
4
- const product_1 = require("./product");
5
- const product_mutation_1 = require("./product-mutation");
6
- const product_query_1 = require("./product-query");
7
- exports.entities = [product_1.Product];
8
- exports.resolvers = [product_query_1.ProductQuery, product_mutation_1.ProductMutation];
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/product/index.ts"],"names":[],"mappings":";;;AAAA,uCAAmC;AACnC,yDAAoD;AACpD,mDAA8C;AAEjC,QAAA,QAAQ,GAAG,CAAC,iBAAO,CAAC,CAAA;AACpB,QAAA,SAAS,GAAG,CAAC,4BAAY,EAAE,kCAAe,CAAC,CAAA"}