@quesmed/types-rn 2.6.138 → 2.6.139
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/models/Product.d.ts +4 -2
- package/models/Product.js +2 -0
- package/models/User.d.ts +2 -0
- package/models/User.js +4 -2
- package/package.json +1 -1
- package/resolvers/constants.js +5 -0
- package/resolvers/fragments/user.js +1 -0
package/models/Product.d.ts
CHANGED
|
@@ -44,7 +44,8 @@ export declare enum EProductType {
|
|
|
44
44
|
VERBAL_REASONING = 49,
|
|
45
45
|
DECISION_MAKING = 50,
|
|
46
46
|
QUANTITATIVE_REASONING = 51,
|
|
47
|
-
SITUATIONAL_JUDGEMENT = 52
|
|
47
|
+
SITUATIONAL_JUDGEMENT = 52,
|
|
48
|
+
MRCP_VIDEO = 53
|
|
48
49
|
}
|
|
49
50
|
export declare enum EEntitlementType {
|
|
50
51
|
ALL = 0,
|
|
@@ -81,7 +82,8 @@ export declare enum EEntitlementType {
|
|
|
81
82
|
VERBAL_REASONING = 49,
|
|
82
83
|
DECISION_MAKING = 50,
|
|
83
84
|
QUANTITATIVE_REASONING = 51,
|
|
84
|
-
SITUATIONAL_JUDGEMENT = 52
|
|
85
|
+
SITUATIONAL_JUDGEMENT = 52,
|
|
86
|
+
MRCP_VIDEO = 53
|
|
85
87
|
}
|
|
86
88
|
export interface IProduct {
|
|
87
89
|
id: Id;
|
package/models/Product.js
CHANGED
|
@@ -48,6 +48,7 @@ var EProductType;
|
|
|
48
48
|
EProductType[EProductType["DECISION_MAKING"] = 50] = "DECISION_MAKING";
|
|
49
49
|
EProductType[EProductType["QUANTITATIVE_REASONING"] = 51] = "QUANTITATIVE_REASONING";
|
|
50
50
|
EProductType[EProductType["SITUATIONAL_JUDGEMENT"] = 52] = "SITUATIONAL_JUDGEMENT";
|
|
51
|
+
EProductType[EProductType["MRCP_VIDEO"] = 53] = "MRCP_VIDEO";
|
|
51
52
|
})(EProductType = exports.EProductType || (exports.EProductType = {}));
|
|
52
53
|
var EEntitlementType;
|
|
53
54
|
(function (EEntitlementType) {
|
|
@@ -86,6 +87,7 @@ var EEntitlementType;
|
|
|
86
87
|
EEntitlementType[EEntitlementType["DECISION_MAKING"] = 50] = "DECISION_MAKING";
|
|
87
88
|
EEntitlementType[EEntitlementType["QUANTITATIVE_REASONING"] = 51] = "QUANTITATIVE_REASONING";
|
|
88
89
|
EEntitlementType[EEntitlementType["SITUATIONAL_JUDGEMENT"] = 52] = "SITUATIONAL_JUDGEMENT";
|
|
90
|
+
EEntitlementType[EEntitlementType["MRCP_VIDEO"] = 53] = "MRCP_VIDEO";
|
|
89
91
|
})(EEntitlementType = exports.EEntitlementType || (exports.EEntitlementType = {}));
|
|
90
92
|
var EAppType;
|
|
91
93
|
(function (EAppType) {
|
package/models/User.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ export interface IPayload {
|
|
|
69
69
|
mrcpPart2SubscriptionEndDate: number | null;
|
|
70
70
|
pacesSubscriptionEndDate: number | null;
|
|
71
71
|
msraSubscriptionEndDate: number | null;
|
|
72
|
+
mrcpVideoSubscriptionEndDate: number | null;
|
|
72
73
|
anaestheticsInterviewSubscriptionEndDate: number | null;
|
|
73
74
|
cstInterviewSubscriptionEndDate: number | null;
|
|
74
75
|
imtInterviewSubscriptionEndDate: number | null;
|
|
@@ -177,6 +178,7 @@ export interface IUser {
|
|
|
177
178
|
mrcpPart2SubscriptionEndDate: number | Date | null;
|
|
178
179
|
pacesSubscriptionEndDate: number | Date | null;
|
|
179
180
|
msraSubscriptionEndDate: number | Date | null;
|
|
181
|
+
mrcpVideoSubscriptionEndDate: number | Date | null;
|
|
180
182
|
anaestheticsInterviewSubscriptionEndDate: number | Date | null;
|
|
181
183
|
cstInterviewSubscriptionEndDate: number | Date | null;
|
|
182
184
|
imtInterviewSubscriptionEndDate: number | Date | null;
|
package/models/User.js
CHANGED
|
@@ -48,6 +48,7 @@ exports.subscriptionDates = [
|
|
|
48
48
|
'plab1SubscriptionEndDate',
|
|
49
49
|
'plab2SubscriptionEndDate',
|
|
50
50
|
'ucatSubscriptionEndDate',
|
|
51
|
+
'mrcpVideoSubscriptionEndDate',
|
|
51
52
|
];
|
|
52
53
|
exports.dateProductMapping = {
|
|
53
54
|
qbankSubscriptionEndDate: Product_1.EProductType.QBANK,
|
|
@@ -58,11 +59,12 @@ exports.dateProductMapping = {
|
|
|
58
59
|
anatomyBundleSubscriptionEndDate: Product_1.EProductType.ANATOMY_BUNDLE,
|
|
59
60
|
mrcpPart1SubscriptionEndDate: Product_1.EProductType.MRCP_PART1,
|
|
60
61
|
mrcpPart2SubscriptionEndDate: Product_1.EProductType.MRCP_PART2,
|
|
62
|
+
mrcpVideoSubscriptionEndDate: Product_1.EProductType.MRCP_VIDEO,
|
|
61
63
|
pacesSubscriptionEndDate: Product_1.EProductType.PACES,
|
|
62
64
|
msraSubscriptionEndDate: Product_1.EProductType.MSRA,
|
|
63
65
|
anaestheticsInterviewSubscriptionEndDate: Product_1.EProductType.INTERVIEW_ANAESTHETICS,
|
|
64
|
-
cstInterviewSubscriptionEndDate: Product_1.EProductType.
|
|
65
|
-
imtInterviewSubscriptionEndDate: Product_1.EProductType.
|
|
66
|
+
cstInterviewSubscriptionEndDate: Product_1.EProductType.INTERVIEW_CST,
|
|
67
|
+
imtInterviewSubscriptionEndDate: Product_1.EProductType.INTERVIEW_IMT,
|
|
66
68
|
radiologyInterviewSubscriptionEndDate: Product_1.EProductType.INTERVIEW_RADIOLOGY,
|
|
67
69
|
paediatricsInterviewSubscriptionEndDate: Product_1.EProductType.INTERVIEW_PAEDIATRICS,
|
|
68
70
|
plab1SubscriptionEndDate: Product_1.EProductType.PLAB1,
|
package/package.json
CHANGED
package/resolvers/constants.js
CHANGED
|
@@ -119,6 +119,11 @@ exports.productMapping = {
|
|
|
119
119
|
models_1.EMockTestType.SITUATIONAL_JUDGEMENT,
|
|
120
120
|
],
|
|
121
121
|
},
|
|
122
|
+
[models_1.EProductType.MRCP_VIDEO]: {
|
|
123
|
+
db: enums_1.DB_TYPE.MRCP,
|
|
124
|
+
topicType: [models_1.ETopicType.CLINICAL],
|
|
125
|
+
mockType: [],
|
|
126
|
+
},
|
|
122
127
|
};
|
|
123
128
|
const topicEntitlementMap = {
|
|
124
129
|
[models_1.ETopicType.PRE_CLINICAL]: models_1.EEntitlementType.PRE_CLINICAL,
|