@quesmed/types 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.
@@ -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;
@@ -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;
@@ -1925,9 +1925,17 @@ export const optimisticSaveMarksheets = (marksheet, marksheetInput, questionInde
1925
1925
  * addFlaggedQuestion
1926
1926
  */
1927
1927
  export const ADD_FLAGGED_QUESTION = gql `
1928
- mutation AddFlaggedQuestion($markId: Int!, $questionId: Int!) {
1928
+ mutation AddFlaggedQuestion(
1929
+ $markId: Int!
1930
+ $questionId: Int!
1931
+ $marksheetId: Int
1932
+ ) {
1929
1933
  restricted {
1930
- addFlaggedQuestion(markId: $markId, questionId: $questionId) {
1934
+ addFlaggedQuestion(
1935
+ markId: $markId
1936
+ questionId: $questionId
1937
+ marksheetId: $marksheetId
1938
+ ) {
1931
1939
  id
1932
1940
  markId
1933
1941
  }
@@ -1938,9 +1946,9 @@ export const ADD_FLAGGED_QUESTION = gql `
1938
1946
  * removeFlaggedQuestion
1939
1947
  */
1940
1948
  export const REMOVE_FLAGGED_QUESTION = gql `
1941
- mutation RemoveFlaggedQuestion($questionId: Int!) {
1949
+ mutation RemoveFlaggedQuestion($questionId: Int!, $marksheetId: Int) {
1942
1950
  restricted {
1943
- removeFlaggedQuestion(questionId: $questionId) {
1951
+ removeFlaggedQuestion(questionId: $questionId, marksheetId: $marksheetId) {
1944
1952
  id
1945
1953
  markId
1946
1954
  }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.4.22",
3
+ "version": "2.4.24",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",