Skip to content

Commit 76cf761

Browse files
committed
[#60] ๐Ÿšš rename types name in mypage
1 parent 0d3e890 commit 76cf761

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

โ€Žsrc/types/api/MyPage.types.d.tsโ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ export interface GetProfileResponse extends ProfileBase, User {
2323
/*
2424
PATCH: ๋งˆ์ดํŽ˜์ด์ง€ ํ”„๋กœํ•„ ์ €์žฅ
2525
*/
26-
export type ProfileUpdateRequest = MultipartFormData<ProfileBase>
26+
export type UpdateProfileRequest = MultipartFormData<ProfileBase>
2727

28-
export interface ProfileUpdateResponse extends ProfileBase {
28+
export interface UpdateProfileResponse extends ProfileBase {
2929
completionRate?: number // ํฌํŠธํด๋ฆฌ์˜ค ์™„์„ฑ๋ฅ  (%)
3030
}
3131

@@ -40,7 +40,7 @@ export interface CheckNicknameRequest {
4040
export type CheckNicknameResponse = boolean
4141

4242
/*
43-
PasswordUpdateResponse
43+
UpdatePasswordResponse
4444
{
4545
"isSuccess": true,
4646
"code": "COMMON200",
@@ -52,12 +52,12 @@ PasswordUpdateResponse
5252
path: '/v1/my-page/password'
5353
PATCH: ๋งˆ์ด ํŽ˜์ด์ง€ ๋น„๋ฐ€๋ฒˆํ˜ธ ์ˆ˜์ •
5454
*/
55-
export interface PasswordUpdateRequest {
55+
export interface UpdatePasswordRequest {
5656
password: Password // ์ƒˆ ๋น„๋ฐ€๋ฒˆํ˜ธ
5757
}
5858

5959
/*
60-
PasswordUpdateResponse
60+
UpdatePasswordResponse
6161
{
6262
"isSuccess": true,
6363
"code": "COMMON200",

0 commit comments

Comments
ย (0)