export interface MenuItemMeta {
  type?: string,
  class?: string,
  icon?: string,
  iconClass?: string,
  svg?: string,
  tag?: string,
  separator?: boolean,
  hidden?: boolean,
  collapse?: boolean,
}

export interface MenuItem {
  id: string;
  parentId?: string;
  parentKey?: string;
  name: string;
  path: string;
  action?: number;
  link?: string;
  icon?: string,
  color?: string,
  meta?: MenuItemMeta,
  children?: MenuItem[]
  type?: number,
  favorite?: number,
  pinned?: boolean,
  isShow?: number,
}

export interface TabItem {
  id: string;
  workspaceId: string;
  name: string;
  path: string;
  icon?: string,
  meta?: MenuItemMeta,
  pinned?: boolean,
}
