mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 04:01:23 +00:00
✨ feat: set shipping method
:%s
This commit is contained in:
7
framework/vendure/schema.d.ts
vendored
7
framework/vendure/schema.d.ts
vendored
@@ -377,6 +377,13 @@ export type SetShippingMethodMutation = {
|
||||
| Pick<NoActiveOrderError, 'errorCode' | 'message'>;
|
||||
};
|
||||
|
||||
|
||||
export type GetEligibleMethodsQuery = {
|
||||
eligibleShippingMethods: Array<
|
||||
Pick<ShippingMethodQuote, 'id' | 'name' | 'description' | 'price' | 'priceWithTax' | 'metadata'>
|
||||
>;
|
||||
};
|
||||
|
||||
export type Asset = Node & {
|
||||
__typename?: 'Asset'
|
||||
id: Scalars['ID']
|
||||
|
@@ -0,0 +1,13 @@
|
||||
export const getEligibleShippingMethods = /* GraphQL */ `
|
||||
query getEligibleShippingMethods {
|
||||
eligibleShippingMethods {
|
||||
id
|
||||
name
|
||||
description
|
||||
price
|
||||
priceWithTax
|
||||
metadata
|
||||
__typename
|
||||
}
|
||||
}
|
||||
`
|
Reference in New Issue
Block a user