refactor(frontend): moved types to global types and successfull build

This commit is contained in:
2025-03-03 06:32:46 -06:00
parent 89a2b3ea9e
commit f3b92e94e3
11 changed files with 91 additions and 50 deletions

View File

@@ -3,8 +3,8 @@ export interface Modules {
name: string;
active: boolean;
roles: string;
add_User: string;
add_Date: Date;
add_user: string;
add_date: Date;
upd_user: string;
upd_date: Date;
}

View File

@@ -0,0 +1,4 @@
export interface Roles {
role: string;
module_id: string;
}

View File

@@ -0,0 +1,9 @@
import {Roles} from "./roles";
export type User = {
user_id: string;
email: string;
username: string;
roles: Roles[];
role: string;
};