@quesmed/types-rn 2.6.63 → 2.6.64

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.6.63",
3
+ "version": "2.6.64",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -9,6 +9,7 @@ export declare const UPSERT_CHAPTER_NOTE: import("@apollo/client").DocumentNode;
9
9
  export interface IUpsertChapterNoteVar {
10
10
  chapterId: number;
11
11
  note: string;
12
+ marksheetId?: number;
12
13
  }
13
14
  export type IUpsertChapterNoteData = RestrictedData<graphqlNormalize & Omit<IUserChapterNote, 'chapter'>, 'upsertChapterNote'>;
14
15
  export declare const updateCacheOnUpsertChapterNote: (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IUpsertChapterNoteData>, options: ApolloUpdateOptions<IUpsertChapterNoteVar>) => void;
@@ -7,9 +7,9 @@ const fragments_1 = require("../../fragments");
7
7
  * upsertChapterNote
8
8
  */
9
9
  exports.UPSERT_CHAPTER_NOTE = (0, client_1.gql) `
10
- mutation UpsertChapterNote($chapterId: Int!, $note: String!) {
10
+ mutation UpsertChapterNote($chapterId: Int!, $note: String!, $marksheetId: Int) {
11
11
  restricted {
12
- upsertChapterNote(chapterId: $chapterId, note: $note) {
12
+ upsertChapterNote(chapterId: $chapterId, note: $note, marksheetId: $marksheetId) {
13
13
  id
14
14
  chapterId
15
15
  userId
@@ -78,7 +78,7 @@ const updateChapterHighlights = (cache, result, options) => {
78
78
  return;
79
79
  }
80
80
  try {
81
- for (const { chapterId, highlights } of variables.input) {
81
+ for (const { chapterId, highlights } of addChapterHighlight) {
82
82
  cache.writeFragment({
83
83
  id: cache.identify({
84
84
  id: chapterId,