@yolo-croket-dev/entity-v2 0.2.53-hj-2 → 0.2.53-hj-4
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
package/summer-black-friday.modules/black-friday-top-rank-tab/black-friday-top-rank-tab.entity.d.ts
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
/** @description 블랙프라이데이 이번주 핫딜 탭 데이터 */
|
|
2
2
|
import { Types } from 'mongoose';
|
|
3
|
+
export declare enum TopRankCategoryTypeEnum {
|
|
4
|
+
TOP_100 = "TOP_100",
|
|
5
|
+
MAIN_CATEGORY = "CATEGORY",
|
|
6
|
+
LUXURY_BRAND = "LUXURY_BRAND"
|
|
7
|
+
}
|
|
8
|
+
export interface TopRankItem {
|
|
9
|
+
/** @description 카테고리 */
|
|
10
|
+
topRankCategory: string;
|
|
11
|
+
/** @description 카테고리 타입 */
|
|
12
|
+
topRankCategoryType: TopRankCategoryTypeEnum;
|
|
13
|
+
/** @description 상품 아이디 리스트 */
|
|
14
|
+
storeItemIds: Types.ObjectId[] | string[];
|
|
15
|
+
/** @description 메인 카테고리 - type: mainCategory 용 */
|
|
16
|
+
mainCategory?: string;
|
|
17
|
+
/** @description 서브 카테고리 리스트 - type: mainCategory 용 */
|
|
18
|
+
subCategories?: string[];
|
|
19
|
+
}
|
|
3
20
|
/** @description 블랙프라이데이 상위 랭킹 탭 데이터 */
|
|
4
21
|
export interface BlackFridayTopRankTabEntity {
|
|
5
22
|
_id: Types.ObjectId | string;
|
|
6
|
-
/** @description
|
|
7
|
-
|
|
8
|
-
/** @description 상품 아이디들 */
|
|
9
|
-
storeItemIds: Types.ObjectId[] | string[];
|
|
23
|
+
/** @description 상위 랭킹 아이템 리스트 */
|
|
24
|
+
topRankItems: TopRankItem[];
|
|
10
25
|
/** @description 등록 일자 */
|
|
11
26
|
regDate: Date;
|
|
12
27
|
/** @description 노출 여부 */
|
package/summer-black-friday.modules/black-friday-top-rank-tab/black-friday-top-rank-tab.entity.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/** @description 블랙프라이데이 이번주 핫딜 탭 데이터 */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TopRankCategoryTypeEnum = void 0;
|
|
5
|
+
var TopRankCategoryTypeEnum;
|
|
6
|
+
(function (TopRankCategoryTypeEnum) {
|
|
7
|
+
TopRankCategoryTypeEnum["TOP_100"] = "TOP_100";
|
|
8
|
+
TopRankCategoryTypeEnum["MAIN_CATEGORY"] = "CATEGORY";
|
|
9
|
+
TopRankCategoryTypeEnum["LUXURY_BRAND"] = "LUXURY_BRAND";
|
|
10
|
+
})(TopRankCategoryTypeEnum || (exports.TopRankCategoryTypeEnum = TopRankCategoryTypeEnum = {}));
|