2022-01-14 13:33:59 -05:00

33 lines
531 B
TypeScript

import { productInfo } from './product';
export const searchFacets = /* GraphQL */`
fragment searchFacets on Facet {
label
field
values {
label
value
isApplied
filterValue
isDisplayed
count
}
}`;
export const searchResults = /* GraphQL */`
fragment searchResults on ProductSearchResult {
totalCount
pageSize
pageCount
startIndex
items {
...productInfo
}
facets {
...searchFacets
}
}
${searchFacets}
${productInfo}
`;