@astro-sports-developers/models 1.0.47 → 1.0.48
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.
|
@@ -4,15 +4,18 @@ export interface M_ProductOptionalInput_V1 {
|
|
|
4
4
|
label: string;
|
|
5
5
|
value: string;
|
|
6
6
|
}
|
|
7
|
-
export interface M_Product_V1 {
|
|
7
|
+
export interface M_Product_V1 extends M_IndividualImagePurchase, M_FullProduct {
|
|
8
8
|
PR_Id: string;
|
|
9
9
|
PR_Name: string;
|
|
10
10
|
PR_Description: string;
|
|
11
11
|
PR_Price: number;
|
|
12
|
-
PR_ImageUrl?: M_MediaFileV1;
|
|
13
12
|
PR_Category: string;
|
|
14
13
|
PR_SubCategory?: string;
|
|
15
|
-
PR_Type:
|
|
14
|
+
PR_Type: string;
|
|
15
|
+
version: 'V1';
|
|
16
|
+
}
|
|
17
|
+
export interface M_FullProduct {
|
|
18
|
+
PR_ImageUrl?: M_MediaFileV1;
|
|
16
19
|
PR_Available: boolean;
|
|
17
20
|
PR_OptionalInputs?: M_ProductOptionalInput_V1[];
|
|
18
21
|
IsUsedTicket?: boolean;
|
|
@@ -20,5 +23,8 @@ export interface M_Product_V1 {
|
|
|
20
23
|
createdAt: Date | Timestamp;
|
|
21
24
|
updatedAt: Date | Timestamp;
|
|
22
25
|
deleted: boolean;
|
|
23
|
-
version: 'V1';
|
|
24
26
|
}
|
|
27
|
+
interface M_IndividualImagePurchase {
|
|
28
|
+
IIP_Id?: string[];
|
|
29
|
+
}
|
|
30
|
+
export {};
|
package/package.json
CHANGED