@quesmed/types 2.6.163 → 2.6.165

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 IJobRecordQuestion {
102
102
  conditionIds?: number[];
103
103
  presentationIds?: number[];
104
104
  typeId: EQuestionType;
105
+ subTypeId?: string | null;
105
106
  choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
106
107
  explanation?: IQuestionChoice['explanation'];
107
108
  }>;
@@ -162,6 +163,7 @@ export interface IJob {
162
163
  type: EJobType;
163
164
  priority: EJobPriority;
164
165
  totalRecords: number;
166
+ createdBy: IUser['id'];
165
167
  metadata: IJobMetaData;
166
168
  dueDate: Date | number;
167
169
  createdAt: Date | number;
@@ -171,10 +173,12 @@ export interface IJob {
171
173
  resolvedCount: number;
172
174
  memberCount: number;
173
175
  chatCount: number;
176
+ publishedCount: number;
174
177
  remarks: IJobRemark[];
175
178
  members: IJobMember[];
176
179
  assets: IJobAsset[];
177
180
  records: IJobRecord[];
181
+ createdByUser: Pick<IUser, 'id' | 'firstName' | 'lastName' | 'username'>;
178
182
  }
179
183
  export declare const IsJobRecordQuestion: (record: IJobRecord['data']) => record is IJobRecordQuestion;
180
184
  export declare const IsJobRecordMockTest: (record: IJobRecord['data']) => record is IJobRecordMockTest;
@@ -72,6 +72,7 @@ exports.JOB_RECORD_QUESTION_FRAGMENT = (0, client_1.gql) `
72
72
  answer
73
73
  entitlementIds
74
74
  themeIds
75
+ subTypeId
75
76
  presentationIds
76
77
  conditionIds
77
78
  choices {
@@ -190,15 +191,20 @@ exports.JOB_ASSETS_FRAGMENT = (0, client_1.gql) `
190
191
  exports.LIST_JOB_FRAGMENT = (0, client_1.gql) `
191
192
  ${exports.JOB_FIELDS_FRAGMENT}
192
193
  ${exports.JOB_STATUS_FRAGMENT}
194
+ ${exports.JOB_USER_FRAGMENT}
193
195
  fragment Job on Job {
194
196
  id
195
197
  updatedAt
196
198
  createdAt
197
199
  recordCount
200
+ publishedCount
198
201
  resolvedCount
199
202
  remarkCount
200
203
  memberCount
201
204
  chatCount
205
+ createdByUser {
206
+ ...JobUser
207
+ }
202
208
  ...JobFields
203
209
  ...JobStatus
204
210
  }
@@ -229,10 +235,14 @@ exports.FULL_JOB_FRAGMENT = (0, client_1.gql) `
229
235
  updatedAt
230
236
  createdAt
231
237
  recordCount
238
+ publishedCount
232
239
  resolvedCount
233
240
  remarkCount
234
241
  memberCount
235
242
  chatCount
243
+ createdByUser {
244
+ ...JobUser
245
+ }
236
246
  assets {
237
247
  ...JobAssets
238
248
  }
@@ -102,6 +102,7 @@ export interface IJobRecordQuestion {
102
102
  conditionIds?: number[];
103
103
  presentationIds?: number[];
104
104
  typeId: EQuestionType;
105
+ subTypeId?: string | null;
105
106
  choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
106
107
  explanation?: IQuestionChoice['explanation'];
107
108
  }>;
@@ -162,6 +163,7 @@ export interface IJob {
162
163
  type: EJobType;
163
164
  priority: EJobPriority;
164
165
  totalRecords: number;
166
+ createdBy: IUser['id'];
165
167
  metadata: IJobMetaData;
166
168
  dueDate: Date | number;
167
169
  createdAt: Date | number;
@@ -171,10 +173,12 @@ export interface IJob {
171
173
  resolvedCount: number;
172
174
  memberCount: number;
173
175
  chatCount: number;
176
+ publishedCount: number;
174
177
  remarks: IJobRemark[];
175
178
  members: IJobMember[];
176
179
  assets: IJobAsset[];
177
180
  records: IJobRecord[];
181
+ createdByUser: Pick<IUser, 'id' | 'firstName' | 'lastName' | 'username'>;
178
182
  }
179
183
  export declare const IsJobRecordQuestion: (record: IJobRecord['data']) => record is IJobRecordQuestion;
180
184
  export declare const IsJobRecordMockTest: (record: IJobRecord['data']) => record is IJobRecordMockTest;
@@ -69,6 +69,7 @@ export const JOB_RECORD_QUESTION_FRAGMENT = gql `
69
69
  answer
70
70
  entitlementIds
71
71
  themeIds
72
+ subTypeId
72
73
  presentationIds
73
74
  conditionIds
74
75
  choices {
@@ -187,15 +188,20 @@ export const JOB_ASSETS_FRAGMENT = gql `
187
188
  export const LIST_JOB_FRAGMENT = gql `
188
189
  ${JOB_FIELDS_FRAGMENT}
189
190
  ${JOB_STATUS_FRAGMENT}
191
+ ${JOB_USER_FRAGMENT}
190
192
  fragment Job on Job {
191
193
  id
192
194
  updatedAt
193
195
  createdAt
194
196
  recordCount
197
+ publishedCount
195
198
  resolvedCount
196
199
  remarkCount
197
200
  memberCount
198
201
  chatCount
202
+ createdByUser {
203
+ ...JobUser
204
+ }
199
205
  ...JobFields
200
206
  ...JobStatus
201
207
  }
@@ -226,10 +232,14 @@ export const FULL_JOB_FRAGMENT = gql `
226
232
  updatedAt
227
233
  createdAt
228
234
  recordCount
235
+ publishedCount
229
236
  resolvedCount
230
237
  remarkCount
231
238
  memberCount
232
239
  chatCount
240
+ createdByUser {
241
+ ...JobUser
242
+ }
233
243
  assets {
234
244
  ...JobAssets
235
245
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.163",
3
+ "version": "2.6.165",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",