@mindfiredigital/pivothead
Version:
PivotHead is a powerful and flexible library for creating interactive pivot tables in JavaScript applications. It provides a core engine for data manipulation and, in the future, will be compatible with wrappers for React, Vue, Svelte, and Angular, making
4 lines • 341 B
TypeScript
import type { SortConfig, GroupConfig, Group } from '../types/interfaces';
export declare function applySort<T extends Record<string, any>>(data: T[], sortConfig: SortConfig[], groupConfig?: GroupConfig | null): T[];
export declare function sortGroups(groups: Group[], sortConfig: SortConfig[]): Group[];
//# sourceMappingURL=sorter.d.ts.map