export interface ProjectSettingState {
  //导航模式
  navMode: string;
  //导航风格
  navTheme: string;
  //顶部设置
  headerSetting: object;
  //页脚
  showFooter: boolean;
  //菜单设置
  menuSetting: object;
  //多标签
  multiTabsSetting: object;
  //面包屑
  crumbsSetting: object;
  //权限模式
  permissionMode: string;
}

export interface IbodySetting {
  fixed: boolean;
}

export interface IheaderSetting {
  bgColor: string;
  fixed: boolean;
  isReload: boolean;
}

export interface ImenuSetting {
  minMenuWidth: number;
  menuWidth: number;
  fixed: boolean;
  mixMenu: boolean;
  collapsed: boolean;
  uniqueOpened: boolean;
}

export interface IcrumbsSetting {
  show: boolean;
  showIcon: boolean;
}

export interface ImultiTabsSetting {
  bgColor: string;
  fixed: boolean;
  show: boolean;
}

export type NoticeChannelAppConfig = 'lanxin' | 'platform' | 'wecom';

export interface GlobConfig {
  // 标题
  title: string;
  // api 接口前缀
  urlPrefix: string;
  // 签到二维码地址
  drillSignUrl: string;

  // 租户code
  tenantCode?: string;

  // 天眼外链地址
  skyeyeLoginHost: string | undefined;
  skyeyePlatformHost: string | undefined;
  skyeyeAdminHost: string | undefined;
  skyeyeH5Host: string | undefined;

  // 天梭外链地址
  tiansuoHost: string | undefined;
  showCaptcha: boolean;

  // C大脑 OAuth2.0 单点登录
  cbrainLoginApp: string | undefined;
  cbrainLoginClientId: string | undefined;
}

export interface GlobEnvConfig {
  // 标题
  VITE_GLOB_APP_TITLE: string;
  // 接口前缀
  VITE_GLOB_API_URL_PREFIX: string;
  // 签到二维码地址
  VITE_GLOB_DRILL_SIGN_URL: string;
  // 租户code
  VITE_GLOB_TENANT_CODE: string;

  // 天眼外链地址
  VITE_GLOB_SKYEYE_LOGIN_URL: string;
  VITE_GLOB_SKYEYE_PLATFORM_URL: string;
  VITE_GLOB_SKYEYE_ADMIN_URL: string;
  VITE_GLOB_SKYEYE_H5_URL: string;

  // 天梭外链地址
  VITE_GLOB_TIANSUO_PLATFORM: string;

  VITE_GLOB_SHOW_CAPTCHA: boolean;

  // C大脑 OAuth2.0
  VITE_GLOB_CBRAIN_LOGIN_APP: string;
  VITE_GLOB_CBRAIN_LOGIN_CLIENT_ID: string;
}
