@replyke/core 7.0.0-beta.70 → 7.0.0-beta.72

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.
@@ -140,6 +140,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
140
140
  userId: string;
141
141
  isRead: boolean;
142
142
  createdAt: string;
143
+ } | {
144
+ type: "entity-reaction";
145
+ action: "open-entity";
146
+ metadata: {
147
+ entityId: string;
148
+ entityShortId: string;
149
+ entityTitle: string | null | undefined;
150
+ entityContent: string | null | undefined;
151
+ reactionType: string;
152
+ initiatorId: string;
153
+ initiatorName: string | null | undefined;
154
+ initiatorUsername: string | null | undefined;
155
+ initiatorAvatar: string | null | undefined;
156
+ };
157
+ id: string;
158
+ userId: string;
159
+ isRead: boolean;
160
+ createdAt: string;
161
+ } | {
162
+ type: "comment-reaction";
163
+ action: "open-comment";
164
+ metadata: {
165
+ entityId: string;
166
+ entityShortId: string;
167
+ entityTitle: string | null | undefined;
168
+ entityContent: string | null | undefined;
169
+ commentId: string;
170
+ commentContent: string | null | undefined;
171
+ reactionType: string;
172
+ initiatorId: string;
173
+ initiatorName: string | null | undefined;
174
+ initiatorUsername: string | null | undefined;
175
+ initiatorAvatar: string | null | undefined;
176
+ };
177
+ id: string;
178
+ userId: string;
179
+ isRead: boolean;
180
+ createdAt: string;
143
181
  } | {
144
182
  type: "new-follow";
145
183
  action: "open-profile";
@@ -212,6 +250,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
212
250
  title?: string | undefined;
213
251
  content?: string | undefined;
214
252
  } | undefined;
253
+ entityReaction?: {
254
+ title?: string | undefined;
255
+ content?: string | undefined;
256
+ } | undefined;
257
+ commentReaction?: {
258
+ title?: string | undefined;
259
+ content?: string | undefined;
260
+ } | undefined;
215
261
  newFollow?: {
216
262
  title?: string | undefined;
217
263
  content?: string | undefined;
@@ -355,6 +401,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
355
401
  userId: string;
356
402
  isRead: boolean;
357
403
  createdAt: string;
404
+ } | {
405
+ type: "entity-reaction";
406
+ action: "open-entity";
407
+ metadata: {
408
+ entityId: string;
409
+ entityShortId: string;
410
+ entityTitle: string | null | undefined;
411
+ entityContent: string | null | undefined;
412
+ reactionType: string;
413
+ initiatorId: string;
414
+ initiatorName: string | null | undefined;
415
+ initiatorUsername: string | null | undefined;
416
+ initiatorAvatar: string | null | undefined;
417
+ };
418
+ id: string;
419
+ userId: string;
420
+ isRead: boolean;
421
+ createdAt: string;
422
+ } | {
423
+ type: "comment-reaction";
424
+ action: "open-comment";
425
+ metadata: {
426
+ entityId: string;
427
+ entityShortId: string;
428
+ entityTitle: string | null | undefined;
429
+ entityContent: string | null | undefined;
430
+ commentId: string;
431
+ commentContent: string | null | undefined;
432
+ reactionType: string;
433
+ initiatorId: string;
434
+ initiatorName: string | null | undefined;
435
+ initiatorUsername: string | null | undefined;
436
+ initiatorAvatar: string | null | undefined;
437
+ };
438
+ id: string;
439
+ userId: string;
440
+ isRead: boolean;
441
+ createdAt: string;
358
442
  } | {
359
443
  type: "new-follow";
360
444
  action: "open-profile";
@@ -427,6 +511,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
427
511
  title?: string | undefined;
428
512
  content?: string | undefined;
429
513
  } | undefined;
