chore(build): refactor codebase for production

This commit is contained in:
shafin-r
2026-03-12 02:39:34 +06:00
parent 121cc2bf71
commit bd35f6a852
123 changed files with 3501 additions and 3254 deletions

View File

@ -95,6 +95,10 @@ class ApiClient {
}
}
async fetchUser(token: string): Promise<User> {
return this.authenticatedRequest<User>("/auth/me/", token);
}
// Auth endpoints
async login(credentials: LoginRequest): Promise<LoginResponse> {
return this.request<LoginResponse>("/auth/login/", {