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
36
frontend/node_modules/es-toolkit/dist/compat/util/toArray.d.mts
generated
vendored
Normal file
36
frontend/node_modules/es-toolkit/dist/compat/util/toArray.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
//#region src/compat/util/toArray.d.ts
|
||||
/**
|
||||
* Converts a record or null/undefined to an array of its values.
|
||||
*
|
||||
* @template T
|
||||
* @param value - The record or null/undefined to convert.
|
||||
* @returns Returns an array of the record's values or an empty array if null/undefined.
|
||||
*
|
||||
* @example
|
||||
* toArray({ 'a': 1, 'b': 2 }) // => returns [1, 2]
|
||||
* toArray(null) // => returns []
|
||||
*/
|
||||
declare function toArray<T>(value: Record<string, T> | Record<number, T> | null | undefined): T[];
|
||||
/**
|
||||
* Converts a value to an array of its values.
|
||||
*
|
||||
* @template T
|
||||
* @param value - The value to convert.
|
||||
* @returns Returns an array of the value's values.
|
||||
*
|
||||
* @example
|
||||
* toArray({ x: 10, y: 20 }) // => returns [10, 20]
|
||||
* toArray('abc') // => returns ['a', 'b', 'c']
|
||||
*/
|
||||
declare function toArray<T>(value: T): Array<T[keyof T]>;
|
||||
/**
|
||||
* Converts an undefined value to an empty array.
|
||||
*
|
||||
* @returns Returns an empty array.
|
||||
*
|
||||
* @example
|
||||
* toArray() // => returns []
|
||||
*/
|
||||
declare function toArray(): any[];
|
||||
//#endregion
|
||||
export { toArray };
|
||||
Loading…
Add table
Add a link
Reference in a new issue