@yolo-croket-dev/entity-v2 0.2.49 → 0.2.51

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 @@
1
+ export * from './item-review-integration.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("./item-review-integration.entity"), exports);
@@ -0,0 +1,17 @@
1
+ import { Types } from 'mongoose';
2
+ /**
3
+ * @author jun
4
+ * @description 상품 리뷰 통합 엔티티
5
+ */
6
+ export default interface ItemReviewIntegrationEntity {
7
+ _id: string | Types.ObjectId;
8
+ /** 메모 */
9
+ memo?: string;
10
+ /** 통합된 상품 아이디들 (unique key) */
11
+ itemIds: string[] | Types.ObjectId[];
12
+ /** 마지막 수정일 */
13
+ lastModifyDate: Date;
14
+ /** 등록일 */
15
+ regDate: Date;
16
+ }
17
+ export { ItemReviewIntegrationEntity };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './item-review-integration-log.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("./item-review-integration-log.entity"), exports);
@@ -0,0 +1,21 @@
1
+ import { Types } from 'mongoose';
2
+ import { ItemReviewIntegrationEntity } from '../item-review-integration/item-review-integration.entity';
3
+ export declare enum ItemReviewIntegrationLogTypeEnum {
4
+ CREATE = "CREATE",
5
+ UPDATE = "UPDATE",
6
+ DELETE = "DELETE"
7
+ }
8
+ /**
9
+ * @author jun
10
+ * @description 상품 리뷰 통합 로그 엔티티
11
+ */
12
+ export default interface ItemReviewIntegrationLogEntity {
13
+ _id: string | Types.ObjectId;
14
+ type: ItemReviewIntegrationLogTypeEnum;
15
+ itemReviewIntegrationId: string | Types.ObjectId;
16
+ pastItemReviewIntegrationInfo?: ItemReviewIntegrationEntity;
17
+ manageUserId: string | Types.ObjectId;
18
+ /** 등록일 */
19
+ regDate: Date;
20
+ }
21
+ export { ItemReviewIntegrationLogEntity };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ItemReviewIntegrationLogTypeEnum = void 0;
4
+ var ItemReviewIntegrationLogTypeEnum;
5
+ (function (ItemReviewIntegrationLogTypeEnum) {
6
+ ItemReviewIntegrationLogTypeEnum["CREATE"] = "CREATE";
7
+ ItemReviewIntegrationLogTypeEnum["UPDATE"] = "UPDATE";
8
+ ItemReviewIntegrationLogTypeEnum["DELETE"] = "DELETE";
9
+ })(ItemReviewIntegrationLogTypeEnum || (exports.ItemReviewIntegrationLogTypeEnum = ItemReviewIntegrationLogTypeEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.49",
3
+ "version": "0.2.51",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -23,4 +23,4 @@
23
23
  },
24
24
  "license": "UNLICENSED",
25
25
  "dependencies": {}
26
- }
26
+ }