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
25
frontend/node_modules/es-toolkit/dist/fp/array/at.mjs
generated
vendored
Normal file
25
frontend/node_modules/es-toolkit/dist/fp/array/at.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import { at as at$1 } from "../../array/at.mjs";
|
||||
//#region src/fp/array/at.ts
|
||||
/**
|
||||
* Creates a function that retrieves elements from the piped array at the specified indices.
|
||||
*
|
||||
* Negative indices count back from the end of the array, matching the main {@link at}
|
||||
* implementation. Use the returned function with {@link pipe}.
|
||||
*
|
||||
* @template T - The type of elements in the array.
|
||||
* @param indices - The indices of the elements to retrieve from the piped array.
|
||||
* @returns A function that maps a readonly array to a new array of selected values.
|
||||
*
|
||||
* @example
|
||||
* import { at, pipe } from 'es-toolkit/fp';
|
||||
*
|
||||
* pipe([10, 20, 30, 40], at([1, -1]));
|
||||
* // => [20, 40]
|
||||
*/
|
||||
function at(indices) {
|
||||
return function(array) {
|
||||
return at$1(array, indices);
|
||||
};
|
||||
}
|
||||
//#endregion
|
||||
export { at };
|
||||
Loading…
Add table
Add a link
Reference in a new issue