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
86
frontend/node_modules/es-toolkit/dist/array/fill.d.ts
generated
vendored
Normal file
86
frontend/node_modules/es-toolkit/dist/array/fill.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
//#region src/array/fill.d.ts
|
||||
/**
|
||||
* Fills the whole array with a specified value.
|
||||
*
|
||||
* This function mutates the original array and replaces its elements with the provided value, starting from the specified
|
||||
* start index up to the end index (non-inclusive). If the start or end indices are not provided, it defaults to filling the
|
||||
* entire array.
|
||||
*
|
||||
* @template T - The type of the value to fill the array with.
|
||||
* @param array - The array to fill.
|
||||
* @param value - The value to fill the array with.
|
||||
* @returns The array with the filled values.
|
||||
*
|
||||
* @example
|
||||
* fill([1, 2, 3], 'a');
|
||||
* // => ['a', 'a', 'a']
|
||||
*
|
||||
* fill(Array(3), 2);
|
||||
* // => [2, 2, 2]
|
||||
*
|
||||
* fill([4, 6, 8, 10], '*', 1, 3);
|
||||
* // => [4, '*', '*', 10]
|
||||
*
|
||||
* fill([1, 2, 3], '*', -2, -1);
|
||||
* // => [1, '*', 3]
|
||||
*/
|
||||
declare function fill<T>(array: unknown[], value: T): T[];
|
||||
/**
|
||||
* Fills elements of an array with a specified value from the start position up to the end of the array.
|
||||
*
|
||||
* This function mutates the original array and replaces its elements with the provided value, starting from the specified
|
||||
* start index up to the end index (non-inclusive). If the start or end indices are not provided, it defaults to filling the
|
||||
* entire array.
|
||||
*
|
||||
* @template T - The type of elements in the original array.
|
||||
* @template U - The type of the value to fill the array with.
|
||||
* @param array - The array to fill.
|
||||
* @param value - The value to fill the array with.
|
||||
* @param [start=0] - The start position. Defaults to 0.
|
||||
* @returns The array with the filled values.
|
||||
*
|
||||
* @example
|
||||
* fill([1, 2, 3], 'a');
|
||||
* // => ['a', 'a', 'a']
|
||||
*
|
||||
* fill(Array(3), 2);
|
||||
* // => [2, 2, 2]
|
||||
*
|
||||
* fill([4, 6, 8, 10], '*', 1, 3);
|
||||
* // => [4, '*', '*', 10]
|
||||
*
|
||||
* fill([1, 2, 3], '*', -2, -1);
|
||||
* // => [1, '*', 3]
|
||||
*/
|
||||
declare function fill<T, U>(array: Array<T | U>, value: U, start: number): Array<T | U>;
|
||||
/**
|
||||
* Fills elements of an array with a specified value from the start position up to, but not including, the end position.
|
||||
*
|
||||
* This function mutates the original array and replaces its elements with the provided value, starting from the specified
|
||||
* start index up to the end index (non-inclusive). If the start or end indices are not provided, it defaults to filling the
|
||||
* entire array.
|
||||
*
|
||||
* @template T - The type of elements in the original array.
|
||||
* @template U - The type of the value to fill the array with.
|
||||
* @param array - The array to fill.
|
||||
* @param value - The value to fill the array with.
|
||||
* @param [start=0] - The start position. Defaults to 0.
|
||||
* @param [end=arr.length] - The end position. Defaults to the array's length.
|
||||
* @returns The array with the filled values.
|
||||
*
|
||||
* @example
|
||||
* fill([1, 2, 3], 'a');
|
||||
* // => ['a', 'a', 'a']
|
||||
*
|
||||
* fill(Array(3), 2);
|
||||
* // => [2, 2, 2]
|
||||
*
|
||||
* fill([4, 6, 8, 10], '*', 1, 3);
|
||||
* // => [4, '*', '*', 10]
|
||||
*
|
||||
* fill([1, 2, 3], '*', -2, -1);
|
||||
* // => [1, '*', 3]
|
||||
*/
|
||||
declare function fill<T, U>(array: Array<T | U>, value: U, start: number, end: number): Array<T | U>;
|
||||
//#endregion
|
||||
export { fill };
|
||||
Loading…
Add table
Add a link
Reference in a new issue