Skip to content

Commit

Permalink
fix(checkout): export more variables
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Oct 19, 2023
1 parent ac4c04f commit ce30661
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

exports[`exports > exports from index.ts 1`] = `
[
"AddressField",
"AddressType",
"DeliveryOptionsMode",
"EVENT_HIDE_DELIVERY_OPTIONS",
"EVENT_SHOW_DELIVERY_OPTIONS",
Expand All @@ -11,6 +13,8 @@ exports[`exports > exports from index.ts 1`] = `
"EVENT_UPDATE_DELIVERY_OPTIONS",
"FrontendEndpoint",
"PdkDeliveryOptionsEvent",
"PdkEvent",
"PdkField",
"StoreListener",
"Util",
"createPdkCheckout",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

exports[`exports > exports from index.ts 1`] = `
[
"AddressField",
"AddressType",
"DeliveryOptionsMode",
"EVENT_HIDE_DELIVERY_OPTIONS",
"EVENT_SHOW_DELIVERY_OPTIONS",
Expand All @@ -11,6 +13,8 @@ exports[`exports > exports from index.ts 1`] = `
"EVENT_UPDATE_DELIVERY_OPTIONS",
"FrontendEndpoint",
"PdkDeliveryOptionsEvent",
"PdkEvent",
"PdkField",
"StoreListener",
"Util",
"createPdkCheckout",
Expand Down
17 changes: 8 additions & 9 deletions apps/checkout/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ export type {
StoreCallbackUpdate,
} from '@myparcel-pdk/checkout-core';

export {DeliveryOptionsMode} from '@myparcel-pdk/checkout-delivery-options';
export {AddressField, AddressType, FrontendEndpoint, PdkEvent, PdkField} from '@myparcel-pdk/checkout-common';

export {
DeliveryOptionsMode,
PdkDeliveryOptionsEvent,
initializeCheckoutDeliveryOptions,
useDeliveryOptionsStore,
} from '@myparcel-pdk/checkout-delivery-options';

export {
EVENT_HIDE_DELIVERY_OPTIONS,
Expand All @@ -36,14 +43,6 @@ export {
EVENT_UPDATE_DELIVERY_OPTIONS,
} from '@myparcel-pdk/delivery-options';

export {FrontendEndpoint} from '@myparcel-pdk/checkout-common';

export {
PdkDeliveryOptionsEvent,
initializeCheckoutDeliveryOptions,
useDeliveryOptionsStore,
} from '@myparcel-pdk/checkout-delivery-options';

export {
StoreListener,
Util,
Expand Down

0 comments on commit ce30661

Please sign in to comment.