@quesmed/types 2.2.44 → 2.2.47

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.
@@ -30,7 +30,8 @@ export declare enum EMarksheetAction {
30
30
  TOPIC_CONCEPT_SELECTION = 12,
31
31
  BUILDER_CONFIG_SELECTION = 13,
32
32
  STATE_CHANGE = 14,
33
- ANSWER_SELECTED = 15
33
+ ANSWER_SELECTED = 15,
34
+ MARK_CHECK_UNCHECK = 16
34
35
  }
35
36
  export interface IMarksheetMember {
36
37
  id: Id;
@@ -62,6 +63,7 @@ export interface IMarksheet {
62
63
  solo: boolean;
63
64
  agoraId: string;
64
65
  users: IUser[];
66
+ activeUsers?: IUser[];
65
67
  state: EMarksheetState;
66
68
  completed: boolean;
67
69
  timeTaken: number;
@@ -86,6 +88,7 @@ export interface IMarksheetMark {
86
88
  mark: IMarksheetMarkJSONB;
87
89
  marksheet?: IMarksheet;
88
90
  isAnswered: boolean;
91
+ striked: number[];
89
92
  }
90
93
  export interface IPreBuildMarksheetRef {
91
94
  id: Id;
@@ -33,4 +33,5 @@ var EMarksheetAction;
33
33
  EMarksheetAction[EMarksheetAction["BUILDER_CONFIG_SELECTION"] = 13] = "BUILDER_CONFIG_SELECTION";
34
34
  EMarksheetAction[EMarksheetAction["STATE_CHANGE"] = 14] = "STATE_CHANGE";
35
35
  EMarksheetAction[EMarksheetAction["ANSWER_SELECTED"] = 15] = "ANSWER_SELECTED";
36
+ EMarksheetAction[EMarksheetAction["MARK_CHECK_UNCHECK"] = 16] = "MARK_CHECK_UNCHECK";
36
37
  })(EMarksheetAction = exports.EMarksheetAction || (exports.EMarksheetAction = {}));
@@ -2,7 +2,7 @@ import { ApolloCache, ApolloClient } from '@apollo/client';
2
2
  import { ApolloUpdateOptions, ApolloUpdateResultRestricted } from '../..';
3
3
  import { Id } from '../../../models';
4
4
  import { graphqlNormalize, RestrictedData } from '../../types';
5
- import { EMarksheetAction, EMarksheetState, IMarksheet, IMarksheetMarkJSONB } from './../../../models/Marksheet';
5
+ import { EMarksheetAction, EMarksheetState, IMarksheet, IMarksheetMark, IMarksheetMarkJSONB } from './../../../models/Marksheet';
6
6
  import { IUser, IUserFlaggedQuestion } from './../../../models/User';
7
7
  export interface IPreBuildMarksheet {
8
8
  unseen: number;
@@ -93,6 +93,7 @@ export interface IMarksheetAction {
93
93
  state: EMarksheetState;
94
94
  action?: EMarksheetAction;
95
95
  users?: IUser[];
96
+ activeUsers?: IUser[];
96
97
  }
97
98
  export interface IMarkDataInfo {
98
99
  markId?: Id;
@@ -104,6 +105,7 @@ export interface IMarkDataInfo {
104
105
  timeTaken?: number;
105
106
  mark?: IMarksheetMarkJSONB;
106
107
  isAnswered?: boolean;
108
+ striked?: number[];
107
109
  }
108
110
  export interface IBuildConfigData {
109
111
  numberOfQuestions?: number;
@@ -152,7 +154,7 @@ export declare const optimisticModifyMarksheetBuilderConfig: (marksheetId: numbe
152
154
  source: string;
153
155
  userId: number;
154
156
  user?: IUser | undefined;
155
- marks: import("../../../models").IMarksheetMark[];
157
+ marks: IMarksheetMark[];
156
158
  mockTestId: number | null;
157
159
  correct?: number | undefined;
158
160
  incorrect?: number | undefined;
@@ -161,6 +163,7 @@ export declare const optimisticModifyMarksheetBuilderConfig: (marksheetId: numbe
161
163
  solo: boolean;
162
164
  agoraId: string;
163
165
  users: IUser[];
166
+ activeUsers?: IUser[] | undefined;
164
167
  state: EMarksheetState;
165
168
  completed: boolean;
166
169
  timeTaken: number;
@@ -187,3 +190,15 @@ export interface IEndMarksheetVar {
187
190
  }
188
191
  export declare type IEndMarksheetData = RestrictedData<graphqlNormalize & boolean, 'endMarksheet'>;
189
192
  export declare const END_MARKSHEET: import("@apollo/client").DocumentNode;
193
+ /**
194
+ * toggleStrikeOptions
195
+ */
196
+ export interface IToggleStrikeOptionsVar {
197
+ input: {
198
+ questionId: Id;
199
+ marksheetId: Id;
200
+ striked: number[];
201
+ }[];
202
+ }
203
+ export declare type IToggleStrikeOptionsData = RestrictedData<(graphqlNormalize & IMarksheetMark)[], 'toggleStrikeOptions'>;
204
+ export declare const TOGGLE_STRIKE_OPTIONS: import("@apollo/client").DocumentNode;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.END_MARKSHEET = exports.LEAVE_MARKSHEET = exports.MODIFY_MARKSHEET_INFO = exports.optimisticModifyMarksheetBuilderConfig = exports.START_OR_JOIN_MARKSHEET = exports.REMOVE_FLAGGED_QUESTION = exports.ADD_FLAGGED_QUESTION = exports.optimisticSaveMarksheets = exports.updateMarksheets = exports.SAVE_MARKSHEET = exports.RE_BUILD_MARKSHEET = exports.BUILD_MARKSHEET = exports.BUILD_QUESTION_MARKSHEET = void 0;
3
+ exports.TOGGLE_STRIKE_OPTIONS = exports.END_MARKSHEET = exports.LEAVE_MARKSHEET = exports.MODIFY_MARKSHEET_INFO = exports.optimisticModifyMarksheetBuilderConfig = exports.START_OR_JOIN_MARKSHEET = exports.REMOVE_FLAGGED_QUESTION = exports.ADD_FLAGGED_QUESTION = exports.optimisticSaveMarksheets = exports.updateMarksheets = exports.SAVE_MARKSHEET = exports.RE_BUILD_MARKSHEET = exports.BUILD_MARKSHEET = exports.BUILD_QUESTION_MARKSHEET = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  const restricted_1 = require("../../query/restricted");
6
6
  exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
@@ -604,6 +604,10 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
604
604
  displayName
605
605
  id
606
606
  }
607
+ activeUsers {
608
+ id
609
+ displayName
610
+ }
607
611
  users {
608
612
  id
609
613
  displayName
@@ -615,6 +619,7 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
615
619
  questionChoiceId
616
620
  marksheetId
617
621
  timeTaken
622
+ striked
618
623
  isAnswered
619
624
  mark
620
625
  question {
@@ -1157,6 +1162,10 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
1157
1162
  unseen
1158
1163
  }
1159
1164
  source
1165
+ activeUsers {
1166
+ id
1167
+ displayName
1168
+ }
1160
1169
  users {
1161
1170
  id
1162
1171
  displayName
@@ -1173,6 +1182,7 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
1173
1182
  marksheetId
1174
1183
  timeTaken
1175
1184
  isAnswered
1185
+ striked
1176
1186
  mark
1177
1187
  question {
1178
1188
  ... on QuestionSBA {
@@ -1828,6 +1838,10 @@ exports.START_OR_JOIN_MARKSHEET = (0, client_1.gql) `
1828
1838
  id
1829
1839
  displayName
1830
1840
  }
1841
+ activeUsers {
1842
+ id
1843
+ displayName
1844
+ }
1831
1845
  builderConfig {
1832
1846
  difficulty
1833
1847
  isTest
@@ -1858,6 +1872,7 @@ exports.START_OR_JOIN_MARKSHEET = (0, client_1.gql) `
1858
1872
  marksheetId
1859
1873
  timeTaken
1860
1874
  isAnswered
1875
+ striked
1861
1876
  mark
1862
1877
  question {
1863
1878
  ... on QuestionSBA {
@@ -2421,6 +2436,10 @@ exports.MODIFY_MARKSHEET_INFO = (0, client_1.gql) `
2421
2436
  id
2422
2437
  displayName
2423
2438
  }
2439
+ activeUsers {
2440
+ id
2441
+ displayName
2442
+ }
2424
2443
  marks {
2425
2444
  id
2426
2445
  flagged
@@ -2429,6 +2448,7 @@ exports.MODIFY_MARKSHEET_INFO = (0, client_1.gql) `
2429
2448
  marksheetId
2430
2449
  timeTaken
2431
2450
  isAnswered
2451
+ striked
2432
2452
  mark
2433
2453
  question {
2434
2454
  ... on QuestionSBA {
@@ -2954,3 +2974,29 @@ exports.END_MARKSHEET = (0, client_1.gql) `
2954
2974
  }
2955
2975
  }
2956
2976
  `;
2977
+ exports.TOGGLE_STRIKE_OPTIONS = (0, client_1.gql) `
2978
+ mutation ToggleStrikeOptions($input: [ToggleStrikeOptionsInput!]!) {
2979
+ restricted {
2980
+ toggleStrikeOptions(input: $input) {
2981
+ createdAt
2982
+ flagged
2983
+ id
2984
+ index
2985
+ isAnswered
2986
+ mark
2987
+ marksheetId
2988
+ question {
2989
+ id
2990
+ choices {
2991
+ id
2992
+ }
2993
+ }
2994
+ questionChoiceId
2995
+ questionId
2996
+ striked
2997
+ timeTaken
2998
+ updatedAt
2999
+ }
3000
+ }
3001
+ }
3002
+ `;
@@ -25,6 +25,10 @@ exports.MARKSHEET = (0, client_1.gql) `
25
25
  id
26
26
  displayName
27
27
  }
28
+ activeUsers {
29
+ id
30
+ displayName
31
+ }
28
32
  builderConfig {
29
33
  difficulty
30
34
  isTest
@@ -55,6 +59,7 @@ exports.MARKSHEET = (0, client_1.gql) `
55
59
  marksheetId
56
60
  timeTaken
57
61
  isAnswered
62
+ striked
58
63
  mark
59
64
  question {
60
65
  ... on QuestionSBA {
@@ -565,6 +570,7 @@ exports.MARKSHEETS = (0, client_1.gql) `
565
570
  marksheets(filter: $filter) {
566
571
  results {
567
572
  id
573
+ endedAt
568
574
  topicNames
569
575
  correct
570
576
  incorrect
@@ -13,6 +13,13 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
13
13
  completedQuestionsCount
14
14
  completedCorrectQuestionsCount
15
15
  completedIncorrectQuestionsCount
16
+ completedCards {
17
+ id
18
+ conceptId
19
+ concept {
20
+ id
21
+ }
22
+ }
16
23
  completedCardsCount
17
24
  completedGreenCardsCount
18
25
  completedYellowCardsCount
@@ -4,3 +4,4 @@ export declare type IUserVar = null;
4
4
  export declare type IUserData = RestrictedData<graphqlNormalize & IUser, 'user'>;
5
5
  export declare const USER: import("@apollo/client").DocumentNode;
6
6
  export declare const REFERRALS: import("@apollo/client").DocumentNode;
7
+ export declare const USER_COMPLETED_DATA: import("@apollo/client").DocumentNode;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.REFERRALS = exports.USER = void 0;
3
+ exports.USER_COMPLETED_DATA = exports.REFERRALS = exports.USER = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  const user_1 = require("../../fragments/user");
6
6
  exports.USER = (0, client_1.gql) `
@@ -24,3 +24,21 @@ exports.REFERRALS = (0, client_1.gql) `
24
24
  }
25
25
  }
26
26
  `;
27
+ exports.USER_COMPLETED_DATA = (0, client_1.gql) `
28
+ query CompletedQuestionCards {
29
+ restricted {
30
+ user {
31
+ id
32
+ displayName
33
+ completedCards {
34
+ id
35
+ conceptId
36
+ concept {
37
+ id
38
+ }
39
+ }
40
+ completedCardsCount
41
+ }
42
+ }
43
+ }
44
+ `;
@@ -26,6 +26,7 @@ export interface IMarksheetActionInfo {
26
26
  endedAt: Date | null;
27
27
  action: EMarksheetAction;
28
28
  users: IUser[];
29
+ activeUsers: IUser[];
29
30
  }
30
31
  export declare type IOnMarksheetActionChangeData = RootData<IMarksheetActionInfo, 'onMarksheetActionInfoChange'>;
31
32
  export declare const ON_MARKSHEET_ACTION_INFO_CHANGE_KEY = "ON_MARKSHEET_ACTION_INFO_CHANGE";
@@ -65,6 +66,7 @@ export interface IMarksheetDataModification {
65
66
  timeTaken?: number;
66
67
  updatedAt?: Date;
67
68
  user: IUser;
69
+ striked?: number[];
68
70
  }
69
71
  export declare type IOnMarksheetDataModificationData = RootData<IMarksheetDataModification, 'onMarksheetDataModification'>;
70
72
  export declare const ON_MARKSHEET_DATA_MODIFICATION_KEY = "ON_MARKSHEET_DATA_MODIFICATION";
@@ -17,6 +17,10 @@ exports.ON_MARKSHEET_ACTION_INFO_CHANGE = (0, client_1.gql) `
17
17
  id
18
18
  displayName
19
19
  }
20
+ activeUsers {
21
+ id
22
+ displayName
23
+ }
20
24
  startedAt
21
25
  endedAt
22
26
  state
@@ -61,6 +65,7 @@ exports.ON_MARKSHEET_DATA_MODIFICATION = (0, client_1.gql) `
61
65
  updatedAt
62
66
  marksheetId
63
67
  questionId
68
+ striked
64
69
  markIndex
65
70
  mark
66
71
  questionChoiceId
@@ -30,7 +30,8 @@ export declare enum EMarksheetAction {
30
30
  TOPIC_CONCEPT_SELECTION = 12,
31
31
  BUILDER_CONFIG_SELECTION = 13,
32
32
  STATE_CHANGE = 14,
33
- ANSWER_SELECTED = 15
33
+ ANSWER_SELECTED = 15,
34
+ MARK_CHECK_UNCHECK = 16
34
35
  }
35
36
  export interface IMarksheetMember {
36
37
  id: Id;
@@ -62,6 +63,7 @@ export interface IMarksheet {
62
63
  solo: boolean;
63
64
  agoraId: string;
64
65
  users: IUser[];
66
+ activeUsers?: IUser[];
65
67
  state: EMarksheetState;
66
68
  completed: boolean;
67
69
  timeTaken: number;
@@ -86,6 +88,7 @@ export interface IMarksheetMark {
86
88
  mark: IMarksheetMarkJSONB;
87
89
  marksheet?: IMarksheet;
88
90
  isAnswered: boolean;
91
+ striked: number[];
89
92
  }
90
93
  export interface IPreBuildMarksheetRef {
91
94
  id: Id;
@@ -30,4 +30,5 @@ export var EMarksheetAction;
30
30
  EMarksheetAction[EMarksheetAction["BUILDER_CONFIG_SELECTION"] = 13] = "BUILDER_CONFIG_SELECTION";
31
31
  EMarksheetAction[EMarksheetAction["STATE_CHANGE"] = 14] = "STATE_CHANGE";
32
32
  EMarksheetAction[EMarksheetAction["ANSWER_SELECTED"] = 15] = "ANSWER_SELECTED";
33
+ EMarksheetAction[EMarksheetAction["MARK_CHECK_UNCHECK"] = 16] = "MARK_CHECK_UNCHECK";
33
34
  })(EMarksheetAction || (EMarksheetAction = {}));
@@ -2,7 +2,7 @@ import { ApolloCache, ApolloClient } from '@apollo/client';
2
2
  import { ApolloUpdateOptions, ApolloUpdateResultRestricted } from '../..';
3
3
  import { Id } from '../../../models';
4
4
  import { graphqlNormalize, RestrictedData } from '../../types';
5
- import { EMarksheetAction, EMarksheetState, IMarksheet, IMarksheetMarkJSONB } from './../../../models/Marksheet';
5
+ import { EMarksheetAction, EMarksheetState, IMarksheet, IMarksheetMark, IMarksheetMarkJSONB } from './../../../models/Marksheet';
6
6
  import { IUser, IUserFlaggedQuestion } from './../../../models/User';
7
7
  export interface IPreBuildMarksheet {
8
8
  unseen: number;
@@ -93,6 +93,7 @@ export interface IMarksheetAction {
93
93
  state: EMarksheetState;
94
94
  action?: EMarksheetAction;
95
95
  users?: IUser[];
96
+ activeUsers?: IUser[];
96
97
  }
97
98
  export interface IMarkDataInfo {
98
99
  markId?: Id;
@@ -104,6 +105,7 @@ export interface IMarkDataInfo {
104
105
  timeTaken?: number;
105
106
  mark?: IMarksheetMarkJSONB;
106
107
  isAnswered?: boolean;
108
+ striked?: number[];
107
109
  }
108
110
  export interface IBuildConfigData {
109
111
  numberOfQuestions?: number;
@@ -152,7 +154,7 @@ export declare const optimisticModifyMarksheetBuilderConfig: (marksheetId: numbe
152
154
  source: string;
153
155
  userId: number;
154
156
  user?: IUser | undefined;
155
- marks: import("../../../models").IMarksheetMark[];
157
+ marks: IMarksheetMark[];
156
158
  mockTestId: number | null;
157
159
  correct?: number | undefined;
158
160
  incorrect?: number | undefined;
@@ -161,6 +163,7 @@ export declare const optimisticModifyMarksheetBuilderConfig: (marksheetId: numbe
161
163
  solo: boolean;
162
164
  agoraId: string;
163
165
  users: IUser[];
166
+ activeUsers?: IUser[] | undefined;
164
167
  state: EMarksheetState;
165
168
  completed: boolean;
166
169
  timeTaken: number;
@@ -187,3 +190,15 @@ export interface IEndMarksheetVar {
187
190
  }
188
191
  export declare type IEndMarksheetData = RestrictedData<graphqlNormalize & boolean, 'endMarksheet'>;
189
192
  export declare const END_MARKSHEET: import("@apollo/client").DocumentNode;
193
+ /**
194
+ * toggleStrikeOptions
195
+ */
196
+ export interface IToggleStrikeOptionsVar {
197
+ input: {
198
+ questionId: Id;
199
+ marksheetId: Id;
200
+ striked: number[];
201
+ }[];
202
+ }
203
+ export declare type IToggleStrikeOptionsData = RestrictedData<(graphqlNormalize & IMarksheetMark)[], 'toggleStrikeOptions'>;
204
+ export declare const TOGGLE_STRIKE_OPTIONS: import("@apollo/client").DocumentNode;
@@ -601,6 +601,10 @@ export const BUILD_MARKSHEET = gql `
601
601
  displayName
602
602
  id
603
603
  }
604
+ activeUsers {
605
+ id
606
+ displayName
607
+ }
604
608
  users {
605
609
  id
606
610
  displayName
@@ -612,6 +616,7 @@ export const BUILD_MARKSHEET = gql `
612
616
  questionChoiceId
613
617
  marksheetId
614
618
  timeTaken
619
+ striked
615
620
  isAnswered
616
621
  mark
617
622
  question {
@@ -1154,6 +1159,10 @@ export const RE_BUILD_MARKSHEET = gql `
1154
1159
  unseen
1155
1160
  }
1156
1161
  source
1162
+ activeUsers {
1163
+ id
1164
+ displayName
1165
+ }
1157
1166
  users {
1158
1167
  id
1159
1168
  displayName
@@ -1170,6 +1179,7 @@ export const RE_BUILD_MARKSHEET = gql `
1170
1179
  marksheetId
1171
1180
  timeTaken
1172
1181
  isAnswered
1182
+ striked
1173
1183
  mark
1174
1184
  question {
1175
1185
  ... on QuestionSBA {
@@ -1823,6 +1833,10 @@ export const START_OR_JOIN_MARKSHEET = gql `
1823
1833
  id
1824
1834
  displayName
1825
1835
  }
1836
+ activeUsers {
1837
+ id
1838
+ displayName
1839
+ }
1826
1840
  builderConfig {
1827
1841
  difficulty
1828
1842
  isTest
@@ -1853,6 +1867,7 @@ export const START_OR_JOIN_MARKSHEET = gql `
1853
1867
  marksheetId
1854
1868
  timeTaken
1855
1869
  isAnswered
1870
+ striked
1856
1871
  mark
1857
1872
  question {
1858
1873
  ... on QuestionSBA {
@@ -2415,6 +2430,10 @@ export const MODIFY_MARKSHEET_INFO = gql `
2415
2430
  id
2416
2431
  displayName
2417
2432
  }
2433
+ activeUsers {
2434
+ id
2435
+ displayName
2436
+ }
2418
2437
  marks {
2419
2438
  id
2420
2439
  flagged
@@ -2423,6 +2442,7 @@ export const MODIFY_MARKSHEET_INFO = gql `
2423
2442
  marksheetId
2424
2443
  timeTaken
2425
2444
  isAnswered
2445
+ striked
2426
2446
  mark
2427
2447
  question {
2428
2448
  ... on QuestionSBA {
@@ -2948,3 +2968,29 @@ export const END_MARKSHEET = gql `
2948
2968
  }
2949
2969
  }
2950
2970
  `;
2971
+ export const TOGGLE_STRIKE_OPTIONS = gql `
2972
+ mutation ToggleStrikeOptions($input: [ToggleStrikeOptionsInput!]!) {
2973
+ restricted {
2974
+ toggleStrikeOptions(input: $input) {
2975
+ createdAt
2976
+ flagged
2977
+ id
2978
+ index
2979
+ isAnswered
2980
+ mark
2981
+ marksheetId
2982
+ question {
2983
+ id
2984
+ choices {
2985
+ id
2986
+ }
2987
+ }
2988
+ questionChoiceId
2989
+ questionId
2990
+ striked
2991
+ timeTaken
2992
+ updatedAt
2993
+ }
2994
+ }
2995
+ }
2996
+ `;
@@ -22,6 +22,10 @@ export const MARKSHEET = gql `
22
22
  id
23
23
  displayName
24
24
  }
25
+ activeUsers {
26
+ id
27
+ displayName
28
+ }
25
29
  builderConfig {
26
30
  difficulty
27
31
  isTest
@@ -52,6 +56,7 @@ export const MARKSHEET = gql `
52
56
  marksheetId
53
57
  timeTaken
54
58
  isAnswered
59
+ striked
55
60
  mark
56
61
  question {
57
62
  ... on QuestionSBA {
@@ -562,6 +567,7 @@ export const MARKSHEETS = gql `
562
567
  marksheets(filter: $filter) {
563
568
  results {
564
569
  id
570
+ endedAt
565
571
  topicNames
566
572
  correct
567
573
  incorrect
@@ -10,6 +10,13 @@ export const DASHBOARD_QBANK = gql `
10
10
  completedQuestionsCount
11
11
  completedCorrectQuestionsCount
12
12
  completedIncorrectQuestionsCount
13
+ completedCards {
14
+ id
15
+ conceptId
16
+ concept {
17
+ id
18
+ }
19
+ }
13
20
  completedCardsCount
14
21
  completedGreenCardsCount
15
22
  completedYellowCardsCount
@@ -4,3 +4,4 @@ export declare type IUserVar = null;
4
4
  export declare type IUserData = RestrictedData<graphqlNormalize & IUser, 'user'>;
5
5
  export declare const USER: import("@apollo/client").DocumentNode;
6
6
  export declare const REFERRALS: import("@apollo/client").DocumentNode;
7
+ export declare const USER_COMPLETED_DATA: import("@apollo/client").DocumentNode;
@@ -21,3 +21,21 @@ export const REFERRALS = gql `
21
21
  }
22
22
  }
23
23
  `;
24
+ export const USER_COMPLETED_DATA = gql `
25
+ query CompletedQuestionCards {
26
+ restricted {
27
+ user {
28
+ id
29
+ displayName
30
+ completedCards {
31
+ id
32
+ conceptId
33
+ concept {
34
+ id
35
+ }
36
+ }
37
+ completedCardsCount
38
+ }
39
+ }
40
+ }
41
+ `;
@@ -26,6 +26,7 @@ export interface IMarksheetActionInfo {
26
26
  endedAt: Date | null;
27
27
  action: EMarksheetAction;
28
28
  users: IUser[];
29
+ activeUsers: IUser[];
29
30
  }
30
31
  export declare type IOnMarksheetActionChangeData = RootData<IMarksheetActionInfo, 'onMarksheetActionInfoChange'>;
31
32
  export declare const ON_MARKSHEET_ACTION_INFO_CHANGE_KEY = "ON_MARKSHEET_ACTION_INFO_CHANGE";
@@ -65,6 +66,7 @@ export interface IMarksheetDataModification {
65
66
  timeTaken?: number;
66
67
  updatedAt?: Date;
67
68
  user: IUser;
69
+ striked?: number[];
68
70
  }
69
71
  export declare type IOnMarksheetDataModificationData = RootData<IMarksheetDataModification, 'onMarksheetDataModification'>;
70
72
  export declare const ON_MARKSHEET_DATA_MODIFICATION_KEY = "ON_MARKSHEET_DATA_MODIFICATION";
@@ -14,6 +14,10 @@ export const ON_MARKSHEET_ACTION_INFO_CHANGE = gql `
14
14
  id
15
15
  displayName
16
16
  }
17
+ activeUsers {
18
+ id
19
+ displayName
20
+ }
17
21
  startedAt
18
22
  endedAt
19
23
  state
@@ -58,6 +62,7 @@ export const ON_MARKSHEET_DATA_MODIFICATION = gql `
58
62
  updatedAt
59
63
  marksheetId
60
64
  questionId
65
+ striked
61
66
  markIndex
62
67
  mark
63
68
  questionChoiceId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.44",
3
+ "version": "2.2.47",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",