@yolo-croket-dev/entity-v2 0.2.105 → 0.2.107
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.
|
@@ -2,13 +2,12 @@ import { Types } from 'mongoose';
|
|
|
2
2
|
export declare enum AttributionPlatformEnum {
|
|
3
3
|
ANDROID = "android",
|
|
4
4
|
IOS = "iOS",
|
|
5
|
-
|
|
5
|
+
WEB = "web"
|
|
6
6
|
}
|
|
7
|
-
export declare enum
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
GOOGLE = "google"
|
|
7
|
+
export declare enum AttributionDeviceTypeEnum {
|
|
8
|
+
ANDROID = "android",
|
|
9
|
+
IOS = "iOS",
|
|
10
|
+
DESKTOP = "desktop"
|
|
12
11
|
}
|
|
13
12
|
/**
|
|
14
13
|
* @description
|
|
@@ -76,26 +75,14 @@ export interface AttributionTouchEntity {
|
|
|
76
75
|
ip: string;
|
|
77
76
|
/** 운영체제 */
|
|
78
77
|
platform: AttributionPlatformEnum;
|
|
78
|
+
/** */
|
|
79
|
+
deviceType: AttributionDeviceTypeEnum;
|
|
79
80
|
/** 어트리 뷰션 아이디 */
|
|
80
81
|
userTrackingId?: string;
|
|
81
|
-
/**
|
|
82
|
-
|
|
82
|
+
/** properties */
|
|
83
|
+
properties?: Record<string, string>;
|
|
83
84
|
/** 터치 시간 - 생성일 */
|
|
84
85
|
touchTime: Date;
|
|
85
|
-
/** ygGroup */
|
|
86
|
-
ygGroup?: AttributionYgGroup;
|
|
87
|
-
/** 채널 */
|
|
88
|
-
channel?: AttributionChannelEnum;
|
|
89
|
-
/** utm 그룹 */
|
|
90
|
-
utmGroup?: AttributionUtmGroup;
|
|
91
|
-
/** 네이버 */
|
|
92
|
-
naver?: AttributionNaver;
|
|
93
|
-
/** 카카오 */
|
|
94
|
-
kakao?: AttributionKakao;
|
|
95
|
-
/** 메타 */
|
|
96
|
-
meta?: AttributionMeta;
|
|
97
|
-
/** 구글 */
|
|
98
|
-
google?: AttributionGoogle;
|
|
99
86
|
referrer?: string;
|
|
100
87
|
/** 랜딩 url (해당 url의 프로퍼티에서 필요한 값들을 추출) */
|
|
101
88
|
landingUrl?: string;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttributionTouchTypeEnum = exports.
|
|
3
|
+
exports.AttributionTouchTypeEnum = exports.AttributionDeviceTypeEnum = exports.AttributionPlatformEnum = void 0;
|
|
4
4
|
var AttributionPlatformEnum;
|
|
5
5
|
(function (AttributionPlatformEnum) {
|
|
6
6
|
AttributionPlatformEnum["ANDROID"] = "android";
|
|
7
7
|
AttributionPlatformEnum["IOS"] = "iOS";
|
|
8
|
-
AttributionPlatformEnum["
|
|
8
|
+
AttributionPlatformEnum["WEB"] = "web";
|
|
9
9
|
})(AttributionPlatformEnum || (exports.AttributionPlatformEnum = AttributionPlatformEnum = {}));
|
|
10
|
-
var
|
|
11
|
-
(function (
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
})(AttributionChannelEnum || (exports.AttributionChannelEnum = AttributionChannelEnum = {}));
|
|
10
|
+
var AttributionDeviceTypeEnum;
|
|
11
|
+
(function (AttributionDeviceTypeEnum) {
|
|
12
|
+
AttributionDeviceTypeEnum["ANDROID"] = "android";
|
|
13
|
+
AttributionDeviceTypeEnum["IOS"] = "iOS";
|
|
14
|
+
AttributionDeviceTypeEnum["DESKTOP"] = "desktop";
|
|
15
|
+
})(AttributionDeviceTypeEnum || (exports.AttributionDeviceTypeEnum = AttributionDeviceTypeEnum = {}));
|
|
17
16
|
var AttributionTouchTypeEnum;
|
|
18
17
|
(function (AttributionTouchTypeEnum) {
|
|
19
18
|
/** 내부 */
|
|
@@ -25,7 +25,11 @@ export declare enum ImageUsageTypeEnum {
|
|
|
25
25
|
/** 만료될 이미지 (테스트용) */
|
|
26
26
|
'expired_image' = "expired_image",
|
|
27
27
|
/** 푸시 이미지 */
|
|
28
|
-
'push_image' = "push_image"
|
|
28
|
+
'push_image' = "push_image",
|
|
29
|
+
/** 스토리 메인 이미지 */
|
|
30
|
+
'story_main' = "story_main",
|
|
31
|
+
/** 스토리 콘텐츠 이미지 */
|
|
32
|
+
'story_content' = "story_content"
|
|
29
33
|
}
|
|
30
34
|
export declare enum envTypeEnum {
|
|
31
35
|
develop = "develop",
|
|
@@ -33,6 +33,10 @@ var ImageUsageTypeEnum;
|
|
|
33
33
|
ImageUsageTypeEnum["expired_image"] = "expired_image";
|
|
34
34
|
/** 푸시 이미지 */
|
|
35
35
|
ImageUsageTypeEnum["push_image"] = "push_image";
|
|
36
|
+
/** 스토리 메인 이미지 */
|
|
37
|
+
ImageUsageTypeEnum["story_main"] = "story_main";
|
|
38
|
+
/** 스토리 콘텐츠 이미지 */
|
|
39
|
+
ImageUsageTypeEnum["story_content"] = "story_content";
|
|
36
40
|
})(ImageUsageTypeEnum || (exports.ImageUsageTypeEnum = ImageUsageTypeEnum = {}));
|
|
37
41
|
var envTypeEnum;
|
|
38
42
|
(function (envTypeEnum) {
|
package/package.json
CHANGED
package/story/story.entity.d.ts
CHANGED
|
@@ -22,14 +22,19 @@ export interface StoryContentImg {
|
|
|
22
22
|
height: string;
|
|
23
23
|
}
|
|
24
24
|
export interface StoryContentStoreItemCondition {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
/** v3 부터 상품 아이디만 지원 */
|
|
26
|
+
itemIds?: Types.ObjectId[];
|
|
27
|
+
/** @deprecated v3 부터 지원하지 않음 */
|
|
28
|
+
itemName?: string[];
|
|
29
|
+
/** @deprecated v3 부터 지원하지 않음 */
|
|
30
|
+
category?: [
|
|
27
31
|
{
|
|
28
32
|
main: string;
|
|
29
33
|
sub: string;
|
|
30
34
|
}
|
|
31
35
|
];
|
|
32
|
-
|
|
36
|
+
/** @deprecated v3 부터 지원하지 않음 */
|
|
37
|
+
bookNums?: number;
|
|
33
38
|
}
|
|
34
39
|
export interface StoryContentInfo {
|
|
35
40
|
raw: string;
|
|
@@ -42,8 +47,8 @@ export interface StoryContentButtonInfo {
|
|
|
42
47
|
webLink?: string;
|
|
43
48
|
}
|
|
44
49
|
export interface StoryContent {
|
|
45
|
-
imgList
|
|
46
|
-
storeItemCondition
|
|
50
|
+
imgList?: StoryContentImg[];
|
|
51
|
+
storeItemCondition?: StoryContentStoreItemCondition;
|
|
47
52
|
content: StoryContentInfo;
|
|
48
53
|
buttonInfo: StoryContentButtonInfo;
|
|
49
54
|
}
|
|
@@ -53,20 +58,20 @@ export interface StoryContent {
|
|
|
53
58
|
*/
|
|
54
59
|
export default interface StoryEntity {
|
|
55
60
|
_id: string | Types.ObjectId;
|
|
56
|
-
version:
|
|
61
|
+
version: number;
|
|
57
62
|
isView: boolean;
|
|
58
63
|
title: string;
|
|
59
64
|
itemName?: string;
|
|
60
65
|
regDate: Date;
|
|
61
|
-
lastModifiedDate
|
|
66
|
+
lastModifiedDate?: Date;
|
|
62
67
|
log: [];
|
|
63
68
|
sort: number;
|
|
64
69
|
viewNums: number;
|
|
65
|
-
previewImg
|
|
66
|
-
storyImgList
|
|
70
|
+
previewImg?: string;
|
|
71
|
+
storyImgList?: StoryImg[];
|
|
67
72
|
subTitle: string;
|
|
68
73
|
mainImg: MainStoryImg;
|
|
69
|
-
contentList
|
|
74
|
+
contentList?: StoryContent[];
|
|
70
75
|
storyType: string;
|
|
71
76
|
/** @description 삭제 여부 */
|
|
72
77
|
isDeleted: boolean;
|