api-core-lib 11.3.2 → 11.4.3
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.
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -575,8 +575,9 @@ declare const processResponse: <T>(responseOrError: AxiosResponse<any> | ApiErro
|
|
|
575
575
|
declare function useApi<T>(axiosInstance: AxiosInstance, config: UseApiConfig<T>): UseApiReturn<T>;
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
|
-
*
|
|
579
|
-
*
|
|
578
|
+
* A sophisticated hook that dynamically builds a set of executable API actions from a module configuration.
|
|
579
|
+
* It provides a clean separation between stable functions and reactive state, preventing infinite loops
|
|
580
|
+
* and enabling advanced features like caching and automatic refetching with full type-safety and autocompletion.
|
|
580
581
|
*/
|
|
581
582
|
declare function useApiModule<TModule extends ApiModuleConfig>(axiosInstance: AxiosInstance, moduleConfig: TModule, options?: UseApiModuleOptions): UseApiModuleReturn<TModule>;
|
|
582
583
|
|
package/dist/index.d.ts
CHANGED
|
@@ -575,8 +575,9 @@ declare const processResponse: <T>(responseOrError: AxiosResponse<any> | ApiErro
|
|
|
575
575
|
declare function useApi<T>(axiosInstance: AxiosInstance, config: UseApiConfig<T>): UseApiReturn<T>;
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
|
-
*
|
|
579
|
-
*
|
|
578
|
+
* A sophisticated hook that dynamically builds a set of executable API actions from a module configuration.
|
|
579
|
+
* It provides a clean separation between stable functions and reactive state, preventing infinite loops
|
|
580
|
+
* and enabling advanced features like caching and automatic refetching with full type-safety and autocompletion.
|
|
580
581
|
*/
|
|
581
582
|
declare function useApiModule<TModule extends ApiModuleConfig>(axiosInstance: AxiosInstance, moduleConfig: TModule, options?: UseApiModuleOptions): UseApiModuleReturn<TModule>;
|
|
582
583
|
|