static_db.json 8.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. {
  2. "lang": [{
  3. "id": "fr",
  4. "name": "Français",
  5. "src": "https://upload.wikimedia.org/wikipedia/commons/c/c3/Flag_of_France.svg",
  6. "active": true
  7. }, {
  8. "id": "en",
  9. "name": "English",
  10. "src": "https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag_of_the_United_Kingdom.svg",
  11. "active": false
  12. }],
  13. "user_logged": {
  14. "logged": true,
  15. "user": {
  16. "id": 5,
  17. "username": "Smoi",
  18. "firstname": "Côme",
  19. "lastname": "Stoilenom",
  20. "email": "osef@algoo.fr",
  21. "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4",
  22. "role": "Utilisateur",
  23. "job": "Integrateur | Webdesigner",
  24. "company": "Algoo",
  25. "caldav_url": "http://algoo.trac.im/caldav/user/5.ics/"
  26. }
  27. },
  28. "app_config": [{
  29. "name": "PageHtml",
  30. "componentLeft": "PageHtml",
  31. "componentRight": "Timeline",
  32. "customClass": "wsContentPageHtml",
  33. "icon": "fa fa-file-word-o"
  34. }, {
  35. "name": "PageMarkdown",
  36. "componentLeft": "PageMarkdown",
  37. "componentRight": "undefined",
  38. "customClass": "wsContentPageMarkdown",
  39. "icon": "fa fa-file-code-o"
  40. }, {
  41. "name": "File",
  42. "componentLeft": "File",
  43. "componentRight": "undefined",
  44. "customClass": "wsContentFile",
  45. "icon": "fa fa-file-text-o"
  46. }, {
  47. "name": "Thread",
  48. "componentLeft": "Thread",
  49. "componentRight": "undefined",
  50. "customClass": "wsContentThread",
  51. "icon": "fa fa-comments-o"
  52. }, {
  53. "name": "Task",
  54. "componentLeft": "Task",
  55. "componentRight": "undefined",
  56. "customClass": "wsContentTask",
  57. "icon": "fa fa-list-ul"
  58. }, {
  59. "name": "Issue",
  60. "componentLeft": "Issue",
  61. "componentRight": "undefined",
  62. "customClass": "wsContentIssue",
  63. "icon": "fa fa-ticket"
  64. }],
  65. "workspace_detail": {
  66. "id": 1,
  67. "title": "Mission interne - développement",
  68. "owner_id": 5,
  69. "content": [
  70. {
  71. "id": 1,
  72. "title": "La programmation fonctionnelle",
  73. "type": "PageHtml",
  74. "status": "validated"
  75. },
  76. {
  77. "id": 2,
  78. "title": "La programmation fonctionnelle est-elle vraiment utile ?",
  79. "type": "Thread",
  80. "status": "current"
  81. },
  82. {
  83. "id": 6,
  84. "title": "Une photo moche",
  85. "type": "File",
  86. "status": "current"
  87. },
  88. {
  89. "id": 10,
  90. "title": "le README.md d'un random repo github",
  91. "type": "PageMarkdown",
  92. "status": "current"
  93. },
  94. {
  95. "id": 7,
  96. "title": "Une liste de truc à faire que je ferai jamais",
  97. "type": "Task",
  98. "status": "current"
  99. },
  100. {
  101. "id": 8,
  102. "title": "Ça, ça marche pas. Merci de le fix",
  103. "type": "Issue",
  104. "status": "current"
  105. },
  106. {
  107. "id": 3,
  108. "title": "Programmation objet",
  109. "type": "folder",
  110. "content": [
  111. {
  112. "id": 4,
  113. "title": "des trucs de backend",
  114. "type": "File",
  115. "status": "outdated"
  116. },
  117. {
  118. "id": 5,
  119. "title": "on s'emmerde",
  120. "type": "PageHtml",
  121. "status": "outdated"
  122. }
  123. ]
  124. }
  125. ]
  126. },
  127. "timeline": [{
  128. "id": 0,
  129. "type": "message",
  130. "author": {
  131. "id": 5,
  132. "username": "Stoi",
  133. "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4"
  134. },
  135. "createdAt": {
  136. "day": "27/11/17",
  137. "hour": "11h45"
  138. },
  139. "text": "Proident esse laboris in sed officia exercitation ut anim ea."
  140. }, {
  141. "id": 1,
  142. "type": "message",
  143. "author": {
  144. "id": 1,
  145. "username": "smoi",
  146. "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
  147. },
  148. "createdAt": {
  149. "day": "27/11/16",
  150. "hour": "10h30"
  151. },
  152. "text": "Proident esse laboris in sed officia exercitation ut anim ea. in sed officia exercitation ut"
  153. }, {
  154. "id": 2,
  155. "type": "message",
  156. "author": {
  157. "id": 1,
  158. "username": "smoi",
  159. "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
  160. },
  161. "createdAt": {
  162. "day": "27/11/15",
  163. "hour": "10h30"
  164. },
  165. "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."
  166. }, {
  167. "id": 3,
  168. "type": "version",
  169. "author": {
  170. "id": 1,
  171. "username": "smoi",
  172. "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
  173. },
  174. "createdAt": {
  175. "day": "27/11/11"
  176. },
  177. "number": "5"
  178. }],
  179. "content_data_pageHtml": {
  180. "id": "1",
  181. "type": "pageHtml",
  182. "title": "La programmation fonctionnelle",
  183. "status": "validated",
  184. "version": "3",
  185. "text": "<h1>Mon titre nul</h1>Je suis le contenu de cette fameuse <b>page HTML</b><br /> sur la programmation fonctionnelle"
  186. },
  187. "content_data_thread": {
  188. "id": 2,
  189. "type": "thread",
  190. "title": "La programmation fonctionnelle est-elle vraiment utile ?",
  191. "status": "validated",
  192. "message_list": [{
  193. "id": 0,
  194. "author": {
  195. "id": 5,
  196. "username": "Peter",
  197. "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
  198. },
  199. "text": "Tu aurais envie de manger quoi exactement ?",
  200. "createdAt": {
  201. "day": "05/03/18",
  202. "hour": "10h00"
  203. }
  204. }, {
  205. "id": 1,
  206. "author": {
  207. "id": 3,
  208. "username": "Steven",
  209. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  210. },
  211. "createdAt": {
  212. "day": "05/03/18",
  213. "hour": "09h59"
  214. },
  215. "text": "Ben je sais pas, par exemple une quiche lorraine."
  216. }, {
  217. "id": 2,
  218. "author": {
  219. "id": 5,
  220. "username": "Peter",
  221. "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
  222. },
  223. "text": "Une ouiche.",
  224. "createdAt": {
  225. "day": "05/03/18",
  226. "hour": "09h59"
  227. }
  228. }, {
  229. "id": 3,
  230. "author": {
  231. "id": 3,
  232. "username": "Steven",
  233. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  234. },
  235. "createdAt": {
  236. "day": "05/03/18",
  237. "hour": "09h59"
  238. },
  239. "text": "Quoi ?"
  240. }, {
  241. "id": 4,
  242. "author": {
  243. "id": 5,
  244. "username": "Peter",
  245. "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
  246. },
  247. "text": "On dit « une ouiche lorraine ».",
  248. "createdAt": {
  249. "day": "05/03/18",
  250. "hour": "09h59"
  251. }
  252. }, {
  253. "id": 5,
  254. "author": {
  255. "id": 3,
  256. "username": "Steven",
  257. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  258. },
  259. "createdAt": {
  260. "day": "05/03/18",
  261. "hour": "09h58"
  262. },
  263. "text": "Tu es sûr ?"
  264. }, {
  265. "id": 6,
  266. "author": {
  267. "id": 3,
  268. "username": "Steven",
  269. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  270. },
  271. "text": "Ça fait bizarre, « ouiche lorraine ».",
  272. "createdAt": {
  273. "day": "05/03/18",
  274. "hour": "09h59"
  275. }
  276. }]
  277. },
  278. "workspace_list": [{
  279. "id": 0,
  280. "title": "Ressources humaine"
  281. }, {
  282. "id": 1,
  283. "title": "Marketing"
  284. }, {
  285. "id": 2,
  286. "title": "Missions externes"
  287. }, {
  288. "id": 3,
  289. "title": "Recherche et développement"
  290. }, {
  291. "id": 4,
  292. "title": "Commercialisation"
  293. }, {
  294. "id": 5,
  295. "title": "Évolutions"
  296. }],
  297. "user_role": [{
  298. "workspace": {
  299. "id": 0,
  300. "title": "Ressources humaine"
  301. },
  302. "role": "reader",
  303. "subscribed_to_notif": true
  304. }, {
  305. "workspace": {
  306. "id": 1,
  307. "title": "Marketing"
  308. },
  309. "role": "manager",
  310. "subscribed_to_notif": true
  311. }, {
  312. "workspace": {
  313. "id": 2,
  314. "title": "Missions externes"
  315. },
  316. "role": "contributor",
  317. "subscribed_to_notif": false
  318. }, {
  319. "workspace": {
  320. "id": 3,
  321. "title": "Recherche et développement"
  322. },
  323. "role": "content_manager",
  324. "subscribed_to_notif": true
  325. }, {
  326. "workspace": {
  327. "id": 4,
  328. "title": "Commercialisation"
  329. },
  330. "role": "reader",
  331. "subscribed_to_notif": false
  332. }, {
  333. "workspace": {
  334. "id": 5,
  335. "title": "Évolutions"
  336. },
  337. "role": "content_manager",
  338. "subscribed_to_notif": true
  339. }]
  340. }