@yolo-croket-dev/entity-v2 0.2.34-jun.6 → 0.2.34-jun.8

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,14 @@
1
+ import { Types } from 'mongoose';
2
+ /**
3
+ * @author jun
4
+ * @description 구해줘 게시글 좋아요 */
5
+ export default interface DemandLikeEntity {
6
+ _id: Types.ObjectId | string;
7
+ /** 구해줘 게시글 아이디 */
8
+ demandId: string | Types.ObjectId;
9
+ /** 좋아요 누른 유저 아이디 */
10
+ userId: string | Types.ObjectId;
11
+ /** 좋아요 등록 일자 */
12
+ regDate: Date;
13
+ }
14
+ export { DemandLikeEntity };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './demand-like.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-like.entity"), exports);
@@ -5,7 +5,9 @@ export declare enum DemandLogTypeEnum {
5
5
  EDIT_BY_USER = "EDIT_BY_USER",
6
6
  EDIT_BY_ADMIN = "EDIT_BY_ADMIN",
7
7
  DELETE_SOFT_BY_USER = "DELETE_SOFT_BY_USER",
8
- DELETE_HARD_BY_ADMIN = "DELETE_HARD_BY_ADMIN"
8
+ DELETE_HARD_BY_ADMIN = "DELETE_HARD_BY_ADMIN",
9
+ LIKE_BY_USER = "LIKE_BY_USER",
10
+ UNLIKE_BY_USER = "UNLIKE_BY_USER"
9
11
  }
10
12
  /**
11
13
  * @author jun
@@ -8,4 +8,6 @@ var DemandLogTypeEnum;
8
8
  DemandLogTypeEnum["EDIT_BY_ADMIN"] = "EDIT_BY_ADMIN";
9
9
  DemandLogTypeEnum["DELETE_SOFT_BY_USER"] = "DELETE_SOFT_BY_USER";
10
10
  DemandLogTypeEnum["DELETE_HARD_BY_ADMIN"] = "DELETE_HARD_BY_ADMIN";
11
+ DemandLogTypeEnum["LIKE_BY_USER"] = "LIKE_BY_USER";
12
+ DemandLogTypeEnum["UNLIKE_BY_USER"] = "UNLIKE_BY_USER";
11
13
  })(DemandLogTypeEnum = exports.DemandLogTypeEnum || (exports.DemandLogTypeEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.34-jun.6",
3
+ "version": "0.2.34-jun.8",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",