feature/sidebar #8

Merged
ilia merged 50 commits from feature/sidebar into main 2026-01-03 10:56:23 +00:00
Showing only changes of commit 792b142c07 - Show all commits

View File

@@ -1,37 +1,4 @@
/** export interface ApiResponse<T> {
* Model of response with error
*/
export interface ApiErrorResponse {
/**
* Error text
*/
error: string;
/**
* Status
*/
status: number;
/**
* Status text
*/
statusText: string;
}
/**
* Model of response with success
*/
export interface ApiSuccessResponse<T> {
/**
* Data
*/
data: T; data: T;
/**
* Status
*/
status: number; status: number;
/**
* Status text
*/
statusText: string;
} }
export type ApiResponse<T> = ApiErrorResponse | ApiSuccessResponse<T>;