@gooddata/react-components
Version:
GoodData React Components
13 lines (12 loc) • 458 B
TypeScript
import { Transformation } from '@gooddata/data-layer';
export declare const DESC = "desc";
export declare const ASC = "asc";
export declare const COLUMN_TYPE_METRIC = "metric";
export declare const COLUMN_TYPE_ATTRIBUTE = "attrLabel";
export interface ISortingChange {
id: string;
title: string;
type: string;
uri: string;
}
export declare function getSorting(change: ISortingChange, prevSorting: Transformation.ISort): Transformation.ISort;