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/dropRightWhile.d.ts
generated
vendored
Normal file
20
frontend/node_modules/es-toolkit/dist/fp/array/dropRightWhile.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
//#region src/fp/array/dropRightWhile.d.ts
|
||||
/**
|
||||
* Creates a function that drops trailing values while a predicate returns true.
|
||||
*
|
||||
* The predicate is evaluated from right to left and receives the value, index, and full
|
||||
* input array. Use the returned function with {@link pipe}.
|
||||
*
|
||||
* @template T - The type of elements in the array.
|
||||
* @param predicate - Called with each value, index, and array while dropping from the end.
|
||||
* @returns A function that maps a readonly array to the remaining prefix.
|
||||
*
|
||||
* @example
|
||||
* import { dropRightWhile, pipe } from 'es-toolkit/fp';
|
||||
*
|
||||
* pipe([1, 2, 3, 4], dropRightWhile(value => value > 2));
|
||||
* // => [1, 2]
|
||||
*/
|
||||
declare function dropRightWhile<T>(predicate: (item: T, index: number, array: readonly T[]) => boolean): (array: readonly T[]) => T[];
|
||||
//#endregion
|
||||
export { dropRightWhile };
|
||||
Loading…
Add table
Add a link
Reference in a new issue