initialMainState.ts 616 B

12345678910111213141516171819202122232425262728
  1. export type StateType = {
  2. displayMode: 'full' | 'normal';
  3. navbarState: 'search' | 'annotations' | 'thumbnails' | '';
  4. sidebarState:
  5. | 'markup-tools'
  6. | 'create-form'
  7. | 'watermark'
  8. | 'highlight'
  9. | 'freehand'
  10. | 'text'
  11. | 'sticky'
  12. | 'shape'
  13. | '';
  14. markupToolState: 'highlight' | 'freehand' | 'text' | 'sticky' | 'shape' | '';
  15. info: { token: string; id: string };
  16. initiated: boolean;
  17. isLoading: boolean;
  18. };
  19. export default {
  20. displayMode: 'full',
  21. navbarState: '',
  22. sidebarState: 'highlight',
  23. markupToolState: '',
  24. info: {},
  25. initiated: false,
  26. isLoading: false,
  27. };