514
+ entityReaction?: {
515
+ title?: string | undefined;
516
+ content?: string | undefined;
517
+ } | undefined;
518
+ commentReaction?: {
519
+ title?: string | undefined;
520
+ content?: string | undefined;
521
+ } | undefined;
430
522
  newFollow?: {
431
523
  title?: string | undefined;
432
524
  content?: string | undefined;
@@ -570,6 +662,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
570
662
  userId: string;
571
663
  isRead: boolean;
572
664
  createdAt: string;
665
+ } | {
666
+ type: "entity-reaction";
667
+ action: "open-entity";
668
+ metadata: {
669
+ entityId: string;
670
+ entityShortId: string;
671
+ entityTitle: string | null | undefined;
672
+ entityContent: string | null | undefined;
673
+ reactionType: string;
674
+ initiatorId: string;
675
+ initiatorName: string | null | undefined;
676
+ initiatorUsername: string | null | undefined;
677
+ initiatorAvatar: string | null | undefined;
678
+ };
679
+ id: string;
680
+ userId: string;
681
+ isRead: boolean;
682
+ createdAt: string;
683
+ } | {
684
+ type: "comment-reaction";
685
+ action: "open-comment";
686
+ metadata: {
687
+ entityId: string;
688
+ entityShortId: string;
689
+ entityTitle: string | null | undefined;
690
+ entityContent: string | null | undefined;
691
+ commentId: string;
692
+ commentContent: string | null | undefined;
693
+ reactionType: string;
694
+ initiatorId: string;
695
+ initiatorName: string | null | undefined;
696
+ initiatorUsername: string | null | undefined;
697
+ initiatorAvatar: string | null | undefined;
698
+ };
699
+ id: string;
700
+ userId: string;
701
+ isRead: boolean;
702
+ createdAt: string;
573
703
  } | {
574
704
  type: "new-follow";
575
705
  action: "open-profile";
@@ -642,6 +772,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
642
772
  title?: string | undefined;
643
773
  content?: string | undefined;
644
774
  } | undefined;
775
+ entityReaction?: {
776
+ title?: string | undefined;
777
+ content?: string | undefined;
778
+ } | undefined;
779
+ commentReaction?: {
780
+ title?: string | undefined;
781
+ content?: string | undefined;
782
+ } | undefined;
645
783
  newFollow?: {
646
784
  title?: string | undefined;
647
785
  content?: string | undefined;
@@ -785,6 +923,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
785
923
  userId: string;
786
924
  isRead: boolean;
787
925
  createdAt: string;
926
+ } | {
927
+ type: "entity-reaction";
928
+ action: "open-entity";
929
+ metadata: {
930
+ entityId: string;
931
+ entityShortId: string;
932
+ entityTitle: string | null | undefined;
933
+ entityContent: string | null | undefined;
934
+ reactionType: string;
935
+ initiatorId: string;
936
+ initiatorName: string | null | undefined;
937
+ initiatorUsername: string | null | undefined;
938
+ initiatorAvatar: string | null | undefined;
939
+ };
940
+ id: string;
941
+ userId: string;
942
+ isRead: boolean;
943
+ createdAt: string;
944
+ } | {
945
+ type: "comment-reaction";
946
+ action: "open-comment";
947
+ metadata: {
948
+ entityId: string;
949
+ entityShortId: string;
950
+ entityTitle: string | null | undefined;
951
+ entityContent: string | null | undefined;
952
+ commentId: string;
953
+ commentContent: string | null | undefined;
954
+ reactionType: string;
955
+ initiatorId: string;
956
+ initiatorName: string | null | undefined;
957
+ initiatorUsername: string | null | undefined;
958
+ initiatorAvatar: string | null | undefined;
959
+ };
960
+ id: string;
961
+ userId: string;
962
+ isRead: boolean;
963
+ createdAt: string;
788
964
  } | {
789
965
  type: "new-follow";
790
966
  action: "open-profile";
@@ -857,6 +1033,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
857
1033
  title?: string | undefined;
858
1034
  content?: string | undefined;
859
1035
  } | undefined;
