@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.
@@ -8,7 +8,8 @@ export declare enum EMockTestType {
8
8
  MISCELLANEOUS = 3,
9
9
  UNIVERSITY_SPECIFIC = 4,
10
10
  ANATOMY_SPOTTER = 5,
11
- UKMLA = 6
11
+ UKMLA = 6,
12
+ MRCP = 7
12
13
  }
13
14
  export interface IMockTestType {
14
15
  id: EMockTestType;
@@ -10,4 +10,5 @@ var EMockTestType;
10
10
  EMockTestType[EMockTestType["UNIVERSITY_SPECIFIC"] = 4] = "UNIVERSITY_SPECIFIC";
11
11
  EMockTestType[EMockTestType["ANATOMY_SPOTTER"] = 5] = "ANATOMY_SPOTTER";
12
12
  EMockTestType[EMockTestType["UKMLA"] = 6] = "UKMLA";
13
+ EMockTestType[EMockTestType["MRCP"] = 7] = "MRCP";
13
14
  })(EMockTestType = exports.EMockTestType || (exports.EMockTestType = {}));
@@ -62,13 +62,13 @@ exports.productMapping = {
62
62
  db: enums_1.DB_TYPE.MRCP,
63
63
  topicType: [models_1.ETopicType.CLINICAL],
64
64
  builderTopicType: [models_1.ETopicType.CLINICAL],
65
- mockType: ALL_MOCKS,
65
+ mockType: [models_1.EMockTestType.MRCP],
66
66
  },
67
67
  [models_1.EProductType.MRCP_PART2]: {
68
68
  db: enums_1.DB_TYPE.MRCP,
69
69
  topicType: [models_1.ETopicType.CLINICAL],
70
70
  builderTopicType: [models_1.ETopicType.CLINICAL],
71
- mockType: ALL_MOCKS,
71
+ mockType: [models_1.EMockTestType.MRCP],
72
72
  },
73
73
  [models_1.EProductType.PACES]: {
74
74
  db: enums_1.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;