mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-25 20:44:49 -04:00
Add UsersModule
This contains the module, a service (which only returns mock data), a model and the UserInfo DTO. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
4135b7e6e4
commit
e6ac4cf20b
5 changed files with 64 additions and 0 deletions
12
src/users/user-info.dto.ts
Normal file
12
src/users/user-info.dto.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { IsString } from 'class-validator';
|
||||
|
||||
export class UserInfoDto {
|
||||
@IsString()
|
||||
userName: string;
|
||||
@IsString()
|
||||
displayName: string;
|
||||
@IsString()
|
||||
photo: string;
|
||||
@IsString()
|
||||
email: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue