initial-data.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. const data = {
  2. trainings: [
  3. {
  4. id: 0,
  5. title: 'Indoor HIIT + Core',
  6. date: 1572345900000,
  7. location: 'Yoga Room',
  8. participants: [0, 2],
  9. ratings: [
  10. {
  11. user: 0,
  12. createdAt: 1572621963544,
  13. value: 5,
  14. comment: 'Best training ever.'
  15. }
  16. ],
  17. content: [
  18. {
  19. name: 'Warmup',
  20. duration: 153,
  21. track: {
  22. artist: 'Sam & Dave',
  23. title: "Hold on, I'm coming",
  24. link: 'https://www.youtube.com/watch?v=AREppyQf5uw'
  25. },
  26. exercises: [0]
  27. }
  28. ]
  29. },
  30. {
  31. id: 1,
  32. title: 'Indoor HIIT + Core',
  33. date: 1572345900000,
  34. location: 'Yoga Room',
  35. participants: [0, 2],
  36. ratings: [
  37. {
  38. user: 0,
  39. createdAt: 1572621963544,
  40. value: 5,
  41. comment: 'Best training ever.'
  42. }
  43. ],
  44. content: [
  45. {
  46. name: 'Warmup',
  47. duration: 153,
  48. track: {
  49. artist: 'Sam & Dave',
  50. title: "Hold on, I'm coming",
  51. link: 'https://www.youtube.com/watch?v=AREppyQf5uw'
  52. },
  53. exercises: [0]
  54. }
  55. ]
  56. }
  57. ],
  58. exercises: [
  59. {
  60. id: 0,
  61. name: 'Burpee',
  62. description: 'Squat, kick legs back, bring legs back forward, stand up.',
  63. video: null
  64. }
  65. ],
  66. people: [
  67. {
  68. id: 0,
  69. name: 'Tomi',
  70. password: 'hacked',
  71. phone: '077 665 54 43'
  72. },
  73. {
  74. id: 2,
  75. name: 'Marius',
  76. password: 'hacked',
  77. phone: '077 766 55 44'
  78. }
  79. ],
  80. polls: []
  81. }
  82. export default data