@yolo-croket-dev/entity-v2 0.0.54 → 0.0.56-sj-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/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/partial-refund/partial-refund-for-admin.entity.d.ts +1 -1
- package/time-deal/index.d.ts +1 -0
- package/time-deal/index.js +17 -0
- package/time-deal/time-deal-for-admin.entity.d.ts +27 -0
- package/time-deal/time-deal-for-admin.entity.js +2 -0
- package/time-deal/time-deal-for-buyer.entity.d.ts +21 -0
- package/time-deal/time-deal-for-buyer.entity.js +2 -0
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export interface PartialRefundCouponDiscountInfo {
|
|
|
6
6
|
/** @description 쿠폰 할인된 금액 */
|
|
7
7
|
couponDiscountValue: number;
|
|
8
8
|
}
|
|
9
|
-
export type PartialRefundForAdminEntity = Omit<PartialRefundEntity, 'pastPInfo'> & {
|
|
9
|
+
export type PartialRefundForAdminEntity = Omit<PartialRefundEntity, 'pastPInfo' | 'refundPriceExcludingPaymentFee'> & {
|
|
10
10
|
/** @description 결제아이디 */
|
|
11
11
|
PInfoId: string;
|
|
12
12
|
/** @description 주문번호 */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './time-deal-for-buyer.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("./time-deal-for-buyer.entity"), exports);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
interface TimeDealStoreItemInfo {
|
|
3
|
+
/** @description 상품 아이디 */
|
|
4
|
+
itemId: string | Types.ObjectId;
|
|
5
|
+
/** @description 수량 제한 */
|
|
6
|
+
limitedQuantity?: number;
|
|
7
|
+
/** @description 상품 마감일 */
|
|
8
|
+
deadLine: Date;
|
|
9
|
+
}
|
|
10
|
+
export default interface TimeDealEntityForAdmin {
|
|
11
|
+
_id: string | Types.ObjectId;
|
|
12
|
+
/** @description 타이틀 */
|
|
13
|
+
title: string;
|
|
14
|
+
/** @description 설명 */
|
|
15
|
+
description: string;
|
|
16
|
+
/** @description 보여주기 여부 */
|
|
17
|
+
isView: boolean;
|
|
18
|
+
/** @description 등록일 */
|
|
19
|
+
regDate: Date;
|
|
20
|
+
/** @description 마지막 수정일 */
|
|
21
|
+
lastModifyDate: Date;
|
|
22
|
+
/** @description 상품 마지막 데드라인 */
|
|
23
|
+
storeItemLastDeadLine: Date;
|
|
24
|
+
/** @description 타임딜 관련 상품 리스트 */
|
|
25
|
+
storeItems: TimeDealStoreItemInfo[];
|
|
26
|
+
}
|
|
27
|
+
export { TimeDealEntityForAdmin };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
import { StoreItemLegacyEntity } from '@yolo-croket-dev/entity/src/store-item';
|
|
3
|
+
interface TimeDealImg {
|
|
4
|
+
url: string;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
}
|
|
8
|
+
export default interface TimeDealEntityForBuyer {
|
|
9
|
+
_id: string | Types.ObjectId;
|
|
10
|
+
/** @description 타이틀 */
|
|
11
|
+
title: string;
|
|
12
|
+
/** @description 설명 */
|
|
13
|
+
description: string;
|
|
14
|
+
/** @description 이미지 정보 */
|
|
15
|
+
img: TimeDealImg;
|
|
16
|
+
/** @description 상품 리스트 */
|
|
17
|
+
storeItems: StoreItemLegacyEntity[];
|
|
18
|
+
/** @description 마감기한 또는 수량 없는 상품 리스트 */
|
|
19
|
+
finishedStoreItems: StoreItemLegacyEntity[];
|
|
20
|
+
}
|
|
21
|
+
export { TimeDealEntityForBuyer };
|