Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
20
frontend/node_modules/es-toolkit/dist/fp/array/chunkBy.d.mts
generated
vendored
Normal file
20
frontend/node_modules/es-toolkit/dist/fp/array/chunkBy.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
//#region src/fp/array/chunkBy.d.ts
|
||||
/**
|
||||
* Creates a function that splits consecutive elements whenever the derived key changes.
|
||||
*
|
||||
* The iteratee is called from left to right. A new chunk starts when its key differs
|
||||
* from the previous key by strict inequality. Use the returned function with {@link pipe}.
|
||||
*
|
||||
* @template T - The type of elements in the array.
|
||||
* @param iteratee - Called for each value to produce the comparison key.
|
||||
* @returns A function that maps a readonly array to consecutive same-key chunks.
|
||||
*
|
||||
* @example
|
||||
* import { chunkBy, pipe } from 'es-toolkit/fp';
|
||||
*
|
||||
* pipe([1, 1, 2, 3, 3], chunkBy(value => value));
|
||||
* // => [[1, 1], [2], [3, 3]]
|
||||
*/
|
||||
declare function chunkBy<T>(iteratee: (value: T) => unknown): (array: readonly T[]) => T[][];
|
||||
//#endregion
|
||||
export { chunkBy };
|
||||
Loading…
Add table
Add a link
Reference in a new issue