import { Annotation, Dimension, IAdvancedFilter, IFilter, ISlicer } from '../types'; import { ChartAnnotation } from './chart'; import { PresentationVariant } from './presentation'; /** */ export interface SelectionVariant { id?: string; text?: string; parameters?: { [key: string]: any; }; selectOptions?: Array; /** * Filter string for query part of URL, without `$filter=` * @todo */ filterExpression?: string; } export interface SelectionFieldsAnnotation extends Annotation { propertyPaths: Array; } /** * see [SelectionPresentationVariantType](https://github.com/SAP/odata-vocabularies/blob/master/vocabularies/UI.md#SelectionPresentationVariantType) */ export interface SelectionPresentationVariant { default?: boolean; id?: string; label?: string; selectionVariant?: SelectionVariant; presentationVariant?: PresentationVariant; chartAnnotation?: ChartAnnotation; }