@quesmed/types-rn 2.2.11 → 2.2.14

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,6 +60,7 @@ export interface IMarksheet {
60
60
  completed: boolean;
61
61
  timeTaken: number;
62
62
  currentMarkId?: number;
63
+ lastQuestionChoiceId?: number;
63
64
  topicConceptData?: string;
64
65
  preBuildData?: IPreBuildMarksheet;
65
66
  builderConfig?: IBuildConfigData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.2.11",
3
+ "version": "2.2.14",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -83,7 +83,7 @@ export interface IMarksheetAction {
83
83
  startedAt?: Date | null;
84
84
  endedAt?: Date | null;
85
85
  state: EMarksheetState;
86
- action: EMarksheetAction;
86
+ action?: EMarksheetAction;
87
87
  users?: IUser[];
88
88
  }
89
89
  export interface IMarkDataInfo {
@@ -1,5 +1,5 @@
1
1
  import { EMarksheetAction, EMarksheetState, Id, IMarksheetMarkJSONB, IMarksheetMember, IUser } from '../../models';
2
- import { IBuildConfigData } from '../mutation/restricted';
2
+ import { IBuildConfigData, IPreBuildMarksheet } from '../mutation/restricted';
3
3
  import { RootData } from '../types';
4
4
  export interface IMarksheetGroupMember {
5
5
  user: IUser | null;
@@ -38,6 +38,7 @@ export interface IOnPreStartMarksheetModificationVar {
38
38
  }
39
39
  export interface IPreStartMarksheetData {
40
40
  topicConceptData?: string;
41
+ preBuildData?: IPreBuildMarksheet;
41
42
  action: EMarksheetAction;
42
43
  builderConfig?: IBuildConfigData;
43
44
  marksheetId: Id;
@@ -35,6 +35,12 @@ exports.ON_PRESTART_MARKSHEET_MODIFICATION = (0, client_1.gql) `
35
35
  id
36
36
  displayName
37
37
  }
38
+ preBuildData {
39
+ buildRef
40
+ seenCorrect
41
+ seenIncorrect
42
+ unseen
43
+ }
38
44
  builderConfig {
39
45
  difficulty
40
46
  isTest