ff-admin-server/src/command/userCommand.ts

25 lines
404 B
TypeScript
Raw Normal View History

export interface CreateUserCommand {
mail: string;
username: string;
2024-08-25 11:36:19 +00:00
firstname: string;
lastname: string;
secret: string;
}
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;
}