@quesmed/types 2.6.193 → 2.6.195
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/dist/cjs/models/Job.d.ts +7 -0
- package/dist/cjs/models/Product.d.ts +2 -0
- package/dist/cjs/models/Product.js +2 -0
- package/dist/cjs/models/Topic.d.ts +2 -1
- package/dist/cjs/models/Topic.js +1 -0
- package/dist/cjs/models/User.d.ts +2 -0
- package/dist/cjs/models/User.js +2 -0
- package/dist/cjs/resolvers/constants.js +6 -0
- package/dist/cjs/resolvers/fragments/question.js +5 -0
- package/dist/cjs/resolvers/fragments/record.js +10 -0
- package/dist/cjs/resolvers/fragments/user.js +1 -0
- package/dist/cjs/resolvers/query/restricted/analytics.d.ts +3 -2
- package/dist/cjs/resolvers/query/restricted/analytics.js +5 -0
- package/dist/mjs/models/Job.d.ts +7 -0
- package/dist/mjs/models/Product.d.ts +2 -0
- package/dist/mjs/models/Product.js +2 -0
- package/dist/mjs/models/Topic.d.ts +2 -1
- package/dist/mjs/models/Topic.js +1 -0
- package/dist/mjs/models/User.d.ts +2 -0
- package/dist/mjs/models/User.js +2 -0
- package/dist/mjs/resolvers/constants.js +6 -0
- package/dist/mjs/resolvers/fragments/question.js +5 -0
- package/dist/mjs/resolvers/fragments/record.js +10 -0
- package/dist/mjs/resolvers/fragments/user.js +1 -0
- package/dist/mjs/resolvers/query/restricted/analytics.d.ts +3 -2
- package/dist/mjs/resolvers/query/restricted/analytics.js +5 -0
- package/package.json +1 -1
package/dist/cjs/models/Job.d.ts
CHANGED
|
@@ -107,6 +107,11 @@ export interface IJobAsset {
|
|
|
107
107
|
choiceLabel: string | null;
|
|
108
108
|
createdAt: Date | number;
|
|
109
109
|
}
|
|
110
|
+
export interface IRTParameters {
|
|
111
|
+
discrimination: number;
|
|
112
|
+
difficulty: number;
|
|
113
|
+
guessing: number;
|
|
114
|
+
}
|
|
110
115
|
export interface IJobRecordQuestion {
|
|
111
116
|
question: string;
|
|
112
117
|
stem?: string | null;
|
|
@@ -125,6 +130,7 @@ export interface IJobRecordQuestion {
|
|
|
125
130
|
choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
|
|
126
131
|
explanation?: IQuestionChoice['explanation'];
|
|
127
132
|
}>;
|
|
133
|
+
irtParameters?: IRTParameters | null;
|
|
128
134
|
}
|
|
129
135
|
export interface IJobRecordChapter {
|
|
130
136
|
title: string;
|
|
@@ -148,6 +154,7 @@ export interface IJobRecordMockTest {
|
|
|
148
154
|
choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
|
|
149
155
|
explanation?: IQuestionChoice['explanation'];
|
|
150
156
|
}>;
|
|
157
|
+
irtParameters?: IRTParameters | null;
|
|
151
158
|
}
|
|
152
159
|
export interface IJobRecordMetricsSummary {
|
|
153
160
|
id: string;
|
|
@@ -19,6 +19,7 @@ export declare enum EProductType {
|
|
|
19
19
|
INTERVIEW_IMT = 13,
|
|
20
20
|
INTERVIEW_RADIOLOGY = 14,
|
|
21
21
|
INTERVIEW_PAEDIATRICS = 45,
|
|
22
|
+
INTERVIEW_ACCS = 57,
|
|
22
23
|
CLINICAL = 15,
|
|
23
24
|
DATA_INTERPRETATION = 16,
|
|
24
25
|
CLINICAL_SUBSET = 17,
|
|
@@ -81,6 +82,7 @@ export declare enum EEntitlementType {
|
|
|
81
82
|
INTERVIEW_IMT = 42,
|
|
82
83
|
INTERVIEW_RADIOLOGY = 43,
|
|
83
84
|
INTERVIEW_PAEDIATRICS = 46,
|
|
85
|
+
INTERVIEW_ACCS = 58,
|
|
84
86
|
PLAB_1 = 44,
|
|
85
87
|
VERBAL_REASONING = 49,
|
|
86
88
|
DECISION_MAKING = 50,
|
|
@@ -22,6 +22,7 @@ var EProductType;
|
|
|
22
22
|
EProductType[EProductType["INTERVIEW_IMT"] = 13] = "INTERVIEW_IMT";
|
|
23
23
|
EProductType[EProductType["INTERVIEW_RADIOLOGY"] = 14] = "INTERVIEW_RADIOLOGY";
|
|
24
24
|
EProductType[EProductType["INTERVIEW_PAEDIATRICS"] = 45] = "INTERVIEW_PAEDIATRICS";
|
|
25
|
+
EProductType[EProductType["INTERVIEW_ACCS"] = 57] = "INTERVIEW_ACCS";
|
|
25
26
|
EProductType[EProductType["CLINICAL"] = 15] = "CLINICAL";
|
|
26
27
|
EProductType[EProductType["DATA_INTERPRETATION"] = 16] = "DATA_INTERPRETATION";
|
|
27
28
|
EProductType[EProductType["CLINICAL_SUBSET"] = 17] = "CLINICAL_SUBSET";
|
|
@@ -85,6 +86,7 @@ var EEntitlementType;
|
|
|
85
86
|
EEntitlementType[EEntitlementType["INTERVIEW_IMT"] = 42] = "INTERVIEW_IMT";
|
|
86
87
|
EEntitlementType[EEntitlementType["INTERVIEW_RADIOLOGY"] = 43] = "INTERVIEW_RADIOLOGY";
|
|
87
88
|
EEntitlementType[EEntitlementType["INTERVIEW_PAEDIATRICS"] = 46] = "INTERVIEW_PAEDIATRICS";
|
|
89
|
+
EEntitlementType[EEntitlementType["INTERVIEW_ACCS"] = 58] = "INTERVIEW_ACCS";
|
|
88
90
|
EEntitlementType[EEntitlementType["PLAB_1"] = 44] = "PLAB_1";
|
|
89
91
|
EEntitlementType[EEntitlementType["VERBAL_REASONING"] = 49] = "VERBAL_REASONING";
|
|
90
92
|
EEntitlementType[EEntitlementType["DECISION_MAKING"] = 50] = "DECISION_MAKING";
|
package/dist/cjs/models/Topic.js
CHANGED
|
@@ -20,4 +20,5 @@ var ETopicType;
|
|
|
20
20
|
ETopicType[ETopicType["INTERVIEW_PAEDIATRICS"] = 13] = "INTERVIEW_PAEDIATRICS";
|
|
21
21
|
ETopicType[ETopicType["UCAT"] = 14] = "UCAT";
|
|
22
22
|
ETopicType[ETopicType["MRCP_VIDEO"] = 15] = "MRCP_VIDEO";
|
|
23
|
+
ETopicType[ETopicType["INTERVIEW_ACCS"] = 16] = "INTERVIEW_ACCS";
|
|
23
24
|
})(ETopicType = exports.ETopicType || (exports.ETopicType = {}));
|
|
@@ -79,6 +79,7 @@ export interface IPayload {
|
|
|
79
79
|
imtInterviewSubscriptionEndDate: number | null;
|
|
80
80
|
radiologyInterviewSubscriptionEndDate: number | null;
|
|
81
81
|
paediatricsInterviewSubscriptionEndDate: number | null;
|
|
82
|
+
accsInterviewSubscriptionEndDate: number | null;
|
|
82
83
|
plab1SubscriptionEndDate: number | null;
|
|
83
84
|
plab2SubscriptionEndDate: number | null;
|
|
84
85
|
ucatSubscriptionEndDate: number | null;
|
|
@@ -191,6 +192,7 @@ export interface IUser {
|
|
|
191
192
|
imtInterviewSubscriptionEndDate: number | Date | null;
|
|
192
193
|
radiologyInterviewSubscriptionEndDate: number | Date | null;
|
|
193
194
|
paediatricsInterviewSubscriptionEndDate: number | Date | null;
|
|
195
|
+
accsInterviewSubscriptionEndDate: number | Date | null;
|
|
194
196
|
plab1SubscriptionEndDate: number | Date | null;
|
|
195
197
|
plab2SubscriptionEndDate: number | Date | null;
|
|
196
198
|
ucatSubscriptionEndDate: number | Date | null;
|
package/dist/cjs/models/User.js
CHANGED
|
@@ -49,6 +49,7 @@ exports.subscriptionDates = [
|
|
|
49
49
|
'imtInterviewSubscriptionEndDate',
|
|
50
50
|
'radiologyInterviewSubscriptionEndDate',
|
|
51
51
|
'paediatricsInterviewSubscriptionEndDate',
|
|
52
|
+
'accsInterviewSubscriptionEndDate',
|
|
52
53
|
'plab1SubscriptionEndDate',
|
|
53
54
|
'plab2SubscriptionEndDate',
|
|
54
55
|
'ucatSubscriptionEndDate',
|
|
@@ -74,6 +75,7 @@ exports.dateProductMapping = {
|
|
|
74
75
|
imtInterviewSubscriptionEndDate: Product_1.EProductType.INTERVIEW_IMT,
|
|
75
76
|
radiologyInterviewSubscriptionEndDate: Product_1.EProductType.INTERVIEW_RADIOLOGY,
|
|
76
77
|
paediatricsInterviewSubscriptionEndDate: Product_1.EProductType.INTERVIEW_PAEDIATRICS,
|
|
78
|
+
accsInterviewSubscriptionEndDate: Product_1.EProductType.INTERVIEW_ACCS,
|
|
77
79
|
plab1SubscriptionEndDate: Product_1.EProductType.PLAB1,
|
|
78
80
|
plab2SubscriptionEndDate: Product_1.EProductType.PLAB2,
|
|
79
81
|
ucatSubscriptionEndDate: Product_1.EProductType.UCAT,
|
|
@@ -113,6 +113,11 @@ exports.productMapping = {
|
|
|
113
113
|
topicType: [models_1.ETopicType.INTERVIEW_PAEDIATRICS],
|
|
114
114
|
mockType: ALL_MOCKS,
|
|
115
115
|
},
|
|
116
|
+
[models_1.EProductType.INTERVIEW_ACCS]: {
|
|
117
|
+
db: enums_1.DB_TYPE.FINALS,
|
|
118
|
+
topicType: [models_1.ETopicType.INTERVIEW_ACCS],
|
|
119
|
+
mockType: ALL_MOCKS,
|
|
120
|
+
},
|
|
116
121
|
[models_1.EProductType.PLAB1]: {
|
|
117
122
|
db: enums_1.DB_TYPE.FINALS,
|
|
118
123
|
topicType: [models_1.ETopicType.CLINICAL],
|
|
@@ -151,6 +156,7 @@ const topicEntitlementMap = {
|
|
|
151
156
|
[models_1.ETopicType.INTERVIEW_IMT]: models_1.EEntitlementType.INTERVIEW_IMT,
|
|
152
157
|
[models_1.ETopicType.INTERVIEW_RADIOLOGY]: models_1.EEntitlementType.INTERVIEW_RADIOLOGY,
|
|
153
158
|
[models_1.ETopicType.INTERVIEW_PAEDIATRICS]: models_1.EEntitlementType.INTERVIEW_PAEDIATRICS,
|
|
159
|
+
[models_1.ETopicType.INTERVIEW_ACCS]: models_1.EEntitlementType.INTERVIEW_ACCS,
|
|
154
160
|
[models_1.ETopicType.UCAT]: models_1.EEntitlementType.VERBAL_REASONING,
|
|
155
161
|
};
|
|
156
162
|
const osceEntitlementMap = {
|
|
@@ -110,6 +110,11 @@ exports.JOB_RECORD_QUESTION_FRAGMENT = (0, client_1.gql) `
|
|
|
110
110
|
explanation
|
|
111
111
|
answer
|
|
112
112
|
}
|
|
113
|
+
irtParameters {
|
|
114
|
+
discrimination
|
|
115
|
+
difficulty
|
|
116
|
+
guessing
|
|
117
|
+
}
|
|
113
118
|
learningPoint
|
|
114
119
|
explanation
|
|
115
120
|
}
|
|
@@ -142,6 +147,11 @@ exports.JOB_RECORD_MOCK_TEST_FRAGMENT = (0, client_1.gql) `
|
|
|
142
147
|
explanation
|
|
143
148
|
answer
|
|
144
149
|
}
|
|
150
|
+
irtParameters {
|
|
151
|
+
discrimination
|
|
152
|
+
difficulty
|
|
153
|
+
guessing
|
|
154
|
+
}
|
|
145
155
|
learningPoint
|
|
146
156
|
explanation
|
|
147
157
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EEntitlementType, IMarksheetMark } from '../../../models';
|
|
1
|
+
import { EEntitlementType, IMarksheetMark, ITheme } from '../../../models';
|
|
2
2
|
import { RestrictedData } from '../../types';
|
|
3
3
|
export type IUcatAnalyticsVar = {
|
|
4
4
|
updatedAt?: Date | number;
|
|
@@ -38,6 +38,7 @@ export interface IUcatThemeAnalytics {
|
|
|
38
38
|
total: number;
|
|
39
39
|
attempted: number;
|
|
40
40
|
stats: IUcatThemeStats[];
|
|
41
|
+
theme: ITheme;
|
|
41
42
|
}
|
|
42
|
-
export type IUcatThemeAnalyticsData = RestrictedData<IUcatThemeAnalytics
|
|
43
|
+
export type IUcatThemeAnalyticsData = RestrictedData<IUcatThemeAnalytics, 'ucatThemeAnalytics'>;
|
|
43
44
|
export declare const UCAT_THEME_ANALYTICS: import("@apollo/client").DocumentNode;
|
|
@@ -42,12 +42,17 @@ exports.UCAT_THEME_ANALYTICS = (0, client_1.gql) `
|
|
|
42
42
|
themeId: $themeId
|
|
43
43
|
updatedAt: $updatedAt
|
|
44
44
|
) {
|
|
45
|
+
theme {
|
|
46
|
+
id
|
|
47
|
+
name
|
|
48
|
+
}
|
|
45
49
|
attempted
|
|
46
50
|
correct
|
|
47
51
|
incorrect
|
|
48
52
|
marks {
|
|
49
53
|
questionId
|
|
50
54
|
updatedAt
|
|
55
|
+
mark
|
|
51
56
|
marksheet {
|
|
52
57
|
id
|
|
53
58
|
isTestMarksheet
|
package/dist/mjs/models/Job.d.ts
CHANGED
|
@@ -107,6 +107,11 @@ export interface IJobAsset {
|
|
|
107
107
|
choiceLabel: string | null;
|
|
108
108
|
createdAt: Date | number;
|
|
109
109
|
}
|
|
110
|
+
export interface IRTParameters {
|
|
111
|
+
discrimination: number;
|
|
112
|
+
difficulty: number;
|
|
113
|
+
guessing: number;
|
|
114
|
+
}
|
|
110
115
|
export interface IJobRecordQuestion {
|
|
111
116
|
question: string;
|
|
112
117
|
stem?: string | null;
|
|
@@ -125,6 +130,7 @@ export interface IJobRecordQuestion {
|
|
|
125
130
|
choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
|
|
126
131
|
explanation?: IQuestionChoice['explanation'];
|
|
127
132
|
}>;
|
|
133
|
+
irtParameters?: IRTParameters | null;
|
|
128
134
|
}
|
|
129
135
|
export interface IJobRecordChapter {
|
|
130
136
|
title: string;
|
|
@@ -148,6 +154,7 @@ export interface IJobRecordMockTest {
|
|
|
148
154
|
choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
|
|
149
155
|
explanation?: IQuestionChoice['explanation'];
|
|
150
156
|
}>;
|
|
157
|
+
irtParameters?: IRTParameters | null;
|
|
151
158
|
}
|
|
152
159
|
export interface IJobRecordMetricsSummary {
|
|
153
160
|
id: string;
|
|
@@ -19,6 +19,7 @@ export declare enum EProductType {
|
|
|
19
19
|
INTERVIEW_IMT = 13,
|
|
20
20
|
INTERVIEW_RADIOLOGY = 14,
|
|
21
21
|
INTERVIEW_PAEDIATRICS = 45,
|
|
22
|
+
INTERVIEW_ACCS = 57,
|
|
22
23
|
CLINICAL = 15,
|
|
23
24
|
DATA_INTERPRETATION = 16,
|
|
24
25
|
CLINICAL_SUBSET = 17,
|
|
@@ -81,6 +82,7 @@ export declare enum EEntitlementType {
|
|
|
81
82
|
INTERVIEW_IMT = 42,
|
|
82
83
|
INTERVIEW_RADIOLOGY = 43,
|
|
83
84
|
INTERVIEW_PAEDIATRICS = 46,
|
|
85
|
+
INTERVIEW_ACCS = 58,
|
|
84
86
|
PLAB_1 = 44,
|
|
85
87
|
VERBAL_REASONING = 49,
|
|
86
88
|
DECISION_MAKING = 50,
|
|
@@ -19,6 +19,7 @@ export var EProductType;
|
|
|
19
19
|
EProductType[EProductType["INTERVIEW_IMT"] = 13] = "INTERVIEW_IMT";
|
|
20
20
|
EProductType[EProductType["INTERVIEW_RADIOLOGY"] = 14] = "INTERVIEW_RADIOLOGY";
|
|
21
21
|
EProductType[EProductType["INTERVIEW_PAEDIATRICS"] = 45] = "INTERVIEW_PAEDIATRICS";
|
|
22
|
+
EProductType[EProductType["INTERVIEW_ACCS"] = 57] = "INTERVIEW_ACCS";
|
|
22
23
|
EProductType[EProductType["CLINICAL"] = 15] = "CLINICAL";
|
|
23
24
|
EProductType[EProductType["DATA_INTERPRETATION"] = 16] = "DATA_INTERPRETATION";
|
|
24
25
|
EProductType[EProductType["CLINICAL_SUBSET"] = 17] = "CLINICAL_SUBSET";
|
|
@@ -82,6 +83,7 @@ export var EEntitlementType;
|
|
|
82
83
|
EEntitlementType[EEntitlementType["INTERVIEW_IMT"] = 42] = "INTERVIEW_IMT";
|
|
83
84
|
EEntitlementType[EEntitlementType["INTERVIEW_RADIOLOGY"] = 43] = "INTERVIEW_RADIOLOGY";
|
|
84
85
|
EEntitlementType[EEntitlementType["INTERVIEW_PAEDIATRICS"] = 46] = "INTERVIEW_PAEDIATRICS";
|
|
86
|
+
EEntitlementType[EEntitlementType["INTERVIEW_ACCS"] = 58] = "INTERVIEW_ACCS";
|
|
85
87
|
EEntitlementType[EEntitlementType["PLAB_1"] = 44] = "PLAB_1";
|
|
86
88
|
EEntitlementType[EEntitlementType["VERBAL_REASONING"] = 49] = "VERBAL_REASONING";
|
|
87
89
|
EEntitlementType[EEntitlementType["DECISION_MAKING"] = 50] = "DECISION_MAKING";
|
package/dist/mjs/models/Topic.js
CHANGED
|
@@ -17,4 +17,5 @@ export var ETopicType;
|
|
|
17
17
|
ETopicType[ETopicType["INTERVIEW_PAEDIATRICS"] = 13] = "INTERVIEW_PAEDIATRICS";
|
|
18
18
|
ETopicType[ETopicType["UCAT"] = 14] = "UCAT";
|
|
19
19
|
ETopicType[ETopicType["MRCP_VIDEO"] = 15] = "MRCP_VIDEO";
|
|
20
|
+
ETopicType[ETopicType["INTERVIEW_ACCS"] = 16] = "INTERVIEW_ACCS";
|
|
20
21
|
})(ETopicType || (ETopicType = {}));
|
|
@@ -79,6 +79,7 @@ export interface IPayload {
|
|
|
79
79
|
imtInterviewSubscriptionEndDate: number | null;
|
|
80
80
|
radiologyInterviewSubscriptionEndDate: number | null;
|
|
81
81
|
paediatricsInterviewSubscriptionEndDate: number | null;
|
|
82
|
+
accsInterviewSubscriptionEndDate: number | null;
|
|
82
83
|
plab1SubscriptionEndDate: number | null;
|
|
83
84
|
plab2SubscriptionEndDate: number | null;
|
|
84
85
|
ucatSubscriptionEndDate: number | null;
|
|
@@ -191,6 +192,7 @@ export interface IUser {
|
|
|
191
192
|
imtInterviewSubscriptionEndDate: number | Date | null;
|
|
192
193
|
radiologyInterviewSubscriptionEndDate: number | Date | null;
|
|
193
194
|
paediatricsInterviewSubscriptionEndDate: number | Date | null;
|
|
195
|
+
accsInterviewSubscriptionEndDate: number | Date | null;
|
|
194
196
|
plab1SubscriptionEndDate: number | Date | null;
|
|
195
197
|
plab2SubscriptionEndDate: number | Date | null;
|
|
196
198
|
ucatSubscriptionEndDate: number | Date | null;
|
package/dist/mjs/models/User.js
CHANGED
|
@@ -46,6 +46,7 @@ export const subscriptionDates = [
|
|
|
46
46
|
'imtInterviewSubscriptionEndDate',
|
|
47
47
|
'radiologyInterviewSubscriptionEndDate',
|
|
48
48
|
'paediatricsInterviewSubscriptionEndDate',
|
|
49
|
+
'accsInterviewSubscriptionEndDate',
|
|
49
50
|
'plab1SubscriptionEndDate',
|
|
50
51
|
'plab2SubscriptionEndDate',
|
|
51
52
|
'ucatSubscriptionEndDate',
|
|
@@ -71,6 +72,7 @@ export const dateProductMapping = {
|
|
|
71
72
|
imtInterviewSubscriptionEndDate: EProductType.INTERVIEW_IMT,
|
|
72
73
|
radiologyInterviewSubscriptionEndDate: EProductType.INTERVIEW_RADIOLOGY,
|
|
73
74
|
paediatricsInterviewSubscriptionEndDate: EProductType.INTERVIEW_PAEDIATRICS,
|
|
75
|
+
accsInterviewSubscriptionEndDate: EProductType.INTERVIEW_ACCS,
|
|
74
76
|
plab1SubscriptionEndDate: EProductType.PLAB1,
|
|
75
77
|
plab2SubscriptionEndDate: EProductType.PLAB2,
|
|
76
78
|
ucatSubscriptionEndDate: EProductType.UCAT,
|
|
@@ -110,6 +110,11 @@ export const productMapping = {
|
|
|
110
110
|
topicType: [ETopicType.INTERVIEW_PAEDIATRICS],
|
|
111
111
|
mockType: ALL_MOCKS,
|
|
112
112
|
},
|
|
113
|
+
[EProductType.INTERVIEW_ACCS]: {
|
|
114
|
+
db: DB_TYPE.FINALS,
|
|
115
|
+
topicType: [ETopicType.INTERVIEW_ACCS],
|
|
116
|
+
mockType: ALL_MOCKS,
|
|
117
|
+
},
|
|
113
118
|
[EProductType.PLAB1]: {
|
|
114
119
|
db: DB_TYPE.FINALS,
|
|
115
120
|
topicType: [ETopicType.CLINICAL],
|
|
@@ -148,6 +153,7 @@ const topicEntitlementMap = {
|
|
|
148
153
|
[ETopicType.INTERVIEW_IMT]: EEntitlementType.INTERVIEW_IMT,
|
|
149
154
|
[ETopicType.INTERVIEW_RADIOLOGY]: EEntitlementType.INTERVIEW_RADIOLOGY,
|
|
150
155
|
[ETopicType.INTERVIEW_PAEDIATRICS]: EEntitlementType.INTERVIEW_PAEDIATRICS,
|
|
156
|
+
[ETopicType.INTERVIEW_ACCS]: EEntitlementType.INTERVIEW_ACCS,
|
|
151
157
|
[ETopicType.UCAT]: EEntitlementType.VERBAL_REASONING,
|
|
152
158
|
};
|
|
153
159
|
const osceEntitlementMap = {
|
|
@@ -107,6 +107,11 @@ export const JOB_RECORD_QUESTION_FRAGMENT = gql `
|
|
|
107
107
|
explanation
|
|
108
108
|
answer
|
|
109
109
|
}
|
|
110
|
+
irtParameters {
|
|
111
|
+
discrimination
|
|
112
|
+
difficulty
|
|
113
|
+
guessing
|
|
114
|
+
}
|
|
110
115
|
learningPoint
|
|
111
116
|
explanation
|
|
112
117
|
}
|
|
@@ -139,6 +144,11 @@ export const JOB_RECORD_MOCK_TEST_FRAGMENT = gql `
|
|
|
139
144
|
explanation
|
|
140
145
|
answer
|
|
141
146
|
}
|
|
147
|
+
irtParameters {
|
|
148
|
+
discrimination
|
|
149
|
+
difficulty
|
|
150
|
+
guessing
|
|
151
|
+
}
|
|
142
152
|
learningPoint
|
|
143
153
|
explanation
|
|
144
154
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EEntitlementType, IMarksheetMark } from '../../../models';
|
|
1
|
+
import { EEntitlementType, IMarksheetMark, ITheme } from '../../../models';
|
|
2
2
|
import { RestrictedData } from '../../types';
|
|
3
3
|
export type IUcatAnalyticsVar = {
|
|
4
4
|
updatedAt?: Date | number;
|
|
@@ -38,6 +38,7 @@ export interface IUcatThemeAnalytics {
|
|
|
38
38
|
total: number;
|
|
39
39
|
attempted: number;
|
|
40
40
|
stats: IUcatThemeStats[];
|
|
41
|
+
theme: ITheme;
|
|
41
42
|
}
|
|
42
|
-
export type IUcatThemeAnalyticsData = RestrictedData<IUcatThemeAnalytics
|
|
43
|
+
export type IUcatThemeAnalyticsData = RestrictedData<IUcatThemeAnalytics, 'ucatThemeAnalytics'>;
|
|
43
44
|
export declare const UCAT_THEME_ANALYTICS: import("@apollo/client").DocumentNode;
|
|
@@ -39,12 +39,17 @@ export const UCAT_THEME_ANALYTICS = gql `
|
|
|
39
39
|
themeId: $themeId
|
|
40
40
|
updatedAt: $updatedAt
|
|
41
41
|
) {
|
|
42
|
+
theme {
|
|
43
|
+
id
|
|
44
|
+
name
|
|
45
|
+
}
|
|
42
46
|
attempted
|
|
43
47
|
correct
|
|
44
48
|
incorrect
|
|
45
49
|
marks {
|
|
46
50
|
questionId
|
|
47
51
|
updatedAt
|
|
52
|
+
mark
|
|
48
53
|
marksheet {
|
|
49
54
|
id
|
|
50
55
|
isTestMarksheet
|