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
39
frontend/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.d.mts
generated
vendored
Normal file
39
frontend/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
import { PropertyPath } from "../_internal/PropertyPath.mjs";
|
||||
|
||||
//#region src/compat/predicate/matchesProperty.d.ts
|
||||
/**
|
||||
* Creates a function that checks if a given target object matches a specific property value.
|
||||
*
|
||||
* @template T
|
||||
* @template V
|
||||
* @param path - The property path to check within the target object.
|
||||
* @param srcValue - The value to compare against the property value in the target object.
|
||||
* @returns Returns a function that takes a target object and returns
|
||||
* `true` if the property value at the given path in the target object matches the provided value,
|
||||
* otherwise returns `false`.
|
||||
*
|
||||
* @example
|
||||
* const checkName = matchesProperty('name', 'Alice');
|
||||
* console.log(checkName({ name: 'Alice' })); // true
|
||||
* console.log(checkName({ name: 'Bob' })); // false
|
||||
*/
|
||||
declare function matchesProperty<T>(path: PropertyPath, srcValue: T): (value: any) => boolean;
|
||||
/**
|
||||
* Creates a function that checks if a given target object matches a specific property value.
|
||||
*
|
||||
* @template T
|
||||
* @template V
|
||||
* @param path - The property path to check within the target object.
|
||||
* @param srcValue - The value to compare against the property value in the target object.
|
||||
* @returns Returns a function that takes a target object and returns
|
||||
* `true` if the property value at the given path in the target object matches the provided value,
|
||||
* otherwise returns `false`.
|
||||
*
|
||||
* @example
|
||||
* const checkNested = matchesProperty(['address', 'city'], 'New York');
|
||||
* console.log(checkNested({ address: { city: 'New York' } })); // true
|
||||
* console.log(checkNested({ address: { city: 'Los Angeles' } })); // false
|
||||
*/
|
||||
declare function matchesProperty<T, V>(path: PropertyPath, srcValue: T): (value: V) => boolean;
|
||||
//#endregion
|
||||
export { matchesProperty };
|
||||
Loading…
Add table
Add a link
Reference in a new issue