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
34
frontend/node_modules/es-toolkit/dist/compat/object/at.d.ts
generated
vendored
Normal file
34
frontend/node_modules/es-toolkit/dist/compat/object/at.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
//#region src/compat/object/at.d.ts
|
||||
type PropertyName = string | number | symbol;
|
||||
type Many<T> = T | readonly T[];
|
||||
type PropertyPath = Many<PropertyName>;
|
||||
/**
|
||||
* Gets values at given paths from a dictionary or numeric dictionary.
|
||||
*
|
||||
* @template T - The type of the values in the dictionary.
|
||||
* @param object - The dictionary to query.
|
||||
* @param props - The property paths to get values for.
|
||||
* @returns Returns an array of the picked values.
|
||||
*
|
||||
* @example
|
||||
* const object = { 'a': 1, 'b': 2, 'c': 3 };
|
||||
* at(object, 'a', 'c');
|
||||
* // => [1, 3]
|
||||
*/
|
||||
declare function at<T>(object: Record<string, T> | Record<number, T> | null | undefined, ...props: PropertyPath[]): T[];
|
||||
/**
|
||||
* Gets values at given keys from an object.
|
||||
*
|
||||
* @template T - The type of the object.
|
||||
* @param object - The object to query.
|
||||
* @param props - The property keys to get values for.
|
||||
* @returns Returns an array of the picked values.
|
||||
*
|
||||
* @example
|
||||
* const object = { 'a': 1, 'b': 2, 'c': 3 };
|
||||
* at(object, 'a', 'c');
|
||||
* // => [1, 3]
|
||||
*/
|
||||
declare function at<T extends object>(object: T | null | undefined, ...props: Array<Many<keyof T>>): Array<T[keyof T]>;
|
||||
//#endregion
|
||||
export { at };
|
||||
Loading…
Add table
Add a link
Reference in a new issue