Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UpdateCartItemProps

Index

Properties

Optional error

error: undefined | ApolloError

Any errors returned from the mutation

loading

loading: boolean

A boolean that indicates whether your mutation is in flight.

Optional result

result: undefined | UpdateCart_updateCart

The UpdateCartResponse returned from your mutation. Defaults to undefined.

updateCart

updateCart: MutationType<UpdateCartItemParams, UpdateCart_updateCart>

A function to trigger the updateCart mutation from your UI. You can pass UpdateCartItemParams as parameters. The function returns a promise that fulfills with UpdateCartResponse.

Generated using TypeDoc