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
90
frontend/node_modules/es-toolkit/dist/compat/array/pullAllWith.d.ts
generated
vendored
Normal file
90
frontend/node_modules/es-toolkit/dist/compat/array/pullAllWith.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
import { MutableList } from "../_internal/MutableList.js";
|
||||
import { RejectReadonly } from "../_internal/RejectReadonly.js";
|
||||
|
||||
//#region src/compat/array/pullAllWith.d.ts
|
||||
/**
|
||||
* This method is like `_.pullAll` except that it accepts `comparator` which is
|
||||
* invoked to compare elements of array to values. The comparator is invoked with
|
||||
* two arguments: (arrVal, othVal).
|
||||
*
|
||||
* **Note:** Unlike `_.differenceWith`, this method mutates `array`.
|
||||
*
|
||||
* @template T
|
||||
* @param array - The array to modify.
|
||||
* @param [values] - The values to remove.
|
||||
* @param [comparator] - The comparator invoked per element.
|
||||
* @returns Returns `array`.
|
||||
*
|
||||
* @example
|
||||
* var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
|
||||
*
|
||||
* pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
|
||||
* console.log(array);
|
||||
* // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
|
||||
*/
|
||||
declare function pullAllWith<T>(array: T[], values?: ArrayLike<T>, comparator?: (a: T, b: T) => boolean): T[];
|
||||
/**
|
||||
* This method is like `_.pullAll` except that it accepts `comparator` which is
|
||||
* invoked to compare elements of array to values. The comparator is invoked with
|
||||
* two arguments: (arrVal, othVal).
|
||||
*
|
||||
* **Note:** Unlike `_.differenceWith`, this method mutates `array`.
|
||||
*
|
||||
* @template L
|
||||
* @param array - The array to modify.
|
||||
* @param [values] - The values to remove.
|
||||
* @param [comparator] - The comparator invoked per element.
|
||||
* @returns Returns `array`.
|
||||
*
|
||||
* @example
|
||||
* var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
|
||||
*
|
||||
* pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
|
||||
* console.log(array);
|
||||
* // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
|
||||
*/
|
||||
declare function pullAllWith<L extends MutableList<any>>(array: RejectReadonly<L>, values?: ArrayLike<L[0]>, comparator?: (a: L[0], b: L[0]) => boolean): L;
|
||||
/**
|
||||
* This method is like `_.pullAll` except that it accepts `comparator` which is
|
||||
* invoked to compare elements of array to values. The comparator is invoked with
|
||||
* two arguments: (arrVal, othVal).
|
||||
*
|
||||
* **Note:** Unlike `_.differenceWith`, this method mutates `array`.
|
||||
*
|
||||
* @template T, U
|
||||
* @param array - The array to modify.
|
||||
* @param values - The values to remove.
|
||||
* @param comparator - The comparator invoked per element.
|
||||
* @returns Returns `array`.
|
||||
*
|
||||
* @example
|
||||
* var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
|
||||
*
|
||||
* pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
|
||||
* console.log(array);
|
||||
* // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
|
||||
*/
|
||||
declare function pullAllWith<T, U>(array: T[], values: ArrayLike<U>, comparator: (a: T, b: U) => boolean): T[];
|
||||
/**
|
||||
* This method is like `_.pullAll` except that it accepts `comparator` which is
|
||||
* invoked to compare elements of array to values. The comparator is invoked with
|
||||
* two arguments: (arrVal, othVal).
|
||||
*
|
||||
* **Note:** Unlike `_.differenceWith`, this method mutates `array`.
|
||||
*
|
||||
* @template L1, L2
|
||||
* @param array - The array to modify.
|
||||
* @param values - The values to remove.
|
||||
* @param comparator - The comparator invoked per element.
|
||||
* @returns Returns `array`.
|
||||
*
|
||||
* @example
|
||||
* var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
|
||||
*
|
||||
* pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
|
||||
* console.log(array);
|
||||
* // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
|
||||
*/
|
||||
declare function pullAllWith<L1 extends MutableList<any>, L2>(array: RejectReadonly<L1>, values: ArrayLike<L2>, comparator: (a: L1[0], b: L2) => boolean): L1;
|
||||
//#endregion
|
||||
export { pullAllWith };
|
||||
Loading…
Add table
Add a link
Reference in a new issue