@quesmed/types-rn 2.6.219 → 2.6.220

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,8 +1,8 @@
1
- import { Id } from '../models';
1
+ import { IChapter, IOsceStation, IQuestionPrescription, Id } from '../models';
2
2
  import { EMockTestType } from './MockTest';
3
3
  import { IPicture } from './Picture';
4
4
  import { EEntitlementType, EProductType } from './Product';
5
- import { EQuestionType, IQuestionAnswer, IQuestionChoice, IQuestionComment } from './Question';
5
+ import { EQuestionType, IQuestion, IQuestionAnswer, IQuestionCase, IQuestionChoice, IQuestionComment } from './Question';
6
6
  import { IUser } from './User';
7
7
  export declare enum EJobPriority {
8
8
  LOW = 1,
@@ -62,7 +62,8 @@ export declare enum ELightGalleryType {
62
62
  EXAMINER = 6,
63
63
  CANDIDATE = 7,
64
64
  WALKTHROUGH = 8,
65
- ACTOR = 9
65
+ ACTOR = 9,
66
+ CHOICE_EXPLANATION = 10
66
67
  }
67
68
  export declare enum EJobRemarkStatus {
68
69
  ALL = 0,
@@ -130,6 +131,10 @@ export interface IJobRecordQuestion {
130
131
  choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
131
132
  explanation?: IQuestionChoice['explanation'];
132
133
  }>;
134
+ prescriptions?: Array<Omit<IQuestionPrescription, 'id'>>;
135
+ cases?: Array<Pick<IQuestionCase, 'label' | 'case'> & {
136
+ explanation?: IQuestionCase['explanation'];
137
+ }>;
133
138
  irtParameters?: IRTParameters | null;
134
139
  }
135
140
  export interface IJobRecordChapter {
@@ -157,6 +162,10 @@ export interface IJobRecordMockTest {
157
162
  choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
158
163
  explanation?: IQuestionChoice['explanation'];
159
164
  }>;
165
+ prescriptions?: Array<Omit<IQuestionPrescription, 'id'>>;
166
+ cases?: Array<Pick<IQuestionCase, 'label' | 'case'> & {
167
+ explanation?: IQuestionCase['explanation'];
168
+ }>;
160
169
  irtParameters?: IRTParameters | null;
161
170
  }
162
171
  export interface IJobRecordMetricsSummary {
@@ -171,12 +180,6 @@ export interface IJobRecordMetricsSummary {
171
180
  dislikes: number;
172
181
  public: boolean;
173
182
  }
174
- export interface IJobRecordChoiceVote {
175
- id: Id;
176
- label: string;
177
- votes: number;
178
- percentage: number;
179
- }
180
183
  export interface IJobRecordChoiceSummary {
181
184
  id: Id;
182
185
  label: string;
@@ -197,12 +200,13 @@ export interface IJobRecord {
197
200
  createdBy: IUser['id'];
198
201
  createdByUser: Pick<IUser, 'id' | 'firstName' | 'lastName' | 'username' | 'accessLevel'>;
199
202
  questionId: number | null;
203
+ question?: IQuestion;
200
204
  stationId: number | null;
205
+ station?: IOsceStation;
201
206
  chapterId: number | null;
207
+ chapter?: IChapter;
202
208
  remarks: IJobRemark[];
203
209
  assets: IJobAsset[];
204
- metricsSummary: IJobRecordMetricsSummary | null;
205
- choiceSummary: IJobRecordChoiceSummary[] | null;
206
210
  referenceCount: number;
207
211
  }
208
212
  export interface IJobMetaData {
package/models/Job.js CHANGED
@@ -91,6 +91,7 @@ var ELightGalleryType;
91
91
  ELightGalleryType[ELightGalleryType["CANDIDATE"] = 7] = "CANDIDATE";
92
92
  ELightGalleryType[ELightGalleryType["WALKTHROUGH"] = 8] = "WALKTHROUGH";
93
93
  ELightGalleryType[ELightGalleryType["ACTOR"] = 9] = "ACTOR";
94
+ ELightGalleryType[ELightGalleryType["CHOICE_EXPLANATION"] = 10] = "CHOICE_EXPLANATION";
94
95
  })(ELightGalleryType = exports.ELightGalleryType || (exports.ELightGalleryType = {}));
95
96
  var EJobRemarkStatus;
96
97
  (function (EJobRemarkStatus) {
package/models/Psa.d.ts CHANGED
@@ -13,6 +13,7 @@ export interface IPrescriptionItem {
13
13
  }
14
14
  export interface IQuestionPrescription {
15
15
  id: Id;
16
+ index: number;
16
17
  questionId: Id;
17
18
  doseId: Id;
18
19
  doseVisible: boolean;
@@ -89,6 +89,7 @@ export interface IQuestion {
89
89
  conceptId: Id;
90
90
  stemId: Id | null;
91
91
  public: boolean;
92
+ enabled: number;
92
93
  stem?: IChapter;
93
94
  themes?: ITheme[];
94
95
  concept?: IConcept;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.219",
3
+ "version": "2.6.220",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",