settingStore.d.ts 559 B

123456789101112131415
  1. export enum SettingStoreEnums {
  2. HIDE_PACKAGE_ONE_CATEGORY = 'hidePackageOneCategory',
  3. CHANGE_LANG_RELOAD = 'changeLangReload',
  4. ASIDE_ALL_COLLAPSED = 'asideAllCollapsed',
  5. CHART_MOVE_DISTANCE = 'chartMoveDistance',
  6. CHART_ALIGN_RANGE = 'chartAlignRange',
  7. }
  8. export interface SettingStoreType {
  9. [SettingStoreEnums.HIDE_PACKAGE_ONE_CATEGORY]: boolean
  10. [SettingStoreEnums.CHANGE_LANG_RELOAD]: boolean
  11. [SettingStoreEnums.ASIDE_ALL_COLLAPSED]: boolean
  12. [SettingStoreEnums.CHART_MOVE_DISTANCE]: number
  13. [SettingStoreEnums.CHART_ALIGN_RANGE]: number
  14. }