1036
+ entityReaction?: {
1037
+ title?: string | undefined;
1038
+ content?: string | undefined;
1039
+ } | undefined;
1040
+ commentReaction?: {
1041
+ title?: string | undefined;
1042
+ content?: string | undefined;
1043
+ } | undefined;
860
1044
  newFollow?: {
861
1045
  title?: string | undefined;
862
1046
  content?: string | undefined;
@@ -1000,6 +1184,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1000
1184
  userId: string;
1001
1185
  isRead: boolean;
1002
1186
  createdAt: string;
1187
+ } | {
1188
+ type: "entity-reaction";
1189
+ action: "open-entity";
1190
+ metadata: {
1191
+ entityId: string;
1192
+ entityShortId: string;
1193
+ entityTitle: string | null | undefined;
1194
+ entityContent: string | null | undefined;
1195
+ reactionType: string;
1196
+ initiatorId: string;
1197
+ initiatorName: string | null | undefined;
1198
+ initiatorUsername: string | null | undefined;
1199
+ initiatorAvatar: string | null | undefined;
1200
+ };
1201
+ id: string;
1202
+ userId: string;
1203
+ isRead: boolean;
1204
+ createdAt: string;
1205
+ } | {
1206
+ type: "comment-reaction";
1207
+ action: "open-comment";
1208
+ metadata: {
1209
+ entityId: string;
1210
+ entityShortId: string;
1211
+ entityTitle: string | null | undefined;
1212
+ entityContent: string | null | undefined;
1213
+ commentId: string;
1214
+ commentContent: string | null | undefined;
1215
+ reactionType: string;
1216
+ initiatorId: string;
1217
+ initiatorName: string | null | undefined;
1218
+ initiatorUsername: string | null | undefined;
1219
+ initiatorAvatar: string | null | undefined;
1220
+ };
1221
+ id: string;
1222
+ userId: string;
1223
+ isRead: boolean;
1224
+ createdAt: string;
1003
1225
  } | {
1004
1226
  type: "new-follow";
1005
1227
  action: "open-profile";
@@ -1072,6 +1294,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1072
1294
  title?: string | undefined;
1073
1295
  content?: string | undefined;
1074
1296
  } | undefined;
1297
+ entityReaction?: {
1298
+ title?: string | undefined;
1299
+ content?: string | undefined;
1300
+ } | undefined;
1301
+ commentReaction?: {
1302
+ title?: string | undefined;
1303
+ content?: string | undefined;
1304
+ } | undefined;
1075
1305
  newFollow?: {
1076
1306
  title?: string | undefined;
1077
1307
  content?: string | undefined;
@@ -1215,6 +1445,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1215
1445
  userId: string;
1216
1446
  isRead: boolean;
1217
1447
  createdAt: string;
1448
+ } | {
1449
+ type: "entity-reaction";
1450
+ action: "open-entity";
1451
+ metadata: {
1452
+ entityId: string;
1453
+ entityShortId: string;
1454
+ entityTitle: string | null | undefined;
1455
+ entityContent: string | null | undefined;
1456
+ reactionType: string;
1457
+ initiatorId: string;
1458
+ initiatorName: string | null | undefined;
1459
+ initiatorUsername: string | null | undefined;
1460
+ initiatorAvatar: string | null | undefined;
1461
+ };
1462
+ id: string;
1463
+ userId: string;
1464
+ isRead: boolean;
1465
+ createdAt: string;
1466
+ } | {
1467
+ type: "comment-reaction";
1468
+ action: "open-comment";
1469
+ metadata: {
1470
+ entityId: string;
1471
+ entityShortId: string;
1472
+ entityTitle: string | null | undefined;
1473
+ entityContent: string | null | undefined;
1474
+ commentId: string;
1475
+ commentContent: string | null | undefined;
1476
+ reactionType: string;
1477
+ initiatorId: string;
1478
+ initiatorName: string | null | undefined;
1479
+ initiatorUsername: string | null | undefined;
1480
+ initiatorAvatar: string | null | undefined;
1481
+ };
1482
+ id: string;
1483
+ userId: string;
1484
+ isRead: boolean;
1485
+ createdAt: string;
1218
1486
  } | {
1219
1487
  type: "new-follow";
1220
1488
  action: "open-profile";
@@ -1287,6 +1555,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1287
1555
  title?: string | undefined;
1288
1556
  content?: string | undefined;
1289
1557
  } | undefined;
