@replyke/core 7.0.0-beta.97 → 7.0.0-beta.99

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.
Files changed (27) hide show
  1. package/dist/cjs/helpers/addNotificationsMessages.js +17 -3
  2. package/dist/cjs/helpers/addNotificationsMessages.js.map +1 -1
  3. package/dist/cjs/helpers/markCommentAsDeletedInTree.d.ts +7 -0
  4. package/dist/cjs/helpers/markCommentAsDeletedInTree.js +27 -0
  5. package/dist/cjs/helpers/markCommentAsDeletedInTree.js.map +1 -0
  6. package/dist/cjs/hooks/comments/useCommentSectionData.js +5 -3
  7. package/dist/cjs/hooks/comments/useCommentSectionData.js.map +1 -1
  8. package/dist/cjs/hooks/comments/useEntityComments.d.ts +1 -0
  9. package/dist/cjs/hooks/comments/useEntityComments.js +7 -0
  10. package/dist/cjs/hooks/comments/useEntityComments.js.map +1 -1
  11. package/dist/cjs/interfaces/models/AppNotification.d.ts +68 -2
  12. package/dist/cjs/interfaces/models/Comment.d.ts +1 -0
  13. package/dist/cjs/store/slices/appNotificationsSlice.d.ts +1226 -38
  14. package/dist/esm/helpers/addNotificationsMessages.js +17 -3
  15. package/dist/esm/helpers/addNotificationsMessages.js.map +1 -1
  16. package/dist/esm/helpers/markCommentAsDeletedInTree.d.ts +7 -0
  17. package/dist/esm/helpers/markCommentAsDeletedInTree.js +24 -0
  18. package/dist/esm/helpers/markCommentAsDeletedInTree.js.map +1 -0
  19. package/dist/esm/hooks/comments/useCommentSectionData.js +5 -3
  20. package/dist/esm/hooks/comments/useCommentSectionData.js.map +1 -1
  21. package/dist/esm/hooks/comments/useEntityComments.d.ts +1 -0
  22. package/dist/esm/hooks/comments/useEntityComments.js +7 -0
  23. package/dist/esm/hooks/comments/useEntityComments.js.map +1 -1
  24. package/dist/esm/interfaces/models/AppNotification.d.ts +68 -2
  25. package/dist/esm/interfaces/models/Comment.d.ts +1 -0
  26. package/dist/esm/store/slices/appNotificationsSlice.d.ts +1226 -38
  27. package/package.json +1 -1
@@ -178,6 +178,98 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
178
178
  userId: string;
179
179
  isRead: boolean;
180
180
  createdAt: string;
181
+ } | {
182
+ type: "entity-reaction-milestone-specific";
183
+ action: "open-entity";
184
+ metadata: {
185
+ entityId: string;
186
+ entityShortId: string;
187
+ entityTitle: string | null | undefined;
188
+ entityContent: string | null | undefined;
189
+ reactionType: string;
190
+ milestoneCount: number;
191
+ lastThreeUsers: {
192
+ id: string;
193
+ name: string | null | undefined;
194
+ username: string | null | undefined;
195
+ avatar: string | null | undefined;
196
+ }[];
197
+ };
198
+ id: string;
199
+ userId: string;
200
+ isRead: boolean;
201
+ createdAt: string;
202
+ } | {
203
+ type: "entity-reaction-milestone-total";
204
+ action: "open-entity";
205
+ metadata: {
206
+ entityId: string;
207
+ entityShortId: string;
208
+ entityTitle: string | null | undefined;
209
+ entityContent: string | null | undefined;
210
+ milestoneCount: number;
211
+ reactionCounts: {
212
+ [x: string]: number;
213
+ };
214
+ lastThreeUsers: {
215
+ id: string;
216
+ name: string | null | undefined;
217
+ username: string | null | undefined;
218
+ avatar: string | null | undefined;
219
+ }[];
220
+ };
221
+ id: string;
222
+ userId: string;
223
+ isRead: boolean;
224
+ createdAt: string;
225
+ } | {
226
+ type: "comment-reaction-milestone-specific";
227
+ action: "open-comment";
228
+ metadata: {
229
+ entityId: string;
230
+ entityShortId: string;
231
+ entityTitle: string | null | undefined;
232
+ entityContent: string | null | undefined;
233
+ commentId: string;
234
+ commentContent: string | null | undefined;
235
+ reactionType: string;
236
+ milestoneCount: number;
237
+ lastThreeUsers: {
238
+ id: string;
239
+ name: string | null | undefined;
240
+ username: string | null | undefined;
241
+ avatar: string | null | undefined;
242
+ }[];
243
+ };
244
+ id: string;
245
+ userId: string;
246
+ isRead: boolean;
247
+ createdAt: string;
248
+ } | {
249
+ type: "comment-reaction-milestone-total";
250
+ action: "open-comment";
251
+ metadata: {
252
+ entityId: string;
253
+ entityShortId: string;
254
+ entityTitle: string | null | undefined;
255
+ entityContent: string | null | undefined;
256
+ commentId: string;
257
+ commentContent: string | null | undefined;
258
+ milestoneCount: number;
259
+ reactionCounts: {
260
+ [x: string]: number;
261
+ };
262
+ lastThreeUsers: {
263
+ id: string;
264
+ name: string | null | undefined;
265
+ username: string | null | undefined;
266
+ avatar: string | null | undefined;
267
+ }[];
268
+ };
269
+ id: string;
270
+ userId: string;
271
+ isRead: boolean;
272
+ createdAt: string;
181
273
  } | {
182
274
  type: "new-follow";
183
275
  action: "open-profile";
@@ -258,6 +350,22 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
258
350
  title?: string | undefined;
259
351
  content?: string | undefined;
260
352
  } | undefined;
353
+ entityReactionMilestoneSpecific?: {
354
+ title?: string | undefined;
355
+ content?: string | undefined;
356
+ } | undefined;
357
+ entityReactionMilestoneTotal?: {
358
+ title?: string | undefined;
359
+ content?: string | undefined;
360
+ } | undefined;
361
+ commentReactionMilestoneSpecific?: {
362
+ title?: string | undefined;
363
+ content?: string | undefined;
364
+ } | undefined;
365
+ commentReactionMilestoneTotal?: {
366
+ title?: string | undefined;
367
+ content?: string | undefined;
368
+ } | undefined;
261
369
  newFollow?: {
262
370
  title?: string | undefined;
263
371
  content?: string | undefined;
@@ -439,6 +547,98 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
439
547
  userId: string;
440
548
  isRead: boolean;
441
549
  createdAt: string;
550
+ } | {
551
+ type: "entity-reaction-milestone-specific";
552
+ action: "open-entity";
553
+ metadata: {
554
+ entityId: string;
555
+ entityShortId: string;
556
+ entityTitle: string | null | undefined;
557
+ entityContent: string | null | undefined;
558
+ reactionType: string;
559
+ milestoneCount: number;
560
+ lastThreeUsers: {
561
+ id: string;
562
+ name: string | null | undefined;
563
+ username: string | null | undefined;
564
+ avatar: string | null | undefined;
565
+ }[];
566
+ };
567
+ id: string;
568
+ userId: string;
569
+ isRead: boolean;
570
+ createdAt: string;
571
+ } | {
572
+ type: "entity-reaction-milestone-total";
573
+ action: "open-entity";
574
+ metadata: {
575
+ entityId: string;
576
+ entityShortId: string;
577
+ entityTitle: string | null | undefined;
578
+ entityContent: string | null | undefined;
579
+ milestoneCount: number;
580
+ reactionCounts: {
581
+ [x: string]: number;
582
+ };
583
+ lastThreeUsers: {
584
+ id: string;
585
+ name: string | null | undefined;
586
+ username: string | null | undefined;
587
+ avatar: string | null | undefined;
588
+ }[];
589
+ };
590
+ id: string;
591
+ userId: string;
592
+ isRead: boolean;
593
+ createdAt: string;
594
+ } | {
595
+ type: "comment-reaction-milestone-specific";
596
+ action: "open-comment";
597
+ metadata: {
598
+ entityId: string;
599
+ entityShortId: string;
600
+ entityTitle: string | null | undefined;
601
+ entityContent: string | null | undefined;
602
+ commentId: string;
603
+ commentContent: string | null | undefined;
604
+ reactionType: string;
605
+ milestoneCount: number;
606
+ lastThreeUsers: {
607
+ id: string;
608
+ name: string | null | undefined;
609
+ username: string | null | undefined;
610
+ avatar: string | null | undefined;
611
+ }[];
612
+ };
613
+ id: string;
614
+ userId: string;
615
+ isRead: boolean;
616
+ createdAt: string;
617
+ } | {
618
+ type: "comment-reaction-milestone-total";
619
+ action: "open-comment";
620
+ metadata: {
621
+ entityId: string;
622
+ entityShortId: string;
623
+ entityTitle: string | null | undefined;
624
+ entityContent: string | null | undefined;
625
+ commentId: string;
626
+ commentContent: string | null | undefined;
627
+ milestoneCount: number;
628
+ reactionCounts: {
629
+ [x: string]: number;
630
+ };
631
+ lastThreeUsers: {
632
+ id: string;
633
+ name: string | null | undefined;
634
+ username: string | null | undefined;
635
+ avatar: string | null | undefined;
636
+ }[];
637
+ };
638
+ id: string;
639
+ userId: string;
640
+ isRead: boolean;
641
+ createdAt: string;
442
642
  } | {
443
643
  type: "new-follow";
444
644
  action: "open-profile";
@@ -519,6 +719,22 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
519
719
  title?: string | undefined;
520
720
  content?: string | undefined;
521
721
  } | undefined;
722
+ entityReactionMilestoneSpecific?: {
723
+ title?: string | undefined;
724
+ content?: string | undefined;
725
+ } | undefined;
726
+ entityReactionMilestoneTotal?: {
727
+ title?: string | undefined;
728
+ content?: string | undefined;
729
+ } | undefined;
730
+ commentReactionMilestoneSpecific?: {
731
+ title?: string | undefined;
732
+ content?: string | undefined;
733
+ } | undefined;
734
+ commentReactionMilestoneTotal?: {
735
+ title?: string | undefined;
736
+ content?: string | undefined;
737
+ } | undefined;
522
738
  newFollow?: {
523
739
  title?: string | undefined;
524
740
  content?: string | undefined;
@@ -700,6 +916,98 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
700
916
  userId: string;
701
917
  isRead: boolean;
702
918
  createdAt: string;
919
+ } | {
920
+ type: "entity-reaction-milestone-specific";
921
+ action: "open-entity";
922
+ metadata: {
923
+ entityId: string;
924
+ entityShortId: string;
925
+ entityTitle: string | null | undefined;
926
+ entityContent: string | null | undefined;
927
+ reactionType: string;
928
+ milestoneCount: number;
929
+ lastThreeUsers: {
930
+ id: string;
931
+ name: string | null | undefined;
932
+ username: string | null | undefined;
933
+ avatar: string | null | undefined;
934
+ }[];
935
+ };
936
+ id: string;
937
+ userId: string;
938
+ isRead: boolean;
939
+ createdAt: string;
940
+ } | {
941
+ type: "entity-reaction-milestone-total";
942
+ action: "open-entity";
943
+ metadata: {
944
+ entityId: string;
945
+ entityShortId: string;
946
+ entityTitle: string | null | undefined;
947
+ entityContent: string | null | undefined;
948
+ milestoneCount: number;
949
+ reactionCounts: {
950
+ [x: string]: number;
951
+ };
952
+ lastThreeUsers: {
953
+ id: string;
954
+ name: string | null | undefined;
955
+ username: string | null | undefined;
956
+ avatar: string | null | undefined;
957
+ }[];
958
+ };
959
+ id: string;
960
+ userId: string;
961
+ isRead: boolean;
962
+ createdAt: string;
963
+ } | {
964
+ type: "comment-reaction-milestone-specific";
965
+ action: "open-comment";
966
+ metadata: {
967
+ entityId: string;
968
+ entityShortId: string;
969
+ entityTitle: string | null | undefined;
970
+ entityContent: string | null | undefined;
971
+ commentId: string;
972
+ commentContent: string | null | undefined;
973
+ reactionType: string;
974
+ milestoneCount: number;
975
+ lastThreeUsers: {
976
+ id: string;
977
+ name: string | null | undefined;
978
+ username: string | null | undefined;
979
+ avatar: string | null | undefined;
980
+ }[];
981
+ };
982
+ id: string;
983
+ userId: string;
984
+ isRead: boolean;
985
+ createdAt: string;
986
+ } | {
987
+ type: "comment-reaction-milestone-total";
988
+ action: "open-comment";
989
+ metadata: {
990
+ entityId: string;
991
+ entityShortId: string;
992
+ entityTitle: string | null | undefined;
993
+ entityContent: string | null | undefined;
994
+ commentId: string;
995
+ commentContent: string | null | undefined;
996
+ milestoneCount: number;
997
+ reactionCounts: {
998
+ [x: string]: number;
999
+ };
1000
+ lastThreeUsers: {
1001
+ id: string;
1002
+ name: string | null | undefined;
1003
+ username: string | null | undefined;
1004
+ avatar: string | null | undefined;
1005
+ }[];
1006
+ };
1007
+ id: string;
1008
+ userId: string;
1009
+ isRead: boolean;
1010
+ createdAt: string;
703
1011
  } | {
704
1012
  type: "new-follow";
705
1013
  action: "open-profile";
@@ -780,6 +1088,22 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
780
1088
  title?: string | undefined;
781
1089
  content?: string | undefined;
782
1090
  } | undefined;
1091
+ entityReactionMilestoneSpecific?: {
1092
+ title?: string | undefined;
1093
+ content?: string | undefined;
1094
+ } | undefined;
1095
+ entityReactionMilestoneTotal?: {
1096
+ title?: string | undefined;
1097
+ content?: string | undefined;
1098
+ } | undefined;
1099
+ commentReactionMilestoneSpecific?: {
1100
+ title?: string | undefined;
1101
+ content?: string | undefined;
1102
+ } | undefined;
1103
+ commentReactionMilestoneTotal?: {
1104
+ title?: string | undefined;
1105
+ content?: string | undefined;
1106
+ } | undefined;
783
1107
  newFollow?: {
784
1108
  title?: string | undefined;
785
1109
  content?: string | undefined;
@@ -961,6 +1285,98 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
961
1285
  userId: string;
962
1286
  isRead: boolean;
963
1287
  createdAt: string;
1288
+ } | {
1289
+ type: "entity-reaction-milestone-specific";
1290
+ action: "open-entity";
1291
+ metadata: {
1292
+ entityId: string;
1293
+ entityShortId: string;
1294
+ entityTitle: string | null | undefined;
1295
+ entityContent: string | null | undefined;
1296
+ reactionType: string;
1297
+ milestoneCount: number;
1298
+ lastThreeUsers: {
1299
+ id: string;
1300
+ name: string | null | undefined;
1301
+ username: string | null | undefined;
1302
+ avatar: string | null | undefined;
1303
+ }[];
1304
+ };
1305
+ id: string;
1306
+ userId: string;
1307
+ isRead: boolean;
1308
+ createdAt: string;
1309
+ } | {
1310
+ type: "entity-reaction-milestone-total";
1311
+ action: "open-entity";
1312
+ metadata: {
1313
+ entityId: string;
1314
+ entityShortId: string;
1315
+ entityTitle: string | null | undefined;
1316
+ entityContent: string | null | undefined;
1317
+ milestoneCount: number;
1318
+ reactionCounts: {
1319
+ [x: string]: number;
1320
+ };
1321
+ lastThreeUsers: {
1322
+ id: string;
1323
+ name: string | null | undefined;
1324
+ username: string | null | undefined;
1325
+ avatar: string | null | undefined;
1326
+ }[];
1327
+ };
1328
+ id: string;
1329
+ userId: string;
1330
+ isRead: boolean;
1331
+ createdAt: string;
1332
+ } | {
1333
+ type: "comment-reaction-milestone-specific";
1334
+ action: "open-comment";
1335
+ metadata: {
1336
+ entityId: string;
1337
+ entityShortId: string;
1338
+ entityTitle: string | null | undefined;
1339
+ entityContent: string | null | undefined;
1340
+ commentId: string;
1341
+ commentContent: string | null | undefined;
1342
+ reactionType: string;
1343
+ milestoneCount: number;
1344
+ lastThreeUsers: {
1345
+ id: string;
1346
+ name: string | null | undefined;
1347
+ username: string | null | undefined;
1348
+ avatar: string | null | undefined;
1349
+ }[];
1350
+ };
1351
+ id: string;
1352
+ userId: string;
1353
+ isRead: boolean;
1354
+ createdAt: string;
1355
+ } | {
1356
+ type: "comment-reaction-milestone-total";
1357
+ action: "open-comment";
1358
+ metadata: {
1359
+ entityId: string;
1360
+ entityShortId: string;
1361
+ entityTitle: string | null | undefined;
1362
+ entityContent: string | null | undefined;
1363
+ commentId: string;
1364
+ commentContent: string | null | undefined;
1365
+ milestoneCount: number;
1366
+ reactionCounts: {
1367
+ [x: string]: number;
1368
+ };
1369
+ lastThreeUsers: {
1370
+ id: string;
1371
+ name: string | null | undefined;
1372
+ username: string | null | undefined;
1373
+ avatar: string | null | undefined;
1374
+ }[];
1375
+ };
1376
+ id: string;
1377
+ userId: string;
1378
+ isRead: boolean;
1379
+ createdAt: string;
964
1380
  } | {
965
1381
  type: "new-follow";
966
1382
  action: "open-profile";
@@ -1041,19 +1457,35 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1041
1457
  title?: string | undefined;
1042
1458
  content?: string | undefined;
1043
1459
  } | undefined;
1044
- newFollow?: {
1460
+ entityReactionMilestoneSpecific?: {
1045
1461
  title?: string | undefined;
1046
1462
  content?: string | undefined;
1047
1463
  } | undefined;
1048
- connectionRequest?: {
1464
+ entityReactionMilestoneTotal?: {
1049
1465
  title?: string | undefined;
1050
1466
  content?: string | undefined;
1051
1467
  } | undefined;
1052
- connectionAccepted?: {
1468
+ commentReactionMilestoneSpecific?: {
1053
1469
  title?: string | undefined;
1054
1470
  content?: string | undefined;
1055
1471
  } | undefined;
1056
- } | undefined;
1472
+ commentReactionMilestoneTotal?: {
1473
+ title?: string | undefined;
1474
+ content?: string | undefined;
1475
+ } | undefined;
1476
+ newFollow?: {
1477
+ title?: string | undefined;
1478
+ content?: string | undefined;
1479
+ } | undefined;
1480
+ connectionRequest?: {
1481
+ title?: string | undefined;
1482
+ content?: string | undefined;
1483
+ } | undefined;
1484
+ connectionAccepted?: {
1485
+ title?: string | undefined;
1486
+ content?: string | undefined;
1487
+ } | undefined;
1488
+ } | undefined;
1057
1489
  currentProjectId?: string | undefined;
1058
1490
  }) => void;
1059
1491
  loadMore: (state: {
@@ -1222,6 +1654,98 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1222
1654
  userId: string;
1223
1655
  isRead: boolean;
1224
1656
  createdAt: string;
1657
+ } | {
1658
+ type: "entity-reaction-milestone-specific";
1659
+ action: "open-entity";
1660
+ metadata: {
1661
+ entityId: string;
1662
+ entityShortId: string;
1663
+ entityTitle: string | null | undefined;
1664
+ entityContent: string | null | undefined;
1665
+ reactionType: string;
1666
+ milestoneCount: number;
1667
+ lastThreeUsers: {
1668
+ id: string;
1669
+ name: string | null | undefined;
1670
+ username: string | null | undefined;
1671
+ avatar: string | null | undefined;
1672
+ }[];
1673
+ };
1674
+ id: string;
1675
+ userId: string;
1676
+ isRead: boolean;
1677
+ createdAt: string;
1678
+ } | {
1679
+ type: "entity-reaction-milestone-total";
1680
+ action: "open-entity";
1681
+ metadata: {
1682
+ entityId: string;
1683
+ entityShortId: string;
1684
+ entityTitle: string | null | undefined;
1685
+ entityContent: string | null | undefined;
1686
+ milestoneCount: number;
1687
+ reactionCounts: {
1688
+ [x: string]: number;
1689
+ };
1690
+ lastThreeUsers: {
1691
+ id: string;
1692
+ name: string | null | undefined;
1693
+ username: string | null | undefined;
1694
+ avatar: string | null | undefined;
1695
+ }[];
1696
+ };
1697
+ id: string;
1698
+ userId: string;
1699
+ isRead: boolean;
1700
+ createdAt: string;
1701
+ } | {
1702
+ type: "comment-reaction-milestone-specific";
1703
+ action: "open-comment";
1704
+ metadata: {
1705
+ entityId: string;
1706
+ entityShortId: string;
1707
+ entityTitle: string | null | undefined;
1708
+ entityContent: string | null | undefined;
1709
+ commentId: string;
1710
+ commentContent: string | null | undefined;
1711
+ reactionType: string;
1712
+ milestoneCount: number;
1713
+ lastThreeUsers: {
1714
+ id: string;
1715
+ name: string | null | undefined;
1716
+ username: string | null | undefined;
1717
+ avatar: string | null | undefined;
1718
+ }[];
1719
+ };
1720
+ id: string;
1721
+ userId: string;
1722
+ isRead: boolean;
1723
+ createdAt: string;
1724
+ } | {
1725
+ type: "comment-reaction-milestone-total";
1726
+ action: "open-comment";
1727
+ metadata: {
1728
+ entityId: string;
1729
+ entityShortId: string;
1730
+ entityTitle: string | null | undefined;
1731
+ entityContent: string | null | undefined;
1732
+ commentId: string;
1733
+ commentContent: string | null | undefined;
1734
+ milestoneCount: number;
1735
+ reactionCounts: {
1736
+ [x: string]: number;
1737
+ };
1738
+ lastThreeUsers: {
1739
+ id: string;
1740
+ name: string | null | undefined;
1741
+ username: string | null | undefined;
1742
+ avatar: string | null | undefined;
1743
+ }[];
1744
+ };
1745
+ id: string;
1746
+ userId: string;
1747
+ isRead: boolean;
1748
+ createdAt: string;
1225
1749
  } | {
1226
1750
  type: "new-follow";
1227
1751
  action: "open-profile";
@@ -1302,6 +1826,22 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1302
1826
  title?: string | undefined;
1303
1827
  content?: string | undefined;
1304
1828
  } | undefined;
1829
+ entityReactionMilestoneSpecific?: {
1830
+ title?: string | undefined;
1831
+ content?: string | undefined;
1832
+ } | undefined;
1833
+ entityReactionMilestoneTotal?: {
1834
+ title?: string | undefined;
1835
+ content?: string | undefined;
1836
+ } | undefined;
1837
+ commentReactionMilestoneSpecific?: {
1838
+ title?: string | undefined;
1839
+ content?: string | undefined;
1840
+ } | undefined;
1841
+ commentReactionMilestoneTotal?: {
1842
+ title?: string | undefined;
1843
+ content?: string | undefined;
1844
+ } | undefined;
1305
1845
  newFollow?: {
1306
1846
  title?: string | undefined;
1307
1847
  content?: string | undefined;
@@ -1483,6 +2023,98 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1483
2023
  userId: string;
1484
2024
  isRead: boolean;
1485
2025
  createdAt: string;
2026
+ } | {
2027
+ type: "entity-reaction-milestone-specific";
2028
+ action: "open-entity";
2029
+ metadata: {
2030
+ entityId: string;
2031
+ entityShortId: string;
2032
+ entityTitle: string | null | undefined;
2033
+ entityContent: string | null | undefined;
2034
+ reactionType: string;
2035
+ milestoneCount: number;
2036
+ lastThreeUsers: {
2037
+ id: string;
2038
+ name: string | null | undefined;
2039
+ username: string | null | undefined;
2040
+ avatar: string | null | undefined;
2041
+ }[];
2042
+ };
2043
+ id: string;
2044
+ userId: string;
2045
+ isRead: boolean;
2046
+ createdAt: string;
2047
+ } | {
2048
+ type: "entity-reaction-milestone-total";
2049
+ action: "open-entity";
2050
+ metadata: {
2051
+ entityId: string;
2052
+ entityShortId: string;
2053
+ entityTitle: string | null | undefined;
2054
+ entityContent: string | null | undefined;
2055
+ milestoneCount: number;
2056
+ reactionCounts: {
2057
+ [x: string]: number;
2058
+ };
2059
+ lastThreeUsers: {
2060
+ id: string;
2061
+ name: string | null | undefined;
2062
+ username: string | null | undefined;
2063
+ avatar: string | null | undefined;
2064
+ }[];
2065
+ };
2066
+ id: string;
2067
+ userId: string;
2068
+ isRead: boolean;
2069
+ createdAt: string;
2070
+ } | {
2071
+ type: "comment-reaction-milestone-specific";
2072
+ action: "open-comment";
2073
+ metadata: {
2074
+ entityId: string;
2075
+ entityShortId: string;
2076
+ entityTitle: string | null | undefined;
2077
+ entityContent: string | null | undefined;
2078
+ commentId: string;
2079
+ commentContent: string | null | undefined;
2080
+ reactionType: string;
2081
+ milestoneCount: number;
2082
+ lastThreeUsers: {
2083
+ id: string;
2084
+ name: string | null | undefined;
2085
+ username: string | null | undefined;
2086
+ avatar: string | null | undefined;
2087
+ }[];
2088
+ };
2089
+ id: string;
2090
+ userId: string;
2091
+ isRead: boolean;
2092
+ createdAt: string;
2093
+ } | {
2094
+ type: "comment-reaction-milestone-total";
2095
+ action: "open-comment";
2096
+ metadata: {
2097
+ entityId: string;
2098
+ entityShortId: string;
2099
+ entityTitle: string | null | undefined;
2100
+ entityContent: string | null | undefined;
2101
+ commentId: string;
2102
+ commentContent: string | null | undefined;
2103
+ milestoneCount: number;
2104
+ reactionCounts: {
2105
+ [x: string]: number;
2106
+ };
2107
+ lastThreeUsers: {
2108
+ id: string;
2109
+ name: string | null | undefined;
2110
+ username: string | null | undefined;
2111
+ avatar: string | null | undefined;
2112
+ }[];
2113
+ };
2114
+ id: string;
2115
+ userId: string;
2116
+ isRead: boolean;
2117
+ createdAt: string;
1486
2118
  } | {
1487
2119
  type: "new-follow";
1488
2120
  action: "open-profile";
@@ -1563,6 +2195,22 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1563
2195
  title?: string | undefined;
1564
2196
  content?: string | undefined;
1565
2197
  } | undefined;
2198
+ entityReactionMilestoneSpecific?: {
2199
+ title?: string | undefined;
2200
+ content?: string | undefined;
2201
+ } | undefined;
2202
+ entityReactionMilestoneTotal?: {
2203
+ title?: string | undefined;
2204
+ content?: string | undefined;
2205
+ } | undefined;
2206
+ commentReactionMilestoneSpecific?: {
2207
+ title?: string | undefined;
2208
+ content?: string | undefined;
2209
+ } | undefined;
2210
+ commentReactionMilestoneTotal?: {
2211
+ title?: string | undefined;
2212
+ content?: string | undefined;
2213
+ } | undefined;
1566
2214
  newFollow?: {
1567
2215
  title?: string | undefined;
1568
2216
  content?: string | undefined;
@@ -1744,6 +2392,98 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1744
2392
  userId: string;
1745
2393
  isRead: boolean;
1746
2394
  createdAt: string;
2395
+ } | {
2396
+ type: "entity-reaction-milestone-specific";
2397
+ action: "open-entity";
2398
+ metadata: {
2399
+ entityId: string;
2400
+ entityShortId: string;
2401
+ entityTitle: string | null | undefined;
2402
+ entityContent: string | null | undefined;
2403
+ reactionType: string;
2404
+ milestoneCount: number;
2405
+ lastThreeUsers: {
2406
+ id: string;
2407
+ name: string | null | undefined;
2408
+ username: string | null | undefined;
2409
+ avatar: string | null | undefined;
2410
+ }[];
2411
+ };
2412
+ id: string;
2413
+ userId: string;
2414
+ isRead: boolean;
2415
+ createdAt: string;
2416
+ } | {
2417
+ type: "entity-reaction-milestone-total";
2418
+ action: "open-entity";
2419
+ metadata: {
2420
+ entityId: string;
2421
+ entityShortId: string;
2422
+ entityTitle: string | null | undefined;
2423
+ entityContent: string | null | undefined;
2424
+ milestoneCount: number;
2425
+ reactionCounts: {
2426
+ [x: string]: number;
2427
+ };
2428
+ lastThreeUsers: {
2429
+ id: string;
2430
+ name: string | null | undefined;
2431
+ username: string | null | undefined;
2432
+ avatar: string | null | undefined;
2433
+ }[];
2434
+ };
2435
+ id: string;
2436
+ userId: string;
2437
+ isRead: boolean;
2438
+ createdAt: string;
2439
+ } | {
2440
+ type: "comment-reaction-milestone-specific";
2441
+ action: "open-comment";
2442
+ metadata: {
2443
+ entityId: string;
2444
+ entityShortId: string;
2445
+ entityTitle: string | null | undefined;
2446
+ entityContent: string | null | undefined;
2447
+ commentId: string;
2448
+ commentContent: string | null | undefined;
2449
+ reactionType: string;
2450
+ milestoneCount: number;
2451
+ lastThreeUsers: {
2452
+ id: string;
2453
+ name: string | null | undefined;
2454
+ username: string | null | undefined;
2455
+ avatar: string | null | undefined;
2456
+ }[];
2457
+ };
2458
+ id: string;
2459
+ userId: string;
2460
+ isRead: boolean;
2461
+ createdAt: string;
2462
+ } | {
2463
+ type: "comment-reaction-milestone-total";
2464
+ action: "open-comment";
2465
+ metadata: {
2466
+ entityId: string;
2467
+ entityShortId: string;
2468
+ entityTitle: string | null | undefined;
2469
+ entityContent: string | null | undefined;
2470
+ commentId: string;
2471
+ commentContent: string | null | undefined;
2472
+ milestoneCount: number;
2473
+ reactionCounts: {
2474
+ [x: string]: number;
2475
+ };
2476
+ lastThreeUsers: {
2477
+ id: string;
2478
+ name: string | null | undefined;
2479
+ username: string | null | undefined;
2480
+ avatar: string | null | undefined;
2481
+ }[];
2482
+ };
2483
+ id: string;
2484
+ userId: string;
2485
+ isRead: boolean;
2486
+ createdAt: string;
1747
2487
  } | {
1748
2488
  type: "new-follow";
1749
2489
  action: "open-profile";
@@ -1824,6 +2564,22 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1824
2564
  title?: string | undefined;
1825
2565
  content?: string | undefined;
1826
2566
  } | undefined;
2567
+ entityReactionMilestoneSpecific?: {
2568
+ title?: string | undefined;
2569
+ content?: string | undefined;
2570
+ } | undefined;
2571
+ entityReactionMilestoneTotal?: {
2572
+ title?: string | undefined;
2573
+ content?: string | undefined;
2574
+ } | undefined;
2575
+ commentReactionMilestoneSpecific?: {
2576
+ title?: string | undefined;
2577
+ content?: string | undefined;
2578
+ } | undefined;
2579
+ commentReactionMilestoneTotal?: {
2580
+ title?: string | undefined;
2581
+ content?: string | undefined;
2582
+ } | undefined;
1827
2583
  newFollow?: {
1828
2584
  title?: string | undefined;
1829
2585
  content?: string | undefined;
@@ -1860,15 +2616,89 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1860
2616
  isRead: boolean;
1861
2617
  createdAt: string;
1862
2618
  } | {
1863
- type: "entity-comment";
1864
- action: "open-comment";
2619
+ type: "entity-comment";
2620
+ action: "open-comment";
2621
+ metadata: {
2622
+ entityId: string;
2623
+ entityShortId: string;
2624
+ entityTitle: string | null | undefined;
2625
+ entityContent: string | null | undefined;
2626
+ commentId: string;
2627
+ commentContent: string | null | undefined;
2628
+ initiatorId: string;
2629
+ initiatorName: string | null | undefined;
2630
+ initiatorUsername: string | null | undefined;
2631
+ initiatorAvatar: string | null | undefined;
2632
+ };
2633
+ id: string;
2634
+ userId: string;
2635
+ isRead: boolean;
2636
+ createdAt: string;
2637
+ } | {
2638
+ type: "comment-reply";
2639
+ action: "open-comment";
2640
+ metadata: {
2641
+ entityId: string;
2642
+ entityShortId: string;
2643
+ entityTitle: string | null | undefined;
2644
+ entityContent: string | null | undefined;
2645
+ commentId: string;
2646
+ commentContent: string | null | undefined;
2647
+ replyId: string;
2648
+ replyContent: string | null | undefined;
2649
+ initiatorId: string;
2650
+ initiatorName: string | null | undefined;
2651
+ initiatorUsername: string | null | undefined;
2652
+ initiatorAvatar: string | null | undefined;
2653
+ };
2654
+ id: string;
2655
+ userId: string;
2656
+ isRead: boolean;
2657
+ createdAt: string;
2658
+ } | {
2659
+ type: "entity-mention";
2660
+ action: "open-entity";
2661
+ metadata: {
2662
+ entityId: string;
2663
+ entityShortId: string;
2664
+ entityTitle: string | null | undefined;
2665
+ entityContent: string | null | undefined;
2666
+ initiatorId: string;
2667
+ initiatorName: string | null | undefined;
2668
+ initiatorUsername: string | null | undefined;
2669
+ initiatorAvatar: string | null | undefined;
2670
+ };
2671
+ id: string;
2672
+ userId: string;
2673
+ isRead: boolean;
2674
+ createdAt: string;
2675
+ } | {
2676
+ type: "comment-mention";
2677
+ action: "open-comment";
2678
+ metadata: {
2679
+ entityId: string;
2680
+ entityShortId: string;
2681
+ entityTitle: string | null | undefined;
2682
+ entityContent: string | null | undefined;
2683
+ commentId: string;
2684
+ commentContent: string | null | undefined;
2685
+ initiatorId: string;
2686
+ initiatorName: string | null | undefined;
2687
+ initiatorUsername: string | null | undefined;
2688
+ initiatorAvatar: string | null | undefined;
2689
+ };
2690
+ id: string;
2691
+ userId: string;
2692
+ isRead: boolean;
2693
+ createdAt: string;
2694
+ } | {
2695
+ type: "entity-upvote";
2696
+ action: "open-entity";
1865
2697
  metadata: {
1866
2698
  entityId: string;
1867
2699
  entityShortId: string;
1868
2700
  entityTitle: string | null | undefined;
1869
2701
  entityContent: string | null | undefined;
1870
- commentId: string;
1871
- commentContent: string | null | undefined;
1872
2702
  initiatorId: string;
1873
2703
  initiatorName: string | null | undefined;
1874
2704
  initiatorUsername: string | null | undefined;
@@ -1879,7 +2709,7 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1879
2709
  isRead: boolean;
1880
2710
  createdAt: string;
1881
2711
  } | {
1882
- type: "comment-reply";
2712
+ type: "comment-upvote";
1883
2713
  action: "open-comment";
1884
2714
  metadata: {
1885
2715
  entityId: string;
@@ -1888,8 +2718,6 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1888
2718
  entityContent: string | null | undefined;
1889
2719
  commentId: string;
1890
2720
  commentContent: string | null | undefined;
1891
- replyId: string;
1892
- replyContent: string | null | undefined;
1893
2721
  initiatorId: string;
1894
2722
  initiatorName: string | null | undefined;
1895
2723
  initiatorUsername: string | null | undefined;
@@ -1900,13 +2728,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1900
2728
  isRead: boolean;
1901
2729
  createdAt: string;
1902
2730
  } | {
1903
- type: "entity-mention";
2731
+ type: "entity-reaction";
1904
2732
  action: "open-entity";
1905
2733
  metadata: {
1906
2734
  entityId: string;
1907
2735
  entityShortId: string;
1908
2736
  entityTitle: string | null | undefined;
1909
2737
  entityContent: string | null | undefined;
2738
+ reactionType: string;
1910
2739
  initiatorId: string;
1911
2740
  initiatorName: string | null | undefined;
1912
2741
  initiatorUsername: string | null | undefined;
@@ -1917,7 +2746,7 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1917
2746
  isRead: boolean;
1918
2747
  createdAt: string;
1919
2748
  } | {
1920
- type: "comment-mention";
2749
+ type: "comment-reaction";
1921
2750
  action: "open-comment";
1922
2751
  metadata: {
1923
2752
  entityId: string;
@@ -1926,6 +2755,7 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1926
2755
  entityContent: string | null | undefined;
1927
2756
  commentId: string;
1928
2757
  commentContent: string | null | undefined;
2758
+ reactionType: string;
1929
2759
  initiatorId: string;
1930
2760
  initiatorName: string | null | undefined;
1931
2761
  initiatorUsername: string | null | undefined;
@@ -1936,61 +2766,74 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1936
2766
  isRead: boolean;
1937
2767
  createdAt: string;
1938
2768
  } | {
1939
- type: "entity-upvote";
2769
+ type: "entity-reaction-milestone-specific";
1940
2770
  action: "open-entity";
1941
2771
  metadata: {
1942
2772
  entityId: string;
1943
2773
  entityShortId: string;
1944
2774
  entityTitle: string | null | undefined;
1945
2775
  entityContent: string | null | undefined;
1946
- initiatorId: string;
1947
- initiatorName: string | null | undefined;
1948
- initiatorUsername: string | null | undefined;
1949
- initiatorAvatar: string | null | undefined;
2776
+ reactionType: string;
2777
+ milestoneCount: number;
2778
+ lastThreeUsers: {
2779
+ id: string;
2780
+ name: string | null | undefined;
2781
+ username: string | null | undefined;
2782
+ avatar: string | null | undefined;
2783
+ }[];
1950
2784
  };
1951
2785
  id: string;
1952
2786
  userId: string;
1953
2787
  isRead: boolean;
1954
2788
  createdAt: string;
1955
2789
  } | {
1956
- type: "comment-upvote";
1957
- action: "open-comment";
2790
+ type: "entity-reaction-milestone-total";
2791
+ action: "open-entity";
1958
2792
  metadata: {
1959
2793
  entityId: string;
1960
2794
  entityShortId: string;
1961
2795
  entityTitle: string | null | undefined;
1962
2796
  entityContent: string | null | undefined;
1963
- commentId: string;
1964
- commentContent: string | null | undefined;
1965
- initiatorId: string;
1966
- initiatorName: string | null | undefined;
1967
- initiatorUsername: string | null | undefined;
1968
- initiatorAvatar: string | null | undefined;
2797
+ milestoneCount: number;
2798
+ reactionCounts: {
2799
+ [x: string]: number;
2800
+ };
2801
+ lastThreeUsers: {
2802
+ id: string;
2803
+ name: string | null | undefined;
2804
+ username: string | null | undefined;
2805
+ avatar: string | null | undefined;
2806
+ }[];
1969
2807
  };
1970
2808
  id: string;
1971
2809
  userId: string;
1972
2810
  isRead: boolean;
1973
2811
  createdAt: string;
1974
2812
  } | {
1975
- type: "entity-reaction";
1976
- action: "open-entity";
2813
+ type: "comment-reaction-milestone-specific";
2814
+ action: "open-comment";
1977
2815
  metadata: {
1978
2816
  entityId: string;
1979
2817
  entityShortId: string;
1980
2818
  entityTitle: string | null | undefined;
1981
2819
  entityContent: string | null | undefined;
2820
+ commentId: string;
2821
+ commentContent: string | null | undefined;
1982
2822
  reactionType: string;
1983
- initiatorId: string;
1984
- initiatorName: string | null | undefined;
1985
- initiatorUsername: string | null | undefined;
1986
- initiatorAvatar: string | null | undefined;
2823
+ milestoneCount: number;
2824
+ lastThreeUsers: {
2825
+ id: string;
2826
+ name: string | null | undefined;
2827
+ username: string | null | undefined;
2828
+ avatar: string | null | undefined;
2829
+ }[];
1987
2830
  };
1988
2831
  id: string;
1989
2832
  userId: string;
1990
2833
  isRead: boolean;
1991
2834
  createdAt: string;
1992
2835
  } | {
1993
- type: "comment-reaction";
2836
+ type: "comment-reaction-milestone-total";
1994
2837
  action: "open-comment";
1995
2838
  metadata: {
1996
2839
  entityId: string;
@@ -1999,11 +2842,16 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1999
2842
  entityContent: string | null | undefined;
2000
2843
  commentId: string;
2001
2844
  commentContent: string | null | undefined;
2002
- reactionType: string;
2003
- initiatorId: string;
2004
- initiatorName: string | null | undefined;
2005
- initiatorUsername: string | null | undefined;
2006
- initiatorAvatar: string | null | undefined;
2845
+ milestoneCount: number;
2846
+ reactionCounts: {
2847
+ [x: string]: number;
2848
+ };
2849
+ lastThreeUsers: {
2850
+ id: string;
2851
+ name: string | null | undefined;
2852
+ username: string | null | undefined;
2853
+ avatar: string | null | undefined;
2854
+ }[];
2007
2855
  };
2008
2856
  id: string;
2009
2857
  userId: string;
@@ -2089,6 +2937,22 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2089
2937
  title?: string | undefined;
2090
2938
  content?: string | undefined;
2091
2939
  } | undefined;
2940
+ entityReactionMilestoneSpecific?: {
2941
+ title?: string | undefined;
2942
+ content?: string | undefined;
2943
+ } | undefined;
2944
+ entityReactionMilestoneTotal?: {
2945
+ title?: string | undefined;
2946
+ content?: string | undefined;
2947
+ } | undefined;
2948
+ commentReactionMilestoneSpecific?: {
2949
+ title?: string | undefined;
2950
+ content?: string | undefined;
2951
+ } | undefined;
2952
+ commentReactionMilestoneTotal?: {
2953
+ title?: string | undefined;
2954
+ content?: string | undefined;
2955
+ } | undefined;
2092
2956
  newFollow?: {
2093
2957
  title?: string | undefined;
2094
2958
  content?: string | undefined;
@@ -2270,6 +3134,98 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2270
3134
  userId: string;
2271
3135
  isRead: boolean;
2272
3136
  createdAt: string;
3137
+ } | {
3138
+ type: "entity-reaction-milestone-specific";
3139
+ action: "open-entity";
3140
+ metadata: {
3141
+ entityId: string;
3142
+ entityShortId: string;
3143
+ entityTitle: string | null | undefined;
3144
+ entityContent: string | null | undefined;
3145
+ reactionType: string;
3146
+ milestoneCount: number;
3147
+ lastThreeUsers: {
3148
+ id: string;
3149
+ name: string | null | undefined;
3150
+ username: string | null | undefined;
3151
+ avatar: string | null | undefined;
3152
+ }[];
3153
+ };
3154
+ id: string;
3155
+ userId: string;
3156
+ isRead: boolean;
3157
+ createdAt: string;
3158
+ } | {
3159
+ type: "entity-reaction-milestone-total";
3160
+ action: "open-entity";
3161
+ metadata: {
3162
+ entityId: string;
3163
+ entityShortId: string;
3164
+ entityTitle: string | null | undefined;
3165
+ entityContent: string | null | undefined;
3166
+ milestoneCount: number;
3167
+ reactionCounts: {
3168
+ [x: string]: number;
3169
+ };
3170
+ lastThreeUsers: {
3171
+ id: string;
3172
+ name: string | null | undefined;
3173
+ username: string | null | undefined;
3174
+ avatar: string | null | undefined;
3175
+ }[];
3176
+ };
3177
+ id: string;
3178
+ userId: string;
3179
+ isRead: boolean;
3180
+ createdAt: string;
3181
+ } | {
3182
+ type: "comment-reaction-milestone-specific";
3183
+ action: "open-comment";
3184
+ metadata: {
3185
+ entityId: string;
3186
+ entityShortId: string;
3187
+ entityTitle: string | null | undefined;
3188
+ entityContent: string | null | undefined;
3189
+ commentId: string;
3190
+ commentContent: string | null | undefined;
3191
+ reactionType: string;
3192
+ milestoneCount: number;
3193
+ lastThreeUsers: {
3194
+ id: string;
3195
+ name: string | null | undefined;
3196
+ username: string | null | undefined;
3197
+ avatar: string | null | undefined;
3198
+ }[];
3199
+ };
3200
+ id: string;
3201
+ userId: string;
3202
+ isRead: boolean;
3203
+ createdAt: string;
3204
+ } | {
3205
+ type: "comment-reaction-milestone-total";
3206
+ action: "open-comment";
3207
+ metadata: {
3208
+ entityId: string;
3209
+ entityShortId: string;
3210
+ entityTitle: string | null | undefined;
3211
+ entityContent: string | null | undefined;
3212
+ commentId: string;
3213
+ commentContent: string | null | undefined;
3214
+ milestoneCount: number;
3215
+ reactionCounts: {
3216
+ [x: string]: number;
3217
+ };
3218
+ lastThreeUsers: {
3219
+ id: string;
3220
+ name: string | null | undefined;
3221
+ username: string | null | undefined;
3222
+ avatar: string | null | undefined;
3223
+ }[];
3224
+ };
3225
+ id: string;
3226
+ userId: string;
3227
+ isRead: boolean;
3228
+ createdAt: string;
2273
3229
  } | {
2274
3230
  type: "new-follow";
2275
3231
  action: "open-profile";
@@ -2350,6 +3306,22 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2350
3306
  title?: string | undefined;
2351
3307
  content?: string | undefined;
2352
3308
  } | undefined;
3309
+ entityReactionMilestoneSpecific?: {
3310
+ title?: string | undefined;
3311
+ content?: string | undefined;
3312
+ } | undefined;
3313
+ entityReactionMilestoneTotal?: {
3314
+ title?: string | undefined;
3315
+ content?: string | undefined;
3316
+ } | undefined;
3317
+ commentReactionMilestoneSpecific?: {
3318
+ title?: string | undefined;
3319
+ content?: string | undefined;
3320
+ } | undefined;
3321
+ commentReactionMilestoneTotal?: {
3322
+ title?: string | undefined;
3323
+ content?: string | undefined;
3324
+ } | undefined;
2353
3325
  newFollow?: {
2354
3326
  title?: string | undefined;
2355
3327
  content?: string | undefined;
@@ -2531,6 +3503,98 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2531
3503
  userId: string;
2532
3504
  isRead: boolean;
2533
3505
  createdAt: string;
3506
+ } | {
3507
+ type: "entity-reaction-milestone-specific";
3508
+ action: "open-entity";
3509
+ metadata: {
3510
+ entityId: string;
3511
+ entityShortId: string;
3512
+ entityTitle: string | null | undefined;
3513
+ entityContent: string | null | undefined;
3514
+ reactionType: string;
3515
+ milestoneCount: number;
3516
+ lastThreeUsers: {
3517
+ id: string;
3518
+ name: string | null | undefined;
3519
+ username: string | null | undefined;
3520
+ avatar: string | null | undefined;
3521
+ }[];
3522
+ };
3523
+ id: string;
3524
+ userId: string;
3525
+ isRead: boolean;
3526
+ createdAt: string;
3527
+ } | {
3528
+ type: "entity-reaction-milestone-total";
3529
+ action: "open-entity";
3530
+ metadata: {
3531
+ entityId: string;
3532
+ entityShortId: string;
3533
+ entityTitle: string | null | undefined;
3534
+ entityContent: string | null | undefined;
3535
+ milestoneCount: number;
3536
+ reactionCounts: {
3537
+ [x: string]: number;
3538
+ };
3539
+ lastThreeUsers: {
3540
+ id: string;
3541
+ name: string | null | undefined;
3542
+ username: string | null | undefined;
3543
+ avatar: string | null | undefined;
3544
+ }[];
3545
+ };
3546
+ id: string;
3547
+ userId: string;
3548
+ isRead: boolean;
3549
+ createdAt: string;
3550
+ } | {
3551
+ type: "comment-reaction-milestone-specific";
3552
+ action: "open-comment";
3553
+ metadata: {
3554
+ entityId: string;
3555
+ entityShortId: string;
3556
+ entityTitle: string | null | undefined;
3557
+ entityContent: string | null | undefined;
3558
+ commentId: string;
3559
+ commentContent: string | null | undefined;
3560
+ reactionType: string;
3561
+ milestoneCount: number;
3562
+ lastThreeUsers: {
3563
+ id: string;
3564
+ name: string | null | undefined;
3565
+ username: string | null | undefined;
3566
+ avatar: string | null | undefined;
3567
+ }[];
3568
+ };
3569
+ id: string;
3570
+ userId: string;
3571
+ isRead: boolean;
3572
+ createdAt: string;
3573
+ } | {
3574
+ type: "comment-reaction-milestone-total";
3575
+ action: "open-comment";
3576
+ metadata: {
3577
+ entityId: string;
3578
+ entityShortId: string;
3579
+ entityTitle: string | null | undefined;
3580
+ entityContent: string | null | undefined;
3581
+ commentId: string;
3582
+ commentContent: string | null | undefined;
3583
+ milestoneCount: number;
3584
+ reactionCounts: {
3585
+ [x: string]: number;
3586
+ };
3587
+ lastThreeUsers: {
3588
+ id: string;
3589
+ name: string | null | undefined;
3590
+ username: string | null | undefined;
3591
+ avatar: string | null | undefined;
3592
+ }[];
3593
+ };
3594
+ id: string;
3595
+ userId: string;
3596
+ isRead: boolean;
3597
+ createdAt: string;
2534
3598
  } | {
2535
3599
  type: "new-follow";
2536
3600
  action: "open-profile";
@@ -2611,6 +3675,22 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2611
3675
  title?: string | undefined;
2612
3676
  content?: string | undefined;
2613
3677
  } | undefined;
3678
+ entityReactionMilestoneSpecific?: {
3679
+ title?: string | undefined;
3680
+ content?: string | undefined;
3681
+ } | undefined;
3682
+ entityReactionMilestoneTotal?: {
3683
+ title?: string | undefined;
3684
+ content?: string | undefined;
3685
+ } | undefined;
3686
+ commentReactionMilestoneSpecific?: {
3687
+ title?: string | undefined;
3688
+ content?: string | undefined;
3689
+ } | undefined;
3690
+ commentReactionMilestoneTotal?: {
3691
+ title?: string | undefined;
3692
+ content?: string | undefined;
3693
+ } | undefined;
2614
3694
  newFollow?: {
2615
3695
  title?: string | undefined;
2616
3696
  content?: string | undefined;
@@ -2792,6 +3872,98 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2792
3872
  userId: string;
2793
3873
  isRead: boolean;
2794
3874
  createdAt: string;
3875
+ } | {
3876
+ type: "entity-reaction-milestone-specific";
3877
+ action: "open-entity";
3878
+ metadata: {
3879
+ entityId: string;
3880
+ entityShortId: string;
3881
+ entityTitle: string | null | undefined;
3882
+ entityContent: string | null | undefined;
3883
+ reactionType: string;
3884
+ milestoneCount: number;
3885
+ lastThreeUsers: {
3886
+ id: string;
3887
+ name: string | null | undefined;
3888
+ username: string | null | undefined;
3889
+ avatar: string | null | undefined;
3890
+ }[];
3891
+ };
3892
+ id: string;
3893
+ userId: string;
3894
+ isRead: boolean;
3895
+ createdAt: string;
3896
+ } | {
3897
+ type: "entity-reaction-milestone-total";
3898
+ action: "open-entity";
3899
+ metadata: {
3900
+ entityId: string;
3901
+ entityShortId: string;
3902
+ entityTitle: string | null | undefined;
3903
+ entityContent: string | null | undefined;
3904
+ milestoneCount: number;
3905
+ reactionCounts: {
3906
+ [x: string]: number;
3907
+ };
3908
+ lastThreeUsers: {
3909
+ id: string;
3910
+ name: string | null | undefined;
3911
+ username: string | null | undefined;
3912
+ avatar: string | null | undefined;
3913
+ }[];
3914
+ };
3915
+ id: string;
3916
+ userId: string;
3917
+ isRead: boolean;
3918
+ createdAt: string;
3919
+ } | {
3920
+ type: "comment-reaction-milestone-specific";
3921
+ action: "open-comment";
3922
+ metadata: {
3923
+ entityId: string;
3924
+ entityShortId: string;
3925
+ entityTitle: string | null | undefined;
3926
+ entityContent: string | null | undefined;
3927
+ commentId: string;
3928
+ commentContent: string | null | undefined;
3929
+ reactionType: string;
3930
+ milestoneCount: number;
3931
+ lastThreeUsers: {
3932
+ id: string;
3933
+ name: string | null | undefined;
3934
+ username: string | null | undefined;
3935
+ avatar: string | null | undefined;
3936
+ }[];
3937
+ };
3938
+ id: string;
3939
+ userId: string;
3940
+ isRead: boolean;
3941
+ createdAt: string;
3942
+ } | {
3943
+ type: "comment-reaction-milestone-total";
3944
+ action: "open-comment";
3945
+ metadata: {
3946
+ entityId: string;
3947
+ entityShortId: string;
3948
+ entityTitle: string | null | undefined;
3949
+ entityContent: string | null | undefined;
3950
+ commentId: string;
3951
+ commentContent: string | null | undefined;
3952
+ milestoneCount: number;
3953
+ reactionCounts: {
3954
+ [x: string]: number;
3955
+ };
3956
+ lastThreeUsers: {
3957
+ id: string;
3958
+ name: string | null | undefined;
3959
+ username: string | null | undefined;
3960
+ avatar: string | null | undefined;
3961
+ }[];
3962
+ };
3963
+ id: string;
3964
+ userId: string;
3965
+ isRead: boolean;
3966
+ createdAt: string;
2795
3967
  } | {
2796
3968
  type: "new-follow";
2797
3969
  action: "open-profile";
@@ -2872,6 +4044,22 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2872
4044
  title?: string | undefined;
2873
4045
  content?: string | undefined;
2874
4046
  } | undefined;
4047
+ entityReactionMilestoneSpecific?: {
4048
+ title?: string | undefined;
4049
+ content?: string | undefined;
4050
+ } | undefined;
4051
+ entityReactionMilestoneTotal?: {
4052
+ title?: string | undefined;
4053
+ content?: string | undefined;
4054
+ } | undefined;
4055
+ commentReactionMilestoneSpecific?: {
4056
+ title?: string | undefined;
4057
+ content?: string | undefined;
4058
+ } | undefined;
4059
+ commentReactionMilestoneTotal?: {
4060
+ title?: string | undefined;
4061
+ content?: string | undefined;
4062
+ } | undefined;
2875
4063
  newFollow?: {
2876
4064
  title?: string | undefined;
2877
4065
  content?: string | undefined;