@nakafa/aksara-contracts 4.1.1 → 4.1.3
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.
- package/LICENSE +1 -1
- package/dist/assessment/hash.d.ts +327 -327
- package/dist/assessment/paper.d.ts +139 -139
- package/dist/assessment/snapshot.d.ts +332 -332
- package/dist/locale.d.ts +1 -1
- package/dist/math/visual.d.ts +202 -202
- package/dist/quran/snapshot/row/hash.d.ts +80 -80
- package/dist/release/snapshot/verify.d.ts +209 -209
- package/dist/runtime/spec.d.ts +28 -28
- package/dist/runtime/verify.d.ts +40 -40
- package/dist/transport/request.d.ts +2423 -2423
- package/dist/transport/response.d.ts +571 -571
- package/package.json +1 -1
|
@@ -116,6 +116,11 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
116
116
|
readonly options: readonly {
|
|
117
117
|
readonly id: string;
|
|
118
118
|
readonly label: readonly [{
|
|
119
|
+
readonly attrs: {
|
|
120
|
+
readonly latex: string;
|
|
121
|
+
};
|
|
122
|
+
readonly type: "mathInline";
|
|
123
|
+
} | {
|
|
119
124
|
readonly marks?: readonly [{
|
|
120
125
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
121
126
|
} | {
|
|
@@ -133,12 +138,12 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
133
138
|
})[]];
|
|
134
139
|
readonly text: string;
|
|
135
140
|
readonly type: "text";
|
|
136
|
-
}
|
|
141
|
+
}, ...({
|
|
137
142
|
readonly attrs: {
|
|
138
143
|
readonly latex: string;
|
|
139
144
|
};
|
|
140
145
|
readonly type: "mathInline";
|
|
141
|
-
}
|
|
146
|
+
} | {
|
|
142
147
|
readonly marks?: readonly [{
|
|
143
148
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
144
149
|
} | {
|
|
@@ -156,72 +161,20 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
156
161
|
})[]];
|
|
157
162
|
readonly text: string;
|
|
158
163
|
readonly type: "text";
|
|
159
|
-
} | {
|
|
160
|
-
readonly attrs: {
|
|
161
|
-
readonly latex: string;
|
|
162
|
-
};
|
|
163
|
-
readonly type: "mathInline";
|
|
164
164
|
})[]];
|
|
165
165
|
}[];
|
|
166
166
|
readonly shuffle: boolean;
|
|
167
|
-
} | {
|
|
168
|
-
readonly id: string;
|
|
169
|
-
readonly label: string;
|
|
170
|
-
readonly expectedLength?: number;
|
|
171
|
-
readonly kind: "textEntry";
|
|
172
|
-
} | {
|
|
173
|
-
readonly id: string;
|
|
174
|
-
readonly label: string;
|
|
175
|
-
readonly acceptsFractions: boolean;
|
|
176
|
-
readonly kind: "numericEntry";
|
|
177
|
-
readonly unit?: string;
|
|
178
|
-
} | {
|
|
179
|
-
readonly id: string;
|
|
180
|
-
readonly label: string;
|
|
181
|
-
readonly kind: "mathEntry";
|
|
182
|
-
} | {
|
|
183
|
-
readonly id: string;
|
|
184
|
-
readonly label: string;
|
|
185
|
-
readonly areas: readonly ({
|
|
186
|
-
readonly id: string;
|
|
187
|
-
readonly label: string;
|
|
188
|
-
readonly coords: readonly [number, number, number, number];
|
|
189
|
-
readonly shape: "rect";
|
|
190
|
-
} | {
|
|
191
|
-
readonly id: string;
|
|
192
|
-
readonly label: string;
|
|
193
|
-
readonly coords: readonly [number, number, number];
|
|
194
|
-
readonly shape: "circle";
|
|
195
|
-
} | {
|
|
196
|
-
readonly id: string;
|
|
197
|
-
readonly label: string;
|
|
198
|
-
readonly coords: readonly [number, number, number, number];
|
|
199
|
-
readonly shape: "ellipse";
|
|
200
|
-
} | {
|
|
201
|
-
readonly id: string;
|
|
202
|
-
readonly label: string;
|
|
203
|
-
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
204
|
-
readonly shape: "poly";
|
|
205
|
-
} | {
|
|
206
|
-
readonly id: string;
|
|
207
|
-
readonly label: string;
|
|
208
|
-
readonly shape: "default";
|
|
209
|
-
})[];
|
|
210
|
-
readonly image: {
|
|
211
|
-
readonly alt: string;
|
|
212
|
-
readonly asset: string;
|
|
213
|
-
readonly height: number;
|
|
214
|
-
readonly width: number;
|
|
215
|
-
};
|
|
216
|
-
readonly kind: "hotspot";
|
|
217
|
-
readonly maxChoices: number;
|
|
218
|
-
readonly minChoices: number;
|
|
219
167
|
} | {
|
|
220
168
|
readonly id: string;
|
|
221
169
|
readonly label: string;
|
|
222
170
|
readonly choices: readonly [{
|
|
223
171
|
readonly id: string;
|
|
224
172
|
readonly label: readonly [{
|
|
173
|
+
readonly attrs: {
|
|
174
|
+
readonly latex: string;
|
|
175
|
+
};
|
|
176
|
+
readonly type: "mathInline";
|
|
177
|
+
} | {
|
|
225
178
|
readonly marks?: readonly [{
|
|
226
179
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
227
180
|
} | {
|
|
@@ -239,12 +192,12 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
239
192
|
})[]];
|
|
240
193
|
readonly text: string;
|
|
241
194
|
readonly type: "text";
|
|
242
|
-
}
|
|
195
|
+
}, ...({
|
|
243
196
|
readonly attrs: {
|
|
244
197
|
readonly latex: string;
|
|
245
198
|
};
|
|
246
199
|
readonly type: "mathInline";
|
|
247
|
-
}
|
|
200
|
+
} | {
|
|
248
201
|
readonly marks?: readonly [{
|
|
249
202
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
250
203
|
} | {
|
|
@@ -262,16 +215,16 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
262
215
|
})[]];
|
|
263
216
|
readonly text: string;
|
|
264
217
|
readonly type: "text";
|
|
265
|
-
} | {
|
|
266
|
-
readonly attrs: {
|
|
267
|
-
readonly latex: string;
|
|
268
|
-
};
|
|
269
|
-
readonly type: "mathInline";
|
|
270
218
|
})[]];
|
|
271
219
|
readonly maxMatches: number;
|
|
272
220
|
}, ...{
|
|
273
221
|
readonly id: string;
|
|
274
222
|
readonly label: readonly [{
|
|
223
|
+
readonly attrs: {
|
|
224
|
+
readonly latex: string;
|
|
225
|
+
};
|
|
226
|
+
readonly type: "mathInline";
|
|
227
|
+
} | {
|
|
275
228
|
readonly marks?: readonly [{
|
|
276
229
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
277
230
|
} | {
|
|
@@ -289,12 +242,12 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
289
242
|
})[]];
|
|
290
243
|
readonly text: string;
|
|
291
244
|
readonly type: "text";
|
|
292
|
-
}
|
|
245
|
+
}, ...({
|
|
293
246
|
readonly attrs: {
|
|
294
247
|
readonly latex: string;
|
|
295
248
|
};
|
|
296
249
|
readonly type: "mathInline";
|
|
297
|
-
}
|
|
250
|
+
} | {
|
|
298
251
|
readonly marks?: readonly [{
|
|
299
252
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
300
253
|
} | {
|
|
@@ -312,11 +265,6 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
312
265
|
})[]];
|
|
313
266
|
readonly text: string;
|
|
314
267
|
readonly type: "text";
|
|
315
|
-
} | {
|
|
316
|
-
readonly attrs: {
|
|
317
|
-
readonly latex: string;
|
|
318
|
-
};
|
|
319
|
-
readonly type: "mathInline";
|
|
320
268
|
})[]];
|
|
321
269
|
readonly maxMatches: number;
|
|
322
270
|
}[]];
|
|
@@ -327,6 +275,63 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
327
275
|
}[]];
|
|
328
276
|
readonly kind: "gapMatch";
|
|
329
277
|
readonly shuffle: boolean;
|
|
278
|
+
} | {
|
|
279
|
+
readonly id: string;
|
|
280
|
+
readonly label: string;
|
|
281
|
+
readonly kind: "mathEntry";
|
|
282
|
+
} | {
|
|
283
|
+
readonly id: string;
|
|
284
|
+
readonly label: string;
|
|
285
|
+
readonly areas: readonly ({
|
|
286
|
+
readonly id: string;
|
|
287
|
+
readonly label: string;
|
|
288
|
+
readonly coords: readonly [number, number, number, number];
|
|
289
|
+
readonly shape: "rect";
|
|
290
|
+
} | {
|
|
291
|
+
readonly id: string;
|
|
292
|
+
readonly label: string;
|
|
293
|
+
readonly coords: readonly [number, number, number];
|
|
294
|
+
readonly shape: "circle";
|
|
295
|
+
} | {
|
|
296
|
+
readonly id: string;
|
|
297
|
+
readonly label: string;
|
|
298
|
+
readonly coords: readonly [number, number, number, number];
|
|
299
|
+
readonly shape: "ellipse";
|
|
300
|
+
} | {
|
|
301
|
+
readonly id: string;
|
|
302
|
+
readonly label: string;
|
|
303
|
+
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
304
|
+
readonly shape: "poly";
|
|
305
|
+
} | {
|
|
306
|
+
readonly id: string;
|
|
307
|
+
readonly label: string;
|
|
308
|
+
readonly shape: "default";
|
|
309
|
+
})[];
|
|
310
|
+
readonly image: {
|
|
311
|
+
readonly alt: string;
|
|
312
|
+
readonly asset: string;
|
|
313
|
+
readonly height: number;
|
|
314
|
+
readonly width: number;
|
|
315
|
+
};
|
|
316
|
+
readonly kind: "hotspot";
|
|
317
|
+
readonly maxChoices: number;
|
|
318
|
+
readonly minChoices: number;
|
|
319
|
+
} | {
|
|
320
|
+
readonly id: string;
|
|
321
|
+
readonly label: string;
|
|
322
|
+
readonly expectedLength?: number;
|
|
323
|
+
readonly kind: "textEntry";
|
|
324
|
+
} | {
|
|
325
|
+
readonly id: string;
|
|
326
|
+
readonly label: string;
|
|
327
|
+
readonly acceptsFractions: boolean;
|
|
328
|
+
readonly kind: "numericEntry";
|
|
329
|
+
readonly unit?: string;
|
|
330
|
+
} | {
|
|
331
|
+
readonly id: string;
|
|
332
|
+
readonly label: string;
|
|
333
|
+
readonly expectedLines?: number;
|
|
334
|
+
readonly kind: "extendedText";
|
|
330
335
|
} | {
|
|
331
336
|
readonly id: string;
|
|
332
337
|
readonly label: string;
|
|
@@ -345,11 +350,6 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
345
350
|
readonly kind: "graphPoint";
|
|
346
351
|
readonly placing: "lines" | "points";
|
|
347
352
|
readonly snap?: number;
|
|
348
|
-
} | {
|
|
349
|
-
readonly id: string;
|
|
350
|
-
readonly label: string;
|
|
351
|
-
readonly expectedLines?: number;
|
|
352
|
-
readonly kind: "extendedText";
|
|
353
353
|
}, ...({
|
|
354
354
|
readonly id: string;
|
|
355
355
|
readonly label: string;
|
|
@@ -445,6 +445,11 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
445
445
|
readonly options: readonly {
|
|
446
446
|
readonly id: string;
|
|
447
447
|
readonly label: readonly [{
|
|
448
|
+
readonly attrs: {
|
|
449
|
+
readonly latex: string;
|
|
450
|
+
};
|
|
451
|
+
readonly type: "mathInline";
|
|
452
|
+
} | {
|
|
448
453
|
readonly marks?: readonly [{
|
|
449
454
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
450
455
|
} | {
|
|
@@ -462,12 +467,12 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
462
467
|
})[]];
|
|
463
468
|
readonly text: string;
|
|
464
469
|
readonly type: "text";
|
|
465
|
-
}
|
|
470
|
+
}, ...({
|
|
466
471
|
readonly attrs: {
|
|
467
472
|
readonly latex: string;
|
|
468
473
|
};
|
|
469
474
|
readonly type: "mathInline";
|
|
470
|
-
}
|
|
475
|
+
} | {
|
|
471
476
|
readonly marks?: readonly [{
|
|
472
477
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
473
478
|
} | {
|
|
@@ -485,72 +490,20 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
485
490
|
})[]];
|
|
486
491
|
readonly text: string;
|
|
487
492
|
readonly type: "text";
|
|
488
|
-
} | {
|
|
489
|
-
readonly attrs: {
|
|
490
|
-
readonly latex: string;
|
|
491
|
-
};
|
|
492
|
-
readonly type: "mathInline";
|
|
493
493
|
})[]];
|
|
494
494
|
}[];
|
|
495
495
|
readonly shuffle: boolean;
|
|
496
|
-
} | {
|
|
497
|
-
readonly id: string;
|
|
498
|
-
readonly label: string;
|
|
499
|
-
readonly expectedLength?: number;
|
|
500
|
-
readonly kind: "textEntry";
|
|
501
|
-
} | {
|
|
502
|
-
readonly id: string;
|
|
503
|
-
readonly label: string;
|
|
504
|
-
readonly acceptsFractions: boolean;
|
|
505
|
-
readonly kind: "numericEntry";
|
|
506
|
-
readonly unit?: string;
|
|
507
|
-
} | {
|
|
508
|
-
readonly id: string;
|
|
509
|
-
readonly label: string;
|
|
510
|
-
readonly kind: "mathEntry";
|
|
511
|
-
} | {
|
|
512
|
-
readonly id: string;
|
|
513
|
-
readonly label: string;
|
|
514
|
-
readonly areas: readonly ({
|
|
515
|
-
readonly id: string;
|
|
516
|
-
readonly label: string;
|
|
517
|
-
readonly coords: readonly [number, number, number, number];
|
|
518
|
-
readonly shape: "rect";
|
|
519
|
-
} | {
|
|
520
|
-
readonly id: string;
|
|
521
|
-
readonly label: string;
|
|
522
|
-
readonly coords: readonly [number, number, number];
|
|
523
|
-
readonly shape: "circle";
|
|
524
|
-
} | {
|
|
525
|
-
readonly id: string;
|
|
526
|
-
readonly label: string;
|
|
527
|
-
readonly coords: readonly [number, number, number, number];
|
|
528
|
-
readonly shape: "ellipse";
|
|
529
|
-
} | {
|
|
530
|
-
readonly id: string;
|
|
531
|
-
readonly label: string;
|
|
532
|
-
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
533
|
-
readonly shape: "poly";
|
|
534
|
-
} | {
|
|
535
|
-
readonly id: string;
|
|
536
|
-
readonly label: string;
|
|
537
|
-
readonly shape: "default";
|
|
538
|
-
})[];
|
|
539
|
-
readonly image: {
|
|
540
|
-
readonly alt: string;
|
|
541
|
-
readonly asset: string;
|
|
542
|
-
readonly height: number;
|
|
543
|
-
readonly width: number;
|
|
544
|
-
};
|
|
545
|
-
readonly kind: "hotspot";
|
|
546
|
-
readonly maxChoices: number;
|
|
547
|
-
readonly minChoices: number;
|
|
548
496
|
} | {
|
|
549
497
|
readonly id: string;
|
|
550
498
|
readonly label: string;
|
|
551
499
|
readonly choices: readonly [{
|
|
552
500
|
readonly id: string;
|
|
553
501
|
readonly label: readonly [{
|
|
502
|
+
readonly attrs: {
|
|
503
|
+
readonly latex: string;
|
|
504
|
+
};
|
|
505
|
+
readonly type: "mathInline";
|
|
506
|
+
} | {
|
|
554
507
|
readonly marks?: readonly [{
|
|
555
508
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
556
509
|
} | {
|
|
@@ -568,12 +521,12 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
568
521
|
})[]];
|
|
569
522
|
readonly text: string;
|
|
570
523
|
readonly type: "text";
|
|
571
|
-
}
|
|
524
|
+
}, ...({
|
|
572
525
|
readonly attrs: {
|
|
573
526
|
readonly latex: string;
|
|
574
527
|
};
|
|
575
528
|
readonly type: "mathInline";
|
|
576
|
-
}
|
|
529
|
+
} | {
|
|
577
530
|
readonly marks?: readonly [{
|
|
578
531
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
579
532
|
} | {
|
|
@@ -591,16 +544,16 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
591
544
|
})[]];
|
|
592
545
|
readonly text: string;
|
|
593
546
|
readonly type: "text";
|
|
594
|
-
} | {
|
|
595
|
-
readonly attrs: {
|
|
596
|
-
readonly latex: string;
|
|
597
|
-
};
|
|
598
|
-
readonly type: "mathInline";
|
|
599
547
|
})[]];
|
|
600
548
|
readonly maxMatches: number;
|
|
601
549
|
}, ...{
|
|
602
550
|
readonly id: string;
|
|
603
551
|
readonly label: readonly [{
|
|
552
|
+
readonly attrs: {
|
|
553
|
+
readonly latex: string;
|
|
554
|
+
};
|
|
555
|
+
readonly type: "mathInline";
|
|
556
|
+
} | {
|
|
604
557
|
readonly marks?: readonly [{
|
|
605
558
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
606
559
|
} | {
|
|
@@ -618,12 +571,12 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
618
571
|
})[]];
|
|
619
572
|
readonly text: string;
|
|
620
573
|
readonly type: "text";
|
|
621
|
-
}
|
|
574
|
+
}, ...({
|
|
622
575
|
readonly attrs: {
|
|
623
576
|
readonly latex: string;
|
|
624
577
|
};
|
|
625
578
|
readonly type: "mathInline";
|
|
626
|
-
}
|
|
579
|
+
} | {
|
|
627
580
|
readonly marks?: readonly [{
|
|
628
581
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
629
582
|
} | {
|
|
@@ -641,11 +594,6 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
641
594
|
})[]];
|
|
642
595
|
readonly text: string;
|
|
643
596
|
readonly type: "text";
|
|
644
|
-
} | {
|
|
645
|
-
readonly attrs: {
|
|
646
|
-
readonly latex: string;
|
|
647
|
-
};
|
|
648
|
-
readonly type: "mathInline";
|
|
649
597
|
})[]];
|
|
650
598
|
readonly maxMatches: number;
|
|
651
599
|
}[]];
|
|
@@ -656,6 +604,63 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
656
604
|
}[]];
|
|
657
605
|
readonly kind: "gapMatch";
|
|
658
606
|
readonly shuffle: boolean;
|
|
607
|
+
} | {
|
|
608
|
+
readonly id: string;
|
|
609
|
+
readonly label: string;
|
|
610
|
+
readonly kind: "mathEntry";
|
|
611
|
+
} | {
|
|
612
|
+
readonly id: string;
|
|
613
|
+
readonly label: string;
|
|
614
|
+
readonly areas: readonly ({
|
|
615
|
+
readonly id: string;
|
|
616
|
+
readonly label: string;
|
|
617
|
+
readonly coords: readonly [number, number, number, number];
|
|
618
|
+
readonly shape: "rect";
|
|
619
|
+
} | {
|
|
620
|
+
readonly id: string;
|
|
621
|
+
readonly label: string;
|
|
622
|
+
readonly coords: readonly [number, number, number];
|
|
623
|
+
readonly shape: "circle";
|
|
624
|
+
} | {
|
|
625
|
+
readonly id: string;
|
|
626
|
+
readonly label: string;
|
|
627
|
+
readonly coords: readonly [number, number, number, number];
|
|
628
|
+
readonly shape: "ellipse";
|
|
629
|
+
} | {
|
|
630
|
+
readonly id: string;
|
|
631
|
+
readonly label: string;
|
|
632
|
+
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
633
|
+
readonly shape: "poly";
|
|
634
|
+
} | {
|
|
635
|
+
readonly id: string;
|
|
636
|
+
readonly label: string;
|
|
637
|
+
readonly shape: "default";
|
|
638
|
+
})[];
|
|
639
|
+
readonly image: {
|
|
640
|
+
readonly alt: string;
|
|
641
|
+
readonly asset: string;
|
|
642
|
+
readonly height: number;
|
|
643
|
+
readonly width: number;
|
|
644
|
+
};
|
|
645
|
+
readonly kind: "hotspot";
|
|
646
|
+
readonly maxChoices: number;
|
|
647
|
+
readonly minChoices: number;
|
|
648
|
+
} | {
|
|
649
|
+
readonly id: string;
|
|
650
|
+
readonly label: string;
|
|
651
|
+
readonly expectedLength?: number;
|
|
652
|
+
readonly kind: "textEntry";
|
|
653
|
+
} | {
|
|
654
|
+
readonly id: string;
|
|
655
|
+
readonly label: string;
|
|
656
|
+
readonly acceptsFractions: boolean;
|
|
657
|
+
readonly kind: "numericEntry";
|
|
658
|
+
readonly unit?: string;
|
|
659
|
+
} | {
|
|
660
|
+
readonly id: string;
|
|
661
|
+
readonly label: string;
|
|
662
|
+
readonly expectedLines?: number;
|
|
663
|
+
readonly kind: "extendedText";
|
|
659
664
|
} | {
|
|
660
665
|
readonly id: string;
|
|
661
666
|
readonly label: string;
|
|
@@ -674,11 +679,6 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
674
679
|
readonly kind: "graphPoint";
|
|
675
680
|
readonly placing: "lines" | "points";
|
|
676
681
|
readonly snap?: number;
|
|
677
|
-
} | {
|
|
678
|
-
readonly id: string;
|
|
679
|
-
readonly label: string;
|
|
680
|
-
readonly expectedLines?: number;
|
|
681
|
-
readonly kind: "extendedText";
|
|
682
682
|
})[]];
|
|
683
683
|
readonly joint?: {
|
|
684
684
|
readonly levels: readonly [{
|
|
@@ -697,11 +697,6 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
697
697
|
readonly interaction: string;
|
|
698
698
|
readonly rule: {
|
|
699
699
|
readonly kind: "allOrNothing";
|
|
700
|
-
} | {
|
|
701
|
-
readonly floor: number;
|
|
702
|
-
readonly kind: "perPart";
|
|
703
|
-
readonly penaltyPerWrongPart?: number;
|
|
704
|
-
readonly pointsPerPart: number;
|
|
705
700
|
} | {
|
|
706
701
|
readonly bands: readonly [{
|
|
707
702
|
readonly points: number;
|
|
@@ -730,6 +725,11 @@ export declare const hashItemVersion: (body: Omit<{
|
|
|
730
725
|
}[];
|
|
731
726
|
}[]];
|
|
732
727
|
readonly kind: "rubric";
|
|
728
|
+
} | {
|
|
729
|
+
readonly floor: number;
|
|
730
|
+
readonly kind: "perPart";
|
|
731
|
+
readonly penaltyPerWrongPart?: number;
|
|
732
|
+
readonly pointsPerPart: number;
|
|
733
733
|
};
|
|
734
734
|
}[];
|
|
735
735
|
readonly stimulus?: {
|
|
@@ -774,11 +774,6 @@ export declare const hashExamProfile: (profile: {
|
|
|
774
774
|
readonly interaction: "choice" | "extendedText" | "gapMatch" | "graphPoint" | "hotspot" | "inlineChoice" | "match" | "mathEntry" | "matrix" | "numericEntry" | "order" | "textEntry";
|
|
775
775
|
readonly rule: {
|
|
776
776
|
readonly kind: "allOrNothing";
|
|
777
|
-
} | {
|
|
778
|
-
readonly floor: number;
|
|
779
|
-
readonly kind: "perPart";
|
|
780
|
-
readonly penaltyPerWrongPart?: number;
|
|
781
|
-
readonly pointsPerPart: number;
|
|
782
777
|
} | {
|
|
783
778
|
readonly bands: readonly [{
|
|
784
779
|
readonly points: number;
|
|
@@ -788,6 +783,11 @@ export declare const hashExamProfile: (profile: {
|
|
|
788
783
|
readonly wrong: number;
|
|
789
784
|
}[]];
|
|
790
785
|
readonly kind: "wrongParts";
|
|
786
|
+
} | {
|
|
787
|
+
readonly floor: number;
|
|
788
|
+
readonly kind: "perPart";
|
|
789
|
+
readonly penaltyPerWrongPart?: number;
|
|
790
|
+
readonly pointsPerPart: number;
|
|
791
791
|
};
|
|
792
792
|
}[];
|
|
793
793
|
readonly graceSeconds: number;
|
|
@@ -987,6 +987,11 @@ export declare const verifyItemVersion: (version: {
|
|
|
987
987
|
readonly options: readonly {
|
|
988
988
|
readonly id: string;
|
|
989
989
|
readonly label: readonly [{
|
|
990
|
+
readonly attrs: {
|
|
991
|
+
readonly latex: string;
|
|
992
|
+
};
|
|
993
|
+
readonly type: "mathInline";
|
|
994
|
+
} | {
|
|
990
995
|
readonly marks?: readonly [{
|
|
991
996
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
992
997
|
} | {
|
|
@@ -1004,12 +1009,12 @@ export declare const verifyItemVersion: (version: {
|
|
|
1004
1009
|
})[]];
|
|
1005
1010
|
readonly text: string;
|
|
1006
1011
|
readonly type: "text";
|
|
1007
|
-
}
|
|
1012
|
+
}, ...({
|
|
1008
1013
|
readonly attrs: {
|
|
1009
1014
|
readonly latex: string;
|
|
1010
1015
|
};
|
|
1011
1016
|
readonly type: "mathInline";
|
|
1012
|
-
}
|
|
1017
|
+
} | {
|
|
1013
1018
|
readonly marks?: readonly [{
|
|
1014
1019
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1015
1020
|
} | {
|
|
@@ -1027,72 +1032,20 @@ export declare const verifyItemVersion: (version: {
|
|
|
1027
1032
|
})[]];
|
|
1028
1033
|
readonly text: string;
|
|
1029
1034
|
readonly type: "text";
|
|
1030
|
-
} | {
|
|
1031
|
-
readonly attrs: {
|
|
1032
|
-
readonly latex: string;
|
|
1033
|
-
};
|
|
1034
|
-
readonly type: "mathInline";
|
|
1035
1035
|
})[]];
|
|
1036
1036
|
}[];
|
|
1037
1037
|
readonly shuffle: boolean;
|
|
1038
|
-
} | {
|
|
1039
|
-
readonly id: string;
|
|
1040
|
-
readonly label: string;
|
|
1041
|
-
readonly expectedLength?: number;
|
|
1042
|
-
readonly kind: "textEntry";
|
|
1043
|
-
} | {
|
|
1044
|
-
readonly id: string;
|
|
1045
|
-
readonly label: string;
|
|
1046
|
-
readonly acceptsFractions: boolean;
|
|
1047
|
-
readonly kind: "numericEntry";
|
|
1048
|
-
readonly unit?: string;
|
|
1049
|
-
} | {
|
|
1050
|
-
readonly id: string;
|
|
1051
|
-
readonly label: string;
|
|
1052
|
-
readonly kind: "mathEntry";
|
|
1053
|
-
} | {
|
|
1054
|
-
readonly id: string;
|
|
1055
|
-
readonly label: string;
|
|
1056
|
-
readonly areas: readonly ({
|
|
1057
|
-
readonly id: string;
|
|
1058
|
-
readonly label: string;
|
|
1059
|
-
readonly coords: readonly [number, number, number, number];
|
|
1060
|
-
readonly shape: "rect";
|
|
1061
|
-
} | {
|
|
1062
|
-
readonly id: string;
|
|
1063
|
-
readonly label: string;
|
|
1064
|
-
readonly coords: readonly [number, number, number];
|
|
1065
|
-
readonly shape: "circle";
|
|
1066
|
-
} | {
|
|
1067
|
-
readonly id: string;
|
|
1068
|
-
readonly label: string;
|
|
1069
|
-
readonly coords: readonly [number, number, number, number];
|
|
1070
|
-
readonly shape: "ellipse";
|
|
1071
|
-
} | {
|
|
1072
|
-
readonly id: string;
|
|
1073
|
-
readonly label: string;
|
|
1074
|
-
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
1075
|
-
readonly shape: "poly";
|
|
1076
|
-
} | {
|
|
1077
|
-
readonly id: string;
|
|
1078
|
-
readonly label: string;
|
|
1079
|
-
readonly shape: "default";
|
|
1080
|
-
})[];
|
|
1081
|
-
readonly image: {
|
|
1082
|
-
readonly alt: string;
|
|
1083
|
-
readonly asset: string;
|
|
1084
|
-
readonly height: number;
|
|
1085
|
-
readonly width: number;
|
|
1086
|
-
};
|
|
1087
|
-
readonly kind: "hotspot";
|
|
1088
|
-
readonly maxChoices: number;
|
|
1089
|
-
readonly minChoices: number;
|
|
1090
1038
|
} | {
|
|
1091
1039
|
readonly id: string;
|
|
1092
1040
|
readonly label: string;
|
|
1093
1041
|
readonly choices: readonly [{
|
|
1094
1042
|
readonly id: string;
|
|
1095
1043
|
readonly label: readonly [{
|
|
1044
|
+
readonly attrs: {
|
|
1045
|
+
readonly latex: string;
|
|
1046
|
+
};
|
|
1047
|
+
readonly type: "mathInline";
|
|
1048
|
+
} | {
|
|
1096
1049
|
readonly marks?: readonly [{
|
|
1097
1050
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1098
1051
|
} | {
|
|
@@ -1110,12 +1063,12 @@ export declare const verifyItemVersion: (version: {
|
|
|
1110
1063
|
})[]];
|
|
1111
1064
|
readonly text: string;
|
|
1112
1065
|
readonly type: "text";
|
|
1113
|
-
}
|
|
1066
|
+
}, ...({
|
|
1114
1067
|
readonly attrs: {
|
|
1115
1068
|
readonly latex: string;
|
|
1116
1069
|
};
|
|
1117
1070
|
readonly type: "mathInline";
|
|
1118
|
-
}
|
|
1071
|
+
} | {
|
|
1119
1072
|
readonly marks?: readonly [{
|
|
1120
1073
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1121
1074
|
} | {
|
|
@@ -1133,16 +1086,16 @@ export declare const verifyItemVersion: (version: {
|
|
|
1133
1086
|
})[]];
|
|
1134
1087
|
readonly text: string;
|
|
1135
1088
|
readonly type: "text";
|
|
1136
|
-
} | {
|
|
1137
|
-
readonly attrs: {
|
|
1138
|
-
readonly latex: string;
|
|
1139
|
-
};
|
|
1140
|
-
readonly type: "mathInline";
|
|
1141
1089
|
})[]];
|
|
1142
1090
|
readonly maxMatches: number;
|
|
1143
1091
|
}, ...{
|
|
1144
1092
|
readonly id: string;
|
|
1145
1093
|
readonly label: readonly [{
|
|
1094
|
+
readonly attrs: {
|
|
1095
|
+
readonly latex: string;
|
|
1096
|
+
};
|
|
1097
|
+
readonly type: "mathInline";
|
|
1098
|
+
} | {
|
|
1146
1099
|
readonly marks?: readonly [{
|
|
1147
1100
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1148
1101
|
} | {
|
|
@@ -1160,12 +1113,12 @@ export declare const verifyItemVersion: (version: {
|
|
|
1160
1113
|
})[]];
|
|
1161
1114
|
readonly text: string;
|
|
1162
1115
|
readonly type: "text";
|
|
1163
|
-
}
|
|
1116
|
+
}, ...({
|
|
1164
1117
|
readonly attrs: {
|
|
1165
1118
|
readonly latex: string;
|
|
1166
1119
|
};
|
|
1167
1120
|
readonly type: "mathInline";
|
|
1168
|
-
}
|
|
1121
|
+
} | {
|
|
1169
1122
|
readonly marks?: readonly [{
|
|
1170
1123
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1171
1124
|
} | {
|
|
@@ -1183,11 +1136,6 @@ export declare const verifyItemVersion: (version: {
|
|
|
1183
1136
|
})[]];
|
|
1184
1137
|
readonly text: string;
|
|
1185
1138
|
readonly type: "text";
|
|
1186
|
-
} | {
|
|
1187
|
-
readonly attrs: {
|
|
1188
|
-
readonly latex: string;
|
|
1189
|
-
};
|
|
1190
|
-
readonly type: "mathInline";
|
|
1191
1139
|
})[]];
|
|
1192
1140
|
readonly maxMatches: number;
|
|
1193
1141
|
}[]];
|
|
@@ -1198,6 +1146,63 @@ export declare const verifyItemVersion: (version: {
|
|
|
1198
1146
|
}[]];
|
|
1199
1147
|
readonly kind: "gapMatch";
|
|
1200
1148
|
readonly shuffle: boolean;
|
|
1149
|
+
} | {
|
|
1150
|
+
readonly id: string;
|
|
1151
|
+
readonly label: string;
|
|
1152
|
+
readonly kind: "mathEntry";
|
|
1153
|
+
} | {
|
|
1154
|
+
readonly id: string;
|
|
1155
|
+
readonly label: string;
|
|
1156
|
+
readonly areas: readonly ({
|
|
1157
|
+
readonly id: string;
|
|
1158
|
+
readonly label: string;
|
|
1159
|
+
readonly coords: readonly [number, number, number, number];
|
|
1160
|
+
readonly shape: "rect";
|
|
1161
|
+
} | {
|
|
1162
|
+
readonly id: string;
|
|
1163
|
+
readonly label: string;
|
|
1164
|
+
readonly coords: readonly [number, number, number];
|
|
1165
|
+
readonly shape: "circle";
|
|
1166
|
+
} | {
|
|
1167
|
+
readonly id: string;
|
|
1168
|
+
readonly label: string;
|
|
1169
|
+
readonly coords: readonly [number, number, number, number];
|
|
1170
|
+
readonly shape: "ellipse";
|
|
1171
|
+
} | {
|
|
1172
|
+
readonly id: string;
|
|
1173
|
+
readonly label: string;
|
|
1174
|
+
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
1175
|
+
readonly shape: "poly";
|
|
1176
|
+
} | {
|
|
1177
|
+
readonly id: string;
|
|
1178
|
+
readonly label: string;
|
|
1179
|
+
readonly shape: "default";
|
|
1180
|
+
})[];
|
|
1181
|
+
readonly image: {
|
|
1182
|
+
readonly alt: string;
|
|
1183
|
+
readonly asset: string;
|
|
1184
|
+
readonly height: number;
|
|
1185
|
+
readonly width: number;
|
|
1186
|
+
};
|
|
1187
|
+
readonly kind: "hotspot";
|
|
1188
|
+
readonly maxChoices: number;
|
|
1189
|
+
readonly minChoices: number;
|
|
1190
|
+
} | {
|
|
1191
|
+
readonly id: string;
|
|
1192
|
+
readonly label: string;
|
|
1193
|
+
readonly expectedLength?: number;
|
|
1194
|
+
readonly kind: "textEntry";
|
|
1195
|
+
} | {
|
|
1196
|
+
readonly id: string;
|
|
1197
|
+
readonly label: string;
|
|
1198
|
+
readonly acceptsFractions: boolean;
|
|
1199
|
+
readonly kind: "numericEntry";
|
|
1200
|
+
readonly unit?: string;
|
|
1201
|
+
} | {
|
|
1202
|
+
readonly id: string;
|
|
1203
|
+
readonly label: string;
|
|
1204
|
+
readonly expectedLines?: number;
|
|
1205
|
+
readonly kind: "extendedText";
|
|
1201
1206
|
} | {
|
|
1202
1207
|
readonly id: string;
|
|
1203
1208
|
readonly label: string;
|
|
@@ -1216,11 +1221,6 @@ export declare const verifyItemVersion: (version: {
|
|
|
1216
1221
|
readonly kind: "graphPoint";
|
|
1217
1222
|
readonly placing: "lines" | "points";
|
|
1218
1223
|
readonly snap?: number;
|
|
1219
|
-
} | {
|
|
1220
|
-
readonly id: string;
|
|
1221
|
-
readonly label: string;
|
|
1222
|
-
readonly expectedLines?: number;
|
|
1223
|
-
readonly kind: "extendedText";
|
|
1224
1224
|
}, ...({
|
|
1225
1225
|
readonly id: string;
|
|
1226
1226
|
readonly label: string;
|
|
@@ -1316,6 +1316,11 @@ export declare const verifyItemVersion: (version: {
|
|
|
1316
1316
|
readonly options: readonly {
|
|
1317
1317
|
readonly id: string;
|
|
1318
1318
|
readonly label: readonly [{
|
|
1319
|
+
readonly attrs: {
|
|
1320
|
+
readonly latex: string;
|
|
1321
|
+
};
|
|
1322
|
+
readonly type: "mathInline";
|
|
1323
|
+
} | {
|
|
1319
1324
|
readonly marks?: readonly [{
|
|
1320
1325
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1321
1326
|
} | {
|
|
@@ -1333,12 +1338,12 @@ export declare const verifyItemVersion: (version: {
|
|
|
1333
1338
|
})[]];
|
|
1334
1339
|
readonly text: string;
|
|
1335
1340
|
readonly type: "text";
|
|
1336
|
-
}
|
|
1341
|
+
}, ...({
|
|
1337
1342
|
readonly attrs: {
|
|
1338
1343
|
readonly latex: string;
|
|
1339
1344
|
};
|
|
1340
1345
|
readonly type: "mathInline";
|
|
1341
|
-
}
|
|
1346
|
+
} | {
|
|
1342
1347
|
readonly marks?: readonly [{
|
|
1343
1348
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1344
1349
|
} | {
|
|
@@ -1356,72 +1361,20 @@ export declare const verifyItemVersion: (version: {
|
|
|
1356
1361
|
})[]];
|
|
1357
1362
|
readonly text: string;
|
|
1358
1363
|
readonly type: "text";
|
|
1359
|
-
} | {
|
|
1360
|
-
readonly attrs: {
|
|
1361
|
-
readonly latex: string;
|
|
1362
|
-
};
|
|
1363
|
-
readonly type: "mathInline";
|
|
1364
1364
|
})[]];
|
|
1365
1365
|
}[];
|
|
1366
1366
|
readonly shuffle: boolean;
|
|
1367
|
-
} | {
|
|
1368
|
-
readonly id: string;
|
|
1369
|
-
readonly label: string;
|
|
1370
|
-
readonly expectedLength?: number;
|
|
1371
|
-
readonly kind: "textEntry";
|
|
1372
|
-
} | {
|
|
1373
|
-
readonly id: string;
|
|
1374
|
-
readonly label: string;
|
|
1375
|
-
readonly acceptsFractions: boolean;
|
|
1376
|
-
readonly kind: "numericEntry";
|
|
1377
|
-
readonly unit?: string;
|
|
1378
|
-
} | {
|
|
1379
|
-
readonly id: string;
|
|
1380
|
-
readonly label: string;
|
|
1381
|
-
readonly kind: "mathEntry";
|
|
1382
|
-
} | {
|
|
1383
|
-
readonly id: string;
|
|
1384
|
-
readonly label: string;
|
|
1385
|
-
readonly areas: readonly ({
|
|
1386
|
-
readonly id: string;
|
|
1387
|
-
readonly label: string;
|
|
1388
|
-
readonly coords: readonly [number, number, number, number];
|
|
1389
|
-
readonly shape: "rect";
|
|
1390
|
-
} | {
|
|
1391
|
-
readonly id: string;
|
|
1392
|
-
readonly label: string;
|
|
1393
|
-
readonly coords: readonly [number, number, number];
|
|
1394
|
-
readonly shape: "circle";
|
|
1395
|
-
} | {
|
|
1396
|
-
readonly id: string;
|
|
1397
|
-
readonly label: string;
|
|
1398
|
-
readonly coords: readonly [number, number, number, number];
|
|
1399
|
-
readonly shape: "ellipse";
|
|
1400
|
-
} | {
|
|
1401
|
-
readonly id: string;
|
|
1402
|
-
readonly label: string;
|
|
1403
|
-
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
1404
|
-
readonly shape: "poly";
|
|
1405
|
-
} | {
|
|
1406
|
-
readonly id: string;
|
|
1407
|
-
readonly label: string;
|
|
1408
|
-
readonly shape: "default";
|
|
1409
|
-
})[];
|
|
1410
|
-
readonly image: {
|
|
1411
|
-
readonly alt: string;
|
|
1412
|
-
readonly asset: string;
|
|
1413
|
-
readonly height: number;
|
|
1414
|
-
readonly width: number;
|
|
1415
|
-
};
|
|
1416
|
-
readonly kind: "hotspot";
|
|
1417
|
-
readonly maxChoices: number;
|
|
1418
|
-
readonly minChoices: number;
|
|
1419
1367
|
} | {
|
|
1420
1368
|
readonly id: string;
|
|
1421
1369
|
readonly label: string;
|
|
1422
1370
|
readonly choices: readonly [{
|
|
1423
1371
|
readonly id: string;
|
|
1424
1372
|
readonly label: readonly [{
|
|
1373
|
+
readonly attrs: {
|
|
1374
|
+
readonly latex: string;
|
|
1375
|
+
};
|
|
1376
|
+
readonly type: "mathInline";
|
|
1377
|
+
} | {
|
|
1425
1378
|
readonly marks?: readonly [{
|
|
1426
1379
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1427
1380
|
} | {
|
|
@@ -1439,12 +1392,12 @@ export declare const verifyItemVersion: (version: {
|
|
|
1439
1392
|
})[]];
|
|
1440
1393
|
readonly text: string;
|
|
1441
1394
|
readonly type: "text";
|
|
1442
|
-
}
|
|
1395
|
+
}, ...({
|
|
1443
1396
|
readonly attrs: {
|
|
1444
1397
|
readonly latex: string;
|
|
1445
1398
|
};
|
|
1446
1399
|
readonly type: "mathInline";
|
|
1447
|
-
}
|
|
1400
|
+
} | {
|
|
1448
1401
|
readonly marks?: readonly [{
|
|
1449
1402
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1450
1403
|
} | {
|
|
@@ -1462,16 +1415,16 @@ export declare const verifyItemVersion: (version: {
|
|
|
1462
1415
|
})[]];
|
|
1463
1416
|
readonly text: string;
|
|
1464
1417
|
readonly type: "text";
|
|
1465
|
-
} | {
|
|
1466
|
-
readonly attrs: {
|
|
1467
|
-
readonly latex: string;
|
|
1468
|
-
};
|
|
1469
|
-
readonly type: "mathInline";
|
|
1470
1418
|
})[]];
|
|
1471
1419
|
readonly maxMatches: number;
|
|
1472
1420
|
}, ...{
|
|
1473
1421
|
readonly id: string;
|
|
1474
1422
|
readonly label: readonly [{
|
|
1423
|
+
readonly attrs: {
|
|
1424
|
+
readonly latex: string;
|
|
1425
|
+
};
|
|
1426
|
+
readonly type: "mathInline";
|
|
1427
|
+
} | {
|
|
1475
1428
|
readonly marks?: readonly [{
|
|
1476
1429
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1477
1430
|
} | {
|
|
@@ -1489,12 +1442,12 @@ export declare const verifyItemVersion: (version: {
|
|
|
1489
1442
|
})[]];
|
|
1490
1443
|
readonly text: string;
|
|
1491
1444
|
readonly type: "text";
|
|
1492
|
-
}
|
|
1445
|
+
}, ...({
|
|
1493
1446
|
readonly attrs: {
|
|
1494
1447
|
readonly latex: string;
|
|
1495
1448
|
};
|
|
1496
1449
|
readonly type: "mathInline";
|
|
1497
|
-
}
|
|
1450
|
+
} | {
|
|
1498
1451
|
readonly marks?: readonly [{
|
|
1499
1452
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
1500
1453
|
} | {
|
|
@@ -1512,11 +1465,6 @@ export declare const verifyItemVersion: (version: {
|
|
|
1512
1465
|
})[]];
|
|
1513
1466
|
readonly text: string;
|
|
1514
1467
|
readonly type: "text";
|
|
1515
|
-
} | {
|
|
1516
|
-
readonly attrs: {
|
|
1517
|
-
readonly latex: string;
|
|
1518
|
-
};
|
|
1519
|
-
readonly type: "mathInline";
|
|
1520
1468
|
})[]];
|
|
1521
1469
|
readonly maxMatches: number;
|
|
1522
1470
|
}[]];
|
|
@@ -1527,6 +1475,63 @@ export declare const verifyItemVersion: (version: {
|
|
|
1527
1475
|
}[]];
|
|
1528
1476
|
readonly kind: "gapMatch";
|
|
1529
1477
|
readonly shuffle: boolean;
|
|
1478
|
+
} | {
|
|
1479
|
+
readonly id: string;
|
|
1480
|
+
readonly label: string;
|
|
1481
|
+
readonly kind: "mathEntry";
|
|
1482
|
+
} | {
|
|
1483
|
+
readonly id: string;
|
|
1484
|
+
readonly label: string;
|
|
1485
|
+
readonly areas: readonly ({
|
|
1486
|
+
readonly id: string;
|
|
1487
|
+
readonly label: string;
|
|
1488
|
+
readonly coords: readonly [number, number, number, number];
|
|
1489
|
+
readonly shape: "rect";
|
|
1490
|
+
} | {
|
|
1491
|
+
readonly id: string;
|
|
1492
|
+
readonly label: string;
|
|
1493
|
+
readonly coords: readonly [number, number, number];
|
|
1494
|
+
readonly shape: "circle";
|
|
1495
|
+
} | {
|
|
1496
|
+
readonly id: string;
|
|
1497
|
+
readonly label: string;
|
|
1498
|
+
readonly coords: readonly [number, number, number, number];
|
|
1499
|
+
readonly shape: "ellipse";
|
|
1500
|
+
} | {
|
|
1501
|
+
readonly id: string;
|
|
1502
|
+
readonly label: string;
|
|
1503
|
+
readonly coords: readonly [number, number, number, number, number, number, ...number[]];
|
|
1504
|
+
readonly shape: "poly";
|
|
1505
|
+
} | {
|
|
1506
|
+
readonly id: string;
|
|
1507
|
+
readonly label: string;
|
|
1508
|
+
readonly shape: "default";
|
|
1509
|
+
})[];
|
|
1510
|
+
readonly image: {
|
|
1511
|
+
readonly alt: string;
|
|
1512
|
+
readonly asset: string;
|
|
1513
|
+
readonly height: number;
|
|
1514
|
+
readonly width: number;
|
|
1515
|
+
};
|
|
1516
|
+
readonly kind: "hotspot";
|
|
1517
|
+
readonly maxChoices: number;
|
|
1518
|
+
readonly minChoices: number;
|
|
1519
|
+
} | {
|
|
1520
|
+
readonly id: string;
|
|
1521
|
+
readonly label: string;
|
|
1522
|
+
readonly expectedLength?: number;
|
|
1523
|
+
readonly kind: "textEntry";
|
|
1524
|
+
} | {
|
|
1525
|
+
readonly id: string;
|
|
1526
|
+
readonly label: string;
|
|
1527
|
+
readonly acceptsFractions: boolean;
|
|
1528
|
+
readonly kind: "numericEntry";
|
|
1529
|
+
readonly unit?: string;
|
|
1530
|
+
} | {
|
|
1531
|
+
readonly id: string;
|
|
1532
|
+
readonly label: string;
|
|
1533
|
+
readonly expectedLines?: number;
|
|
1534
|
+
readonly kind: "extendedText";
|
|
1530
1535
|
} | {
|
|
1531
1536
|
readonly id: string;
|
|
1532
1537
|
readonly label: string;
|
|
@@ -1545,11 +1550,6 @@ export declare const verifyItemVersion: (version: {
|
|
|
1545
1550
|
readonly kind: "graphPoint";
|
|
1546
1551
|
readonly placing: "lines" | "points";
|
|
1547
1552
|
readonly snap?: number;
|
|
1548
|
-
} | {
|
|
1549
|
-
readonly id: string;
|
|
1550
|
-
readonly label: string;
|
|
1551
|
-
readonly expectedLines?: number;
|
|
1552
|
-
readonly kind: "extendedText";
|
|
1553
1553
|
})[]];
|
|
1554
1554
|
readonly joint?: {
|
|
1555
1555
|
readonly levels: readonly [{
|
|
@@ -1568,11 +1568,6 @@ export declare const verifyItemVersion: (version: {
|
|
|
1568
1568
|
readonly interaction: string;
|
|
1569
1569
|
readonly rule: {
|
|
1570
1570
|
readonly kind: "allOrNothing";
|
|
1571
|
-
} | {
|
|
1572
|
-
readonly floor: number;
|
|
1573
|
-
readonly kind: "perPart";
|
|
1574
|
-
readonly penaltyPerWrongPart?: number;
|
|
1575
|
-
readonly pointsPerPart: number;
|
|
1576
1571
|
} | {
|
|
1577
1572
|
readonly bands: readonly [{
|
|
1578
1573
|
readonly points: number;
|
|
@@ -1601,6 +1596,11 @@ export declare const verifyItemVersion: (version: {
|
|
|
1601
1596
|
}[];
|
|
1602
1597
|
}[]];
|
|
1603
1598
|
readonly kind: "rubric";
|
|
1599
|
+
} | {
|
|
1600
|
+
readonly floor: number;
|
|
1601
|
+
readonly kind: "perPart";
|
|
1602
|
+
readonly penaltyPerWrongPart?: number;
|
|
1603
|
+
readonly pointsPerPart: number;
|
|
1604
1604
|
};
|
|
1605
1605
|
}[];
|
|
1606
1606
|
readonly stimulus?: {
|