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,26 @@
import { isSubsetWith as isSubsetWith$1 } from "../../array/isSubsetWith.mjs";
//#region src/fp/array/isSubsetWith.ts
/**
* Creates a predicate that checks subset membership with a custom equality function.
*
* Every value in the piped array must match at least one value in superset according
* to areItemsEqual.
*
* @template T - The type of elements in the arrays.
* @param superset - The array that may contain all values from the piped array.
* @param areItemsEqual - Returns true when a piped value and a superset value are equal.
* @returns A predicate for the piped array.
*
* @example
* import { isSubsetWith, pipe } from 'es-toolkit/fp';
*
* pipe([{ id: 1 }], isSubsetWith([{ id: 1 }, { id: 2 }], (a, b) => a.id === b.id));
* // => true
*/
function isSubsetWith(superset, areItemsEqual) {
return function(array) {
return isSubsetWith$1(superset, array, areItemsEqual);
};
}
//#endregion
export { isSubsetWith };