export interface MenuItem {
  category_id: number
  label: string
  params: Params
  children: MenuItem[]
}

export interface Params {
  category_id?: number
  link_rewrite?: string
  locale?: string
}

export interface Route {
  id: number
  name: string
  path: string
  component: string
  meta: string
  active: boolean
}

export interface TopMenuItem {
  menu_id: number
  label: Label
  params: TopMenuParams
  active: number
  position: number
  children: TopMenuItem[]
}

export interface Label {
  label: string
  trans:LabelTrans
}

export interface LabelTrans{
    pl:LabelItem
    en:LabelItem
    de: LabelItem
} 
export interface LabelItem {
  label: string
}

export interface TopMenuParams {
  route: TopMenuRoute
}

export interface TopMenuRoute {
  name: string
  params: Record<string, string>
}
