@quesmed/types 2.2.9 → 2.2.12

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.
@@ -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 {
@@ -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
  /**
@@ -43,7 +43,7 @@ export interface IPreStartMarksheetData {
43
43
  marksheetId: Id;
44
44
  user: IUser;
45
45
  }
46
- export declare type IOnPreStartMarksheetModificationData = RootData<IPreStartMarksheetData, 'payload'>;
46
+ export declare type IOnPreStartMarksheetModificationData = RootData<IPreStartMarksheetData, 'onPreStartMarksheetModification'>;
47
47
  export declare const ON_PRESTART_MARKSHEET_MODIFICATION_KEY = "ON_PRESTART_MARKSHEET_MODIFICATION";
48
48
  export declare const ON_PRESTART_MARKSHEET_MODIFICATION: import("@apollo/client").DocumentNode;
49
49
  /**
@@ -64,6 +64,6 @@ export interface IMarksheetDataModification {
64
64
  user: IUser;
65
65
  isAnswered?: boolean;
66
66
  }
67
- export declare type IOnMarksheetDataModificationData = RootData<IMarksheetDataModification, 'payload'>;
67
+ export declare type IOnMarksheetDataModificationData = RootData<IMarksheetDataModification, 'onMarksheetDataModification'>;
68
68
  export declare const ON_MARKSHEET_DATA_MODIFICATION_KEY = "ON_MARKSHEET_DATA_MODIFICATION";
69
69
  export declare const ON_MARKSHEET_DATA_MODIFICATION: import("@apollo/client").DocumentNode;
@@ -13,6 +13,10 @@ exports.ON_MARKSHEET_ACTION_INFO_CHANGE = (0, client_1.gql) `
13
13
  id
14
14
  displayName
15
15
  }
16
+ users {
17
+ id
18
+ displayName
19
+ }
16
20
  startedAt
17
21
  endedAt
18
22
  state
@@ -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 {
@@ -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
  /**
@@ -43,7 +43,7 @@ export interface IPreStartMarksheetData {
43
43
  marksheetId: Id;
44
44
  user: IUser;
45
45
  }
46
- export declare type IOnPreStartMarksheetModificationData = RootData<IPreStartMarksheetData, 'payload'>;
46
+ export declare type IOnPreStartMarksheetModificationData = RootData<IPreStartMarksheetData, 'onPreStartMarksheetModification'>;
47
47
  export declare const ON_PRESTART_MARKSHEET_MODIFICATION_KEY = "ON_PRESTART_MARKSHEET_MODIFICATION";
48
48
  export declare const ON_PRESTART_MARKSHEET_MODIFICATION: import("@apollo/client").DocumentNode;
49
49
  /**
@@ -64,6 +64,6 @@ export interface IMarksheetDataModification {
64
64
  user: IUser;
65
65
  isAnswered?: boolean;
66
66
  }
67
- export declare type IOnMarksheetDataModificationData = RootData<IMarksheetDataModification, 'payload'>;
67
+ export declare type IOnMarksheetDataModificationData = RootData<IMarksheetDataModification, 'onMarksheetDataModification'>;
68
68
  export declare const ON_MARKSHEET_DATA_MODIFICATION_KEY = "ON_MARKSHEET_DATA_MODIFICATION";
69
69
  export declare const ON_MARKSHEET_DATA_MODIFICATION: import("@apollo/client").DocumentNode;
@@ -10,6 +10,10 @@ export const ON_MARKSHEET_ACTION_INFO_CHANGE = gql `
10
10
  id
11
11
  displayName
12
12
  }
13
+ users {
14
+ id
15
+ displayName
16
+ }
13
17
  startedAt
14
18
  endedAt
15
19
  state
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.9",
3
+ "version": "2.2.12",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",