@quesmed/types 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.
@@ -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
  ) {
@@ -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'>;
@@ -354,12 +354,14 @@ export const optimisticQuestionComment = (id, user, input) => {
354
354
  export const QUESTION_COMMENT_LIKE = gql `
355
355
  mutation QuestionCommentLike(
356
356
  $marksheetId: Int
357
+ $questionId: Int!
357
358
  $commentId: Int!
358
359
  $like: Int!
359
360
  ) {
360
361
  restricted {
361
362
  questionCommentLike(
362
363
  marksheetId: $marksheetId
364
+ questionId: $questionId
363
365
  commentId: $commentId
364
366
  like: $like
365
367
  ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",