@things-factory/product-base 8.0.64 → 8.0.69
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 +5 -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 +5 -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.69",
|
|
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.69",
|
|
28
28
|
"@things-factory/env": "^8.0.64",
|
|
29
29
|
"@things-factory/routing-base": "^8.0.64"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "e28557e156cee7b63f9c247f9fb717c74afa6d0f"
|
|
32
32
|
}
|
|
@@ -25,6 +25,9 @@ export class NewProduct {
|
|
|
25
25
|
@Field({ nullable: true })
|
|
26
26
|
description?: string
|
|
27
27
|
|
|
28
|
+
@Field({ nullable: true })
|
|
29
|
+
origin?: string
|
|
30
|
+
|
|
28
31
|
@Field(type => ObjectRef, { nullable: true })
|
|
29
32
|
productRef?: ObjectRef
|
|
30
33
|
|
|
@@ -257,6 +260,9 @@ export class ProductPatch {
|
|
|
257
260
|
@Field({ nullable: true })
|
|
258
261
|
description?: string
|
|
259
262
|
|
|
263
|
+
@Field({ nullable: true })
|
|
264
|
+
origin?: string
|
|
265
|
+
|
|
260
266
|
@Field(type => ObjectRef, { nullable: true })
|
|
261
267
|
bizplace?: ObjectRef
|
|
262
268
|
|
|
@@ -152,6 +152,11 @@ export class Product {
|
|
|
152
152
|
@Field({ nullable: true })
|
|
153
153
|
description: string
|
|
154
154
|
|
|
155
|
+
// 원산지
|
|
156
|
+
@Column({ nullable: true })
|
|
157
|
+
@Field({ nullable: true })
|
|
158
|
+
origin?: string
|
|
159
|
+
|
|
155
160
|
@OneToMany(type => ProductDetail, productDetails => productDetails.product, { nullable: true })
|
|
156
161
|
@Field(type => [ProductDetail], { nullable: true })
|
|
157
162
|
productDetails: ProductDetail[]
|