Update schema - shippingzonesfilterinput, types and refactor

This commit is contained in:
Magdalena Markusik 2021-05-12 12:41:15 +02:00
parent 87de4da15d
commit 1824e288ed
3 changed files with 3 additions and 3 deletions

View file

@ -5146,7 +5146,7 @@ type ShippingZoneDelete {
input ShippingZoneFilterInput {
search: String
channel: ID
channels: [ID]
}
type ShippingZoneUpdate {

View file

@ -158,7 +158,7 @@ export const ChannelDetails: React.FC<ChannelDetailsProps> = ({
} = useChannelShippingZones({
variables: {
filter: {
channel: id
channels: [id]
}
}
});

View file

@ -1851,7 +1851,7 @@ export interface ShippingZoneCreateInput {
export interface ShippingZoneFilterInput {
search?: string | null;
channel?: string | null;
channels?: (string | null)[] | null;
}
export interface ShippingZoneUpdateInput {