@yolo-croket-dev/entity-v2 0.0.25-jun.5 → 0.0.25-jun.7

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.
@@ -1,5 +1,5 @@
1
1
  import { Types } from 'mongoose';
2
- export interface PurchasedInfoDetail {
2
+ export interface PInfoOfBundle {
3
3
  PInfoId: Types.ObjectId;
4
4
  publicId: string;
5
5
  paymentDate: Date;
@@ -16,8 +16,8 @@ export interface PastIsPrepay {
16
16
  /** 어디에 사용되는지 체크해야 함 */
17
17
  export interface PastIsPrepayInfo {
18
18
  list: PastIsPrepay[];
19
- select: PastIsPrepay;
20
- regDate: Date;
19
+ select?: PastIsPrepay;
20
+ regDate?: Date;
21
21
  }
22
22
  export interface PastShippingFee {
23
23
  PInfoId: Types.ObjectId;
@@ -26,8 +26,8 @@ export interface PastShippingFee {
26
26
  /** 어디에 사용되는지 체크해야 함 */
27
27
  export interface PastShippingFeeInfo {
28
28
  list: PastShippingFee[];
29
- select: PastShippingFee;
30
- regDate: Date;
29
+ select?: PastShippingFee;
30
+ regDate?: Date;
31
31
  }
32
32
  export default interface BundlePurchasedInfoEntity {
33
33
  version: string;
@@ -37,7 +37,7 @@ export default interface BundlePurchasedInfoEntity {
37
37
  isAbroadShipping: boolean;
38
38
  /** 묶음이 2개이상이면 true */
39
39
  isBundle: boolean;
40
- PInfoList: PurchasedInfoDetail[];
40
+ PInfoList: PInfoOfBundle[];
41
41
  buyerId: Types.ObjectId;
42
42
  pastBuyerName: string;
43
43
  pastReceiverName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.25-jun.5",
3
+ "version": "0.0.25-jun.7",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v2",