@quesmed/types-rn 2.2.59 → 2.2.62
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
|
@@ -56,6 +56,10 @@ export interface ISaveMarksheetsVar {
|
|
|
56
56
|
marksheetInput: IMarksheetInput[];
|
|
57
57
|
}
|
|
58
58
|
export declare type ISaveMarksheetsData = RestrictedData<(graphqlNormalize & IMarksheet)[], 'saveMarksheets'>;
|
|
59
|
+
/**
|
|
60
|
+
* addFlaggedQuestion
|
|
61
|
+
*/
|
|
62
|
+
export declare const ADD_FLAGGED_QUESTION: import("@apollo/client").DocumentNode;
|
|
59
63
|
export interface IAddFlaggedQuestionVar {
|
|
60
64
|
markId: number;
|
|
61
65
|
questionId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.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) `
|
|
@@ -1798,6 +1798,9 @@ exports.ADD_FLAGGED_QUESTION = (0, client_1.gql) `
|
|
|
1798
1798
|
mutation AddFlaggedQuestion($markId: Int!, $questionId: Int!) {
|
|
1799
1799
|
restricted {
|
|
1800
1800
|
addFlaggedQuestion(markId: $markId, questionId: $questionId) {
|
|
1801
|
+
id
|
|
1802
|
+
markId
|
|
1803
|
+
questionId
|
|
1801
1804
|
question {
|
|
1802
1805
|
conceptId
|
|
1803
1806
|
difficulty
|
|
@@ -2432,6 +2435,7 @@ exports.REMOVE_FLAGGED_QUESTION = (0, client_1.gql) `
|
|
|
2432
2435
|
removeFlaggedQuestion(questionId: $questionId) {
|
|
2433
2436
|
id
|
|
2434
2437
|
markId
|
|
2438
|
+
questionId
|
|
2435
2439
|
}
|
|
2436
2440
|
}
|
|
2437
2441
|
}
|