Rename interfaces, AppBar changes

This commit is contained in:
cracklesparkle
2024-06-28 12:33:07 +09:00
parent c41e59cd86
commit af1d497715
13 changed files with 165 additions and 80 deletions

View File

@ -16,18 +16,6 @@ export interface UserCreds extends User {
password: string;
}
export interface Role {
name: string;
description?: string | null;
id: number;
}
export interface RoleCreate {
name: string;
description?: string | null;
}
export interface AuthState {
isAuthenticated: boolean;
token: string | null;

View File

@ -0,0 +1,10 @@
export interface IRole {
name: string;
description?: string | null;
id: number;
}
export interface IRoleCreate {
name: string;
description?: string | null;
}

View File

@ -1,4 +1,4 @@
export interface CreateUserFormData {
export interface IUserCreate {
email: string;
login: string;
phone: string;