@speakableio/core 1.0.45 → 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.
- package/dist/index.native.d.mts +22 -0
- package/dist/index.native.d.ts +22 -0
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.d.mts +22 -0
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.web.d.mts
CHANGED
|
@@ -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",
|
|
@@ -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(): {
|
|
@@ -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>;
|
|
@@ -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: () => {
|
|
@@ -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;
|
|
@@ -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
|
|
|
@@ -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;
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -3303,6 +3321,8 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
|
|
|
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;
|
|
@@ -3375,6 +3395,8 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
|
|
|
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
|
};
|