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
11
frontend/node_modules/es-toolkit/dist/fp/array/findLast.mjs
generated
vendored
Normal file
11
frontend/node_modules/es-toolkit/dist/fp/array/findLast.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
//#region src/fp/array/findLast.ts
|
||||
function findLast(predicate) {
|
||||
return function(array) {
|
||||
for (let index = array.length - 1; index >= 0; index--) {
|
||||
const value = array[index];
|
||||
if (predicate(value, index, array)) return value;
|
||||
}
|
||||
};
|
||||
}
|
||||
//#endregion
|
||||
export { findLast };
|
||||
Loading…
Add table
Add a link
Reference in a new issue