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
34
frontend/node_modules/es-toolkit/dist/compat/array/findLastIndex.d.ts
generated
vendored
Normal file
34
frontend/node_modules/es-toolkit/dist/compat/array/findLastIndex.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
import { ListIterateeCustom } from "../_internal/ListIterateeCustom.js";
|
||||
|
||||
//#region src/compat/array/findLastIndex.d.ts
|
||||
/**
|
||||
* Finds the index of the last element in the array that satisfies the predicate.
|
||||
*
|
||||
* @template T
|
||||
* @param array - The array to search through.
|
||||
* @param [predicate] - The predicate function, partial object, property-value pair, or property name.
|
||||
* @param [fromIndex] - The index to start searching from.
|
||||
* @returns The index of the last matching element, or -1 if not found.
|
||||
*
|
||||
* @example
|
||||
* const users = [
|
||||
* { user: 'barney', active: true },
|
||||
* { user: 'fred', active: false },
|
||||
* { user: 'pebbles', active: false }
|
||||
* ];
|
||||
*
|
||||
* findLastIndex(users, o => o.user === 'pebbles');
|
||||
* // => 2
|
||||
*
|
||||
* findLastIndex(users, { user: 'barney', active: true });
|
||||
* // => 0
|
||||
*
|
||||
* findLastIndex(users, ['active', false]);
|
||||
* // => 2
|
||||
*
|
||||
* findLastIndex(users, 'active');
|
||||
* // => 0
|
||||
*/
|
||||
declare function findLastIndex<T>(array: ArrayLike<T> | null | undefined, predicate?: ListIterateeCustom<T, boolean>, fromIndex?: number): number;
|
||||
//#endregion
|
||||
export { findLastIndex };
|
||||
Loading…
Add table
Add a link
Reference in a new issue