initial-data.ts 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. import { ITraining } from "./src/training/types";
  2. const data: { trainings: ITraining[]; polls: any } = {
  3. trainings: [
  4. {
  5. id: "training0",
  6. title: "Circuit",
  7. type: {
  8. id: "type0",
  9. name: "HIIT",
  10. description: "High intensity interval training.",
  11. },
  12. createdAt: "2020-04-14T21:13:43.284Z",
  13. trainingDate: "2020-04-15T09:45:00.000Z",
  14. location: "At home",
  15. registrations: [],
  16. attendance: 0,
  17. ratings: [],
  18. published: true,
  19. blocks: [
  20. {
  21. id: "block0",
  22. sequence: 0,
  23. title: "Roxanne",
  24. repetitions: 1,
  25. rest: 45,
  26. video: "/media/roxanne.mp4",
  27. format: {
  28. id: "format0",
  29. name: "Sequence",
  30. description: "Sequence of exercises",
  31. },
  32. blocks: [
  33. {
  34. id: "block3",
  35. video: "/media/roxanne.mp4",
  36. duration: 185,
  37. exercises: [
  38. {
  39. id: "exercise1",
  40. name: "Squat",
  41. repetitions: 1,
  42. description:
  43. "Sit down backwards, hip about knee-high. Keep your knees behind the toes.",
  44. videos: [],
  45. pictures: [],
  46. targets: ["Thighs", "Glutes"],
  47. baseExercise: {
  48. id: "baseExercise1",
  49. name: "Squat",
  50. },
  51. },
  52. {
  53. id: "exercise1",
  54. name: "Burpee",
  55. repetitions: 1,
  56. description: "",
  57. videos: [],
  58. pictures: [],
  59. targets: ["Thighs", "Glutes"],
  60. baseExercise: {
  61. id: "baseExercise1",
  62. name: "Squat",
  63. },
  64. },
  65. ],
  66. },
  67. ],
  68. },
  69. {
  70. id: "block1",
  71. sequence: 0,
  72. title: "Tabata",
  73. repetitions: 2,
  74. rest: 60,
  75. video: "/media/tabata.mp4",
  76. format: {
  77. id: "format0",
  78. name: "Sequence",
  79. description: "Sequence of exercises",
  80. },
  81. blocks: [
  82. {
  83. id: "block4",
  84. duration: 10,
  85. exercises: [
  86. {
  87. id: "exercise1",
  88. name: "Prepare",
  89. repetitions: 1,
  90. description: "",
  91. videos: [],
  92. pictures: [],
  93. targets: ["Thighs", "Glutes"],
  94. baseExercise: {
  95. id: "baseExercise1",
  96. name: "Squat",
  97. },
  98. },
  99. ],
  100. },
  101. {
  102. id: "block4",
  103. duration: 20,
  104. rest: 10,
  105. exercises: [
  106. {
  107. id: "exercise1",
  108. name: "Power lunge",
  109. repetitions: 4,
  110. description: "",
  111. videos: [],
  112. pictures: [],
  113. targets: ["Thighs", "Glutes"],
  114. baseExercise: {
  115. id: "baseExercise1",
  116. name: "Squat",
  117. },
  118. },
  119. {
  120. id: "exercise2",
  121. name: "Squat jump",
  122. repetitions: 2,
  123. description: "",
  124. videos: [],
  125. pictures: [],
  126. targets: ["Thighs", "Glutes"],
  127. baseExercise: {
  128. id: "baseExercise1",
  129. name: "Squat",
  130. },
  131. },
  132. ],
  133. },
  134. {
  135. id: "block4",
  136. duration: 20,
  137. rest: 10,
  138. exercises: [
  139. {
  140. id: "exercise1",
  141. name: "Plyo pushup",
  142. repetitions: 1,
  143. description: "",
  144. videos: [],
  145. pictures: [],
  146. targets: ["Thighs", "Glutes"],
  147. baseExercise: {
  148. id: "baseExercise1",
  149. name: "Squat",
  150. },
  151. },
  152. ],
  153. },
  154. {
  155. id: "block4",
  156. duration: 20,
  157. rest: 10,
  158. exercises: [
  159. {
  160. id: "exercise1",
  161. name: "Ice skater",
  162. repetitions: 1,
  163. description: "",
  164. videos: [],
  165. pictures: [],
  166. targets: ["Thighs", "Glutes"],
  167. baseExercise: {
  168. id: "baseExercise1",
  169. name: "Squat",
  170. },
  171. },
  172. ],
  173. },
  174. {
  175. id: "block4",
  176. duration: 20,
  177. rest: 10,
  178. exercises: [
  179. {
  180. id: "exercise1",
  181. name: "Kick up",
  182. repetitions: 1,
  183. description: "",
  184. videos: [],
  185. pictures: [],
  186. targets: ["Thighs", "Glutes"],
  187. baseExercise: {
  188. id: "baseExercise1",
  189. name: "Squat",
  190. },
  191. },
  192. ],
  193. },
  194. {
  195. id: "block4",
  196. duration: 20,
  197. rest: 10,
  198. exercises: [
  199. {
  200. id: "exercise1",
  201. name: "Lateral jump squat",
  202. repetitions: 2,
  203. description: "",
  204. videos: [],
  205. pictures: [],
  206. targets: ["Thighs", "Glutes"],
  207. baseExercise: {
  208. id: "baseExercise1",
  209. name: "Squat",
  210. },
  211. },
  212. {
  213. id: "exercise1",
  214. name: "Tuck jump burpee",
  215. repetitions: 1,
  216. description: "",
  217. videos: [],
  218. pictures: [],
  219. targets: ["Thighs", "Glutes"],
  220. baseExercise: {
  221. id: "baseExercise1",
  222. name: "Squat",
  223. },
  224. },
  225. ],
  226. },
  227. {
  228. id: "block4",
  229. duration: 20,
  230. rest: 10,
  231. exercises: [
  232. {
  233. id: "exercise1",
  234. name: "Side plank with leg lift and kick forward",
  235. repetitions: 1,
  236. description: "",
  237. videos: [],
  238. pictures: [],
  239. targets: ["Thighs", "Glutes"],
  240. baseExercise: {
  241. id: "baseExercise1",
  242. name: "Squat",
  243. },
  244. },
  245. ],
  246. },
  247. {
  248. id: "block4",
  249. duration: 20,
  250. rest: 10,
  251. exercises: [
  252. {
  253. id: "exercise1",
  254. name: "X-Man",
  255. repetitions: 1,
  256. description: "",
  257. videos: [],
  258. pictures: [],
  259. targets: ["Thighs", "Glutes"],
  260. baseExercise: {
  261. id: "baseExercise1",
  262. name: "Squat",
  263. },
  264. },
  265. ],
  266. },
  267. {
  268. id: "block4",
  269. duration: 20,
  270. rest: 10,
  271. exercises: [
  272. {
  273. id: "exercise1",
  274. name: "Cross V-up",
  275. repetitions: 1,
  276. description: "",
  277. videos: [],
  278. pictures: [],
  279. targets: ["Thighs", "Glutes"],
  280. baseExercise: {
  281. id: "baseExercise1",
  282. name: "Squat",
  283. },
  284. },
  285. ],
  286. },
  287. ],
  288. },
  289. {
  290. id: "block0",
  291. sequence: 0,
  292. title: "Circuit",
  293. repetitions: 2,
  294. rest: 60,
  295. format: {
  296. id: "format0",
  297. name: "Sequence",
  298. description: "Sequence of exercises",
  299. },
  300. blocks: [
  301. {
  302. id: "block2",
  303. duration: 45,
  304. rest: 15,
  305. video: "/media/circuit-1.mp4",
  306. exercises: [
  307. {
  308. id: "exercise0",
  309. name: "Narrow pushup",
  310. repetitions: 1,
  311. description: "",
  312. videos: [],
  313. pictures: [],
  314. targets: [],
  315. baseExercise: {
  316. id: "baseExercise1",
  317. name: "Jog on the spot",
  318. },
  319. },
  320. {
  321. id: "exercise0",
  322. name: "Wide pushup",
  323. repetitions: 1,
  324. description: "",
  325. videos: [],
  326. pictures: [],
  327. targets: [],
  328. baseExercise: {
  329. id: "baseExercise1",
  330. name: "Jog on the spot",
  331. },
  332. },
  333. ],
  334. },
  335. {
  336. id: "block3",
  337. duration: 45,
  338. rest: 15,
  339. video: "/media/circuit-2.mp4",
  340. exercises: [
  341. {
  342. id: "exercise1",
  343. name: "Mountain climber",
  344. repetitions: 1,
  345. description:
  346. "Sit down backwards, hip about knee-high. Keep your knees behind the toes.",
  347. videos: [],
  348. pictures: [],
  349. targets: ["Thighs", "Glutes"],
  350. baseExercise: {
  351. id: "baseExercise1",
  352. name: "Squat",
  353. },
  354. },
  355. ],
  356. },
  357. {
  358. id: "block4",
  359. duration: 45,
  360. rest: 15,
  361. video: "/media/circuit-3.mp4",
  362. exercises: [
  363. {
  364. id: "exercise1",
  365. name: "Superman combo",
  366. repetitions: 1,
  367. description:
  368. "Sit down backwards, hip about knee-high. Keep your knees behind the toes.",
  369. videos: [],
  370. pictures: [],
  371. targets: ["Thighs", "Glutes"],
  372. baseExercise: {
  373. id: "baseExercise1",
  374. name: "Squat",
  375. },
  376. },
  377. ],
  378. },
  379. {
  380. id: "block4",
  381. duration: 45,
  382. rest: 15,
  383. video: "/media/circuit-4.mp4",
  384. exercises: [
  385. {
  386. id: "exercise1",
  387. name: "Run & punch",
  388. repetitions: 1,
  389. description:
  390. "Sit down backwards, hip about knee-high. Keep your knees behind the toes.",
  391. videos: [],
  392. pictures: [],
  393. targets: ["Thighs", "Glutes"],
  394. baseExercise: {
  395. id: "baseExercise1",
  396. name: "Squat",
  397. },
  398. },
  399. ],
  400. },
  401. {
  402. id: "block4",
  403. duration: 45,
  404. rest: 15,
  405. video: "/media/circuit-5.mp4",
  406. exercises: [
  407. {
  408. id: "exercise1",
  409. name: "Shoulder fly",
  410. repetitions: 1,
  411. description:
  412. "Sit down backwards, hip about knee-high. Keep your knees behind the toes.",
  413. videos: [],
  414. pictures: [],
  415. targets: ["Thighs", "Glutes"],
  416. baseExercise: {
  417. id: "baseExercise1",
  418. name: "Squat",
  419. },
  420. },
  421. ],
  422. },
  423. {
  424. id: "block4",
  425. duration: 45,
  426. rest: 15,
  427. video: "/media/circuit-6.mp4",
  428. exercises: [
  429. {
  430. id: "exercise1",
  431. name: "Fast knees",
  432. repetitions: 8,
  433. description:
  434. "Sit down backwards, hip about knee-high. Keep your knees behind the toes.",
  435. videos: [],
  436. pictures: [],
  437. targets: ["Thighs", "Glutes"],
  438. baseExercise: {
  439. id: "baseExercise1",
  440. name: "Squat",
  441. },
  442. },
  443. {
  444. id: "exercise1",
  445. name: "High knees",
  446. repetitions: 4,
  447. description:
  448. "Sit down backwards, hip about knee-high. Keep your knees behind the toes.",
  449. videos: [],
  450. pictures: [],
  451. targets: ["Thighs", "Glutes"],
  452. baseExercise: {
  453. id: "baseExercise1",
  454. name: "Squat",
  455. },
  456. },
  457. ],
  458. },
  459. ],
  460. },
  461. {
  462. id: "block0",
  463. sequence: 0,
  464. title: "Rep challenge",
  465. description: "Finish 6 repetitions and earn a break.",
  466. repetitions: 4,
  467. format: {
  468. id: "format0",
  469. name: "Rep challenge",
  470. description: "Finish 6 repetitions and earn a break.",
  471. },
  472. blocks: [
  473. {
  474. id: "block2",
  475. description: "Finish 6 repetitions and earn a break.",
  476. duration: 30,
  477. video: "/media/challenge.mp4",
  478. exercises: [
  479. {
  480. id: "exercise1",
  481. name: "One armed burpee",
  482. repetitions: 1,
  483. description:
  484. "Sit down backwards, hip about knee-high. Keep your knees behind the toes.",
  485. videos: [],
  486. pictures: [],
  487. targets: ["Thighs", "Glutes"],
  488. baseExercise: {
  489. id: "baseExercise1",
  490. name: "Squat",
  491. },
  492. },
  493. {
  494. id: "exercise1",
  495. name: "Long jump",
  496. repetitions: 1,
  497. description: "",
  498. videos: [],
  499. pictures: [],
  500. targets: ["Thighs", "Glutes"],
  501. baseExercise: {
  502. id: "baseExercise1",
  503. name: "Squat",
  504. },
  505. },
  506. {
  507. id: "exercise1",
  508. name: "Run back",
  509. repetitions: 1,
  510. description: "",
  511. videos: [],
  512. pictures: [],
  513. targets: ["Thighs", "Glutes"],
  514. baseExercise: {
  515. id: "baseExercise1",
  516. name: "Squat",
  517. },
  518. },
  519. ],
  520. },
  521. ],
  522. },
  523. ],
  524. },
  525. ],
  526. polls: [],
  527. };
  528. export default data;