@quesmed/types-rn 2.6.274 → 2.6.275

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.274",
3
+ "version": "2.6.275",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -115,9 +115,9 @@ const getStationScore = (marks) => {
115
115
  }
116
116
  const { total, userScore } = marks.reduce((acc, mark) => {
117
117
  const choices = mark.osceStationMark?.choices;
118
- const multiplier = mark.secondaryMark ? 2 : 1;
118
+ const isDualMark = mark.secondaryMark != null;
119
119
  // Maximum possible score
120
- acc.total += multiplier ? 4 : choices?.length ? 2 : 1;
120
+ acc.total += isDualMark ? 4 : choices?.length ? 2 : 1;
121
121
  if (choices) {
122
122
  // paces product
123
123
  acc.userScore += MarkMap[mark.mark] ?? 0;