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
30
frontend/node_modules/es-toolkit/dist/compat/array/zipObject.d.mts
generated
vendored
Normal file
30
frontend/node_modules/es-toolkit/dist/compat/array/zipObject.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
//#region src/compat/array/zipObject.d.ts
|
||||
/**
|
||||
* Combines two arrays, one of property names and one of corresponding values, into a single object.
|
||||
*
|
||||
* @template T - The type of values in the values array
|
||||
* @param props - An array of property names
|
||||
* @param values - An array of values corresponding to the property names
|
||||
* @returns A new object composed of the given property names and values
|
||||
*
|
||||
* @example
|
||||
* const props = ['a', 'b', 'c'];
|
||||
* const values = [1, 2, 3];
|
||||
* zipObject(props, values);
|
||||
* // => { a: 1, b: 2, c: 3 }
|
||||
*/
|
||||
declare function zipObject<T>(props: ArrayLike<PropertyKey>, values: ArrayLike<T>): Record<string, T>;
|
||||
/**
|
||||
* Creates an object from an array of property names, with undefined values.
|
||||
*
|
||||
* @param [props] - An array of property names
|
||||
* @returns A new object with the given property names and undefined values
|
||||
*
|
||||
* @example
|
||||
* const props = ['a', 'b', 'c'];
|
||||
* zipObject(props);
|
||||
* // => { a: undefined, b: undefined, c: undefined }
|
||||
*/
|
||||
declare function zipObject(props?: ArrayLike<PropertyKey>): Record<string, undefined>;
|
||||
//#endregion
|
||||
export { zipObject };
|
||||
Loading…
Add table
Add a link
Reference in a new issue