UNPKG

pixie-transformer

Version:

Pixie Transformer is transforming a Raw/Response JSON Payload into your expected JSON Payload. It's make your life easy and convenience without any logic required in your code.

19 lines (18 loc) 532 B
export declare enum SORT { NONE = 0, ACS = 1, DESC = 2 } export interface SortInterface { sortType: SORT; sortProperty?: Array<string>; naturalSort?: boolean; } export declare class Sort implements SortInterface { sortType: SORT; sortProperty?: any; naturalSort?: boolean | undefined; constructor(sortType: SORT, sortProperty?: any, naturalSort?: boolean | undefined); } declare function Sorting(data: any, sortType: SORT, sortProperty?: any, naturalSort?: boolean): any; export { Sorting };