interface BasicOption {
  label: string;
  value: string;
}

type SelectOption = BasicOption;

type TabOption = BasicOption;

interface BasicUserInfo {
  /**
   * 用户名
   */
  account: string;
  /**
   * 头像
   */
  avatar?: string;
  /**
   * 用户id
   */
  id: string;
  /**
   * 用户昵称
   */
  name: string;
  /**
   * 用户角色
   */
  roles?: string[];
  /**
   * 用户状态
   */
  state?: string;
  /**
   * 首页路径
   */
  homePath?: string;
}

type ClassType = Array<object | string> | object | string;

export type { BasicOption, BasicUserInfo, ClassType, SelectOption, TabOption };
