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

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.
@@ -0,0 +1,26 @@
1
+ import { Types } from 'mongoose';
2
+ /**
3
+ * @author jun
4
+ * @description 수요 (구해줘 템즈) */
5
+ export default interface DemandEntity {
6
+ _id: Types.ObjectId | string;
7
+ /** 작성자 아이디 */
8
+ authorId: string;
9
+ /** 삭제 여부 (얕은) */
10
+ isDelete: boolean;
11
+ /** 삭제 일자 */
12
+ deletedDate?: Date;
13
+ /** 썸네일 이미지 리스트 */
14
+ thumbnailImgs: string[];
15
+ /** 제목 */
16
+ title: string;
17
+ /** 내용 */
18
+ content: string;
19
+ /** 태그 */
20
+ tags: string[];
21
+ /** 등록 일자 */
22
+ regDate: Date;
23
+ /** 수정 일자 */
24
+ lastModifiedDate: Date;
25
+ }
26
+ export { DemandEntity };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './demand.entity';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./demand.entity"), exports);
@@ -0,0 +1 @@
1
+ export * from './demand';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./demand"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.33",
3
+ "version": "0.2.34-jun.1",
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
  }