จัดการบทบาทและสิทธิ์ => API

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-13 09:59:02 +07:00
parent 797d2015e7
commit d90d4287c1
5 changed files with 224 additions and 1113 deletions

View file

@ -10,4 +10,46 @@ interface ItemsMenu {
type: string;
}
export type { Pagination, ItemsMenu };
interface DataOption {
id: string;
name: string;
}
interface SystemList {
attrIsCreate: boolean;
attrIsDelete: boolean;
attrIsGet: boolean;
attrIsList: boolean;
attrIsUpdate: boolean;
attrOwnership: string;
attrPrivilege: string;
id: string;
order: 1;
parentId: string | null;
selected: boolean;
sysDescription: string;
sysName: string;
children?: SystemList[];
}
interface DataSystem {
attrIsCreate: boolean;
attrIsDelete: boolean;
attrIsGet: boolean;
attrIsList: boolean;
attrIsUpdate: boolean;
attrOwnership: string;
attrPrivilege: string;
authRoleId: string;
authSysId: string;
createdAt: string;
createdFullName: string;
createdUserId: string;
id: string;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: string;
parentNode: string;
}
export type { Pagination, ItemsMenu, DataOption, SystemList, DataSystem };

View file

@ -99,4 +99,13 @@ interface Position {
positionName: string;
}
export type { Users, Roles, NodeTree, PosMaster, Position };
interface SysList {
id: string;
order: number;
parentId: string;
sysDescription: string;
sysName: string;
children: SysList[];
}
export type { Users, Roles, NodeTree, PosMaster, Position, SysList };