export type SortType = 'RELEVANCE' | 'NEWEST_FIRST' | 'PRICE_ASCENDING' | 'PRICE_DESCENDING' | 'DISCOUNT' | 'RATING' | 'NAME' | 'LENGTH_INCREASING' | 'LENGTH_DECREASING' | 'WIDTH_INCREASING' | 'WIDTH_DECREASING' | 'HEIGHT_INCREASING' | 'HEIGHT_DECREASING' | 'DEPTH_INCREASING' | 'DEPTH_DECREASING' | 'VOLUME_INCREASING' | 'VOLUME_DECREASING' | 'WEIGHT_INCREASING' | 'WEIGHT_DECREASING' | 'TITLE'; export type ContentSortType = 'RELEVANCE' | 'NEWEST_FIRST'; export interface Sort { /** Which SortOption that is currently selected */ selected: T; /** SortOptions to choose from */ options: SortOption[]; } export interface SortOption { /** Identifier for SortOption */ id: T; /** Presentation text for SortOption */ label: string; }