mirror of
https://github.com/vercel/commerce.git
synced 2025-07-30 21:51:21 +00:00
.vscode
assets
components
config
framework
bigcommerce
commerce
local
reactioncommerce
saleor
shopify
swell
vendure
api
auth
cart
customer
product
types
utils
fragments
mutations
add-item-to-order-mutation.ts
adjust-order-line-mutation.ts
log-in-mutation.ts
log-out-mutation.ts
remove-order-line-mutation.ts
sign-up-mutation.ts
queries
array-to-tree.ts
normalize.ts
wishlist
.env.template
README.md
codegen.json
commerce.config.json
fetcher.ts
index.tsx
next.config.js
provider.ts
schema.d.ts
schema.graphql
lib
pages
public
.editorconfig
.env.template
.gitignore
.prettierignore
.prettierrc
README.md
codegen.bigcommerce.json
codegen.json
commerce.config.json
global.d.ts
license.md
next-env.d.ts
next.config.js
package.json
postcss.config.js
swell-js.d.ts
tailwind.config.js
tsconfig.json
yarn.lock
16 lines
341 B
TypeScript
16 lines
341 B
TypeScript
import { cartFragment } from '../fragments/cart-fragment'
|
|
|
|
export const removeOrderLineMutation = /* GraphQL */ `
|
|
mutation removeOrderLine($orderLineId: ID!) {
|
|
removeOrderLine(orderLineId: $orderLineId) {
|
|
__typename
|
|
...Cart
|
|
... on ErrorResult {
|
|
errorCode
|
|
message
|
|
}
|
|
}
|
|
}
|
|
${cartFragment}
|
|
`
|