@yolo-croket-dev/entity-v2 0.2.1-jun.4 → 0.2.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/package.json +1 -1
- package/store/store.entity.d.ts +0 -17
- package/store.modules/index.d.ts +0 -1
- package/store.modules/index.js +0 -17
- package/store.modules/store-brand-fixed-content/index.d.ts +0 -1
- package/store.modules/store-brand-fixed-content/index.js +0 -17
- package/store.modules/store-brand-fixed-content/store-brand-fixed-content.entity.d.ts +0 -25
- package/store.modules/store-brand-fixed-content/store-brand-fixed-content.entity.js +0 -2
package/package.json
CHANGED
package/store/store.entity.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
|
-
import { FixedContentsPositionEnum } from '@yolo-croket-dev/entity/src/store-item';
|
|
3
2
|
import { AbroadAccount } from './abroad-account.entity';
|
|
4
3
|
export declare enum StoreLastActivityTypeEnum {
|
|
5
4
|
regStoreItem = "regStoreItem",
|
|
@@ -181,20 +180,6 @@ export declare class LastBeforeAccountInfo {
|
|
|
181
180
|
export declare class SupermarketInfo {
|
|
182
181
|
isSuperMarket: boolean;
|
|
183
182
|
}
|
|
184
|
-
/**
|
|
185
|
-
* @author jun
|
|
186
|
-
* @description 스토어 고정 콘텐츠
|
|
187
|
-
*/
|
|
188
|
-
export interface StoreFixedContent {
|
|
189
|
-
/** 고정 이미지 위치 */
|
|
190
|
-
position: FixedContentsPositionEnum;
|
|
191
|
-
/** 이미지 정보 */
|
|
192
|
-
imgUrl: string;
|
|
193
|
-
/** 이미지 가로 사이즈 */
|
|
194
|
-
width: number;
|
|
195
|
-
/** 이미지 세로 사이즈 */
|
|
196
|
-
height: number;
|
|
197
|
-
}
|
|
198
183
|
/** store schema inteface (아직 선언하다 말았음) */
|
|
199
184
|
export default class StoreEntity {
|
|
200
185
|
_id: Types.ObjectId | string;
|
|
@@ -220,7 +205,5 @@ export default class StoreEntity {
|
|
|
220
205
|
introduction: string;
|
|
221
206
|
/** @description 관리자가 지정한 셀러 자동 응답 메시지 */
|
|
222
207
|
adminDesignatedAutoReplyMessage?: string;
|
|
223
|
-
/** @description 스토어 고정 콘텐츠 */
|
|
224
|
-
storeFixedContents?: StoreFixedContent[];
|
|
225
208
|
}
|
|
226
209
|
export { StoreEntity };
|
package/store.modules/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './store-brand-fixed-content';
|
package/store.modules/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("./store-brand-fixed-content"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './store-brand-fixed-content.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("./store-brand-fixed-content.entity"), exports);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { FixedContentsPositionEnum } from '@yolo-croket-dev/entity/src/store-item';
|
|
2
|
-
import { Types } from 'mongoose';
|
|
3
|
-
/**
|
|
4
|
-
* @author jun
|
|
5
|
-
* @description 스토어 브랜드 고정 콘텐츠
|
|
6
|
-
*/
|
|
7
|
-
export default interface StoreBrandFixedContentEntity {
|
|
8
|
-
/** 고유 아이디 */
|
|
9
|
-
_id: string | Types.ObjectId;
|
|
10
|
-
/** 브랜드 이름 */
|
|
11
|
-
brandName: string;
|
|
12
|
-
/** 셀러 아이디 */
|
|
13
|
-
sellerId: string | Types.ObjectId;
|
|
14
|
-
/** 고정 이미지 위치 */
|
|
15
|
-
position: FixedContentsPositionEnum;
|
|
16
|
-
/** 이미지 정보 */
|
|
17
|
-
imgUrl: string;
|
|
18
|
-
/** 이미지 가로 사이즈 */
|
|
19
|
-
width: number;
|
|
20
|
-
/** 이미지 세로 사이즈 */
|
|
21
|
-
height: number;
|
|
22
|
-
/** 등록 일시 */
|
|
23
|
-
regDate: Date;
|
|
24
|
-
}
|
|
25
|
-
export { StoreBrandFixedContentEntity };
|