UNPKG

@spree/storefront-api-v2-sdk

Version:

Node module to easily integrate your JavaScript or TypeScript application with Spree Storefront API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on.

7 lines (6 loc) 254 B
import type { ResultResponse } from '@spree/core-api-v2-sdk'; export type StripeCheckoutSessionSummary = { session_id: string; session_url: string; }; export type StripeCheckoutSessionSummaryResult = ResultResponse<StripeCheckoutSessionSummary>;