@quesmed/types-rn 2.2.10 → 2.2.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.2.10",
3
+ "version": "2.2.13",
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;
@@ -27,7 +27,7 @@ export interface IMarksheetActionInfo {
27
27
  action: EMarksheetAction;
28
28
  users: IUser[];
29
29
  }
30
- export declare type IOnMarksheetActionChangeData = RootData<IMarksheetActionInfo, 'payload'>;
30
+ export declare type IOnMarksheetActionChangeData = RootData<IMarksheetActionInfo, 'onMarksheetActionInfoChange'>;
31
31
  export declare const ON_MARKSHEET_ACTION_INFO_CHANGE_KEY = "ON_MARKSHEET_ACTION_INFO_CHANGE";
32
32
  export declare const ON_MARKSHEET_ACTION_INFO_CHANGE: import("@apollo/client").DocumentNode;
33
33
  /**
@@ -38,12 +38,13 @@ 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;
44
45
  user: IUser;
45
46
  }
46
- export declare type IOnPreStartMarksheetModificationData = RootData<IPreStartMarksheetData, 'payload'>;
47
+ export declare type IOnPreStartMarksheetModificationData = RootData<IPreStartMarksheetData, 'onPreStartMarksheetModification'>;
47
48
  export declare const ON_PRESTART_MARKSHEET_MODIFICATION_KEY = "ON_PRESTART_MARKSHEET_MODIFICATION";
48
49
  export declare const ON_PRESTART_MARKSHEET_MODIFICATION: import("@apollo/client").DocumentNode;
49
50
  /**
@@ -64,6 +65,6 @@ export interface IMarksheetDataModification {
64
65
  user: IUser;
65
66
  isAnswered?: boolean;
66
67
  }
67
- export declare type IOnMarksheetDataModificationData = RootData<IMarksheetDataModification, 'payload'>;
68
+ export declare type IOnMarksheetDataModificationData = RootData<IMarksheetDataModification, 'onMarksheetDataModification'>;
68
69
  export declare const ON_MARKSHEET_DATA_MODIFICATION_KEY = "ON_MARKSHEET_DATA_MODIFICATION";
69
70
  export declare const ON_MARKSHEET_DATA_MODIFICATION: import("@apollo/client").DocumentNode;
@@ -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