static_db.json 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "user_logged": {
  3. "logged": true,
  4. "user": {
  5. "id": 5,
  6. "username": "Smoi",
  7. "firstname": "Côme",
  8. "lastname": "Stoilenom",
  9. "email": "osef@algoo.fr"
  10. }
  11. },
  12. "file_content": [{
  13. "name": "PageHtml",
  14. "componentLeft": "PageHtml",
  15. "componentRight": "Timeline",
  16. "customClass": "wsFilePageHtml",
  17. "icon": "fa fa-file-word-o"
  18. }, {
  19. "name": "PageMarkdown",
  20. "componentLeft": "PageMarkdown",
  21. "componentRight": "undefined",
  22. "customClass": "wsFilePageMarkdown",
  23. "icon": "fa fa-file-code-o"
  24. }, {
  25. "name": "File",
  26. "componentLeft": "File",
  27. "componentRight": "undefined",
  28. "customClass": "wsFileFile",
  29. "icon": "fa fa-file-text-o"
  30. }, {
  31. "name": "Thread",
  32. "componentLeft": "Thread",
  33. "componentRight": "undefined",
  34. "customClass": "wsFileThread",
  35. "icon": "fa fa-comments-o"
  36. }, {
  37. "name": "Task",
  38. "componentLeft": "Task",
  39. "componentRight": "undefined",
  40. "customClass": "wsFileTask",
  41. "icon": "fa fa-list-ul"
  42. }, {
  43. "name": "Issue",
  44. "componentLeft": "Issue",
  45. "componentRight": "undefined",
  46. "customClass": "wsFileIssue",
  47. "icon": "fa fa-ticket"
  48. }],
  49. "workspace_detail": {
  50. "id": 1,
  51. "title": "Mission interne - développement",
  52. "owner_id": 5,
  53. "content": [
  54. {
  55. "id": 1,
  56. "title": "La programmation fonctionnelle",
  57. "type": "PageHtml",
  58. "status": "validated",
  59. "version": "3",
  60. "text": "<h1>Mon titre nul</h1>Je suis le contenu de cette fameuse <b>page HTML</b><br /> sur la programmation fonctionnelle"
  61. },
  62. {
  63. "id": 2,
  64. "title": "La prommation fonctionnelle est-elle vraiment utile ?",
  65. "type": "Thread",
  66. "status": "current"
  67. },
  68. {
  69. "id": 6,
  70. "title": "Une photo moche",
  71. "type": "File",
  72. "status": "current"
  73. },
  74. {
  75. "id": 10,
  76. "title": "le README.md d'un random repo github",
  77. "type": "PageMarkdown",
  78. "status": "current"
  79. },
  80. {
  81. "id": 7,
  82. "title": "Une liste de truc à faire que je ferai jamais",
  83. "type": "Task",
  84. "status": "current"
  85. },
  86. {
  87. "id": 8,
  88. "title": "Ça, ça marche pas. Merci de le fix",
  89. "type": "Issue",
  90. "status": "current"
  91. },
  92. {
  93. "id": 3,
  94. "title": "Programmation objet",
  95. "type": "folder",
  96. "content": [
  97. {
  98. "id": 4,
  99. "title": "des trucs de backend",
  100. "type": "File",
  101. "status": "outdated"
  102. },
  103. {
  104. "id": 5,
  105. "title": "on s'emmerde",
  106. "type": "PageHtml",
  107. "status": "outdated"
  108. }
  109. ]
  110. }
  111. ]
  112. }
  113. }