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
23
frontend/node_modules/es-toolkit/dist/compat/util/method.d.ts
generated
vendored
Normal file
23
frontend/node_modules/es-toolkit/dist/compat/util/method.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
//#region src/compat/util/method.d.ts
|
||||
/**
|
||||
* Creates a function that invokes the method at `path` of a given object with the provided arguments.
|
||||
*
|
||||
* @param path - The path of the method to invoke.
|
||||
* @param args - The arguments to invoke the method with.
|
||||
* @returns Returns a new function that takes an object and invokes the method at `path` with `args`.
|
||||
*
|
||||
* @example
|
||||
* const object = {
|
||||
* a: {
|
||||
* b: function (x, y) {
|
||||
* return x + y;
|
||||
* }
|
||||
* }
|
||||
* };
|
||||
*
|
||||
* const add = method('a.b', 1, 2);
|
||||
* console.log(add(object)); // => 3
|
||||
*/
|
||||
declare function method(path: PropertyKey | readonly PropertyKey[], ...args: any[]): (object: any) => any;
|
||||
//#endregion
|
||||
export { method };
|
||||
Loading…
Add table
Add a link
Reference in a new issue