fui-material 2.7.4 → 2.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ import { ExtraOptions } from "../types";
|
|
|
5
5
|
* Параметры для функции `run`, запускающей запрос вручную.
|
|
6
6
|
* @template T - Тип передаваемых параметров запроса (тело POST или GET-параметры)
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface IUseFManualApiQueryRun<T> {
|
|
9
9
|
/** Новые основные параметры запроса (передаются как `data` в POST или `params` в GET) */
|
|
10
10
|
newParams?: T;
|
|
11
11
|
/** Дополнительные URL-параметры (query string) */
|
|
@@ -36,7 +36,7 @@ export type useFManualApiQueryResult<TData, TVariables> = UseQueryResult<TData,
|
|
|
36
36
|
* // Повторный вызов с текущими параметрами:
|
|
37
37
|
* await run();
|
|
38
38
|
*/
|
|
39
|
-
run: (options?:
|
|
39
|
+
run: (options?: IUseFManualApiQueryRun<TVariables>) => Promise<TData>;
|
|
40
40
|
/** Текущие основные параметры запроса */
|
|
41
41
|
params: TVariables | undefined;
|
|
42
42
|
/** Текущие дополнительные URL-параметры (query string) */
|