import type { Resolver } from '..' ; import type { Attribute } from '../clients/search/types/AttributeSearchResult' ; type Root = Attribute ; export const StoreFacet = { key : ( { key } ) => key , label : ( { label } ) => label , values : ( { values } ) => values , type : ( { type } ) => ( type === 'text' ? 'BOOLEAN' : 'RANGE' ) } ;