@uxf/cms 6.0.0-beta.63 → 6.0.0-beta.64

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.
@@ -2,5 +2,5 @@ import { AxiosRequestConfig } from "axios";
2
2
  export declare function createAxiosInstance(requestConfig?: AxiosRequestConfig): {
3
3
  axiosInstance: import("axios").AxiosInstance;
4
4
  axiosRequest: <Response_1>(ctx: any, url: string, method: import("axios").Method, body: object | null, query: object | null) => Promise<import("axios").AxiosResponse<Response_1, any>>;
5
- useAxiosRequest: <Response_2 extends Record<string, any>, RequestBody extends Record<string, any> | null, RequestQuery extends Record<string, any> | null, RequestPath extends Record<string, any> | null>(url: string, method: import("axios").Method, config: import("./types").RequestConfig<RequestBody, RequestQuery, RequestPath>) => [import("axios-hooks").ResponseValues<Response_2, any, any>, import("./types").Execute<Response_2, RequestBody, RequestQuery, RequestPath>];
5
+ useAxiosRequest: <Response_2 extends boolean | Record<string, any>, RequestBody extends Record<string, any> | null, RequestQuery extends Record<string, any> | null, RequestPath extends Record<string, any> | null>(url: string, method: import("axios").Method, config: import("./types").RequestConfig<RequestBody, RequestQuery, RequestPath>) => [import("axios-hooks").ResponseValues<Response_2, any, any>, import("./types").Execute<Response_2, RequestBody, RequestQuery, RequestPath>];
6
6
  };
@@ -1,4 +1,4 @@
1
1
  import { AxiosInstance, AxiosRequestConfig, Method } from "axios";
2
2
  import { ResponseValues } from "axios-hooks";
3
3
  import { Execute, RequestConfig } from "./types";
4
- export declare const createUseAxiosRequest: (axiosInstance: AxiosInstance, requestConfig: AxiosRequestConfig) => <Response_1 extends Record<string, any>, RequestBody extends Record<string, any> | null, RequestQuery extends Record<string, any> | null, RequestPath extends Record<string, any> | null>(url: string, method: Method, config: RequestConfig<RequestBody, RequestQuery, RequestPath>) => [ResponseValues<Response_1, any, any>, Execute<Response_1, RequestBody, RequestQuery, RequestPath>];
4
+ export declare const createUseAxiosRequest: (axiosInstance: AxiosInstance, requestConfig: AxiosRequestConfig) => <Response_1 extends boolean | Record<string, any>, RequestBody extends Record<string, any> | null, RequestQuery extends Record<string, any> | null, RequestPath extends Record<string, any> | null>(url: string, method: Method, config: RequestConfig<RequestBody, RequestQuery, RequestPath>) => [ResponseValues<Response_1, any, any>, Execute<Response_1, RequestBody, RequestQuery, RequestPath>];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/cms",
3
- "version": "6.0.0-beta.63",
3
+ "version": "6.0.0-beta.64",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",