@speakableio/core 1.0.9 → 1.0.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.
@@ -184,74 +184,71 @@ declare function useCards({ cardIds, enabled, asObject, }: {
184
184
  cards: PageActivityWithId[];
185
185
  cardsObject: Record<string, PageActivityWithId> | null;
186
186
  cardsQueries: _tanstack_react_query.UseQueryResult<{
187
+ type: ActivityPageType;
187
188
  id: string;
188
- data: {
189
- type: ActivityPageType;
190
- id: string;
191
- owners: string[];
192
- checked?: boolean;
193
- completed?: boolean;
194
- media_area_id?: string | null;
195
- media_area_layout?: "left" | "right" | null;
196
- score?: number;
197
- verificationStatus?: VerificationCardStatus;
198
- native_text?: string;
199
- repeat?: number;
200
- language?: string | null;
201
- image?: {
202
- path?: string | null;
203
- url?: string;
204
- };
205
- audio?: {
206
- path?: string | null;
207
- url?: string;
208
- } | null;
209
- notes?: string;
210
- difficulty?: string;
211
- default_language?: string;
212
- target_text?: string;
213
- grading_criteria?: string;
214
- scoring_type?: string;
215
- grading_method?: "simple" | "rubric" | "manual" | "standards_based";
216
- feedback_types?: string[];
217
- rubricId?: string;
218
- prompt?: string;
219
- title?: string;
220
- passing_score?: number;
221
- maxCharacters?: number;
222
- answer?: string[];
223
- choices?: {
224
- value: string;
225
- option: string;
226
- }[];
227
- MCQType?: string;
228
- multipleAttemptsAllowed?: boolean;
229
- allowRetries?: boolean;
230
- question?: string;
231
- respondTime?: number;
232
- hidePrompt?: boolean;
233
- videoUrl?: string;
234
- link?: string;
235
- text?: string;
236
- isListenAloud?: boolean;
237
- embedCode?: string;
238
- attempt?: number;
239
- correct?: number;
240
- autoGrade?: boolean;
241
- points?: number;
242
- shuffle?: boolean;
243
- translation?: string;
244
- includeAIContext?: boolean;
245
- media_area_context_ref?: string | null;
246
- standardId?: string;
247
- target_proficiency_level?: string;
248
- allowTTS?: boolean;
249
- feedback_language?: string | null;
250
- correct_answer?: string | null;
251
- limit_attempts?: boolean;
252
- max_attempts?: number;
253
- rich_text?: string;
189
+ owners: string[];
190
+ checked?: boolean;
191
+ completed?: boolean;
192
+ media_area_id?: string | null;
193
+ media_area_layout?: "left" | "right" | null;
194
+ score?: number;
195
+ verificationStatus?: VerificationCardStatus;
196
+ native_text?: string;
197
+ repeat?: number;
198
+ language?: string | null;
199
+ image?: {
200
+ path?: string | null;
201
+ url?: string;
254
202
  };
203
+ audio?: {
204
+ path?: string | null;
205
+ url?: string;
206
+ } | null;
207
+ notes?: string;
208
+ difficulty?: string;
209
+ default_language?: string;
210
+ target_text?: string;
211
+ grading_criteria?: string;
212
+ scoring_type?: string;
213
+ grading_method?: "simple" | "rubric" | "manual" | "standards_based";
214
+ feedback_types?: string[];
215
+ rubricId?: string;
216
+ prompt?: string;
217
+ title?: string;
218
+ passing_score?: number;
219
+ maxCharacters?: number;
220
+ answer?: string[];
221
+ choices?: {
222
+ value: string;
223
+ option: string;
224
+ }[];
225
+ MCQType?: string;
226
+ multipleAttemptsAllowed?: boolean;
227
+ allowRetries?: boolean;
228
+ question?: string;
229
+ respondTime?: number;
230
+ hidePrompt?: boolean;
231
+ videoUrl?: string;
232
+ link?: string;
233
+ text?: string;
234
+ isListenAloud?: boolean;
235
+ embedCode?: string;
236
+ attempt?: number;
237
+ correct?: number;
238
+ autoGrade?: boolean;
239
+ points?: number;
240
+ shuffle?: boolean;
241
+ translation?: string;
242
+ includeAIContext?: boolean;
243
+ media_area_context_ref?: string | null;
244
+ standardId?: string;
245
+ target_proficiency_level?: string;
246
+ allowTTS?: boolean;
247
+ feedback_language?: string | null;
248
+ correct_answer?: string | null;
249
+ limit_attempts?: boolean;
250
+ max_attempts?: number;
251
+ rich_text?: string;
255
252
  } | null, Error>[];
256
253
  };
257
254
  declare function useCreateCard(): {
@@ -345,9 +342,82 @@ declare function useGetCard({ cardId, enabled }: {
345
342
  cardId: string;
346
343
  enabled?: boolean;
347
344
  }): _tanstack_react_query.UseQueryResult<{
345
+ type: ActivityPageType;
348
346
  id: string;
349
- data: {
350
- type: ActivityPageType;
347
+ owners: string[];
348
+ checked?: boolean;
349
+ completed?: boolean;
350
+ media_area_id?: string | null;
351
+ media_area_layout?: "left" | "right" | null;
352
+ score?: number;
353
+ verificationStatus?: VerificationCardStatus;
354
+ native_text?: string;
355
+ repeat?: number;
356
+ language?: string | null;
357
+ image?: {
358
+ path?: string | null;
359
+ url?: string;
360
+ };
361
+ audio?: {
362
+ path?: string | null;
363
+ url?: string;
364
+ } | null;
365
+ notes?: string;
366
+ difficulty?: string;
367
+ default_language?: string;
368
+ target_text?: string;
369
+ grading_criteria?: string;
370
+ scoring_type?: string;
371
+ grading_method?: "simple" | "rubric" | "manual" | "standards_based";
372
+ feedback_types?: string[];
373
+ rubricId?: string;
374
+ prompt?: string;
375
+ title?: string;
376
+ passing_score?: number;
377
+ maxCharacters?: number;
378
+ answer?: string[];
379
+ choices?: {
380
+ value: string;
381
+ option: string;
382
+ }[];
383
+ MCQType?: string;
384
+ multipleAttemptsAllowed?: boolean;
385
+ allowRetries?: boolean;
386
+ question?: string;
387
+ respondTime?: number;
388
+ hidePrompt?: boolean;
389
+ videoUrl?: string;
390
+ link?: string;
391
+ text?: string;
392
+ isListenAloud?: boolean;
393
+ embedCode?: string;
394
+ attempt?: number;
395
+ correct?: number;
396
+ autoGrade?: boolean;
397
+ points?: number;
398
+ shuffle?: boolean;
399
+ translation?: string;
400
+ includeAIContext?: boolean;
401
+ media_area_context_ref?: string | null;
402
+ standardId?: string;
403
+ target_proficiency_level?: string;
404
+ allowTTS?: boolean;
405
+ feedback_language?: string | null;
406
+ correct_answer?: string | null;
407
+ limit_attempts?: boolean;
408
+ max_attempts?: number;
409
+ rich_text?: string;
410
+ } | null, Error>;
411
+
412
+ declare const createCardRepo: () => {
413
+ createCard: (args_0: {
414
+ data: Partial<PageActivity>;
415
+ }) => Promise<{
416
+ id: string;
417
+ } & Partial<PageActivity>>;
418
+ createCards: (args_0: {
419
+ cards: PageActivity[];
420
+ }) => Promise<{
351
421
  id: string;
352
422
  owners: string[];
353
423
  checked?: boolean;
@@ -371,6 +441,7 @@ declare function useGetCard({ cardId, enabled }: {
371
441
  difficulty?: string;
372
442
  default_language?: string;
373
443
  target_text?: string;
444
+ type: ActivityPageType;
374
445
  grading_criteria?: string;
375
446
  scoring_type?: string;
376
447
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
@@ -412,18 +483,11 @@ declare function useGetCard({ cardId, enabled }: {
412
483
  limit_attempts?: boolean;
413
484
  max_attempts?: number;
414
485
  rich_text?: string;
415
- };
416
- } | null, Error>;
417
-
418
- declare const createCardRepo: () => {
419
- createCard: (args_0: {
420
- data: Partial<PageActivity>;
421
- }) => Promise<{
422
- id: string;
423
- } & Partial<PageActivity>>;
424
- createCards: (args_0: {
425
- cards: PageActivity[];
486
+ }[]>;
487
+ getCard: (params: {
488
+ cardId: string;
426
489
  }) => Promise<{
490
+ type: ActivityPageType;
427
491
  id: string;
428
492
  owners: string[];
429
493
  checked?: boolean;
@@ -447,7 +511,6 @@ declare const createCardRepo: () => {
447
511
  difficulty?: string;
448
512
  default_language?: string;
449
513
  target_text?: string;
450
- type: ActivityPageType;
451
514
  grading_criteria?: string;
452
515
  scoring_type?: string;
453
516
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
@@ -489,78 +552,6 @@ declare const createCardRepo: () => {
489
552
  limit_attempts?: boolean;
490
553
  max_attempts?: number;
491
554
  rich_text?: string;
492
- }[]>;
493
- getCard: (params: {
494
- cardId: string;
495
- }) => Promise<{
496
- id: string;
497
- data: {
498
- type: ActivityPageType;
499
- id: string;
500
- owners: string[];
501
- checked?: boolean;
502
- completed?: boolean;
503
- media_area_id?: string | null;
504
- media_area_layout?: "left" | "right" | null;
505
- score?: number;
506
- verificationStatus?: VerificationCardStatus;
507
- native_text?: string;
508
- repeat?: number;
509
- language?: string | null;
510
- image?: {
511
- path?: string | null;
512
- url?: string;
513
- };
514
- audio?: {
515
- path?: string | null;
516
- url?: string;
517
- } | null;
518
- notes?: string;
519
- difficulty?: string;
520
- default_language?: string;
521
- target_text?: string;
522
- grading_criteria?: string;
523
- scoring_type?: string;
524
- grading_method?: "simple" | "rubric" | "manual" | "standards_based";
525
- feedback_types?: string[];
526
- rubricId?: string;
527
- prompt?: string;
528
- title?: string;
529
- passing_score?: number;
530
- maxCharacters?: number;
531
- answer?: string[];
532
- choices?: {
533
- value: string;
534
- option: string;
535
- }[];
536
- MCQType?: string;
537
- multipleAttemptsAllowed?: boolean;
538
- allowRetries?: boolean;
539
- question?: string;
540
- respondTime?: number;
541
- hidePrompt?: boolean;
542
- videoUrl?: string;
543
- link?: string;
544
- text?: string;
545
- isListenAloud?: boolean;
546
- embedCode?: string;
547
- attempt?: number;
548
- correct?: number;
549
- autoGrade?: boolean;
550
- points?: number;
551
- shuffle?: boolean;
552
- translation?: string;
553
- includeAIContext?: boolean;
554
- media_area_context_ref?: string | null;
555
- standardId?: string;
556
- target_proficiency_level?: string;
557
- allowTTS?: boolean;
558
- feedback_language?: string | null;
559
- correct_answer?: string | null;
560
- limit_attempts?: boolean;
561
- max_attempts?: number;
562
- rich_text?: string;
563
- };
564
555
  } | null>;
565
556
  };
566
557
 
@@ -780,6 +771,7 @@ interface PageScore {
780
771
  target_proficiency_level?: string;
781
772
  hint?: string[];
782
773
  reviewed?: boolean;
774
+ error?: 'feedback_error' | 'transcript_error' | 'summary_error' | 'audio_upload_error' | 'unknown' | null;
783
775
  }
784
776
 
785
777
  declare enum AssignmentAnalyticsType {
@@ -1369,74 +1361,71 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1369
1361
  getCard: (params: {
1370
1362
  cardId: string;
1371
1363
  }) => Promise<{
1364
+ type: ActivityPageType;
1372
1365
  id: string;
1373
- data: {
1374
- type: ActivityPageType;
1375
- id: string;
1376
- owners: string[];
1377
- checked?: boolean;
1378
- completed?: boolean;
1379
- media_area_id?: string | null;
1380
- media_area_layout?: "left" | "right" | null;
1381
- score?: number;
1382
- verificationStatus?: VerificationCardStatus;
1383
- native_text?: string;
1384
- repeat?: number;
1385
- language?: string | null;
1386
- image?: {
1387
- path?: string | null;
1388
- url?: string;
1389
- };
1390
- audio?: {
1391
- path?: string | null;
1392
- url?: string;
1393
- } | null;
1394
- notes?: string;
1395
- difficulty?: string;
1396
- default_language?: string;
1397
- target_text?: string;
1398
- grading_criteria?: string;
1399
- scoring_type?: string;
1400
- grading_method?: "simple" | "rubric" | "manual" | "standards_based";
1401
- feedback_types?: string[];
1402
- rubricId?: string;
1403
- prompt?: string;
1404
- title?: string;
1405
- passing_score?: number;
1406
- maxCharacters?: number;
1407
- answer?: string[];
1408
- choices?: {
1409
- value: string;
1410
- option: string;
1411
- }[];
1412
- MCQType?: string;
1413
- multipleAttemptsAllowed?: boolean;
1414
- allowRetries?: boolean;
1415
- question?: string;
1416
- respondTime?: number;
1417
- hidePrompt?: boolean;
1418
- videoUrl?: string;
1419
- link?: string;
1420
- text?: string;
1421
- isListenAloud?: boolean;
1422
- embedCode?: string;
1423
- attempt?: number;
1424
- correct?: number;
1425
- autoGrade?: boolean;
1426
- points?: number;
1427
- shuffle?: boolean;
1428
- translation?: string;
1429
- includeAIContext?: boolean;
1430
- media_area_context_ref?: string | null;
1431
- standardId?: string;
1432
- target_proficiency_level?: string;
1433
- allowTTS?: boolean;
1434
- feedback_language?: string | null;
1435
- correct_answer?: string | null;
1436
- limit_attempts?: boolean;
1437
- max_attempts?: number;
1438
- rich_text?: string;
1366
+ owners: string[];
1367
+ checked?: boolean;
1368
+ completed?: boolean;
1369
+ media_area_id?: string | null;
1370
+ media_area_layout?: "left" | "right" | null;
1371
+ score?: number;
1372
+ verificationStatus?: VerificationCardStatus;
1373
+ native_text?: string;
1374
+ repeat?: number;
1375
+ language?: string | null;
1376
+ image?: {
1377
+ path?: string | null;
1378
+ url?: string;
1439
1379
  };
1380
+ audio?: {
1381
+ path?: string | null;
1382
+ url?: string;
1383
+ } | null;
1384
+ notes?: string;
1385
+ difficulty?: string;
1386
+ default_language?: string;
1387
+ target_text?: string;
1388
+ grading_criteria?: string;
1389
+ scoring_type?: string;
1390
+ grading_method?: "simple" | "rubric" | "manual" | "standards_based";
1391
+ feedback_types?: string[];
1392
+ rubricId?: string;
1393
+ prompt?: string;
1394
+ title?: string;
1395
+ passing_score?: number;
1396
+ maxCharacters?: number;
1397
+ answer?: string[];
1398
+ choices?: {
1399
+ value: string;
1400
+ option: string;
1401
+ }[];
1402
+ MCQType?: string;
1403
+ multipleAttemptsAllowed?: boolean;
1404
+ allowRetries?: boolean;
1405
+ question?: string;
1406
+ respondTime?: number;
1407
+ hidePrompt?: boolean;
1408
+ videoUrl?: string;
1409
+ link?: string;
1410
+ text?: string;
1411
+ isListenAloud?: boolean;
1412
+ embedCode?: string;
1413
+ attempt?: number;
1414
+ correct?: number;
1415
+ autoGrade?: boolean;
1416
+ points?: number;
1417
+ shuffle?: boolean;
1418
+ translation?: string;
1419
+ includeAIContext?: boolean;
1420
+ media_area_context_ref?: string | null;
1421
+ standardId?: string;
1422
+ target_proficiency_level?: string;
1423
+ allowTTS?: boolean;
1424
+ feedback_language?: string | null;
1425
+ correct_answer?: string | null;
1426
+ limit_attempts?: boolean;
1427
+ max_attempts?: number;
1428
+ rich_text?: string;
1440
1429
  } | null>;
1441
1430
  };
1442
1431
  };
@@ -1611,74 +1600,71 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1611
1600
  cards: {
1612
1601
  data: Record<string, PageActivityWithId> | null;
1613
1602
  query: _tanstack_react_query.UseQueryResult<{
1603
+ type: ActivityPageType;
1614
1604
  id: string;
1615
- data: {
1616
- type: ActivityPageType;
1617
- id: string;
1618
- owners: string[];
1619
- checked?: boolean;
1620
- completed?: boolean;
1621
- media_area_id?: string | null;
1622
- media_area_layout?: "left" | "right" | null;
1623
- score?: number;
1624
- verificationStatus?: VerificationCardStatus;
1625
- native_text?: string;
1626
- repeat?: number;
1627
- language?: string | null;
1628
- image?: {
1629
- path?: string | null;
1630
- url?: string;
1631
- };
1632
- audio?: {
1633
- path?: string | null;
1634
- url?: string;
1635
- } | null;
1636
- notes?: string;
1637
- difficulty?: string;
1638
- default_language?: string;
1639
- target_text?: string;
1640
- grading_criteria?: string;
1641
- scoring_type?: string;
1642
- grading_method?: "simple" | "rubric" | "manual" | "standards_based";
1643
- feedback_types?: string[];
1644
- rubricId?: string;
1645
- prompt?: string;
1646
- title?: string;
1647
- passing_score?: number;
1648
- maxCharacters?: number;
1649
- answer?: string[];
1650
- choices?: {
1651
- value: string;
1652
- option: string;
1653
- }[];
1654
- MCQType?: string;
1655
- multipleAttemptsAllowed?: boolean;
1656
- allowRetries?: boolean;
1657
- question?: string;
1658
- respondTime?: number;
1659
- hidePrompt?: boolean;
1660
- videoUrl?: string;
1661
- link?: string;
1662
- text?: string;
1663
- isListenAloud?: boolean;
1664
- embedCode?: string;
1665
- attempt?: number;
1666
- correct?: number;
1667
- autoGrade?: boolean;
1668
- points?: number;
1669
- shuffle?: boolean;
1670
- translation?: string;
1671
- includeAIContext?: boolean;
1672
- media_area_context_ref?: string | null;
1673
- standardId?: string;
1674
- target_proficiency_level?: string;
1675
- allowTTS?: boolean;
1676
- feedback_language?: string | null;
1677
- correct_answer?: string | null;
1678
- limit_attempts?: boolean;
1679
- max_attempts?: number;
1680
- rich_text?: string;
1605
+ owners: string[];
1606
+ checked?: boolean;
1607
+ completed?: boolean;
1608
+ media_area_id?: string | null;
1609
+ media_area_layout?: "left" | "right" | null;
1610
+ score?: number;
1611
+ verificationStatus?: VerificationCardStatus;
1612
+ native_text?: string;
1613
+ repeat?: number;
1614
+ language?: string | null;
1615
+ image?: {
1616
+ path?: string | null;
1617
+ url?: string;
1681
1618
  };
1619
+ audio?: {
1620
+ path?: string | null;
1621
+ url?: string;
1622
+ } | null;
1623
+ notes?: string;
1624
+ difficulty?: string;
1625
+ default_language?: string;
1626
+ target_text?: string;
1627
+ grading_criteria?: string;
1628
+ scoring_type?: string;
1629
+ grading_method?: "simple" | "rubric" | "manual" | "standards_based";
1630
+ feedback_types?: string[];
1631
+ rubricId?: string;
1632
+ prompt?: string;
1633
+ title?: string;
1634
+ passing_score?: number;
1635
+ maxCharacters?: number;
1636
+ answer?: string[];
1637
+ choices?: {
1638
+ value: string;
1639
+ option: string;
1640
+ }[];
1641
+ MCQType?: string;
1642
+ multipleAttemptsAllowed?: boolean;
1643
+ allowRetries?: boolean;
1644
+ question?: string;
1645
+ respondTime?: number;
1646
+ hidePrompt?: boolean;
1647
+ videoUrl?: string;
1648
+ link?: string;
1649
+ text?: string;
1650
+ isListenAloud?: boolean;
1651
+ embedCode?: string;
1652
+ attempt?: number;
1653
+ correct?: number;
1654
+ autoGrade?: boolean;
1655
+ points?: number;
1656
+ shuffle?: boolean;
1657
+ translation?: string;
1658
+ includeAIContext?: boolean;
1659
+ media_area_context_ref?: string | null;
1660
+ standardId?: string;
1661
+ target_proficiency_level?: string;
1662
+ allowTTS?: boolean;
1663
+ feedback_language?: string | null;
1664
+ correct_answer?: string | null;
1665
+ limit_attempts?: boolean;
1666
+ max_attempts?: number;
1667
+ rich_text?: string;
1682
1668
  } | null, Error>[];
1683
1669
  cardsArray: PageActivityWithId[];
1684
1670
  };
@@ -3187,74 +3173,71 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
3187
3173
  getCard: (params: {
3188
3174
  cardId: string;
3189
3175
  }) => Promise<{
3176
+ type: ActivityPageType;
3190
3177
  id: string;
3191
- data: {
3192
- type: ActivityPageType;
3193
- id: string;
3194
- owners: string[];
3195
- checked?: boolean;
3196
- completed?: boolean;
3197
- media_area_id?: string | null;
3198
- media_area_layout?: "left" | "right" | null;
3199
- score?: number;
3200
- verificationStatus?: VerificationCardStatus;
3201
- native_text?: string;
3202
- repeat?: number;
3203
- language?: string | null;
3204
- image?: {
3205
- path?: string | null;
3206
- url?: string;
3207
- };
3208
- audio?: {
3209
- path?: string | null;
3210
- url?: string;
3211
- } | null;
3212
- notes?: string;
3213
- difficulty?: string;
3214
- default_language?: string;
3215
- target_text?: string;
3216
- grading_criteria?: string;
3217
- scoring_type?: string;
3218
- grading_method?: "simple" | "rubric" | "manual" | "standards_based";
3219
- feedback_types?: string[];
3220
- rubricId?: string;
3221
- prompt?: string;
3222
- title?: string;
3223
- passing_score?: number;
3224
- maxCharacters?: number;
3225
- answer?: string[];
3226
- choices?: {
3227
- value: string;
3228
- option: string;
3229
- }[];
3230
- MCQType?: string;
3231
- multipleAttemptsAllowed?: boolean;
3232
- allowRetries?: boolean;
3233
- question?: string;
3234
- respondTime?: number;
3235
- hidePrompt?: boolean;
3236
- videoUrl?: string;
3237
- link?: string;
3238
- text?: string;
3239
- isListenAloud?: boolean;
3240
- embedCode?: string;
3241
- attempt?: number;
3242
- correct?: number;
3243
- autoGrade?: boolean;
3244
- points?: number;
3245
- shuffle?: boolean;
3246
- translation?: string;
3247
- includeAIContext?: boolean;
3248
- media_area_context_ref?: string | null;
3249
- standardId?: string;
3250
- target_proficiency_level?: string;
3251
- allowTTS?: boolean;
3252
- feedback_language?: string | null;
3253
- correct_answer?: string | null;
3254
- limit_attempts?: boolean;
3255
- max_attempts?: number;
3256
- rich_text?: string;
3178
+ owners: string[];
3179
+ checked?: boolean;
3180
+ completed?: boolean;
3181
+ media_area_id?: string | null;
3182
+ media_area_layout?: "left" | "right" | null;
3183
+ score?: number;
3184
+ verificationStatus?: VerificationCardStatus;
3185
+ native_text?: string;
3186
+ repeat?: number;
3187
+ language?: string | null;
3188
+ image?: {
3189
+ path?: string | null;
3190
+ url?: string;
3257
3191
  };
3192
+ audio?: {
3193
+ path?: string | null;
3194
+ url?: string;
3195
+ } | null;
3196
+ notes?: string;
3197
+ difficulty?: string;
3198
+ default_language?: string;
3199
+ target_text?: string;
3200
+ grading_criteria?: string;
3201
+ scoring_type?: string;
3202
+ grading_method?: "simple" | "rubric" | "manual" | "standards_based";
3203
+ feedback_types?: string[];
3204
+ rubricId?: string;
3205
+ prompt?: string;
3206
+ title?: string;
3207
+ passing_score?: number;
3208
+ maxCharacters?: number;
3209
+ answer?: string[];
3210
+ choices?: {
3211
+ value: string;
3212
+ option: string;
3213
+ }[];
3214
+ MCQType?: string;
3215
+ multipleAttemptsAllowed?: boolean;
3216
+ allowRetries?: boolean;
3217
+ question?: string;
3218
+ respondTime?: number;
3219
+ hidePrompt?: boolean;
3220
+ videoUrl?: string;
3221
+ link?: string;
3222
+ text?: string;
3223
+ isListenAloud?: boolean;
3224
+ embedCode?: string;
3225
+ attempt?: number;
3226
+ correct?: number;
3227
+ autoGrade?: boolean;
3228
+ points?: number;
3229
+ shuffle?: boolean;
3230
+ translation?: string;
3231
+ includeAIContext?: boolean;
3232
+ media_area_context_ref?: string | null;
3233
+ standardId?: string;
3234
+ target_proficiency_level?: string;
3235
+ allowTTS?: boolean;
3236
+ feedback_language?: string | null;
3237
+ correct_answer?: string | null;
3238
+ limit_attempts?: boolean;
3239
+ max_attempts?: number;
3240
+ rich_text?: string;
3258
3241
  } | null>;
3259
3242
  };
3260
3243
  };