@yolo-croket-dev/entity-v2 0.0.57 → 0.0.59-jun.0
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
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'> & {
|
|
10
10
|
/** @description 결제아이디 */
|
|
11
11
|
PInfoId: string;
|
|
12
12
|
/** @description 주문번호 */
|
|
@@ -8,8 +8,13 @@ export default interface PurchasedInfoForSeller {
|
|
|
8
8
|
searchToken: string;
|
|
9
9
|
}
|
|
10
10
|
export type PInfoRefundInfoForSeller = Pick<RefundEntity, '_id' | 'reg_date' | 'acceptInfo' | 'process' | '_authorType' | 'openInfo' | 'refundVersion' | 'returnInfo' | 'rejectInfo' | 'PInfoLastProcess'>;
|
|
11
|
-
export type PInfoSellerUserInfoForSeller = Pick<UserEntity, 'subContactList'
|
|
12
|
-
|
|
11
|
+
export type PInfoSellerUserInfoForSeller = Pick<UserEntity, '_id' | 'subContactList'> & {
|
|
12
|
+
subContactImgs: {
|
|
13
|
+
name: string;
|
|
14
|
+
img: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
export type PInfoBuyerUserInfoForSeller = Pick<UserEntity, '_id' | 'username' | 'phoneCountry' | 'phoneNumber'>;
|
|
13
18
|
export type PInfoDetailForSeller = Pick<PurchasedInfoEntity, '_id' | 'publicId' | 'process' | 'pOptionInfo' | 'proceedsInfo' | 'itemId' | 'pastName' | 'pastImg' | 'pastPrice' | 'deliveryMethod' | 'deliveryData' | 'paymentDate' | 'pastSellingInfo' | 'PCCCInfo' | 'cancelInfo' | 'requirement' | 'originPrice' | 'buyerInfo'> & {
|
|
14
19
|
buyerUserInfo: PInfoBuyerUserInfoForSeller;
|
|
15
20
|
sellerUserInfo: PInfoSellerUserInfoForSeller;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
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
3
|
export default interface TimeDealEntityForBuyer {
|
|
9
4
|
_id: string | Types.ObjectId;
|
|
10
5
|
/** @description 타이틀 */
|
|
11
6
|
title: string;
|
|
12
7
|
/** @description 설명 */
|
|
13
8
|
description: string;
|
|
14
|
-
/** @description 이미지
|
|
15
|
-
|
|
9
|
+
/** @description 이미지 url */
|
|
10
|
+
imgUrl: string;
|
|
16
11
|
/** @description 상품 리스트 */
|
|
17
12
|
storeItems: StoreItemLegacyEntity[];
|
|
18
13
|
/** @description 마감기한 또는 수량 없는 상품 리스트 */
|