-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/user/dto/update-name.dto.ts → src/user/dto/update-user-name.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
|
||
export class UserResponseDto { | ||
@ApiProperty({ description: '유저 ID', example: 1 }) | ||
id: number; | ||
|
||
@ApiProperty({ description: '소셜 로그인 제공업체', example: 'kakao' }) | ||
provider: string; | ||
|
||
@ApiProperty({ description: '유저 타입', example: 'GENERAL' }) | ||
userType: string; | ||
|
||
@ApiProperty({ description: '이름', example: '골목대장' }) | ||
name: string; | ||
|
||
@ApiProperty({ | ||
description: '프로필 이미지 URL', | ||
example: null, | ||
nullable: true, | ||
}) | ||
profileImage: string | null; | ||
|
||
@ApiProperty({ description: '이메일', example: '[email protected]' }) | ||
email: string; | ||
|
||
@ApiProperty({ description: '생성일', example: '2023-10-19T15:45:07.676Z' }) | ||
createdAt: string; | ||
|
||
@ApiProperty({ description: '수정일', example: '2023-10-20T12:39:00.540Z' }) | ||
updateAt: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters