@yolo-croket-dev/entity-v2 0.2.53-hj-7 → 0.2.53-hj-9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.53-hj-7",
3
+ "version": "0.2.53-hj-9",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -4,7 +4,7 @@ import { Types } from 'mongoose';
4
4
  export interface BlackFridayCouponItemTabEntity {
5
5
  _id: Types.ObjectId | string;
6
6
  /** @description 상품 아이디 리스트 */
7
- storeItemIds: Types.ObjectId[] | string[];
7
+ storeItemIds: (Types.ObjectId | string)[];
8
8
  /** @description 등록 일자 */
9
9
  regDate: Date;
10
10
  /** @description 노출 여부 */
@@ -6,7 +6,7 @@ export interface BlackFridayLiveTabEntity {
6
6
  /** @description 상단 배너 이미지 URL */
7
7
  bannerImgUrl?: string;
8
8
  /** @description 상품 아이디 리스트 */
9
- storeItemIds: Types.ObjectId[] | string[];
9
+ storeItemIds: (Types.ObjectId | string)[];
10
10
  /** @description 등록 일자 */
11
11
  regDate: Date;
12
12
  /** @description 노출 여부 */
@@ -20,7 +20,7 @@ export interface BlackFridayThisWeekHotDealTabEntity {
20
20
  /** @description 라이브딜 탭 데이터 */
21
21
  liveDeals: BlackFridayThisWeekHotDealTabLiveDeal[];
22
22
  /** @description 메인 딜 상품 아이디 리스트 */
23
- mainDealStoreItemIds: Types.ObjectId[] | string[];
23
+ mainDealStoreItemIds: (Types.ObjectId | string)[];
24
24
  /** @description 등록 일자 */
25
25
  regDate: Date;
26
26
  /** @description 노출 여부 */
@@ -2,7 +2,7 @@
2
2
  import { Types } from 'mongoose';
3
3
  export declare enum TopRankTitleTypeEnum {
4
4
  TOP_100 = "TOP_100",
5
- MAIN_CATEGORY = "CATEGORY",
5
+ CATEGORY = "CATEGORY",
6
6
  LUXURY_BRAND = "LUXURY_BRAND"
7
7
  }
8
8
  export interface TopRankCategoryInfo {
@@ -15,10 +15,10 @@ export interface TopRankItem {
15
15
  /** @description 타이틀 타입 */
16
16
  topRankTitleType: TopRankTitleTypeEnum;
17
17
  /** @description 상품 아이디 리스트 */
18
- storeItemIds: Types.ObjectId[] | string[];
18
+ storeItemIds: (Types.ObjectId | string)[];
19
19
  /** @description 노출되는 상품 수 */
20
20
  visibleItemCount: number;
21
- /** @description 카테고리 정보 - type: mainCategory 용 */
21
+ /** @description 카테고리 정보 - type: CATEGORY 용 */
22
22
  categoryInfos?: TopRankCategoryInfo[];
23
23
  }
24
24
  /** @description 블랙프라이데이 상위 랭킹 탭 데이터 */
@@ -5,6 +5,6 @@ exports.TopRankTitleTypeEnum = void 0;
5
5
  var TopRankTitleTypeEnum;
6
6
  (function (TopRankTitleTypeEnum) {
7
7
  TopRankTitleTypeEnum["TOP_100"] = "TOP_100";
8
- TopRankTitleTypeEnum["MAIN_CATEGORY"] = "CATEGORY";
8
+ TopRankTitleTypeEnum["CATEGORY"] = "CATEGORY";
9
9
  TopRankTitleTypeEnum["LUXURY_BRAND"] = "LUXURY_BRAND";
10
10
  })(TopRankTitleTypeEnum || (exports.TopRankTitleTypeEnum = TopRankTitleTypeEnum = {}));