@quesmed/types 2.2.18 → 2.2.21

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.
@@ -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.18",
3
+ "version": "2.2.21",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",