update + schema validate

This commit is contained in:
2022-11-06 18:40:30 +01:00
parent 5c21712344
commit 0bb28ce89a
12 changed files with 163 additions and 39 deletions

View File

@ -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;