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
35
frontend/node_modules/es-toolkit/dist/compat/object/pick.d.mts
generated
vendored
Normal file
35
frontend/node_modules/es-toolkit/dist/compat/object/pick.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
import { Many } from "../_internal/Many.mjs";
|
||||
import { PropertyPath } from "../_internal/PropertyPath.mjs";
|
||||
|
||||
//#region src/compat/object/pick.d.ts
|
||||
/**
|
||||
* Creates a new object composed of the picked object properties.
|
||||
*
|
||||
* @template T - The type of object.
|
||||
* @template U - The type of keys to pick.
|
||||
* @param object - The object to pick keys from.
|
||||
* @param props - An array of keys to be picked from the object.
|
||||
* @returns A new object with the specified keys picked.
|
||||
*
|
||||
* @example
|
||||
* const obj = { a: 1, b: 2, c: 3 };
|
||||
* const result = pick(obj, ['a', 'c']);
|
||||
* // result will be { a: 1, c: 3 }
|
||||
*/
|
||||
declare function pick<T extends object, U extends keyof T>(object: T, ...props: Array<Many<U>>): Pick<T, U>;
|
||||
/**
|
||||
* Creates a new object composed of the picked object properties.
|
||||
*
|
||||
* @template T - The type of object.
|
||||
* @param object - The object to pick keys from.
|
||||
* @param props - An array of keys to be picked from the object.
|
||||
* @returns A new object with the specified keys picked.
|
||||
*
|
||||
* @example
|
||||
* const obj = { a: 1, b: 2, c: 3 };
|
||||
* const result = pick(obj, ['a', 'c']);
|
||||
* // result will be { a: 1, c: 3 }
|
||||
*/
|
||||
declare function pick<T>(object: T | null | undefined, ...props: Array<Many<PropertyPath>>): Partial<T>;
|
||||
//#endregion
|
||||
export { pick };
|
||||
Loading…
Add table
Add a link
Reference in a new issue