1558
+ entityReaction?: {
1559
+ title?: string | undefined;
1560
+ content?: string | undefined;
1561
+ } | undefined;
1562
+ commentReaction?: {
1563
+ title?: string | undefined;
1564
+ content?: string | undefined;
1565
+ } | undefined;
1290
1566
  newFollow?: {
1291
1567
  title?: string | undefined;
1292
1568
  content?: string | undefined;
@@ -1430,6 +1706,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1430
1706
  userId: string;
1431
1707
  isRead: boolean;
1432
1708
  createdAt: string;
1709
+ } | {
1710
+ type: "entity-reaction";
1711
+ action: "open-entity";
1712
+ metadata: {
1713
+ entityId: string;
1714
+ entityShortId: string;
1715
+ entityTitle: string | null | undefined;
1716
+ entityContent: string | null | undefined;
1717
+ reactionType: string;
1718
+ initiatorId: string;
1719
+ initiatorName: string | null | undefined;
1720
+ initiatorUsername: string | null | undefined;
1721
+ initiatorAvatar: string | null | undefined;
1722
+ };
1723
+ id: string;
1724
+ userId: string;
1725
+ isRead: boolean;
1726
+ createdAt: string;
1727
+ } | {
1728
+ type: "comment-reaction";
1729
+ action: "open-comment";
1730
+ metadata: {
1731
+ entityId: string;
1732
+ entityShortId: string;
1733
+ entityTitle: string | null | undefined;
1734
+ entityContent: string | null | undefined;
1735
+ commentId: string;
1736
+ commentContent: string | null | undefined;
1737
+ reactionType: string;
1738
+ initiatorId: string;
1739
+ initiatorName: string | null | undefined;
1740
+ initiatorUsername: string | null | undefined;
1741
+ initiatorAvatar: string | null | undefined;
1742
+ };
1743
+ id: string;
1744
+ userId: string;
1745
+ isRead: boolean;
1746
+ createdAt: string;
1433
1747
  } | {
1434
1748
  type: "new-follow";
1435
1749
  action: "open-profile";
@@ -1502,6 +1816,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1502
1816
  title?: string | undefined;
1503
1817
  content?: string | undefined;
1504
1818
  } | undefined;
1819
+ entityReaction?: {
1820
+ title?: string | undefined;
1821
+ content?: string | undefined;
1822
+ } | undefined;
1823
+ commentReaction?: {
1824
+ title?: string | undefined;
1825
+ content?: string | undefined;
1826
+ } | undefined;
1505
1827
  newFollow?: {
1506
1828
  title?: string | undefined;
1507
1829
  content?: string | undefined;
@@ -1649,6 +1971,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1649
1971
  userId: string;
1650
1972
  isRead: boolean;
1651
1973
  createdAt: string;
1974
+ } | {
1975
+ type: "entity-reaction";
1976
+ action: "open-entity";
1977
+ metadata: {
1978
+ entityId: string;
1979
+ entityShortId: string;
1980
+ entityTitle: string | null | undefined;
1981
+ entityContent: string | null | undefined;
1982
+ reactionType: string;
1983
+ initiatorId: string;
1984
+ initiatorName: string | null | undefined;
1985
+ initiatorUsername: string | null | undefined;
1986
+ initiatorAvatar: string | null | undefined;
1987
+ };
1988
+ id: string;
1989
+ userId: string;
1990
+ isRead: boolean;
1991
+ createdAt: string;
1992
+ } | {
1993
+ type: "comment-reaction";
1994
+ action: "open-comment";
1995
+ metadata: {
1996
+ entityId: string;
1997
+ entityShortId: string;
1998
+ entityTitle: string | null | undefined;
1999
+ entityContent: string | null | undefined;
2000
+ commentId: string;
2001
+ 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;
2007
+ };
2008
+ id: string;
2009
+ userId: string;
2010
+ isRead: boolean;
2011
+ createdAt: string;
1652
2012
  } | {
1653
2013
  type: "new-follow";
1654
2014
  action: "open-profile";
@@ -1721,6 +2081,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1721
2081
  title?: string | undefined;
1722
2082
  content?: string | undefined;
1723
2083
  } | undefined;
