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
22
frontend/node_modules/es-toolkit/dist/set/map.d.ts
generated
vendored
Normal file
22
frontend/node_modules/es-toolkit/dist/set/map.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
//#region src/set/map.d.ts
|
||||
/**
|
||||
* Creates a new Set with elements transformed by the provided function.
|
||||
*
|
||||
* This function takes a Set and a function that generates a new value from each element.
|
||||
* It returns a new Set where the elements are the result of applying the function to each element.
|
||||
*
|
||||
* @template T - The type of elements in the input Set.
|
||||
* @template U - The type of elements in the output Set.
|
||||
* @param set - The Set to transform.
|
||||
* @param getNewValue - A function that generates a new value from an element.
|
||||
* @returns A new Set with transformed elements.
|
||||
*
|
||||
* @example
|
||||
* const set = new Set([1, 2, 3]);
|
||||
* const result = map(set, (value) => value * 2);
|
||||
* // result will be:
|
||||
* // Set(3) { 2, 4, 6 }
|
||||
*/
|
||||
declare function map<T, U>(set: Set<T>, getNewValue: (value: T, value2: T, set: Set<T>) => U): Set<U>;
|
||||
//#endregion
|
||||
export { map };
|
||||
Loading…
Add table
Add a link
Reference in a new issue