mixlea-utils-js 0.1.79 → 0.1.80

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.
@@ -1048,8 +1048,12 @@ export declare function numberToInt(input: any, method?: 'floor' | 'ceil' | 'rou
1048
1048
 
1049
1049
  export declare function objectArrayExpressionCalcInject(arr: Record<string, any>[], injects: Record<string, string>): Record<string, any>[];
1050
1050
 
1051
+ export declare function objectArrayMaxField<T extends Record<string, any>, K extends keyof T>(arr: T[], field: K, defaultValue?: T[K]): number;
1052
+
1051
1053
  export declare function objectArrayMerge<T extends Record<string, any>>(arr: T[], classNames: string[], mergeCallback?: (mergeRecord: T, item: T) => T): T[];
1052
1054
 
1055
+ export declare function objectArrayMinField<T extends Record<string, any>, K extends keyof T>(arr: T[], field: K, defaultValue?: T[K]): number;
1056
+
1053
1057
  export declare function objectArrayPick(arr: Record<string, any>[], pick: string): any[];
1054
1058
 
1055
1059
  export declare function objectArrayResetFields<T extends Record<string, any>>(arr: T[], resetFields: Record<string, any>): T[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mixlea-utils-js",
3
3
  "type": "module",
4
- "version": "0.1.79",
4
+ "version": "0.1.80",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
7
7
  "exports": {