@quesmed/types-rn 2.4.22 → 2.4.24

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.4.22",
3
+ "version": "2.4.24",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -63,6 +63,7 @@ export declare const ADD_FLAGGED_QUESTION: import("@apollo/client").DocumentNode
63
63
  export interface IAddFlaggedQuestionVar {
64
64
  markId: number;
65
65
  questionId: number;
66
+ marksheetId?: number;
66
67
  }
67
68
  export declare type IAddFlaggedQuestionData = RestrictedData<graphqlNormalize & IUserFlaggedQuestion, 'addFlaggedQuestion'>;
68
69
  /**
@@ -71,6 +72,7 @@ export declare type IAddFlaggedQuestionData = RestrictedData<graphqlNormalize &
71
72
  export declare const REMOVE_FLAGGED_QUESTION: import("@apollo/client").DocumentNode;
72
73
  export interface IRemoveFlaggedQuestionVar {
73
74
  questionId: Id;
75
+ marksheetId?: number;
74
76
  }
75
77
  export declare type IRemoveFlaggedQuestionData = RestrictedData<(graphqlNormalize & IUserFlaggedQuestion)[], 'removeFlaggedQuestion'>;
76
78
  export declare const MARK_FLAGGED_FIELD: import("@apollo/client").DocumentNode;
@@ -1930,9 +1930,17 @@ exports.optimisticSaveMarksheets = optimisticSaveMarksheets;
1930
1930
  * addFlaggedQuestion
1931
1931
  */
1932
1932
  exports.ADD_FLAGGED_QUESTION = (0, client_1.gql) `
1933
- mutation AddFlaggedQuestion($markId: Int!, $questionId: Int!) {
1933
+ mutation AddFlaggedQuestion(
1934
+ $markId: Int!
1935
+ $questionId: Int!
1936
+ $marksheetId: Int
1937
+ ) {
1934
1938
  restricted {
1935
- addFlaggedQuestion(markId: $markId, questionId: $questionId) {
1939
+ addFlaggedQuestion(
1940
+ markId: $markId
1941
+ questionId: $questionId
1942
+ marksheetId: $marksheetId
1943
+ ) {
1936
1944
  id
1937
1945
  markId
1938
1946
  }
@@ -1943,9 +1951,9 @@ exports.ADD_FLAGGED_QUESTION = (0, client_1.gql) `
1943
1951
  * removeFlaggedQuestion
1944
1952
  */
1945
1953
  exports.REMOVE_FLAGGED_QUESTION = (0, client_1.gql) `
1946
- mutation RemoveFlaggedQuestion($questionId: Int!) {
1954
+ mutation RemoveFlaggedQuestion($questionId: Int!, $marksheetId: Int) {
1947
1955
  restricted {
1948
- removeFlaggedQuestion(questionId: $questionId) {
1956
+ removeFlaggedQuestion(questionId: $questionId, marksheetId: $marksheetId) {
1949
1957
  id
1950
1958
  markId
1951
1959
  }
@@ -4,7 +4,6 @@ export declare const ALGO_FRACTION: Decimal;
4
4
  export interface IScoreQuesCardInput {
5
5
  cardId: number;
6
6
  score: number;
7
- timeTaken: number;
8
7
  }
9
8
  export interface IScoreQuesCardVar {
10
9
  input: IScoreQuesCardInput;