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
49
frontend/node_modules/es-toolkit/dist/array/forEachRight.d.mts
generated
vendored
Normal file
49
frontend/node_modules/es-toolkit/dist/array/forEachRight.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
//#region src/array/forEachRight.d.ts
|
||||
/**
|
||||
* Iterates over elements of 'arr' from right to left and invokes 'callback' for each element.
|
||||
*
|
||||
* @template T - The type of elements in the array.
|
||||
* @param arr - The array to iterate over.
|
||||
* @param callback - The function invoked per iteration.
|
||||
* The callback function receives three arguments:
|
||||
* - 'value': The current element being processed in the array.
|
||||
* - 'index': The index of the current element being processed in the array.
|
||||
* - 'arr': The array 'forEachRight' was called upon.
|
||||
*
|
||||
* @example
|
||||
* const array = [1, 2, 3];
|
||||
* const result: number[] = [];
|
||||
*
|
||||
* // Use the forEachRight function to iterate through the array and add each element to the result array.
|
||||
* forEachRight(array, (value) => {
|
||||
* result.push(value);
|
||||
* })
|
||||
*
|
||||
* console.log(result) // Output: [3, 2, 1]
|
||||
*/
|
||||
declare function forEachRight<T>(arr: T[], callback: (value: T, index: number, arr: T[]) => void): void;
|
||||
/**
|
||||
* Iterates over elements of 'arr' from right to left and invokes 'callback' for each element.
|
||||
*
|
||||
* @template T - The type of elements in the array.
|
||||
* @param arr - The array to iterate over.
|
||||
* @param callback - The function invoked per iteration.
|
||||
* The callback function receives three arguments:
|
||||
* - 'value': The current element being processed in the array.
|
||||
* - 'index': The index of the current element being processed in the array.
|
||||
* - 'arr': The array 'forEachRight' was called upon.
|
||||
*
|
||||
* @example
|
||||
* const array = [1, 2, 3];
|
||||
* const result: number[] = [];
|
||||
*
|
||||
* // Use the forEachRight function to iterate through the array and add each element to the result array.
|
||||
* forEachRight(array, (value) => {
|
||||
* result.push(value);
|
||||
* })
|
||||
*
|
||||
* console.log(result) // Output: [3, 2, 1]
|
||||
*/
|
||||
declare function forEachRight<T>(arr: readonly T[], callback: (value: T, index: number, arr: readonly T[]) => void): void;
|
||||
//#endregion
|
||||
export { forEachRight };
|
||||
Loading…
Add table
Add a link
Reference in a new issue