add opengraph images and user profile route0e3d29da month ago21 lines · 531 B | 1 | import { ApiProperty } from '@nestjs/swagger'; |
| 2 | |
| 3 | export class UserProfileResponseDTO |
| 4 | @ApiProperty() |
| 5 | username: string; |
| 6 | |
| 7 | @ApiProperty() |
| 8 | name: string; |
| 9 | |
| 10 | @ApiProperty({ nullable |
| 11 | image: string |
| 12 | |
| 13 | @ApiProperty({ description |
| 14 | joinedAt: string; |
| 15 | |
| 16 | @ApiProperty({ description |
| 17 | repositoryCount: number; |
| 18 | |
| 19 | @ApiProperty({ description |
| 20 | starCount: number; |
| 21 | } |
{
:
true
,
type
:
String
}
)
|
null
;
:
'
ISO timestamp the account was created
'
}
)
:
'
Public repositories owned by the user
'
}
)
:
'
Stars across the user’s public repositories
'
}
)