@speakableio/core 0.1.95 → 0.1.97
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 +20 -0
- package/dist/index.native.d.ts +20 -0
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.d.mts +20 -0
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.native.d.mts
CHANGED
|
@@ -149,6 +149,8 @@ interface PageActivity {
|
|
|
149
149
|
allowTTS?: boolean;
|
|
150
150
|
feedback_language?: string | null;
|
|
151
151
|
correct_answer?: string | null;
|
|
152
|
+
limit_attempts?: boolean;
|
|
153
|
+
max_attempts?: number;
|
|
152
154
|
}
|
|
153
155
|
declare enum ActivityPageType {
|
|
154
156
|
READ_REPEAT = "READ_REPEAT",
|
|
@@ -267,6 +269,8 @@ declare function useCreateCards(): {
|
|
|
267
269
|
allowTTS?: boolean;
|
|
268
270
|
feedback_language?: string | null;
|
|
269
271
|
correct_answer?: string | null;
|
|
272
|
+
limit_attempts?: boolean;
|
|
273
|
+
max_attempts?: number;
|
|
270
274
|
}[], Error, {
|
|
271
275
|
cards: PageActivity[];
|
|
272
276
|
}, unknown>;
|
|
@@ -356,6 +360,8 @@ declare const createCardRepo: () => {
|
|
|
356
360
|
allowTTS?: boolean;
|
|
357
361
|
feedback_language?: string | null;
|
|
358
362
|
correct_answer?: string | null;
|
|
363
|
+
limit_attempts?: boolean;
|
|
364
|
+
max_attempts?: number;
|
|
359
365
|
}[]>;
|
|
360
366
|
getCard: (params: {
|
|
361
367
|
cardId: string;
|
|
@@ -434,6 +440,7 @@ interface Assignment {
|
|
|
434
440
|
[key in ActivityPageType]?: number;
|
|
435
441
|
};
|
|
436
442
|
aiEnabled?: boolean;
|
|
443
|
+
chat_experience?: boolean;
|
|
437
444
|
}
|
|
438
445
|
interface AssignmentWithId extends Assignment {
|
|
439
446
|
id: string;
|
|
@@ -615,6 +622,7 @@ declare const createAssignmentRepo: () => {
|
|
|
615
622
|
language?: string;
|
|
616
623
|
types?: { [key in ActivityPageType]?: number; };
|
|
617
624
|
aiEnabled?: boolean;
|
|
625
|
+
chat_experience?: boolean;
|
|
618
626
|
} | null>;
|
|
619
627
|
attachScoresAssignment: (args_0: {
|
|
620
628
|
assignments: AssignmentWithId[];
|
|
@@ -664,6 +672,7 @@ declare const createAssignmentRepo: () => {
|
|
|
664
672
|
language?: string;
|
|
665
673
|
types?: { [key in ActivityPageType]?: number; };
|
|
666
674
|
aiEnabled?: boolean;
|
|
675
|
+
chat_experience?: boolean;
|
|
667
676
|
}[]>;
|
|
668
677
|
getAssignmentScores: (args_0: {
|
|
669
678
|
assignmentId: string;
|
|
@@ -732,6 +741,7 @@ declare function useAssignment({ assignmentId, enabled, analyticType, userId, }:
|
|
|
732
741
|
language?: string;
|
|
733
742
|
types?: { [key in ActivityPageType]?: number; };
|
|
734
743
|
aiEnabled?: boolean;
|
|
744
|
+
chat_experience?: boolean;
|
|
735
745
|
} | null, Error>;
|
|
736
746
|
|
|
737
747
|
declare const scoreQueryKeys: {
|
|
@@ -993,6 +1003,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
993
1003
|
language?: string;
|
|
994
1004
|
types?: { [key in ActivityPageType]?: number; };
|
|
995
1005
|
aiEnabled?: boolean;
|
|
1006
|
+
chat_experience?: boolean;
|
|
996
1007
|
} | null>;
|
|
997
1008
|
attachScoresAssignment: (args_0: {
|
|
998
1009
|
assignments: AssignmentWithId[];
|
|
@@ -1042,6 +1053,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1042
1053
|
language?: string;
|
|
1043
1054
|
types?: { [key in ActivityPageType]?: number; };
|
|
1044
1055
|
aiEnabled?: boolean;
|
|
1056
|
+
chat_experience?: boolean;
|
|
1045
1057
|
}[]>;
|
|
1046
1058
|
getAssignmentScores: (args_0: {
|
|
1047
1059
|
assignmentId: string;
|
|
@@ -1127,6 +1139,8 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1127
1139
|
allowTTS?: boolean;
|
|
1128
1140
|
feedback_language?: string | null;
|
|
1129
1141
|
correct_answer?: string | null;
|
|
1142
|
+
limit_attempts?: boolean;
|
|
1143
|
+
max_attempts?: number;
|
|
1130
1144
|
}[]>;
|
|
1131
1145
|
getCard: (params: {
|
|
1132
1146
|
cardId: string;
|
|
@@ -1350,6 +1364,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1350
1364
|
language?: string;
|
|
1351
1365
|
types?: { [key in ActivityPageType]?: number; };
|
|
1352
1366
|
aiEnabled?: boolean;
|
|
1367
|
+
chat_experience?: boolean;
|
|
1353
1368
|
} | null | undefined;
|
|
1354
1369
|
query: _tanstack_react_query.UseQueryResult<AssignmentWithId | {
|
|
1355
1370
|
scores: any;
|
|
@@ -1394,6 +1409,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1394
1409
|
language?: string;
|
|
1395
1410
|
types?: { [key in ActivityPageType]?: number; };
|
|
1396
1411
|
aiEnabled?: boolean;
|
|
1412
|
+
chat_experience?: boolean;
|
|
1397
1413
|
} | null, Error>;
|
|
1398
1414
|
};
|
|
1399
1415
|
scores: {
|
|
@@ -2662,6 +2678,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2662
2678
|
language?: string;
|
|
2663
2679
|
types?: { [key in ActivityPageType]?: number; };
|
|
2664
2680
|
aiEnabled?: boolean;
|
|
2681
|
+
chat_experience?: boolean;
|
|
2665
2682
|
} | null>;
|
|
2666
2683
|
attachScoresAssignment: (args_0: {
|
|
2667
2684
|
assignments: AssignmentWithId[];
|
|
@@ -2711,6 +2728,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2711
2728
|
language?: string;
|
|
2712
2729
|
types?: { [key in ActivityPageType]?: number; };
|
|
2713
2730
|
aiEnabled?: boolean;
|
|
2731
|
+
chat_experience?: boolean;
|
|
2714
2732
|
}[]>;
|
|
2715
2733
|
getAssignmentScores: (args_0: {
|
|
2716
2734
|
assignmentId: string;
|
|
@@ -2796,6 +2814,8 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2796
2814
|
allowTTS?: boolean;
|
|
2797
2815
|
feedback_language?: string | null;
|
|
2798
2816
|
correct_answer?: string | null;
|
|
2817
|
+
limit_attempts?: boolean;
|
|
2818
|
+
max_attempts?: number;
|
|
2799
2819
|
}[]>;
|
|
2800
2820
|
getCard: (params: {
|
|
2801
2821
|
cardId: string;
|
package/dist/index.native.d.ts
CHANGED
|
@@ -149,6 +149,8 @@ interface PageActivity {
|
|
|
149
149
|
allowTTS?: boolean;
|
|
150
150
|
feedback_language?: string | null;
|
|
151
151
|
correct_answer?: string | null;
|
|
152
|
+
limit_attempts?: boolean;
|
|
153
|
+
max_attempts?: number;
|
|
152
154
|
}
|
|
153
155
|
declare enum ActivityPageType {
|
|
154
156
|
READ_REPEAT = "READ_REPEAT",
|
|
@@ -267,6 +269,8 @@ declare function useCreateCards(): {
|
|
|
267
269
|
allowTTS?: boolean;
|
|
268
270
|
feedback_language?: string | null;
|
|
269
271
|
correct_answer?: string | null;
|
|
272
|
+
limit_attempts?: boolean;
|
|
273
|
+
max_attempts?: number;
|
|
270
274
|
}[], Error, {
|
|
271
275
|
cards: PageActivity[];
|
|
272
276
|
}, unknown>;
|
|
@@ -356,6 +360,8 @@ declare const createCardRepo: () => {
|
|
|
356
360
|
allowTTS?: boolean;
|
|
357
361
|
feedback_language?: string | null;
|
|
358
362
|
correct_answer?: string | null;
|
|
363
|
+
limit_attempts?: boolean;
|
|
364
|
+
max_attempts?: number;
|
|
359
365
|
}[]>;
|
|
360
366
|
getCard: (params: {
|
|
361
367
|
cardId: string;
|
|
@@ -434,6 +440,7 @@ interface Assignment {
|
|
|
434
440
|
[key in ActivityPageType]?: number;
|
|
435
441
|
};
|
|
436
442
|
aiEnabled?: boolean;
|
|
443
|
+
chat_experience?: boolean;
|
|
437
444
|
}
|
|
438
445
|
interface AssignmentWithId extends Assignment {
|
|
439
446
|
id: string;
|
|
@@ -615,6 +622,7 @@ declare const createAssignmentRepo: () => {
|
|
|
615
622
|
language?: string;
|
|
616
623
|
types?: { [key in ActivityPageType]?: number; };
|
|
617
624
|
aiEnabled?: boolean;
|
|
625
|
+
chat_experience?: boolean;
|
|
618
626
|
} | null>;
|
|
619
627
|
attachScoresAssignment: (args_0: {
|
|
620
628
|
assignments: AssignmentWithId[];
|
|
@@ -664,6 +672,7 @@ declare const createAssignmentRepo: () => {
|
|
|
664
672
|
language?: string;
|
|
665
673
|
types?: { [key in ActivityPageType]?: number; };
|
|
666
674
|
aiEnabled?: boolean;
|
|
675
|
+
chat_experience?: boolean;
|
|
667
676
|
}[]>;
|
|
668
677
|
getAssignmentScores: (args_0: {
|
|
669
678
|
assignmentId: string;
|
|
@@ -732,6 +741,7 @@ declare function useAssignment({ assignmentId, enabled, analyticType, userId, }:
|
|
|
732
741
|
language?: string;
|
|
733
742
|
types?: { [key in ActivityPageType]?: number; };
|
|
734
743
|
aiEnabled?: boolean;
|
|
744
|
+
chat_experience?: boolean;
|
|
735
745
|
} | null, Error>;
|
|
736
746
|
|
|
737
747
|
declare const scoreQueryKeys: {
|
|
@@ -993,6 +1003,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
993
1003
|
language?: string;
|
|
994
1004
|
types?: { [key in ActivityPageType]?: number; };
|
|
995
1005
|
aiEnabled?: boolean;
|
|
1006
|
+
chat_experience?: boolean;
|
|
996
1007
|
} | null>;
|
|
997
1008
|
attachScoresAssignment: (args_0: {
|
|
998
1009
|
assignments: AssignmentWithId[];
|
|
@@ -1042,6 +1053,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1042
1053
|
language?: string;
|
|
1043
1054
|
types?: { [key in ActivityPageType]?: number; };
|
|
1044
1055
|
aiEnabled?: boolean;
|
|
1056
|
+
chat_experience?: boolean;
|
|
1045
1057
|
}[]>;
|
|
1046
1058
|
getAssignmentScores: (args_0: {
|
|
1047
1059
|
assignmentId: string;
|
|
@@ -1127,6 +1139,8 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1127
1139
|
allowTTS?: boolean;
|
|
1128
1140
|
feedback_language?: string | null;
|
|
1129
1141
|
correct_answer?: string | null;
|
|
1142
|
+
limit_attempts?: boolean;
|
|
1143
|
+
max_attempts?: number;
|
|
1130
1144
|
}[]>;
|
|
1131
1145
|
getCard: (params: {
|
|
1132
1146
|
cardId: string;
|
|
@@ -1350,6 +1364,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1350
1364
|
language?: string;
|
|
1351
1365
|
types?: { [key in ActivityPageType]?: number; };
|
|
1352
1366
|
aiEnabled?: boolean;
|
|
1367
|
+
chat_experience?: boolean;
|
|
1353
1368
|
} | null | undefined;
|
|
1354
1369
|
query: _tanstack_react_query.UseQueryResult<AssignmentWithId | {
|
|
1355
1370
|
scores: any;
|
|
@@ -1394,6 +1409,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1394
1409
|
language?: string;
|
|
1395
1410
|
types?: { [key in ActivityPageType]?: number; };
|
|
1396
1411
|
aiEnabled?: boolean;
|
|
1412
|
+
chat_experience?: boolean;
|
|
1397
1413
|
} | null, Error>;
|
|
1398
1414
|
};
|
|
1399
1415
|
scores: {
|
|
@@ -2662,6 +2678,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2662
2678
|
language?: string;
|
|
2663
2679
|
types?: { [key in ActivityPageType]?: number; };
|
|
2664
2680
|
aiEnabled?: boolean;
|
|
2681
|
+
chat_experience?: boolean;
|
|
2665
2682
|
} | null>;
|
|
2666
2683
|
attachScoresAssignment: (args_0: {
|
|
2667
2684
|
assignments: AssignmentWithId[];
|
|
@@ -2711,6 +2728,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2711
2728
|
language?: string;
|
|
2712
2729
|
types?: { [key in ActivityPageType]?: number; };
|
|
2713
2730
|
aiEnabled?: boolean;
|
|
2731
|
+
chat_experience?: boolean;
|
|
2714
2732
|
}[]>;
|
|
2715
2733
|
getAssignmentScores: (args_0: {
|
|
2716
2734
|
assignmentId: string;
|
|
@@ -2796,6 +2814,8 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2796
2814
|
allowTTS?: boolean;
|
|
2797
2815
|
feedback_language?: string | null;
|
|
2798
2816
|
correct_answer?: string | null;
|
|
2817
|
+
limit_attempts?: boolean;
|
|
2818
|
+
max_attempts?: number;
|
|
2799
2819
|
}[]>;
|
|
2800
2820
|
getCard: (params: {
|
|
2801
2821
|
cardId: string;
|