mixlea-utils-js 0.1.47 → 0.1.48
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.
- package/dist/mixlea-utils-js.js +186 -182
- package/dist/mixlea-utils-js.umd.js +2 -2
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1104,6 +1104,8 @@ export declare function objectShallowMap(obj: Record<any, any>, keyFn: (key: any
|
|
|
1104
1104
|
*/
|
|
1105
1105
|
export declare function objectSome(obj: any, validateFunc: (fieldValue: any) => boolean, fields?: string[] | null, defaultValue?: boolean): boolean;
|
|
1106
1106
|
|
|
1107
|
+
export declare function objectSomeFields(input: any, fields: string[], func: (fieldValue: any, field: string) => boolean): boolean;
|
|
1108
|
+
|
|
1107
1109
|
export declare function objectStringify(obj: Record<string, any>, allowDots?: boolean): string;
|
|
1108
1110
|
|
|
1109
1111
|
export declare function objectToArray<T extends Record<string, any>>(obj: Record<string, any>, callback: (key: string, value: any) => T): T[];
|