2084
+ entityReaction?: {
2085
+ title?: string | undefined;
2086
+ content?: string | undefined;
2087
+ } | undefined;
2088
+ commentReaction?: {
2089
+ title?: string | undefined;
2090
+ content?: string | undefined;
2091
+ } | undefined;
1724
2092
  newFollow?: {
1725
2093
  title?: string | undefined;
1726
2094
  content?: string | undefined;
@@ -1864,6 +2232,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1864
2232
  userId: string;
1865
2233
  isRead: boolean;
1866
2234
  createdAt: string;
2235
+ } | {
2236
+ type: "entity-reaction";
2237
+ action: "open-entity";
2238
+ metadata: {
2239
+ entityId: string;
2240
+ entityShortId: string;
2241
+ entityTitle: string | null | undefined;
2242
+ entityContent: string | null | undefined;
2243
+ reactionType: string;
2244
+ initiatorId: string;
2245
+ initiatorName: string | null | undefined;
2246
+ initiatorUsername: string | null | undefined;
2247
+ initiatorAvatar: string | null | undefined;
2248
+ };
2249
+ id: string;
2250
+ userId: string;
2251
+ isRead: boolean;
2252
+ createdAt: string;
2253
+ } | {
2254
+ type: "comment-reaction";
2255
+ action: "open-comment";
2256
+ metadata: {
2257
+ entityId: string;
2258
+ entityShortId: string;
2259
+ entityTitle: string | null | undefined;
2260
+ entityContent: string | null | undefined;
2261
+ commentId: string;
2262
+ commentContent: string | null | undefined;
2263
+ reactionType: string;
2264
+ initiatorId: string;
2265
+ initiatorName: string | null | undefined;
2266
+ initiatorUsername: string | null | undefined;
2267
+ initiatorAvatar: string | null | undefined;
2268
+ };
2269
+ id: string;
2270
+ userId: string;
2271
+ isRead: boolean;
2272
+ createdAt: string;
1867
2273
  } | {
1868
2274
  type: "new-follow";
1869
2275
  action: "open-profile";
@@ -1936,6 +2342,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1936
2342
  title?: string | undefined;
1937
2343
  content?: string | undefined;
1938
2344
  } | undefined;
