const [{data, fetching, error}, _refetch] = useFindMany(api.shopifyOrderLineItem, {
select: {
id: true,
order: {
id: true,
name: true,
shopifyCreatedAt: true,
totalPriceSet: true,
email: true,
financialStatus: true,
},
fulfillmentStatus: true,
currentQuantity: true,
fulfillableQuantity: true,
},
filter: {
sellingPlanGroupId: {
isSet: true,
},
},
sort: {
order: {
email: "Descending"
}
}
});
const [{data, fetching, error}, _refetch] = useFindMany(api.shopifyOrderLineItem, {
select: {
id: true,
order: {
id: true,
name: true,
shopifyCreatedAt: true,
totalPriceSet: true,
email: true,
financialStatus: true,
},
fulfillmentStatus: true,
currentQuantity: true,
fulfillableQuantity: true,
},
filter: {
sellingPlanGroupId: {
isSet: true,
},
},
sort: {
order: {
email: "Descending"
}
}
});