helper.js 987B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. export const FETCH_CONFIG = {
  2. headers: {
  3. 'Accept': 'application/json',
  4. 'Content-Type': 'application/json'
  5. }
  6. }
  7. export const FILE_TYPE = [{
  8. name: 'PageHtml',
  9. componentLeft: 'PageHtml',
  10. componentRight: 'Timeline',
  11. customClass: 'wsFilePageHtml',
  12. icon: 'fa fa-file-word-o'
  13. }, {
  14. name: 'PageMarkdown',
  15. componentLeft: 'PageMarkdown',
  16. componentRight: 'undefined',
  17. customClass: 'wsFilePageMarkdown',
  18. icon: 'fa fa-file-code-o'
  19. }, {
  20. name: 'File',
  21. componentLeft: 'File',
  22. componentRight: 'undefined',
  23. customClass: 'wsFileFile',
  24. icon: 'fa fa-file-text-o'
  25. }, {
  26. name: 'Thread',
  27. componentLeft: 'Thread',
  28. componentRight: 'undefined',
  29. customClass: 'wsFileThread',
  30. icon: 'fa fa-comments-o'
  31. }, {
  32. name: 'Task',
  33. componentLeft: 'Task',
  34. componentRight: 'undefined',
  35. customClass: 'wsFileTask',
  36. icon: 'fa fa-list-ul'
  37. }, {
  38. name: 'Issue',
  39. componentLeft: 'Issue',
  40. componentRight: 'undefined',
  41. customClass: 'wsFileIssue',
  42. icon: 'fa fa-ticket'
  43. }]