schon/storefront/app/graphql/fragments/orders.fragment.ts
2026-02-27 21:59:51 +03:00

27 lines
479 B
TypeScript

import { PRODUCT_FRAGMENT } from '@graphql/fragments/products.fragment';
export const ORDER_FRAGMENT = gql`
fragment Order on OrderType {
totalPrice
uuid
status
buyTime
humanReadableId
notifications
orderProducts {
edges {
node {
uuid
notifications
attributes
quantity
status
product {
...Product
}
}
}
}
}
${PRODUCT_FRAGMENT}
`;