@yolo-croket-dev/entity-v2 0.1.51-jun.9 → 0.1.52-hj-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.
@@ -0,0 +1,27 @@
1
+ import { Types } from 'mongoose';
2
+ /** @description 환율 데이터 */
3
+ export default interface ExchangeRateEntity {
4
+ _id: Types.ObjectId | string;
5
+ /** @description 환율 정보 */
6
+ exchangeRateInfo: string;
7
+ /** @description 환율 데이터 갱신 시간 */
8
+ renewedAt: Date;
9
+ /** @description 환율 데이터 api 호출 시간 */
10
+ apiCalledAt: Date;
11
+ }
12
+ /** @description 나라별 환율 정보 */
13
+ export interface ExchangeRateInfo {
14
+ /** @description 통화 코드 */
15
+ cur_unit: string;
16
+ /** @description 국가/통화명 */
17
+ cur_nm: string;
18
+ /** @description 전신환(송금) 받으실 때 */
19
+ ttb: string;
20
+ /** @description 전신환(송금) 보내실 때 */
21
+ tts: string;
22
+ /** @description 매매 기준율 */
23
+ deal_bas_r: string;
24
+ /** @description 나라별 환율 정보 갱신 시간 */
25
+ renewedAt: Date;
26
+ }
27
+ export { ExchangeRateEntity };
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
package/index.d.ts CHANGED
@@ -37,4 +37,3 @@ export * from './changed-purhcased-option-log';
37
37
  export * from './brand';
38
38
  export * from './brand-cohort';
39
39
  export * from './brand-bookmark';
40
- export * from './summer-black-friday.modules';
package/index.js CHANGED
@@ -53,4 +53,3 @@ __exportStar(require("./changed-purhcased-option-log"), exports);
53
53
  __exportStar(require("./brand"), exports);
54
54
  __exportStar(require("./brand-cohort"), exports);
55
55
  __exportStar(require("./brand-bookmark"), exports);
56
- __exportStar(require("./summer-black-friday.modules"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.1.51-jun.9",
3
+ "version": "0.1.52-hj-1",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
package/story/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './story.entity';
package/story/index.js DELETED
@@ -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("./story.entity"), exports);
@@ -1,67 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export interface StoryImg {
3
- imgUrl: string;
4
- appLink: string;
5
- link: string;
6
- }
7
- export interface MainStoryImg {
8
- imgUrl: string;
9
- imgName: string;
10
- width: string;
11
- height: string;
12
- }
13
- export interface StoryContentImg {
14
- imgUrl: string;
15
- imgName: string;
16
- width: string;
17
- height: string;
18
- }
19
- export interface StoryContentStoreItemCondition {
20
- itemName: string[];
21
- category: [
22
- {
23
- main: string;
24
- sub: string;
25
- }
26
- ];
27
- bookNums: number;
28
- }
29
- export interface StoryContentInfo {
30
- raw: string;
31
- app: any[];
32
- }
33
- export interface StoryContentButtonInfo {
34
- isExist: boolean;
35
- text?: string;
36
- appLink?: string;
37
- webLink?: string;
38
- }
39
- export interface StoryContent {
40
- imgList: StoryContentImg[];
41
- storeItemCondition: StoryContentStoreItemCondition;
42
- content: StoryContentInfo;
43
- buttonInfo: StoryContentButtonInfo;
44
- }
45
- /**
46
- * @author ?
47
- * @description 스토리 엔티티 (레거시에서 옮김)
48
- */
49
- export default interface StoryEntity {
50
- _id: string | Types.ObjectId;
51
- version: string;
52
- isView: boolean;
53
- title: string;
54
- itemName?: string;
55
- regDate: Date;
56
- lastModifiedDate: Date;
57
- log: [];
58
- sort: number;
59
- viewNums: number;
60
- previewImg: string;
61
- storyImgList: StoryImg[];
62
- subTitle: string;
63
- mainImg: MainStoryImg;
64
- contentList: StoryContent[];
65
- storyType: string;
66
- }
67
- export { StoryEntity };
@@ -1 +0,0 @@
1
- export * from './weekly-mega-deal-data';
@@ -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("./weekly-mega-deal-data"), exports);
@@ -1 +0,0 @@
1
- export * from './weekly-mega-deal-data.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("./weekly-mega-deal-data.entity"), exports);
@@ -1,42 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export declare enum ExternalPriceNameEnum {
3
- KREAM = "kream",
4
- COUPANG = "coupang",
5
- NAVER = "naver"
6
- }
7
- export interface ExternalPriceInfo {
8
- name: ExternalPriceNameEnum;
9
- price: number;
10
- }
11
- /**
12
- * @description 주간 메가딜 기간 그룹 데이터의 상품 데이터
13
- * 보여주기 시작 -> 보여주기 종료
14
- * 보여주기 종료 true 가 되기 위해서는 시작이 되어야 함
15
- * */
16
- export interface WeeklyMegaDealPeriodItemData {
17
- itemId: string | Types.ObjectId;
18
- /** 보여주기 시작 여부 */
19
- isShowStart: boolean;
20
- /** 보여주기 시작한 날짜 */
21
- showStartDate?: Date;
22
- /** 보여주기 종료 여부 */
23
- isShowEnd: boolean;
24
- /** 보여주기 종료한 날짜 */
25
- showEndDate?: Date;
26
- }
27
- /** 주간 메가딜 기간 그룹 데이터 */
28
- export interface WeeklyMegaDealPeriodItemGroup {
29
- externalPriceInfos: ExternalPriceInfo[];
30
- itemInfos: WeeklyMegaDealPeriodItemData[];
31
- }
32
- /** 주간 메가딜 페이지 데이터 */
33
- export default interface WeeklyMegaDealDataEntity {
34
- _id: string | Types.ObjectId;
35
- title: string;
36
- periodSDate: Date;
37
- periodEDate: Date;
38
- itemGroups: WeeklyMegaDealPeriodItemGroup[];
39
- lastModifyDate: Date;
40
- regDate: Date;
41
- }
42
- export { WeeklyMegaDealDataEntity };
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExternalPriceNameEnum = void 0;
4
- var ExternalPriceNameEnum;
5
- (function (ExternalPriceNameEnum) {
6
- ExternalPriceNameEnum["KREAM"] = "kream";
7
- ExternalPriceNameEnum["COUPANG"] = "coupang";
8
- ExternalPriceNameEnum["NAVER"] = "naver";
9
- })(ExternalPriceNameEnum || (exports.ExternalPriceNameEnum = ExternalPriceNameEnum = {}));