mirror of
https://github.com/vercel/commerce.git
synced 2025-04-30 06:47:50 +00:00
33 lines
516 B
TypeScript
33 lines
516 B
TypeScript
import priceFragment from './price';
|
|
import stockFragment from './stock';
|
|
|
|
const listProductFragment = /* GraphQL */ `
|
|
fragment ListProduct on ProductType {
|
|
brand {
|
|
name
|
|
alias
|
|
}
|
|
name
|
|
productId
|
|
articleNumber
|
|
alias
|
|
canonicalUrl
|
|
unitPrice {
|
|
...Price
|
|
}
|
|
productImages {
|
|
fileName
|
|
}
|
|
primaryCategory {
|
|
name
|
|
alias
|
|
}
|
|
totalStock {
|
|
...Stock
|
|
}
|
|
}
|
|
${priceFragment}
|
|
${stockFragment}
|
|
`;
|
|
export default listProductFragment;
|