first commit
This commit is contained in:
27
types/menu.ts
Normal file
27
types/menu.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
export interface MenuItem {
|
||||
id: string
|
||||
title: string
|
||||
url: string
|
||||
icon: string
|
||||
parentId?: string
|
||||
children?: MenuItem[]
|
||||
order: number
|
||||
isActive: boolean
|
||||
reference?: string
|
||||
createdAt?: string
|
||||
updatedAt?: string
|
||||
}
|
||||
|
||||
export interface MenuForm {
|
||||
titleMenu: string
|
||||
sideMenu: string
|
||||
nameMenu: string
|
||||
linkUrlMenu: string
|
||||
iconMenu: string
|
||||
}
|
||||
|
||||
export interface MenuData {
|
||||
menus: MenuItem[]
|
||||
references: string[]
|
||||
menuOptions: string[]
|
||||
}
|
||||
Reference in New Issue
Block a user