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