@yolo-croket-dev/entity-v2 0.2.37-jun.5 → 0.2.37-sj

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.37-jun.5",
3
+ "version": "0.2.37-sj",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1 +0,0 @@
1
- export * from './store-item-excel-log.entity';
@@ -1,17 +0,0 @@
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("./store-item-excel-log.entity"), exports);
@@ -1,66 +0,0 @@
1
- import { Types } from 'mongoose';
2
- /**
3
- * @author jun
4
- * @description 상품 엑셀 로그 타입
5
- */
6
- export declare enum StoreItemExcelLogTypeEnum {
7
- /** 엑셀 등록 */
8
- EXCEL_REG = "excel_reg"
9
- }
10
- export declare enum StoreItemExcelLogProcessEnum {
11
- ING = "ing",
12
- DONE = "done"
13
- }
14
- /**
15
- * @author jun
16
- * @description 상품 인기 검색어 데이터
17
- */
18
- export interface StoreItemExcelLogEntity {
19
- _id: Types.ObjectId | string;
20
- /** 처리 상태 */
21
- process: StoreItemExcelLogProcessEnum;
22
- /** 로그 타입 */
23
- logType: StoreItemExcelLogTypeEnum;
24
- /** 엑셀 파일 이름 (unique) */
25
- excelFileName: string;
26
- /** 추적 아이디 */
27
- traceId: string;
28
- /** 전체 시도 수 */
29
- totalTryCount: number;
30
- /** 성공 수 */
31
- successCount: number;
32
- /** 실패 수 */
33
- failCount: number;
34
- /** 성공 정보 */
35
- successInfos: StoreItemExcelLogSuccessInfo[];
36
- /** 실패 정보 */
37
- failInfos: StoreItemExcelLogFailInfo[];
38
- /** 등록 일자 */
39
- regDate: Date;
40
- /** 처리 시작 일자 */
41
- processingStartTime: Date;
42
- /** 처리 종료 일자 */
43
- processingEndTime?: Date;
44
- }
45
- /**
46
- * @author jun
47
- * @description 상품 엑셀 로그 성공 정보
48
- */
49
- export interface StoreItemExcelLogSuccessInfo {
50
- /** 상품 이름 */
51
- itemName: string;
52
- /** 상품 아이디 */
53
- itemId: Types.ObjectId | string;
54
- }
55
- /**
56
- * @author jun
57
- * @description 상품 엑셀 로그 실패 정보
58
- */
59
- export interface StoreItemExcelLogFailInfo {
60
- /** 상품 이름 */
61
- itemName: string;
62
- /** 상품 아이디 */
63
- itemId?: Types.ObjectId | string;
64
- /** 실패 이유 */
65
- reason: string;
66
- }
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StoreItemExcelLogProcessEnum = exports.StoreItemExcelLogTypeEnum = void 0;
4
- /**
5
- * @author jun
6
- * @description 상품 엑셀 로그 타입
7
- */
8
- var StoreItemExcelLogTypeEnum;
9
- (function (StoreItemExcelLogTypeEnum) {
10
- /** 엑셀 등록 */
11
- StoreItemExcelLogTypeEnum["EXCEL_REG"] = "excel_reg";
12
- })(StoreItemExcelLogTypeEnum || (exports.StoreItemExcelLogTypeEnum = StoreItemExcelLogTypeEnum = {}));
13
- var StoreItemExcelLogProcessEnum;
14
- (function (StoreItemExcelLogProcessEnum) {
15
- StoreItemExcelLogProcessEnum["ING"] = "ing";
16
- StoreItemExcelLogProcessEnum["DONE"] = "done";
17
- })(StoreItemExcelLogProcessEnum || (exports.StoreItemExcelLogProcessEnum = StoreItemExcelLogProcessEnum = {}));