51 lines
No EOL
688 B
TypeScript
51 lines
No EOL
688 B
TypeScript
export const PRODUCT_FRAGMENT = gql`
|
|
fragment Product on ProductType {
|
|
uuid
|
|
name
|
|
price
|
|
quantity
|
|
slug
|
|
category {
|
|
name
|
|
}
|
|
images {
|
|
edges {
|
|
node {
|
|
image
|
|
}
|
|
}
|
|
}
|
|
attributeGroups {
|
|
edges {
|
|
node {
|
|
name
|
|
uuid
|
|
attributes {
|
|
name
|
|
uuid
|
|
values {
|
|
value
|
|
uuid
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
feedbacks {
|
|
edges {
|
|
node {
|
|
uuid
|
|
rating
|
|
}
|
|
}
|
|
}
|
|
tags {
|
|
edges {
|
|
node {
|
|
tagName
|
|
name
|
|
}
|
|
}
|
|
}
|
|
}
|
|
` |