@quesmed/types-rn 2.6.189 → 2.6.190

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
@@ -132,15 +132,19 @@ export interface IJobRecordChapter {
132
132
  explanation: string;
133
133
  }
134
134
  export interface IJobRecordStation {
135
- question: string;
135
+ station: string;
136
136
  }
137
137
  export interface IJobRecordMockTest {
138
138
  question: string;
139
+ stem?: string | null;
140
+ stemFromRecordId?: IJobRecord['id'] | null;
139
141
  conceptId?: number | null;
140
142
  explanation?: string | null;
141
143
  learningPoint?: string | null;
142
- typeId: EQuestionType;
143
144
  answer: Exclude<IQuestionAnswer, 'string'>;
145
+ themeIds?: number[];
146
+ typeId: EQuestionType;
147
+ subTypeId?: string | null;
144
148
  choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
145
149
  explanation?: IQuestionChoice['explanation'];
146
150
  }>;
@@ -192,7 +196,6 @@ export interface IJobRecord {
192
196
  referenceCount: number;
193
197
  }
194
198
  export interface IJobMetaData {
195
- productId: EProductType;
196
199
  mockTest?: {
197
200
  mockTestId: number;
198
201
  isNew: boolean;
@@ -238,6 +241,7 @@ export interface IJob {
238
241
  priority: EJobPriority;
239
242
  totalRecords: number;
240
243
  createdBy: IUser['id'];
244
+ productId: EProductType;
241
245
  metadata: IJobMetaData;
242
246
  dueDate: Date | number;
243
247
  createdAt: Date | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.189",
3
+ "version": "2.6.190",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -10,7 +10,6 @@ exports.JOB_STATUS_FRAGMENT = (0, client_1.gql) `
10
10
  `;
11
11
  exports.JOB_META_DATA_FRAGMENT = (0, client_1.gql) `
12
12
  fragment JobMetaData on JobMetaData {
13
- productId
14
13
  question {
15
14
  typeId
16
15
  conceptId
@@ -31,6 +30,7 @@ exports.JOB_FIELDS_FRAGMENT = (0, client_1.gql) `
31
30
  name
32
31
  description
33
32
  type
33
+ productId
34
34
  priority
35
35
  totalRecords
36
36
  dueDate
@@ -123,15 +123,19 @@ exports.JOB_RECORD_CHAPTER_FRAGMENT = (0, client_1.gql) `
123
123
  `;
124
124
  exports.JOB_RECORD_STATION_FRAGMENT = (0, client_1.gql) `
125
125
  fragment JobRecordStation on JobRecordStation {
126
- question
126
+ station
127
127
  }
128
128
  `;
129
129
  exports.JOB_RECORD_MOCK_TEST_FRAGMENT = (0, client_1.gql) `
130
130
  fragment JobRecordMockTest on JobRecordMockTest {
131
131
  question
132
+ stem
133
+ stemFromRecordId
132
134
  conceptId
133
135
  typeId
134
136
  answer
137
+ themeIds
138
+ subTypeId
135
139
  choices {
136
140
  label
137
141
  name
@@ -9,6 +9,7 @@ export type ICreateJobInput = {
9
9
  priority: IJob['priority'];
10
10
  totalRecords: IJob['totalRecords'];
11
11
  dueDate: IJob['dueDate'];
12
+ productId: IJob['productId'];
12
13
  metadata: IJob['metadata'];
13
14
  members: Pick<IJobMember, 'userId' | 'role'>[];
14
15
  };