update + schema validate
This commit is contained in:
@ -29,6 +29,8 @@ export type CreateUserBody = {
|
||||
role: keyof typeof UserRoles;
|
||||
};
|
||||
|
||||
export type UpdateUserBody = Partial<Omit<UserInfoWithPassword, 'uuid'>>;
|
||||
|
||||
export type LoginUserBody = {
|
||||
username: string;
|
||||
password: string;
|
||||
|
Reference in New Issue
Block a user