@quesmed/types 2.2.12 → 2.2.16

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;
@@ -9,6 +9,7 @@ exports.MARKSHEET = (0, client_1.gql) `
9
9
  id
10
10
  topicConceptData
11
11
  currentMarkId
12
+ lastQuestionChoiceId
12
13
  state
13
14
  users {
14
15
  id
@@ -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
@@ -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;
@@ -6,6 +6,7 @@ export const MARKSHEET = gql `
6
6
  id
7
7
  topicConceptData
8
8
  currentMarkId
9
+ lastQuestionChoiceId
9
10
  state
10
11
  users {
11
12
  id
@@ -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;
@@ -32,6 +32,12 @@ export const ON_PRESTART_MARKSHEET_MODIFICATION = gql `
32
32
  id
33
33
  displayName
34
34
  }
35
+ preBuildData {
36
+ buildRef
37
+ seenCorrect
38
+ seenIncorrect
39
+ unseen
40
+ }
35
41
  builderConfig {
36
42
  difficulty
37
43
  isTest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.12",
3
+ "version": "2.2.16",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",