fix: delete unused types
Some checks failed
Lint / Lint Code (push) Failing after 7m18s
Test / Svelte Checks (push) Failing after 7m16s

This commit is contained in:
Ilia Mashkov
2026-01-02 11:18:05 +03:00
parent e35c1cb6dd
commit 792b142c07

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>;