static_db.json 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. "app_config": [{
  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. },
  60. {
  61. "id": 2,
  62. "title": "La programmation fonctionnelle est-elle vraiment utile ?",
  63. "type": "Thread",
  64. "status": "current"
  65. },
  66. {
  67. "id": 6,
  68. "title": "Une photo moche",
  69. "type": "File",
  70. "status": "current"
  71. },
  72. {
  73. "id": 10,
  74. "title": "le README.md d'un random repo github",
  75. "type": "PageMarkdown",
  76. "status": "current"
  77. },
  78. {
  79. "id": 7,
  80. "title": "Une liste de truc à faire que je ferai jamais",
  81. "type": "Task",
  82. "status": "current"
  83. },
  84. {
  85. "id": 8,
  86. "title": "Ça, ça marche pas. Merci de le fix",
  87. "type": "Issue",
  88. "status": "current"
  89. },
  90. {
  91. "id": 3,
  92. "title": "Programmation objet",
  93. "type": "folder",
  94. "content": [
  95. {
  96. "id": 4,
  97. "title": "des trucs de backend",
  98. "type": "File",
  99. "status": "outdated"
  100. },
  101. {
  102. "id": 5,
  103. "title": "on s'emmerde",
  104. "type": "PageHtml",
  105. "status": "outdated"
  106. }
  107. ]
  108. }
  109. ]
  110. },
  111. "content_data": {
  112. "id": "1",
  113. "type": "pageHtml",
  114. "title": "La programmation fonctionnelle",
  115. "status": "validated",
  116. "version": "3",
  117. "text": "<h1>Mon titre nul</h1>Je suis le contenu de cette fameuse <b>page HTML</b><br /> sur la programmation fonctionnelle"
  118. }
  119. }