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
35
frontend/node_modules/es-toolkit/dist/compat/predicate/isMatch.js
generated
vendored
Normal file
35
frontend/node_modules/es-toolkit/dist/compat/predicate/isMatch.js
generated
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
const require_isMatchWith = require("./isMatchWith.js");
|
||||
//#region src/compat/predicate/isMatch.ts
|
||||
/**
|
||||
* Checks if the target matches the source by comparing their structures and values.
|
||||
* This function supports deep comparison for objects, arrays, maps, and sets.
|
||||
*
|
||||
* @param target - The target value to match against.
|
||||
* @param source - The source value to match with.
|
||||
* @returns Returns `true` if the target matches the source, otherwise `false`.
|
||||
*
|
||||
* @example
|
||||
* // Basic usage
|
||||
* isMatch({ a: 1, b: 2 }, { a: 1 }); // true
|
||||
*
|
||||
* @example
|
||||
* // Matching arrays
|
||||
* isMatch([1, 2, 3], [1, 2, 3]); // true
|
||||
*
|
||||
* @example
|
||||
* // Matching maps
|
||||
* const targetMap = new Map([['key1', 'value1'], ['key2', 'value2']]);
|
||||
* const sourceMap = new Map([['key1', 'value1']]);
|
||||
* isMatch(targetMap, sourceMap); // true
|
||||
*
|
||||
* @example
|
||||
* // Matching sets
|
||||
* const targetSet = new Set([1, 2, 3]);
|
||||
* const sourceSet = new Set([1, 2]);
|
||||
* isMatch(targetSet, sourceSet); // true
|
||||
*/
|
||||
function isMatch(target, source) {
|
||||
return require_isMatchWith.isMatchWith(target, source, () => void 0);
|
||||
}
|
||||
//#endregion
|
||||
exports.isMatch = isMatch;
|
||||
Loading…
Add table
Add a link
Reference in a new issue