@digabi/exam-engine-generator 18.1.1-alpha.0 → 18.1.2-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/generateExam.js +1 -0
- package/dist/generateExam.js.map +1 -1
- package/package.json +2 -2
package/dist/generateExam.js
CHANGED
@@ -114,6 +114,7 @@ function addSection(exam, languages, options) {
|
|
114
114
|
const section = createElement(exam, 'section', undefined, {
|
115
115
|
'max-answers': options.maxAnswers,
|
116
116
|
'cas-forbidden': options.casForbidden,
|
117
|
+
'type': options.type
|
117
118
|
});
|
118
119
|
createLocalizedElement(section, 'section-title', languages, { 'fi-FI': 'Osan otsikko', 'sv-FI': 'Delens titel' });
|
119
120
|
for (const question of options.questions) {
|
package/dist/generateExam.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generateExam.js","sourceRoot":"","sources":["../src/generateExam.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AAiFnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,SAAgB,YAAY,CAAC,OAA4B;;IACvD,MAAM,GAAG,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAA;IACjC,MAAM,IAAI,GAAG,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE;QACjD,KAAK,EAAE,8BAA8B;QACrC,WAAW,EAAE,2CAA2C;QACxD,oBAAoB,EAAE,0EAA0E;QAChG,qBAAqB,EAAE,KAAK;QAC5B,WAAW,EAAE,OAAO,CAAC,QAAQ;QAC7B,UAAU,EAAE,OAAO,CAAC,OAAO;QAC3B,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,aAAa,EAAE,OAAO,CAAC,UAAU;KAClC,CAAC,CAAA;IACF,MAAM,YAAY,GAAG,MAAA,OAAO,CAAC,YAAY,mCAAI,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAA;IACpE,MAAM,SAAS,GA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-1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@digabi/exam-engine-generator",
|
3
|
-
"version": "18.1.
|
3
|
+
"version": "18.1.2-alpha.0",
|
4
4
|
"main": "dist/index.js",
|
5
5
|
"author": "Matriculation Examination Board, Finland",
|
6
6
|
"license": "EUPL-1.1",
|
@@ -12,5 +12,5 @@
|
|
12
12
|
"libxmljs2": "^0.31.0",
|
13
13
|
"lodash": "^4.17.15"
|
14
14
|
},
|
15
|
-
"gitHead": "
|
15
|
+
"gitHead": "322a7aeefd19357cbdaaf7b197d4740764e1dd6d"
|
16
16
|
}
|