@speakableio/core 1.0.44 → 1.0.46

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.
@@ -120,7 +120,7 @@ interface PageActivity {
120
120
  grading_criteria?: string;
121
121
  scoring_type?: string;
122
122
  grading_method?: 'simple' | 'rubric' | 'manual' | 'standards_based';
123
- feedback_types?: string[];
123
+ feedback_types?: FeedbackTypesCard[];
124
124
  rubricId?: string;
125
125
  prompt?: string;
126
126
  title?: string;
@@ -160,6 +160,8 @@ interface PageActivity {
160
160
  rich_text?: string;
161
161
  feedbackOff?: boolean;
162
162
  correct_answer_exact_match?: boolean;
163
+ ai_context_block_ids?: string[];
164
+ resolvedContext?: string;
163
165
  }
164
166
  declare const enum ActivityPageType {
165
167
  READ_REPEAT = "READ_REPEAT",
@@ -220,7 +222,7 @@ declare function useCards({ cardIds, enabled, asObject, }: {
220
222
  grading_criteria?: string;
221
223
  scoring_type?: string;
222
224
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
223
- feedback_types?: string[];
225
+ feedback_types?: FeedbackTypesCard[];
224
226
  rubricId?: string;
225
227
  prompt?: string;
226
228
  title?: string;
@@ -260,6 +262,8 @@ declare function useCards({ cardIds, enabled, asObject, }: {
260
262
  rich_text?: string;
261
263
  feedbackOff?: boolean;
262
264
  correct_answer_exact_match?: boolean;
265
+ ai_context_block_ids?: string[];
266
+ resolvedContext?: string;
263
267
  } | null, Error>[];
264
268
  };
265
269
  declare function useCreateCard(): {
@@ -299,7 +303,7 @@ declare function useCreateCards(): {
299
303
  grading_criteria?: string;
300
304
  scoring_type?: string;
301
305
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
302
- feedback_types?: string[];
306
+ feedback_types?: FeedbackTypesCard[];
303
307
  rubricId?: string;
304
308
  prompt?: string;
305
309
  title?: string;
@@ -339,6 +343,8 @@ declare function useCreateCards(): {
339
343
  rich_text?: string;
340
344
  feedbackOff?: boolean;
341
345
  correct_answer_exact_match?: boolean;
346
+ ai_context_block_ids?: string[];
347
+ resolvedContext?: string;
342
348
  }[], Error, {
343
349
  cards: PageActivity[];
344
350
  }, unknown>;
@@ -384,7 +390,7 @@ declare function useGetCard({ cardId, enabled }: {
384
390
  grading_criteria?: string;
385
391
  scoring_type?: string;
386
392
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
387
- feedback_types?: string[];
393
+ feedback_types?: FeedbackTypesCard[];
388
394
  rubricId?: string;
389
395
  prompt?: string;
390
396
  title?: string;
@@ -424,6 +430,8 @@ declare function useGetCard({ cardId, enabled }: {
424
430
  rich_text?: string;
425
431
  feedbackOff?: boolean;
426
432
  correct_answer_exact_match?: boolean;
433
+ ai_context_block_ids?: string[];
434
+ resolvedContext?: string;
427
435
  } | null, Error>;
428
436
 
429
437
  declare const createCardRepo: () => {
@@ -463,7 +471,7 @@ declare const createCardRepo: () => {
463
471
  grading_criteria?: string;
464
472
  scoring_type?: string;
465
473
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
466
- feedback_types?: string[];
474
+ feedback_types?: FeedbackTypesCard[];
467
475
  rubricId?: string;
468
476
  prompt?: string;
469
477
  title?: string;
@@ -503,6 +511,8 @@ declare const createCardRepo: () => {
503
511
  rich_text?: string;
504
512
  feedbackOff?: boolean;
505
513
  correct_answer_exact_match?: boolean;
514
+ ai_context_block_ids?: string[];
515
+ resolvedContext?: string;
506
516
  }[]>;
507
517
  getCard: (params: {
508
518
  cardId: string;
@@ -535,7 +545,7 @@ declare const createCardRepo: () => {
535
545
  grading_criteria?: string;
536
546
  scoring_type?: string;
537
547
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
538
- feedback_types?: string[];
548
+ feedback_types?: FeedbackTypesCard[];
539
549
  rubricId?: string;
540
550
  prompt?: string;
541
551
  title?: string;
@@ -575,6 +585,8 @@ declare const createCardRepo: () => {
575
585
  rich_text?: string;
576
586
  feedbackOff?: boolean;
577
587
  correct_answer_exact_match?: boolean;
588
+ ai_context_block_ids?: string[];
589
+ resolvedContext?: string;
578
590
  } | null>;
579
591
  };
580
592
 
@@ -1390,7 +1402,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1390
1402
  grading_criteria?: string;
1391
1403
  scoring_type?: string;
1392
1404
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
1393
- feedback_types?: string[];
1405
+ feedback_types?: FeedbackTypesCard[];
1394
1406
  rubricId?: string;
1395
1407
  prompt?: string;
1396
1408
  title?: string;
@@ -1430,6 +1442,8 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1430
1442
  rich_text?: string;
1431
1443
  feedbackOff?: boolean;
1432
1444
  correct_answer_exact_match?: boolean;
1445
+ ai_context_block_ids?: string[];
1446
+ resolvedContext?: string;
1433
1447
  }[]>;
1434
1448
  getCard: (params: {
1435
1449
  cardId: string;
@@ -1462,7 +1476,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1462
1476
  grading_criteria?: string;
1463
1477
  scoring_type?: string;
1464
1478
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
1465
- feedback_types?: string[];
1479
+ feedback_types?: FeedbackTypesCard[];
1466
1480
  rubricId?: string;
1467
1481
  prompt?: string;
1468
1482
  title?: string;
@@ -1502,6 +1516,8 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1502
1516
  rich_text?: string;
1503
1517
  feedbackOff?: boolean;
1504
1518
  correct_answer_exact_match?: boolean;
1519
+ ai_context_block_ids?: string[];
1520
+ resolvedContext?: string;
1505
1521
  } | null>;
1506
1522
  };
1507
1523
  };
@@ -1718,7 +1734,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1718
1734
  grading_criteria?: string;
1719
1735
  scoring_type?: string;
1720
1736
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
1721
- feedback_types?: string[];
1737
+ feedback_types?: FeedbackTypesCard[];
1722
1738
  rubricId?: string;
1723
1739
  prompt?: string;
1724
1740
  title?: string;
@@ -1758,6 +1774,8 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1758
1774
  rich_text?: string;
1759
1775
  feedbackOff?: boolean;
1760
1776
  correct_answer_exact_match?: boolean;
1777
+ ai_context_block_ids?: string[];
1778
+ resolvedContext?: string;
1761
1779
  } | null, Error>[];
1762
1780
  cardsArray: PageActivityWithId[];
1763
1781
  };
@@ -3263,7 +3281,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
3263
3281
  grading_criteria?: string;
3264
3282
  scoring_type?: string;
3265
3283
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
3266
- feedback_types?: string[];
3284
+ feedback_types?: FeedbackTypesCard[];
3267
3285
  rubricId?: string;
3268
3286
  prompt?: string;
3269
3287
  title?: string;
@@ -3303,6 +3321,8 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
3303
3321
  rich_text?: string;
3304
3322
  feedbackOff?: boolean;
3305
3323
  correct_answer_exact_match?: boolean;
3324
+ ai_context_block_ids?: string[];
3325
+ resolvedContext?: string;
3306
3326
  }[]>;
3307
3327
  getCard: (params: {
3308
3328
  cardId: string;
@@ -3335,7 +3355,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
3335
3355
  grading_criteria?: string;
3336
3356
  scoring_type?: string;
3337
3357
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
3338
- feedback_types?: string[];
3358
+ feedback_types?: FeedbackTypesCard[];
3339
3359
  rubricId?: string;
3340
3360
  prompt?: string;
3341
3361
  title?: string;
@@ -3375,6 +3395,8 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
3375
3395
  rich_text?: string;
3376
3396
  feedbackOff?: boolean;
3377
3397
  correct_answer_exact_match?: boolean;
3398
+ ai_context_block_ids?: string[];
3399
+ resolvedContext?: string;
3378
3400
  } | null>;
3379
3401
  };
3380
3402
  };
@@ -120,7 +120,7 @@ interface PageActivity {
120
120
  grading_criteria?: string;
121
121
  scoring_type?: string;
122
122
  grading_method?: 'simple' | 'rubric' | 'manual' | 'standards_based';
123
- feedback_types?: string[];
123
+ feedback_types?: FeedbackTypesCard[];
124
124
  rubricId?: string;
125
125
  prompt?: string;
126
126
  title?: string;
@@ -160,6 +160,8 @@ interface PageActivity {
160
160
  rich_text?: string;
161
161
  feedbackOff?: boolean;
162
162
  correct_answer_exact_match?: boolean;
163
+ ai_context_block_ids?: string[];
164
+ resolvedContext?: string;
163
165
  }
164
166
  declare const enum ActivityPageType {
165
167
  READ_REPEAT = "READ_REPEAT",
@@ -220,7 +222,7 @@ declare function useCards({ cardIds, enabled, asObject, }: {
220
222
  grading_criteria?: string;
221
223
  scoring_type?: string;
222
224
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
223
- feedback_types?: string[];
225
+ feedback_types?: FeedbackTypesCard[];
224
226
  rubricId?: string;
225
227
  prompt?: string;
226
228
  title?: string;
@@ -260,6 +262,8 @@ declare function useCards({ cardIds, enabled, asObject, }: {
260
262
  rich_text?: string;
261
263
  feedbackOff?: boolean;
262
264
  correct_answer_exact_match?: boolean;
265
+ ai_context_block_ids?: string[];
266
+ resolvedContext?: string;
263
267
  } | null, Error>[];
264
268
  };
265
269
  declare function useCreateCard(): {
@@ -299,7 +303,7 @@ declare function useCreateCards(): {
299
303
  grading_criteria?: string;
300
304
  scoring_type?: string;
301
305
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
302
- feedback_types?: string[];
306
+ feedback_types?: FeedbackTypesCard[];
303
307
  rubricId?: string;
304
308
  prompt?: string;
305
309
  title?: string;
@@ -339,6 +343,8 @@ declare function useCreateCards(): {
339
343
  rich_text?: string;
340
344
  feedbackOff?: boolean;
341
345
  correct_answer_exact_match?: boolean;
346
+ ai_context_block_ids?: string[];
347
+ resolvedContext?: string;
342
348
  }[], Error, {
343
349
  cards: PageActivity[];
344
350
  }, unknown>;
@@ -384,7 +390,7 @@ declare function useGetCard({ cardId, enabled }: {
384
390
  grading_criteria?: string;
385
391
  scoring_type?: string;
386
392
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
387
- feedback_types?: string[];
393
+ feedback_types?: FeedbackTypesCard[];
388
394
  rubricId?: string;
389
395
  prompt?: string;
390
396
  title?: string;
@@ -424,6 +430,8 @@ declare function useGetCard({ cardId, enabled }: {
424
430
  rich_text?: string;
425
431
  feedbackOff?: boolean;
426
432
  correct_answer_exact_match?: boolean;
433
+ ai_context_block_ids?: string[];
434
+ resolvedContext?: string;
427
435
  } | null, Error>;
428
436
 
429
437
  declare const createCardRepo: () => {
@@ -463,7 +471,7 @@ declare const createCardRepo: () => {
463
471
  grading_criteria?: string;
464
472
  scoring_type?: string;
465
473
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
466
- feedback_types?: string[];
474
+ feedback_types?: FeedbackTypesCard[];
467
475
  rubricId?: string;
468
476
  prompt?: string;
469
477
  title?: string;
@@ -503,6 +511,8 @@ declare const createCardRepo: () => {
503
511
  rich_text?: string;
504
512
  feedbackOff?: boolean;
505
513
  correct_answer_exact_match?: boolean;
514
+ ai_context_block_ids?: string[];
515
+ resolvedContext?: string;
506
516
  }[]>;
507
517
  getCard: (params: {
508
518
  cardId: string;
@@ -535,7 +545,7 @@ declare const createCardRepo: () => {
535
545
  grading_criteria?: string;
536
546
  scoring_type?: string;
537
547
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
538
- feedback_types?: string[];
548
+ feedback_types?: FeedbackTypesCard[];
539
549
  rubricId?: string;
540
550
  prompt?: string;
541
551
  title?: string;
@@ -575,6 +585,8 @@ declare const createCardRepo: () => {
575
585
  rich_text?: string;
576
586
  feedbackOff?: boolean;
577
587
  correct_answer_exact_match?: boolean;
588
+ ai_context_block_ids?: string[];
589
+ resolvedContext?: string;
578
590
  } | null>;
579
591
  };
580
592
 
@@ -1390,7 +1402,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1390
1402
  grading_criteria?: string;
1391
1403
  scoring_type?: string;
1392
1404
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
1393
- feedback_types?: string[];
1405
+ feedback_types?: FeedbackTypesCard[];
1394
1406
  rubricId?: string;
1395
1407
  prompt?: string;
1396
1408
  title?: string;
@@ -1430,6 +1442,8 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1430
1442
  rich_text?: string;
1431
1443
  feedbackOff?: boolean;
1432
1444
  correct_answer_exact_match?: boolean;
1445
+ ai_context_block_ids?: string[];
1446
+ resolvedContext?: string;
1433
1447
  }[]>;
1434
1448
  getCard: (params: {
1435
1449
  cardId: string;
@@ -1462,7 +1476,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1462
1476
  grading_criteria?: string;
1463
1477
  scoring_type?: string;
1464
1478
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
1465
- feedback_types?: string[];
1479
+ feedback_types?: FeedbackTypesCard[];
1466
1480
  rubricId?: string;
1467
1481
  prompt?: string;
1468
1482
  title?: string;
@@ -1502,6 +1516,8 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1502
1516
  rich_text?: string;
1503
1517
  feedbackOff?: boolean;
1504
1518
  correct_answer_exact_match?: boolean;
1519
+ ai_context_block_ids?: string[];
1520
+ resolvedContext?: string;
1505
1521
  } | null>;
1506
1522
  };
1507
1523
  };
@@ -1718,7 +1734,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1718
1734
  grading_criteria?: string;
1719
1735
  scoring_type?: string;
1720
1736
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
1721
- feedback_types?: string[];
1737
+ feedback_types?: FeedbackTypesCard[];
1722
1738
  rubricId?: string;
1723
1739
  prompt?: string;
1724
1740
  title?: string;
@@ -1758,6 +1774,8 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1758
1774
  rich_text?: string;
1759
1775
  feedbackOff?: boolean;
1760
1776
  correct_answer_exact_match?: boolean;
1777
+ ai_context_block_ids?: string[];
1778
+ resolvedContext?: string;
1761
1779
  } | null, Error>[];
1762
1780
  cardsArray: PageActivityWithId[];
1763
1781
  };
@@ -3263,7 +3281,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
3263
3281
  grading_criteria?: string;
3264
3282
  scoring_type?: string;
3265
3283
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
3266
- feedback_types?: string[];
3284
+ feedback_types?: FeedbackTypesCard[];
3267
3285
  rubricId?: string;
3268
3286
  prompt?: string;
3269
3287
  title?: string;
@@ -3303,6 +3321,8 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
3303
3321
  rich_text?: string;
3304
3322
  feedbackOff?: boolean;
3305
3323
  correct_answer_exact_match?: boolean;
3324
+ ai_context_block_ids?: string[];
3325
+ resolvedContext?: string;
3306
3326
  }[]>;
3307
3327
  getCard: (params: {
3308
3328
  cardId: string;
@@ -3335,7 +3355,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
3335
3355
  grading_criteria?: string;
3336
3356
  scoring_type?: string;
3337
3357
  grading_method?: "simple" | "rubric" | "manual" | "standards_based";
3338
- feedback_types?: string[];
3358
+ feedback_types?: FeedbackTypesCard[];
3339
3359
  rubricId?: string;
3340
3360
  prompt?: string;
3341
3361
  title?: string;
@@ -3375,6 +3395,8 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
3375
3395
  rich_text?: string;
3376
3396
  feedbackOff?: boolean;
3377
3397
  correct_answer_exact_match?: boolean;
3398
+ ai_context_block_ids?: string[];
3399
+ resolvedContext?: string;
3378
3400
  } | null>;
3379
3401
  };
3380
3402
  };