Update schema - shippingzonesfilterinput, types and refactor
This commit is contained in:
parent
87de4da15d
commit
1824e288ed
3 changed files with 3 additions and 3 deletions
|
@ -5146,7 +5146,7 @@ type ShippingZoneDelete {
|
||||||
|
|
||||||
input ShippingZoneFilterInput {
|
input ShippingZoneFilterInput {
|
||||||
search: String
|
search: String
|
||||||
channel: ID
|
channels: [ID]
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShippingZoneUpdate {
|
type ShippingZoneUpdate {
|
||||||
|
|
|
@ -158,7 +158,7 @@ export const ChannelDetails: React.FC<ChannelDetailsProps> = ({
|
||||||
} = useChannelShippingZones({
|
} = useChannelShippingZones({
|
||||||
variables: {
|
variables: {
|
||||||
filter: {
|
filter: {
|
||||||
channel: id
|
channels: [id]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -1851,7 +1851,7 @@ export interface ShippingZoneCreateInput {
|
||||||
|
|
||||||
export interface ShippingZoneFilterInput {
|
export interface ShippingZoneFilterInput {
|
||||||
search?: string | null;
|
search?: string | null;
|
||||||
channel?: string | null;
|
channels?: (string | null)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ShippingZoneUpdateInput {
|
export interface ShippingZoneUpdateInput {
|
||||||
|
|
Loading…
Reference in a new issue