@quesmed/types-rn 2.6.192 → 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,
package/models/Product.js CHANGED
@@ -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/models/Topic.d.ts CHANGED
@@ -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;
package/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 = {}));
package/models/User.d.ts CHANGED
@@ -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/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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.192",
3
+ "version": "2.6.194",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -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
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