@yolo-croket-dev/entity-v2 0.2.9-hj-1 → 0.2.9-hj-3
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 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/public-holiday/public-holiday.entity.d.ts +6 -5
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -55,3 +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("./public-holiday"), exports);
|
package/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
1
2
|
export interface Holiday {
|
|
2
3
|
/** @description 휴일 이름 */
|
|
3
4
|
dateName: string;
|
|
@@ -5,7 +6,7 @@ export interface Holiday {
|
|
|
5
6
|
locdate: string;
|
|
6
7
|
}
|
|
7
8
|
export interface PublicHolidayEntity {
|
|
8
|
-
_id: string;
|
|
9
|
+
_id: Types.ObjectId | string;
|
|
9
10
|
/** @description 년도 */
|
|
10
11
|
year: number;
|
|
11
12
|
/** @description 월 */
|
|
@@ -14,8 +15,8 @@ export interface PublicHolidayEntity {
|
|
|
14
15
|
nation: string;
|
|
15
16
|
/** @description 휴일 목록 */
|
|
16
17
|
holidays: Holiday[];
|
|
17
|
-
/** @description
|
|
18
|
-
|
|
19
|
-
/** @description
|
|
20
|
-
|
|
18
|
+
/** @description 휴일 데이터 갱신일 */
|
|
19
|
+
renewedAt: Date;
|
|
20
|
+
/** @description 휴일 데이터 api 호출일 */
|
|
21
|
+
apiCalledAt: Date;
|
|
21
22
|
}
|