@speakableio/core 0.1.76 → 0.1.78
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 +10 -5
- package/dist/index.native.d.ts +10 -5
- package/dist/index.native.native.cjs.map +1 -1
- package/dist/index.native.native.mjs.map +1 -1
- package/dist/index.web.d.mts +10 -5
- package/dist/index.web.d.ts +10 -5
- package/dist/index.web.js.map +1 -1
- package/dist/index.web.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.web.d.mts
CHANGED
|
@@ -31,14 +31,14 @@ interface FirestoreHelpers {
|
|
|
31
31
|
type CustomTimestamp = Timestamp | Timestamp$1;
|
|
32
32
|
type CallableFunction<T = any, R = any> = (data: T) => Promise<R>;
|
|
33
33
|
|
|
34
|
-
declare
|
|
34
|
+
declare enum FeedbackTypesCard {
|
|
35
35
|
SuggestedResponse = "suggested_response",
|
|
36
36
|
Wida = "wida",
|
|
37
37
|
GrammarInsights = "grammar_insights",
|
|
38
38
|
Actfl = "actfl",
|
|
39
39
|
ProficiencyLevel = "proficiency_level"
|
|
40
40
|
}
|
|
41
|
-
declare
|
|
41
|
+
declare enum LeniencyCard {
|
|
42
42
|
CONFIDENCE = "confidence",
|
|
43
43
|
EASY = "easy",
|
|
44
44
|
NORMAL = "normal",
|
|
@@ -70,7 +70,7 @@ declare const BASE_MULTIPLE_CHOICE_FIELD_VALUES: {
|
|
|
70
70
|
value: string;
|
|
71
71
|
}[];
|
|
72
72
|
};
|
|
73
|
-
declare
|
|
73
|
+
declare enum VerificationCardStatus {
|
|
74
74
|
VERIFIED = "VERIFIED",
|
|
75
75
|
WARNING = "WARNING",
|
|
76
76
|
NOT_RECOMMENDED = "NOT_RECOMMENDED",
|
|
@@ -148,8 +148,9 @@ 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
|
-
declare
|
|
153
|
+
declare enum ActivityPageType {
|
|
153
154
|
READ_REPEAT = "READ_REPEAT",
|
|
154
155
|
VIDEO = "VIDEO",
|
|
155
156
|
TEXT = "TEXT",
|
|
@@ -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;
|
|
@@ -529,7 +532,7 @@ interface PageScore {
|
|
|
529
532
|
updatedAt?: CustomTimestamp;
|
|
530
533
|
}
|
|
531
534
|
|
|
532
|
-
declare
|
|
535
|
+
declare enum AssignmentAnalyticsType {
|
|
533
536
|
Macro = "macro",
|
|
534
537
|
Gradebook = "gradebook",
|
|
535
538
|
Cards = "cards",
|
|
@@ -1090,6 +1093,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1090
1093
|
target_proficiency_level?: string;
|
|
1091
1094
|
allowTTS?: boolean;
|
|
1092
1095
|
feedback_language?: string | null;
|
|
1096
|
+
correct_answer?: string | null;
|
|
1093
1097
|
}[]>;
|
|
1094
1098
|
getCard: (params: {
|
|
1095
1099
|
cardId: string;
|
|
@@ -2748,6 +2752,7 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
|
|
|
2748
2752
|
target_proficiency_level?: string;
|
|
2749
2753
|
allowTTS?: boolean;
|
|
2750
2754
|
feedback_language?: string | null;
|
|
2755
|
+
correct_answer?: string | null;
|
|
2751
2756
|
}[]>;
|
|
2752
2757
|
getCard: (params: {
|
|
2753
2758
|
cardId: string;
|
package/dist/index.web.d.ts
CHANGED
|
@@ -31,14 +31,14 @@ interface FirestoreHelpers {
|
|
|
31
31
|
type CustomTimestamp = Timestamp | Timestamp$1;
|
|
32
32
|
type CallableFunction<T = any, R = any> = (data: T) => Promise<R>;
|
|
33
33
|
|
|
34
|
-
declare
|
|
34
|
+
declare enum FeedbackTypesCard {
|
|
35
35
|
SuggestedResponse = "suggested_response",
|
|
36
36
|
Wida = "wida",
|
|
37
37
|
GrammarInsights = "grammar_insights",
|
|
38
38
|
Actfl = "actfl",
|
|
39
39
|
ProficiencyLevel = "proficiency_level"
|
|
40
40
|
}
|
|
41
|
-
declare
|
|
41
|
+
declare enum LeniencyCard {
|
|
42
42
|
CONFIDENCE = "confidence",
|
|
43
43
|
EASY = "easy",
|
|
44
44
|
NORMAL = "normal",
|
|
@@ -70,7 +70,7 @@ declare const BASE_MULTIPLE_CHOICE_FIELD_VALUES: {
|
|
|
70
70
|
value: string;
|
|
71
71
|
}[];
|
|
72
72
|
};
|
|
73
|
-
declare
|
|
73
|
+
declare enum VerificationCardStatus {
|
|
74
74
|
VERIFIED = "VERIFIED",
|
|
75
75
|
WARNING = "WARNING",
|
|
76
76
|
NOT_RECOMMENDED = "NOT_RECOMMENDED",
|
|
@@ -148,8 +148,9 @@ 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
|
-
declare
|
|
153
|
+
declare enum ActivityPageType {
|
|
153
154
|
READ_REPEAT = "READ_REPEAT",
|
|
154
155
|
VIDEO = "VIDEO",
|
|
155
156
|
TEXT = "TEXT",
|
|
@@ -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;
|
|
@@ -529,7 +532,7 @@ interface PageScore {
|
|
|
529
532
|
updatedAt?: CustomTimestamp;
|
|
530
533
|
}
|
|
531
534
|
|
|
532
|
-
declare
|
|
535
|
+
declare enum AssignmentAnalyticsType {
|
|
533
536
|
Macro = "macro",
|
|
534
537
|
Gradebook = "gradebook",
|
|
535
538
|
Cards = "cards",
|
|
@@ -1090,6 +1093,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1090
1093
|
target_proficiency_level?: string;
|
|
1091
1094
|
allowTTS?: boolean;
|
|
1092
1095
|
feedback_language?: string | null;
|
|
1096
|
+
correct_answer?: string | null;
|
|
1093
1097
|
}[]>;
|
|
1094
1098
|
getCard: (params: {
|
|
1095
1099
|
cardId: string;
|
|
@@ -2748,6 +2752,7 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
|
|
|
2748
2752
|
target_proficiency_level?: string;
|
|
2749
2753
|
allowTTS?: boolean;
|
|
2750
2754
|
feedback_language?: string | null;
|
|
2755
|
+
correct_answer?: string | null;
|
|
2751
2756
|
}[]>;
|
|
2752
2757
|
getCard: (params: {
|
|
2753
2758
|
cardId: string;
|