@coorpacademy/player-web 4.2.10 → 4.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/package.json +3 -4
  2. package/es/map-state-to-props/test/answer.js +0 -390
  3. package/es/map-state-to-props/test/answer.js.map +0 -1
  4. package/es/map-state-to-props/test/fixtures/player/clue.json +0 -131
  5. package/es/map-state-to-props/test/fixtures/player/loading-clue.json +0 -131
  6. package/es/map-state-to-props/test/fixtures/player/no-clue.json +0 -118
  7. package/es/map-state-to-props/test/fixtures/player/slide-no-lessons.json +0 -115
  8. package/es/map-state-to-props/test/fixtures/player/slide.json +0 -127
  9. package/es/map-state-to-props/test/fixtures/popin-correction/popin-extra-life.json +0 -139
  10. package/es/map-state-to-props/test/fixtures/popin-correction/popin-failure.json +0 -145
  11. package/es/map-state-to-props/test/fixtures/popin-correction/popin-next-level.json +0 -282
  12. package/es/map-state-to-props/test/fixtures/popin-correction/popin-revival.json +0 -140
  13. package/es/map-state-to-props/test/fixtures/popin-correction/popin-success-node.json +0 -154
  14. package/es/map-state-to-props/test/fixtures/popin-correction/popin-success.json +0 -268
  15. package/es/map-state-to-props/test/fixtures/popin-correction/state-fail-multiple-answers.json +0 -473
  16. package/es/map-state-to-props/test/fixtures/popin-end/fail.json +0 -205
  17. package/es/map-state-to-props/test/fixtures/popin-end/learner-adaptive-failure.json +0 -209
  18. package/es/map-state-to-props/test/fixtures/popin-end/learner-failure-with-redirection.json +0 -211
  19. package/es/map-state-to-props/test/fixtures/popin-end/learner-failure.json +0 -211
  20. package/es/map-state-to-props/test/fixtures/popin-end/learner-success-with-redirection.json +0 -278
  21. package/es/map-state-to-props/test/fixtures/popin-end/learner-success.json +0 -275
  22. package/es/map-state-to-props/test/fixtures/popin-end/success.json +0 -223
  23. package/es/map-state-to-props/test/fixtures/progression-learner.json +0 -102
  24. package/es/map-state-to-props/test/fixtures/progression-state.json +0 -45
  25. package/es/map-state-to-props/test/fixtures/slides/basic.json +0 -60
  26. package/es/map-state-to-props/test/fixtures/slides/plop.json +0 -56
  27. package/es/map-state-to-props/test/fixtures/slides/qcm-drag.json +0 -56
  28. package/es/map-state-to-props/test/fixtures/slides/qcm-graphic.json +0 -49
  29. package/es/map-state-to-props/test/fixtures/slides/qcm.json +0 -43
  30. package/es/map-state-to-props/test/fixtures/slides/slider.json +0 -57
  31. package/es/map-state-to-props/test/fixtures/slides/template.json +0 -49
  32. package/es/map-state-to-props/test/fixtures/slides/videos.json +0 -163
  33. package/es/map-state-to-props/test/fixtures/slides/with-context.json +0 -69
  34. package/es/map-state-to-props/test/header.js +0 -131
  35. package/es/map-state-to-props/test/header.js.map +0 -1
  36. package/es/map-state-to-props/test/index.js +0 -107
  37. package/es/map-state-to-props/test/index.js.map +0 -1
  38. package/es/map-state-to-props/test/player.js +0 -680
  39. package/es/map-state-to-props/test/player.js.map +0 -1
  40. package/es/map-state-to-props/test/popin-correction.create-header-cta.js +0 -301
  41. package/es/map-state-to-props/test/popin-correction.create-header-cta.js.map +0 -1
  42. package/es/map-state-to-props/test/popin-correction.js +0 -80
  43. package/es/map-state-to-props/test/popin-correction.js.map +0 -1
  44. package/es/map-state-to-props/test/popin-end.js +0 -313
  45. package/es/map-state-to-props/test/popin-end.js.map +0 -1
  46. package/es/map-state-to-props/test/popin-error.js +0 -77
  47. package/es/map-state-to-props/test/popin-error.js.map +0 -1
  48. package/es/map-state-to-props/test/resources.js +0 -31
  49. package/es/map-state-to-props/test/resources.js.map +0 -1
  50. package/es/test/add-timeout.js +0 -8
  51. package/es/test/add-timeout.js.map +0 -1
  52. package/es/test/helpers/css-register.js +0 -3
  53. package/es/test/helpers/css-register.js.map +0 -1
  54. package/es/test/helpers/macro.js +0 -6
  55. package/es/test/helpers/macro.js.map +0 -1
  56. package/es/test/index.js +0 -39
  57. package/es/test/index.js.map +0 -1
  58. package/es/test/init-reducers.js +0 -50
  59. package/es/test/init-reducers.js.map +0 -1
  60. package/es/test/locales.js +0 -8
  61. package/es/test/locales.js.map +0 -1
  62. package/es/test/run-app.js +0 -20
  63. package/es/test/run-app.js.map +0 -1
  64. package/es/test/store.js +0 -38
  65. package/es/test/store.js.map +0 -1
  66. package/es/views/test/helpers/render.js +0 -13
  67. package/es/views/test/helpers/render.js.map +0 -1
  68. package/es/views/test/helpers/state-to-vnode.js +0 -7
  69. package/es/views/test/helpers/state-to-vnode.js.map +0 -1
  70. package/es/views/test/loading.js +0 -15
  71. package/es/views/test/loading.js.map +0 -1
  72. package/es/views/test/popin-correction.js +0 -223
  73. package/es/views/test/popin-correction.js.map +0 -1
  74. package/es/views/test/popin-end.js +0 -93
  75. package/es/views/test/popin-end.js.map +0 -1
  76. package/es/views/test/router.js +0 -22
  77. package/es/views/test/router.js.map +0 -1
  78. package/es/views/test/slide.js +0 -335
  79. package/es/views/test/slide.js.map +0 -1
  80. package/lib/map-state-to-props/test/answer.js +0 -408
  81. package/lib/map-state-to-props/test/answer.js.map +0 -1
  82. package/lib/map-state-to-props/test/fixtures/player/clue.json +0 -131
  83. package/lib/map-state-to-props/test/fixtures/player/loading-clue.json +0 -131
  84. package/lib/map-state-to-props/test/fixtures/player/no-clue.json +0 -118
  85. package/lib/map-state-to-props/test/fixtures/player/slide-no-lessons.json +0 -115
  86. package/lib/map-state-to-props/test/fixtures/player/slide.json +0 -127
  87. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-extra-life.json +0 -139
  88. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-failure.json +0 -145
  89. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-next-level.json +0 -282
  90. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-revival.json +0 -140
  91. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-success-node.json +0 -154
  92. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-success.json +0 -268
  93. package/lib/map-state-to-props/test/fixtures/popin-correction/state-fail-multiple-answers.json +0 -473
  94. package/lib/map-state-to-props/test/fixtures/popin-end/fail.json +0 -205
  95. package/lib/map-state-to-props/test/fixtures/popin-end/learner-adaptive-failure.json +0 -209
  96. package/lib/map-state-to-props/test/fixtures/popin-end/learner-failure-with-redirection.json +0 -211
  97. package/lib/map-state-to-props/test/fixtures/popin-end/learner-failure.json +0 -211
  98. package/lib/map-state-to-props/test/fixtures/popin-end/learner-success-with-redirection.json +0 -278
  99. package/lib/map-state-to-props/test/fixtures/popin-end/learner-success.json +0 -275
  100. package/lib/map-state-to-props/test/fixtures/popin-end/success.json +0 -223
  101. package/lib/map-state-to-props/test/fixtures/progression-learner.json +0 -102
  102. package/lib/map-state-to-props/test/fixtures/progression-state.json +0 -45
  103. package/lib/map-state-to-props/test/fixtures/slides/basic.json +0 -60
  104. package/lib/map-state-to-props/test/fixtures/slides/plop.json +0 -56
  105. package/lib/map-state-to-props/test/fixtures/slides/qcm-drag.json +0 -56
  106. package/lib/map-state-to-props/test/fixtures/slides/qcm-graphic.json +0 -49
  107. package/lib/map-state-to-props/test/fixtures/slides/qcm.json +0 -43
  108. package/lib/map-state-to-props/test/fixtures/slides/slider.json +0 -57
  109. package/lib/map-state-to-props/test/fixtures/slides/template.json +0 -49
  110. package/lib/map-state-to-props/test/fixtures/slides/videos.json +0 -163
  111. package/lib/map-state-to-props/test/fixtures/slides/with-context.json +0 -69
  112. package/lib/map-state-to-props/test/header.js +0 -143
  113. package/lib/map-state-to-props/test/header.js.map +0 -1
  114. package/lib/map-state-to-props/test/index.js +0 -100
  115. package/lib/map-state-to-props/test/index.js.map +0 -1
  116. package/lib/map-state-to-props/test/player.js +0 -714
  117. package/lib/map-state-to-props/test/player.js.map +0 -1
  118. package/lib/map-state-to-props/test/popin-correction.create-header-cta.js +0 -315
  119. package/lib/map-state-to-props/test/popin-correction.create-header-cta.js.map +0 -1
  120. package/lib/map-state-to-props/test/popin-correction.js +0 -85
  121. package/lib/map-state-to-props/test/popin-correction.js.map +0 -1
  122. package/lib/map-state-to-props/test/popin-end.js +0 -328
  123. package/lib/map-state-to-props/test/popin-end.js.map +0 -1
  124. package/lib/map-state-to-props/test/popin-error.js +0 -85
  125. package/lib/map-state-to-props/test/popin-error.js.map +0 -1
  126. package/lib/map-state-to-props/test/resources.js +0 -42
  127. package/lib/map-state-to-props/test/resources.js.map +0 -1
  128. package/lib/test/add-timeout.js +0 -14
  129. package/lib/test/add-timeout.js.map +0 -1
  130. package/lib/test/helpers/css-register.js +0 -8
  131. package/lib/test/helpers/css-register.js.map +0 -1
  132. package/lib/test/helpers/macro.js +0 -12
  133. package/lib/test/helpers/macro.js.map +0 -1
  134. package/lib/test/index.js +0 -53
  135. package/lib/test/index.js.map +0 -1
  136. package/lib/test/init-reducers.js +0 -57
  137. package/lib/test/init-reducers.js.map +0 -1
  138. package/lib/test/locales.js +0 -18
  139. package/lib/test/locales.js.map +0 -1
  140. package/lib/test/run-app.js +0 -27
  141. package/lib/test/run-app.js.map +0 -1
  142. package/lib/test/store.js +0 -45
  143. package/lib/test/store.js.map +0 -1
  144. package/lib/views/test/helpers/render.js +0 -24
  145. package/lib/views/test/helpers/render.js.map +0 -1
  146. package/lib/views/test/helpers/state-to-vnode.js +0 -14
  147. package/lib/views/test/helpers/state-to-vnode.js.map +0 -1
  148. package/lib/views/test/loading.js +0 -22
  149. package/lib/views/test/loading.js.map +0 -1
  150. package/lib/views/test/popin-correction.js +0 -237
  151. package/lib/views/test/popin-correction.js.map +0 -1
  152. package/lib/views/test/popin-end.js +0 -105
  153. package/lib/views/test/popin-end.js.map +0 -1
  154. package/lib/views/test/router.js +0 -32
  155. package/lib/views/test/router.js.map +0 -1
  156. package/lib/views/test/slide.js +0 -359
  157. package/lib/views/test/slide.js.map +0 -1