2345
+ entityReaction?: {
2346
+ title?: string | undefined;
2347
+ content?: string | undefined;
2348
+ } | undefined;
2349
+ commentReaction?: {
2350
+ title?: string | undefined;
2351
+ content?: string | undefined;
2352
+ } | undefined;
1939
2353
  newFollow?: {
1940
2354
  title?: string | undefined;
1941
2355
  content?: string | undefined;
@@ -2079,6 +2493,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2079
2493
  userId: string;
2080
2494
  isRead: boolean;
2081
2495
  createdAt: string;
2496
+ } | {
2497
+ type: "entity-reaction";
2498
+ action: "open-entity";
2499
+ metadata: {
2500
+ entityId: string;
2501
+ entityShortId: string;
2502
+ entityTitle: string | null | undefined;
2503
+ entityContent: string | null | undefined;
2504
+ reactionType: string;
2505
+ initiatorId: string;
2506
+ initiatorName: string | null | undefined;
2507
+ initiatorUsername: string | null | undefined;
2508
+ initiatorAvatar: string | null | undefined;
2509
+ };
2510
+ id: string;
2511
+ userId: string;
2512
+ isRead: boolean;
2513
+ createdAt: string;
2514
+ } | {
2515
+ type: "comment-reaction";
2516
+ action: "open-comment";
2517
+ metadata: {
2518
+ entityId: string;
2519
+ entityShortId: string;
2520
+ entityTitle: string | null | undefined;
2521
+ entityContent: string | null | undefined;
2522
+ commentId: string;
2523
+ commentContent: string | null | undefined;
2524
+ reactionType: string;
2525
+ initiatorId: string;
2526
+ initiatorName: string | null | undefined;
2527
+ initiatorUsername: string | null | undefined;
2528
+ initiatorAvatar: string | null | undefined;
2529
+ };
2530
+ id: string;
2531
+ userId: string;
2532
+ isRead: boolean;
2533
+ createdAt: string;
2082
2534
  } | {
2083
2535
  type: "new-follow";
2084
2536
  action: "open-profile";
@@ -2151,6 +2603,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2151
2603
  title?: string | undefined;
2152
2604
  content?: string | undefined;
2153
2605
  } | undefined;
2606
+ entityReaction?: {
2607
+ title?: string | undefined;
2608
+ content?: string | undefined;
2609
+ } | undefined;
2610
+ commentReaction?: {
2611
+ title?: string | undefined;
2612
+ content?: string | undefined;
2613
+ } | undefined;
2154
2614
  newFollow?: {
2155
2615
  title?: string | undefined;
2156
2616
  content?: string | undefined;
@@ -2294,6 +2754,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2294
2754
  userId: string;
2295
2755
  isRead: boolean;
2296
2756
  createdAt: string;
2757
+ } | {
2758
+ type: "entity-reaction";
2759
+ action: "open-entity";
2760
+ metadata: {
2761
+ entityId: string;
2762
+ entityShortId: string;
2763
+ entityTitle: string | null | undefined;
2764
+ entityContent: string | null | undefined;
2765
+ reactionType: string;
2766
+ initiatorId: string;
2767
+ initiatorName: string | null | undefined;
2768
+ initiatorUsername: string | null | undefined;
2769
+ initiatorAvatar: string | null | undefined;
2770
+ };
2771
+ id: string;
2772
+ userId: string;
2773
+ isRead: boolean;
2774
+ createdAt: string;
2775
+ } | {
2776
+ type: "comment-reaction";
2777
+ action: "open-comment";
2778
+ metadata: {
2779
+ entityId: string;
2780
+ entityShortId: string;
2781
+ entityTitle: string | null | undefined;
2782
+ entityContent: string | null | undefined;
2783
+ commentId: string;
2784
+ commentContent: string | null | undefined;
2785
+ reactionType: string;
2786
+ initiatorId: string;
2787
+ initiatorName: string | null | undefined;
2788
+ initiatorUsername: string | null | undefined;
2789
+ initiatorAvatar: string | null | undefined;
2790
+ };
2791
+ id: string;
2792
+ userId: string;
2793
+ isRead: boolean;
2794
+ createdAt: string;
2297
2795
  } | {
2298
2796
  type: "new-follow";
2299
2797
  action: "open-profile";
@@ -2366,6 +2864,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2366
2864
  title?: string | undefined;
2367
2865
  content?: string | undefined;
2368
2866
  } | undefined;
