@quesmed/types 2.6.193 → 2.6.194

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.
@@ -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";
@@ -17,7 +17,8 @@ export declare enum ETopicType {
17
17
  INTERVIEW_RADIOLOGY = 12,
18
18
  INTERVIEW_PAEDIATRICS = 13,
19
19
  UCAT = 14,
20
- MRCP_VIDEO = 15
20
+ MRCP_VIDEO = 15,
21
+ INTERVIEW_ACCS = 16
21
22
  }
22
23
  export interface ITopicType {
23
24
  id: ETopicType;
@@ -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;
@@ -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 = {
@@ -125,6 +125,7 @@ exports.USER_FIELDS = (0, client_1.gql) `
125
125
  imtInterviewSubscriptionEndDate
126
126
  radiologyInterviewSubscriptionEndDate
127
127
  paediatricsInterviewSubscriptionEndDate
128
+ accsInterviewSubscriptionEndDate
128
129
 
129
130
  # plab
130
131
  plab1SubscriptionEndDate
@@ -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[], 'ucatThemeAnalytics'>;
43
+ export type IUcatThemeAnalyticsData = RestrictedData<IUcatThemeAnalytics, 'ucatThemeAnalytics'>;
43
44
  export declare const UCAT_THEME_ANALYTICS: import("@apollo/client").DocumentNode;
@@ -42,6 +42,10 @@ 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
@@ -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";
@@ -17,7 +17,8 @@ export declare enum ETopicType {
17
17
  INTERVIEW_RADIOLOGY = 12,
18
18
  INTERVIEW_PAEDIATRICS = 13,
19
19
  UCAT = 14,
20
- MRCP_VIDEO = 15
20
+ MRCP_VIDEO = 15,
21
+ INTERVIEW_ACCS = 16
21
22
  }
22
23
  export interface ITopicType {
23
24
  id: ETopicType;
@@ -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;
@@ -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 = {
@@ -122,6 +122,7 @@ export const USER_FIELDS = gql `
122
122
  imtInterviewSubscriptionEndDate
123
123
  radiologyInterviewSubscriptionEndDate
124
124
  paediatricsInterviewSubscriptionEndDate
125
+ accsInterviewSubscriptionEndDate
125
126
 
126
127
  # plab
127
128
  plab1SubscriptionEndDate
@@ -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[], 'ucatThemeAnalytics'>;
43
+ export type IUcatThemeAnalyticsData = RestrictedData<IUcatThemeAnalytics, 'ucatThemeAnalytics'>;
43
44
  export declare const UCAT_THEME_ANALYTICS: import("@apollo/client").DocumentNode;
@@ -39,6 +39,10 @@ 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.193",
3
+ "version": "2.6.194",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",