From 8862848b83d17978d08fc2dfad8099c5c0550343 Mon Sep 17 00:00:00 2001 From: Dobbymin Date: Wed, 9 Oct 2024 12:22:04 +0900 Subject: [PATCH] =?UTF-8?q?Feat(my-rank):=20=EB=82=B4=20=EB=9E=AD=ED=82=B9?= =?UTF-8?q?=20=EC=A1=B0=ED=9A=8C=20response=20type=20=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/my-rank/my-rank.response.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/apis/my-rank/my-rank.response.ts diff --git a/src/apis/my-rank/my-rank.response.ts b/src/apis/my-rank/my-rank.response.ts new file mode 100644 index 0000000..6de201c --- /dev/null +++ b/src/apis/my-rank/my-rank.response.ts @@ -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;