feat: add profile rank badges and guide

This commit is contained in:
2026-09-29 22:18:59 +03:30
parent bbf924c22d
commit 22cbc0b3fc
31 changed files with 785 additions and 68 deletions

View File

@@ -271,6 +271,12 @@ class ApiClient {
);
}
async getMyGamification() {
return this.request<Types.GamificationSummarySchema>("/api/gamification/me", {
method: "GET",
});
}
async updateProfile(data: Types.UserUpdateSchema) {
return this.request<Types.UserProfileSchema>('/api/auth/profile', {
method: 'PUT',