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
37
frontend/node_modules/es-toolkit/dist/compat/array/takeRightWhile.d.ts
generated
vendored
Normal file
37
frontend/node_modules/es-toolkit/dist/compat/array/takeRightWhile.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
import { ListIteratee } from "../_internal/ListIteratee.js";
|
||||
|
||||
//#region src/compat/array/takeRightWhile.d.ts
|
||||
/**
|
||||
* Creates a slice of array with elements taken from the end. Elements are taken until predicate
|
||||
* returns falsey. The predicate is invoked with three arguments: (value, index, array).
|
||||
*
|
||||
* @template T
|
||||
* @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 }
|
||||
* ];
|
||||
*
|
||||
* takeRightWhile(users, function(o) { return !o.active; });
|
||||
* // => objects for ['fred', 'pebbles']
|
||||
*
|
||||
* @example
|
||||
* takeRightWhile(users, { 'user': 'pebbles', 'active': false });
|
||||
* // => objects for ['pebbles']
|
||||
*
|
||||
* @example
|
||||
* takeRightWhile(users, ['active', false]);
|
||||
* // => objects for ['fred', 'pebbles']
|
||||
*
|
||||
* @example
|
||||
* takeRightWhile(users, 'active');
|
||||
* // => []
|
||||
*/
|
||||
declare function takeRightWhile<T>(array: ArrayLike<T> | null | undefined, predicate?: ListIteratee<T>): T[];
|
||||
//#endregion
|
||||
export { takeRightWhile };
|
||||
Loading…
Add table
Add a link
Reference in a new issue