@yolo-croket-dev/entity-v2 0.2.9-sj2 → 0.2.9-sj5

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
@@ -39,4 +39,3 @@ export * from './brand-cohort';
39
39
  export * from './brand-bookmark';
40
40
  export * from './exchange-rate';
41
41
  export * from './summer-black-friday.modules';
42
- export * from './store-item-banner';
package/index.js CHANGED
@@ -55,4 +55,3 @@ __exportStar(require("./brand-cohort"), exports);
55
55
  __exportStar(require("./brand-bookmark"), exports);
56
56
  __exportStar(require("./exchange-rate"), exports);
57
57
  __exportStar(require("./summer-black-friday.modules"), exports);
58
- __exportStar(require("./store-item-banner"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.9-sj2",
3
+ "version": "0.2.9-sj5",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -0,0 +1 @@
1
+ export * from './store-item-detail-banner-by-store-item.entity';
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./store-item-banner.entity"), exports);
17
+ __exportStar(require("./store-item-detail-banner-by-store-item.entity"), exports);
@@ -0,0 +1,30 @@
1
+ import { Types } from 'mongoose';
2
+ interface BannerPlatformInfo {
3
+ /** @description 이미지 URL */
4
+ imgUrl: string;
5
+ /** @description 랜딩 URL */
6
+ landingUrl: string;
7
+ /** @description 이미지 width */
8
+ width: number;
9
+ /** @description 이미지 height */
10
+ height: number;
11
+ }
12
+ export default interface StoreItemDetailBannerByStoreItemEntity {
13
+ /** @description 상품 배너 고유 아이디 */
14
+ _id: Types.ObjectId | string;
15
+ /** @description 상품 아이디 */
16
+ storeItemId: Types.ObjectId | string;
17
+ /** @description 웹용 배너 정보 */
18
+ web: BannerPlatformInfo;
19
+ /** @description 앱용 배너 정보 */
20
+ app: BannerPlatformInfo;
21
+ /** @description 저장날짜 */
22
+ regDate: Date;
23
+ /** @description 배너 설명 */
24
+ description?: string;
25
+ /** @description 배너 시작일 (예약) */
26
+ displayStartDate?: Date;
27
+ /** @description 배너 종료일 (예약) */
28
+ displayEndDate?: Date;
29
+ }
30
+ export { StoreItemDetailBannerByStoreItemEntity };
@@ -1 +0,0 @@
1
- export * from './store-item-banner.entity';
@@ -1,24 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export default interface StoreItemBannerEntity {
3
- /** @description 상품 배너 고유 아이디 */
4
- _id: Types.ObjectId | string;
5
- /** @description 상품 아이디 목록 */
6
- storeItemIds: string[] | Types.ObjectId[];
7
- /** @description 웹 이미지 URL */
8
- webImgUrl: string;
9
- /** @description 앱 이미지 URL */
10
- appImgUrl: string;
11
- /** @description 웹 랜딩 URL */
12
- webLandingUrl: string;
13
- /** @description 앱 랜딩 URL */
14
- appLandingUrl: string;
15
- /** @description 저장날짜 */
16
- regDate: Date;
17
- /** @description 배너 설명 */
18
- description?: string;
19
- /** @description 배너 시작일 (예약) */
20
- displayStartDate?: Date;
21
- /** @description 배너 종료일 (예약) */
22
- displayEndDate?: Date;
23
- }
24
- export { StoreItemBannerEntity };