2024-08-22 09:40:31 +00:00
|
|
|
export interface CreateUserCommand {
|
|
|
|
mail: string;
|
|
|
|
username: string;
|
2024-08-25 11:36:19 +00:00
|
|
|
firstname: string;
|
|
|
|
lastname: string;
|
2024-08-22 09:40:31 +00:00
|
|
|
secret: string;
|
2024-10-07 16:09:27 +00:00
|
|
|
isOwner: boolean;
|
2024-08-22 09:40:31 +00:00
|
|
|
}
|
2024-09-01 12:55:05 +00:00
|
|
|
|
|
|
|
export interface UpdateUserCommand {
|
|
|
|
id: number;
|
|
|
|
mail: string;
|
|
|
|
username: string;
|
|
|
|
firstname: string;
|
|
|
|
lastname: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface UpdateUserRolesCommand {
|
|
|
|
id: number;
|
|
|
|
roleIds: Array<number>;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface DeleteUserCommand {
|
|
|
|
id: number;
|
|
|
|
}
|