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/math/sum.mjs
generated
vendored
Normal file
23
frontend/node_modules/es-toolkit/dist/compat/math/sum.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { sumBy } from "./sumBy.mjs";
|
||||
//#region src/compat/math/sum.ts
|
||||
/**
|
||||
* Computes the sum of the values that are returned by the `iteratee` function.
|
||||
*
|
||||
* It does not coerce values to `number`.
|
||||
*
|
||||
* @param array - The array to iterate over.
|
||||
* @returns Returns the sum.
|
||||
*
|
||||
* @example
|
||||
* sum([1, 2, 3]); // => 6
|
||||
* sum([1n, 2n, 3n]); // => 6n
|
||||
* sum(["1", "2"]); // => "12"
|
||||
* sum([1, undefined, 2]); // => 3
|
||||
* sum(null); // => 0
|
||||
* sum(undefined); // => 0
|
||||
*/
|
||||
function sum(array) {
|
||||
return sumBy(array);
|
||||
}
|
||||
//#endregion
|
||||
export { sum };
|
||||
Loading…
Add table
Add a link
Reference in a new issue