@quesmed/types-rn 2.6.249 → 2.6.251

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.
@@ -102,6 +102,7 @@ export interface IOsceMarksheet {
102
102
  feedback: string;
103
103
  agoraId: string;
104
104
  sessionId: string;
105
+ livekitSessionId: string | null;
105
106
  readingTime: number;
106
107
  stationTime: number;
107
108
  feedbackTime: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.249",
3
+ "version": "2.6.251",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -15,6 +15,7 @@ exports.BLOG_POST_FIELDS = (0, client_1.gql) `
15
15
  meta {
16
16
  title
17
17
  description
18
+ url
18
19
  }
19
20
  picture {
20
21
  ...PictureFields
@@ -153,6 +153,7 @@ exports.OSCE_MARKSHEET_FIELDS = (0, client_1.gql) `
153
153
  agoraId
154
154
  phase
155
155
  sessionId
156
+ livekitSessionId
156
157
  isTimed
157
158
  readingTime
158
159
  stationTime
@@ -229,7 +230,6 @@ exports.AUTO_MARKED_OSCE_MARKSHEET_FRAGMENT = (0, client_1.gql) `
229
230
  exports.COMPLETED_OSCE_STATION_FRAGMENT = (0, client_1.gql) `
230
231
  fragment CompletedOsceStationFragment on OsceStation {
231
232
  score
232
- avgScore
233
233
  completedMarks
234
234
  lastOsceMarksheetId
235
235
  }
@@ -116,6 +116,7 @@ export declare const optimisticEndOsceMarksheet: (marksheet: IOsceMarksheet) =>
116
116
  feedback: string;
117
117
  agoraId: string;
118
118
  sessionId: string;
119
+ livekitSessionId: string | null;
119
120
  readingTime: number;
120
121
  stationTime: number;
121
122
  feedbackTime: number;
@@ -199,6 +200,7 @@ export declare const optimisticSetOsceMarksheetFeedback: (marksheet: IOsceMarksh
199
200
  feedback: string;
200
201
  agoraId: string;
201
202
  sessionId: string;
203
+ livekitSessionId: string | null;
202
204
  readingTime: number;
203
205
  stationTime: number;
204
206
  feedbackTime: number;
@@ -346,7 +346,9 @@ function evaluateMark({ mark, answer, questionTypeId, psaSectionId, choices, })
346
346
  data.result = models_1.EMarkResult.Incorrect;
347
347
  break;
348
348
  }
349
- const options = choices.map((o) => o.label);
349
+ const options = choices
350
+ .sort((a, b) => a.label.localeCompare(b.label))
351
+ .map((o) => o.label);
350
352
  const answerIndex = options.indexOf(answer);
351
353
  const attemptIndex = options.indexOf(attempt);
352
354
  if (answerIndex === -1 || attemptIndex === -1) {