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,2 @@
import { omit } from "./omit.mjs";
import { pick } from "./pick.mjs";

View file

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

View file

@ -0,0 +1,2 @@
require("./omit.js");
require("./pick.js");

View file

@ -0,0 +1,2 @@
import "./omit.mjs";
import "./pick.mjs";

View file

@ -0,0 +1,18 @@
//#region src/fp/object/omit.d.ts
/**
* Creates a function that builds a new object with the given `keys` removed from
* the input object. Use it with {@link pipe}.
*
* @template T - The type of the input object.
* @template K - The union of keys to omit.
* @param keys - The keys to exclude from the new object.
* @returns A function that maps an object `T` to `Omit<T, K>`.
*
* @example
* import { pipe, omit } from 'es-toolkit/fp';
*
* pipe({ a: 1, b: 2, c: 3 }, omit(['b', 'c'])); // => { a: 1 }
*/
declare function omit<T extends Record<string, any>, K extends keyof T>(keys: readonly K[]): (obj: T) => Omit<T, K>;
//#endregion
export { omit };

View file

@ -0,0 +1,18 @@
//#region src/fp/object/omit.d.ts
/**
* Creates a function that builds a new object with the given `keys` removed from
* the input object. Use it with {@link pipe}.
*
* @template T - The type of the input object.
* @template K - The union of keys to omit.
* @param keys - The keys to exclude from the new object.
* @returns A function that maps an object `T` to `Omit<T, K>`.
*
* @example
* import { pipe, omit } from 'es-toolkit/fp';
*
* pipe({ a: 1, b: 2, c: 3 }, omit(['b', 'c'])); // => { a: 1 }
*/
declare function omit<T extends Record<string, any>, K extends keyof T>(keys: readonly K[]): (obj: T) => Omit<T, K>;
//#endregion
export { omit };

View file

@ -0,0 +1,23 @@
const require_omit = require("../../object/omit.js");
//#region src/fp/object/omit.ts
/**
* Creates a function that builds a new object with the given `keys` removed from
* the input object. Use it with {@link pipe}.
*
* @template T - The type of the input object.
* @template K - The union of keys to omit.
* @param keys - The keys to exclude from the new object.
* @returns A function that maps an object `T` to `Omit<T, K>`.
*
* @example
* import { pipe, omit } from 'es-toolkit/fp';
*
* pipe({ a: 1, b: 2, c: 3 }, omit(['b', 'c'])); // => { a: 1 }
*/
function omit(keys) {
return function(obj) {
return require_omit.omit(obj, keys);
};
}
//#endregion
exports.omit = omit;

View file

@ -0,0 +1,23 @@
import { omit as omit$1 } from "../../object/omit.mjs";
//#region src/fp/object/omit.ts
/**
* Creates a function that builds a new object with the given `keys` removed from
* the input object. Use it with {@link pipe}.
*
* @template T - The type of the input object.
* @template K - The union of keys to omit.
* @param keys - The keys to exclude from the new object.
* @returns A function that maps an object `T` to `Omit<T, K>`.
*
* @example
* import { pipe, omit } from 'es-toolkit/fp';
*
* pipe({ a: 1, b: 2, c: 3 }, omit(['b', 'c'])); // => { a: 1 }
*/
function omit(keys) {
return function(obj) {
return omit$1(obj, keys);
};
}
//#endregion
export { omit };

View file

@ -0,0 +1,19 @@
//#region src/fp/object/pick.d.ts
/**
* Creates a function that builds a new object containing only the given `keys`
* from the input object. Keys that are absent on the input are skipped. Use it
* with {@link pipe}.
*
* @template T - The type of the input object.
* @template K - The union of keys to pick.
* @param keys - The keys to copy into the new object.
* @returns A function that maps an object `T` to `Pick<T, K>`.
*
* @example
* import { pipe, pick } from 'es-toolkit/fp';
*
* pipe({ a: 1, b: 2, c: 3 }, pick(['a', 'c'])); // => { a: 1, c: 3 }
*/
declare function pick<T extends Record<string, any>, K extends keyof T>(keys: readonly K[]): (obj: T) => Pick<T, K>;
//#endregion
export { pick };

View file

@ -0,0 +1,19 @@
//#region src/fp/object/pick.d.ts
/**
* Creates a function that builds a new object containing only the given `keys`
* from the input object. Keys that are absent on the input are skipped. Use it
* with {@link pipe}.
*
* @template T - The type of the input object.
* @template K - The union of keys to pick.
* @param keys - The keys to copy into the new object.
* @returns A function that maps an object `T` to `Pick<T, K>`.
*
* @example
* import { pipe, pick } from 'es-toolkit/fp';
*
* pipe({ a: 1, b: 2, c: 3 }, pick(['a', 'c'])); // => { a: 1, c: 3 }
*/
declare function pick<T extends Record<string, any>, K extends keyof T>(keys: readonly K[]): (obj: T) => Pick<T, K>;
//#endregion
export { pick };

View file

@ -0,0 +1,24 @@
const require_pick = require("../../object/pick.js");
//#region src/fp/object/pick.ts
/**
* Creates a function that builds a new object containing only the given `keys`
* from the input object. Keys that are absent on the input are skipped. Use it
* with {@link pipe}.
*
* @template T - The type of the input object.
* @template K - The union of keys to pick.
* @param keys - The keys to copy into the new object.
* @returns A function that maps an object `T` to `Pick<T, K>`.
*
* @example
* import { pipe, pick } from 'es-toolkit/fp';
*
* pipe({ a: 1, b: 2, c: 3 }, pick(['a', 'c'])); // => { a: 1, c: 3 }
*/
function pick(keys) {
return function(obj) {
return require_pick.pick(obj, keys);
};
}
//#endregion
exports.pick = pick;

View file

@ -0,0 +1,24 @@
import { pick as pick$1 } from "../../object/pick.mjs";
//#region src/fp/object/pick.ts
/**
* Creates a function that builds a new object containing only the given `keys`
* from the input object. Keys that are absent on the input are skipped. Use it
* with {@link pipe}.
*
* @template T - The type of the input object.
* @template K - The union of keys to pick.
* @param keys - The keys to copy into the new object.
* @returns A function that maps an object `T` to `Pick<T, K>`.
*
* @example
* import { pipe, pick } from 'es-toolkit/fp';
*
* pipe({ a: 1, b: 2, c: 3 }, pick(['a', 'c'])); // => { a: 1, c: 3 }
*/
function pick(keys) {
return function(obj) {
return pick$1(obj, keys);
};
}
//#endregion
export { pick };