@yolo-croket-dev/entity-v2 0.1.50-sj1 → 0.1.51-jun.1
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/{brand-favorite/brand-favorite.entity.d.ts → brand-bookmark/brand-bookmark.entity.d.ts} +2 -2
- package/brand-bookmark/index.d.ts +1 -0
- package/{brand-favorite → brand-bookmark}/index.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/story/index.d.ts +1 -0
- package/story/index.js +17 -0
- package/story/story.entity.d.ts +68 -0
- package/story/story.entity.js +2 -0
- package/brand-favorite/index.d.ts +0 -1
- /package/{brand-favorite/brand-favorite.entity.js → brand-bookmark/brand-bookmark.entity.js} +0 -0
package/{brand-favorite/brand-favorite.entity.d.ts → brand-bookmark/brand-bookmark.entity.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
|
-
export default interface
|
|
2
|
+
export default interface BrandBookmarkEntity {
|
|
3
3
|
/** @description 브랜드 찜 고유 아이디 */
|
|
4
4
|
_id: Types.ObjectId | string;
|
|
5
5
|
/** @description 유저 아이디 */
|
|
@@ -11,4 +11,4 @@ export default interface BrandFavoriteEntity {
|
|
|
11
11
|
/** @description 저장날짜 */
|
|
12
12
|
regDate: Date;
|
|
13
13
|
}
|
|
14
|
-
export {
|
|
14
|
+
export { BrandBookmarkEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './brand-bookmark.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("./brand-
|
|
17
|
+
__exportStar(require("./brand-bookmark.entity"), exports);
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -52,4 +52,4 @@ __exportStar(require("./signup-reward-popup"), exports);
|
|
|
52
52
|
__exportStar(require("./changed-purhcased-option-log"), exports);
|
|
53
53
|
__exportStar(require("./brand"), exports);
|
|
54
54
|
__exportStar(require("./brand-cohort"), exports);
|
|
55
|
-
__exportStar(require("./brand-
|
|
55
|
+
__exportStar(require("./brand-bookmark"), exports);
|
package/package.json
CHANGED
package/story/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './story.entity';
|
package/story/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("./story.entity"), exports);
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export interface StoryImg {
|
|
2
|
+
imgUrl: string;
|
|
3
|
+
appLink: string;
|
|
4
|
+
link: string;
|
|
5
|
+
}
|
|
6
|
+
export interface MainStoryImg {
|
|
7
|
+
imgUrl: string;
|
|
8
|
+
imgName: string;
|
|
9
|
+
width: string;
|
|
10
|
+
height: string;
|
|
11
|
+
}
|
|
12
|
+
export interface StoryContentImg {
|
|
13
|
+
imgUrl: string;
|
|
14
|
+
imgName: string;
|
|
15
|
+
width: string;
|
|
16
|
+
height: string;
|
|
17
|
+
}
|
|
18
|
+
export interface StoryContentStoreItemCondition {
|
|
19
|
+
itemName: string[];
|
|
20
|
+
category: [
|
|
21
|
+
{
|
|
22
|
+
main: string;
|
|
23
|
+
sub: string;
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
bookNums: {
|
|
27
|
+
type: number;
|
|
28
|
+
default: 0;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export interface StoryContentInfo {
|
|
32
|
+
raw: string;
|
|
33
|
+
app: any[];
|
|
34
|
+
}
|
|
35
|
+
export interface StoryContentButtonInfo {
|
|
36
|
+
isExist: boolean;
|
|
37
|
+
text?: string;
|
|
38
|
+
appLink?: string;
|
|
39
|
+
webLink?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface StoryContent {
|
|
42
|
+
imgList: StoryContentImg[];
|
|
43
|
+
storeItemCondition: StoryContentStoreItemCondition;
|
|
44
|
+
content: StoryContentInfo;
|
|
45
|
+
buttonInfo: StoryContentButtonInfo;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @author ?
|
|
49
|
+
* @description 스토리 엔티티 (레거시에서 옮김)
|
|
50
|
+
*/
|
|
51
|
+
export default interface StoryEntity {
|
|
52
|
+
version: string;
|
|
53
|
+
isView: boolean;
|
|
54
|
+
title: string;
|
|
55
|
+
itemName?: string;
|
|
56
|
+
regDate: Date;
|
|
57
|
+
lastModifiedDate: Date;
|
|
58
|
+
log: [];
|
|
59
|
+
sort: number;
|
|
60
|
+
viewNums: number;
|
|
61
|
+
previewImg: string;
|
|
62
|
+
storyImgList: StoryImg[];
|
|
63
|
+
subTitle: string;
|
|
64
|
+
mainImg: MainStoryImg;
|
|
65
|
+
contentList: StoryContent[];
|
|
66
|
+
storyType: string;
|
|
67
|
+
}
|
|
68
|
+
export { StoryEntity };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './brand-favorite.entity';
|
/package/{brand-favorite/brand-favorite.entity.js → brand-bookmark/brand-bookmark.entity.js}
RENAMED
|
File without changes
|