2867
+ entityReaction?: {
2868
+ title?: string | undefined;
2869
+ content?: string | undefined;
2870
+ } | undefined;
2871
+ commentReaction?: {
2872
+ title?: string | undefined;
2873
+ content?: string | undefined;
2874
+ } | undefined;
2369
2875
  newFollow?: {
2370
2876
  title?: string | undefined;
2371
2877
  content?: string | undefined;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  import { UseEntityDataProps, UseEntityDataValues } from "../hooks/entities/useEntityData";
3
- export interface EntityContextProps extends UseEntityDataProps {
3
+ export type EntityContextProps = UseEntityDataProps & {
4
4
  children: React.ReactNode;
5
- }
5
+ };
6
6
  export interface EntityContextValues extends UseEntityDataValues {
7
7
  }
8
8
  export declare const EntityContext: React.Context<Partial<EntityContextValues>>;
@@ -17,10 +17,10 @@ export var EntityProvider = function (_a) {
17
17
  var _b;
18
18
  var children = _a.children, restOfProps = __rest(_a, ["children"]);
19
19
  var data = useEntityData(restOfProps);
20
- if (!restOfProps.foreignId &&
21
- !restOfProps.entityId &&
22
- !restOfProps.shortId &&
23
- !((_b = restOfProps.entity) === null || _b === void 0 ? void 0 : _b.id)) {
20
+ if (!('foreignId' in restOfProps && restOfProps.foreignId) &&
21
+ !('entityId' in restOfProps && restOfProps.entityId) &&
22
+ !('shortId' in restOfProps && restOfProps.shortId) &&
23
+ !('entity' in restOfProps && ((_b = restOfProps.entity) === null || _b === void 0 ? void 0 : _b.id))) {
24
24
  // console.warn(
25
25
  // "Please pass an entity ID, reference ID, short ID or a complete entity object to the EntityProvider"
26
26
  // );
@@ -1 +1 @@
1
- {"version":3,"file":"entity-context.js","sourceRoot":"","sources":["../../../src/context/entity-context.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,aAGN,MAAM,iCAAiC,CAAC;AAOzC,MAAM,CAAC,IAAM,aAAa,GAAG,aAAa,CAA+B,EAAE,CAAC,CAAC;AAE7E,MAAM,CAAC,IAAM,cAAc,GAAiC,UAAC,EAGxC;;IAFnB,IAAA,QAAQ,cAAA,EACL,WAAW,cAF6C,YAG5D,CADe;IAEd,IAAM,IAAI,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;IAExC,IACE,CAAC,WAAW,CAAC,SAAS;QACtB,CAAC,WAAW,CAAC,QAAQ;QACrB,CAAC,WAAW,CAAC,OAAO;QACpB,CAAC,CAAA,MAAA,WAAW,CAAC,MAAM,0CAAE,EAAE,CAAA,EACvB,CAAC;QACD,gBAAgB;QAChB,yGAAyG;QACzG,KAAK;QAEL,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,YAAG,QAAQ,GAA0B,CACzE,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"entity-context.js","sourceRoot":"","sources":["../../../src/context/entity-context.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,aAGN,MAAM,iCAAiC,CAAC;AAOzC,MAAM,CAAC,IAAM,aAAa,GAAG,aAAa,CAA+B,EAAE,CAAC,CAAC;AAE7E,MAAM,CAAC,IAAM,cAAc,GAAiC,UAAC,EAGxC;;IAFnB,IAAA,QAAQ,cAAA,EACL,WAAW,cAF6C,YAG5D,CADe;IAEd,IAAM,IAAI,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;IAExC,IACE,CAAC,CAAC,WAAW,IAAI,WAAW,IAAI,WAAW,CAAC,SAAS,CAAC;QACtD,CAAC,CAAC,UAAU,IAAI,WAAW,IAAI,WAAW,CAAC,QAAQ,CAAC;QACpD,CAAC,CAAC,SAAS,IAAI,WAAW,IAAI,WAAW,CAAC,OAAO,CAAC;QAClD,CAAC,CAAC,QAAQ,IAAI,WAAW,KAAI,MAAA,WAAW,CAAC,MAAM,0CAAE,EAAE,CAAA,CAAC,EACpD,CAAC;QACD,gBAAgB;QAChB,yGAAyG;QACzG,KAAK;QAEL,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,YAAG,QAAQ,GAA0B,CACzE,CAAC;AACJ,CAAC,CAAC"}