@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.
- package/dist/cjs/resolvers/fragments/user.js +1 -0
- package/dist/cjs/resolvers/mutation/restricted/questionDiscussion.js +2 -2
- package/dist/cjs/resolvers/query/restricted/user.js +1 -0
- package/dist/mjs/resolvers/fragments/user.js +1 -0
- package/dist/mjs/resolvers/mutation/restricted/questionDiscussion.js +2 -2
- package/dist/mjs/resolvers/query/restricted/user.js +1 -0
- package/package.json +1 -1
|
@@ -196,7 +196,7 @@ const optimisticQuestionComment = (id, user, input) => {
|
|
|
196
196
|
return {
|
|
197
197
|
restricted: {
|
|
198
198
|
questionComments: {
|
|
199
|
-
__typename: '
|
|
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: '
|
|
328
|
+
__typename: 'QuestionComment',
|
|
329
329
|
...comment,
|
|
330
330
|
parentId: parentId ? parentId : 0,
|
|
331
331
|
replies: comment.replies ? comment.replies : [],
|
|
@@ -189,7 +189,7 @@ export const optimisticQuestionComment = (id, user, input) => {
|
|
|
189
189
|
return {
|
|
190
190
|
restricted: {
|
|
191
191
|
questionComments: {
|
|
192
|
-
__typename: '
|
|
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: '
|
|
318
|
+
__typename: 'QuestionComment',
|
|
319
319
|
...comment,
|
|
320
320
|
parentId: parentId ? parentId : 0,
|
|
321
321
|
replies: comment.replies ? comment.replies : [],
|