@yolo-croket-dev/entity-v2 0.2.103-jun.0 → 0.2.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/story/story.entity.d.ts +10 -15
package/package.json
CHANGED
package/story/story.entity.d.ts
CHANGED
|
@@ -22,19 +22,14 @@ export interface StoryContentImg {
|
|
|
22
22
|
height: string;
|
|
23
23
|
}
|
|
24
24
|
export interface StoryContentStoreItemCondition {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/** @deprecated v3 부터 지원하지 않음 */
|
|
28
|
-
itemName?: string[];
|
|
29
|
-
/** @deprecated v3 부터 지원하지 않음 */
|
|
30
|
-
category?: [
|
|
25
|
+
itemName: string[];
|
|
26
|
+
category: [
|
|
31
27
|
{
|
|
32
28
|
main: string;
|
|
33
29
|
sub: string;
|
|
34
30
|
}
|
|
35
31
|
];
|
|
36
|
-
|
|
37
|
-
bookNums?: number;
|
|
32
|
+
bookNums: number;
|
|
38
33
|
}
|
|
39
34
|
export interface StoryContentInfo {
|
|
40
35
|
raw: string;
|
|
@@ -47,8 +42,8 @@ export interface StoryContentButtonInfo {
|
|
|
47
42
|
webLink?: string;
|
|
48
43
|
}
|
|
49
44
|
export interface StoryContent {
|
|
50
|
-
imgList
|
|
51
|
-
storeItemCondition
|
|
45
|
+
imgList: StoryContentImg[];
|
|
46
|
+
storeItemCondition: StoryContentStoreItemCondition;
|
|
52
47
|
content: StoryContentInfo;
|
|
53
48
|
buttonInfo: StoryContentButtonInfo;
|
|
54
49
|
}
|
|
@@ -58,20 +53,20 @@ export interface StoryContent {
|
|
|
58
53
|
*/
|
|
59
54
|
export default interface StoryEntity {
|
|
60
55
|
_id: string | Types.ObjectId;
|
|
61
|
-
version:
|
|
56
|
+
version: string;
|
|
62
57
|
isView: boolean;
|
|
63
58
|
title: string;
|
|
64
59
|
itemName?: string;
|
|
65
60
|
regDate: Date;
|
|
66
|
-
lastModifiedDate
|
|
61
|
+
lastModifiedDate: Date;
|
|
67
62
|
log: [];
|
|
68
63
|
sort: number;
|
|
69
64
|
viewNums: number;
|
|
70
|
-
previewImg
|
|
71
|
-
storyImgList
|
|
65
|
+
previewImg: string;
|
|
66
|
+
storyImgList: StoryImg[];
|
|
72
67
|
subTitle: string;
|
|
73
68
|
mainImg: MainStoryImg;
|
|
74
|
-
contentList
|
|
69
|
+
contentList: StoryContent[];
|
|
75
70
|
storyType: string;
|
|
76
71
|
/** @description 삭제 여부 */
|
|
77
72
|
isDeleted: boolean;
|