@yolo-croket-dev/entity-v2 0.2.9-hj-5 → 0.2.9-sj1
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 +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/store-item-banner/index.d.ts +1 -0
- package/{public-holiday → store-item-banner}/index.js +1 -1
- package/store-item-banner/store-item-banner.entity.d.ts +24 -0
- package/public-holiday/index.d.ts +0 -1
- package/public-holiday/public-holiday.entity.d.ts +0 -20
- /package/{public-holiday/public-holiday.entity.js → store-item-banner/store-item-banner.entity.js} +0 -0
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -55,4 +55,4 @@ __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("./
|
|
58
|
+
__exportStar(require("./store-item-banner"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './store-item-banner.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("./
|
|
17
|
+
__exportStar(require("./store-item-banner.entity"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
export default interface StoreItemBannerEntity {
|
|
3
|
+
/** @description 상품 배너 고유 아이디 */
|
|
4
|
+
_id: Types.ObjectId | string;
|
|
5
|
+
/** @description 상품 아이디 목록 */
|
|
6
|
+
storeItemIds: string[];
|
|
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 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public-holiday.entity';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Types } from 'mongoose';
|
|
2
|
-
export interface Holiday {
|
|
3
|
-
/** @description 휴일 이름 ex) 개천절 */
|
|
4
|
-
dateName: string;
|
|
5
|
-
/** @description 휴일 날짜 yyyyMMdd */
|
|
6
|
-
locdate: string;
|
|
7
|
-
}
|
|
8
|
-
export interface PublicHolidayEntity {
|
|
9
|
-
_id: Types.ObjectId | string;
|
|
10
|
-
/** @description 년도 yyyy */
|
|
11
|
-
year: number;
|
|
12
|
-
/** @description 월 ex) 1, 12 */
|
|
13
|
-
month: number;
|
|
14
|
-
/** @description 휴일 목록 */
|
|
15
|
-
holidays: Holiday[];
|
|
16
|
-
/** @description 휴일 데이터 갱신일 */
|
|
17
|
-
renewedAt: Date;
|
|
18
|
-
/** @description 휴일 데이터 api 호출일 */
|
|
19
|
-
apiCalledAt: Date;
|
|
20
|
-
}
|
/package/{public-holiday/public-holiday.entity.js → store-item-banner/store-item-banner.entity.js}
RENAMED
|
File without changes
|