@quesmed/types-rn 2.6.221 → 2.6.222

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/models/Job.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IChapter, IOsceStation, IQuestionPrescription, Id } from '../models';
1
+ import { EDifficultyType, EOsceType, IChapter, IOsceStation, IOsceStationMark, IQuestionPrescription, Id } from '../models';
2
2
  import { EMockTestType } from './MockTest';
3
3
  import { IPicture } from './Picture';
4
4
  import { EEntitlementType, EProductType } from './Product';
@@ -146,7 +146,16 @@ export interface IJobRecordChapter {
146
146
  topicTypeId?: number | null;
147
147
  }
148
148
  export interface IJobRecordStation {
149
- station: string;
149
+ actorBrief: string;
150
+ candidateBrief: string;
151
+ difficulty: EDifficultyType;
152
+ entitlementIds: number[];
153
+ examinerBrief: string;
154
+ explanation: string;
155
+ hiddenName: string;
156
+ marks: Pick<IOsceStationMark, 'header' | 'name' | 'index'>[];
157
+ name: string;
158
+ osceTypeId: EOsceType;
150
159
  }
151
160
  export interface IJobRecordMockTest {
152
161
  question: string;
@@ -229,6 +238,10 @@ export interface IJobMetaData {
229
238
  conceptId: number | null;
230
239
  entitlementIds: EEntitlementType[] | null;
231
240
  } | null;
241
+ station?: {
242
+ typeId: EOsceType | null;
243
+ entitlementIds: EEntitlementType[] | null;
244
+ } | null;
232
245
  }
233
246
  export interface IJobChat {
234
247
  id: string;
package/models/Job.js CHANGED
@@ -118,7 +118,7 @@ const IsJobRecordMockTest = (record) => {
118
118
  };
119
119
  exports.IsJobRecordMockTest = IsJobRecordMockTest;
120
120
  const IsJobRecordStation = (record) => {
121
- return !!record && typeof record === 'object' && 'question' in record;
121
+ return !!record && typeof record === 'object' && 'actorBrief' in record;
122
122
  };
123
123
  exports.IsJobRecordStation = IsJobRecordStation;
124
124
  const IsJobRecordChapter = (record) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.221",
3
+ "version": "2.6.222",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",