@yolo-croket-dev/entity-v2 0.0.19-CR-2667-2 → 0.0.19-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.
Files changed (54) hide show
  1. package/es-store-item-click/es-store-item-click.entity.d.ts +12 -0
  2. package/es-store-item-click/index.d.ts +1 -0
  3. package/{img → es-store-item-click}/index.js +1 -1
  4. package/package.json +1 -1
  5. package/remote-config/remote-config-for-business-info-not-editable-days.entity.d.ts +1 -1
  6. package/app-push-subscribe/app-push-subscribe-for-admin.entity.d.ts +0 -13
  7. package/app-push-subscribe/app-push-subscribe-for-selection-vote-entity.entity.d.ts +0 -17
  8. package/app-push-subscribe/app-push-subscribe-for-selection-vote-entity.entity.js +0 -8
  9. package/app-push-subscribe/index.d.ts +0 -2
  10. package/app-push-subscribe/index.js +0 -18
  11. package/app-push-subscribed-user/app-push-subscribed-user-for-admin.entity.d.ts +0 -13
  12. package/app-push-subscribed-user/app-push-subscribed-user-for-admin.entity.js +0 -2
  13. package/app-push-subscribed-user/app-push-subscribed-user.entity.d.ts +0 -9
  14. package/app-push-subscribed-user/app-push-subscribed-user.entity.js +0 -2
  15. package/app-push-subscribed-user/index.d.ts +0 -2
  16. package/app-push-subscribed-user/index.js +0 -18
  17. package/img/img.entity.d.ts +0 -6
  18. package/img/img.entity.js +0 -2
  19. package/img/index.d.ts +0 -1
  20. package/index.d.ts +0 -15
  21. package/index.js +0 -31
  22. package/selection-frame/index.d.ts +0 -1
  23. package/selection-frame/index.js +0 -17
  24. package/selection-frame/selection-frame.entity.d.ts +0 -48
  25. package/selection-frame/selection-frame.entity.js +0 -9
  26. package/selection-frame-data/index.d.ts +0 -2
  27. package/selection-frame-data/index.js +0 -18
  28. package/selection-frame-data/selection-frame-data.entity.d.ts +0 -63
  29. package/selection-frame-data/selection-frame-data.entity.js +0 -32
  30. package/selection-frame-data/selection-frame-large-data.entity.d.ts +0 -8
  31. package/selection-frame-data/selection-frame-large-data.entity.js +0 -2
  32. package/selection-frame-first-enterance-guide/index.d.ts +0 -1
  33. package/selection-frame-first-enterance-guide/index.js +0 -17
  34. package/selection-frame-first-enterance-guide/selection-frame-first-enterance-guide.entity.d.ts +0 -21
  35. package/selection-frame-first-enterance-guide/selection-frame-first-enterance-guide.entity.js +0 -2
  36. package/selection-frame-guide/index.d.ts +0 -1
  37. package/selection-frame-guide/index.js +0 -17
  38. package/selection-frame-guide/selection-frame-guide.entity.d.ts +0 -39
  39. package/selection-frame-guide/selection-frame-guide.entity.js +0 -20
  40. package/selection-frame-review-request/index.d.ts +0 -1
  41. package/selection-frame-review-request/index.js +0 -17
  42. package/selection-frame-review-request/selection-frame-review-request.entity.d.ts +0 -20
  43. package/selection-frame-review-request/selection-frame-review-request.entity.js +0 -2
  44. package/selection-frame-vote/index.d.ts +0 -1
  45. package/selection-frame-vote/index.js +0 -17
  46. package/selection-frame-vote/selection-frame-vote.entity.d.ts +0 -48
  47. package/selection-frame-vote/selection-frame-vote.entity.js +0 -10
  48. package/selection-item-connect/index.d.ts +0 -2
  49. package/selection-item-connect/index.js +0 -18
  50. package/selection-item-connect/selection-item-connect-for-admin.entity.d.ts +0 -43
  51. package/selection-item-connect/selection-item-connect-for-admin.entity.js +0 -10
  52. package/selection-item-connect/selection-item-connect.entity.d.ts +0 -24
  53. package/selection-item-connect/selection-item-connect.entity.js +0 -2
  54. /package/{app-push-subscribe/app-push-subscribe-for-admin.entity.js → es-store-item-click/es-store-item-click.entity.js} +0 -0
