@quesmed/types 2.6.0 → 2.6.2
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/MockTest.d.ts +2 -1
- package/dist/cjs/models/MockTest.js +1 -0
- package/dist/cjs/resolvers/constants.js +2 -2
- package/dist/cjs/resolvers/mutation/restricted/marksheet.d.ts +14 -1
- package/dist/cjs/resolvers/mutation/restricted/marksheet.js +998 -1
- package/dist/mjs/models/MockTest.d.ts +2 -1
- package/dist/mjs/models/MockTest.js +1 -0
- package/dist/mjs/resolvers/constants.js +2 -2
- package/dist/mjs/resolvers/mutation/restricted/marksheet.d.ts +14 -1
- package/dist/mjs/resolvers/mutation/restricted/marksheet.js +997 -0
- package/package.json +1 -1
|
@@ -7,4 +7,5 @@ export var EMockTestType;
|
|
|
7
7
|
EMockTestType[EMockTestType["UNIVERSITY_SPECIFIC"] = 4] = "UNIVERSITY_SPECIFIC";
|
|
8
8
|
EMockTestType[EMockTestType["ANATOMY_SPOTTER"] = 5] = "ANATOMY_SPOTTER";
|
|
9
9
|
EMockTestType[EMockTestType["UKMLA"] = 6] = "UKMLA";
|
|
10
|
+
EMockTestType[EMockTestType["MRCP"] = 7] = "MRCP";
|
|
10
11
|
})(EMockTestType || (EMockTestType = {}));
|
|
@@ -59,13 +59,13 @@ export const productMapping = {
|
|
|
59
59
|
db: DB_TYPE.MRCP,
|
|
60
60
|
topicType: [ETopicType.CLINICAL],
|
|
61
61
|
builderTopicType: [ETopicType.CLINICAL],
|
|
62
|
-
mockType:
|
|
62
|
+
mockType: [EMockTestType.MRCP],
|
|
63
63
|
},
|
|
64
64
|
[EProductType.MRCP_PART2]: {
|
|
65
65
|
db: DB_TYPE.MRCP,
|
|
66
66
|
topicType: [ETopicType.CLINICAL],
|
|
67
67
|
builderTopicType: [ETopicType.CLINICAL],
|
|
68
|
-
mockType:
|
|
68
|
+
mockType: [EMockTestType.MRCP],
|
|
69
69
|
},
|
|
70
70
|
[EProductType.PACES]: {
|
|
71
71
|
db: DB_TYPE.MRCP,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApolloCache, ApolloClient } from '@apollo/client';
|
|
2
2
|
import { ApolloUpdateOptions, ApolloUpdateResultRestricted } from '../..';
|
|
3
|
-
import { Id } from '../../../models';
|
|
3
|
+
import { EDifficultyType, Id } from '../../../models';
|
|
4
4
|
import { RestrictedData, graphqlNormalize } from '../../types';
|
|
5
5
|
import { EMarksheetAction, EMarksheetState, EStudyAction, IMarksheet, IMarksheetMark } from './../../../models/Marksheet';
|
|
6
6
|
import { IUser, IUserFlaggedQuestion } from './../../../models/User';
|
|
@@ -39,6 +39,19 @@ export interface IReBuildMarksheetVar {
|
|
|
39
39
|
marksheetId: number;
|
|
40
40
|
}
|
|
41
41
|
export type IReBuildMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'reBuildMarksheet'>;
|
|
42
|
+
export interface IQuickBuildMarksheetVar {
|
|
43
|
+
input: {
|
|
44
|
+
totalQuestions?: number;
|
|
45
|
+
isTest?: boolean;
|
|
46
|
+
difficulty?: EDifficultyType[];
|
|
47
|
+
secondsPerQuestion?: number;
|
|
48
|
+
unseen?: boolean;
|
|
49
|
+
seenCorrect?: boolean;
|
|
50
|
+
seenIncorrect?: boolean;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export type IQuickBuildMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'quickBuildMarksheet'>;
|
|
54
|
+
export declare const QUICK_BUILD_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
42
55
|
export interface ISaveMarksheetInput {
|
|
43
56
|
marksheetId: Id;
|
|
44
57
|
markId: Id;
|