@@ -15,8 +15,8 @@ export const paymentMethodItemFragment = graphql(`
export const paymentMethodListQuery = graphql(
`
- query PaymentMethodList {
- paymentMethods {
+ query PaymentMethodList($options: PaymentMethodListOptions) {
+ paymentMethods(options: $options) {
items {
...PaymentMethodItem
}
@@ -11,8 +11,8 @@ export const sellerItemFragment = graphql(`
export const sellerListQuery = graphql(
- query SellerList {
- sellers {
+ query SellerList($options: SellerListOptions) {
+ sellers(options: $options) {
...SellerItem
@@ -15,8 +15,8 @@ export const shippingMethodItemFragment = graphql(`
export const shippingMethodListQuery = graphql(
- query ShippingMethodList {
- shippingMethods {
+ query ShippingMethodList($options: ShippingMethodListOptions) {
+ shippingMethods(options: $options) {
...ShippingMethodItem
@@ -12,8 +12,8 @@ export const stockLocationFragment = graphql(`
export const stockLocationListQuery = graphql(
- query StockLocationList {
- stockLocations {
+ query StockLocationList($options: StockLocationListOptions) {
+ stockLocations(options: $options) {
...StockLocationItem
@@ -12,8 +12,8 @@ export const taxCategoryItemFragment = graphql(`
export const taxCategoryListQuery = graphql(
- query TaxCategoryList {
- taxCategories {
+ query TaxCategoryList($options: TaxCategoryListOptions) {
+ taxCategories(options: $options) {
...TaxCategoryItem
@@ -11,8 +11,8 @@ export const zoneItemFragment = graphql(`
export const zoneListQuery = graphql(
- query ZoneList {
- zones {
+ query ZoneList($options: ZoneListOptions) {
+ zones(options: $options) {
...ZoneItem