forked from bigcommerce/catalyst
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update all/most deps to latest versions (bigcommerce#1036)
- Loading branch information
1 parent
25e3bb2
commit c3cacbf
Showing
7 changed files
with
870 additions
and
1,210 deletions.
There are no files selected for viewing
45 changes: 26 additions & 19 deletions
45
core/app/[locale]/(default)/cart/_components/shipping-info/fragment.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
import { graphql } from '~/client/graphql'; | ||
|
||
export const ShippingInfoFragment = graphql(` | ||
fragment ShippingInfoFragment on Checkout { | ||
entityId | ||
shippingConsignments { | ||
import { ShippingOptionsFragment } from '../shipping-options/fragment'; | ||
|
||
export const ShippingInfoFragment = graphql( | ||
` | ||
fragment ShippingInfoFragment on Checkout { | ||
entityId | ||
selectedShippingOption { | ||
shippingConsignments { | ||
entityId | ||
} | ||
address { | ||
city | ||
countryCode | ||
stateOrProvince | ||
postalCode | ||
} | ||
} | ||
cart { | ||
lineItems { | ||
physicalItems { | ||
...ShippingOptionsFragment | ||
selectedShippingOption { | ||
entityId | ||
quantity | ||
description | ||
} | ||
address { | ||
city | ||
countryCode | ||
stateOrProvince | ||
postalCode | ||
} | ||
} | ||
cart { | ||
lineItems { | ||
physicalItems { | ||
entityId | ||
quantity | ||
} | ||
} | ||
} | ||
} | ||
} | ||
`); | ||
`, | ||
[ShippingOptionsFragment], | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.