import { Component } from 'vue';
import { RouteLocationRaw } from 'vue-router';
import { StatusType } from '@/models/status-type.model';

interface CommonMenuItem {
  label: string;
  icon?: Component;
  status?: StatusType;
  id: string;
  link?: string | RouteLocationRaw;
}

export interface MenuItem extends CommonMenuItem {
  link: string | RouteLocationRaw;
}

export interface ParentMenuItem extends CommonMenuItem {
  items: MenuItem[];
  open?: boolean;
  collapsible?: boolean;
}
