@yolo-croket-dev/entity-v2 0.0.5 → 0.0.6-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.
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
export declare enum AppBulkPushLogTypeEnum {
|
|
3
|
+
검색쿼리 = "searchQuery",
|
|
4
|
+
엑셀 = "excel"
|
|
5
|
+
}
|
|
6
|
+
export declare enum AppBulkPushLogProcessEnum {
|
|
7
|
+
진행중 = "ing",
|
|
8
|
+
완료 = "done"
|
|
9
|
+
}
|
|
10
|
+
export interface AppPushInfo {
|
|
11
|
+
title: string;
|
|
12
|
+
content: string;
|
|
13
|
+
appUrl: string;
|
|
14
|
+
isIgnoreAD: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface ManageUserInfo {
|
|
17
|
+
manageUserId: Types.ObjectId;
|
|
18
|
+
}
|
|
19
|
+
export interface PastSearchQueryItemIdBookmark {
|
|
20
|
+
itemId: Types.ObjectId;
|
|
21
|
+
}
|
|
22
|
+
export interface PastSearchQuery {
|
|
23
|
+
title: string;
|
|
24
|
+
content: string;
|
|
25
|
+
userQuery: string;
|
|
26
|
+
PInfoQuery?: string;
|
|
27
|
+
storeItemQuery?: string;
|
|
28
|
+
itemId_bookmarkList: PastSearchQueryItemIdBookmark[];
|
|
29
|
+
PInfoNums?: number;
|
|
30
|
+
userNums: number;
|
|
31
|
+
}
|
|
32
|
+
export interface SearchQueryInfo {
|
|
33
|
+
searchQueryId: Types.ObjectId;
|
|
34
|
+
pastSearchQuery: PastSearchQuery;
|
|
35
|
+
}
|
|
36
|
+
export interface ExcelInfo {
|
|
37
|
+
excelFileName: string;
|
|
38
|
+
}
|
|
39
|
+
export default interface AppBulkPushLogEntity {
|
|
40
|
+
_id: Types.ObjectId;
|
|
41
|
+
type: AppBulkPushLogTypeEnum;
|
|
42
|
+
process: AppBulkPushLogProcessEnum;
|
|
43
|
+
appPushInfo: AppPushInfo;
|
|
44
|
+
allNums: number;
|
|
45
|
+
successNums: number;
|
|
46
|
+
failNums: number;
|
|
47
|
+
notExistsUserNums: number;
|
|
48
|
+
adBlockedUserNums: number;
|
|
49
|
+
clickNums: number;
|
|
50
|
+
manageUserInfo: ManageUserInfo;
|
|
51
|
+
regDate: Date;
|
|
52
|
+
redisDBKey: string;
|
|
53
|
+
searchQueryInfo?: SearchQueryInfo;
|
|
54
|
+
excelInfo?: ExcelInfo;
|
|
55
|
+
}
|
|
56
|
+
export { AppBulkPushLogEntity };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppBulkPushLogProcessEnum = exports.AppBulkPushLogTypeEnum = void 0;
|
|
4
|
+
var AppBulkPushLogTypeEnum;
|
|
5
|
+
(function (AppBulkPushLogTypeEnum) {
|
|
6
|
+
AppBulkPushLogTypeEnum["\uAC80\uC0C9\uCFFC\uB9AC"] = "searchQuery";
|
|
7
|
+
AppBulkPushLogTypeEnum["\uC5D1\uC140"] = "excel";
|
|
8
|
+
})(AppBulkPushLogTypeEnum || (exports.AppBulkPushLogTypeEnum = AppBulkPushLogTypeEnum = {}));
|
|
9
|
+
var AppBulkPushLogProcessEnum;
|
|
10
|
+
(function (AppBulkPushLogProcessEnum) {
|
|
11
|
+
AppBulkPushLogProcessEnum["\uC9C4\uD589\uC911"] = "ing";
|
|
12
|
+
AppBulkPushLogProcessEnum["\uC644\uB8CC"] = "done";
|
|
13
|
+
})(AppBulkPushLogProcessEnum || (exports.AppBulkPushLogProcessEnum = AppBulkPushLogProcessEnum = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './app-bulk-push-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("./app-bulk-push-log.entity"), exports);
|