@yolo-croket-dev/entity-v2 0.2.185 → 0.2.187

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/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from './app-push-subscribe';
16
16
  export * from './app-push-subscribed-user';
17
17
  export * from './link-tab';
18
18
  export * from './store';
19
+ export * from './store-item';
19
20
  export * from './mail';
20
21
  export * from './cart';
21
22
  export * from './related-store-item';
package/index.js CHANGED
@@ -32,6 +32,7 @@ __exportStar(require("./app-push-subscribe"), exports);
32
32
  __exportStar(require("./app-push-subscribed-user"), exports);
33
33
  __exportStar(require("./link-tab"), exports);
34
34
  __exportStar(require("./store"), exports);
35
+ __exportStar(require("./store-item"), exports);
35
36
  __exportStar(require("./mail"), exports);
36
37
  __exportStar(require("./cart"), exports);
37
38
  __exportStar(require("./related-store-item"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.185",
3
+ "version": "0.2.187",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -19,6 +19,7 @@ export type PInfoPickedForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId'
19
19
  };
20
20
  export type PurchasedInfoForSellerDetail = {
21
21
  pInfo: PInfoPickedForSeller;
22
+ sellerMemo: string;
22
23
  buyerUserInfo: UserInfoPickedForSeller;
23
24
  pInfoRefundInfo?: RefundInfoPickedForSeller;
24
25
  customPInfo: CustomPurchasedInfo;
@@ -0,0 +1 @@
1
+ export * from './store-item.entity';
@@ -0,0 +1,17 @@
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("./store-item.entity"), exports);
@@ -0,0 +1,10 @@
1
+ import type StoreItem from '@yolo-croket-dev/entity/src/store-item/store-item.entity';
2
+ /**
3
+ * @author jun
4
+ * @description 상품 영속 엔티티
5
+ * @process 기존 상품 엔티티 계약을 확장하여 신규 영속 필드를 공개함
6
+ */
7
+ export interface StoreItemEntity extends StoreItem {
8
+ /** 중고 상품 여부 (미설정 시 신상품으로 해석) */
9
+ isUsedProduct?: boolean;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });