mixlea-utils-js 0.1.91 → 0.1.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -142,10 +142,12 @@ export declare function arrayObjectFieldSame<T extends Record<string, any>>(inpu
142
142
  whenEmptyResult?: boolean;
143
143
  }): boolean;
144
144
 
145
- export declare function arrayObjectMultiSort(arr: Record<string, any>[], conditions: {
145
+ export declare function arrayObjectMultiSort<O extends Record<string, any>>(arr: O[], conditions: {
146
146
  prop: string;
147
147
  order?: 'asc' | 'desc';
148
- }[]): Record<string, any>[];
148
+ }[], opts?: {
149
+ keepLast?: (row: O) => boolean;
150
+ }): O[];
149
151
 
150
152
  export declare function arrayPickLast<T = any>(arr: T[]): T | null;
151
153
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mixlea-utils-js",
3
3
  "type": "module",
4
- "version": "0.1.91",
4
+ "version": "0.1.92",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
7
7
  "exports": {