initialMainState.ts 434 B

12345678910111213141516171819
  1. export type StateType = {
  2. displayMode: 'full' | 'normal';
  3. navbarState: 'search' | 'annotations' | 'thumbnails' | '';
  4. sidebarState: SidebarType | '';
  5. toolState: ToolType | FormType | '';
  6. info: { token: string; id: string };
  7. initiated: boolean;
  8. isLoading: boolean;
  9. };
  10. export default {
  11. displayMode: 'normal',
  12. navbarState: '',
  13. sidebarState: '',
  14. toolState: '',
  15. info: {},
  16. initiated: false,
  17. isLoading: false,
  18. };