@quesmed/types 2.2.58 → 2.2.59

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,10 +56,6 @@ 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;
63
59
  export interface IAddFlaggedQuestionVar {
64
60
  markId: number;
65
61
  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.ADD_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.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) `
@@ -1856,6 +1856,10 @@ exports.ADD_FLAGGED_QUESTION = (0, client_1.gql) `
1856
1856
  concept {
1857
1857
  id
1858
1858
  name
1859
+ topic {
1860
+ name
1861
+ typeId
1862
+ }
1859
1863
  chapter {
1860
1864
  id
1861
1865
  explanation
@@ -56,10 +56,6 @@ 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;
63
59
  export interface IAddFlaggedQuestionVar {
64
60
  markId: number;
65
61
  questionId: number;
@@ -1789,7 +1789,7 @@ export const optimisticSaveMarksheets = (client, marksheetInput, questionIndex)
1789
1789
  /**
1790
1790
  * addFlaggedQuestion
1791
1791
  */
1792
- export const ADD_FLAGGED_QUESTION = gql `
1792
+ exports.ADD_FLAGGED_QUESTION = gql `
1793
1793
  mutation AddFlaggedQuestion($markId: Int!, $questionId: Int!) {
1794
1794
  restricted {
1795
1795
  addFlaggedQuestion(markId: $markId, questionId: $questionId) {
@@ -1851,6 +1851,10 @@ export const ADD_FLAGGED_QUESTION = gql `
1851
1851
  concept {
1852
1852
  id
1853
1853
  name
1854
+ topic {
1855
+ name
1856
+ typeId
1857
+ }
1854
1858
  chapter {
1855
1859
  id
1856
1860
  explanation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.58",
3
+ "version": "2.2.59",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",