@dropins/storefront-order 0.1.0-alpha24 → 0.1.0-alpha25
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,2 +1,2 @@
|
|
|
1
|
-
export declare const STORE_CONFIG_QUERY = "\nquery STORE_CONFIG_QUERY {\n storeConfig {\n order_cancellation_enabled\n order_cancellation_reasons {\n description\n }\n
|
|
1
|
+
export declare const STORE_CONFIG_QUERY = "\nquery STORE_CONFIG_QUERY {\n storeConfig {\n order_cancellation_enabled\n order_cancellation_reasons {\n description\n }\n orders_invoices_credit_memos_display_price\n orders_invoices_credit_memos_display_shipping_amount\n orders_invoices_credit_memos_display_subtotal\n orders_invoices_credit_memos_display_grandtotal\n orders_invoices_credit_memos_display_full_summary\n orders_invoices_credit_memos_display_zero_tax\n }\n}\n";
|
|
2
2
|
//# sourceMappingURL=StoreConfigQuery.d.ts.map
|
package/chunks/getStoreConfig.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
/*! Copyright 2024 Adobe
|
|
2
2
|
All Rights Reserved. */
|
|
3
|
-
import{f as
|
|
3
|
+
import{f as o,h as s}from"./fetch-graphql.js";function i(e){return e?{orderCancellationEnabled:e.order_cancellation_enabled,orderCancellationReasons:e.order_cancellation_reasons,shoppingCartDisplayPrice:e.orders_invoices_credit_memos_display_price,shoppingOrdersDisplaySubtotal:e.orders_invoices_credit_memos_display_subtotal,shoppingOrdersDisplayShipping:e.orders_invoices_credit_memos_display_shipping_amount,shoppingOrdersDisplayGrandTotal:e.orders_invoices_credit_memos_display_grandtotal,shoppingOrdersDisplayFullSummary:e.orders_invoices_credit_memos_display_full_summary,shoppingOrdersDisplayZeroTax:e.orders_invoices_credit_memos_display_zero_tax}:null}const _=`
|
|
4
4
|
query STORE_CONFIG_QUERY {
|
|
5
5
|
storeConfig {
|
|
6
6
|
order_cancellation_enabled
|
|
7
7
|
order_cancellation_reasons {
|
|
8
8
|
description
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
shopping_cart_display_zero_tax
|
|
10
|
+
orders_invoices_credit_memos_display_price
|
|
11
|
+
orders_invoices_credit_memos_display_shipping_amount
|
|
12
|
+
orders_invoices_credit_memos_display_subtotal
|
|
13
|
+
orders_invoices_credit_memos_display_grandtotal
|
|
14
|
+
orders_invoices_credit_memos_display_full_summary
|
|
15
|
+
orders_invoices_credit_memos_display_zero_tax
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
|
-
`,
|
|
18
|
+
`,c=async()=>o(_,{method:"GET",cache:"force-cache"}).then(({errors:e,data:r})=>e?s(e):i(r.storeConfig));export{c as g};
|
|
@@ -4,7 +4,6 @@ export interface StoreConfigModel {
|
|
|
4
4
|
shoppingCartDisplayPrice: 1 | 2 | 3;
|
|
5
5
|
shoppingOrdersDisplayShipping: 1 | 2 | 3;
|
|
6
6
|
shoppingOrdersDisplaySubtotal: 1 | 2 | 3;
|
|
7
|
-
shoppingOrdersDisplayTaxGiftWrapping: string;
|
|
8
7
|
shoppingOrdersDisplayFullSummary: boolean;
|
|
9
8
|
shoppingOrdersDisplayGrandTotal: boolean;
|
|
10
9
|
shoppingOrdersDisplayZeroTax: boolean;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@dropins/storefront-order", "version": "0.1.0-
|
|
1
|
+
{"name": "@dropins/storefront-order", "version": "0.1.0-alpha25", "@dropins/elsie": "~0.35.0"}
|