refactor(auth): standardize API response structure and remove unused error handling

This commit is contained in:
Haileyesus
2026-04-18 13:28:20 +03:00
parent e0298acce2
commit 64d54ed3e2
4 changed files with 8 additions and 28 deletions

View File

@@ -5,15 +5,6 @@ export type ApiSuccessShape<TData = unknown> = {
data: TData;
};
export type ApiErrorShape = {
success: false;
error: {
code: string;
message: string;
details?: unknown;
};
};
// ---------------------------------------------------------------------------------------------
export type LLMProvider = 'claude' | 'codex' | 'gemini' | 'cursor';