Skip to content

Commit

Permalink
Bump order-dropin alpha26 release (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliseacornejo authored Dec 3, 2024
1 parent 7adea89 commit 9f02589
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 4 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@dropins/storefront-auth": "0.0.1-alpha25",
"@dropins/storefront-cart": "0.10.0",
"@dropins/storefront-checkout": "0.1.0-alpha60",
"@dropins/storefront-order": "0.1.0-alpha24",
"@dropins/storefront-order": "0.1.0-alpha26",
"@dropins/storefront-pdp": "1.0.0-beta3",
"@dropins/tools": "^0.36.0"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export declare const STORE_CONFIG_QUERY = "\nquery STORE_CONFIG_QUERY {\n storeConfig {\n order_cancellation_enabled\n order_cancellation_reasons {\n description\n }\n shopping_cart_display_price\n shopping_cart_display_shipping\n shopping_cart_display_subtotal\n shopping_cart_display_grand_total\n shopping_cart_display_tax_gift_wrapping\n shopping_cart_display_full_summary\n shopping_cart_display_zero_tax\n }\n}\n";
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";
//# sourceMappingURL=StoreConfigQuery.d.ts.map
17 changes: 8 additions & 9 deletions scripts/__dropins__/storefront-order/chunks/getStoreConfig.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
/*! Copyright 2024 Adobe
All Rights Reserved. */
import{f as i,h as s}from"./fetch-graphql.js";function n(p){return p?{orderCancellationEnabled:p.order_cancellation_enabled,orderCancellationReasons:p.order_cancellation_reasons,shoppingCartDisplayPrice:p.shopping_cart_display_price,shoppingOrdersDisplaySubtotal:p.shopping_cart_display_subtotal,shoppingOrdersDisplayShipping:p.shopping_cart_display_shipping,shoppingOrdersDisplayGrandTotal:p.shopping_cart_display_grand_total,shoppingOrdersDisplayTaxGiftWrapping:p.shopping_cart_display_tax_gift_wrapping,shoppingOrdersDisplayFullSummary:p.shopping_cart_display_full_summary,shoppingOrdersDisplayZeroTax:p.shopping_cart_display_zero_tax}:null}const a=`
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 _=`
query STORE_CONFIG_QUERY {
storeConfig {
order_cancellation_enabled
order_cancellation_reasons {
description
}
shopping_cart_display_price
shopping_cart_display_shipping
shopping_cart_display_subtotal
shopping_cart_display_grand_total
shopping_cart_display_tax_gift_wrapping
shopping_cart_display_full_summary
shopping_cart_display_zero_tax
orders_invoices_credit_memos_display_price
orders_invoices_credit_memos_display_shipping_amount
orders_invoices_credit_memos_display_subtotal
orders_invoices_credit_memos_display_grandtotal
orders_invoices_credit_memos_display_full_summary
orders_invoices_credit_memos_display_zero_tax
}
}
`,o=async()=>i(a,{method:"GET",cache:"force-cache"}).then(({errors:p,data:r})=>p?s(p):n(r.storeConfig));export{o as g};
`,c=async()=>o(_,{method:"GET",cache:"force-cache"}).then(({errors:e,data:r})=>e?s(e):i(r.storeConfig));export{c as g};

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export interface StoreConfigModel {
shoppingCartDisplayPrice: 1 | 2 | 3;
shoppingOrdersDisplayShipping: 1 | 2 | 3;
shoppingOrdersDisplaySubtotal: 1 | 2 | 3;
shoppingOrdersDisplayTaxGiftWrapping: string;
shoppingOrdersDisplayFullSummary: boolean;
shoppingOrdersDisplayGrandTotal: boolean;
shoppingOrdersDisplayZeroTax: boolean;
Expand Down

0 comments on commit 9f02589

Please sign in to comment.