export {}
declare global {
  namespace LoginTypes {
    interface LoginForm {
      account: string
      secret: string
    }

    interface UserSetting {
      theme: string
      collectedMenus: AppTypes.Menu[]
      language: 'zh' | 'en'
      logo: string | null
    }

    interface UserDetail {
      id: string
      nickname: string
      avatar?: string
      tenantId?: string
      tenantName?: string
      roles: string[]
      menus: AppTypes.Menu[]
      token: string
      setting: UserSetting
    }


  }
}
