@yolo-croket-dev/entity-v2 0.2.28 → 0.2.29

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,49 @@
1
+ import { Types } from 'mongoose';
2
+ export declare enum AppEventPopupKindEnum {
3
+ LAYER = "layer",
4
+ TOAST = "toast"
5
+ }
6
+ export declare enum AppEventPopupImgUserTypeEnum {
7
+ BUYER = "buyer",
8
+ SELLER = "seller"
9
+ }
10
+ export interface AppEventPopupImgSize {
11
+ width: number;
12
+ height: number;
13
+ }
14
+ /**
15
+ * @author jun
16
+ * @description 앱 이벤트 팝업
17
+ * - 이전 개발자 민우님이 작성하신 앱 이벤트 팝업 엔티티
18
+ */
19
+ export default interface AppEventPopupEntity {
20
+ /** 버전 */
21
+ version: string;
22
+ /** 사용 중인가 */
23
+ isUse: boolean;
24
+ /** 팝업 이름 */
25
+ title: string;
26
+ /** 팝업 형태 - layer | toast */
27
+ kind: AppEventPopupKindEnum;
28
+ /** 팝업 이미지 리스트 */
29
+ imgList: string[];
30
+ /** 이미지 사이즈 리스트 */
31
+ imgSizes: AppEventPopupImgSize[];
32
+ /** 앱 이동 링크 */
33
+ appUrl: string;
34
+ /** 웹 이동 링크 - 웹에서 사용됨 2020-04-24 jun */
35
+ webUrl: string;
36
+ /** 이벤트 프로모션 코드 */
37
+ promotionCode: Types.ObjectId;
38
+ /** 로그인 해도 보여줄 것인가 */
39
+ isLoginView: boolean;
40
+ /** 등록일 */
41
+ regDate: Date;
42
+ /** 웹 보여주냐 2020-04-24 jun */
43
+ isWebView: boolean;
44
+ /** 앱 보여주냐 2020-04-24 jun */
45
+ isAppView: boolean;
46
+ /** 구매자 사이드, 셀러 사이드 <buyer, seller> 2020-07-15 jun */
47
+ userType: AppEventPopupImgUserTypeEnum;
48
+ }
49
+ export { AppEventPopupEntity };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppEventPopupImgUserTypeEnum = exports.AppEventPopupKindEnum = void 0;
4
+ var AppEventPopupKindEnum;
5
+ (function (AppEventPopupKindEnum) {
6
+ AppEventPopupKindEnum["LAYER"] = "layer";
7
+ AppEventPopupKindEnum["TOAST"] = "toast";
8
+ })(AppEventPopupKindEnum = exports.AppEventPopupKindEnum || (exports.AppEventPopupKindEnum = {}));
9
+ var AppEventPopupImgUserTypeEnum;
10
+ (function (AppEventPopupImgUserTypeEnum) {
11
+ AppEventPopupImgUserTypeEnum["BUYER"] = "buyer";
12
+ AppEventPopupImgUserTypeEnum["SELLER"] = "seller";
13
+ })(AppEventPopupImgUserTypeEnum = exports.AppEventPopupImgUserTypeEnum || (exports.AppEventPopupImgUserTypeEnum = {}));
@@ -0,0 +1 @@
1
+ export * from './app-event-popup.entity';
@@ -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("./app-event-popup.entity"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.28",
3
+ "version": "0.2.29",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",