core-cde
Version:
18 lines (17 loc) • 629 B
TypeScript
import { SortDirection } from "../Data.module";
export interface SortInfoJSON {
columnName: string;
direction: SortDirection;
}
export declare class SortInfo {
columnName: string;
direction: SortDirection;
/**
* Конструктор. Не предназначено для использования внешним кодом.
* Следует использовать SortInfo.createNew()
*/
constructor();
static createNew(name: string, direction?: SortDirection): SortInfo;
static fromJSON(json: SortInfoJSON | string): SortInfo;
toJSON(): SortInfoJSON;
}