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
40
frontend/node_modules/es-toolkit/dist/compat/array/keyBy.d.mts
generated
vendored
Normal file
40
frontend/node_modules/es-toolkit/dist/compat/array/keyBy.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
import { ValueIterateeCustom } from "../_internal/ValueIterateeCustom.mjs";
|
||||
|
||||
//#region src/compat/array/keyBy.d.ts
|
||||
/**
|
||||
* Creates an object composed of keys generated from the results of running each element of collection thru iteratee.
|
||||
*
|
||||
* @template T
|
||||
* @param collection - The collection to iterate over.
|
||||
* @param [iteratee] - The iteratee to transform keys.
|
||||
* @returns Returns the composed aggregate object.
|
||||
*
|
||||
* @example
|
||||
* const array = [
|
||||
* { dir: 'left', code: 97 },
|
||||
* { dir: 'right', code: 100 }
|
||||
* ];
|
||||
*
|
||||
* keyBy(array, o => String.fromCharCode(o.code));
|
||||
* // => { a: { dir: 'left', code: 97 }, d: { dir: 'right', code: 100 } }
|
||||
*
|
||||
* keyBy(array, 'dir');
|
||||
* // => { left: { dir: 'left', code: 97 }, right: { dir: 'right', code: 100 } }
|
||||
*/
|
||||
declare function keyBy<T>(collection: ArrayLike<T> | null | undefined, iteratee?: ValueIterateeCustom<T, PropertyKey>): Record<string, T>;
|
||||
/**
|
||||
* Creates an object composed of keys generated from the results of running each element of collection thru iteratee.
|
||||
*
|
||||
* @template T
|
||||
* @param collection - The object to iterate over.
|
||||
* @param [iteratee] - The iteratee to transform keys.
|
||||
* @returns Returns the composed aggregate object.
|
||||
*
|
||||
* @example
|
||||
* const obj = { a: { dir: 'left', code: 97 }, b: { dir: 'right', code: 100 } };
|
||||
* keyBy(obj, o => String.fromCharCode(o.code));
|
||||
* // => { a: { dir: 'left', code: 97 }, d: { dir: 'right', code: 100 } }
|
||||
*/
|
||||
declare function keyBy<T extends object>(collection: T | null | undefined, iteratee?: ValueIterateeCustom<T[keyof T], PropertyKey>): Record<string, T[keyof T]>;
|
||||
//#endregion
|
||||
export { keyBy };
|
||||
Loading…
Add table
Add a link
Reference in a new issue