@quesmed/types 2.6.32 → 2.6.33

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.
@@ -32,6 +32,7 @@ exports.USER_FIELDS = (0, client_1.gql) `
32
32
  typeId
33
33
  duration
34
34
  price
35
+ subscription
35
36
  stripePriceId
36
37
  }
37
38
  }
@@ -196,7 +196,7 @@ const optimisticQuestionComment = (id, user, input) => {
196
196
  return {
197
197
  restricted: {
198
198
  questionComments: {
199
- __typename: 'QuestionComments',
199
+ __typename: 'QuestionComment',
200
200
  ...newComment,
201
201
  },
202
202
  },
@@ -325,7 +325,7 @@ const optimisticQuestionCommentRemove = (comments, input, parentId) => {
325
325
  return {
326
326
  restricted: {
327
327
  questionCommentRemove: {
328
- __typename: 'QuestionComments',
328
+ __typename: 'QuestionComment',
329
329
  ...comment,
330
330
  parentId: parentId ? parentId : 0,
331
331
  replies: comment.replies ? comment.replies : [],
@@ -29,6 +29,7 @@ exports.GET_USER_SUBSCRIPTIONS = (0, client_1.gql) `
29
29
  typeId
30
30
  duration
31
31
  price
32
+ subscription
32
33
  stripePriceId
33
34
  }
34
35
  }
@@ -29,6 +29,7 @@ export const USER_FIELDS = gql `
29
29
  typeId
30
30
  duration
31
31
  price
32
+ subscription
32
33
  stripePriceId
33
34
  }
34
35
  }
@@ -189,7 +189,7 @@ export const optimisticQuestionComment = (id, user, input) => {
189
189
  return {
190
190
  restricted: {
191
191
  questionComments: {
192
- __typename: 'QuestionComments',
192
+ __typename: 'QuestionComment',
193
193
  ...newComment,
194
194
  },
195
195
  },
@@ -315,7 +315,7 @@ export const optimisticQuestionCommentRemove = (comments, input, parentId) => {
315
315
  return {
316
316
  restricted: {
317
317
  questionCommentRemove: {
318
- __typename: 'QuestionComments',
318
+ __typename: 'QuestionComment',
319
319
  ...comment,
320
320
  parentId: parentId ? parentId : 0,
321
321
  replies: comment.replies ? comment.replies : [],
@@ -26,6 +26,7 @@ export const GET_USER_SUBSCRIPTIONS = gql `
26
26
  typeId
27
27
  duration
28
28
  price
29
+ subscription
29
30
  stripePriceId
30
31
  }
31
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.32",
3
+ "version": "2.6.33",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",