Skip to content

Commit

Permalink
fix: add explicit interfaces exports for response types
Browse files Browse the repository at this point in the history
  • Loading branch information
fpdrozd committed Mar 31, 2023
1 parent e2dce54 commit 5a7262e
Showing 1 changed file with 117 additions and 0 deletions.
117 changes: 117 additions & 0 deletions packages/sdk-storefront/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,120 @@ export type {
DefaultCustomizations,
WithCommonOptions
} from '@spree/core-api-v2-sdk'

export * from './interfaces/attributes/Address'
export * from './interfaces/attributes/Payment'
export * from './interfaces/attributes/PaymentSource'
export * from './interfaces/attributes/Shipment'
export * from './interfaces/endpoints/CartClass'
export * from './interfaces/endpoints/CheckoutClass'
export * from './interfaces/Authentication'

export type {
AccountAttr,
IAccount,
IAccountResult,
IAccountConfirmation,
IAccountConfirmationResult,
AccountAddressAttr,
AccountAddressResponse,
AccountAddressesResponse,
AccountAddressResult,
AccountAddressesResult
} from './interfaces/Account'
export type {
CountryAttr,
ICountry,
ICountries,
ICountryResult,
ICountriesResult
} from './interfaces/Country'
export type {
CreditCardAttr,
ICreditCard,
ICreditCards,
ICreditCardResult,
ICreditCardsResult
} from './interfaces/CreditCard'
export type {
DigitalAsset,
DigitalAssetResult
} from './interfaces/DigitalAsset'
export type {
EstimatedShippingMethodAttr,
IEstimatedShippingMethods,
IEstimatedShippingMethodsResult,
EstimatedShippingRates,
EstimatedShippingRatesResult
} from './interfaces/EstimatedShippingMethod'
export type {
MenuAttr,
Menu,
Menus,
MenuResult,
MenusResult
} from './interfaces/Menu'
export type {
OrderAttr,
IOrder,
IOrders,
IOrderResult,
IOrdersResult
} from './interfaces/Order'
export type {
PageAttr,
IPage,
IPages,
IPageResult,
IPagesResult
} from './interfaces/Page'
export type {
PaymentMethodAttr,
IPaymentMethods,
IPaymentMethodsResult
} from './interfaces/PaymentMethod'
export type {
ProductAttr,
IProduct,
IProducts,
IProductResult,
IProductsResult
} from './interfaces/Product'
export type {
ShippingMethodAttr,
IShippingMethods,
IShippingMethodsResult,
ShippingRateAttr,
ShippingRates,
ShippingRatesResult
} from './interfaces/ShippingMethod'
export type {
StripeCheckoutSessionSummary,
StripeCheckoutSessionSummaryResult
} from './interfaces/StripeCheckoutSessionSummary'
export type {
TaxonAttr,
ITaxon,
ITaxons,
ITaxonResult,
ITaxonsResult
} from './interfaces/Taxon'
export type {
VendorAttr,
Vendor,
Vendors,
VendorResult,
VendorsResult
} from './interfaces/Vendor'
export type {
WishedItemAttr,
WishedItem,
WishedItemResult
} from './interfaces/WishedItem'
export type {
WishlistAttr,
Wishlist,
Wishlists,
WishlistResult,
WishlistsResult
} from './interfaces/Wishlist'

0 comments on commit 5a7262e

Please sign in to comment.