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
38
frontend/node_modules/es-toolkit/dist/compat/array/dropRightWhile.d.ts
generated
vendored
Normal file
38
frontend/node_modules/es-toolkit/dist/compat/array/dropRightWhile.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
import { ListIteratee } from "../_internal/ListIteratee.js";
|
||||
|
||||
//#region src/compat/array/dropRightWhile.d.ts
|
||||
/**
|
||||
* Creates a slice of array excluding elements dropped from the end until predicate returns falsey.
|
||||
* The predicate is invoked with three arguments: (value, index, array).
|
||||
*
|
||||
* @template T - The type of elements in the array.
|
||||
* @param array - The array to query.
|
||||
* @param [predicate] - The function invoked per iteration.
|
||||
* @returns Returns the slice of array.
|
||||
* @example
|
||||
*
|
||||
* const users = [
|
||||
* { user: 'barney', active: true },
|
||||
* { user: 'fred', active: false },
|
||||
* { user: 'pebbles', active: false }
|
||||
* ];
|
||||
*
|
||||
* // Using function predicate
|
||||
* dropRightWhile(users, user => !user.active);
|
||||
* // => [{ user: 'barney', active: true }]
|
||||
*
|
||||
* // Using matches shorthand
|
||||
* dropRightWhile(users, { user: 'pebbles', active: false });
|
||||
* // => [{ user: 'barney', active: true }, { user: 'fred', active: false }]
|
||||
*
|
||||
* // Using matchesProperty shorthand
|
||||
* dropRightWhile(users, ['active', false]);
|
||||
* // => [{ user: 'barney', active: true }]
|
||||
*
|
||||
* // Using property shorthand
|
||||
* dropRightWhile(users, 'active');
|
||||
* // => [{ user: 'barney', active: true }, { user: 'fred', active: false }, { user: 'pebbles', active: false }]
|
||||
*/
|
||||
declare function dropRightWhile<T>(array: ArrayLike<T> | null | undefined, predicate?: ListIteratee<T>): T[];
|
||||
//#endregion
|
||||
export { dropRightWhile };
|
||||
Loading…
Add table
Add a link
Reference in a new issue