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
31
frontend/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.d.ts
generated
vendored
Normal file
31
frontend/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
import { IsMatchWithCustomizer } from "../_internal/IsMatchWithCustomizer.js";
|
||||
|
||||
//#region src/compat/predicate/isMatchWith.d.ts
|
||||
/**
|
||||
* Performs a deep comparison between a target value and a source pattern to determine if they match,
|
||||
* using a custom comparison function for fine-grained control over the matching logic.
|
||||
*
|
||||
* @param target - The value to be tested for matching
|
||||
* @param source - The pattern/template to match against
|
||||
* @param compare - Custom comparison function for fine-grained control
|
||||
* @returns `true` if the target matches the source pattern, `false` otherwise
|
||||
*
|
||||
* @example
|
||||
* // Basic matching with custom comparator
|
||||
* const caseInsensitiveCompare = (objVal, srcVal) => {
|
||||
* if (typeof objVal === 'string' && typeof srcVal === 'string') {
|
||||
* return objVal.toLowerCase() === srcVal.toLowerCase();
|
||||
* }
|
||||
* return undefined;
|
||||
* };
|
||||
*
|
||||
* isMatchWith(
|
||||
* { name: 'JOHN', age: 30 },
|
||||
* { name: 'john' },
|
||||
* caseInsensitiveCompare
|
||||
* ); // true
|
||||
*/
|
||||
declare function isMatchWith(target: object, source: object, compare: IsMatchWithCustomizer): boolean;
|
||||
declare function isSetMatch(target: unknown, source: Set<any>, compare: (objValue: any, srcValue: any, key: PropertyKey, object: any, source: any, stack?: Map<any, any>) => boolean | undefined, stack?: Map<any, any>): boolean;
|
||||
//#endregion
|
||||
export { isMatchWith };
|
||||
Loading…
Add table
Add a link
Reference in a new issue