Skip to content

Commit

Permalink
Feat(my-rank): 내 랭킹 조회 response type 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobbymin committed Oct 9, 2024
1 parent 1ec1693 commit 8862848
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/apis/my-rank/my-rank.response.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import ApiResponse from '../ApiResponse';

export type MyRankData = {
id: number;
nickname: string;
profileImageUrl: string;
email: string;
tierInfo: {
tier: string;
totalExp: number;
currentExp: number;
};
role: 'USER' | 'ADMIN';
rank: number;
};

export type MyRankResponse = ApiResponse<MyRankData>;

0 comments on commit 8862848

Please sign in to comment.