@yolo-croket-dev/entity-v2 0.0.18 → 0.0.19-CR-2667-2
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/app-bulk-push-log/app-bulk-push-log.entity.js +2 -2
- package/app-push-subscribe/app-push-subscribe-for-admin.entity.d.ts +13 -0
- package/app-push-subscribe/app-push-subscribe-for-admin.entity.js +2 -0
- package/app-push-subscribe/app-push-subscribe-for-selection-vote-entity.entity.d.ts +17 -0
- package/app-push-subscribe/app-push-subscribe-for-selection-vote-entity.entity.js +8 -0
- package/app-push-subscribe/index.d.ts +2 -0
- package/app-push-subscribe/index.js +18 -0
- package/app-push-subscribed-user/app-push-subscribed-user-for-admin.entity.d.ts +13 -0
- package/app-push-subscribed-user/app-push-subscribed-user-for-admin.entity.js +2 -0
- package/app-push-subscribed-user/app-push-subscribed-user.entity.d.ts +9 -0
- package/app-push-subscribed-user/app-push-subscribed-user.entity.js +2 -0
- package/app-push-subscribed-user/index.d.ts +2 -0
- package/app-push-subscribed-user/index.js +18 -0
- package/img/img.entity.d.ts +6 -0
- package/img/img.entity.js +2 -0
- package/img/index.d.ts +1 -0
- package/img/index.js +17 -0
- package/index.d.ts +15 -0
- package/index.js +31 -0
- package/lologin/lologin-for-admin.entity.d.ts +1 -1
- package/package.json +1 -1
- package/remote-config/remote-config-for-business-info-not-editable-days.entity.d.ts +1 -1
- package/remote-config/remote-config-for-business-info-not-editable-days.entity.js +1 -1
- package/selection-frame/index.d.ts +1 -0
- package/selection-frame/index.js +17 -0
- package/selection-frame/selection-frame.entity.d.ts +48 -0
- package/selection-frame/selection-frame.entity.js +9 -0
- package/selection-frame-data/index.d.ts +2 -0
- package/selection-frame-data/index.js +18 -0
- package/selection-frame-data/selection-frame-data.entity.d.ts +63 -0
- package/selection-frame-data/selection-frame-data.entity.js +32 -0
- package/selection-frame-data/selection-frame-large-data.entity.d.ts +8 -0
- package/selection-frame-data/selection-frame-large-data.entity.js +2 -0
- package/selection-frame-first-enterance-guide/index.d.ts +1 -0
- package/selection-frame-first-enterance-guide/index.js +17 -0
- package/selection-frame-first-enterance-guide/selection-frame-first-enterance-guide.entity.d.ts +21 -0
- package/selection-frame-first-enterance-guide/selection-frame-first-enterance-guide.entity.js +2 -0
- package/selection-frame-guide/index.d.ts +1 -0
- package/selection-frame-guide/index.js +17 -0
- package/selection-frame-guide/selection-frame-guide.entity.d.ts +39 -0
- package/selection-frame-guide/selection-frame-guide.entity.js +20 -0
- package/selection-frame-review-request/index.d.ts +1 -0
- package/selection-frame-review-request/index.js +17 -0
- package/selection-frame-review-request/selection-frame-review-request.entity.d.ts +20 -0
- package/selection-frame-review-request/selection-frame-review-request.entity.js +2 -0
- package/selection-frame-vote/index.d.ts +1 -0
- package/selection-frame-vote/index.js +17 -0
- package/selection-frame-vote/selection-frame-vote.entity.d.ts +48 -0
- package/selection-frame-vote/selection-frame-vote.entity.js +10 -0
- package/selection-item-connect/index.d.ts +2 -0
- package/selection-item-connect/index.js +18 -0
- package/selection-item-connect/selection-item-connect-for-admin.entity.d.ts +43 -0
- package/selection-item-connect/selection-item-connect-for-admin.entity.js +10 -0
- package/selection-item-connect/selection-item-connect.entity.d.ts +24 -0
- package/selection-item-connect/selection-item-connect.entity.js +2 -0
- package/user/user-for-admin.entity.d.ts +1 -1
- package/user/user.entity.js +2 -2
- package/yolo-deposit-history-by-pg/index.d.ts +1 -0
- package/yolo-deposit-history-by-pg/index.js +17 -0
- package/yolo-deposit-history-by-pg/yolo-deposit-history-by-pg.entity.d.ts +76 -0
- package/yolo-deposit-history-by-pg/yolo-deposit-history-by-pg.entity.js +48 -0
|
@@ -5,10 +5,10 @@ var AppBulkPushLogTypeEnum;
|
|
|
5
5
|
(function (AppBulkPushLogTypeEnum) {
|
|
6
6
|
AppBulkPushLogTypeEnum["\uAC80\uC0C9\uCFFC\uB9AC"] = "searchQuery";
|
|
7
7
|
AppBulkPushLogTypeEnum["\uC5D1\uC140"] = "excel";
|
|
8
|
-
})(AppBulkPushLogTypeEnum
|
|
8
|
+
})(AppBulkPushLogTypeEnum || (exports.AppBulkPushLogTypeEnum = AppBulkPushLogTypeEnum = {}));
|
|
9
9
|
var AppBulkPushLogProcessEnum;
|
|
10
10
|
(function (AppBulkPushLogProcessEnum) {
|
|
11
11
|
AppBulkPushLogProcessEnum["\uB300\uAE30"] = "ready";
|
|
12
12
|
AppBulkPushLogProcessEnum["\uC9C4\uD589\uC911"] = "ing";
|
|
13
13
|
AppBulkPushLogProcessEnum["\uC644\uB8CC"] = "done";
|
|
14
|
-
})(AppBulkPushLogProcessEnum
|
|
14
|
+
})(AppBulkPushLogProcessEnum || (exports.AppBulkPushLogProcessEnum = AppBulkPushLogProcessEnum = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
/** @description 앱 푸시 동의 entity */
|
|
3
|
+
export default interface AppPushSubscribeForAdminEntity {
|
|
4
|
+
_id: Types.ObjectId | string;
|
|
5
|
+
/** @description 알림 타이틀 */
|
|
6
|
+
title: string;
|
|
7
|
+
/** @description 알림 상세 설명 */
|
|
8
|
+
description: string;
|
|
9
|
+
regDate: Date;
|
|
10
|
+
/** @description 구독한 유저 수 */
|
|
11
|
+
subscribedUserCount: number;
|
|
12
|
+
}
|
|
13
|
+
export { AppPushSubscribeForAdminEntity };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
export declare enum AppPushSubscribeSelectionVoteTypeEnum {
|
|
3
|
+
A = "A",
|
|
4
|
+
B = "B"
|
|
5
|
+
}
|
|
6
|
+
/** @description 앱 푸시 동의 - 셀렉션 투표용 entity */
|
|
7
|
+
export default interface AppPushSubscribeForSelectionVoteEntity {
|
|
8
|
+
_id: Types.ObjectId | string;
|
|
9
|
+
/** @description 알림 타이틀 */
|
|
10
|
+
title: string;
|
|
11
|
+
/** @description 알림 상세 설명 */
|
|
12
|
+
description: string;
|
|
13
|
+
regDate: Date;
|
|
14
|
+
/** @description 셀렉션 투표 타입 */
|
|
15
|
+
type: AppPushSubscribeSelectionVoteTypeEnum;
|
|
16
|
+
}
|
|
17
|
+
export { AppPushSubscribeForSelectionVoteEntity };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppPushSubscribeSelectionVoteTypeEnum = void 0;
|
|
4
|
+
var AppPushSubscribeSelectionVoteTypeEnum;
|
|
5
|
+
(function (AppPushSubscribeSelectionVoteTypeEnum) {
|
|
6
|
+
AppPushSubscribeSelectionVoteTypeEnum["A"] = "A";
|
|
7
|
+
AppPushSubscribeSelectionVoteTypeEnum["B"] = "B";
|
|
8
|
+
})(AppPushSubscribeSelectionVoteTypeEnum || (exports.AppPushSubscribeSelectionVoteTypeEnum = AppPushSubscribeSelectionVoteTypeEnum = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
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-push-subscribe-for-selection-vote-entity.entity"), exports);
|
|
18
|
+
__exportStar(require("./app-push-subscribe-for-admin.entity"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
/** @description 앱 푸쉬 동의한 유저 - 관리자용 entity */
|
|
3
|
+
export default interface AppPushSubscribedUserForAdminEntity {
|
|
4
|
+
_id: Types.ObjectId | string;
|
|
5
|
+
appPushSubscribeId: Types.ObjectId | string;
|
|
6
|
+
userId: Types.ObjectId | string;
|
|
7
|
+
regDate: Date;
|
|
8
|
+
phoneCountry: string;
|
|
9
|
+
phoneNumber: string;
|
|
10
|
+
/** @description 앱 푸시 수신 여부 */
|
|
11
|
+
userAppPushReceived: boolean;
|
|
12
|
+
}
|
|
13
|
+
export { AppPushSubscribedUserForAdminEntity };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
/** @description 앱 푸쉬 동의한 유저 entity */
|
|
3
|
+
export default interface AppPushSubscribedUserEntity {
|
|
4
|
+
_id: Types.ObjectId | string;
|
|
5
|
+
appPushSubscribeId: Types.ObjectId | string;
|
|
6
|
+
userId: Types.ObjectId | string;
|
|
7
|
+
regDate: Date;
|
|
8
|
+
}
|
|
9
|
+
export { AppPushSubscribedUserEntity };
|
|
@@ -0,0 +1,18 @@
|
|
|
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-push-subscribed-user.entity"), exports);
|
|
18
|
+
__exportStar(require("./app-push-subscribed-user-for-admin.entity"), exports);
|
package/img/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './img.entity';
|
package/img/index.js
ADDED
|
@@ -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("./img.entity"), exports);
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './app-bulk-push-log';
|
|
2
|
+
export * from './app-bulk-push-log-click';
|
|
3
|
+
export * from './lologin';
|
|
4
|
+
export * from './remote-config';
|
|
5
|
+
export * from './selection-frame-review-request';
|
|
6
|
+
export * from './selection-frame-vote';
|
|
7
|
+
export * from './selection-frame';
|
|
8
|
+
export * from './selection-frame-data';
|
|
9
|
+
export * from './selection-frame-guide';
|
|
10
|
+
export * from './selection-item-connect';
|
|
11
|
+
export * from './user';
|
|
12
|
+
export * from './img';
|
|
13
|
+
export * from './selection-frame-first-enterance-guide';
|
|
14
|
+
export * from './app-push-subscribe';
|
|
15
|
+
export * from './app-push-subscribed-user';
|
package/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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"), exports);
|
|
18
|
+
__exportStar(require("./app-bulk-push-log-click"), exports);
|
|
19
|
+
__exportStar(require("./lologin"), exports);
|
|
20
|
+
__exportStar(require("./remote-config"), exports);
|
|
21
|
+
__exportStar(require("./selection-frame-review-request"), exports);
|
|
22
|
+
__exportStar(require("./selection-frame-vote"), exports);
|
|
23
|
+
__exportStar(require("./selection-frame"), exports);
|
|
24
|
+
__exportStar(require("./selection-frame-data"), exports);
|
|
25
|
+
__exportStar(require("./selection-frame-guide"), exports);
|
|
26
|
+
__exportStar(require("./selection-item-connect"), exports);
|
|
27
|
+
__exportStar(require("./user"), exports);
|
|
28
|
+
__exportStar(require("./img"), exports);
|
|
29
|
+
__exportStar(require("./selection-frame-first-enterance-guide"), exports);
|
|
30
|
+
__exportStar(require("./app-push-subscribe"), exports);
|
|
31
|
+
__exportStar(require("./app-push-subscribed-user"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LologinEntity } from './lologin.entity';
|
|
2
|
-
export
|
|
2
|
+
export type LologinForAdminEntity = Pick<LologinEntity, '_id' | 'writeName' | 'managerId' | 'expired' | 'regDate'> & {
|
|
3
3
|
loginUserInfo: {
|
|
4
4
|
userId: string;
|
|
5
5
|
username: string;
|
package/package.json
CHANGED
|
@@ -5,4 +5,4 @@ var BusinessInfoNotEditableDaysKeyEnum;
|
|
|
5
5
|
(function (BusinessInfoNotEditableDaysKeyEnum) {
|
|
6
6
|
BusinessInfoNotEditableDaysKeyEnum["businessInfoNotEditableStartDay"] = "businessInfoNotEditableStartDay";
|
|
7
7
|
BusinessInfoNotEditableDaysKeyEnum["businessInfoNotEditableEndDay"] = "businessInfoNotEditableEndDay";
|
|
8
|
-
})(BusinessInfoNotEditableDaysKeyEnum
|
|
8
|
+
})(BusinessInfoNotEditableDaysKeyEnum || (exports.BusinessInfoNotEditableDaysKeyEnum = BusinessInfoNotEditableDaysKeyEnum = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selection-frame.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("./selection-frame.entity"), exports);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { SelectionFrameDataEntity, SelectionFrameLargeDataEntity } from '../selection-frame-data';
|
|
3
|
+
export declare class SelectionFrameDataInfo {
|
|
4
|
+
/** 대분류 셀렉션 프레임 데이터 */
|
|
5
|
+
large: SelectionFrameLargeDataEntity;
|
|
6
|
+
/** 중분류 셀렉션 프레임 데이터 */
|
|
7
|
+
medium: SelectionFrameDataEntity;
|
|
8
|
+
/** 소분류 셀렉션 프레임 데이터 */
|
|
9
|
+
small: SelectionFrameDataEntity;
|
|
10
|
+
/** 소소분류 셀렉션 프레임 데이터 */
|
|
11
|
+
small2?: SelectionFrameDataEntity;
|
|
12
|
+
/** 소소소분류 셀렉션 프레임 데이터 */
|
|
13
|
+
small3?: SelectionFrameDataEntity;
|
|
14
|
+
}
|
|
15
|
+
/** @description 셀렉션 프레임 엔티티 */
|
|
16
|
+
export interface SelectionFrameEntity {
|
|
17
|
+
_id: Types.ObjectId | string;
|
|
18
|
+
/** 셀렉션 프레임 데이터 정보 */
|
|
19
|
+
selectionFrameDataInfo: SelectionFrameDataInfo;
|
|
20
|
+
/** 해당 셀렉션에 등록되어져 있는 상품 갯수 */
|
|
21
|
+
regItemNums: number;
|
|
22
|
+
/** 저장일 */
|
|
23
|
+
regDate: Date;
|
|
24
|
+
/** 마지막 수정일 */
|
|
25
|
+
lastEditDate: Date;
|
|
26
|
+
}
|
|
27
|
+
export declare class SelectionFrameDataIdInfo {
|
|
28
|
+
/** 대분류 셀렉션 프레임 데이터 아이디 */
|
|
29
|
+
largeDataId: Types.ObjectId | string;
|
|
30
|
+
/** 중분류 셀렉션 프레임 데이터 아이디 */
|
|
31
|
+
mediumDataId: Types.ObjectId | string;
|
|
32
|
+
/** 소분류 셀렉션 프레임 데이터 아이디 */
|
|
33
|
+
smallDataId: Types.ObjectId | string;
|
|
34
|
+
/** 소소분류 셀렉션 프레임 데이터 아이디 */
|
|
35
|
+
smallData2Id?: Types.ObjectId | string;
|
|
36
|
+
/** 소소소분류 셀렉션 프레임 데이터 아이디 */
|
|
37
|
+
smallData3Id?: Types.ObjectId | string;
|
|
38
|
+
}
|
|
39
|
+
/** @description 셀렉션 프레임 아이디 정보 엔티티 */
|
|
40
|
+
export interface SelectionFrameEntityWithIdInfo {
|
|
41
|
+
_id: Types.ObjectId | string;
|
|
42
|
+
/** 셀렉션 프레임 데이터 아이디 정보 */
|
|
43
|
+
selectionFrameDataInfo: SelectionFrameDataIdInfo;
|
|
44
|
+
/** 해당 셀렉션에 등록되어져 있는 상품 갯수 */
|
|
45
|
+
regItemNums: number;
|
|
46
|
+
/** 저장일 */
|
|
47
|
+
regDate: Date;
|
|
48
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectionFrameDataIdInfo = exports.SelectionFrameDataInfo = void 0;
|
|
4
|
+
class SelectionFrameDataInfo {
|
|
5
|
+
}
|
|
6
|
+
exports.SelectionFrameDataInfo = SelectionFrameDataInfo;
|
|
7
|
+
class SelectionFrameDataIdInfo {
|
|
8
|
+
}
|
|
9
|
+
exports.SelectionFrameDataIdInfo = SelectionFrameDataIdInfo;
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./selection-frame-data.entity"), exports);
|
|
18
|
+
__exportStar(require("./selection-frame-large-data.entity"), exports);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
export declare enum ViewTypeEnum {
|
|
3
|
+
'A' = "A",
|
|
4
|
+
'B' = "B",
|
|
5
|
+
'C' = "C"
|
|
6
|
+
}
|
|
7
|
+
export declare enum SelectionFrameDataTypeEnum {
|
|
8
|
+
'대' = "large",
|
|
9
|
+
'중' = "medium",
|
|
10
|
+
'소' = "small",
|
|
11
|
+
'소소' = "small2",
|
|
12
|
+
'소소소' = "small3"
|
|
13
|
+
}
|
|
14
|
+
export declare class SelectionFrameDataSubTitle {
|
|
15
|
+
viewType: ViewTypeEnum;
|
|
16
|
+
text: string;
|
|
17
|
+
}
|
|
18
|
+
export declare class SelectionFrameDataUrl {
|
|
19
|
+
viewType: ViewTypeEnum;
|
|
20
|
+
url: string;
|
|
21
|
+
}
|
|
22
|
+
export declare class SelectionFrameDataImg {
|
|
23
|
+
viewType: ViewTypeEnum;
|
|
24
|
+
url: string;
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
}
|
|
28
|
+
export declare class SelectionFrameDataAppUrl extends SelectionFrameDataUrl {
|
|
29
|
+
}
|
|
30
|
+
export declare class SelectionFrameDataWebUrl extends SelectionFrameDataUrl {
|
|
31
|
+
}
|
|
32
|
+
/** @description 셀렉션 프레임 데이터 엔티티 */
|
|
33
|
+
export interface SelectionFrameDataEntity {
|
|
34
|
+
_id: Types.ObjectId | string;
|
|
35
|
+
/** 타입 (대,중,소,소소,소소소) */
|
|
36
|
+
type: SelectionFrameDataTypeEnum;
|
|
37
|
+
/** 타이틀 */
|
|
38
|
+
title: string;
|
|
39
|
+
/** 셀렉션 데이터 서브 타이틀 리스트 */
|
|
40
|
+
subTitleList?: SelectionFrameDataSubTitle[];
|
|
41
|
+
/** 셀렉션 데이터 이미지 리스트 */
|
|
42
|
+
imgList?: SelectionFrameDataImg[];
|
|
43
|
+
/** 정렬 순서 값 (생성할 때 직접 값을 넣지 않고, auto increment를 사용하기 때문에 nullable 처리 해주어야한다.) */
|
|
44
|
+
sort?: number;
|
|
45
|
+
/** 부모 아이디 (SelectionFrameData) */
|
|
46
|
+
parentId?: Types.ObjectId | string;
|
|
47
|
+
/** 마지막 수정 날짜 */
|
|
48
|
+
lastEditDate: Date;
|
|
49
|
+
/** 분류(대,중,소,소소,소소소) uniqKey 값
|
|
50
|
+
* ${대 _id}_${중_id}_${소 _id}_${소소 _id}_${소소소 _id}로 이루어져 있어 조회에 사용할 수 있으며, 중복되는 것을 인프라 영역에서 막기 위한 값.
|
|
51
|
+
* */
|
|
52
|
+
uniqKey: string;
|
|
53
|
+
/** appUrl 데이터 */
|
|
54
|
+
appUrls?: SelectionFrameDataAppUrl[];
|
|
55
|
+
/** webUrl 데이터 */
|
|
56
|
+
webUrls?: SelectionFrameDataWebUrl[];
|
|
57
|
+
/** 저장일 */
|
|
58
|
+
regDate: Date;
|
|
59
|
+
/** 템플릿 이름 (대분류에만 존재) */
|
|
60
|
+
templateName?: string;
|
|
61
|
+
/** pick 타이틀 (대분류에만 존재, optional) ex) 3일출발 */
|
|
62
|
+
pickTitle?: string;
|
|
63
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectionFrameDataWebUrl = exports.SelectionFrameDataAppUrl = exports.SelectionFrameDataImg = exports.SelectionFrameDataUrl = exports.SelectionFrameDataSubTitle = exports.SelectionFrameDataTypeEnum = exports.ViewTypeEnum = void 0;
|
|
4
|
+
var ViewTypeEnum;
|
|
5
|
+
(function (ViewTypeEnum) {
|
|
6
|
+
ViewTypeEnum["A"] = "A";
|
|
7
|
+
ViewTypeEnum["B"] = "B";
|
|
8
|
+
ViewTypeEnum["C"] = "C";
|
|
9
|
+
})(ViewTypeEnum || (exports.ViewTypeEnum = ViewTypeEnum = {}));
|
|
10
|
+
var SelectionFrameDataTypeEnum;
|
|
11
|
+
(function (SelectionFrameDataTypeEnum) {
|
|
12
|
+
SelectionFrameDataTypeEnum["\uB300"] = "large";
|
|
13
|
+
SelectionFrameDataTypeEnum["\uC911"] = "medium";
|
|
14
|
+
SelectionFrameDataTypeEnum["\uC18C"] = "small";
|
|
15
|
+
SelectionFrameDataTypeEnum["\uC18C\uC18C"] = "small2";
|
|
16
|
+
SelectionFrameDataTypeEnum["\uC18C\uC18C\uC18C"] = "small3";
|
|
17
|
+
})(SelectionFrameDataTypeEnum || (exports.SelectionFrameDataTypeEnum = SelectionFrameDataTypeEnum = {}));
|
|
18
|
+
class SelectionFrameDataSubTitle {
|
|
19
|
+
}
|
|
20
|
+
exports.SelectionFrameDataSubTitle = SelectionFrameDataSubTitle;
|
|
21
|
+
class SelectionFrameDataUrl {
|
|
22
|
+
}
|
|
23
|
+
exports.SelectionFrameDataUrl = SelectionFrameDataUrl;
|
|
24
|
+
class SelectionFrameDataImg {
|
|
25
|
+
}
|
|
26
|
+
exports.SelectionFrameDataImg = SelectionFrameDataImg;
|
|
27
|
+
class SelectionFrameDataAppUrl extends SelectionFrameDataUrl {
|
|
28
|
+
}
|
|
29
|
+
exports.SelectionFrameDataAppUrl = SelectionFrameDataAppUrl;
|
|
30
|
+
class SelectionFrameDataWebUrl extends SelectionFrameDataUrl {
|
|
31
|
+
}
|
|
32
|
+
exports.SelectionFrameDataWebUrl = SelectionFrameDataWebUrl;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SelectionFrameDataEntity } from './selection-frame-data.entity';
|
|
2
|
+
/** @description 셀렉션 프레임 대분류 데이터 엔티티 */
|
|
3
|
+
export interface SelectionFrameLargeDataEntity extends SelectionFrameDataEntity {
|
|
4
|
+
/** 템플릿 이름 (대분류에만 존재) */
|
|
5
|
+
templateName: string;
|
|
6
|
+
/** pick 타이틀 (대분류에만 존재, optional) ex) 3일출발 */
|
|
7
|
+
pickTitle?: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selection-frame-first-enterance-guide.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("./selection-frame-first-enterance-guide.entity"), exports);
|
package/selection-frame-first-enterance-guide/selection-frame-first-enterance-guide.entity.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { ImgEntity } from '../img';
|
|
3
|
+
export interface SelectionFrameFirstEnteranceGuideText {
|
|
4
|
+
title: string;
|
|
5
|
+
desc: string;
|
|
6
|
+
}
|
|
7
|
+
export default interface SelectionFrameFirstEnteranceGuideEntity {
|
|
8
|
+
_id: Types.ObjectId | string;
|
|
9
|
+
/** @description selectionFrameData 중 type = 대 인 데이터 */
|
|
10
|
+
selectionFrameLargeDataId: Types.ObjectId | string;
|
|
11
|
+
/** @description 가이드 이미지들 */
|
|
12
|
+
imgs: ImgEntity[];
|
|
13
|
+
/** @description 가이드 텍스트들 */
|
|
14
|
+
texts?: SelectionFrameFirstEnteranceGuideText[];
|
|
15
|
+
regDate: Date;
|
|
16
|
+
/** @description 발급 받을 수 있는 쿠폰 존재하는가? */
|
|
17
|
+
isCoupon: boolean;
|
|
18
|
+
/** @description 발급 받을 수 있는 쿠폰 코드 */
|
|
19
|
+
couponCode?: string;
|
|
20
|
+
}
|
|
21
|
+
export { SelectionFrameFirstEnteranceGuideEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selection-frame-guide.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("./selection-frame-guide.entity"), exports);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { SelectionFrameDataTypeEnum } from '../selection-frame-data';
|
|
3
|
+
export declare enum RequireTypeEnum {
|
|
4
|
+
/** @description 필요 */
|
|
5
|
+
REQUIRE = "require",
|
|
6
|
+
/** @description 불필요 */
|
|
7
|
+
NO_REQUIRE = "noRequire",
|
|
8
|
+
/** @description 선택 */
|
|
9
|
+
OPTIONAL = "optional"
|
|
10
|
+
}
|
|
11
|
+
/** @description 데이터 필요 여부 */
|
|
12
|
+
export declare class RequireInfo {
|
|
13
|
+
_id: Types.ObjectId | string;
|
|
14
|
+
selectionFrameDataType: SelectionFrameDataTypeEnum;
|
|
15
|
+
subTitleA: RequireTypeEnum;
|
|
16
|
+
subTitleB: RequireTypeEnum;
|
|
17
|
+
subTitleC: RequireTypeEnum;
|
|
18
|
+
imgA: RequireTypeEnum;
|
|
19
|
+
imgB: RequireTypeEnum;
|
|
20
|
+
imgC: RequireTypeEnum;
|
|
21
|
+
appUrlA: RequireTypeEnum;
|
|
22
|
+
appUrlB: RequireTypeEnum;
|
|
23
|
+
appUrlC: RequireTypeEnum;
|
|
24
|
+
webUrlA: RequireTypeEnum;
|
|
25
|
+
webUrlB: RequireTypeEnum;
|
|
26
|
+
webUrlC: RequireTypeEnum;
|
|
27
|
+
}
|
|
28
|
+
/** @description 셀렉션 템플릿 가이드 */
|
|
29
|
+
export declare class SelectionFrameGuideEntity {
|
|
30
|
+
_id: Types.ObjectId | string;
|
|
31
|
+
/** @description 템플릿 이름 */
|
|
32
|
+
templateName: string;
|
|
33
|
+
/** @description 해당 데이터 필요 여부들 */
|
|
34
|
+
requireInfos: RequireInfo[];
|
|
35
|
+
/** @description 마지막 수정일 */
|
|
36
|
+
lastEditDate: Date;
|
|
37
|
+
/** @description 등록일 */
|
|
38
|
+
regDate: Date;
|
|
39
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectionFrameGuideEntity = exports.RequireInfo = exports.RequireTypeEnum = void 0;
|
|
4
|
+
var RequireTypeEnum;
|
|
5
|
+
(function (RequireTypeEnum) {
|
|
6
|
+
/** @description 필요 */
|
|
7
|
+
RequireTypeEnum["REQUIRE"] = "require";
|
|
8
|
+
/** @description 불필요 */
|
|
9
|
+
RequireTypeEnum["NO_REQUIRE"] = "noRequire";
|
|
10
|
+
/** @description 선택 */
|
|
11
|
+
RequireTypeEnum["OPTIONAL"] = "optional";
|
|
12
|
+
})(RequireTypeEnum || (exports.RequireTypeEnum = RequireTypeEnum = {}));
|
|
13
|
+
/** @description 데이터 필요 여부 */
|
|
14
|
+
class RequireInfo {
|
|
15
|
+
}
|
|
16
|
+
exports.RequireInfo = RequireInfo;
|
|
17
|
+
/** @description 셀렉션 템플릿 가이드 */
|
|
18
|
+
class SelectionFrameGuideEntity {
|
|
19
|
+
}
|
|
20
|
+
exports.SelectionFrameGuideEntity = SelectionFrameGuideEntity;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selection-frame-review-request.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("./selection-frame-review-request.entity"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
/** @description 셀렉션 프레임 투표 리뷰 요청 */
|
|
3
|
+
export interface SelectionFrameReviewRequestEntity {
|
|
4
|
+
/** 셀렉션 프레임 투표 아이디 */
|
|
5
|
+
_id: Types.ObjectId | string;
|
|
6
|
+
/** 셀렉션 프레임 라지 데이터 아이디 */
|
|
7
|
+
selectionFrameLargeDataId: Types.ObjectId | string;
|
|
8
|
+
/** 유저 아이디 */
|
|
9
|
+
userId: Types.ObjectId | string;
|
|
10
|
+
/** 내용 */
|
|
11
|
+
comment: string;
|
|
12
|
+
/** 등록일 */
|
|
13
|
+
regDate: Date;
|
|
14
|
+
/** 추천 수 */
|
|
15
|
+
likeCount: number;
|
|
16
|
+
/** 추천 여부 */
|
|
17
|
+
isLike: boolean;
|
|
18
|
+
/** 유저 이름 */
|
|
19
|
+
username: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selection-frame-vote.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("./selection-frame-vote.entity"), exports);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { SelectionFrameDataInfo } from '../selection-frame/selection-frame.entity';
|
|
3
|
+
export declare enum SelectionVoteProcessEnum {
|
|
4
|
+
'투표중' = "VOTING",
|
|
5
|
+
'리뷰_준비중' = "REVIEW_PREPARING",
|
|
6
|
+
'리뷰_완료' = "REVIEW_COMPLETED",
|
|
7
|
+
'리뷰_중지' = "REVIEW_STOPPED"
|
|
8
|
+
}
|
|
9
|
+
/** @description -구매자- 셀렉션 프레임 투표 엔티티 */
|
|
10
|
+
export interface SelectionFrameVoteForBuyerEntity {
|
|
11
|
+
/** 셀렉션 프레임 투표 아이디 */
|
|
12
|
+
_id: Types.ObjectId | string;
|
|
13
|
+
/** 셀렉션 프레임 라지 데이터 아이디 */
|
|
14
|
+
selectionFrameLargeDataId: Types.ObjectId | string;
|
|
15
|
+
/** 셀렉션 프레임 아이디 */
|
|
16
|
+
selectionFrameId: Types.ObjectId | string;
|
|
17
|
+
/** 타겟 셀렉션 프레임 데이터 아이디 */
|
|
18
|
+
targetSelectionFrameDataId: Types.ObjectId | string;
|
|
19
|
+
/** 셀렉션 프레임 데이터 정보 */
|
|
20
|
+
selectionFrameDataInfo: SelectionFrameDataInfo;
|
|
21
|
+
/** 투표 프로세스 */
|
|
22
|
+
voteProcess: SelectionVoteProcessEnum;
|
|
23
|
+
/** 투표 수 */
|
|
24
|
+
votedCount: number;
|
|
25
|
+
/** 투표 여부 */
|
|
26
|
+
isVoted: boolean;
|
|
27
|
+
/** 리뷰 준비중 상태로 변경된 마지막 날짜 */
|
|
28
|
+
lastReviewPreparingChangedDate?: Date;
|
|
29
|
+
}
|
|
30
|
+
/** @description -관리자- 셀렉션 프레임 투표 엔티티 */
|
|
31
|
+
export interface SelectionFrameVoteForAdminEntity {
|
|
32
|
+
/** 셀렉션 프레임 투표 아이디 */
|
|
33
|
+
_id: Types.ObjectId | string;
|
|
34
|
+
/** 셀렉션 프레임 라지 데이터 아이디 */
|
|
35
|
+
selectionFrameLargeDataId: Types.ObjectId | string;
|
|
36
|
+
/** 셀렉션 프레임 아이디 */
|
|
37
|
+
selectionFrameId: Types.ObjectId | string;
|
|
38
|
+
/** 셀렉션 프레임 데이터 정보 */
|
|
39
|
+
selectionFrameDataInfo: SelectionFrameDataInfo;
|
|
40
|
+
/** 투표 프로세스 */
|
|
41
|
+
voteProcess: SelectionVoteProcessEnum;
|
|
42
|
+
/** 투표 수 */
|
|
43
|
+
votedCount: number;
|
|
44
|
+
/** 등록일 */
|
|
45
|
+
regDate: Date;
|
|
46
|
+
/** 수정일 */
|
|
47
|
+
editDate: Date;
|
|
48
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectionVoteProcessEnum = void 0;
|
|
4
|
+
var SelectionVoteProcessEnum;
|
|
5
|
+
(function (SelectionVoteProcessEnum) {
|
|
6
|
+
SelectionVoteProcessEnum["\uD22C\uD45C\uC911"] = "VOTING";
|
|
7
|
+
SelectionVoteProcessEnum["\uB9AC\uBDF0_\uC900\uBE44\uC911"] = "REVIEW_PREPARING";
|
|
8
|
+
SelectionVoteProcessEnum["\uB9AC\uBDF0_\uC644\uB8CC"] = "REVIEW_COMPLETED";
|
|
9
|
+
SelectionVoteProcessEnum["\uB9AC\uBDF0_\uC911\uC9C0"] = "REVIEW_STOPPED";
|
|
10
|
+
})(SelectionVoteProcessEnum || (exports.SelectionVoteProcessEnum = SelectionVoteProcessEnum = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./selection-item-connect-for-admin.entity"), exports);
|
|
18
|
+
__exportStar(require("./selection-item-connect.entity"), exports);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { SelectionFrameEntity } from '../selection-frame';
|
|
3
|
+
export declare enum SelectionItemConnectForAdminSearchTypeEnum {
|
|
4
|
+
'등록일 기준' = "\uB4F1\uB85D\uC77C \uAE30\uC900",
|
|
5
|
+
'상품 아이디' = "\uC0C1\uD488 \uC544\uC774\uB514",
|
|
6
|
+
'셀렉션 프레임 아이디' = "\uC140\uB809\uC158 \uD504\uB808\uC784 \uC544\uC774\uB514",
|
|
7
|
+
'셀렉션 프레임 데이터 아이디' = "\uC140\uB809\uC158 \uD504\uB808\uC784 \uB370\uC774\uD130 \uC544\uC774\uB514"
|
|
8
|
+
}
|
|
9
|
+
export interface SelectionItemConnectForAdminEntity {
|
|
10
|
+
_id: string | Types.ObjectId;
|
|
11
|
+
/** @description 스토어 상품 ID */
|
|
12
|
+
storeItemId: string | Types.ObjectId;
|
|
13
|
+
/** @description 셀렉션 프레임 ID */
|
|
14
|
+
selectionFrameId: string | Types.ObjectId;
|
|
15
|
+
/** @description 셀렉션 프레임 정보 */
|
|
16
|
+
selectionFrame: SelectionFrameEntity;
|
|
17
|
+
/** @description 픽 한 상품인가 */
|
|
18
|
+
isPick: boolean;
|
|
19
|
+
/** @description 판매처 */
|
|
20
|
+
salesLocation?: string;
|
|
21
|
+
/** @description 정가 */
|
|
22
|
+
regularPrice?: number;
|
|
23
|
+
/** @description 발매일 */
|
|
24
|
+
launchDateText?: string;
|
|
25
|
+
/** @description 마지막 수정일 */
|
|
26
|
+
lastEditDate: Date;
|
|
27
|
+
/** @description 등록일 */
|
|
28
|
+
regDate: Date;
|
|
29
|
+
/** @description 상품명 */
|
|
30
|
+
itemName: string;
|
|
31
|
+
/** @description 구매자용 상품 가격 */
|
|
32
|
+
itemPriceForBuyer: number;
|
|
33
|
+
/** @description 스토어 타이틀 */
|
|
34
|
+
storeTitle: string;
|
|
35
|
+
/** @description 나라 */
|
|
36
|
+
nation: string;
|
|
37
|
+
/** @description 판매중 여부 */
|
|
38
|
+
isSelling: boolean;
|
|
39
|
+
/** @description 배송비 */
|
|
40
|
+
shippingFee?: number;
|
|
41
|
+
/** @description 구간 배송비 - 첫번째 구간 금액 */
|
|
42
|
+
sectionShippingFee?: number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectionItemConnectForAdminSearchTypeEnum = void 0;
|
|
4
|
+
var SelectionItemConnectForAdminSearchTypeEnum;
|
|
5
|
+
(function (SelectionItemConnectForAdminSearchTypeEnum) {
|
|
6
|
+
SelectionItemConnectForAdminSearchTypeEnum["\uB4F1\uB85D\uC77C \uAE30\uC900"] = "\uB4F1\uB85D\uC77C \uAE30\uC900";
|
|
7
|
+
SelectionItemConnectForAdminSearchTypeEnum["\uC0C1\uD488 \uC544\uC774\uB514"] = "\uC0C1\uD488 \uC544\uC774\uB514";
|
|
8
|
+
SelectionItemConnectForAdminSearchTypeEnum["\uC140\uB809\uC158 \uD504\uB808\uC784 \uC544\uC774\uB514"] = "\uC140\uB809\uC158 \uD504\uB808\uC784 \uC544\uC774\uB514";
|
|
9
|
+
SelectionItemConnectForAdminSearchTypeEnum["\uC140\uB809\uC158 \uD504\uB808\uC784 \uB370\uC774\uD130 \uC544\uC774\uB514"] = "\uC140\uB809\uC158 \uD504\uB808\uC784 \uB370\uC774\uD130 \uC544\uC774\uB514";
|
|
10
|
+
})(SelectionItemConnectForAdminSearchTypeEnum || (exports.SelectionItemConnectForAdminSearchTypeEnum = SelectionItemConnectForAdminSearchTypeEnum = {}));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
export interface SelectionItemConnectEntity {
|
|
3
|
+
_id: string | Types.ObjectId;
|
|
4
|
+
/** @description 스토어 상품 ID */
|
|
5
|
+
storeItemId: string | Types.ObjectId;
|
|
6
|
+
/** @description 셀렉션 프레임 ID */
|
|
7
|
+
selectionFrameId: string | Types.ObjectId;
|
|
8
|
+
/** @description 셀렉션 프레임 최상위 ID (이미 연결된 ItemId가 있을때 정가, 판매처를 통일하기 위해 존재) */
|
|
9
|
+
selectionFrameLargeDataId: string | Types.ObjectId;
|
|
10
|
+
/** @description 픽 한 상품인가 */
|
|
11
|
+
isPick: boolean;
|
|
12
|
+
/** @description 판매처 */
|
|
13
|
+
salesLocation?: string;
|
|
14
|
+
/** @description 정가 */
|
|
15
|
+
regularPrice?: number;
|
|
16
|
+
/** @description 발매일 */
|
|
17
|
+
launchDateText?: string;
|
|
18
|
+
/** @description 유니크 키 - (selectionFrameId - storeItemId) */
|
|
19
|
+
uniqKey: string;
|
|
20
|
+
/** @description 마지막 수정일 */
|
|
21
|
+
lastEditDate: Date;
|
|
22
|
+
/** @description 등록일 */
|
|
23
|
+
regDate: Date;
|
|
24
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
|
|
2
|
-
export
|
|
2
|
+
export type UserForAdminEntity = Pick<UserEntity, '_id' | 'authId' | 'email' | 'username' | 'phoneCountry' | 'phoneNumber' | 'birthday' | 'photos' | 'signed' | 'credit' | 'gender' | 'blocked'> & {
|
|
3
3
|
store?: {
|
|
4
4
|
storeTitle: string;
|
|
5
5
|
};
|
package/user/user.entity.js
CHANGED
|
@@ -5,7 +5,7 @@ var DEVICE_TYPE;
|
|
|
5
5
|
(function (DEVICE_TYPE) {
|
|
6
6
|
DEVICE_TYPE["AND"] = "AND";
|
|
7
7
|
DEVICE_TYPE["IOS"] = "IOS";
|
|
8
|
-
})(DEVICE_TYPE
|
|
8
|
+
})(DEVICE_TYPE || (exports.DEVICE_TYPE = DEVICE_TYPE = {}));
|
|
9
9
|
var SellerRegisterStepEnum;
|
|
10
10
|
(function (SellerRegisterStepEnum) {
|
|
11
11
|
/** 2. preinformation 사전정보입력 (계좌 정보 입력해야함. 수정의 경우도 있어서 스토어 데이터가 있을 수 있음 */
|
|
@@ -16,7 +16,7 @@ var SellerRegisterStepEnum;
|
|
|
16
16
|
SellerRegisterStepEnum["entryfilled"] = "entryfilled";
|
|
17
17
|
/** 4. standby 심사대기 (신청 완료 버튼 누른후) */
|
|
18
18
|
SellerRegisterStepEnum["standby"] = "standby";
|
|
19
|
-
})(SellerRegisterStepEnum
|
|
19
|
+
})(SellerRegisterStepEnum || (exports.SellerRegisterStepEnum = SellerRegisterStepEnum = {}));
|
|
20
20
|
class UserAdultInfo {
|
|
21
21
|
}
|
|
22
22
|
exports.UserAdultInfo = UserAdultInfo;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './yolo-deposit-history-by-pg.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("./yolo-deposit-history-by-pg.entity"), exports);
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
export declare enum DepositTypeEnum {
|
|
3
|
+
'DEPOSIT' = "deposit",
|
|
4
|
+
'WITHDRAWAL' = "withdrawal"
|
|
5
|
+
}
|
|
6
|
+
export declare enum WithdrawalTypeEnum {
|
|
7
|
+
FULL_REFUND = "fullRefund",
|
|
8
|
+
PARTIAL_REFUND = "partialRefund",
|
|
9
|
+
UNKNOWN = "unknown"
|
|
10
|
+
}
|
|
11
|
+
export declare enum PGTypeEnum {
|
|
12
|
+
'토스페이먼츠' = "tossPayments",
|
|
13
|
+
'토스페이' = "tossPay",
|
|
14
|
+
'장바구니_토스페이' = "tossPayCart",
|
|
15
|
+
'페이코' = "payco",
|
|
16
|
+
'카카오페이' = "kakaoPay",
|
|
17
|
+
'엑심베이' = "eximbay",
|
|
18
|
+
네이버페이 = "naverPay"
|
|
19
|
+
}
|
|
20
|
+
export declare enum DetailPaymentMethodEnum {
|
|
21
|
+
'토스_후불' = "tossPay_afterPay",
|
|
22
|
+
'토스_카드' = "tossPay_card",
|
|
23
|
+
'토스_토스머니' = "tossPay_tossMoney",
|
|
24
|
+
토스_실시간_계좌이체 = "\uD1A0\uC2A4_\uC2E4\uC2DC\uAC04_\uACC4\uC88C\uC774\uCCB4",
|
|
25
|
+
토스_기타 = "\uD1A0\uC2A4_\uAE30\uD0C0",
|
|
26
|
+
카카오페이_카카오머니 = "kakaoPay_kakaoMoney",
|
|
27
|
+
카카오페이_카드 = "kakaoPay_card",
|
|
28
|
+
페이코_쿠폰 = "payco_coupon",
|
|
29
|
+
페이코_가맹점정산보정 = "payco_affiliatedStoreCalculation",
|
|
30
|
+
페이코_페이코포인트 = "payco_paycoPoint",
|
|
31
|
+
페이코_카드 = "payco_card",
|
|
32
|
+
토스페이먼츠_카드 = "tossPayments_card",
|
|
33
|
+
토스페이먼츠_가상계좌 = "tossPayments_VBank",
|
|
34
|
+
나이스페이_카드 = "nicePay_card",
|
|
35
|
+
나이스페이_가상계좌 = "nicePay_VBank",
|
|
36
|
+
나이스페이_계좌이체 = "nicePay_trans",
|
|
37
|
+
차이_포인트 = "chaiPay_point",
|
|
38
|
+
네이버_신용카드 = "\uB124\uC774\uBC84_\uC2E0\uC6A9\uCE74\uB4DC",
|
|
39
|
+
네이버_포인트 = "\uB124\uC774\uBC84_\uD3EC\uC778\uD2B8",
|
|
40
|
+
네이버_실시간_계좌이체 = "\uB124\uC774\uBC84_\uC2E4\uC2DC\uAC04_\uACC4\uC88C\uC774\uCCB4",
|
|
41
|
+
엑심베이_카드 = "\uC5D1\uC2EC\uBCA0\uC774_\uCE74\uB4DC"
|
|
42
|
+
}
|
|
43
|
+
export default interface YoloDepositHistoryByPGEntity {
|
|
44
|
+
_id: Types.ObjectId;
|
|
45
|
+
label?: string;
|
|
46
|
+
depositType: DepositTypeEnum;
|
|
47
|
+
withdrawalType?: WithdrawalTypeEnum;
|
|
48
|
+
/** PG 사 */
|
|
49
|
+
PGType: PGTypeEnum;
|
|
50
|
+
/** 거래액 */
|
|
51
|
+
amount: number;
|
|
52
|
+
/** 총 PG 수수료 */
|
|
53
|
+
allPGFee: number;
|
|
54
|
+
/** PG 수수료 (부가세 제외) */
|
|
55
|
+
PGFee?: number;
|
|
56
|
+
/** PG 수수료의 부가세 */
|
|
57
|
+
PGFeeVAT?: number;
|
|
58
|
+
/** 지급액 */
|
|
59
|
+
payout: number;
|
|
60
|
+
detailPaymentMethodOrigin?: string;
|
|
61
|
+
detailPaymentMethod?: DetailPaymentMethodEnum;
|
|
62
|
+
mid?: string;
|
|
63
|
+
tid?: string;
|
|
64
|
+
imp_uid?: string;
|
|
65
|
+
excelFileName?: string;
|
|
66
|
+
settleDate: Date;
|
|
67
|
+
settleDateString: string;
|
|
68
|
+
paymentDate?: Date;
|
|
69
|
+
paymentDateString?: string;
|
|
70
|
+
lastUpdateDate: Date;
|
|
71
|
+
regDate: Date;
|
|
72
|
+
yoloBankDepositWithdrawalHistoryId?: Types.ObjectId;
|
|
73
|
+
uniqKey: string;
|
|
74
|
+
memo?: string;
|
|
75
|
+
}
|
|
76
|
+
export { YoloDepositHistoryByPGEntity };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DetailPaymentMethodEnum = exports.PGTypeEnum = exports.WithdrawalTypeEnum = exports.DepositTypeEnum = void 0;
|
|
4
|
+
var DepositTypeEnum;
|
|
5
|
+
(function (DepositTypeEnum) {
|
|
6
|
+
DepositTypeEnum["DEPOSIT"] = "deposit";
|
|
7
|
+
DepositTypeEnum["WITHDRAWAL"] = "withdrawal";
|
|
8
|
+
})(DepositTypeEnum || (exports.DepositTypeEnum = DepositTypeEnum = {}));
|
|
9
|
+
var WithdrawalTypeEnum;
|
|
10
|
+
(function (WithdrawalTypeEnum) {
|
|
11
|
+
WithdrawalTypeEnum["FULL_REFUND"] = "fullRefund";
|
|
12
|
+
WithdrawalTypeEnum["PARTIAL_REFUND"] = "partialRefund";
|
|
13
|
+
WithdrawalTypeEnum["UNKNOWN"] = "unknown";
|
|
14
|
+
})(WithdrawalTypeEnum || (exports.WithdrawalTypeEnum = WithdrawalTypeEnum = {}));
|
|
15
|
+
var PGTypeEnum;
|
|
16
|
+
(function (PGTypeEnum) {
|
|
17
|
+
PGTypeEnum["\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20"] = "tossPayments";
|
|
18
|
+
PGTypeEnum["\uD1A0\uC2A4\uD398\uC774"] = "tossPay";
|
|
19
|
+
PGTypeEnum["\uC7A5\uBC14\uAD6C\uB2C8_\uD1A0\uC2A4\uD398\uC774"] = "tossPayCart";
|
|
20
|
+
PGTypeEnum["\uD398\uC774\uCF54"] = "payco";
|
|
21
|
+
PGTypeEnum["\uCE74\uCE74\uC624\uD398\uC774"] = "kakaoPay";
|
|
22
|
+
PGTypeEnum["\uC5D1\uC2EC\uBCA0\uC774"] = "eximbay";
|
|
23
|
+
PGTypeEnum["\uB124\uC774\uBC84\uD398\uC774"] = "naverPay";
|
|
24
|
+
})(PGTypeEnum || (exports.PGTypeEnum = PGTypeEnum = {}));
|
|
25
|
+
var DetailPaymentMethodEnum;
|
|
26
|
+
(function (DetailPaymentMethodEnum) {
|
|
27
|
+
DetailPaymentMethodEnum["\uD1A0\uC2A4_\uD6C4\uBD88"] = "tossPay_afterPay";
|
|
28
|
+
DetailPaymentMethodEnum["\uD1A0\uC2A4_\uCE74\uB4DC"] = "tossPay_card";
|
|
29
|
+
DetailPaymentMethodEnum["\uD1A0\uC2A4_\uD1A0\uC2A4\uBA38\uB2C8"] = "tossPay_tossMoney";
|
|
30
|
+
DetailPaymentMethodEnum["\uD1A0\uC2A4_\uC2E4\uC2DC\uAC04_\uACC4\uC88C\uC774\uCCB4"] = "\uD1A0\uC2A4_\uC2E4\uC2DC\uAC04_\uACC4\uC88C\uC774\uCCB4";
|
|
31
|
+
DetailPaymentMethodEnum["\uD1A0\uC2A4_\uAE30\uD0C0"] = "\uD1A0\uC2A4_\uAE30\uD0C0";
|
|
32
|
+
DetailPaymentMethodEnum["\uCE74\uCE74\uC624\uD398\uC774_\uCE74\uCE74\uC624\uBA38\uB2C8"] = "kakaoPay_kakaoMoney";
|
|
33
|
+
DetailPaymentMethodEnum["\uCE74\uCE74\uC624\uD398\uC774_\uCE74\uB4DC"] = "kakaoPay_card";
|
|
34
|
+
DetailPaymentMethodEnum["\uD398\uC774\uCF54_\uCFE0\uD3F0"] = "payco_coupon";
|
|
35
|
+
DetailPaymentMethodEnum["\uD398\uC774\uCF54_\uAC00\uB9F9\uC810\uC815\uC0B0\uBCF4\uC815"] = "payco_affiliatedStoreCalculation";
|
|
36
|
+
DetailPaymentMethodEnum["\uD398\uC774\uCF54_\uD398\uC774\uCF54\uD3EC\uC778\uD2B8"] = "payco_paycoPoint";
|
|
37
|
+
DetailPaymentMethodEnum["\uD398\uC774\uCF54_\uCE74\uB4DC"] = "payco_card";
|
|
38
|
+
DetailPaymentMethodEnum["\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20_\uCE74\uB4DC"] = "tossPayments_card";
|
|
39
|
+
DetailPaymentMethodEnum["\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20_\uAC00\uC0C1\uACC4\uC88C"] = "tossPayments_VBank";
|
|
40
|
+
DetailPaymentMethodEnum["\uB098\uC774\uC2A4\uD398\uC774_\uCE74\uB4DC"] = "nicePay_card";
|
|
41
|
+
DetailPaymentMethodEnum["\uB098\uC774\uC2A4\uD398\uC774_\uAC00\uC0C1\uACC4\uC88C"] = "nicePay_VBank";
|
|
42
|
+
DetailPaymentMethodEnum["\uB098\uC774\uC2A4\uD398\uC774_\uACC4\uC88C\uC774\uCCB4"] = "nicePay_trans";
|
|
43
|
+
DetailPaymentMethodEnum["\uCC28\uC774_\uD3EC\uC778\uD2B8"] = "chaiPay_point";
|
|
44
|
+
DetailPaymentMethodEnum["\uB124\uC774\uBC84_\uC2E0\uC6A9\uCE74\uB4DC"] = "\uB124\uC774\uBC84_\uC2E0\uC6A9\uCE74\uB4DC";
|
|
45
|
+
DetailPaymentMethodEnum["\uB124\uC774\uBC84_\uD3EC\uC778\uD2B8"] = "\uB124\uC774\uBC84_\uD3EC\uC778\uD2B8";
|
|
46
|
+
DetailPaymentMethodEnum["\uB124\uC774\uBC84_\uC2E4\uC2DC\uAC04_\uACC4\uC88C\uC774\uCCB4"] = "\uB124\uC774\uBC84_\uC2E4\uC2DC\uAC04_\uACC4\uC88C\uC774\uCCB4";
|
|
47
|
+
DetailPaymentMethodEnum["\uC5D1\uC2EC\uBCA0\uC774_\uCE74\uB4DC"] = "\uC5D1\uC2EC\uBCA0\uC774_\uCE74\uB4DC";
|
|
48
|
+
})(DetailPaymentMethodEnum || (exports.DetailPaymentMethodEnum = DetailPaymentMethodEnum = {}));
|