@things-factory/product-base 8.0.5 → 8.0.7
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.d.ts +2 -0
- 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.d.ts +1 -0
- 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 +3 -3
- package/server/service/product/product-types.ts +6 -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": "8.0.
|
|
3
|
+
"version": "8.0.7",
|
|
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 ./server/migrations/migration"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@things-factory/biz-base": "^8.0.
|
|
27
|
+
"@things-factory/biz-base": "^8.0.6",
|
|
28
28
|
"@things-factory/env": "^8.0.2",
|
|
29
29
|
"@things-factory/routing-base": "^8.0.5"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "5781b9a7495a46a8d62ca2c94acdea6da2aece0c"
|
|
32
32
|
}
|
|
@@ -226,6 +226,9 @@ export class NewProduct {
|
|
|
226
226
|
|
|
227
227
|
@Field(type => ObjectRef, { nullable: true })
|
|
228
228
|
manufacturedBy?: ObjectRef
|
|
229
|
+
|
|
230
|
+
@Field({ nullable: true })
|
|
231
|
+
sellCurrency?: string
|
|
229
232
|
}
|
|
230
233
|
|
|
231
234
|
@ObjectType()
|
|
@@ -465,6 +468,9 @@ export class ProductPatch {
|
|
|
465
468
|
@Field(type => ObjectRef, { nullable: true })
|
|
466
469
|
manufacturedBy?: ObjectRef
|
|
467
470
|
|
|
471
|
+
@Field({ nullable: true })
|
|
472
|
+
sellCurrency?: string
|
|
473
|
+
|
|
468
474
|
@Field({ nullable: true })
|
|
469
475
|
cuFlag?: string
|
|
470
476
|
}
|
|
@@ -109,6 +109,11 @@ export class Product {
|
|
|
109
109
|
@Field({ nullable: true })
|
|
110
110
|
isAuction?: boolean
|
|
111
111
|
|
|
112
|
+
// 판매 통화
|
|
113
|
+
@Column({ nullable: true, default: 'USD' })
|
|
114
|
+
@Field({ nullable: true })
|
|
115
|
+
sellCurrency?: string
|
|
116
|
+
|
|
112
117
|
// 바코드
|
|
113
118
|
@Column({ nullable: true })
|
|
114
119
|
@Field({ nullable: true })
|
|
@@ -557,6 +562,7 @@ export class Product {
|
|
|
557
562
|
this.category = obj.product_category
|
|
558
563
|
this.boxInQty = obj.product_box_in_qty
|
|
559
564
|
this.isAuction = obj.product_is_auction
|
|
565
|
+
this.sellCurrency = obj.product_sell_currency
|
|
560
566
|
}
|
|
561
567
|
}
|
|
562
568
|
}
|