@yolo-croket-dev/entity-v2 0.0.29 → 0.0.30

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/index.d.ts CHANGED
@@ -13,3 +13,4 @@ export * from './img';
13
13
  export * from './selection-frame-first-enterance-guide';
14
14
  export * from './app-push-subscribe';
15
15
  export * from './app-push-subscribed-user';
16
+ export * from './link-tab';
package/index.js CHANGED
@@ -29,3 +29,4 @@ __exportStar(require("./img"), exports);
29
29
  __exportStar(require("./selection-frame-first-enterance-guide"), exports);
30
30
  __exportStar(require("./app-push-subscribe"), exports);
31
31
  __exportStar(require("./app-push-subscribed-user"), exports);
32
+ __exportStar(require("./link-tab"), exports);
@@ -0,0 +1 @@
1
+ export * from './link-tab.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("./link-tab.entity"), exports);
@@ -0,0 +1,19 @@
1
+ import { Types } from 'mongoose';
2
+ import { ImgEntity } from '../img';
3
+ export declare enum LinkTabTypeEnum {
4
+ TEXT = "TEXT",
5
+ IMAGE = "IMAGE"
6
+ }
7
+ export interface LinkTabEntity {
8
+ _id: string | Types.ObjectId;
9
+ /** @description 링크탭 타입 */
10
+ type: LinkTabTypeEnum;
11
+ /** @description 타이틀 */
12
+ title: string;
13
+ /** @description 이미지 타이틀 - type이 IMAGE 일 때 필수 */
14
+ imgTitle?: ImgEntity;
15
+ /** @description 앱링크 */
16
+ appLink: string;
17
+ /** @description 웹링크 */
18
+ webLink: string;
19
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LinkTabTypeEnum = void 0;
4
+ var LinkTabTypeEnum;
5
+ (function (LinkTabTypeEnum) {
6
+ LinkTabTypeEnum["TEXT"] = "TEXT";
7
+ LinkTabTypeEnum["IMAGE"] = "IMAGE";
8
+ })(LinkTabTypeEnum || (exports.LinkTabTypeEnum = LinkTabTypeEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v2",