@yolo-croket-dev/entity-v2 0.1.51-jun.4 → 0.1.51-jun.6

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
@@ -37,3 +37,4 @@ export * from './changed-purhcased-option-log';
37
37
  export * from './brand';
38
38
  export * from './brand-cohort';
39
39
  export * from './brand-bookmark';
40
+ export * from './summer-black-friday.modules';
package/index.js CHANGED
@@ -53,3 +53,4 @@ __exportStar(require("./changed-purhcased-option-log"), exports);
53
53
  __exportStar(require("./brand"), exports);
54
54
  __exportStar(require("./brand-cohort"), exports);
55
55
  __exportStar(require("./brand-bookmark"), exports);
56
+ __exportStar(require("./summer-black-friday.modules"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.1.51-jun.4",
3
+ "version": "0.1.51-jun.6",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -0,0 +1 @@
1
+ export * from './weekly-mega-deal-page-data';
@@ -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("./weekly-mega-deal-page-data"), exports);
@@ -0,0 +1 @@
1
+ export * from './weekly-mega-deal-page-data.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("./weekly-mega-deal-page-data.entity"), exports);
@@ -0,0 +1,33 @@
1
+ import { Types } from 'mongoose';
2
+ /**
3
+ * @description 주간 메가딜 기간 그룹 데이터의 상품 데이터
4
+ * 보여주기 시작 -> 보여주기 종료
5
+ * 보여주기 종료 true 가 되기 위해서는 시작이 되어야 함
6
+ * */
7
+ export interface WeeklyMegaDealPeriodItemData {
8
+ itemId: string | Types.ObjectId;
9
+ /** 보여주기 시작 여부 */
10
+ isShowStart: boolean;
11
+ /** 보여주기 시작한 날짜 */
12
+ showStartDate?: Date;
13
+ /** 보여주기 종료 여부 */
14
+ isShowEnd: boolean;
15
+ /** 보여주기 종료한 날짜 */
16
+ showEndDate?: Date;
17
+ }
18
+ /** 주간 메가딜 기간 그룹 데이터 */
19
+ export interface WeeklyMegaDealPeriodItemGroup {
20
+ kreamPrice: number;
21
+ naverPrice: number;
22
+ coupangPrice: number;
23
+ itemInfos: WeeklyMegaDealPeriodItemData[];
24
+ }
25
+ /** 주간 메가딜 페이지 데이터 */
26
+ export default interface WeeklyMegaDealPageDataEntity {
27
+ _id: string | Types.ObjectId;
28
+ title: string;
29
+ periodSDate: Date;
30
+ periodEDate: Date;
31
+ itemGroups: WeeklyMegaDealPeriodItemGroup[];
32
+ }
33
+ export { WeeklyMegaDealPageDataEntity };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });