@quesmed/types 2.2.91 → 2.2.93
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/marksheet.js +2 -0
- package/dist/cjs/resolvers/mutation/restricted/marksheet.js +24 -0
- package/dist/cjs/resolvers/mutation/restricted/questionDiscussion.d.ts +9 -3
- package/dist/cjs/resolvers/mutation/restricted/questionDiscussion.js +184 -101
- package/dist/cjs/resolvers/query/restricted/marksheet.js +26 -0
- package/dist/cjs/resolvers/query/restricted/question.js +8 -0
- package/dist/mjs/resolvers/fragments/marksheet.js +2 -0
- package/dist/mjs/resolvers/mutation/restricted/marksheet.js +24 -0
- package/dist/mjs/resolvers/mutation/restricted/questionDiscussion.d.ts +9 -3
- package/dist/mjs/resolvers/mutation/restricted/questionDiscussion.js +178 -101
- package/dist/mjs/resolvers/query/restricted/marksheet.js +26 -0
- package/dist/mjs/resolvers/query/restricted/question.js +8 -0
- package/package.json +1 -1
|
@@ -96,6 +96,7 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
96
96
|
id
|
|
97
97
|
createdAt
|
|
98
98
|
comment
|
|
99
|
+
parentId
|
|
99
100
|
likes
|
|
100
101
|
user {
|
|
101
102
|
id
|
|
@@ -108,6 +109,7 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
108
109
|
id
|
|
109
110
|
createdAt
|
|
110
111
|
comment
|
|
112
|
+
parentId
|
|
111
113
|
user {
|
|
112
114
|
id
|
|
113
115
|
displayName
|
|
@@ -213,6 +215,7 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
213
215
|
id
|
|
214
216
|
createdAt
|
|
215
217
|
comment
|
|
218
|
+
parentId
|
|
216
219
|
likes
|
|
217
220
|
user {
|
|
218
221
|
id
|
|
@@ -225,6 +228,7 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
225
228
|
id
|
|
226
229
|
createdAt
|
|
227
230
|
comment
|
|
231
|
+
parentId
|
|
228
232
|
user {
|
|
229
233
|
id
|
|
230
234
|
displayName
|
|
@@ -333,6 +337,7 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
333
337
|
id
|
|
334
338
|
createdAt
|
|
335
339
|
comment
|
|
340
|
+
parentId
|
|
336
341
|
likes
|
|
337
342
|
user {
|
|
338
343
|
id
|
|
@@ -345,6 +350,7 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
345
350
|
id
|
|
346
351
|
createdAt
|
|
347
352
|
comment
|
|
353
|
+
parentId
|
|
348
354
|
user {
|
|
349
355
|
id
|
|
350
356
|
displayName
|
|
@@ -450,6 +456,7 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
450
456
|
id
|
|
451
457
|
createdAt
|
|
452
458
|
comment
|
|
459
|
+
parentId
|
|
453
460
|
likes
|
|
454
461
|
user {
|
|
455
462
|
id
|
|
@@ -462,6 +469,7 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
462
469
|
id
|
|
463
470
|
createdAt
|
|
464
471
|
comment
|
|
472
|
+
parentId
|
|
465
473
|
user {
|
|
466
474
|
id
|
|
467
475
|
displayName
|
|
@@ -647,6 +655,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
647
655
|
id
|
|
648
656
|
createdAt
|
|
649
657
|
comment
|
|
658
|
+
parentId
|
|
650
659
|
likes
|
|
651
660
|
user {
|
|
652
661
|
id
|
|
@@ -659,6 +668,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
659
668
|
id
|
|
660
669
|
createdAt
|
|
661
670
|
comment
|
|
671
|
+
parentId
|
|
662
672
|
user {
|
|
663
673
|
id
|
|
664
674
|
displayName
|
|
@@ -771,6 +781,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
771
781
|
id
|
|
772
782
|
createdAt
|
|
773
783
|
comment
|
|
784
|
+
parentId
|
|
774
785
|
likes
|
|
775
786
|
user {
|
|
776
787
|
id
|
|
@@ -783,6 +794,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
783
794
|
id
|
|
784
795
|
createdAt
|
|
785
796
|
comment
|
|
797
|
+
parentId
|
|
786
798
|
user {
|
|
787
799
|
id
|
|
788
800
|
displayName
|
|
@@ -888,6 +900,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
888
900
|
id
|
|
889
901
|
createdAt
|
|
890
902
|
comment
|
|
903
|
+
parentId
|
|
891
904
|
likes
|
|
892
905
|
user {
|
|
893
906
|
id
|
|
@@ -900,6 +913,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
900
913
|
id
|
|
901
914
|
createdAt
|
|
902
915
|
comment
|
|
916
|
+
parentId
|
|
903
917
|
user {
|
|
904
918
|
id
|
|
905
919
|
displayName
|
|
@@ -1008,6 +1022,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
1008
1022
|
id
|
|
1009
1023
|
createdAt
|
|
1010
1024
|
comment
|
|
1025
|
+
parentId
|
|
1011
1026
|
likes
|
|
1012
1027
|
user {
|
|
1013
1028
|
id
|
|
@@ -1020,6 +1035,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
1020
1035
|
id
|
|
1021
1036
|
createdAt
|
|
1022
1037
|
comment
|
|
1038
|
+
parentId
|
|
1023
1039
|
user {
|
|
1024
1040
|
id
|
|
1025
1041
|
displayName
|
|
@@ -1125,6 +1141,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
1125
1141
|
id
|
|
1126
1142
|
createdAt
|
|
1127
1143
|
comment
|
|
1144
|
+
parentId
|
|
1128
1145
|
likes
|
|
1129
1146
|
user {
|
|
1130
1147
|
id
|
|
@@ -1137,6 +1154,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
1137
1154
|
id
|
|
1138
1155
|
createdAt
|
|
1139
1156
|
comment
|
|
1157
|
+
parentId
|
|
1140
1158
|
user {
|
|
1141
1159
|
id
|
|
1142
1160
|
displayName
|
|
@@ -1330,6 +1348,7 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
|
|
|
1330
1348
|
id
|
|
1331
1349
|
createdAt
|
|
1332
1350
|
comment
|
|
1351
|
+
parentId
|
|
1333
1352
|
likes
|
|
1334
1353
|
user {
|
|
1335
1354
|
id
|
|
@@ -1342,6 +1361,7 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
|
|
|
1342
1361
|
id
|
|
1343
1362
|
createdAt
|
|
1344
1363
|
comment
|
|
1364
|
+
parentId
|
|
1345
1365
|
user {
|
|
1346
1366
|
id
|
|
1347
1367
|
displayName
|
|
@@ -1447,6 +1467,7 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
|
|
|
1447
1467
|
id
|
|
1448
1468
|
createdAt
|
|
1449
1469
|
comment
|
|
1470
|
+
parentId
|
|
1450
1471
|
likes
|
|
1451
1472
|
user {
|
|
1452
1473
|
id
|
|
@@ -1459,6 +1480,7 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
|
|
|
1459
1480
|
id
|
|
1460
1481
|
createdAt
|
|
1461
1482
|
comment
|
|
1483
|
+
parentId
|
|
1462
1484
|
user {
|
|
1463
1485
|
id
|
|
1464
1486
|
displayName
|
|
@@ -1567,6 +1589,7 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
|
|
|
1567
1589
|
id
|
|
1568
1590
|
createdAt
|
|
1569
1591
|
comment
|
|
1592
|
+
parentId
|
|
1570
1593
|
likes
|
|
1571
1594
|
user {
|
|
1572
1595
|
id
|
|
@@ -1579,6 +1602,7 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
|
|
|
1579
1602
|
id
|
|
1580
1603
|
createdAt
|
|
1581
1604
|
comment
|
|
1605
|
+
parentId
|
|
1582
1606
|
user {
|
|
1583
1607
|
id
|
|
1584
1608
|
displayName
|
|
@@ -1684,6 +1708,7 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
|
|
|
1684
1708
|
id
|
|
1685
1709
|
createdAt
|
|
1686
1710
|
comment
|
|
1711
|
+
parentId
|
|
1687
1712
|
likes
|
|
1688
1713
|
user {
|
|
1689
1714
|
id
|
|
@@ -1696,6 +1721,7 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
|
|
|
1696
1721
|
id
|
|
1697
1722
|
createdAt
|
|
1698
1723
|
comment
|
|
1724
|
+
parentId
|
|
1699
1725
|
user {
|
|
1700
1726
|
id
|
|
1701
1727
|
displayName
|
|
@@ -39,6 +39,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
39
39
|
id
|
|
40
40
|
createdAt
|
|
41
41
|
comment
|
|
42
|
+
parentId
|
|
42
43
|
likes
|
|
43
44
|
user {
|
|
44
45
|
id
|
|
@@ -51,6 +52,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
51
52
|
id
|
|
52
53
|
createdAt
|
|
53
54
|
comment
|
|
55
|
+
parentId
|
|
54
56
|
user {
|
|
55
57
|
id
|
|
56
58
|
displayName
|
|
@@ -156,6 +158,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
156
158
|
id
|
|
157
159
|
createdAt
|
|
158
160
|
comment
|
|
161
|
+
parentId
|
|
159
162
|
likes
|
|
160
163
|
user {
|
|
161
164
|
id
|
|
@@ -168,6 +171,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
168
171
|
id
|
|
169
172
|
createdAt
|
|
170
173
|
comment
|
|
174
|
+
parentId
|
|
171
175
|
user {
|
|
172
176
|
id
|
|
173
177
|
displayName
|
|
@@ -276,6 +280,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
276
280
|
id
|
|
277
281
|
createdAt
|
|
278
282
|
comment
|
|
283
|
+
parentId
|
|
279
284
|
likes
|
|
280
285
|
user {
|
|
281
286
|
id
|
|
@@ -288,6 +293,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
288
293
|
id
|
|
289
294
|
createdAt
|
|
290
295
|
comment
|
|
296
|
+
parentId
|
|
291
297
|
user {
|
|
292
298
|
id
|
|
293
299
|
displayName
|
|
@@ -393,6 +399,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
393
399
|
id
|
|
394
400
|
createdAt
|
|
395
401
|
comment
|
|
402
|
+
parentId
|
|
396
403
|
likes
|
|
397
404
|
user {
|
|
398
405
|
id
|
|
@@ -405,6 +412,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
405
412
|
id
|
|
406
413
|
createdAt
|
|
407
414
|
comment
|
|
415
|
+
parentId
|
|
408
416
|
user {
|
|
409
417
|
id
|
|
410
418
|
displayName
|
|
@@ -44,6 +44,7 @@ export const MARKSHEET_MARK_FIELDS = gql `
|
|
|
44
44
|
id
|
|
45
45
|
createdAt
|
|
46
46
|
comment
|
|
47
|
+
parentId
|
|
47
48
|
likes
|
|
48
49
|
user {
|
|
49
50
|
id
|
|
@@ -56,6 +57,7 @@ export const MARKSHEET_MARK_FIELDS = gql `
|
|
|
56
57
|
id
|
|
57
58
|
createdAt
|
|
58
59
|
comment
|
|
60
|
+
parentId
|
|
59
61
|
user {
|
|
60
62
|
id
|
|
61
63
|
displayName
|
|
@@ -88,6 +88,7 @@ export const BUILD_QUESTION_MARKSHEET = gql `
|
|
|
88
88
|
createdAt
|
|
89
89
|
comment
|
|
90
90
|
likes
|
|
91
|
+
parentId
|
|
91
92
|
user {
|
|
92
93
|
id
|
|
93
94
|
displayName
|
|
@@ -98,6 +99,7 @@ export const BUILD_QUESTION_MARKSHEET = gql `
|
|
|
98
99
|
replies {
|
|
99
100
|
id
|
|
100
101
|
createdAt
|
|
102
|
+
parentId
|
|
101
103
|
comment
|
|
102
104
|
user {
|
|
103
105
|
id
|
|
@@ -204,6 +206,7 @@ export const BUILD_QUESTION_MARKSHEET = gql `
|
|
|
204
206
|
id
|
|
205
207
|
createdAt
|
|
206
208
|
comment
|
|
209
|
+
parentId
|
|
207
210
|
likes
|
|
208
211
|
user {
|
|
209
212
|
id
|
|
@@ -216,6 +219,7 @@ export const BUILD_QUESTION_MARKSHEET = gql `
|
|
|
216
219
|
id
|
|
217
220
|
createdAt
|
|
218
221
|
comment
|
|
222
|
+
parentId
|
|
219
223
|
user {
|
|
220
224
|
id
|
|
221
225
|
displayName
|
|
@@ -324,6 +328,7 @@ export const BUILD_QUESTION_MARKSHEET = gql `
|
|
|
324
328
|
id
|
|
325
329
|
createdAt
|
|
326
330
|
comment
|
|
331
|
+
parentId
|
|
327
332
|
likes
|
|
328
333
|
user {
|
|
329
334
|
id
|
|
@@ -336,6 +341,7 @@ export const BUILD_QUESTION_MARKSHEET = gql `
|
|
|
336
341
|
id
|
|
337
342
|
createdAt
|
|
338
343
|
comment
|
|
344
|
+
parentId
|
|
339
345
|
user {
|
|
340
346
|
id
|
|
341
347
|
displayName
|
|
@@ -441,6 +447,7 @@ export const BUILD_QUESTION_MARKSHEET = gql `
|
|
|
441
447
|
id
|
|
442
448
|
createdAt
|
|
443
449
|
comment
|
|
450
|
+
parentId
|
|
444
451
|
likes
|
|
445
452
|
user {
|
|
446
453
|
id
|
|
@@ -453,6 +460,7 @@ export const BUILD_QUESTION_MARKSHEET = gql `
|
|
|
453
460
|
id
|
|
454
461
|
createdAt
|
|
455
462
|
comment
|
|
463
|
+
parentId
|
|
456
464
|
user {
|
|
457
465
|
id
|
|
458
466
|
displayName
|
|
@@ -653,6 +661,7 @@ export const BUILD_MARKSHEET = gql `
|
|
|
653
661
|
id
|
|
654
662
|
createdAt
|
|
655
663
|
comment
|
|
664
|
+
parentId
|
|
656
665
|
likes
|
|
657
666
|
user {
|
|
658
667
|
id
|
|
@@ -665,6 +674,7 @@ export const BUILD_MARKSHEET = gql `
|
|
|
665
674
|
id
|
|
666
675
|
createdAt
|
|
667
676
|
comment
|
|
677
|
+
parentId
|
|
668
678
|
user {
|
|
669
679
|
id
|
|
670
680
|
displayName
|
|
@@ -770,6 +780,7 @@ export const BUILD_MARKSHEET = gql `
|
|
|
770
780
|
id
|
|
771
781
|
createdAt
|
|
772
782
|
comment
|
|
783
|
+
parentId
|
|
773
784
|
likes
|
|
774
785
|
user {
|
|
775
786
|
id
|
|
@@ -782,6 +793,7 @@ export const BUILD_MARKSHEET = gql `
|
|
|
782
793
|
id
|
|
783
794
|
createdAt
|
|
784
795
|
comment
|
|
796
|
+
parentId
|
|
785
797
|
user {
|
|
786
798
|
id
|
|
787
799
|
displayName
|
|
@@ -890,6 +902,7 @@ export const BUILD_MARKSHEET = gql `
|
|
|
890
902
|
id
|
|
891
903
|
createdAt
|
|
892
904
|
comment
|
|
905
|
+
parentId
|
|
893
906
|
likes
|
|
894
907
|
user {
|
|
895
908
|
id
|
|
@@ -902,6 +915,7 @@ export const BUILD_MARKSHEET = gql `
|
|
|
902
915
|
id
|
|
903
916
|
createdAt
|
|
904
917
|
comment
|
|
918
|
+
parentId
|
|
905
919
|
user {
|
|
906
920
|
id
|
|
907
921
|
displayName
|
|
@@ -1007,6 +1021,7 @@ export const BUILD_MARKSHEET = gql `
|
|
|
1007
1021
|
id
|
|
1008
1022
|
createdAt
|
|
1009
1023
|
comment
|
|
1024
|
+
parentId
|
|
1010
1025
|
likes
|
|
1011
1026
|
user {
|
|
1012
1027
|
id
|
|
@@ -1019,6 +1034,7 @@ export const BUILD_MARKSHEET = gql `
|
|
|
1019
1034
|
id
|
|
1020
1035
|
createdAt
|
|
1021
1036
|
comment
|
|
1037
|
+
parentId
|
|
1022
1038
|
user {
|
|
1023
1039
|
id
|
|
1024
1040
|
displayName
|
|
@@ -1224,6 +1240,7 @@ export const RE_BUILD_MARKSHEET = gql `
|
|
|
1224
1240
|
id
|
|
1225
1241
|
createdAt
|
|
1226
1242
|
comment
|
|
1243
|
+
parentId
|
|
1227
1244
|
likes
|
|
1228
1245
|
user {
|
|
1229
1246
|
id
|
|
@@ -1236,6 +1253,7 @@ export const RE_BUILD_MARKSHEET = gql `
|
|
|
1236
1253
|
id
|
|
1237
1254
|
createdAt
|
|
1238
1255
|
comment
|
|
1256
|
+
parentId
|
|
1239
1257
|
user {
|
|
1240
1258
|
id
|
|
1241
1259
|
displayName
|
|
@@ -1341,6 +1359,7 @@ export const RE_BUILD_MARKSHEET = gql `
|
|
|
1341
1359
|
id
|
|
1342
1360
|
createdAt
|
|
1343
1361
|
comment
|
|
1362
|
+
parentId
|
|
1344
1363
|
likes
|
|
1345
1364
|
user {
|
|
1346
1365
|
id
|
|
@@ -1353,6 +1372,7 @@ export const RE_BUILD_MARKSHEET = gql `
|
|
|
1353
1372
|
id
|
|
1354
1373
|
createdAt
|
|
1355
1374
|
comment
|
|
1375
|
+
parentId
|
|
1356
1376
|
user {
|
|
1357
1377
|
id
|
|
1358
1378
|
displayName
|
|
@@ -1461,6 +1481,7 @@ export const RE_BUILD_MARKSHEET = gql `
|
|
|
1461
1481
|
id
|
|
1462
1482
|
createdAt
|
|
1463
1483
|
comment
|
|
1484
|
+
parentId
|
|
1464
1485
|
likes
|
|
1465
1486
|
user {
|
|
1466
1487
|
id
|
|
@@ -1473,6 +1494,7 @@ export const RE_BUILD_MARKSHEET = gql `
|
|
|
1473
1494
|
id
|
|
1474
1495
|
createdAt
|
|
1475
1496
|
comment
|
|
1497
|
+
parentId
|
|
1476
1498
|
user {
|
|
1477
1499
|
id
|
|
1478
1500
|
displayName
|
|
@@ -1578,6 +1600,7 @@ export const RE_BUILD_MARKSHEET = gql `
|
|
|
1578
1600
|
id
|
|
1579
1601
|
createdAt
|
|
1580
1602
|
comment
|
|
1603
|
+
parentId
|
|
1581
1604
|
likes
|
|
1582
1605
|
user {
|
|
1583
1606
|
id
|
|
@@ -1590,6 +1613,7 @@ export const RE_BUILD_MARKSHEET = gql `
|
|
|
1590
1613
|
id
|
|
1591
1614
|
createdAt
|
|
1592
1615
|
comment
|
|
1616
|
+
parentId
|
|
1593
1617
|
user {
|
|
1594
1618
|
id
|
|
1595
1619
|
displayName
|
|
@@ -9,15 +9,21 @@ interface LikeData {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const getLikeData: (like: EQuestionLike, item: LikeData) => LikeData;
|
|
11
11
|
export declare const getQuestionTypeName: (typeId: EQuestionType) => string;
|
|
12
|
+
export declare const updatedCommentsOnAdd: (newComment: IQuestionComment, comments: IQuestionComment[], parentId?: number | undefined) => IQuestionComment[];
|
|
13
|
+
export declare const updateCommentsOnRemove: (comments: IQuestionComment[], commentId: number, parentId?: number | undefined) => IQuestionComment[];
|
|
14
|
+
export declare const updatedCommentsInMarksheetQuestion: (cache: ApolloCache<any>, questionComments: IQuestionComment, marksheetId: number, questionId: number, parentId?: number | undefined) => void;
|
|
15
|
+
export declare const updatedCommentsInQuestion: (cache: ApolloCache<any>, questionComments: IQuestionComment, questionId: number, parentId?: number | undefined) => void;
|
|
16
|
+
export declare const updatedRemoveCommentsInMarksheetQuestion: (cache: ApolloCache<any>, marksheetId: number, questionId: number, commentId: number, parentId?: number | undefined) => void;
|
|
17
|
+
export declare const updatedRemoveCommentsInQuestion: (cache: ApolloCache<any>, questionId: number, commentId: number, parentId?: number | undefined) => void;
|
|
12
18
|
export declare const QUESTION_LIKE: import("@apollo/client").DocumentNode;
|
|
13
|
-
export declare const optimisticQuestionLike: (
|
|
19
|
+
export declare const optimisticQuestionLike: (client: ApolloClient<any>, input: IQuestionLikeVar, marksheetId?: number | undefined) => IQuestionLikeData;
|
|
14
20
|
export interface IQuestionLikeVar {
|
|
15
21
|
questionId: Id;
|
|
16
22
|
like: EQuestionLike;
|
|
17
23
|
}
|
|
18
24
|
export declare type IQuestionLikeData = RestrictedData<graphqlNormalize & IQuestion, 'questionLike'>;
|
|
19
25
|
export declare const QUESTION_COMMENTS: import("@apollo/client").DocumentNode;
|
|
20
|
-
export declare const updateQuestionComments: (marksheetId
|
|
26
|
+
export declare const updateQuestionComments: (marksheetId?: number | undefined) => (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IQuestionCommentsData>, options: ApolloUpdateOptions) => void;
|
|
21
27
|
export declare const optimisticQuestionComment: (id: number, user: {
|
|
22
28
|
id: number;
|
|
23
29
|
displayName: string;
|
|
@@ -36,7 +42,7 @@ export interface IQuestionCommentsLikeVar {
|
|
|
36
42
|
}
|
|
37
43
|
export declare type IQuestionCommentsLikeData = RestrictedData<graphqlNormalize & IQuestionComment, 'questionCommentLike'>;
|
|
38
44
|
export declare const QUESTION_COMMENT_REMOVE: import("@apollo/client").DocumentNode;
|
|
39
|
-
export declare const updateQuestionCommentsRemove: (marksheetId
|
|
45
|
+
export declare const updateQuestionCommentsRemove: (marksheetId?: number | undefined) => (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IQuestionCommentRemoveData>, options: ApolloUpdateOptions) => void;
|
|
40
46
|
export declare const optimisticQuestionCommentRemove: (comments: IQuestionComment[], input: IQuestionCommentRemoveVar, parentId?: number | undefined) => IQuestionCommentRemoveData;
|
|
41
47
|
export interface IQuestionCommentRemoveVar {
|
|
42
48
|
commentId: Id;
|