@marianmeres/collection-types 1.34.0 → 1.35.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/dist/joy-response.d.ts +6 -0
- package/dist/order.d.ts +4 -4
- package/package.json +1 -1
package/dist/joy-response.d.ts
CHANGED
|
@@ -22,6 +22,12 @@ export interface JoyResponse {
|
|
|
22
22
|
* Schema version for future migrations.
|
|
23
23
|
*/
|
|
24
24
|
version: number;
|
|
25
|
+
/**
|
|
26
|
+
* Base URL for serving asset files, resolved from the server's storage adapter config.
|
|
27
|
+
* When a remote storage adapter is configured, this points to the remote server.
|
|
28
|
+
* Otherwise falls back to the local `/api/asset/static/` path.
|
|
29
|
+
*/
|
|
30
|
+
assetBaseUrl?: string;
|
|
25
31
|
/**
|
|
26
32
|
* App configuration from `__joy_config__`.
|
|
27
33
|
* Contains UI settings like title, theme overrides, etc.
|
package/dist/order.d.ts
CHANGED
|
@@ -58,10 +58,10 @@ export interface OrderData {
|
|
|
58
58
|
currency: string;
|
|
59
59
|
/** Price totals */
|
|
60
60
|
totals: OrderTotals;
|
|
61
|
-
/** Shipping address (embedded snapshot) */
|
|
62
|
-
shipping_address
|
|
63
|
-
/** Billing address (embedded snapshot) */
|
|
64
|
-
billing_address
|
|
61
|
+
/** Shipping address (embedded snapshot, set during checkout) */
|
|
62
|
+
shipping_address?: AddressData;
|
|
63
|
+
/** Billing address (embedded snapshot, set during checkout) */
|
|
64
|
+
billing_address?: AddressData;
|
|
65
65
|
/** Order notes */
|
|
66
66
|
notes?: string;
|
|
67
67
|
/** Selected delivery option ID */
|