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
39
frontend/node_modules/es-toolkit/dist/compat/array/sample.d.mts
generated
vendored
Normal file
39
frontend/node_modules/es-toolkit/dist/compat/array/sample.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
//#region src/compat/array/sample.d.ts
|
||||
/**
|
||||
* Gets a random element from collection.
|
||||
*
|
||||
* @template T
|
||||
* @param collection - The collection to sample.
|
||||
* @returns Returns the random element.
|
||||
*
|
||||
* @example
|
||||
* sample([1, 2, 3, 4]);
|
||||
* // => 2
|
||||
*/
|
||||
declare function sample<T>(collection: readonly [T, ...T[]]): T;
|
||||
/**
|
||||
* Gets a random element from collection.
|
||||
*
|
||||
* @template T
|
||||
* @param collection - The collection to sample.
|
||||
* @returns Returns the random element.
|
||||
*
|
||||
* @example
|
||||
* sample({ 'a': 1, 'b': 2, 'c': 3 });
|
||||
* // => 2
|
||||
*/
|
||||
declare function sample<T>(collection: Record<string, T> | Record<number, T> | null | undefined): T | undefined;
|
||||
/**
|
||||
* Gets a random element from collection.
|
||||
*
|
||||
* @template T
|
||||
* @param collection - The collection to sample.
|
||||
* @returns Returns the random element.
|
||||
*
|
||||
* @example
|
||||
* sample({ 'a': 1, 'b': 2, 'c': 3 });
|
||||
* // => 2
|
||||
*/
|
||||
declare function sample<T extends object>(collection: T | null | undefined): T[keyof T] | undefined;
|
||||
//#endregion
|
||||
export { sample };
|
||||
Loading…
Add table
Add a link
Reference in a new issue