refactor(shared): update utilities, API layer, and types

This commit is contained in:
Ilia Mashkov committed 2026-03-02 22:19:13 +03:00
1 parent ac73fd5044
commit 13818d5844
17 files changed
+554 -96

No files matched your search

+10
View File
@@ -1,4 +1,14 @@
/**
* Standard API response wrapper
*
* Encapsulates response data with HTTP status code
* for consistent error handling across API calls.
*
* @template T - Type of the response data
*/
export interface ApiResponse<T> {
/** Response payload data */
data: T;
/** HTTP status code */
status: number;
}