UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

17 lines (16 loc) 920 B
import { AFM } from "@gooddata/typings"; export declare class AttributeSortItemBuilder implements AFM.IAttributeSortItem { attributeSortItem: AFM.IAttributeSortItem["attributeSortItem"]; constructor(attributeIdentifier: string, direction: AFM.SortDirection); aggregation: (aggregation: "sum") => this; } export declare class MeasureSortItemBuilder implements AFM.IMeasureSortItem { measureSortItem: AFM.IMeasureSortItem["measureSortItem"]; constructor(measureIdentifier: AFM.Identifier, direction: AFM.SortDirection); attributeLocators: (...attributeLocators: { attributeIdentifier: string; element: string; }[]) => this; } export declare const attributeSortItem: (attributeIdentifier: string, direction: AFM.SortDirection) => AttributeSortItemBuilder; export declare const measureSortItem: (measureIdentifier: string, direction: AFM.SortDirection) => MeasureSortItemBuilder;