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
93
frontend/node_modules/es-toolkit/dist/array/toFilled.d.ts
generated
vendored
Normal file
93
frontend/node_modules/es-toolkit/dist/array/toFilled.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
//#region src/array/toFilled.d.ts
|
||||
/**
|
||||
* Creates a new array filled with the specified value from the start position up to, but not including, the end position.
|
||||
* This function does not mutate the original array.
|
||||
*
|
||||
* @template T - The type of elements in the original array.
|
||||
* @template U - The type of the value to fill the new array with.
|
||||
* @param arr - The array to base the new array on.
|
||||
* @param value - The value to fill the new array with.
|
||||
* @returns The new array with the filled values.
|
||||
*
|
||||
* @example
|
||||
* const array = [1, 2, 3, 4, 5];
|
||||
* let result = toFilled(array, '*', 2);
|
||||
* console.log(result); // [1, 2, '*', '*', '*']
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*
|
||||
* result = toFilled(array, '*', 1, 4);
|
||||
* console.log(result); // [1, '*', '*', '*', 5]
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*
|
||||
* result = toFilled(array, '*');
|
||||
* console.log(result); // ['*', '*', '*', '*', '*']
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*
|
||||
* result = toFilled(array, '*', -4, -1);
|
||||
* console.log(result); // [1, '*', '*', '*', 5]
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*/
|
||||
declare function toFilled<T, U>(arr: readonly T[], value: U): Array<T | U>;
|
||||
/**
|
||||
* Creates a new array filled with the specified value from the start position up to, but not including, the end position.
|
||||
* This function does not mutate the original array.
|
||||
*
|
||||
* @template T - The type of elements in the original array.
|
||||
* @template U - The type of the value to fill the new array with.
|
||||
* @param arr - The array to base the new array on.
|
||||
* @param value - The value to fill the new array with.
|
||||
* @param [start=0] - The start position. Defaults to 0.
|
||||
* @returns The new array with the filled values.
|
||||
*
|
||||
* @example
|
||||
* const array = [1, 2, 3, 4, 5];
|
||||
* let result = toFilled(array, '*', 2);
|
||||
* console.log(result); // [1, 2, '*', '*', '*']
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*
|
||||
* result = toFilled(array, '*', 1, 4);
|
||||
* console.log(result); // [1, '*', '*', '*', 5]
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*
|
||||
* result = toFilled(array, '*');
|
||||
* console.log(result); // ['*', '*', '*', '*', '*']
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*
|
||||
* result = toFilled(array, '*', -4, -1);
|
||||
* console.log(result); // [1, '*', '*', '*', 5]
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*/
|
||||
declare function toFilled<T, U>(arr: readonly T[], value: U, start: number): Array<T | U>;
|
||||
/**
|
||||
* Creates a new array filled with the specified value from the start position up to, but not including, the end position.
|
||||
* This function does not mutate the original array.
|
||||
*
|
||||
* @template T - The type of elements in the original array.
|
||||
* @template U - The type of the value to fill the new array with.
|
||||
* @param arr - The array to base the new array on.
|
||||
* @param value - The value to fill the new 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 new array with the filled values.
|
||||
*
|
||||
* @example
|
||||
* const array = [1, 2, 3, 4, 5];
|
||||
* let result = toFilled(array, '*', 2);
|
||||
* console.log(result); // [1, 2, '*', '*', '*']
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*
|
||||
* result = toFilled(array, '*', 1, 4);
|
||||
* console.log(result); // [1, '*', '*', '*', 5]
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*
|
||||
* result = toFilled(array, '*');
|
||||
* console.log(result); // ['*', '*', '*', '*', '*']
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*
|
||||
* result = toFilled(array, '*', -4, -1);
|
||||
* console.log(result); // [1, '*', '*', '*', 5]
|
||||
* console.log(array); // [1, 2, 3, 4, 5]
|
||||
*/
|
||||
declare function toFilled<T, U>(arr: readonly T[], value: U, start: number, end: number): Array<T | U>;
|
||||
//#endregion
|
||||
export { toFilled };
|
||||
Loading…
Add table
Add a link
Reference in a new issue