import type { Data } from './global'

export interface RoutesGather {
  key: string
  mod: Data
}

export interface Route {
  children?: Route[]
  componentName?: string
  componentPath?: string
  icon?: string
  id?: string
  isAddTab?: boolean
  isEnable?: boolean
  keepalive?: boolean
  name?: string
  parentPath?: string
  path: string
  props?: any | boolean
  title?: string
}
