@yolo-croket-dev/entity-v2 0.2.33-jun.1 → 0.2.34-jun.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.33-jun.1",
3
+ "version": "0.2.34-jun.0",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1,9 +1,14 @@
1
1
  import { Types } from 'mongoose';
2
2
  /** 키워드 정보 */
3
3
  export interface StoreItemPopularSearchKeywordInfo {
4
+ /** 키워드 */
4
5
  keyword: string;
6
+ /** 검색 횟수 */
5
7
  count: number;
8
+ /** 새로운 키워드 여부 */
6
9
  isNew: boolean;
10
+ /** 새로운 키워드 만료 일자 */
11
+ newExpiredDate?: Date;
7
12
  }
8
13
  /**
9
14
  * @author jun
@@ -11,7 +16,10 @@ export interface StoreItemPopularSearchKeywordInfo {
11
16
  */
12
17
  export interface StoreItemPopularSearchKeywordEntity {
13
18
  _id: Types.ObjectId | string;
19
+ /** 등록 일자 */
14
20
  regDate: Date;
21
+ /** 키워드 정보 */
15
22
  keywordInfos: StoreItemPopularSearchKeywordInfo[];
23
+ /** 만료 일자 */
16
24
  ttl: Date;
17
25
  }