@speakableio/core 0.1.75 → 0.1.77
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 +7 -1
- package/dist/index.native.d.ts +7 -1
- package/dist/index.native.native.cjs.map +1 -1
- package/dist/index.native.native.mjs.map +1 -1
- package/dist/index.web.d.mts +7 -1
- package/dist/index.web.d.ts +7 -1
- package/dist/index.web.js.map +1 -1
- package/dist/index.web.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.native.d.mts
CHANGED
|
@@ -148,6 +148,7 @@ interface PageActivity {
|
|
|
148
148
|
target_proficiency_level?: string;
|
|
149
149
|
allowTTS?: boolean;
|
|
150
150
|
feedback_language?: string | null;
|
|
151
|
+
correct_answer?: string | null;
|
|
151
152
|
}
|
|
152
153
|
declare const enum ActivityPageType {
|
|
153
154
|
READ_REPEAT = "READ_REPEAT",
|
|
@@ -265,6 +266,7 @@ declare function useCreateCards(): {
|
|
|
265
266
|
target_proficiency_level?: string;
|
|
266
267
|
allowTTS?: boolean;
|
|
267
268
|
feedback_language?: string | null;
|
|
269
|
+
correct_answer?: string | null;
|
|
268
270
|
}[], Error, {
|
|
269
271
|
cards: PageActivity[];
|
|
270
272
|
}, unknown>;
|
|
@@ -353,6 +355,7 @@ declare const createCardRepo: () => {
|
|
|
353
355
|
target_proficiency_level?: string;
|
|
354
356
|
allowTTS?: boolean;
|
|
355
357
|
feedback_language?: string | null;
|
|
358
|
+
correct_answer?: string | null;
|
|
356
359
|
}[]>;
|
|
357
360
|
getCard: (params: {
|
|
358
361
|
cardId: string;
|
|
@@ -521,11 +524,12 @@ interface PageScore {
|
|
|
521
524
|
transcriptError?: boolean;
|
|
522
525
|
feedbackError?: boolean;
|
|
523
526
|
totalTrys?: {
|
|
524
|
-
selectedOption?: string;
|
|
525
527
|
markedCorrect?: boolean;
|
|
528
|
+
selectedOption?: string | string[];
|
|
526
529
|
attemptedAt?: CustomTimestamp;
|
|
527
530
|
}[];
|
|
528
531
|
tryAgain?: boolean;
|
|
532
|
+
updatedAt?: CustomTimestamp;
|
|
529
533
|
}
|
|
530
534
|
|
|
531
535
|
declare const enum AssignmentAnalyticsType {
|
|
@@ -1089,6 +1093,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1089
1093
|
target_proficiency_level?: string;
|
|
1090
1094
|
allowTTS?: boolean;
|
|
1091
1095
|
feedback_language?: string | null;
|
|
1096
|
+
correct_answer?: string | null;
|
|
1092
1097
|
}[]>;
|
|
1093
1098
|
getCard: (params: {
|
|
1094
1099
|
cardId: string;
|
|
@@ -2747,6 +2752,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2747
2752
|
target_proficiency_level?: string;
|
|
2748
2753
|
allowTTS?: boolean;
|
|
2749
2754
|
feedback_language?: string | null;
|
|
2755
|
+
correct_answer?: string | null;
|
|
2750
2756
|
}[]>;
|
|
2751
2757
|
getCard: (params: {
|
|
2752
2758
|
cardId: string;
|
package/dist/index.native.d.ts
CHANGED
|
@@ -148,6 +148,7 @@ interface PageActivity {
|
|
|
148
148
|
target_proficiency_level?: string;
|
|
149
149
|
allowTTS?: boolean;
|
|
150
150
|
feedback_language?: string | null;
|
|
151
|
+
correct_answer?: string | null;
|
|
151
152
|
}
|
|
152
153
|
declare const enum ActivityPageType {
|
|
153
154
|
READ_REPEAT = "READ_REPEAT",
|
|
@@ -265,6 +266,7 @@ declare function useCreateCards(): {
|
|
|
265
266
|
target_proficiency_level?: string;
|
|
266
267
|
allowTTS?: boolean;
|
|
267
268
|
feedback_language?: string | null;
|
|
269
|
+
correct_answer?: string | null;
|
|
268
270
|
}[], Error, {
|
|
269
271
|
cards: PageActivity[];
|
|
270
272
|
}, unknown>;
|
|
@@ -353,6 +355,7 @@ declare const createCardRepo: () => {
|
|
|
353
355
|
target_proficiency_level?: string;
|
|
354
356
|
allowTTS?: boolean;
|
|
355
357
|
feedback_language?: string | null;
|
|
358
|
+
correct_answer?: string | null;
|
|
356
359
|
}[]>;
|
|
357
360
|
getCard: (params: {
|
|
358
361
|
cardId: string;
|
|
@@ -521,11 +524,12 @@ interface PageScore {
|
|
|
521
524
|
transcriptError?: boolean;
|
|
522
525
|
feedbackError?: boolean;
|
|
523
526
|
totalTrys?: {
|
|
524
|
-
selectedOption?: string;
|
|
525
527
|
markedCorrect?: boolean;
|
|
528
|
+
selectedOption?: string | string[];
|
|
526
529
|
attemptedAt?: CustomTimestamp;
|
|
527
530
|
}[];
|
|
528
531
|
tryAgain?: boolean;
|
|
532
|
+
updatedAt?: CustomTimestamp;
|
|
529
533
|
}
|
|
530
534
|
|
|
531
535
|
declare const enum AssignmentAnalyticsType {
|
|
@@ -1089,6 +1093,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1089
1093
|
target_proficiency_level?: string;
|
|
1090
1094
|
allowTTS?: boolean;
|
|
1091
1095
|
feedback_language?: string | null;
|
|
1096
|
+
correct_answer?: string | null;
|
|
1092
1097
|
}[]>;
|
|
1093
1098
|
getCard: (params: {
|
|
1094
1099
|
cardId: string;
|
|
@@ -2747,6 +2752,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2747
2752
|
target_proficiency_level?: string;
|
|
2748
2753
|
allowTTS?: boolean;
|
|
2749
2754
|
feedback_language?: string | null;
|
|
2755
|
+
correct_answer?: string | null;
|
|
2750
2756
|
}[]>;
|
|
2751
2757
|
getCard: (params: {
|
|
2752
2758
|
cardId: string;
|