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 {
|
||||
search: String
|
||||
channel: ID
|
||||
channels: [ID]
|
||||
}
|
||||
|
||||
type ShippingZoneUpdate {
|
||||
|
|
|
@ -158,7 +158,7 @@ export const ChannelDetails: React.FC<ChannelDetailsProps> = ({
|
|||
} = useChannelShippingZones({
|
||||
variables: {
|
||||
filter: {
|
||||
channel: id
|
||||
channels: [id]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1851,7 +1851,7 @@ export interface ShippingZoneCreateInput {
|
|||
|
||||
export interface ShippingZoneFilterInput {
|
||||
search?: string | null;
|
||||
channel?: string | null;
|
||||
channels?: (string | null)[] | null;
|
||||
}
|
||||
|
||||
export interface ShippingZoneUpdateInput {
|
||||
|
|
Loading…
Reference in a new issue