@quesmed/types 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/dist/cjs/models/Product.d.ts +4 -2
- package/dist/cjs/models/Product.js +2 -0
- package/dist/cjs/models/User.d.ts +2 -0
- package/dist/cjs/models/User.js +4 -2
- package/dist/cjs/resolvers/constants.js +5 -0
- package/dist/cjs/resolvers/fragments/user.js +1 -0
- package/dist/mjs/models/Product.d.ts +4 -2
- package/dist/mjs/models/Product.js +2 -0
- package/dist/mjs/models/User.d.ts +2 -0
- package/dist/mjs/models/User.js +4 -2
- package/dist/mjs/resolvers/constants.js +5 -0
- package/dist/mjs/resolvers/fragments/user.js +1 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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) {
|
|
@@ -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/dist/cjs/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,
|
|
@@ -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,
|
|
@@ -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;
|
|
@@ -45,6 +45,7 @@ export var EProductType;
|
|
|
45
45
|
EProductType[EProductType["DECISION_MAKING"] = 50] = "DECISION_MAKING";
|
|
46
46
|
EProductType[EProductType["QUANTITATIVE_REASONING"] = 51] = "QUANTITATIVE_REASONING";
|
|
47
47
|
EProductType[EProductType["SITUATIONAL_JUDGEMENT"] = 52] = "SITUATIONAL_JUDGEMENT";
|
|
48
|
+
EProductType[EProductType["MRCP_VIDEO"] = 53] = "MRCP_VIDEO";
|
|
48
49
|
})(EProductType || (EProductType = {}));
|
|
49
50
|
export var EEntitlementType;
|
|
50
51
|
(function (EEntitlementType) {
|
|
@@ -83,6 +84,7 @@ export var EEntitlementType;
|
|
|
83
84
|
EEntitlementType[EEntitlementType["DECISION_MAKING"] = 50] = "DECISION_MAKING";
|
|
84
85
|
EEntitlementType[EEntitlementType["QUANTITATIVE_REASONING"] = 51] = "QUANTITATIVE_REASONING";
|
|
85
86
|
EEntitlementType[EEntitlementType["SITUATIONAL_JUDGEMENT"] = 52] = "SITUATIONAL_JUDGEMENT";
|
|
87
|
+
EEntitlementType[EEntitlementType["MRCP_VIDEO"] = 53] = "MRCP_VIDEO";
|
|
86
88
|
})(EEntitlementType || (EEntitlementType = {}));
|
|
87
89
|
export var EAppType;
|
|
88
90
|
(function (EAppType) {
|
|
@@ -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/dist/mjs/models/User.js
CHANGED
|
@@ -45,6 +45,7 @@ export const subscriptionDates = [
|
|
|
45
45
|
'plab1SubscriptionEndDate',
|
|
46
46
|
'plab2SubscriptionEndDate',
|
|
47
47
|
'ucatSubscriptionEndDate',
|
|
48
|
+
'mrcpVideoSubscriptionEndDate',
|
|
48
49
|
];
|
|
49
50
|
export const dateProductMapping = {
|
|
50
51
|
qbankSubscriptionEndDate: EProductType.QBANK,
|
|
@@ -55,11 +56,12 @@ export const dateProductMapping = {
|
|
|
55
56
|
anatomyBundleSubscriptionEndDate: EProductType.ANATOMY_BUNDLE,
|
|
56
57
|
mrcpPart1SubscriptionEndDate: EProductType.MRCP_PART1,
|
|
57
58
|
mrcpPart2SubscriptionEndDate: EProductType.MRCP_PART2,
|
|
59
|
+
mrcpVideoSubscriptionEndDate: EProductType.MRCP_VIDEO,
|
|
58
60
|
pacesSubscriptionEndDate: EProductType.PACES,
|
|
59
61
|
msraSubscriptionEndDate: EProductType.MSRA,
|
|
60
62
|
anaestheticsInterviewSubscriptionEndDate: EProductType.INTERVIEW_ANAESTHETICS,
|
|
61
|
-
cstInterviewSubscriptionEndDate: EProductType.
|
|
62
|
-
imtInterviewSubscriptionEndDate: EProductType.
|
|
63
|
+
cstInterviewSubscriptionEndDate: EProductType.INTERVIEW_CST,
|
|
64
|
+
imtInterviewSubscriptionEndDate: EProductType.INTERVIEW_IMT,
|
|
63
65
|
radiologyInterviewSubscriptionEndDate: EProductType.INTERVIEW_RADIOLOGY,
|
|
64
66
|
paediatricsInterviewSubscriptionEndDate: EProductType.INTERVIEW_PAEDIATRICS,
|
|
65
67
|
plab1SubscriptionEndDate: EProductType.PLAB1,
|
|
@@ -116,6 +116,11 @@ export const productMapping = {
|
|
|
116
116
|
EMockTestType.SITUATIONAL_JUDGEMENT,
|
|
117
117
|
],
|
|
118
118
|
},
|
|
119
|
+
[EProductType.MRCP_VIDEO]: {
|
|
120
|
+
db: DB_TYPE.MRCP,
|
|
121
|
+
topicType: [ETopicType.CLINICAL],
|
|
122
|
+
mockType: [],
|
|
123
|
+
},
|
|
119
124
|
};
|
|
120
125
|
const topicEntitlementMap = {
|
|
121
126
|
[ETopicType.PRE_CLINICAL]: EEntitlementType.PRE_CLINICAL,
|