This commit is contained in:
Warunee Tamkoo 2024-07-31 09:48:33 +07:00
parent 73d45a3d24
commit 0e87c63641
123 changed files with 310 additions and 10280 deletions

View file

@ -11,4 +11,16 @@ interface FormProfile {
organization: string;
}
export type { DataOption, FormProfile };
interface RoleData {
attrOwnership: string;
attrIsCreate: boolean;
attrIsList: boolean;
attrIsGet: boolean;
attrIsUpdate: boolean;
attrIsDelete: boolean;
attrPrivilege: string;
authSysId: string;
parentNode: string;
}
export type { DataOption, FormProfile, RoleData };

View file

@ -12,6 +12,7 @@ interface ListMenu {
interface ChildConfig {
sysName?: string;
path: string;
meta?: MenuMetadata;
}
interface ChildLevelTree {
@ -25,6 +26,11 @@ interface DataPermissions {
roles: DataRoles[];
}
interface MenuMetadata {
Auth: boolean;
Key: string;
Role: string;
}
interface DataRoles {
attrIsCreate: boolean;
attrIsDelete: boolean;