feat access CRUD pages

This commit is contained in:
2026-07-07 08:51:56 +07:00
parent 287d50f4d6
commit 0ec9cc091f
9 changed files with 251 additions and 41 deletions

No files matched your search

+8
View File
@@ -4,9 +4,17 @@ export interface MenuItem {
title?: string
icon?: string
to?: string
access? : AccessItem[] | null
children?: MenuItem[] | null
}
export interface AccessItem {
create?: boolean
read?: boolean
update?: boolean
delete?: boolean
}
export interface MenuGroup {
id: string
header: string