@speakableio/core 0.1.51 → 0.1.52
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.mjs +13 -0
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.js +13 -0
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.native.mjs
CHANGED
|
@@ -2226,6 +2226,19 @@ function useActivity({
|
|
|
2226
2226
|
};
|
|
2227
2227
|
const handleUpdateCardScore = (cardId, cardScore) => {
|
|
2228
2228
|
mutationUpdateCardScore.mutate({ cardId, cardScore });
|
|
2229
|
+
if (cardScore.proficiency_level) {
|
|
2230
|
+
logGradingStandardEntry({
|
|
2231
|
+
type: cardScore.proficiency_level.standardId,
|
|
2232
|
+
cardId,
|
|
2233
|
+
gradingStandard: cardScore.proficiency_level
|
|
2234
|
+
});
|
|
2235
|
+
} else if (cardScore.wida || cardScore.actfl) {
|
|
2236
|
+
logGradingStandardEntry({
|
|
2237
|
+
type: cardScore.wida ? "wida" : "actfl",
|
|
2238
|
+
cardId,
|
|
2239
|
+
gradingStandard: cardScore.wida || cardScore.actfl || { level: "", justification: "" }
|
|
2240
|
+
});
|
|
2241
|
+
}
|
|
2229
2242
|
};
|
|
2230
2243
|
const onClearScore = ({
|
|
2231
2244
|
cardId,
|