@yolo-croket-dev/entity-v2 0.3.5 → 0.3.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.
@@ -1,6 +1,7 @@
1
1
  import { Types } from 'mongoose';
2
2
  import { StoreItemKeyword } from '@yolo-croket-dev/entity/src/store-item';
3
3
  import { PInfoTypeEnum } from '../purchased-info/purchased-info.entity';
4
+ import { StoreItemTypeEnum } from '../store-item/store-item.entity';
4
5
  export interface PInfoOfBundle {
5
6
  PInfoId: Types.ObjectId;
6
7
  publicId: string;
@@ -14,6 +15,8 @@ export interface PInfoOfBundle {
14
15
  process: string;
15
16
  process_v2?: string;
16
17
  pInfoType?: PInfoTypeEnum;
18
+ /** 상품 유형 (BundlePInfo Atlas Search 필터 및 주문 배지 노출용) */
19
+ itemType?: StoreItemTypeEnum;
17
20
  /** 분할 배송 여부 (PurchasedInfo.isSplitDelivery의 비정규화 필드, BundlePInfo Atlas Search 필터용) */
18
21
  isSplitDelivery?: boolean;
19
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1,5 +1,6 @@
1
1
  import { MaxDiscountCouponPriceInfo } from '@yolo-croket-dev/entity-v2/store-item-connected-coupon';
2
2
  import { StoreItemStickerInfo } from '@yolo-croket-dev/entity/src/store-item';
3
+ import { StoreItemTypeEnum, UsedItemInfoForBuyer } from '../../store-item';
3
4
  /**
4
5
  * @author sj
5
6
  * @description 상품 그룹 뷰 아이템 데이터
@@ -43,4 +44,12 @@ export interface StoreItemGroupViewItemEntity {
43
44
  isShipping: boolean;
44
45
  /** @description 재고 */
45
46
  remainCount: number;
47
+ /** @description 상품 타입 */
48
+ itemType?: StoreItemTypeEnum;
49
+ /** @description 대표 키워드 목록 */
50
+ mainKeywords?: string[];
51
+ /** @description 대표 옵션명 */
52
+ optionName?: string;
53
+ /** @description 구매자에게 공개하는 중고 상품 추가 정보 */
54
+ usedItemInfo?: UsedItemInfoForBuyer;
46
55
  }