@quesmed/types-rn 2.4.21 → 2.4.23
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
|
@@ -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(
|
|
1933
|
+
mutation AddFlaggedQuestion(
|
|
1934
|
+
$markId: Int!
|
|
1935
|
+
$questionId: Int!
|
|
1936
|
+
$marksheetId: Int
|
|
1937
|
+
) {
|
|
1934
1938
|
restricted {
|
|
1935
|
-
addFlaggedQuestion(
|
|
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
|
}
|