mixlea-utils-js 0.1.97 → 0.1.99
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 +462 -422
- package/dist/mixlea-utils-js.umd.js +2 -2
- package/dist/types/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -641,6 +641,11 @@ export declare function getCurrentDate(): Date;
|
|
|
641
641
|
|
|
642
642
|
export declare function getRecordMergeKey<R extends Record<string, any>>(row: R, ...fields: (string | ((row: R) => any))[]): any;
|
|
643
643
|
|
|
644
|
+
export declare function getSummarysPeriodPlan<T>(summarys: number[], arrs: T[], opts?: {
|
|
645
|
+
getter?: (row: T) => number;
|
|
646
|
+
include?: (row: T) => boolean;
|
|
647
|
+
}): T[][];
|
|
648
|
+
|
|
644
649
|
export declare function getToday(): Date;
|
|
645
650
|
|
|
646
651
|
export declare function getTodayEndTimestamp(): number;
|