@@ -0,0 +1,12 @@
1
+ export interface EsStoreItemClick {
2
+ _id: string;
3
+ _index: string;
4
+ storeItemId: string;
5
+ userId?: string;
6
+ timestamp: Date;
7
+ loggerVersion: string;
8
+ serverName?: string;
9
+ hostname?: string;
10
+ deviceType?: 'web' | 'iOS' | 'android';
11
+ deviceId?: string;
12
+ }
@@ -0,0 +1 @@
1
+ export * from './es-store-item-click.entity';
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./img.entity"), exports);
17
+ __exportStar(require("./es-store-item-click.entity"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.19-CR-2667-2",
3
+ "version": "0.0.19-jun.0",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v2",
@@ -1,4 +1,4 @@
1
- import { Types } from 'mongoose';
1
+ import { Types } from "mongoose";
2
2
  export declare enum BusinessInfoNotEditableDaysKeyEnum {
3
3
  businessInfoNotEditableStartDay = "businessInfoNotEditableStartDay",
4
4
  businessInfoNotEditableEndDay = "businessInfoNotEditableEndDay"
@@ -1,13 +0,0 @@
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 };
@@ -1,17 +0,0 @@
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 };
@@ -1,8 +0,0 @@
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 = {}));
@@ -1,2 +0,0 @@
1
- export * from './app-push-subscribe-for-selection-vote-entity.entity';
2
- export * from './app-push-subscribe-for-admin.entity';
@@ -1,18 +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("./app-push-subscribe-for-selection-vote-entity.entity"), exports);
18
- __exportStar(require("./app-push-subscribe-for-admin.entity"), exports);
@@ -1,13 +0,0 @@
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 };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
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 };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from './app-push-subscribed-user.entity';
2
- export * from './app-push-subscribed-user-for-admin.entity';
@@ -1,18 +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("./app-push-subscribed-user.entity"), exports);
18
- __exportStar(require("./app-push-subscribed-user-for-admin.entity"), exports);
@@ -1,6 +0,0 @@
1
- export default interface ImgEntity {
2
- url: string;
3
- width: number;
4
- height: number;
5
- }
6
- export { ImgEntity };
package/img/img.entity.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
package/img/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './img.entity';
package/index.d.ts DELETED
@@ -1,15 +0,0 @@
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 DELETED
@@ -1,31 +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("./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 +0,0 @@
1
- export * from './selection-frame.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("./selection-frame.entity"), exports);
@@ -1,48 +0,0 @@
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
- }
@@ -1,9 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- export * from './selection-frame-data.entity';
2
- export * from './selection-frame-large-data.entity';
@@ -1,18 +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("./selection-frame-data.entity"), exports);
18
- __exportStar(require("./selection-frame-large-data.entity"), exports);
@@ -1,63 +0,0 @@
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
- }
@@ -1,32 +0,0 @@
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;
@@ -1,8 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from './selection-frame-first-enterance-guide.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("./selection-frame-first-enterance-guide.entity"), exports);
@@ -1,21 +0,0 @@
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 };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from './selection-frame-guide.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("./selection-frame-guide.entity"), exports);
@@ -1,39 +0,0 @@
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
- }
@@ -1,20 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export * from './selection-frame-review-request.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("./selection-frame-review-request.entity"), exports);
@@ -1,20 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from './selection-frame-vote.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("./selection-frame-vote.entity"), exports);
@@ -1,48 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
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 = {}));
@@ -1,2 +0,0 @@
1
- export * from './selection-item-connect-for-admin.entity';
2
- export * from './selection-item-connect.entity';
@@ -1,18 +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("./selection-item-connect-for-admin.entity"), exports);
18
- __exportStar(require("./selection-item-connect.entity"), exports);
@@ -1,43 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
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 = {}));
@@ -1,24 +0,0 @@
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,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });