@quesmed/types 2.2.59 → 2.2.60
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.
|
@@ -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) `
|
|
@@ -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;
|
|
@@ -1789,7 +1789,7 @@ export const optimisticSaveMarksheets = (client, marksheetInput, questionIndex)
|
|
|
1789
1789
|
/**
|
|
1790
1790
|
* addFlaggedQuestion
|
|
1791
1791
|
*/
|
|
1792
|
-
|
|
1792
|
+
export const ADD_FLAGGED_QUESTION = gql `
|
|
1793
1793
|
mutation AddFlaggedQuestion($markId: Int!, $questionId: Int!) {
|
|
1794
1794
|
restricted {
|
|
1795
1795
|
addFlaggedQuestion(markId: $markId, questionId: $questionId) {
|