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
18
frontend/node_modules/es-toolkit/dist/function/once.d.mts
generated
vendored
Normal file
18
frontend/node_modules/es-toolkit/dist/function/once.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
//#region src/function/once.d.ts
|
||||
/**
|
||||
* Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.
|
||||
*
|
||||
* @template F - The type of the function.
|
||||
* @param func - The function to restrict.
|
||||
* @returns Returns the new restricted function.
|
||||
*
|
||||
* @example
|
||||
* const initialize = once(createApplication);
|
||||
*
|
||||
* initialize();
|
||||
* initialize();
|
||||
* // => `createApplication` is invoked once
|
||||
*/
|
||||
declare function once<F extends (...args: any[]) => any>(func: F): F;
|
||||
//#endregion
|
||||
export { once };
|
||||
Loading…
Add table
Add a link
Reference in a new issue