@things-factory/product-base 5.0.2 → 5.0.14
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/dist-server/constants/index.js +2 -15
- package/dist-server/constants/index.js.map +1 -1
- package/dist-server/constants/product.js.map +1 -1
- package/dist-server/controllers/index.js.map +1 -1
- package/dist-server/index.js +3 -16
- package/dist-server/index.js.map +1 -1
- package/dist-server/middlewares/index.js.map +1 -1
- package/dist-server/migrations/index.js.map +1 -1
- package/dist-server/service/index.js +17 -30
- package/dist-server/service/index.js.map +1 -1
- package/dist-server/service/product/index.js.map +1 -1
- package/dist-server/service/product/product-mutation.js +59 -73
- package/dist-server/service/product/product-mutation.js.map +1 -1
- package/dist-server/service/product/product-query.js +78 -89
- package/dist-server/service/product/product-query.js.map +1 -1
- package/dist-server/service/product/product-types.js +261 -272
- package/dist-server/service/product/product-types.js.map +1 -1
- package/dist-server/service/product/product.js +179 -187
- package/dist-server/service/product/product.js.map +1 -1
- package/dist-server/service/product/validate-product.js +2 -4
- package/dist-server/service/product/validate-product.js.map +1 -1
- package/dist-server/service/product-bundle/index.js.map +1 -1
- package/dist-server/service/product-bundle/product-bundle-mutation.js +33 -44
- package/dist-server/service/product-bundle/product-bundle-mutation.js.map +1 -1
- package/dist-server/service/product-bundle/product-bundle-query.js +35 -46
- package/dist-server/service/product-bundle/product-bundle-query.js.map +1 -1
- package/dist-server/service/product-bundle/product-bundle-types.js +30 -38
- package/dist-server/service/product-bundle/product-bundle-types.js.map +1 -1
- package/dist-server/service/product-bundle/product-bundle.js +40 -48
- package/dist-server/service/product-bundle/product-bundle.js.map +1 -1
- package/dist-server/service/product-bundle-setting/index.js.map +1 -1
- package/dist-server/service/product-bundle-setting/product-bundle-setting-mutation.js +27 -38
- package/dist-server/service/product-bundle-setting/product-bundle-setting-mutation.js.map +1 -1
- package/dist-server/service/product-bundle-setting/product-bundle-setting-query.js +14 -25
- package/dist-server/service/product-bundle-setting/product-bundle-setting-query.js.map +1 -1
- package/dist-server/service/product-bundle-setting/product-bundle-setting-types.js +23 -31
- package/dist-server/service/product-bundle-setting/product-bundle-setting-types.js.map +1 -1
- package/dist-server/service/product-bundle-setting/product-bundle-setting.js +16 -24
- package/dist-server/service/product-bundle-setting/product-bundle-setting.js.map +1 -1
- package/dist-server/service/product-combination/index.js.map +1 -1
- package/dist-server/service/product-combination/product-combination-mutation.js +34 -45
- package/dist-server/service/product-combination/product-combination-mutation.js.map +1 -1
- package/dist-server/service/product-combination/product-combination-query.js +29 -40
- package/dist-server/service/product-combination/product-combination-query.js.map +1 -1
- package/dist-server/service/product-combination/product-combination-type.js +28 -36
- package/dist-server/service/product-combination/product-combination-type.js.map +1 -1
- package/dist-server/service/product-combination/product-combination.js +42 -50
- package/dist-server/service/product-combination/product-combination.js.map +1 -1
- package/dist-server/service/product-combination-setting/index.js.map +1 -1
- package/dist-server/service/product-combination-setting/product-combination-setting-mutation.js +40 -51
- package/dist-server/service/product-combination-setting/product-combination-setting-mutation.js.map +1 -1
- package/dist-server/service/product-combination-setting/product-combination-setting-query.js +35 -46
- package/dist-server/service/product-combination-setting/product-combination-setting-query.js.map +1 -1
- package/dist-server/service/product-combination-setting/product-combination-setting-type.js +24 -32
- package/dist-server/service/product-combination-setting/product-combination-setting-type.js.map +1 -1
- package/dist-server/service/product-combination-setting/product-combination-setting.js +36 -44
- package/dist-server/service/product-combination-setting/product-combination-setting.js.map +1 -1
- package/dist-server/service/product-detail/index.js.map +1 -1
- package/dist-server/service/product-detail/product-detail-mutation.js +30 -51
- package/dist-server/service/product-detail/product-detail-mutation.js.map +1 -1
- package/dist-server/service/product-detail/product-detail-query.js +33 -44
- package/dist-server/service/product-detail/product-detail-query.js.map +1 -1
- package/dist-server/service/product-detail/product-detail-types.js +180 -188
- package/dist-server/service/product-detail/product-detail-types.js.map +1 -1
- package/dist-server/service/product-detail/product-detail.js +127 -135
- package/dist-server/service/product-detail/product-detail.js.map +1 -1
- package/dist-server/service/product-detail-bizplace-setting/index.js.map +1 -1
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-mutation.js +28 -39
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-mutation.js.map +1 -1
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-query.js +29 -40
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-query.js.map +1 -1
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-types.js +36 -44
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting-types.js.map +1 -1
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting.js +32 -40
- package/dist-server/service/product-detail-bizplace-setting/product-detail-bizplace-setting.js.map +1 -1
- package/dist-server/service/product-set/index.js.map +1 -1
- package/dist-server/service/product-set/product-set-mutation.js +33 -44
- package/dist-server/service/product-set/product-set-mutation.js.map +1 -1
- package/dist-server/service/product-set/product-set-query.js +35 -46
- package/dist-server/service/product-set/product-set-query.js.map +1 -1
- package/dist-server/service/product-set/product-set-types.js +26 -34
- package/dist-server/service/product-set/product-set-types.js.map +1 -1
- package/dist-server/service/product-set/product-set.js +34 -42
- package/dist-server/service/product-set/product-set.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -0
- package/dist-server/utils/index.js +2 -15
- package/dist-server/utils/index.js.map +1 -1
- package/dist-server/utils/product-util.js.map +1 -1
- package/package.json +4 -4
- package/server/service/product/product-query.ts +1 -1
- package/server/service/product/product.ts +2 -2
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
var Product_1, _a, _b, _c, _d, _e;
|
|
12
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
4
|
exports.Product = exports.pickStrategy = void 0;
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
14
6
|
const type_graphql_1 = require("type-graphql");
|
|
15
7
|
const typeorm_1 = require("typeorm");
|
|
16
8
|
const auth_base_1 = require("@things-factory/auth-base");
|
|
@@ -97,349 +89,349 @@ let Product = Product_1 = class Product {
|
|
|
97
89
|
}
|
|
98
90
|
}
|
|
99
91
|
};
|
|
100
|
-
__decorate([
|
|
92
|
+
tslib_1.__decorate([
|
|
101
93
|
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
102
94
|
(0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
|
|
103
|
-
__metadata("design:type", String)
|
|
95
|
+
tslib_1.__metadata("design:type", String)
|
|
104
96
|
], Product.prototype, "id", void 0);
|
|
105
|
-
__decorate([
|
|
97
|
+
tslib_1.__decorate([
|
|
106
98
|
(0, typeorm_1.ManyToOne)(type => shell_1.Domain),
|
|
107
99
|
(0, type_graphql_1.Field)(),
|
|
108
|
-
__metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
|
|
100
|
+
tslib_1.__metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
|
|
109
101
|
], Product.prototype, "domain", void 0);
|
|
110
|
-
__decorate([
|
|
102
|
+
tslib_1.__decorate([
|
|
111
103
|
(0, typeorm_1.RelationId)((product) => product.domain),
|
|
112
|
-
__metadata("design:type", String)
|
|
104
|
+
tslib_1.__metadata("design:type", String)
|
|
113
105
|
], Product.prototype, "domainId", void 0);
|
|
114
|
-
__decorate([
|
|
106
|
+
tslib_1.__decorate([
|
|
115
107
|
(0, typeorm_1.RelationId)((product) => product.bizplace),
|
|
116
|
-
__metadata("design:type", String)
|
|
108
|
+
tslib_1.__metadata("design:type", String)
|
|
117
109
|
], Product.prototype, "bizplaceId", void 0);
|
|
118
|
-
__decorate([
|
|
110
|
+
tslib_1.__decorate([
|
|
119
111
|
(0, typeorm_1.RelationId)((product) => product.productRef),
|
|
120
|
-
__metadata("design:type", String)
|
|
112
|
+
tslib_1.__metadata("design:type", String)
|
|
121
113
|
], Product.prototype, "productRefId", void 0);
|
|
122
|
-
__decorate([
|
|
114
|
+
tslib_1.__decorate([
|
|
123
115
|
(0, typeorm_1.RelationId)((product) => product.parentProductRef),
|
|
124
|
-
__metadata("design:type", String)
|
|
116
|
+
tslib_1.__metadata("design:type", String)
|
|
125
117
|
], Product.prototype, "parentProductRefId", void 0);
|
|
126
|
-
__decorate([
|
|
118
|
+
tslib_1.__decorate([
|
|
127
119
|
(0, typeorm_1.ManyToOne)(type => biz_base_1.Bizplace),
|
|
128
120
|
(0, type_graphql_1.Field)(),
|
|
129
|
-
__metadata("design:type", typeof (_b = typeof biz_base_1.Bizplace !== "undefined" && biz_base_1.Bizplace) === "function" ? _b : Object)
|
|
121
|
+
tslib_1.__metadata("design:type", typeof (_b = typeof biz_base_1.Bizplace !== "undefined" && biz_base_1.Bizplace) === "function" ? _b : Object)
|
|
130
122
|
], Product.prototype, "bizplace", void 0);
|
|
131
|
-
__decorate([
|
|
123
|
+
tslib_1.__decorate([
|
|
132
124
|
(0, typeorm_1.Column)({ default: false }),
|
|
133
125
|
(0, type_graphql_1.Field)(),
|
|
134
|
-
__metadata("design:type", Boolean)
|
|
126
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
135
127
|
], Product.prototype, "isCompany", void 0);
|
|
136
|
-
__decorate([
|
|
128
|
+
tslib_1.__decorate([
|
|
137
129
|
(0, typeorm_1.Column)(),
|
|
138
130
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
139
|
-
__metadata("design:type", String)
|
|
131
|
+
tslib_1.__metadata("design:type", String)
|
|
140
132
|
], Product.prototype, "sku", void 0);
|
|
141
|
-
__decorate([
|
|
133
|
+
tslib_1.__decorate([
|
|
142
134
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
143
135
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
144
|
-
__metadata("design:type", String)
|
|
136
|
+
tslib_1.__metadata("design:type", String)
|
|
145
137
|
], Product.prototype, "brandSku", void 0);
|
|
146
|
-
__decorate([
|
|
138
|
+
tslib_1.__decorate([
|
|
147
139
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
148
140
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
149
|
-
__metadata("design:type", String)
|
|
141
|
+
tslib_1.__metadata("design:type", String)
|
|
150
142
|
], Product.prototype, "brand", void 0);
|
|
151
|
-
__decorate([
|
|
143
|
+
tslib_1.__decorate([
|
|
152
144
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
153
145
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
154
|
-
__metadata("design:type", String)
|
|
146
|
+
tslib_1.__metadata("design:type", String)
|
|
155
147
|
], Product.prototype, "subBrand", void 0);
|
|
156
|
-
__decorate([
|
|
148
|
+
tslib_1.__decorate([
|
|
157
149
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
158
150
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
159
|
-
__metadata("design:type", String)
|
|
151
|
+
tslib_1.__metadata("design:type", String)
|
|
160
152
|
], Product.prototype, "gtin", void 0);
|
|
161
|
-
__decorate([
|
|
153
|
+
tslib_1.__decorate([
|
|
162
154
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
163
155
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
164
|
-
__metadata("design:type", String)
|
|
156
|
+
tslib_1.__metadata("design:type", String)
|
|
165
157
|
], Product.prototype, "caseGtin", void 0);
|
|
166
|
-
__decorate([
|
|
158
|
+
tslib_1.__decorate([
|
|
167
159
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
168
160
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
169
|
-
__metadata("design:type", String)
|
|
161
|
+
tslib_1.__metadata("design:type", String)
|
|
170
162
|
], Product.prototype, "name", void 0);
|
|
171
|
-
__decorate([
|
|
163
|
+
tslib_1.__decorate([
|
|
172
164
|
(0, typeorm_1.Column)(),
|
|
173
165
|
(0, type_graphql_1.Field)(),
|
|
174
|
-
__metadata("design:type", String)
|
|
166
|
+
tslib_1.__metadata("design:type", String)
|
|
175
167
|
], Product.prototype, "type", void 0);
|
|
176
|
-
__decorate([
|
|
168
|
+
tslib_1.__decorate([
|
|
177
169
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
178
170
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
179
|
-
__metadata("design:type", String)
|
|
171
|
+
tslib_1.__metadata("design:type", String)
|
|
180
172
|
], Product.prototype, "packingType", void 0);
|
|
181
|
-
__decorate([
|
|
173
|
+
tslib_1.__decorate([
|
|
182
174
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
183
175
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
184
|
-
__metadata("design:type", String)
|
|
176
|
+
tslib_1.__metadata("design:type", String)
|
|
185
177
|
], Product.prototype, "description", void 0);
|
|
186
|
-
__decorate([
|
|
178
|
+
tslib_1.__decorate([
|
|
187
179
|
(0, typeorm_1.OneToMany)(type => product_detail_1.ProductDetail, productDetails => productDetails.product, { nullable: true }),
|
|
188
180
|
(0, type_graphql_1.Field)(type => [product_detail_1.ProductDetail], { nullable: true }),
|
|
189
|
-
__metadata("design:type", Array)
|
|
181
|
+
tslib_1.__metadata("design:type", Array)
|
|
190
182
|
], Product.prototype, "productDetails", void 0);
|
|
191
|
-
__decorate([
|
|
183
|
+
tslib_1.__decorate([
|
|
192
184
|
(0, typeorm_1.ManyToOne)(type => Product_1, { nullable: true }),
|
|
193
185
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
194
|
-
__metadata("design:type", Product
|
|
186
|
+
tslib_1.__metadata("design:type", Product
|
|
195
187
|
//// To be removed ////
|
|
196
188
|
)
|
|
197
189
|
], Product.prototype, "productRef", void 0);
|
|
198
|
-
__decorate([
|
|
190
|
+
tslib_1.__decorate([
|
|
199
191
|
(0, typeorm_1.ManyToOne)(type => Product_1, { nullable: true }),
|
|
200
192
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
201
|
-
__metadata("design:type", Product
|
|
193
|
+
tslib_1.__metadata("design:type", Product
|
|
202
194
|
//// To be removed ////
|
|
203
195
|
)
|
|
204
196
|
], Product.prototype, "parentProductRef", void 0);
|
|
205
|
-
__decorate([
|
|
197
|
+
tslib_1.__decorate([
|
|
206
198
|
(0, typeorm_1.OneToMany)(type => Product_1, product => product.parentProductRef, { nullable: true }),
|
|
207
199
|
(0, type_graphql_1.Field)(type => [Product_1], { nullable: true }),
|
|
208
|
-
__metadata("design:type", Array)
|
|
200
|
+
tslib_1.__metadata("design:type", Array)
|
|
209
201
|
], Product.prototype, "childProducts", void 0);
|
|
210
|
-
__decorate([
|
|
202
|
+
tslib_1.__decorate([
|
|
211
203
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
212
204
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
213
|
-
__metadata("design:type", Number)
|
|
205
|
+
tslib_1.__metadata("design:type", Number)
|
|
214
206
|
], Product.prototype, "bundleQty", void 0);
|
|
215
|
-
__decorate([
|
|
207
|
+
tslib_1.__decorate([
|
|
216
208
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
217
209
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
218
|
-
__metadata("design:type", Number)
|
|
210
|
+
tslib_1.__metadata("design:type", Number)
|
|
219
211
|
], Product.prototype, "expirationPeriod", void 0);
|
|
220
|
-
__decorate([
|
|
212
|
+
tslib_1.__decorate([
|
|
221
213
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
222
214
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
223
|
-
__metadata("design:type", String)
|
|
215
|
+
tslib_1.__metadata("design:type", String)
|
|
224
216
|
], Product.prototype, "weightUnit", void 0);
|
|
225
|
-
__decorate([
|
|
217
|
+
tslib_1.__decorate([
|
|
226
218
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
227
219
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
228
|
-
__metadata("design:type", Number)
|
|
220
|
+
tslib_1.__metadata("design:type", Number)
|
|
229
221
|
], Product.prototype, "weight", void 0);
|
|
230
|
-
__decorate([
|
|
222
|
+
tslib_1.__decorate([
|
|
231
223
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
232
224
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
233
|
-
__metadata("design:type", Number)
|
|
225
|
+
tslib_1.__metadata("design:type", Number)
|
|
234
226
|
], Product.prototype, "grossWeight", void 0);
|
|
235
|
-
__decorate([
|
|
227
|
+
tslib_1.__decorate([
|
|
236
228
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
237
229
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
238
|
-
__metadata("design:type", Number)
|
|
230
|
+
tslib_1.__metadata("design:type", Number)
|
|
239
231
|
], Product.prototype, "caseWeight", void 0);
|
|
240
|
-
__decorate([
|
|
232
|
+
tslib_1.__decorate([
|
|
241
233
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
242
234
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
243
|
-
__metadata("design:type", Number)
|
|
235
|
+
tslib_1.__metadata("design:type", Number)
|
|
244
236
|
], Product.prototype, "caseGrossWeight", void 0);
|
|
245
|
-
__decorate([
|
|
237
|
+
tslib_1.__decorate([
|
|
246
238
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
247
239
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
248
|
-
__metadata("design:type", Number)
|
|
240
|
+
tslib_1.__metadata("design:type", Number)
|
|
249
241
|
], Product.prototype, "density", void 0);
|
|
250
|
-
__decorate([
|
|
242
|
+
tslib_1.__decorate([
|
|
251
243
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
252
244
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
253
|
-
__metadata("design:type", String)
|
|
245
|
+
tslib_1.__metadata("design:type", String)
|
|
254
246
|
], Product.prototype, "lengthUnit", void 0);
|
|
255
|
-
__decorate([
|
|
247
|
+
tslib_1.__decorate([
|
|
256
248
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
257
249
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
258
|
-
__metadata("design:type", Number)
|
|
250
|
+
tslib_1.__metadata("design:type", Number)
|
|
259
251
|
], Product.prototype, "costPrice", void 0);
|
|
260
|
-
__decorate([
|
|
252
|
+
tslib_1.__decorate([
|
|
261
253
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
262
254
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
263
|
-
__metadata("design:type", Number)
|
|
255
|
+
tslib_1.__metadata("design:type", Number)
|
|
264
256
|
], Product.prototype, "mrpPrice", void 0);
|
|
265
|
-
__decorate([
|
|
257
|
+
tslib_1.__decorate([
|
|
266
258
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
267
259
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
268
|
-
__metadata("design:type", Number)
|
|
260
|
+
tslib_1.__metadata("design:type", Number)
|
|
269
261
|
], Product.prototype, "sellPrice", void 0);
|
|
270
|
-
__decorate([
|
|
262
|
+
tslib_1.__decorate([
|
|
271
263
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
272
264
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
273
|
-
__metadata("design:type", Number)
|
|
265
|
+
tslib_1.__metadata("design:type", Number)
|
|
274
266
|
], Product.prototype, "afterTaxCostPrice", void 0);
|
|
275
|
-
__decorate([
|
|
267
|
+
tslib_1.__decorate([
|
|
276
268
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
277
269
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
278
|
-
__metadata("design:type", Number)
|
|
270
|
+
tslib_1.__metadata("design:type", Number)
|
|
279
271
|
], Product.prototype, "afterTaxSalesPrice", void 0);
|
|
280
|
-
__decorate([
|
|
272
|
+
tslib_1.__decorate([
|
|
281
273
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
282
274
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
283
|
-
__metadata("design:type", Number)
|
|
275
|
+
tslib_1.__metadata("design:type", Number)
|
|
284
276
|
], Product.prototype, "width", void 0);
|
|
285
|
-
__decorate([
|
|
277
|
+
tslib_1.__decorate([
|
|
286
278
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
287
279
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
288
|
-
__metadata("design:type", Number)
|
|
280
|
+
tslib_1.__metadata("design:type", Number)
|
|
289
281
|
], Product.prototype, "depth", void 0);
|
|
290
|
-
__decorate([
|
|
282
|
+
tslib_1.__decorate([
|
|
291
283
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
292
284
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
293
|
-
__metadata("design:type", Number)
|
|
285
|
+
tslib_1.__metadata("design:type", Number)
|
|
294
286
|
], Product.prototype, "height", void 0);
|
|
295
|
-
__decorate([
|
|
287
|
+
tslib_1.__decorate([
|
|
296
288
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
297
289
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
298
|
-
__metadata("design:type", Number)
|
|
290
|
+
tslib_1.__metadata("design:type", Number)
|
|
299
291
|
], Product.prototype, "volume", void 0);
|
|
300
|
-
__decorate([
|
|
292
|
+
tslib_1.__decorate([
|
|
301
293
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
302
294
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
303
|
-
__metadata("design:type", Number)
|
|
295
|
+
tslib_1.__metadata("design:type", Number)
|
|
304
296
|
], Product.prototype, "caseWidth", void 0);
|
|
305
|
-
__decorate([
|
|
297
|
+
tslib_1.__decorate([
|
|
306
298
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
307
299
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
308
|
-
__metadata("design:type", Number)
|
|
300
|
+
tslib_1.__metadata("design:type", Number)
|
|
309
301
|
], Product.prototype, "caseDepth", void 0);
|
|
310
|
-
__decorate([
|
|
302
|
+
tslib_1.__decorate([
|
|
311
303
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
312
304
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
313
|
-
__metadata("design:type", Number)
|
|
305
|
+
tslib_1.__metadata("design:type", Number)
|
|
314
306
|
], Product.prototype, "caseHeight", void 0);
|
|
315
|
-
__decorate([
|
|
307
|
+
tslib_1.__decorate([
|
|
316
308
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
317
309
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
318
|
-
__metadata("design:type", Number)
|
|
310
|
+
tslib_1.__metadata("design:type", Number)
|
|
319
311
|
], Product.prototype, "caseVolume", void 0);
|
|
320
|
-
__decorate([
|
|
312
|
+
tslib_1.__decorate([
|
|
321
313
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
322
314
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
323
|
-
__metadata("design:type", String)
|
|
315
|
+
tslib_1.__metadata("design:type", String)
|
|
324
316
|
], Product.prototype, "volumeSize", void 0);
|
|
325
|
-
__decorate([
|
|
317
|
+
tslib_1.__decorate([
|
|
326
318
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
327
319
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
328
|
-
__metadata("design:type", String)
|
|
320
|
+
tslib_1.__metadata("design:type", String)
|
|
329
321
|
], Product.prototype, "primaryUnit", void 0);
|
|
330
|
-
__decorate([
|
|
322
|
+
tslib_1.__decorate([
|
|
331
323
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
332
324
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
333
|
-
__metadata("design:type", Number)
|
|
325
|
+
tslib_1.__metadata("design:type", Number)
|
|
334
326
|
], Product.prototype, "primaryValue", void 0);
|
|
335
|
-
__decorate([
|
|
327
|
+
tslib_1.__decorate([
|
|
336
328
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
337
329
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
338
|
-
__metadata("design:type", String)
|
|
330
|
+
tslib_1.__metadata("design:type", String)
|
|
339
331
|
], Product.prototype, "auxUnit1", void 0);
|
|
340
|
-
__decorate([
|
|
332
|
+
tslib_1.__decorate([
|
|
341
333
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
342
334
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
343
|
-
__metadata("design:type", String)
|
|
335
|
+
tslib_1.__metadata("design:type", String)
|
|
344
336
|
], Product.prototype, "auxValue1", void 0);
|
|
345
|
-
__decorate([
|
|
337
|
+
tslib_1.__decorate([
|
|
346
338
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
347
339
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
348
|
-
__metadata("design:type", String)
|
|
340
|
+
tslib_1.__metadata("design:type", String)
|
|
349
341
|
], Product.prototype, "auxUnit2", void 0);
|
|
350
|
-
__decorate([
|
|
342
|
+
tslib_1.__decorate([
|
|
351
343
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
352
344
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
353
|
-
__metadata("design:type", String)
|
|
345
|
+
tslib_1.__metadata("design:type", String)
|
|
354
346
|
], Product.prototype, "auxValue2", void 0);
|
|
355
|
-
__decorate([
|
|
347
|
+
tslib_1.__decorate([
|
|
356
348
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
357
349
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
358
|
-
__metadata("design:type", String)
|
|
350
|
+
tslib_1.__metadata("design:type", String)
|
|
359
351
|
], Product.prototype, "auxUnit3", void 0);
|
|
360
|
-
__decorate([
|
|
352
|
+
tslib_1.__decorate([
|
|
361
353
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
362
354
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
363
|
-
__metadata("design:type", String)
|
|
355
|
+
tslib_1.__metadata("design:type", String)
|
|
364
356
|
], Product.prototype, "auxValue3", void 0);
|
|
365
|
-
__decorate([
|
|
357
|
+
tslib_1.__decorate([
|
|
366
358
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
367
359
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
368
|
-
__metadata("design:type", String)
|
|
360
|
+
tslib_1.__metadata("design:type", String)
|
|
369
361
|
], Product.prototype, "inventoryAccountCode", void 0);
|
|
370
|
-
__decorate([
|
|
362
|
+
tslib_1.__decorate([
|
|
371
363
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
372
364
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
373
|
-
__metadata("design:type", String)
|
|
365
|
+
tslib_1.__metadata("design:type", String)
|
|
374
366
|
], Product.prototype, "cogsAccountCode", void 0);
|
|
375
|
-
__decorate([
|
|
367
|
+
tslib_1.__decorate([
|
|
376
368
|
(0, typeorm_1.ManyToOne)(type => product_set_1.ProductSet, productSet => productSet.product, { nullable: true }),
|
|
377
369
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
378
|
-
__metadata("design:type", product_set_1.ProductSet
|
|
370
|
+
tslib_1.__metadata("design:type", product_set_1.ProductSet
|
|
379
371
|
//// To be removed ////
|
|
380
372
|
)
|
|
381
373
|
], Product.prototype, "productSet", void 0);
|
|
382
|
-
__decorate([
|
|
374
|
+
tslib_1.__decorate([
|
|
383
375
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
384
376
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
385
|
-
__metadata("design:type", String)
|
|
377
|
+
tslib_1.__metadata("design:type", String)
|
|
386
378
|
], Product.prototype, "movement", void 0);
|
|
387
|
-
__decorate([
|
|
379
|
+
tslib_1.__decorate([
|
|
388
380
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
389
381
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
390
|
-
__metadata("design:type", Number)
|
|
382
|
+
tslib_1.__metadata("design:type", Number)
|
|
391
383
|
], Product.prototype, "bufferQty", void 0);
|
|
392
|
-
__decorate([
|
|
384
|
+
tslib_1.__decorate([
|
|
393
385
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
394
386
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
395
|
-
__metadata("design:type", Number)
|
|
387
|
+
tslib_1.__metadata("design:type", Number)
|
|
396
388
|
], Product.prototype, "minQty", void 0);
|
|
397
|
-
__decorate([
|
|
389
|
+
tslib_1.__decorate([
|
|
398
390
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
399
391
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
400
|
-
__metadata("design:type", Number)
|
|
392
|
+
tslib_1.__metadata("design:type", Number)
|
|
401
393
|
], Product.prototype, "maxQty", void 0);
|
|
402
|
-
__decorate([
|
|
394
|
+
tslib_1.__decorate([
|
|
403
395
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
404
396
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
405
|
-
__metadata("design:type", Number)
|
|
397
|
+
tslib_1.__metadata("design:type", Number)
|
|
406
398
|
], Product.prototype, "discountId", void 0);
|
|
407
|
-
__decorate([
|
|
399
|
+
tslib_1.__decorate([
|
|
408
400
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
409
401
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
410
|
-
__metadata("design:type", String)
|
|
402
|
+
tslib_1.__metadata("design:type", String)
|
|
411
403
|
], Product.prototype, "status", void 0);
|
|
412
|
-
__decorate([
|
|
404
|
+
tslib_1.__decorate([
|
|
413
405
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
414
406
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
415
|
-
__metadata("design:type", Boolean)
|
|
407
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
416
408
|
], Product.prototype, "isTrackedAsInventory", void 0);
|
|
417
|
-
__decorate([
|
|
409
|
+
tslib_1.__decorate([
|
|
418
410
|
(0, typeorm_1.Column)({ default: false }),
|
|
419
411
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
420
|
-
__metadata("design:type", Boolean)
|
|
412
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
421
413
|
], Product.prototype, "isRequiredCheckExpiry", void 0);
|
|
422
|
-
__decorate([
|
|
414
|
+
tslib_1.__decorate([
|
|
423
415
|
(0, typeorm_1.Column)({ default: false }),
|
|
424
416
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
425
|
-
__metadata("design:type", Boolean)
|
|
417
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
426
418
|
], Product.prototype, "isRequireSerialNumberScanning", void 0);
|
|
427
|
-
__decorate([
|
|
419
|
+
tslib_1.__decorate([
|
|
428
420
|
(0, typeorm_1.Column)({ default: false }),
|
|
429
421
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
430
|
-
__metadata("design:type", Boolean)
|
|
422
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
431
423
|
], Product.prototype, "isRequireSerialNumberScanningInbound", void 0);
|
|
432
|
-
__decorate([
|
|
424
|
+
tslib_1.__decorate([
|
|
433
425
|
(0, typeorm_1.Column)({ default: false }),
|
|
434
426
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
435
|
-
__metadata("design:type", Boolean)
|
|
427
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
436
428
|
], Product.prototype, "isRequireSerialNumberScanningOutbound", void 0);
|
|
437
|
-
__decorate([
|
|
429
|
+
tslib_1.__decorate([
|
|
438
430
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
439
431
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
440
|
-
__metadata("design:type", Date)
|
|
432
|
+
tslib_1.__metadata("design:type", Date)
|
|
441
433
|
], Product.prototype, "deletedAt", void 0);
|
|
442
|
-
__decorate([
|
|
434
|
+
tslib_1.__decorate([
|
|
443
435
|
(0, typeorm_1.Column)({
|
|
444
436
|
nullable: false,
|
|
445
437
|
type: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
@@ -451,96 +443,96 @@ __decorate([
|
|
|
451
443
|
default: pickStrategy.FIFO
|
|
452
444
|
}),
|
|
453
445
|
(0, type_graphql_1.Field)(),
|
|
454
|
-
__metadata("design:type", String)
|
|
446
|
+
tslib_1.__metadata("design:type", String)
|
|
455
447
|
], Product.prototype, "pickingStrategy", void 0);
|
|
456
|
-
__decorate([
|
|
448
|
+
tslib_1.__decorate([
|
|
457
449
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
458
|
-
__metadata("design:type", String)
|
|
450
|
+
tslib_1.__metadata("design:type", String)
|
|
459
451
|
], Product.prototype, "refCode", void 0);
|
|
460
|
-
__decorate([
|
|
452
|
+
tslib_1.__decorate([
|
|
461
453
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
462
|
-
__metadata("design:type", Number)
|
|
454
|
+
tslib_1.__metadata("design:type", Number)
|
|
463
455
|
], Product.prototype, "nettWeight", void 0);
|
|
464
|
-
__decorate([
|
|
456
|
+
tslib_1.__decorate([
|
|
465
457
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
466
|
-
__metadata("design:type", String)
|
|
458
|
+
tslib_1.__metadata("design:type", String)
|
|
467
459
|
], Product.prototype, "uom", void 0);
|
|
468
|
-
__decorate([
|
|
460
|
+
tslib_1.__decorate([
|
|
469
461
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
470
|
-
__metadata("design:type", Number)
|
|
462
|
+
tslib_1.__metadata("design:type", Number)
|
|
471
463
|
], Product.prototype, "uomValue", void 0);
|
|
472
|
-
__decorate([
|
|
464
|
+
tslib_1.__decorate([
|
|
473
465
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
474
|
-
__metadata("design:type", String)
|
|
466
|
+
tslib_1.__metadata("design:type", String)
|
|
475
467
|
], Product.prototype, "auxUnit4", void 0);
|
|
476
|
-
__decorate([
|
|
468
|
+
tslib_1.__decorate([
|
|
477
469
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
478
|
-
__metadata("design:type", String)
|
|
470
|
+
tslib_1.__metadata("design:type", String)
|
|
479
471
|
], Product.prototype, "auxValue4", void 0);
|
|
480
|
-
__decorate([
|
|
472
|
+
tslib_1.__decorate([
|
|
481
473
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
482
|
-
__metadata("design:type", String)
|
|
474
|
+
tslib_1.__metadata("design:type", String)
|
|
483
475
|
], Product.prototype, "auxUnit5", void 0);
|
|
484
|
-
__decorate([
|
|
476
|
+
tslib_1.__decorate([
|
|
485
477
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
486
|
-
__metadata("design:type", String)
|
|
478
|
+
tslib_1.__metadata("design:type", String)
|
|
487
479
|
], Product.prototype, "auxValue5", void 0);
|
|
488
|
-
__decorate([
|
|
480
|
+
tslib_1.__decorate([
|
|
489
481
|
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
490
482
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
491
|
-
__metadata("design:type", typeof (_c = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _c : Object)
|
|
483
|
+
tslib_1.__metadata("design:type", typeof (_c = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _c : Object)
|
|
492
484
|
], Product.prototype, "creator", void 0);
|
|
493
|
-
__decorate([
|
|
485
|
+
tslib_1.__decorate([
|
|
494
486
|
(0, typeorm_1.RelationId)((product) => product.creator),
|
|
495
|
-
__metadata("design:type", String)
|
|
487
|
+
tslib_1.__metadata("design:type", String)
|
|
496
488
|
], Product.prototype, "creatorId", void 0);
|
|
497
|
-
__decorate([
|
|
489
|
+
tslib_1.__decorate([
|
|
498
490
|
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
499
491
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
500
|
-
__metadata("design:type", typeof (_d = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _d : Object)
|
|
492
|
+
tslib_1.__metadata("design:type", typeof (_d = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _d : Object)
|
|
501
493
|
], Product.prototype, "updater", void 0);
|
|
502
|
-
__decorate([
|
|
494
|
+
tslib_1.__decorate([
|
|
503
495
|
(0, typeorm_1.RelationId)((product) => product.updater),
|
|
504
|
-
__metadata("design:type", String)
|
|
496
|
+
tslib_1.__metadata("design:type", String)
|
|
505
497
|
], Product.prototype, "updaterId", void 0);
|
|
506
|
-
__decorate([
|
|
498
|
+
tslib_1.__decorate([
|
|
507
499
|
(0, typeorm_1.CreateDateColumn)(),
|
|
508
500
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
509
|
-
__metadata("design:type", Date)
|
|
501
|
+
tslib_1.__metadata("design:type", Date)
|
|
510
502
|
], Product.prototype, "createdAt", void 0);
|
|
511
|
-
__decorate([
|
|
503
|
+
tslib_1.__decorate([
|
|
512
504
|
(0, typeorm_1.UpdateDateColumn)(),
|
|
513
505
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
514
|
-
__metadata("design:type", Date)
|
|
506
|
+
tslib_1.__metadata("design:type", Date)
|
|
515
507
|
], Product.prototype, "updatedAt", void 0);
|
|
516
|
-
__decorate([
|
|
508
|
+
tslib_1.__decorate([
|
|
517
509
|
(0, typeorm_1.ManyToOne)(type => routing_base_1.Routing, { nullable: true }),
|
|
518
510
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
519
|
-
__metadata("design:type", typeof (_e = typeof routing_base_1.Routing !== "undefined" && routing_base_1.Routing) === "function" ? _e : Object)
|
|
511
|
+
tslib_1.__metadata("design:type", typeof (_e = typeof routing_base_1.Routing !== "undefined" && routing_base_1.Routing) === "function" ? _e : Object)
|
|
520
512
|
], Product.prototype, "routing", void 0);
|
|
521
|
-
__decorate([
|
|
513
|
+
tslib_1.__decorate([
|
|
522
514
|
(0, typeorm_1.RelationId)((product) => product.routing),
|
|
523
|
-
__metadata("design:type", String)
|
|
515
|
+
tslib_1.__metadata("design:type", String)
|
|
524
516
|
], Product.prototype, "routingId", void 0);
|
|
525
|
-
__decorate([
|
|
517
|
+
tslib_1.__decorate([
|
|
526
518
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
527
519
|
(0, type_graphql_1.Field)(type => String, { nullable: true }),
|
|
528
|
-
__metadata("design:type", String)
|
|
520
|
+
tslib_1.__metadata("design:type", String)
|
|
529
521
|
], Product.prototype, "warehouseName", void 0);
|
|
530
|
-
__decorate([
|
|
522
|
+
tslib_1.__decorate([
|
|
531
523
|
(0, type_graphql_1.Field)(type => String, { nullable: true }),
|
|
532
|
-
__metadata("design:type", String)
|
|
524
|
+
tslib_1.__metadata("design:type", String)
|
|
533
525
|
], Product.prototype, "thumbnail", void 0);
|
|
534
|
-
__decorate([
|
|
526
|
+
tslib_1.__decorate([
|
|
535
527
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
536
|
-
__metadata("design:type", String)
|
|
528
|
+
tslib_1.__metadata("design:type", String)
|
|
537
529
|
], Product.prototype, "productInformation", void 0);
|
|
538
|
-
Product = Product_1 = __decorate([
|
|
530
|
+
Product = Product_1 = tslib_1.__decorate([
|
|
539
531
|
(0, typeorm_1.Entity)(),
|
|
540
532
|
(0, typeorm_1.Index)('ix_product_0', (product) => [product.domain, product.bizplace, product.name, product.description, product.weight], { unique: true }),
|
|
541
533
|
(0, typeorm_1.Index)('ix_product_1', (product) => [product.bizplace]),
|
|
542
534
|
(0, type_graphql_1.ObjectType)(),
|
|
543
|
-
__metadata("design:paramtypes", [Object])
|
|
535
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
544
536
|
], Product);
|
|
545
537
|
exports.Product = Product;
|
|
546
538
|
//# sourceMappingURL=product.js.map
|