@quesmed/types 2.2.19 → 2.2.22

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.
@@ -60,7 +60,6 @@ export interface IMarksheet {
60
60
  completed: boolean;
61
61
  timeTaken: number;
62
62
  currentMarkId?: number;
63
- lastQuestionChoiceId?: number;
64
63
  topicConceptData?: string;
65
64
  preBuildData?: IPreBuildMarksheet;
66
65
  builderConfig?: IBuildConfigData;
@@ -88,6 +88,7 @@ export interface IMarksheetAction {
88
88
  }
89
89
  export interface IMarkDataInfo {
90
90
  markId?: Id;
91
+ markIndex?: number;
91
92
  questionChoiceId?: Id;
92
93
  updatedAt?: Date;
93
94
  questionId?: Id;
@@ -98,9 +99,9 @@ export interface IMarkDataInfo {
98
99
  export interface IBuildConfigData {
99
100
  numberOfQuestions?: number;
100
101
  difficulty?: number[];
101
- unseen?: number;
102
- seenIncorrect?: number;
103
- seenCorrect?: number;
102
+ unseen?: boolean;
103
+ seenIncorrect?: boolean;
104
+ seenCorrect?: boolean;
104
105
  secondsPerQuestion?: number;
105
106
  isTest?: boolean;
106
107
  }
@@ -12,6 +12,7 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
12
12
  startedAt
13
13
  endedAt
14
14
  topicIds
15
+ solo
15
16
  state
16
17
  currentMarkId
17
18
  topicConceptData
@@ -11,6 +11,7 @@ export interface IMarksheetsVar {
11
11
  limit: number;
12
12
  date?: string;
13
13
  offset?: number;
14
+ solo?: boolean;
14
15
  };
15
16
  }
16
17
  export declare type IMarksheetsData = RestrictedData<(graphqlNormalize & IMarksheet)[], 'marksheets'>;
@@ -10,7 +10,6 @@ exports.MARKSHEET = (0, client_1.gql) `
10
10
  topicConceptData
11
11
  currentMarkId
12
12
  solo
13
- lastQuestionChoiceId
14
13
  state
15
14
  users {
16
15
  id
@@ -54,16 +54,17 @@ export interface IOnMarksheetDataModificationVar {
54
54
  marksheetId: Id;
55
55
  }
56
56
  export interface IMarksheetDataModification {
57
+ action?: EMarksheetAction;
58
+ isAnswered?: boolean;
59
+ mark?: IMarksheetMarkJSONB;
57
60
  markId?: Id;
58
- updatedAt?: Date;
61
+ markIndex?: number;
59
62
  marksheetId: Id;
60
63
  questionChoiceId?: Id;
61
64
  questionId?: Id;
62
65
  timeTaken?: number;
63
- mark?: IMarksheetMarkJSONB;
64
- action?: EMarksheetAction;
66
+ updatedAt?: Date;
65
67
  user: IUser;
66
- isAnswered?: boolean;
67
68
  }
68
69
  export declare type IOnMarksheetDataModificationData = RootData<IMarksheetDataModification, 'onMarksheetDataModification'>;
69
70
  export declare const ON_MARKSHEET_DATA_MODIFICATION_KEY = "ON_MARKSHEET_DATA_MODIFICATION";
@@ -61,6 +61,8 @@ exports.ON_MARKSHEET_DATA_MODIFICATION = (0, client_1.gql) `
61
61
  updatedAt
62
62
  marksheetId
63
63
  questionId
64
+ markIndex
65
+ mark
64
66
  questionChoiceId
65
67
  isAnswered
66
68
  timeTaken
@@ -60,7 +60,6 @@ export interface IMarksheet {
60
60
  completed: boolean;
61
61
  timeTaken: number;
62
62
  currentMarkId?: number;
63
- lastQuestionChoiceId?: number;
64
63
  topicConceptData?: string;
65
64
  preBuildData?: IPreBuildMarksheet;
66
65
  builderConfig?: IBuildConfigData;
@@ -88,6 +88,7 @@ export interface IMarksheetAction {
88
88
  }
89
89
  export interface IMarkDataInfo {
90
90
  markId?: Id;
91
+ markIndex?: number;
91
92
  questionChoiceId?: Id;
92
93
  updatedAt?: Date;
93
94
  questionId?: Id;
@@ -98,9 +99,9 @@ export interface IMarkDataInfo {
98
99
  export interface IBuildConfigData {
99
100
  numberOfQuestions?: number;
100
101
  difficulty?: number[];
101
- unseen?: number;
102
- seenIncorrect?: number;
103
- seenCorrect?: number;
102
+ unseen?: boolean;
103
+ seenIncorrect?: boolean;
104
+ seenCorrect?: boolean;
104
105
  secondsPerQuestion?: number;
105
106
  isTest?: boolean;
106
107
  }
@@ -9,6 +9,7 @@ export const BUILD_MARKSHEET = gql `
9
9
  startedAt
10
10
  endedAt
11
11
  topicIds
12
+ solo
12
13
  state
13
14
  currentMarkId
14
15
  topicConceptData
@@ -11,6 +11,7 @@ export interface IMarksheetsVar {
11
11
  limit: number;
12
12
  date?: string;
13
13
  offset?: number;
14
+ solo?: boolean;
14
15
  };
15
16
  }
16
17
  export declare type IMarksheetsData = RestrictedData<(graphqlNormalize & IMarksheet)[], 'marksheets'>;
@@ -7,7 +7,6 @@ export const MARKSHEET = gql `
7
7
  topicConceptData
8
8
  currentMarkId
9
9
  solo
10
- lastQuestionChoiceId
11
10
  state
12
11
  users {
13
12
  id
@@ -54,16 +54,17 @@ export interface IOnMarksheetDataModificationVar {
54
54
  marksheetId: Id;
55
55
  }
56
56
  export interface IMarksheetDataModification {
57
+ action?: EMarksheetAction;
58
+ isAnswered?: boolean;
59
+ mark?: IMarksheetMarkJSONB;
57
60
  markId?: Id;
58
- updatedAt?: Date;
61
+ markIndex?: number;
59
62
  marksheetId: Id;
60
63
  questionChoiceId?: Id;
61
64
  questionId?: Id;
62
65
  timeTaken?: number;
63
- mark?: IMarksheetMarkJSONB;
64
- action?: EMarksheetAction;
66
+ updatedAt?: Date;
65
67
  user: IUser;
66
- isAnswered?: boolean;
67
68
  }
68
69
  export declare type IOnMarksheetDataModificationData = RootData<IMarksheetDataModification, 'onMarksheetDataModification'>;
69
70
  export declare const ON_MARKSHEET_DATA_MODIFICATION_KEY = "ON_MARKSHEET_DATA_MODIFICATION";
@@ -58,6 +58,8 @@ export const ON_MARKSHEET_DATA_MODIFICATION = gql `
58
58
  updatedAt
59
59
  marksheetId
60
60
  questionId
61
+ markIndex
62
+ mark
61
63
  questionChoiceId
62
64
  isAnswered
63
65
  timeTaken
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.19",
3
+ "version": "2.2.22",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",