add basic user management
This commit is contained in:
parent
09150ba3bb
commit
9e7ad622f9
12 changed files with 673 additions and 35 deletions
7
frontend/src/api/dtos/ChangeUserPasswordRequestDto.ts
Normal file
7
frontend/src/api/dtos/ChangeUserPasswordRequestDto.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* DTO for changing user password
|
||||
*/
|
||||
export class ChangeUserPasswordRequestDto {
|
||||
userId?: string;
|
||||
password?: string;
|
||||
}
|
||||
9
frontend/src/api/dtos/CreateUserRequestDto.ts
Normal file
9
frontend/src/api/dtos/CreateUserRequestDto.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { UserDto } from "./UserDto.js";
|
||||
|
||||
/**
|
||||
* DTO used for user creation
|
||||
*/
|
||||
export class CreateUserRequestDto {
|
||||
userData?: UserDto;
|
||||
password?: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue