@elice/material-quiz 1.241126.0 → 1.241127.0
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.
|
@@ -148,7 +148,7 @@ var MaterialQuizImage = function MaterialQuizImage(_ref) {
|
|
|
148
148
|
*/
|
|
149
149
|
var handleSubmit = /*#__PURE__*/function () {
|
|
150
150
|
var _ref3 = _rollupPluginBabelHelpers.asyncToGenerator( /*#__PURE__*/_rollupPluginBabelHelpers.regeneratorRuntime().mark(function _callee2() {
|
|
151
|
-
var
|
|
151
|
+
var _yield$postOrgMateria, quizResponseId, _yield$getOrgMaterial, quizResponse;
|
|
152
152
|
return _rollupPluginBabelHelpers.regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
153
153
|
while (1) switch (_context2.prev = _context2.next) {
|
|
154
154
|
case 0:
|
|
@@ -164,7 +164,7 @@ var MaterialQuizImage = function MaterialQuizImage(_ref) {
|
|
|
164
164
|
return apiClient.postOrgMaterialQuizResponseAdd({
|
|
165
165
|
materialQuizId: materialQuiz.id,
|
|
166
166
|
answer: JSON.stringify(''),
|
|
167
|
-
resourceId:
|
|
167
|
+
resourceId: uploadResourceId
|
|
168
168
|
});
|
|
169
169
|
case 6:
|
|
170
170
|
_yield$postOrgMateria = _context2.sent;
|
|
@@ -140,7 +140,7 @@ var MaterialQuizImage = function MaterialQuizImage(_ref) {
|
|
|
140
140
|
*/
|
|
141
141
|
var handleSubmit = /*#__PURE__*/function () {
|
|
142
142
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
143
|
-
var
|
|
143
|
+
var _yield$postOrgMateria, quizResponseId, _yield$getOrgMaterial, quizResponse;
|
|
144
144
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
145
145
|
while (1) switch (_context2.prev = _context2.next) {
|
|
146
146
|
case 0:
|
|
@@ -156,7 +156,7 @@ var MaterialQuizImage = function MaterialQuizImage(_ref) {
|
|
|
156
156
|
return postOrgMaterialQuizResponseAdd({
|
|
157
157
|
materialQuizId: materialQuiz.id,
|
|
158
158
|
answer: JSON.stringify(''),
|
|
159
|
-
resourceId:
|
|
159
|
+
resourceId: uploadResourceId
|
|
160
160
|
});
|
|
161
161
|
case 6:
|
|
162
162
|
_yield$postOrgMateria = _context2.sent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-quiz",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.241127.0",
|
|
4
4
|
"description": "User view and editing components of Elice material quiz",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
73
73
|
"@elice/intl": "0.240710.0",
|
|
74
74
|
"@elice/markdown": "1.241015.0",
|
|
75
|
-
"@elice/material-shared-types": "1.
|
|
76
|
-
"@elice/material-shared-utils": "1.
|
|
75
|
+
"@elice/material-shared-types": "1.241127.0",
|
|
76
|
+
"@elice/material-shared-utils": "1.241127.0",
|
|
77
77
|
"@elice/mui-elements": "^5.240820.0",
|
|
78
78
|
"@elice/mui-system": "^5.240820.0",
|
|
79
79
|
"@elice/openapi-client-course": "^1.230814.0",
|