static_db.json 6.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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. "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4"
  11. }
  12. },
  13. "app_config": [{
  14. "name": "PageHtml",
  15. "componentLeft": "PageHtml",
  16. "componentRight": "Timeline",
  17. "customClass": "wsFilePageHtml",
  18. "icon": "fa fa-file-word-o"
  19. }, {
  20. "name": "PageMarkdown",
  21. "componentLeft": "PageMarkdown",
  22. "componentRight": "undefined",
  23. "customClass": "wsFilePageMarkdown",
  24. "icon": "fa fa-file-code-o"
  25. }, {
  26. "name": "File",
  27. "componentLeft": "File",
  28. "componentRight": "undefined",
  29. "customClass": "wsFileFile",
  30. "icon": "fa fa-file-text-o"
  31. }, {
  32. "name": "Thread",
  33. "componentLeft": "Thread",
  34. "componentRight": "undefined",
  35. "customClass": "wsFileThread",
  36. "icon": "fa fa-comments-o"
  37. }, {
  38. "name": "Task",
  39. "componentLeft": "Task",
  40. "componentRight": "undefined",
  41. "customClass": "wsFileTask",
  42. "icon": "fa fa-list-ul"
  43. }, {
  44. "name": "Issue",
  45. "componentLeft": "Issue",
  46. "componentRight": "undefined",
  47. "customClass": "wsFileIssue",
  48. "icon": "fa fa-ticket"
  49. }],
  50. "workspace_detail": {
  51. "id": 1,
  52. "title": "Mission interne - développement",
  53. "owner_id": 5,
  54. "content": [
  55. {
  56. "id": 1,
  57. "title": "La programmation fonctionnelle",
  58. "type": "PageHtml",
  59. "status": "validated"
  60. },
  61. {
  62. "id": 2,
  63. "title": "La programmation fonctionnelle est-elle vraiment utile ?",
  64. "type": "Thread",
  65. "status": "current"
  66. },
  67. {
  68. "id": 6,
  69. "title": "Une photo moche",
  70. "type": "File",
  71. "status": "current"
  72. },
  73. {
  74. "id": 10,
  75. "title": "le README.md d'un random repo github",
  76. "type": "PageMarkdown",
  77. "status": "current"
  78. },
  79. {
  80. "id": 7,
  81. "title": "Une liste de truc à faire que je ferai jamais",
  82. "type": "Task",
  83. "status": "current"
  84. },
  85. {
  86. "id": 8,
  87. "title": "Ça, ça marche pas. Merci de le fix",
  88. "type": "Issue",
  89. "status": "current"
  90. },
  91. {
  92. "id": 3,
  93. "title": "Programmation objet",
  94. "type": "folder",
  95. "content": [
  96. {
  97. "id": 4,
  98. "title": "des trucs de backend",
  99. "type": "File",
  100. "status": "outdated"
  101. },
  102. {
  103. "id": 5,
  104. "title": "on s'emmerde",
  105. "type": "PageHtml",
  106. "status": "outdated"
  107. }
  108. ]
  109. }
  110. ]
  111. },
  112. "timeline": [{
  113. "id": 0,
  114. "type": "message",
  115. "author": {
  116. "id": 5,
  117. "username": "Stoi",
  118. "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4"
  119. },
  120. "createdAt": {
  121. "day": "27/11/17",
  122. "hour": "11h45"
  123. },
  124. "text": "Proident esse laboris in sed officia exercitation ut anim ea."
  125. }, {
  126. "id": 1,
  127. "type": "message",
  128. "author": {
  129. "id": 1,
  130. "username": "smoi",
  131. "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
  132. },
  133. "createdAt": {
  134. "day": "27/11/16",
  135. "hour": "10h30"
  136. },
  137. "text": "Proident esse laboris in sed officia exercitation ut anim ea. in sed officia exercitation ut"
  138. }, {
  139. "id": 2,
  140. "type": "message",
  141. "author": {
  142. "id": 1,
  143. "username": "smoi",
  144. "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
  145. },
  146. "createdAt": {
  147. "day": "27/11/15",
  148. "hour": "10h30"
  149. },
  150. "text": "Proident esse laboris in sed officia exercitation ut anim ea. Proident esse laboris in sed officia exercitation ut anim ea. Proident esse laboris in sed officia exercitation ut anim ea."
  151. }, {
  152. "id": 3,
  153. "type": "version",
  154. "author": {
  155. "id": 1,
  156. "username": "smoi",
  157. "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
  158. },
  159. "createdAt": {
  160. "day": "27/11/11"
  161. },
  162. "number": "5"
  163. }],
  164. "content_data_pageHtml": {
  165. "id": "1",
  166. "type": "pageHtml",
  167. "title": "La programmation fonctionnelle",
  168. "status": "validated",
  169. "version": "3",
  170. "text": "<h1>Mon titre nul</h1>Je suis le contenu de cette fameuse <b>page HTML</b><br /> sur la programmation fonctionnelle"
  171. },
  172. "content_data_thread": {
  173. "id": 2,
  174. "type": "thread",
  175. "title": "La programmation fonctionnelle est-elle vraiment utile ?",
  176. "status": "validated",
  177. "message_list": [{
  178. "id": 0,
  179. "author": {
  180. "id": 2,
  181. "username": "Peter",
  182. "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
  183. },
  184. "text": "Tu aurais envie de manger quoi exactement ?",
  185. "createdAt": {
  186. "day": "05/03/18",
  187. "hour": "10h00"
  188. }
  189. }, {
  190. "id": 1,
  191. "author": {
  192. "id": 3,
  193. "username": "Steven",
  194. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  195. },
  196. "createdAt": {
  197. "day": "05/03/18",
  198. "hour": "09h59"
  199. },
  200. "text": "Ben je sais pas, par exemple une quiche lorraine."
  201. }, {
  202. "id": 2,
  203. "author": {
  204. "id": 2,
  205. "username": "Peter",
  206. "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
  207. },
  208. "text": "Une ouiche.",
  209. "createdAt": {
  210. "day": "05/03/18",
  211. "hour": "09h59"
  212. }
  213. }, {
  214. "id": 3,
  215. "author": {
  216. "id": 3,
  217. "username": "Steven",
  218. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  219. },
  220. "createdAt": {
  221. "day": "05/03/18",
  222. "hour": "09h59"
  223. },
  224. "text": "Quoi ?"
  225. }, {
  226. "id": 4,
  227. "author": {
  228. "id": 2,
  229. "username": "Peter",
  230. "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
  231. },
  232. "text": "On dit « une ouiche lorraine ».",
  233. "createdAt": {
  234. "day": "05/03/18",
  235. "hour": "09h59"
  236. }
  237. }, {
  238. "id": 5,
  239. "author": {
  240. "id": 3,
  241. "username": "Steven",
  242. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  243. },
  244. "createdAt": {
  245. "day": "05/03/18",
  246. "hour": "09h58"
  247. },
  248. "text": "Tu es sûr ?"
  249. }, {
  250. "id": 6,
  251. "author": {
  252. "id": 3,
  253. "username": "Steven",
  254. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  255. },
  256. "text": "Ça fait bizarre, « ouiche lorraine ».",
  257. "createdAt": {
  258. "day": "05/03/18",
  259. "hour": "09h59"
  260. }
  261. }]
  262. },
  263. "workspace_list": [{
  264. "id": 0,
  265. "title": "Ressources humaine"
  266. }, {
  267. "id": 1,
  268. "title": "Marketing"
  269. }, {
  270. "id": 2,
  271. "title": "Missions externes"
  272. }, {
  273. "id": 3,
  274. "title": "Recherche et développement"
  275. }, {
  276. "id": 4,
  277. "title": "Commercialisation"
  278. }, {
  279. "id": 5,
  280. "title": "Évolutions"
  281. }]
  282. }