@yolo-croket-dev/entity-v2 0.2.9-sj7 → 0.2.9-sj9
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,5 +1,5 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
|
-
interface BannerPlatformInfo {
|
|
2
|
+
export interface BannerPlatformInfo {
|
|
3
3
|
/** @description 이미지 URL */
|
|
4
4
|
imgUrl: string;
|
|
5
5
|
/** @description 랜딩 URL */
|
|
@@ -9,7 +9,7 @@ interface BannerPlatformInfo {
|
|
|
9
9
|
/** @description 이미지 height */
|
|
10
10
|
height: number;
|
|
11
11
|
}
|
|
12
|
-
declare enum StoreItemBannerType {
|
|
12
|
+
export declare enum StoreItemBannerType {
|
|
13
13
|
/** @description 상품 배너 */
|
|
14
14
|
STORE_ITEM_BANNER = "STORE_ITEM_BANNER",
|
|
15
15
|
/** @description 스토어 배너 */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StoreItemBannerType = void 0;
|
|
3
4
|
var StoreItemBannerType;
|
|
4
5
|
(function (StoreItemBannerType) {
|
|
5
6
|
/** @description 상품 배너 */
|
|
@@ -8,4 +9,4 @@ var StoreItemBannerType;
|
|
|
8
9
|
StoreItemBannerType["STORE_BANNER"] = "STORE_BANNER";
|
|
9
10
|
/** @description 브랜드 배너 */
|
|
10
11
|
StoreItemBannerType["BRAND_BANNER"] = "BRAND_BANNER";
|
|
11
|
-
})(StoreItemBannerType || (StoreItemBannerType = {}));
|
|
12
|
+
})(StoreItemBannerType || (exports.StoreItemBannerType = StoreItemBannerType = {}));
|
package/store-item-detail-banner-by-store-item/store-item-detail-banner-by-store-item.entity.d.ts
CHANGED
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
|
-
|
|
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
|
-
}
|
|
2
|
+
import { BannerPlatformInfo } from '../store-item-banner/store-item-banner.entity';
|
|
12
3
|
export default interface StoreItemDetailBannerByStoreItemEntity {
|
|
13
4
|
/** @description 상품 배너 고유 아이디 */
|
|
14
5
|
_id: Types.ObjectId | string;
|
|
15
6
|
/** @description 상품 아이디 */
|
|
16
7
|
storeItemId: Types.ObjectId | string;
|
|
17
8
|
/** @description 웹용 배너 정보 */
|
|
18
|
-
web:
|
|
9
|
+
web: BannerPlatformInfo;
|
|
19
10
|
/** @description 앱용 배너 정보 */
|
|
20
|
-
app:
|
|
11
|
+
app: BannerPlatformInfo;
|
|
21
12
|
/** @description 저장날짜 */
|
|
22
13
|
regDate: Date;
|
|
23
14
|
/** @description 배너 설명 */
|