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
29
frontend/node_modules/es-toolkit/dist/compat/object/functions.js
generated
vendored
Normal file
29
frontend/node_modules/es-toolkit/dist/compat/object/functions.js
generated
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
const require_keys = require("./keys.js");
|
||||
//#region src/compat/object/functions.ts
|
||||
/**
|
||||
* Creates an array of property names from an object where the property values are functions.
|
||||
*
|
||||
* Only checks for own properties with string keys. Inherited properties or
|
||||
* properties with Symbol keys are not included.
|
||||
*
|
||||
* @param object The object to inspect.
|
||||
* @returns An array of function property names.
|
||||
*
|
||||
* @example
|
||||
*
|
||||
* function Foo() {
|
||||
* this.a = () => 'a'
|
||||
* this.b = () => 'b'
|
||||
* }
|
||||
*
|
||||
* Foo.prototype.c = () => 'c'
|
||||
*
|
||||
* functions(new Foo)
|
||||
* // => ['a', 'b']
|
||||
*/
|
||||
function functions(object) {
|
||||
if (object == null) return [];
|
||||
return require_keys.keys(object).filter((key) => typeof object[key] === "function");
|
||||
}
|
||||
//#endregion
|
||||
exports.functions = functions;
|
||||
Loading…
Add table
Add a link
Reference in a new issue