@quesmed/types-rn 2.2.56 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.2.56",
3
+ "version": "2.2.59",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -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;
@@ -188,7 +184,7 @@ export declare const LEAVE_MARKSHEET: import("@apollo/client").DocumentNode;
188
184
  export interface IEndMarksheetVar {
189
185
  marksheetId: Id;
190
186
  }
191
- export declare type IEndMarksheetData = RestrictedData<graphqlNormalize & boolean, 'endMarksheet'>;
187
+ export declare type IEndMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'endMarksheet'>;
192
188
  export declare const END_MARKSHEET: import("@apollo/client").DocumentNode;
193
189
  /**
194
190
  * toggleStrikeOptions
@@ -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
@@ -2427,6 +2431,7 @@ exports.REMOVE_FLAGGED_QUESTION = (0, client_1.gql) `
2427
2431
  restricted {
2428
2432
  removeFlaggedQuestion(questionId: $questionId) {
2429
2433
  id
2434
+ markId
2430
2435
  }
2431
2436
  }
2432
2437
  }
@@ -2487,8 +2492,8 @@ exports.START_OR_JOIN_MARKSHEET = (0, client_1.gql) `
2487
2492
  questionChoiceId
2488
2493
  marksheetId
2489
2494
  timeTaken
2490
- isAnswered
2491
2495
  striked
2496
+ isAnswered
2492
2497
  mark
2493
2498
  question {
2494
2499
  ... on QuestionSBA {
@@ -3063,8 +3068,8 @@ exports.MODIFY_MARKSHEET_INFO = (0, client_1.gql) `
3063
3068
  questionChoiceId
3064
3069
  marksheetId
3065
3070
  timeTaken
3066
- isAnswered
3067
3071
  striked
3072
+ isAnswered
3068
3073
  mark
3069
3074
  question {
3070
3075
  ... on QuestionSBA {
@@ -3586,7 +3591,11 @@ exports.LEAVE_MARKSHEET = (0, client_1.gql) `
3586
3591
  exports.END_MARKSHEET = (0, client_1.gql) `
3587
3592
  mutation EndMarksheet($marksheetId: Int!) {
3588
3593
  restricted {
3589
- endMarksheet(marksheetId: $marksheetId)
3594
+ endMarksheet(marksheetId: $marksheetId) {
3595
+ id
3596
+ timeTaken
3597
+ endedAt
3598
+ }
3590
3599
  }
3591
3600
  }
3592
3601
  `;