@quesmed/types 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.
@@ -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
  }
@@ -611,6 +611,9 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
611
611
  flaggedQuestions(filter: $filter) {
612
612
  total
613
613
  results {
614
+ id
615
+ markId
616
+ questionId
614
617
  question {
615
618
  conceptId
616
619
  difficulty
@@ -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,10 +1789,13 @@ export const optimisticSaveMarksheets = (client, marksheetInput, questionIndex)
1789
1789
  /**
1790
1790
  * addFlaggedQuestion
1791
1791
  */
1792
- exports.ADD_FLAGGED_QUESTION = gql `
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) {
1796
+ id
1797
+ markId
1798
+ questionId
1796
1799
  question {
1797
1800
  conceptId
1798
1801
  difficulty
@@ -2427,6 +2430,7 @@ export const REMOVE_FLAGGED_QUESTION = gql `
2427
2430
  removeFlaggedQuestion(questionId: $questionId) {
2428
2431
  id
2429
2432
  markId
2433
+ questionId
2430
2434
  }
2431
2435
  }
2432
2436
  }
@@ -608,6 +608,9 @@ export const FLAGGED_QUESTIONS = gql `
608
608
  flaggedQuestions(filter: $filter) {
609
609
  total
610
610
  results {
611
+ id
612
+ markId
613
+ questionId
611
614
  question {
612
615
  conceptId
613
616
  difficulty
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.59",
3
+ "version": "2.2.62",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",