/* GlobalState */
export interface GlobalState {
  loading: boolean
  breadcrumb: string[]
  isCollapse: boolean
  User_tokey: string
  userInfo?: any
  language?: string
  UserPostList: string[]
  UserDeptList: UserDeptType[]
  MenuList: Menu.MenuOptions[]
  path: string
  allBreadcrumbList: any
  flatMenu: any
}

// export interface MenuType {
//   Children?: MenuType[]
//   Id: number
//   T_State: number
//   T_icon: string
//   T_mid: number
//   T_name: string
//   T_permission: string
//   T_sort: number
//   T_type: string
//   meta?: MetaType
// }

// interface MetaType {
//   icon: string
//   title: string
//   isKeepAlive: boolean
// }

export interface UserDeptType {
  Id: number
  T_State: number
  T_name: string
}

/* tabsMenuProps */
export interface TabsMenuProps {
  icon: string
  title: string
  path: string
  name: string
  close: boolean
}

/* TabsState */
export interface TabsState {
  tabsMenuList: TabsMenuProps[]
}

/* keepAliveState */
export interface keepAliveState {
  keepAliveName: string[]
}
