@things-factory/product-base 6.1.194 → 6.2.0
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/service/product/product-types.js +8 -0
- package/dist-server/service/product/product-types.js.map +1 -1
- package/dist-server/service/product/product.js +6 -0
- package/dist-server/service/product/product.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/server/service/product/product-types.ts +8 -0
- package/server/service/product/product.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/product-base",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,9 +24,9 @@
|
|
|
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.
|
|
28
|
-
"@things-factory/env": "^6.
|
|
29
|
-
"@things-factory/routing-base": "^6.
|
|
27
|
+
"@things-factory/biz-base": "^6.2.0",
|
|
28
|
+
"@things-factory/env": "^6.2.0",
|
|
29
|
+
"@things-factory/routing-base": "^6.2.0"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "2a98db1ae602fa3b2c73ffbcdd1cf3262a793d84"
|
|
32
32
|
}
|
|
@@ -208,6 +208,10 @@ export class NewProduct {
|
|
|
208
208
|
// 제품군
|
|
209
209
|
@Field({ nullable: true })
|
|
210
210
|
category?: string
|
|
211
|
+
|
|
212
|
+
// 경매입고
|
|
213
|
+
@Field(type => Boolean, { nullable: true })
|
|
214
|
+
isAuction?: boolean
|
|
211
215
|
}
|
|
212
216
|
|
|
213
217
|
@ObjectType()
|
|
@@ -429,6 +433,10 @@ export class ProductPatch {
|
|
|
429
433
|
@Field({ nullable: true })
|
|
430
434
|
category?: string
|
|
431
435
|
|
|
436
|
+
// 경매입고
|
|
437
|
+
@Field(type => Boolean, { nullable: true })
|
|
438
|
+
isAuction?: boolean
|
|
439
|
+
|
|
432
440
|
@Field({ nullable: true })
|
|
433
441
|
cuFlag?: string
|
|
434
442
|
}
|
|
@@ -104,6 +104,11 @@ export class Product {
|
|
|
104
104
|
@Field({ nullable: true })
|
|
105
105
|
category?: string
|
|
106
106
|
|
|
107
|
+
// 경매입고
|
|
108
|
+
@Column({ nullable: true, default: false })
|
|
109
|
+
@Field({ nullable: true })
|
|
110
|
+
isAuction?: boolean
|
|
111
|
+
|
|
107
112
|
//// To be removed ////
|
|
108
113
|
@Column({ nullable: true })
|
|
109
114
|
@Field({ nullable: true })
|
|
@@ -524,6 +529,7 @@ export class Product {
|
|
|
524
529
|
this.convertWeight = obj.product_convert_weight
|
|
525
530
|
this.category = obj.product_category
|
|
526
531
|
this.boxInQty = obj.product_box_in_qty
|
|
532
|
+
this.isAuction = obj.product_is_auction
|
|
527
533
|
}
|
|
528
534
|
}
|
|
529
535
|
}
|