사소한 리팩토링

This commit is contained in:
static
2025-01-13 03:33:01 +09:00
parent 6a64bb45f2
commit b8c7cda4d5
3 changed files with 8 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ export const userInfoResponse = z.object({
});
export type UserInfoResponse = z.infer<typeof userInfoResponse>;
export const changeNicknameRequest = z.object({
export const nicknameChangeRequest = z.object({
newNickname: z.string().min(2).max(8),
});
export type ChangeNicknameRequest = z.infer<typeof changeNicknameRequest>;
export type NicknameChangeRequest = z.infer<typeof nicknameChangeRequest>;