@@ -1,145 +0,0 @@
1
- {
2
- "data": {
3
- "contents": {
4
- "slide": {
5
- "entities": {
6
- "1.B2.4": {
7
- "_id": "1.B2.4",
8
- "klf": "Some KLF",
9
- "tips": "XXX",
10
- "chapter_id": "cha_Ny1BTxRp~",
11
- "authors": [],
12
- "context": {
13
- "media": {
14
- "subtitles": [],
15
- "posters": [],
16
- "src": []
17
- }
18
- },
19
- "info": {
20
- "nbSlides": 4
21
- },
22
- "lessons": [
23
- {
24
- "type": "video",
25
- "poster": "//static.coorpacademy.com/content/digital/miniatures_cours/base/1B2.png",
26
- "description": "Anatomie d'une page de résultats",
27
- "mimeType": "application/vimeo",
28
- "videoId": "88393119\n",
29
- "_id": "590b862e2e967f64333ad456",
30
- "subtitles": [],
31
- "posters": [],
32
- "src": []
33
- },
34
- {
35
- "description": "Historique des moteurs de recherche",
36
- "mimeType": "application/vimeo",
37
- "poster": "//static.coorpacademy.com/content/digital/miniatures_cours/base/1B1.png",
38
- "posters": [],
39
- "src": [],
40
- "subtitles": [],
41
- "type": "video",
42
- "videoId": "88546728\n",
43
- "_id": "590b862e2e967f64333ad4fc"
44
- }
45
- ],
46
- "question": {
47
- "type": "basic",
48
- "header": "Écrivez le mot Text dans l'input.\n",
49
- "explanation": "Saisissez votre réponse.",
50
- "content": {
51
- "label": "Saisissez votre réponse.",
52
- "placeholder": " ",
53
- "maxTypos": null,
54
- "choices": [],
55
- "answers": [["Text"]],
56
- "media": {
57
- "subtitles": [],
58
- "posters": [],
59
- "src": []
60
- }
61
- },
62
- "medias": []
63
- }
64
- }
65
- }
66
- }
67
- },
68
- "answers": {
69
- "entities": {
70
- "0": {
71
- "1.B2.4": {
72
- "correctAnswer": ["Text"],
73
- "corrections": [
74
- {
75
- "answer": "Toto",
76
- "isCorrect": false
77
- }
78
- ]
79
- }
80
- }
81
- }
82
- },
83
- "configs": {
84
- "entities": {
85
- "microlearning@1": {
86
- "remainingLifeRequests": 1
87
- }
88
- }
89
- },
90
- "progressions": {
91
- "entities": {
92
- "0": {
93
- "_id": "0",
94
- "engine": {
95
- "ref": "microlearning",
96
- "version": "1"
97
- },
98
- "content": {
99
- "ref": "1.B2.4",
100
- "type": "slide"
101
- },
102
- "state": {
103
- "slides": ["1.B2.4"],
104
- "nextContent": {
105
- "ref": "failExitNode",
106
- "type": "failure"
107
- },
108
- "lives": 0,
109
- "remainingLifeRequests": 0,
110
- "step": {
111
- "current": 2
112
- },
113
- "isCorrect": false,
114
- "stars": 0,
115
- "requestedClues": [],
116
- "viewedResources": [],
117
- "content": {
118
- "ref": "1.B2.4",
119
- "type": "slide"
120
- }
121
- }
122
- }
123
- }
124
- },
125
- "exitNodes": {
126
- "entities": {}
127
- }
128
- },
129
- "ui": {
130
- "answers": {
131
- "0": {
132
- "value": ["Toto"]
133
- }
134
- },
135
- "current": {
136
- "progressionId": "0"
137
- },
138
- "corrections": {
139
- "accordion": [true, false, false]
140
- },
141
- "route": {
142
- "0": "correction"
143
- }
144
- }
145
- }
@@ -1,282 +0,0 @@
1
- {
2
- "data": {
3
- "configs": {
4
- "entities": {
5
- "microlearning@1": {
6
- "version": 1
7
- }
8
- }
9
- },
10
- "contents": {
11
- "slide": {
12
- "entities": {
13
- "1.B2.4": {
14
- "_id": "1.B2.4",
15
- "klf": "Some KLF",
16
- "tips": "XXX",
17
- "chapter_id": "cha_Ny1BTxRp~",
18
- "authors": [],
19
- "context": {
20
- "media": {
21
- "subtitles": [],
22
- "posters": [],
23
- "src": []
24
- }
25
- },
26
- "info": {
27
- "nbSlides": 4
28
- },
29
- "meta": {
30
- "updatedAt": "2017-06-13T12:15:40.321Z",
31
- "createdAt": "2017-06-13T12:15:40.321Z"
32
- },
33
- "lessons": [
34
- {
35
- "type": "video",
36
- "poster": "//static.coorpacademy.com/content/digital/miniatures_cours/base/1B2.png",
37
- "description": "Anatomie d'une page de résultats",
38
- "mimeType": "application/vimeo",
39
- "videoId": "88393119\n",
40
- "_id": "590b862e2e967f64333ad456",
41
- "subtitles": [],
42
- "posters": [],
43
- "src": []
44
- }
45
- ],
46
- "question": {
47
- "type": "basic",
48
- "header": "Écrivez le mot Text dans l'input.\n",
49
- "explanation": "Saisissez votre réponse.",
50
- "content": {
51
- "label": "Saisissez votre réponse.",
52
- "placeholder": " ",
53
- "maxTypos": null,
54
- "choices": [],
55
- "answers": [["Text"]],
56
- "media": {
57
- "subtitles": [],
58
- "posters": [],
59
- "src": []
60
- }
61
- },
62
- "medias": []
63
- }
64
- },
65
- "sli_Nk2vje~E~": {
66
- "_id": "sli_Nk2vje~E~",
67
- "klf": "You can have multiple type of fields for a template question",
68
- "tips": "Some tips",
69
- "clue": "clue",
70
- "chapter_id": "1.B2",
71
- "question": {
72
- "type": "template",
73
- "header": "Enter 'Text' and 'Select'",
74
- "explanation": "Type your answers",
75
- "content": {
76
- "template": "The answer is {{inp81438}} and {{sel31191}}",
77
- "matchOrder": true,
78
- "maxTypos": null,
79
- "answers": [["Text", "Select"]],
80
- "choices": [
81
- {
82
- "type": "text",
83
- "name": "inp81438",
84
- "label": " ",
85
- "placeholder": " ",
86
- "_id": "596338e04af4cb8a08a94495",
87
- "items": [],
88
- "media": {
89
- "subtitles": [],
90
- "posters": [],
91
- "src": []
92
- }
93
- },
94
- {
95
- "type": "select",
96
- "name": "sel31191",
97
- "label": " ",
98
- "_id": "596338e04af4cb8a08a94492",
99
- "items": [
100
- {
101
- "text": "Select",
102
- "value": "sli_12345.choice_01",
103
- "_id": "596338e04af4cb8a08a94494"
104
- },
105
- {
106
- "text": "Text",
107
- "value": "sli_12345.choice_02",
108
- "_id": "596338e04af4cb8a08a94493"
109
- }
110
- ]
111
- }
112
- ]
113
- }
114
- }
115
- },
116
- "sli_Vy88~R-bX": {
117
- "_id": "sli_Vy88~R-bX",
118
- "klf": "Difficile hein !",
119
- "tips": "Que 1 X 1 n'est pas 2 !",
120
- "chapter_id": "cha_Ny1BTxRp~",
121
- "authors": [],
122
- "context": {
123
- "media": {
124
- "subtitles": [],
125
- "posters": [],
126
- "src": []
127
- }
128
- },
129
- "meta": {
130
- "updatedAt": "2017-06-06T13:49:35.256Z",
131
- "createdAt": "2017-06-06T13:49:35.255Z"
132
- },
133
- "lessons": [
134
- {
135
- "_id": "5930752aa2b39d0024eebffb",
136
- "description": "Hierarchie",
137
- "mediaUrl": "//static.coorpacademy.com/content/CoorpAcademy/content/cockpitRecette-joan/raw/hierachie-contenu-1496311207505.pdf",
138
- "mimeType": "application/pdf",
139
- "type": "pdf",
140
- "subtitles": [],
141
- "posters": [],
142
- "src": []
143
- }
144
- ],
145
- "question": {
146
- "type": "qcm",
147
- "header": "Combien ça fait 1 + 1 ?",
148
- "explanation": "Sélectionnez la (les) bonne(s) réponse(s).",
149
- "content": {
150
- "maxTypos": null,
151
- "choices": [
152
- {
153
- "_id": "5930752aa2b39d0024eebffe",
154
- "value": "sli_Vy88~R-bX.choice_EyWTW0O~X",
155
- "label": "0",
156
- "items": [],
157
- "media": {
158
- "subtitles": [],
159
- "posters": [],
160
- "src": []
161
- }
162
- },
163
- {
164
- "_id": "5930752aa2b39d0024eebffd",
165
- "value": "sli_Vy88~R-bX.choice_EJmabCuZX",
166
- "label": "1",
167
- "items": [],
168
- "media": {
169
- "subtitles": [],
170
- "posters": [],
171
- "src": []
172
- }
173
- },
174
- {
175
- "_id": "5930752aa2b39d0024eebffc",
176
- "value": "sli_Vy88~R-bX.choice_NyoT~C-~X",
177
- "label": "2",
178
- "items": [],
179
- "media": {
180
- "subtitles": [],
181
- "posters": [],
182
- "src": []
183
- }
184
- }
185
- ],
186
- "answers": [["2"]],
187
- "media": {
188
- "subtitles": [],
189
- "posters": [],
190
- "src": []
191
- }
192
- },
193
- "medias": []
194
- }
195
- }
196
- }
197
- },
198
- "level": {
199
- "entities": {
200
- "1.B": {
201
- "chapterIds": ["1.B1", "1.B2", "1.B3", "1.B4"]
202
- }
203
- }
204
- },
205
- "chapter": {
206
- "entities": {
207
- "1.B2": {
208
- "name": "Some chapter name"
209
- }
210
- }
211
- }
212
- },
213
- "progressions": {
214
- "entities": {
215
- "0": {
216
- "_id": "0",
217
- "engine": {
218
- "ref": "microlearning",
219
- "version": "1"
220
- },
221
- "content": {
222
- "ref": "1.B",
223
- "type": "level"
224
- },
225
- "state": {
226
- "slides": ["1.B2.4", "sli_Nk2vje~E~"],
227
- "nextContent": {
228
- "ref": "sli_Nk2vje~E~",
229
- "type": "slide"
230
- },
231
- "lives": 1,
232
- "step": {
233
- "current": 3
234
- },
235
- "isCorrect": true,
236
- "stars": 8,
237
- "requestedClues": [],
238
- "viewedResources": [],
239
- "content": {
240
- "ref": "sli_Vy88~R-bX",
241
- "type": "slide"
242
- }
243
- }
244
- }
245
- }
246
- },
247
- "answers": {
248
- "entities": {
249
- "0": {
250
- "sli_Vy88~R-bX": {
251
- "correctAnswer": ["2"],
252
- "corrections": [
253
- {
254
- "answer": "2",
255
- "isCorrect": true
256
- }
257
- ]
258
- }
259
- }
260
- }
261
- },
262
- "exitNodes": {
263
- "entities": {}
264
- }
265
- },
266
- "ui": {
267
- "answers": {
268
- "0": {
269
- "value": ["2"]
270
- }
271
- },
272
- "current": {
273
- "progressionId": "0"
274
- },
275
- "corrections": {
276
- "accordion": [false, false, true]
277
- },
278
- "route": {
279
- "0": "correction"
280
- }
281
- }
282
- }
@@ -1,140 +0,0 @@
1
- {
2
- "data": {
3
- "configs": {
4
- "entities": {
5
- "microlearning@1": {
6
- "version": 1
7
- }
8
- }
9
- },
10
- "contents": {
11
- "slide": {
12
- "entities": {
13
- "1.B2.4": {
14
- "_id": "1.B2.4",
15
- "klf": "Some KLF",
16
- "tips": "XXX",
17
- "chapter_id": "cha_Ny1BTxRp~",
18
- "authors": [],
19
- "context": {
20
- "media": {
21
- "subtitles": [],
22
- "posters": [],
23
- "src": []
24
- }
25
- },
26
- "lessons": [
27
- {
28
- "type": "video",
29
- "poster": "//static.coorpacademy.com/content/digital/miniatures_cours/base/1B2.png",
30
- "description": "Anatomie d'une page de résultats",
31
- "mimeType": "application/vimeo",
32
- "videoId": "88393119\n",
33
- "_id": "590b862e2e967f64333ad456",
34
- "subtitles": [],
35
- "posters": [],
36
- "src": []
37
- },
38
- {
39
- "description": "Historique des moteurs de recherche",
40
- "mimeType": "application/vimeo",
41
- "poster": "//static.coorpacademy.com/content/digital/miniatures_cours/base/1B1.png",
42
- "posters": [],
43
- "src": [],
44
- "subtitles": [],
45
- "type": "video",
46
- "videoId": "88546728\n",
47
- "_id": "590b862e2e967f64333ad4fc"
48
- }
49
- ],
50
- "question": {
51
- "type": "basic",
52
- "header": "Écrivez le mot Text dans l'input.\n",
53
- "explanation": "Saisissez votre réponse.",
54
- "content": {
55
- "label": "Saisissez votre réponse.",
56
- "placeholder": " ",
57
- "maxTypos": null,
58
- "choices": [],
59
- "answers": [["Text"]],
60
- "media": {
61
- "subtitles": [],
62
- "posters": [],
63
- "src": []
64
- }
65
- },
66
- "medias": []
67
- }
68
- }
69
- }
70
- }
71
- },
72
- "answers": {
73
- "entities": {
74
- "0": {
75
- "1.B2.4": {
76
- "correctAnswer": ["Text"],
77
- "corrections": [
78
- {
79
- "answer": "Toto",
80
- "isCorrect": false
81
- }
82
- ]
83
- }
84
- }
85
- }
86
- },
87
- "progressions": {
88
- "entities": {
89
- "0": {
90
- "_id": "0",
91
- "engine": {
92
- "ref": "microlearning",
93
- "version": "1"
94
- },
95
- "content": {
96
- "ref": "1.B2.4",
97
- "type": "slide"
98
- },
99
- "state": {
100
- "slides": ["1.B2.4"],
101
- "nextContent": {
102
- "ref": "extraLife",
103
- "type": "node"
104
- },
105
- "lives": 0,
106
- "step": {
107
- "total": 4,
108
- "current": 2
109
- },
110
- "isCorrect": false,
111
- "stars": 0,
112
- "requestedClues": [],
113
- "viewedResources": [],
114
- "hasViewedAResourceAtThisStep": true,
115
- "content": {
116
- "ref": "1.B2.4",
117
- "type": "slide"
118
- }
119
- }
120
- }
121
- }
122
- },
123
- "exitNodes": {
124
- "entities": {}
125
- }
126
- },
127
- "ui": {
128
- "answers": {
129
- "0": {
130
- "value": ["Toto"]
131
- }
132
- },
133
- "current": {
134
- "progressionId": "0"
135
- },
136
- "corrections": {
137
- "accordion": [true, false, false]
138
- }
139
- }
140
- }