@quesmed/types-rn 2.3.1 → 2.3.3

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.1",
3
+ "version": "2.3.3",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -47,6 +47,7 @@ export declare const updateQuestionCommentsRemove: (typeId: EQuestionType) => (c
47
47
  export declare const optimisticQuestionCommentRemove: (comments: IQuestionComment[], input: IQuestionCommentRemoveVar, parentId?: number | undefined) => IQuestionCommentRemoveData;
48
48
  export interface IQuestionCommentRemoveVar {
49
49
  marksheetId?: Id;
50
+ questionId: Id;
50
51
  commentId: Id;
51
52
  }
52
53
  export declare type IQuestionCommentRemoveData = RestrictedData<graphqlNormalize & IQuestionComment, 'questionCommentRemove'>;
@@ -422,9 +422,17 @@ const optimisticCommentLike = (comments, input, parentId) => {
422
422
  };
423
423
  exports.optimisticCommentLike = optimisticCommentLike;
424
424
  exports.QUESTION_COMMENT_REMOVE = (0, client_1.gql) `
425
- mutation QuestionCommentRemove($marksheetId: Int, $commentId: Int!) {
425
+ mutation QuestionCommentRemove(
426
+ $marksheetId: Int
427
+ $questionId: Int!
428
+ $commentId: Int!
429
+ ) {
426
430
  restricted {
427
- questionCommentRemove(marksheetId: $marksheetId, commentId: $commentId) {
431
+ questionCommentRemove(
432
+ marksheetId: $marksheetId
433
+ questionId: $questionId
434
+ commentId: $commentId
435
+ ) {
428
436
  id
429
437
  createdAt
430
438
  comment