2024-05-30 14:04:48 +07:00
|
|
|
interface FormUser {
|
|
|
|
|
username: string;
|
2024-05-31 15:08:11 +07:00
|
|
|
password: string | undefined;
|
2024-05-30 14:04:48 +07:00
|
|
|
firstName: string;
|
|
|
|
|
lastName: string;
|
|
|
|
|
email: string;
|
2024-05-31 15:08:11 +07:00
|
|
|
roles: string[] | undefined;
|
2024-05-29 17:58:57 +07:00
|
|
|
}
|
2024-05-31 15:08:11 +07:00
|
|
|
|
|
|
|
|
interface FormRole {
|
|
|
|
|
role: string;
|
|
|
|
|
description: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface Roles {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
}
|
|
|
|
|
export type { FormUser, FormRole, Roles };
|