diff --git a/src/entities/menu/menu.mock.ts b/src/entities/menu/menu.mock.ts index 6bc0a327..52a255c1 100644 --- a/src/entities/menu/menu.mock.ts +++ b/src/entities/menu/menu.mock.ts @@ -11,7 +11,7 @@ export const mockMenuData = (): TMenu[] => [ uuid: '123e4567-e89b-12d3-a456-426614174000', name: 'Main Menu', position: 1, - items: [{ name: 'Home', description: 'Home', slug: '/', icon: 'home' }], + items: [{ name: 'Home', description: 'Home', slug: '/', icon: 'home', link: '/' }], createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), }, diff --git a/src/entities/menu/menu.types.ts b/src/entities/menu/menu.types.ts index 7fe523ac..4fc45cce 100644 --- a/src/entities/menu/menu.types.ts +++ b/src/entities/menu/menu.types.ts @@ -1,6 +1,7 @@ export type TMenuSubItem = { name: string slug: string + link: string description?: string icon?: string } @@ -8,6 +9,7 @@ export type TMenuSubItem = { export type TMenuItem = { name: string slug: string + link: string description?: string icon?: string items?: TMenuSubItem[]