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:
jtricerolph 2026-07-20 14:37:36 +00:00
parent cae411eae7
commit 1c411e402e
19809 changed files with 1962608 additions and 97 deletions

View file

@ -0,0 +1,17 @@
//#region src/fp/math/add.d.ts
/**
* Creates a function that adds `addend` to its input. Use it with {@link pipe},
* or as the callback of a function such as {@link map}.
*
* @param addend - The number to add to the input.
* @returns A function that maps a `number` to `value + addend`.
*
* @example
* import { pipe, map, add } from 'es-toolkit/fp';
*
* pipe(3, add(2)); // => 5
* pipe([1, 2, 3], map(add(10))); // => [11, 12, 13]
*/
declare function add(addend: number): (value: number) => number;
//#endregion
export { add };

17
frontend/node_modules/es-toolkit/dist/fp/math/add.d.ts generated vendored Normal file
View file

@ -0,0 +1,17 @@
//#region src/fp/math/add.d.ts
/**
* Creates a function that adds `addend` to its input. Use it with {@link pipe},
* or as the callback of a function such as {@link map}.
*
* @param addend - The number to add to the input.
* @returns A function that maps a `number` to `value + addend`.
*
* @example
* import { pipe, map, add } from 'es-toolkit/fp';
*
* pipe(3, add(2)); // => 5
* pipe([1, 2, 3], map(add(10))); // => [11, 12, 13]
*/
declare function add(addend: number): (value: number) => number;
//#endregion
export { add };

21
frontend/node_modules/es-toolkit/dist/fp/math/add.js generated vendored Normal file
View file

@ -0,0 +1,21 @@
//#region src/fp/math/add.ts
/**
* Creates a function that adds `addend` to its input. Use it with {@link pipe},
* or as the callback of a function such as {@link map}.
*
* @param addend - The number to add to the input.
* @returns A function that maps a `number` to `value + addend`.
*
* @example
* import { pipe, map, add } from 'es-toolkit/fp';
*
* pipe(3, add(2)); // => 5
* pipe([1, 2, 3], map(add(10))); // => [11, 12, 13]
*/
function add(addend) {
return function(value) {
return value + addend;
};
}
//#endregion
exports.add = add;

21
frontend/node_modules/es-toolkit/dist/fp/math/add.mjs generated vendored Normal file
View file

@ -0,0 +1,21 @@
//#region src/fp/math/add.ts
/**
* Creates a function that adds `addend` to its input. Use it with {@link pipe},
* or as the callback of a function such as {@link map}.
*
* @param addend - The number to add to the input.
* @returns A function that maps a `number` to `value + addend`.
*
* @example
* import { pipe, map, add } from 'es-toolkit/fp';
*
* pipe(3, add(2)); // => 5
* pipe([1, 2, 3], map(add(10))); // => [11, 12, 13]
*/
function add(addend) {
return function(value) {
return value + addend;
};
}
//#endregion
export { add };

View file

@ -0,0 +1,2 @@
import { add } from "./add.mjs";
import { multiply } from "./multiply.mjs";

View file

@ -0,0 +1,2 @@
import { add } from "./add.js";
import { multiply } from "./multiply.js";

View file

@ -0,0 +1,2 @@
require("./add.js");
require("./multiply.js");

View file

@ -0,0 +1,2 @@
import "./add.mjs";
import "./multiply.mjs";

View file

@ -0,0 +1,17 @@
//#region src/fp/math/multiply.d.ts
/**
* Creates a function that multiplies its input by `multiplicand`. Use it with
* {@link pipe}, or as the callback of a function such as {@link map}.
*
* @param multiplicand - The number to multiply the input by.
* @returns A function that maps a `number` to `value * multiplicand`.
*
* @example
* import { pipe, map, multiply } from 'es-toolkit/fp';
*
* pipe(3, multiply(2)); // => 6
* pipe([1, 2, 3], map(multiply(3))); // => [3, 6, 9]
*/
declare function multiply(multiplicand: number): (value: number) => number;
//#endregion
export { multiply };

View file

@ -0,0 +1,17 @@
//#region src/fp/math/multiply.d.ts
/**
* Creates a function that multiplies its input by `multiplicand`. Use it with
* {@link pipe}, or as the callback of a function such as {@link map}.
*
* @param multiplicand - The number to multiply the input by.
* @returns A function that maps a `number` to `value * multiplicand`.
*
* @example
* import { pipe, map, multiply } from 'es-toolkit/fp';
*
* pipe(3, multiply(2)); // => 6
* pipe([1, 2, 3], map(multiply(3))); // => [3, 6, 9]
*/
declare function multiply(multiplicand: number): (value: number) => number;
//#endregion
export { multiply };

View file

@ -0,0 +1,21 @@
//#region src/fp/math/multiply.ts
/**
* Creates a function that multiplies its input by `multiplicand`. Use it with
* {@link pipe}, or as the callback of a function such as {@link map}.
*
* @param multiplicand - The number to multiply the input by.
* @returns A function that maps a `number` to `value * multiplicand`.
*
* @example
* import { pipe, map, multiply } from 'es-toolkit/fp';
*
* pipe(3, multiply(2)); // => 6
* pipe([1, 2, 3], map(multiply(3))); // => [3, 6, 9]
*/
function multiply(multiplicand) {
return function(value) {
return value * multiplicand;
};
}
//#endregion
exports.multiply = multiply;

View file

@ -0,0 +1,21 @@
//#region src/fp/math/multiply.ts
/**
* Creates a function that multiplies its input by `multiplicand`. Use it with
* {@link pipe}, or as the callback of a function such as {@link map}.
*
* @param multiplicand - The number to multiply the input by.
* @returns A function that maps a `number` to `value * multiplicand`.
*
* @example
* import { pipe, map, multiply } from 'es-toolkit/fp';
*
* pipe(3, multiply(2)); // => 6
* pipe([1, 2, 3], map(multiply(3))); // => [3, 6, 9]
*/
function multiply(multiplicand) {
return function(value) {
return value * multiplicand;
};
}
//#endregion
export { multiply };