api-core-lib 11.3.3 → 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 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
- * هوك متقدم يقوم ببناء مجموعة من الإجراءات القابلة للتنفيذ من إعدادات موديول API،
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
- * هوك متقدم يقوم ببناء مجموعة من الإجراءات القابلة للتنفيذ من إعدادات موديول API،
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