@quesmed/types 2.6.220 → 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.
@@ -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;
@@ -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) => {
@@ -4,7 +4,7 @@ import { ICondition } from './Condition';
4
4
  import { IQuestionRevision } from './Content';
5
5
  import { EDifficultyType } from './Difficulty';
6
6
  import { IHighlightNode } from './Highlight';
7
- import { IJobRecord, IJobRecordChoiceSummary, IJobRecordMetricsSummary } from './Job';
7
+ import { IJobRecord } from './Job';
8
8
  import { IPicture } from './Picture';
9
9
  import { IPresentation } from './Presentation';
10
10
  import { ITopic } from './Topic';
@@ -119,8 +119,6 @@ export interface IQuestion {
119
119
  revisions?: IQuestionRevision[];
120
120
  entitlements?: IQuestionEntitlement[];
121
121
  jobRecord?: IJobRecord | null;
122
- metricsSummary?: IJobRecordMetricsSummary | null;
123
- choiceSummary?: IJobRecordChoiceSummary[] | null;
124
122
  }
125
123
  export interface IQuestionChoice {
126
124
  id: Id;
@@ -132,6 +130,7 @@ export interface IQuestionChoice {
132
130
  answer: boolean;
133
131
  votes: number;
134
132
  picture?: IPicture | null;
133
+ pictures?: IPicture[] | null;
135
134
  }
136
135
  export interface IQuestionCase {
137
136
  id: Id;
@@ -1,4 +1,3 @@
1
- export declare const QUESTION_STATISTICS_FRAGMENT: import("@apollo/client").DocumentNode;
2
1
  export declare const QUESTION_COMMENT_FIELDS: import("@apollo/client").DocumentNode;
3
2
  export declare const QUESTION_UKMLA_FIELDS: import("@apollo/client").DocumentNode;
4
3
  export declare const QUESTION_UCAT_FIELDS: import("@apollo/client").DocumentNode;
@@ -1,24 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QUESTION_WITH_LEARNING_FIELDS = exports.QUESTION_WITH_COMMENT_FIELDS = exports.QUESTION_WITH_HIGHLIGHT_FIELDS = exports.QUESTION_FIELDS = exports.QUESTION_CATEGORY_FIELDS = exports.QUESTION_UCAT_FIELDS = exports.QUESTION_UKMLA_FIELDS = exports.QUESTION_COMMENT_FIELDS = exports.QUESTION_STATISTICS_FRAGMENT = void 0;
3
+ exports.QUESTION_WITH_LEARNING_FIELDS = exports.QUESTION_WITH_COMMENT_FIELDS = exports.QUESTION_WITH_HIGHLIGHT_FIELDS = exports.QUESTION_FIELDS = exports.QUESTION_CATEGORY_FIELDS = exports.QUESTION_UCAT_FIELDS = exports.QUESTION_UKMLA_FIELDS = exports.QUESTION_COMMENT_FIELDS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  const chapter_1 = require("./chapter");
6
6
  const concept_1 = require("./concept");
7
7
  const highlight_1 = require("./highlight");
8
8
  const picture_1 = require("./picture");
9
- const record_1 = require("./record");
10
- exports.QUESTION_STATISTICS_FRAGMENT = (0, client_1.gql) `
11
- ${record_1.JOB_RECORD_METRICS_SUMMARY_FRAGMENT}
12
- ${record_1.JOB_RECORD_CHOICE_SUMMARY_FRAGMENT}
13
- fragment QuestionStatistics on Question {
14
- metricsSummary {
15
- ...JobRecordMetricsSummary
16
- }
17
- choiceSummary {
18
- ...JobRecordChoiceSummary
19
- }
20
- }
21
- `;
22
9
  exports.QUESTION_COMMENT_FIELDS = (0, client_1.gql) `
23
10
  fragment QuestionCommentFields on QuestionComment {
24
11
  id
@@ -193,6 +180,9 @@ exports.QUESTION_FIELDS = (0, client_1.gql) `
193
180
  picture {
194
181
  ...PictureFields
195
182
  }
183
+ pictures {
184
+ ...PictureFields
185
+ }
196
186
  }
197
187
  comments {
198
188
  ...QuestionCommentFields
@@ -1,7 +1,6 @@
1
1
  export declare const JOB_USER_FRAGMENT: import("@apollo/client").DocumentNode;
2
2
  export declare const JOB_REMARK_FRAGMENT: import("@apollo/client").DocumentNode;
3
3
  export declare const JOB_ASSET_FRAGMENT: import("@apollo/client").DocumentNode;
4
- export declare const JOB_RECORD_METRICS_SUMMARY_FRAGMENT: import("@apollo/client").DocumentNode;
5
4
  export declare const JOB_RECORD_CHOICE_SUMMARY_FRAGMENT: import("@apollo/client").DocumentNode;
6
5
  export declare const JOB_RECORD_QUESTION_FRAGMENT: import("@apollo/client").DocumentNode;
7
6
  export declare const JOB_RECORD_CHAPTER_FRAGMENT: import("@apollo/client").DocumentNode;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JOB_RECORD_FRAGMENT = exports.JOB_RECORD_STATUS_FRAGMENT = exports.JOB_RECORD_MOCK_TEST_FRAGMENT = exports.JOB_RECORD_STATION_FRAGMENT = exports.JOB_RECORD_CHAPTER_FRAGMENT = exports.JOB_RECORD_QUESTION_FRAGMENT = exports.JOB_RECORD_CHOICE_SUMMARY_FRAGMENT = exports.JOB_RECORD_METRICS_SUMMARY_FRAGMENT = exports.JOB_ASSET_FRAGMENT = exports.JOB_REMARK_FRAGMENT = exports.JOB_USER_FRAGMENT = void 0;
3
+ exports.JOB_RECORD_FRAGMENT = exports.JOB_RECORD_STATUS_FRAGMENT = exports.JOB_RECORD_MOCK_TEST_FRAGMENT = exports.JOB_RECORD_STATION_FRAGMENT = exports.JOB_RECORD_CHAPTER_FRAGMENT = exports.JOB_RECORD_QUESTION_FRAGMENT = exports.JOB_RECORD_CHOICE_SUMMARY_FRAGMENT = exports.JOB_ASSET_FRAGMENT = exports.JOB_REMARK_FRAGMENT = exports.JOB_USER_FRAGMENT = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.JOB_USER_FRAGMENT = (0, client_1.gql) `
6
6
  fragment JobUser on User {
@@ -56,15 +56,6 @@ exports.JOB_ASSET_FRAGMENT = (0, client_1.gql) `
56
56
  }
57
57
  }
58
58
  `;
59
- exports.JOB_RECORD_METRICS_SUMMARY_FRAGMENT = (0, client_1.gql) `
60
- fragment JobRecordMetricsSummary on JobRecordMetricsSummary {
61
- id
62
- total
63
- correct
64
- incorrect
65
- percentage
66
- }
67
- `;
68
59
  exports.JOB_RECORD_CHOICE_SUMMARY_FRAGMENT = (0, client_1.gql) `
69
60
  fragment JobRecordChoiceSummary on JobRecordChoiceSummary {
70
61
  id
@@ -74,18 +65,6 @@ exports.JOB_RECORD_CHOICE_SUMMARY_FRAGMENT = (0, client_1.gql) `
74
65
  questionId
75
66
  }
76
67
  `;
77
- // export const JOB_RECORD_STATISTICS_FRAGMENT = gql`
78
- // ${JOB_RECORD_METRICS_SUMMARY_FRAGMENT}
79
- // ${JOB_RECORD_CHOICE_SUMMARY_FRAGMENT}
80
- // fragment JobRecordStatistics on JobRecord {
81
- // metricsSummary {
82
- // ...JobRecordMetricsSummary
83
- // }
84
- // choiceSummary {
85
- // ...JobRecordChoiceSummary
86
- // }
87
- // }
88
- // `;
89
68
  exports.JOB_RECORD_QUESTION_FRAGMENT = (0, client_1.gql) `
90
69
  fragment JobRecordQuestion on JobRecordQuestion {
91
70
  question
@@ -5,6 +5,7 @@ export interface IUpdateQuestionVar {
5
5
  id: Id;
6
6
  public?: boolean;
7
7
  question?: string;
8
+ enabled?: boolean;
8
9
  conceptId?: number;
9
10
  difficulty?: number;
10
11
  typeId?: number;
@@ -3,5 +3,4 @@ export * from './dashboard';
3
3
  export * from './database';
4
4
  export * from './getUserToken';
5
5
  export * from './job';
6
- export * from './question';
7
6
  export * from './record';
@@ -19,5 +19,4 @@ __exportStar(require("./dashboard"), exports);
19
19
  __exportStar(require("./database"), exports);
20
20
  __exportStar(require("./getUserToken"), exports);
21
21
  __exportStar(require("./job"), exports);
22
- __exportStar(require("./question"), exports);
23
22
  __exportStar(require("./record"), exports);
@@ -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;
@@ -113,7 +113,7 @@ export const IsJobRecordMockTest = (record) => {
113
113
  return !!record && typeof record === 'object' && 'question' in record;
114
114
  };
115
115
  export const IsJobRecordStation = (record) => {
116
- return !!record && typeof record === 'object' && 'question' in record;
116
+ return !!record && typeof record === 'object' && 'actorBrief' in record;
117
117
  };
118
118
  export const IsJobRecordChapter = (record) => {
119
119
  return !!record && typeof record === 'object' && 'summary' in record;
@@ -4,7 +4,7 @@ import { ICondition } from './Condition';
4
4
  import { IQuestionRevision } from './Content';
5
5
  import { EDifficultyType } from './Difficulty';
6
6
  import { IHighlightNode } from './Highlight';
7
- import { IJobRecord, IJobRecordChoiceSummary, IJobRecordMetricsSummary } from './Job';
7
+ import { IJobRecord } from './Job';
8
8
  import { IPicture } from './Picture';
9
9
  import { IPresentation } from './Presentation';
10
10
  import { ITopic } from './Topic';
@@ -119,8 +119,6 @@ export interface IQuestion {
119
119
  revisions?: IQuestionRevision[];
120
120
  entitlements?: IQuestionEntitlement[];
121
121
  jobRecord?: IJobRecord | null;
122
- metricsSummary?: IJobRecordMetricsSummary | null;
123
- choiceSummary?: IJobRecordChoiceSummary[] | null;
124
122
  }
125
123
  export interface IQuestionChoice {
126
124
  id: Id;
@@ -132,6 +130,7 @@ export interface IQuestionChoice {
132
130
  answer: boolean;
133
131
  votes: number;
134
132
  picture?: IPicture | null;
133
+ pictures?: IPicture[] | null;
135
134
  }
136
135
  export interface IQuestionCase {
137
136
  id: Id;
@@ -1,4 +1,3 @@
1
- export declare const QUESTION_STATISTICS_FRAGMENT: import("@apollo/client").DocumentNode;
2
1
  export declare const QUESTION_COMMENT_FIELDS: import("@apollo/client").DocumentNode;
3
2
  export declare const QUESTION_UKMLA_FIELDS: import("@apollo/client").DocumentNode;
4
3
  export declare const QUESTION_UCAT_FIELDS: import("@apollo/client").DocumentNode;
@@ -3,19 +3,6 @@ import { CHAPTER_FIELDS } from './chapter';
3
3
  import { CONCEPT_FIELDS } from './concept';
4
4
  import { HIGHLIGHT_FIELDS } from './highlight';
5
5
  import { PICTURE_FIELDS } from './picture';
6
- import { JOB_RECORD_CHOICE_SUMMARY_FRAGMENT, JOB_RECORD_METRICS_SUMMARY_FRAGMENT, } from './record';
7
- export const QUESTION_STATISTICS_FRAGMENT = gql `
8
- ${JOB_RECORD_METRICS_SUMMARY_FRAGMENT}
9
- ${JOB_RECORD_CHOICE_SUMMARY_FRAGMENT}
10
- fragment QuestionStatistics on Question {
11
- metricsSummary {
12
- ...JobRecordMetricsSummary
13
- }
14
- choiceSummary {
15
- ...JobRecordChoiceSummary
16
- }
17
- }
18
- `;
19
6
  export const QUESTION_COMMENT_FIELDS = gql `
20
7
  fragment QuestionCommentFields on QuestionComment {
21
8
  id
@@ -190,6 +177,9 @@ export const QUESTION_FIELDS = gql `
190
177
  picture {
191
178
  ...PictureFields
192
179
  }
180
+ pictures {
181
+ ...PictureFields
182
+ }
193
183
  }
194
184
  comments {
195
185
  ...QuestionCommentFields
@@ -1,7 +1,6 @@
1
1
  export declare const JOB_USER_FRAGMENT: import("@apollo/client").DocumentNode;
2
2
  export declare const JOB_REMARK_FRAGMENT: import("@apollo/client").DocumentNode;
3
3
  export declare const JOB_ASSET_FRAGMENT: import("@apollo/client").DocumentNode;
4
- export declare const JOB_RECORD_METRICS_SUMMARY_FRAGMENT: import("@apollo/client").DocumentNode;
5
4
  export declare const JOB_RECORD_CHOICE_SUMMARY_FRAGMENT: import("@apollo/client").DocumentNode;
6
5
  export declare const JOB_RECORD_QUESTION_FRAGMENT: import("@apollo/client").DocumentNode;
7
6
  export declare const JOB_RECORD_CHAPTER_FRAGMENT: import("@apollo/client").DocumentNode;
@@ -53,15 +53,6 @@ export const JOB_ASSET_FRAGMENT = gql `
53
53
  }
54
54
  }
55
55
  `;
56
- export const JOB_RECORD_METRICS_SUMMARY_FRAGMENT = gql `
57
- fragment JobRecordMetricsSummary on JobRecordMetricsSummary {
58
- id
59
- total
60
- correct
61
- incorrect
62
- percentage
63
- }
64
- `;
65
56
  export const JOB_RECORD_CHOICE_SUMMARY_FRAGMENT = gql `
66
57
  fragment JobRecordChoiceSummary on JobRecordChoiceSummary {
67
58
  id
@@ -71,18 +62,6 @@ export const JOB_RECORD_CHOICE_SUMMARY_FRAGMENT = gql `
71
62
  questionId
72
63
  }
73
64
  `;
74
- // export const JOB_RECORD_STATISTICS_FRAGMENT = gql`
75
- // ${JOB_RECORD_METRICS_SUMMARY_FRAGMENT}
76
- // ${JOB_RECORD_CHOICE_SUMMARY_FRAGMENT}
77
- // fragment JobRecordStatistics on JobRecord {
78
- // metricsSummary {
79
- // ...JobRecordMetricsSummary
80
- // }
81
- // choiceSummary {
82
- // ...JobRecordChoiceSummary
83
- // }
84
- // }
85
- // `;
86
65
  export const JOB_RECORD_QUESTION_FRAGMENT = gql `
87
66
  fragment JobRecordQuestion on JobRecordQuestion {
88
67
  question
@@ -5,6 +5,7 @@ export interface IUpdateQuestionVar {
5
5
  id: Id;
6
6
  public?: boolean;
7
7
  question?: string;
8
+ enabled?: boolean;
8
9
  conceptId?: number;
9
10
  difficulty?: number;
10
11
  typeId?: number;
@@ -3,5 +3,4 @@ export * from './dashboard';
3
3
  export * from './database';
4
4
  export * from './getUserToken';
5
5
  export * from './job';
6
- export * from './question';
7
6
  export * from './record';
@@ -3,5 +3,4 @@ export * from './dashboard';
3
3
  export * from './database';
4
4
  export * from './getUserToken';
5
5
  export * from './job';
6
- export * from './question';
7
6
  export * from './record';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.220",
3
+ "version": "2.6.222",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -1,7 +0,0 @@
1
- import { IQuestion, Id } from '../../../models';
2
- import { AdminData, graphqlNormalize } from '../../types';
3
- export declare const ADMIN_QUESTION: import("@apollo/client").DocumentNode;
4
- export interface IAdminQuestionVar {
5
- id: Id;
6
- }
7
- export type IAdminQuestionData = AdminData<graphqlNormalize & IQuestion, 'question'>;
@@ -1,131 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ADMIN_QUESTION = void 0;
4
- const client_1 = require("@apollo/client");
5
- const fragments_1 = require("../../fragments");
6
- exports.ADMIN_QUESTION = (0, client_1.gql) `
7
- ${fragments_1.QUESTION_STATISTICS_FRAGMENT}
8
- ${fragments_1.QUESTION_CATEGORY_FIELDS}
9
- ${fragments_1.QUESTION_COMMENT_FIELDS}
10
- ${fragments_1.PICTURE_FIELDS}
11
- query QuestionData($id: Int!) {
12
- admin {
13
- question(id: $id) {
14
- ...QuestionCategoryFields
15
- ...QuestionStatistics
16
- id
17
- public
18
- conceptId
19
- difficulty
20
- question
21
- learningPoint
22
- explanation
23
- createdAt
24
- updatedAt
25
- typeId
26
- likes
27
- dislikes
28
- totalVotes
29
- stem {
30
- id
31
- explanation
32
- summary
33
- typeId
34
- pictures {
35
- ...PictureFields
36
- }
37
- }
38
- presentations {
39
- id
40
- name
41
- topicId
42
- topic {
43
- id
44
- name
45
- }
46
- }
47
- conditions {
48
- id
49
- name
50
- topicId
51
- topic {
52
- id
53
- name
54
- }
55
- }
56
- entitlements {
57
- id
58
- entitlementId
59
- questionId
60
- }
61
- pictures {
62
- ...PictureFields
63
- }
64
- comments {
65
- ...QuestionCommentFields
66
- }
67
- revisions {
68
- id
69
- questionId
70
- createdAt
71
- updatedAt
72
- conceptId
73
- difficulty
74
- typeId
75
- question
76
- explanation
77
- learningPoint
78
- answer
79
- choices {
80
- id
81
- name
82
- explanation
83
- label
84
- answer
85
- votes
86
- updatedAt
87
- }
88
- cases {
89
- id
90
- questionId
91
- case
92
- explanation
93
- label
94
- updatedAt
95
- }
96
- }
97
- choices {
98
- id
99
- name
100
- explanation
101
- label
102
- answer
103
- votes
104
- updatedAt
105
- picture {
106
- ...PictureFields
107
- }
108
- }
109
- topic {
110
- id
111
- name
112
- }
113
- concept {
114
- id
115
- name
116
- topicId
117
- }
118
- jobRecord {
119
- id
120
- jobId
121
- createdByUser {
122
- id
123
- firstName
124
- lastName
125
- username
126
- }
127
- }
128
- }
129
- }
130
- }
131
- `;
@@ -1,7 +0,0 @@
1
- import { IQuestion, Id } from '../../../models';
2
- import { AdminData, graphqlNormalize } from '../../types';
3
- export declare const ADMIN_QUESTION: import("@apollo/client").DocumentNode;
4
- export interface IAdminQuestionVar {
5
- id: Id;
6
- }
7
- export type IAdminQuestionData = AdminData<graphqlNormalize & IQuestion, 'question'>;
@@ -1,128 +0,0 @@
1
- import { gql } from '@apollo/client';
2
- import { PICTURE_FIELDS, QUESTION_CATEGORY_FIELDS, QUESTION_COMMENT_FIELDS, QUESTION_STATISTICS_FRAGMENT, } from '../../fragments';
3
- export const ADMIN_QUESTION = gql `
4
- ${QUESTION_STATISTICS_FRAGMENT}
5
- ${QUESTION_CATEGORY_FIELDS}
6
- ${QUESTION_COMMENT_FIELDS}
7
- ${PICTURE_FIELDS}
8
- query QuestionData($id: Int!) {
9
- admin {
10
- question(id: $id) {
11
- ...QuestionCategoryFields
12
- ...QuestionStatistics
13
- id
14
- public
15
- conceptId
16
- difficulty
17
- question
18
- learningPoint
19
- explanation
20
- createdAt
21
- updatedAt
22
- typeId
23
- likes
24
- dislikes
25
- totalVotes
26
- stem {
27
- id
28
- explanation
29
- summary
30
- typeId
31
- pictures {
32
- ...PictureFields
33
- }
34
- }
35
- presentations {
36
- id
37
- name
38
- topicId
39
- topic {
40
- id
41
- name
42
- }
43
- }
44
- conditions {
45
- id
46
- name
47
- topicId
48
- topic {
49
- id
50
- name
51
- }
52
- }
53
- entitlements {
54
- id
55
- entitlementId
56
- questionId
57
- }
58
- pictures {
59
- ...PictureFields
60
- }
61
- comments {
62
- ...QuestionCommentFields
63
- }
64
- revisions {
65
- id
66
- questionId
67
- createdAt
68
- updatedAt
69
- conceptId
70
- difficulty
71
- typeId
72
- question
73
- explanation
74
- learningPoint
75
- answer
76
- choices {
77
- id
78
- name
79
- explanation
80
- label
81
- answer
82
- votes
83
- updatedAt
84
- }
85
- cases {
86
- id
87
- questionId
88
- case
89
- explanation
90
- label
91
- updatedAt
92
- }
93
- }
94
- choices {
95
- id
96
- name
97
- explanation
98
- label
99
- answer
100
- votes
101
- updatedAt
102
- picture {
103
- ...PictureFields
104
- }
105
- }
106
- topic {
107
- id
108
- name
109
- }
110
- concept {
111
- id
112
- name
113
- topicId
114
- }
115
- jobRecord {
116
- id
117
- jobId
118
- createdByUser {
119
- id
120
- firstName
121
- lastName
122
- username
123
- }
124
- }
125
- }
126
- }
127
- }
128
- `;