@quesmed/types-rn 2.3.2 → 2.3.4

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.3.2",
3
+ "version": "2.3.4",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -38,6 +38,7 @@ export declare const QUESTION_COMMENT_LIKE: DocumentNode;
38
38
  export declare const optimisticCommentLike: (comments: IQuestionComment[], input: IQuestionCommentsLikeVar, parentId: number | null) => IQuestionCommentsLikeData;
39
39
  export interface IQuestionCommentsLikeVar {
40
40
  marksheetId?: Id;
41
+ questionId: Id;
41
42
  commentId: Id;
42
43
  like: EQuestionLike;
43
44
  }
@@ -47,6 +48,7 @@ export declare const updateQuestionCommentsRemove: (typeId: EQuestionType) => (c
47
48
  export declare const optimisticQuestionCommentRemove: (comments: IQuestionComment[], input: IQuestionCommentRemoveVar, parentId?: number | undefined) => IQuestionCommentRemoveData;
48
49
  export interface IQuestionCommentRemoveVar {
49
50
  marksheetId?: Id;
51
+ questionId: Id;
50
52
  commentId: Id;
51
53
  }
52
54
  export declare type IQuestionCommentRemoveData = RestrictedData<graphqlNormalize & IQuestionComment, 'questionCommentRemove'>;
@@ -362,12 +362,14 @@ exports.optimisticQuestionComment = optimisticQuestionComment;
362
362
  exports.QUESTION_COMMENT_LIKE = (0, client_1.gql) `
363
363
  mutation QuestionCommentLike(
364
364
  $marksheetId: Int
365
+ $questionId: Int!
365
366
  $commentId: Int!
366
367
  $like: Int!
367
368
  ) {
368
369
  restricted {
369
370
  questionCommentLike(
370
371
  marksheetId: $marksheetId
372
+ questionId: $questionId
371
373
  commentId: $commentId
372
374
  like: $like
373
375
  ) {