@replyke/core 7.0.0-beta.9 → 7.0.0-beta.91

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 (1007) hide show
  1. package/dist/cjs/config/axios.js +1 -2
  2. package/dist/cjs/config/axios.js.map +1 -1
  3. package/dist/cjs/config/useAxiosPrivate.js +16 -10
  4. package/dist/cjs/config/useAxiosPrivate.js.map +1 -1
  5. package/dist/cjs/context/entity-context.d.ts +2 -2
  6. package/dist/cjs/context/entity-context.js +4 -4
  7. package/dist/cjs/context/entity-context.js.map +1 -1
  8. package/dist/cjs/context/index.d.ts +1 -0
  9. package/dist/cjs/context/index.js +3 -1
  10. package/dist/cjs/context/index.js.map +1 -1
  11. package/dist/cjs/context/replyke-integration-context.d.ts +52 -0
  12. package/dist/cjs/context/replyke-integration-context.js +92 -0
  13. package/dist/cjs/context/replyke-integration-context.js.map +1 -0
  14. package/dist/cjs/context/replyke-store-context.js +19 -7
  15. package/dist/cjs/context/replyke-store-context.js.map +1 -1
  16. package/dist/cjs/helpers/addNotificationsMessages.js +14 -1
  17. package/dist/cjs/helpers/addNotificationsMessages.js.map +1 -1
  18. package/dist/cjs/hooks/app-notifications/useAppNotifications.js +15 -39
  19. package/dist/cjs/hooks/app-notifications/useAppNotifications.js.map +1 -1
  20. package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.d.ts +3 -0
  21. package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js +14 -23
  22. package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
  23. package/dist/cjs/hooks/auth/index.d.ts +9 -1
  24. package/dist/cjs/hooks/auth/index.js +17 -1
  25. package/dist/cjs/hooks/auth/index.js.map +1 -1
  26. package/dist/cjs/hooks/auth/useAccountSync.d.ts +2 -0
  27. package/dist/cjs/hooks/auth/useAccountSync.js +170 -0
  28. package/dist/cjs/hooks/auth/useAccountSync.js.map +1 -0
  29. package/dist/cjs/hooks/auth/useAccounts.d.ts +7 -0
  30. package/dist/cjs/hooks/auth/useAccounts.js +23 -0
  31. package/dist/cjs/hooks/auth/useAccounts.js.map +1 -0
  32. package/dist/cjs/hooks/auth/useAddAccount.d.ts +5 -0
  33. package/dist/cjs/hooks/auth/useAddAccount.js +27 -0
  34. package/dist/cjs/hooks/auth/useAddAccount.js.map +1 -0
  35. package/dist/cjs/hooks/auth/useAuth.d.ts +31 -24
  36. package/dist/cjs/hooks/auth/useAuth.js +5 -5
  37. package/dist/cjs/hooks/auth/useAuth.js.map +1 -1
  38. package/dist/cjs/hooks/auth/useOAuthIdentities.d.ts +19 -0
  39. package/dist/cjs/hooks/{reports/useFetchSpaceReports.js → auth/useOAuthIdentities.js} +58 -41
  40. package/dist/cjs/hooks/auth/useOAuthIdentities.js.map +1 -0
  41. package/dist/cjs/hooks/auth/useRemoveAccount.d.ts +6 -0
  42. package/dist/cjs/hooks/auth/useRemoveAccount.js +128 -0
  43. package/dist/cjs/hooks/auth/useRemoveAccount.js.map +1 -0
  44. package/dist/cjs/hooks/auth/useRequestPasswordReset.d.ts +5 -0
  45. package/dist/cjs/hooks/{entities/useRemoveEntityDownvote.js → auth/useRequestPasswordReset.js} +13 -14
  46. package/dist/cjs/hooks/auth/useRequestPasswordReset.js.map +1 -0
  47. package/dist/cjs/hooks/auth/useSignOutAll.d.ts +4 -0
  48. package/dist/cjs/hooks/auth/useSignOutAll.js +71 -0
  49. package/dist/cjs/hooks/auth/useSignOutAll.js.map +1 -0
  50. package/dist/cjs/hooks/auth/useSwitchAccount.d.ts +6 -0
  51. package/dist/cjs/hooks/auth/useSwitchAccount.js +103 -0
  52. package/dist/cjs/hooks/auth/useSwitchAccount.js.map +1 -0
  53. package/dist/cjs/hooks/collections/index.d.ts +4 -0
  54. package/dist/cjs/hooks/collections/index.js +16 -0
  55. package/dist/cjs/hooks/collections/index.js.map +1 -0
  56. package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.d.ts +21 -0
  57. package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.js +211 -0
  58. package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.js.map +1 -0
  59. package/dist/cjs/hooks/collections/useCollections.d.ts +48 -0
  60. package/dist/cjs/hooks/collections/useCollections.js +264 -0
  61. package/dist/cjs/hooks/collections/useCollections.js.map +1 -0
  62. package/dist/cjs/hooks/collections/useCollectionsActions.d.ts +21 -0
  63. package/dist/cjs/hooks/{lists/useListsActions.js → collections/useCollectionsActions.js} +114 -120
  64. package/dist/cjs/hooks/collections/useCollectionsActions.js.map +1 -0
  65. package/dist/cjs/hooks/{lists → collections}/useIsEntitySaved.d.ts +2 -2
  66. package/dist/cjs/hooks/{lists → collections}/useIsEntitySaved.js +3 -4
  67. package/dist/cjs/hooks/collections/useIsEntitySaved.js.map +1 -0
  68. package/dist/cjs/hooks/comments/index.d.ts +10 -2
  69. package/dist/cjs/hooks/comments/index.js +3 -5
  70. package/dist/cjs/hooks/comments/index.js.map +1 -1
  71. package/dist/cjs/hooks/comments/useCommentSectionData.d.ts +16 -13
  72. package/dist/cjs/hooks/comments/useCommentSectionData.js +40 -12
  73. package/dist/cjs/hooks/comments/useCommentSectionData.js.map +1 -1
  74. package/dist/cjs/hooks/comments/useCreateComment.d.ts +3 -2
  75. package/dist/cjs/hooks/comments/useCreateComment.js.map +1 -1
  76. package/dist/cjs/hooks/comments/useDeleteComment.d.ts +3 -2
  77. package/dist/cjs/hooks/comments/useDeleteComment.js.map +1 -1
  78. package/dist/cjs/hooks/comments/useEntityComments.d.ts +2 -1
  79. package/dist/cjs/hooks/comments/useEntityComments.js +2 -1
  80. package/dist/cjs/hooks/comments/useEntityComments.js.map +1 -1
  81. package/dist/cjs/hooks/comments/useFetchComment.d.ts +5 -5
  82. package/dist/cjs/hooks/comments/useFetchComment.js +7 -5
  83. package/dist/cjs/hooks/comments/useFetchComment.js.map +1 -1
  84. package/dist/cjs/hooks/comments/useFetchCommentByForeignId.d.ts +5 -5
  85. package/dist/cjs/hooks/comments/useFetchCommentByForeignId.js +9 -6
  86. package/dist/cjs/hooks/comments/useFetchCommentByForeignId.js.map +1 -1
  87. package/dist/cjs/hooks/comments/useFetchManyComments.d.ts +5 -4
  88. package/dist/cjs/hooks/comments/useFetchManyComments.js +9 -10
  89. package/dist/cjs/hooks/comments/useFetchManyComments.js.map +1 -1
  90. package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.d.ts +21 -0
  91. package/dist/cjs/hooks/comments/{useProfileComments.js → useFetchManyCommentsWrapper.js} +40 -18
  92. package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.js.map +1 -0
  93. package/dist/cjs/hooks/comments/useReplies.d.ts +3 -2
  94. package/dist/cjs/hooks/comments/useReplies.js +1 -0
  95. package/dist/cjs/hooks/comments/useReplies.js.map +1 -1
  96. package/dist/cjs/hooks/comments/useUpdateComment.d.ts +3 -2
  97. package/dist/cjs/hooks/comments/useUpdateComment.js.map +1 -1
  98. package/dist/cjs/hooks/crypto/index.d.ts +1 -0
  99. package/dist/cjs/hooks/crypto/useSignTestingJwt.d.ts +7 -3
  100. package/dist/cjs/hooks/crypto/useSignTestingJwt.js +11 -14
  101. package/dist/cjs/hooks/crypto/useSignTestingJwt.js.map +1 -1
  102. package/dist/cjs/hooks/entities/index.d.ts +10 -5
  103. package/dist/cjs/hooks/entities/index.js +7 -11
  104. package/dist/cjs/hooks/entities/index.js.map +1 -1
  105. package/dist/cjs/hooks/entities/useCreateEntity.d.ts +25 -2
  106. package/dist/cjs/hooks/entities/useCreateEntity.js +93 -15
  107. package/dist/cjs/hooks/entities/useCreateEntity.js.map +1 -1
  108. package/dist/cjs/hooks/entities/useDeleteEntity.d.ts +3 -2
  109. package/dist/cjs/hooks/entities/useDeleteEntity.js +1 -3
  110. package/dist/cjs/hooks/entities/useDeleteEntity.js.map +1 -1
  111. package/dist/cjs/hooks/entities/useEntityData.d.ts +24 -12
  112. package/dist/cjs/hooks/entities/useEntityData.js +0 -19
  113. package/dist/cjs/hooks/entities/useEntityData.js.map +1 -1
  114. package/dist/cjs/hooks/entities/useFetchDrafts.d.ts +11 -0
  115. package/dist/cjs/hooks/entities/useFetchDrafts.js +81 -0
  116. package/dist/cjs/hooks/entities/useFetchDrafts.js.map +1 -0
  117. package/dist/cjs/hooks/entities/useFetchEntity.d.ts +3 -2
  118. package/dist/cjs/hooks/entities/useFetchEntity.js +7 -7
  119. package/dist/cjs/hooks/entities/useFetchEntity.js.map +1 -1
  120. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.d.ts +3 -2
  121. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.js +9 -18
  122. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.js.map +1 -1
  123. package/dist/cjs/hooks/entities/useFetchEntityByShortId.d.ts +3 -2
  124. package/dist/cjs/hooks/entities/useFetchEntityByShortId.js +8 -18
  125. package/dist/cjs/hooks/entities/useFetchEntityByShortId.js.map +1 -1
  126. package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.d.ts +41 -0
  127. package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.js +241 -0
  128. package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.js.map +1 -0
  129. package/dist/cjs/hooks/entities/usePublishDraft.d.ts +6 -0
  130. package/dist/cjs/hooks/entities/{useUpvoteEntity.js → usePublishDraft.js} +11 -11
  131. package/dist/cjs/hooks/entities/usePublishDraft.js.map +1 -0
  132. package/dist/cjs/hooks/entities/useUpdateEntity.js +7 -3
  133. package/dist/cjs/hooks/entities/useUpdateEntity.js.map +1 -1
  134. package/dist/cjs/hooks/entity-lists/index.d.ts +1 -1
  135. package/dist/cjs/hooks/entity-lists/index.js.map +1 -1
  136. package/dist/cjs/hooks/entity-lists/useEntityList.d.ts +18 -16
  137. package/dist/cjs/hooks/entity-lists/useEntityList.js +10 -10
  138. package/dist/cjs/hooks/entity-lists/useEntityList.js.map +1 -1
  139. package/dist/cjs/hooks/entity-lists/useEntityListActions.js +2 -2
  140. package/dist/cjs/hooks/entity-lists/useEntityListActions.js.map +1 -1
  141. package/dist/cjs/hooks/entity-lists/useInfusedData.d.ts +3 -2
  142. package/dist/cjs/hooks/entity-lists/useInfusedData.js +0 -1
  143. package/dist/cjs/hooks/entity-lists/useInfusedData.js.map +1 -1
  144. package/dist/cjs/hooks/reactions/index.d.ts +14 -0
  145. package/dist/cjs/hooks/reactions/index.js +21 -0
  146. package/dist/cjs/hooks/reactions/index.js.map +1 -0
  147. package/dist/cjs/hooks/reactions/useAddReaction.d.ts +10 -0
  148. package/dist/cjs/hooks/reactions/useAddReaction.js +77 -0
  149. package/dist/cjs/hooks/reactions/useAddReaction.js.map +1 -0
  150. package/dist/cjs/hooks/reactions/useFetchCommentReactions.d.ts +11 -0
  151. package/dist/cjs/hooks/reactions/useFetchCommentReactions.js +84 -0
  152. package/dist/cjs/hooks/reactions/useFetchCommentReactions.js.map +1 -0
  153. package/dist/cjs/hooks/reactions/useFetchCommentReactionsWrapper.d.ts +17 -0
  154. package/dist/cjs/hooks/reactions/useFetchCommentReactionsWrapper.js +170 -0
  155. package/dist/cjs/hooks/reactions/useFetchCommentReactionsWrapper.js.map +1 -0
  156. package/dist/cjs/hooks/reactions/useFetchEntityReactions.d.ts +11 -0
  157. package/dist/cjs/hooks/reactions/useFetchEntityReactions.js +84 -0
  158. package/dist/cjs/hooks/reactions/useFetchEntityReactions.js.map +1 -0
  159. package/dist/cjs/hooks/reactions/useFetchEntityReactionsWrapper.d.ts +17 -0
  160. package/dist/cjs/hooks/reactions/useFetchEntityReactionsWrapper.js +170 -0
  161. package/dist/cjs/hooks/reactions/useFetchEntityReactionsWrapper.js.map +1 -0
  162. package/dist/cjs/hooks/reactions/useReactionToggle.d.ts +20 -0
  163. package/dist/cjs/hooks/reactions/useReactionToggle.js +146 -0
  164. package/dist/cjs/hooks/reactions/useReactionToggle.js.map +1 -0
  165. package/dist/cjs/hooks/reactions/useRemoveReaction.d.ts +8 -0
  166. package/dist/cjs/hooks/{comments/useDownvoteComment.js → reactions/useRemoveReaction.js} +16 -13
  167. package/dist/cjs/hooks/reactions/useRemoveReaction.js.map +1 -0
  168. package/dist/cjs/hooks/relationships/connections/index.d.ts +11 -0
  169. package/dist/cjs/hooks/relationships/connections/useAcceptConnection.d.ts +3 -2
  170. package/dist/cjs/hooks/relationships/connections/useAcceptConnection.js +1 -1
  171. package/dist/cjs/hooks/relationships/connections/useAcceptConnection.js.map +1 -1
  172. package/dist/cjs/hooks/relationships/connections/useConnectionManager.d.ts +2 -2
  173. package/dist/cjs/hooks/relationships/connections/useDeclineConnection.d.ts +3 -2
  174. package/dist/cjs/hooks/relationships/connections/useDeclineConnection.js +1 -1
  175. package/dist/cjs/hooks/relationships/connections/useDeclineConnection.js.map +1 -1
  176. package/dist/cjs/hooks/relationships/connections/useFetchConnectionStatus.d.ts +3 -2
  177. package/dist/cjs/hooks/relationships/connections/useFetchConnectionStatus.js +1 -1
  178. package/dist/cjs/hooks/relationships/connections/useFetchConnectionStatus.js.map +1 -1
  179. package/dist/cjs/hooks/relationships/connections/useFetchConnections.d.ts +1 -1
  180. package/dist/cjs/hooks/relationships/connections/useFetchConnections.js +0 -1
  181. package/dist/cjs/hooks/relationships/connections/useFetchConnections.js.map +1 -1
  182. package/dist/cjs/hooks/relationships/connections/useFetchConnectionsByUserId.d.ts +1 -1
  183. package/dist/cjs/hooks/relationships/connections/useFetchConnectionsCount.js +1 -1
  184. package/dist/cjs/hooks/relationships/connections/useFetchConnectionsCount.js.map +1 -1
  185. package/dist/cjs/hooks/relationships/connections/useFetchConnectionsCountByUserId.d.ts +1 -1
  186. package/dist/cjs/hooks/relationships/connections/useFetchReceivedPendingConnections.d.ts +1 -1
  187. package/dist/cjs/hooks/relationships/connections/useFetchReceivedPendingConnections.js +0 -1
  188. package/dist/cjs/hooks/relationships/connections/useFetchReceivedPendingConnections.js.map +1 -1
  189. package/dist/cjs/hooks/relationships/connections/useFetchSentPendingConnections.d.ts +1 -1
  190. package/dist/cjs/hooks/relationships/connections/useFetchSentPendingConnections.js +0 -1
  191. package/dist/cjs/hooks/relationships/connections/useFetchSentPendingConnections.js.map +1 -1
  192. package/dist/cjs/hooks/relationships/connections/useRemoveConnection.d.ts +3 -2
  193. package/dist/cjs/hooks/relationships/connections/useRemoveConnection.js +1 -1
  194. package/dist/cjs/hooks/relationships/connections/useRemoveConnection.js.map +1 -1
  195. package/dist/cjs/hooks/relationships/connections/useRemoveConnectionByUserId.d.ts +3 -2
  196. package/dist/cjs/hooks/relationships/connections/useRemoveConnectionByUserId.js +1 -1
  197. package/dist/cjs/hooks/relationships/connections/useRemoveConnectionByUserId.js.map +1 -1
  198. package/dist/cjs/hooks/relationships/connections/useRequestConnection.js +1 -1
  199. package/dist/cjs/hooks/relationships/connections/useRequestConnection.js.map +1 -1
  200. package/dist/cjs/hooks/relationships/follows/index.d.ts +11 -0
  201. package/dist/cjs/hooks/relationships/follows/useFetchFollowStatus.d.ts +5 -3
  202. package/dist/cjs/hooks/relationships/follows/useFetchFollowStatus.js +1 -3
  203. package/dist/cjs/hooks/relationships/follows/useFetchFollowStatus.js.map +1 -1
  204. package/dist/cjs/hooks/relationships/follows/useFetchFollowers.js +0 -1
  205. package/dist/cjs/hooks/relationships/follows/useFetchFollowers.js.map +1 -1
  206. package/dist/cjs/hooks/relationships/follows/useFetchFollowersCount.js +1 -1
  207. package/dist/cjs/hooks/relationships/follows/useFetchFollowersCount.js.map +1 -1
  208. package/dist/cjs/hooks/relationships/follows/useFetchFollowersCountByUserId.d.ts +3 -2
  209. package/dist/cjs/hooks/relationships/follows/useFetchFollowersCountByUserId.js.map +1 -1
  210. package/dist/cjs/hooks/relationships/follows/useFetchFollowing.js +0 -1
  211. package/dist/cjs/hooks/relationships/follows/useFetchFollowing.js.map +1 -1
  212. package/dist/cjs/hooks/relationships/follows/useFetchFollowingCount.js +1 -1
  213. package/dist/cjs/hooks/relationships/follows/useFetchFollowingCount.js.map +1 -1
  214. package/dist/cjs/hooks/relationships/follows/useFetchFollowingCountByUserId.d.ts +3 -2
  215. package/dist/cjs/hooks/relationships/follows/useFetchFollowingCountByUserId.js.map +1 -1
  216. package/dist/cjs/hooks/relationships/follows/useFollowManager.d.ts +1 -1
  217. package/dist/cjs/hooks/relationships/follows/useFollowUser.d.ts +3 -2
  218. package/dist/cjs/hooks/relationships/follows/useFollowUser.js +1 -1
  219. package/dist/cjs/hooks/relationships/follows/useFollowUser.js.map +1 -1
  220. package/dist/cjs/hooks/relationships/follows/useUnfollowByFollowId.d.ts +3 -2
  221. package/dist/cjs/hooks/relationships/follows/useUnfollowByFollowId.js +1 -3
  222. package/dist/cjs/hooks/relationships/follows/useUnfollowByFollowId.js.map +1 -1
  223. package/dist/cjs/hooks/relationships/follows/useUnfollowUserByUserId.d.ts +3 -2
  224. package/dist/cjs/hooks/relationships/follows/useUnfollowUserByUserId.js +1 -3
  225. package/dist/cjs/hooks/relationships/follows/useUnfollowUserByUserId.js.map +1 -1
  226. package/dist/cjs/hooks/reports/index.d.ts +5 -1
  227. package/dist/cjs/hooks/reports/index.js +3 -3
  228. package/dist/cjs/hooks/reports/index.js.map +1 -1
  229. package/dist/cjs/hooks/reports/useCreateReport.d.ts +16 -3
  230. package/dist/cjs/hooks/reports/useCreateReport.js +3 -3
  231. package/dist/cjs/hooks/reports/useCreateReport.js.map +1 -1
  232. package/dist/cjs/hooks/reports/useFetchModeratedReports.d.ts +60 -0
  233. package/dist/cjs/hooks/reports/useFetchModeratedReports.js +91 -0
  234. package/dist/cjs/hooks/reports/useFetchModeratedReports.js.map +1 -0
  235. package/dist/cjs/hooks/reports/useHandleSpaceCommentReport.d.ts +5 -5
  236. package/dist/cjs/hooks/reports/useHandleSpaceCommentReport.js +2 -2
  237. package/dist/cjs/hooks/reports/useHandleSpaceEntityReport.d.ts +5 -5
  238. package/dist/cjs/hooks/reports/useHandleSpaceEntityReport.js +2 -2
  239. package/dist/cjs/hooks/space-lists/index.d.ts +2 -1
  240. package/dist/cjs/hooks/space-lists/index.js.map +1 -1
  241. package/dist/cjs/hooks/space-lists/useSpaceList.d.ts +22 -17
  242. package/dist/cjs/hooks/space-lists/useSpaceList.js +29 -14
  243. package/dist/cjs/hooks/space-lists/useSpaceList.js.map +1 -1
  244. package/dist/cjs/hooks/space-lists/useSpaceListActions.d.ts +7 -4
  245. package/dist/cjs/hooks/space-lists/useSpaceListActions.js +6 -3
  246. package/dist/cjs/hooks/space-lists/useSpaceListActions.js.map +1 -1
  247. package/dist/cjs/hooks/spaces/index.d.ts +27 -1
  248. package/dist/cjs/hooks/spaces/index.js +18 -3
  249. package/dist/cjs/hooks/spaces/index.js.map +1 -1
  250. package/dist/cjs/hooks/spaces/rules/index.d.ts +12 -0
  251. package/dist/cjs/hooks/spaces/rules/index.js +19 -0
  252. package/dist/cjs/hooks/spaces/rules/index.js.map +1 -0
  253. package/dist/cjs/hooks/spaces/rules/useCreateRule.d.ts +8 -0
  254. package/dist/cjs/hooks/{users/useUpdateUser.js → spaces/rules/useCreateRule.js} +18 -19
  255. package/dist/cjs/hooks/spaces/rules/useCreateRule.js.map +1 -0
  256. package/dist/cjs/hooks/spaces/rules/useDeleteRule.d.ts +7 -0
  257. package/dist/cjs/hooks/spaces/rules/useDeleteRule.js +74 -0
  258. package/dist/cjs/hooks/spaces/rules/useDeleteRule.js.map +1 -0
  259. package/dist/cjs/hooks/spaces/rules/useFetchManyRules.d.ts +6 -0
  260. package/dist/cjs/hooks/{comments/useUpvoteComment.js → spaces/rules/useFetchManyRules.js} +15 -15
  261. package/dist/cjs/hooks/spaces/rules/useFetchManyRules.js.map +1 -0
  262. package/dist/cjs/hooks/spaces/rules/useFetchRule.d.ts +7 -0
  263. package/dist/cjs/hooks/spaces/rules/useFetchRule.js +74 -0
  264. package/dist/cjs/hooks/spaces/rules/useFetchRule.js.map +1 -0
  265. package/dist/cjs/hooks/spaces/rules/useReorderRules.d.ts +7 -0
  266. package/dist/cjs/hooks/{entities/useRemoveEntityUpvote.js → spaces/rules/useReorderRules.js} +18 -15
  267. package/dist/cjs/hooks/spaces/rules/useReorderRules.js.map +1 -0
  268. package/dist/cjs/hooks/spaces/rules/useUpdateRule.d.ts +11 -0
  269. package/dist/cjs/hooks/{comments/useRemoveCommentDownvote.js → spaces/rules/useUpdateRule.js} +18 -15
  270. package/dist/cjs/hooks/spaces/rules/useUpdateRule.js.map +1 -0
  271. package/dist/cjs/hooks/spaces/useApproveMember.d.ts +2 -2
  272. package/dist/cjs/hooks/spaces/useApproveMember.js.map +1 -1
  273. package/dist/cjs/hooks/spaces/useCheckMyMembership.d.ts +3 -2
  274. package/dist/cjs/hooks/spaces/useCheckMyMembership.js.map +1 -1
  275. package/dist/cjs/hooks/spaces/useCheckSlugAvailability.d.ts +3 -2
  276. package/dist/cjs/hooks/spaces/useCheckSlugAvailability.js.map +1 -1
  277. package/dist/cjs/hooks/spaces/useCreateSpace.d.ts +7 -2
  278. package/dist/cjs/hooks/spaces/useCreateSpace.js +54 -3
  279. package/dist/cjs/hooks/spaces/useCreateSpace.js.map +1 -1
  280. package/dist/cjs/hooks/spaces/useDeclineMember.d.ts +2 -2
  281. package/dist/cjs/hooks/spaces/useDeclineMember.js.map +1 -1
  282. package/dist/cjs/hooks/spaces/useDeleteSpace.d.ts +3 -2
  283. package/dist/cjs/hooks/spaces/useDeleteSpace.js.map +1 -1
  284. package/dist/cjs/hooks/spaces/useFetchManySpaces.d.ts +8 -4
  285. package/dist/cjs/hooks/spaces/useFetchManySpaces.js +13 -2
  286. package/dist/cjs/hooks/spaces/useFetchManySpaces.js.map +1 -1
  287. package/dist/cjs/hooks/spaces/useFetchSpace.d.ts +5 -3
  288. package/dist/cjs/hooks/spaces/useFetchSpace.js +6 -2
  289. package/dist/cjs/hooks/spaces/useFetchSpace.js.map +1 -1
  290. package/dist/cjs/hooks/spaces/useFetchSpaceBreadcrumb.d.ts +3 -2
  291. package/dist/cjs/hooks/spaces/useFetchSpaceBreadcrumb.js.map +1 -1
  292. package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.d.ts +5 -3
  293. package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js +7 -2
  294. package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js.map +1 -1
  295. package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.d.ts +5 -3
  296. package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js +7 -2
  297. package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js.map +1 -1
  298. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.d.ts +4 -3
  299. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js +8 -2
  300. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js.map +1 -1
  301. package/dist/cjs/hooks/spaces/useFetchSpaceMembers.d.ts +2 -2
  302. package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js +2 -13
  303. package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
  304. package/dist/cjs/hooks/spaces/useFetchSpaceTeam.d.ts +6 -0
  305. package/dist/cjs/hooks/{entities/useDownvoteEntity.js → spaces/useFetchSpaceTeam.js} +17 -15
  306. package/dist/cjs/hooks/spaces/useFetchSpaceTeam.js.map +1 -0
  307. package/dist/cjs/hooks/spaces/useFetchUserSpaces.d.ts +12 -0
  308. package/dist/cjs/hooks/spaces/{useFetchMySpaces.js → useFetchUserSpaces.js} +31 -8
  309. package/dist/cjs/hooks/spaces/useFetchUserSpaces.js.map +1 -0
  310. package/dist/cjs/hooks/spaces/useJoinSpace.d.ts +3 -2
  311. package/dist/cjs/hooks/spaces/useJoinSpace.js.map +1 -1
  312. package/dist/cjs/hooks/spaces/useLeaveSpace.d.ts +3 -2
  313. package/dist/cjs/hooks/spaces/useLeaveSpace.js.map +1 -1
  314. package/dist/cjs/hooks/spaces/useModerateSpaceComment.d.ts +26 -0
  315. package/dist/cjs/hooks/spaces/useModerateSpaceComment.js +85 -0
  316. package/dist/cjs/hooks/spaces/useModerateSpaceComment.js.map +1 -0
  317. package/dist/cjs/hooks/spaces/useModerateSpaceEntity.d.ts +26 -0
  318. package/dist/cjs/hooks/spaces/useModerateSpaceEntity.js +85 -0
  319. package/dist/cjs/hooks/spaces/useModerateSpaceEntity.js.map +1 -0
  320. package/dist/cjs/hooks/spaces/useRemoveMember.d.ts +2 -2
  321. package/dist/cjs/hooks/spaces/useRemoveMember.js.map +1 -1
  322. package/dist/cjs/hooks/spaces/useSpaceData.d.ts +3 -2
  323. package/dist/cjs/hooks/spaces/useSpaceData.js +9 -4
  324. package/dist/cjs/hooks/spaces/useSpaceData.js.map +1 -1
  325. package/dist/cjs/hooks/spaces/useSpacePermissions.d.ts +2 -2
  326. package/dist/cjs/hooks/spaces/useUpdateMemberRole.d.ts +2 -2
  327. package/dist/cjs/hooks/spaces/useUpdateMemberRole.js.map +1 -1
  328. package/dist/cjs/hooks/spaces/useUpdateSpace.d.ts +7 -2
  329. package/dist/cjs/hooks/spaces/useUpdateSpace.js +49 -4
  330. package/dist/cjs/hooks/spaces/useUpdateSpace.js.map +1 -1
  331. package/dist/cjs/hooks/storage/index.d.ts +2 -1
  332. package/dist/cjs/hooks/storage/index.js +3 -1
  333. package/dist/cjs/hooks/storage/index.js.map +1 -1
  334. package/dist/cjs/hooks/storage/useUploadFile.d.ts +16 -5
  335. package/dist/cjs/hooks/storage/useUploadFile.js +22 -9
  336. package/dist/cjs/hooks/storage/useUploadFile.js.map +1 -1
  337. package/dist/cjs/hooks/storage/useUploadImage.d.ts +14 -0
  338. package/dist/cjs/hooks/storage/useUploadImage.js +158 -0
  339. package/dist/cjs/hooks/storage/useUploadImage.js.map +1 -0
  340. package/dist/cjs/hooks/user/index.d.ts +1 -0
  341. package/dist/cjs/hooks/user/useUser.js +8 -8
  342. package/dist/cjs/hooks/user/useUser.js.map +1 -1
  343. package/dist/cjs/hooks/user/useUserActions.js +18 -5
  344. package/dist/cjs/hooks/user/useUserActions.js.map +1 -1
  345. package/dist/cjs/hooks/users/index.d.ts +6 -6
  346. package/dist/cjs/hooks/users/index.js +3 -3
  347. package/dist/cjs/hooks/users/index.js.map +1 -1
  348. package/dist/cjs/hooks/users/useCheckUsernameAvailability.d.ts +3 -2
  349. package/dist/cjs/hooks/users/useCheckUsernameAvailability.js.map +1 -1
  350. package/dist/cjs/hooks/users/useFetchUser.d.ts +5 -3
  351. package/dist/cjs/hooks/users/useFetchUser.js +6 -2
  352. package/dist/cjs/hooks/users/useFetchUser.js.map +1 -1
  353. package/dist/cjs/hooks/users/useFetchUserByForeignId.d.ts +5 -3
  354. package/dist/cjs/hooks/users/useFetchUserByForeignId.js +5 -2
  355. package/dist/cjs/hooks/users/useFetchUserByForeignId.js.map +1 -1
  356. package/dist/cjs/hooks/users/useFetchUserByUsername.d.ts +7 -0
  357. package/dist/cjs/hooks/{comments/useRemoveCommentUpvote.js → users/useFetchUserByUsername.js} +17 -13
  358. package/dist/cjs/hooks/users/useFetchUserByUsername.js.map +1 -0
  359. package/dist/cjs/hooks/users/useFetchUserSuggestions.d.ts +3 -2
  360. package/dist/cjs/hooks/users/useFetchUserSuggestions.js.map +1 -1
  361. package/dist/cjs/hooks/users/useMentions.d.ts +3 -2
  362. package/dist/cjs/hooks/users/useMentions.js.map +1 -1
  363. package/dist/cjs/hooks/utils/index.d.ts +1 -1
  364. package/dist/cjs/hooks/utils/index.js.map +1 -1
  365. package/dist/cjs/hooks/utils/useGetMetadata.d.ts +4 -2
  366. package/dist/cjs/hooks/utils/useGetMetadata.js +4 -3
  367. package/dist/cjs/hooks/utils/useGetMetadata.js.map +1 -1
  368. package/dist/cjs/index.d.ts +36 -25
  369. package/dist/cjs/index.js +70 -23
  370. package/dist/cjs/index.js.map +1 -1
  371. package/dist/cjs/interfaces/IAccountStorage.d.ts +6 -0
  372. package/dist/cjs/interfaces/IAccountStorage.js +3 -0
  373. package/dist/cjs/interfaces/IAccountStorage.js.map +1 -0
  374. package/dist/cjs/interfaces/UrlMetadata.d.ts +92 -0
  375. package/dist/cjs/interfaces/UrlMetadata.js +3 -0
  376. package/dist/cjs/interfaces/UrlMetadata.js.map +1 -0
  377. package/dist/cjs/interfaces/models/AppNotification.d.ts +36 -2
  378. package/dist/cjs/interfaces/models/{List.d.ts → Collection.d.ts} +2 -4
  379. package/dist/cjs/interfaces/models/Collection.js +3 -0
  380. package/dist/cjs/interfaces/models/Collection.js.map +1 -0
  381. package/dist/cjs/interfaces/models/Comment.d.ts +13 -1
  382. package/dist/cjs/interfaces/models/Entity.d.ts +14 -1
  383. package/dist/cjs/interfaces/models/File.d.ts +38 -0
  384. package/dist/cjs/interfaces/models/{List.js → File.js} +1 -1
  385. package/dist/cjs/interfaces/models/File.js.map +1 -0
  386. package/dist/cjs/interfaces/models/Image.d.ts +74 -0
  387. package/dist/cjs/interfaces/models/Image.js +3 -0
  388. package/dist/cjs/interfaces/models/Image.js.map +1 -0
  389. package/dist/cjs/interfaces/models/Reaction.d.ts +23 -0
  390. package/dist/cjs/interfaces/models/Reaction.js +3 -0
  391. package/dist/cjs/interfaces/models/Reaction.js.map +1 -0
  392. package/dist/cjs/interfaces/models/Rule.d.ts +22 -0
  393. package/dist/cjs/interfaces/models/Rule.js +3 -0
  394. package/dist/cjs/interfaces/models/Rule.js.map +1 -0
  395. package/dist/cjs/interfaces/models/Space.d.ts +12 -5
  396. package/dist/cjs/interfaces/models/SpaceMember.d.ts +3 -0
  397. package/dist/cjs/interfaces/models/User.d.ts +10 -3
  398. package/dist/cjs/store/api/appNotificationsApi.d.ts +181 -181
  399. package/dist/cjs/store/api/baseApi.d.ts +3 -1
  400. package/dist/cjs/store/api/baseApi.js +10 -6
  401. package/dist/cjs/store/api/baseApi.js.map +1 -1
  402. package/dist/cjs/store/api/collectionsApi.d.ts +4541 -0
  403. package/dist/cjs/store/api/collectionsApi.js +244 -0
  404. package/dist/cjs/store/api/collectionsApi.js.map +1 -0
  405. package/dist/cjs/store/api/entityListsApi.d.ts +107 -107
  406. package/dist/cjs/store/api/index.d.ts +1 -1
  407. package/dist/cjs/store/api/index.js +2 -2
  408. package/dist/cjs/store/api/index.js.map +1 -1
  409. package/dist/cjs/store/api/spacesApi.d.ts +968 -960
  410. package/dist/cjs/store/api/spacesApi.js +30 -12
  411. package/dist/cjs/store/api/spacesApi.js.map +1 -1
  412. package/dist/cjs/store/api/userApi.d.ts +12 -4
  413. package/dist/cjs/store/api/userApi.js +62 -11
  414. package/dist/cjs/store/api/userApi.js.map +1 -1
  415. package/dist/cjs/store/hooks.d.ts +27 -0
  416. package/dist/cjs/store/hooks.js +18 -0
  417. package/dist/cjs/store/hooks.js.map +1 -0
  418. package/dist/cjs/store/index.d.ts +19 -11
  419. package/dist/cjs/store/index.js +4 -1
  420. package/dist/cjs/store/index.js.map +1 -1
  421. package/dist/cjs/store/integration.d.ts +35 -0
  422. package/dist/cjs/store/integration.js +61 -0
  423. package/dist/cjs/store/integration.js.map +1 -0
  424. package/dist/cjs/store/replykeReducers.d.ts +38 -0
  425. package/dist/cjs/store/replykeReducers.js +44 -0
  426. package/dist/cjs/store/replykeReducers.js.map +1 -0
  427. package/dist/cjs/store/rootReducer.d.ts +30 -14
  428. package/dist/cjs/store/rootReducer.js +6 -19
  429. package/dist/cjs/store/rootReducer.js.map +1 -1
  430. package/dist/cjs/store/slices/accountsSlice.d.ts +41 -0
  431. package/dist/cjs/store/slices/accountsSlice.js +71 -0
  432. package/dist/cjs/store/slices/accountsSlice.js.map +1 -0
  433. package/dist/cjs/store/slices/appNotificationsSlice.d.ts +515 -8
  434. package/dist/cjs/store/slices/appNotificationsSlice.js +9 -9
  435. package/dist/cjs/store/slices/appNotificationsSlice.js.map +1 -1
  436. package/dist/cjs/store/slices/authSlice.d.ts +19 -7
  437. package/dist/cjs/store/slices/authSlice.js +19 -7
  438. package/dist/cjs/store/slices/authSlice.js.map +1 -1
  439. package/dist/cjs/store/slices/authThunks.d.ts +7 -0
  440. package/dist/cjs/store/slices/authThunks.js +168 -58
  441. package/dist/cjs/store/slices/authThunks.js.map +1 -1
  442. package/dist/cjs/store/slices/collectionsSlice.d.ts +428 -0
  443. package/dist/cjs/store/slices/collectionsSlice.js +211 -0
  444. package/dist/cjs/store/slices/collectionsSlice.js.map +1 -0
  445. package/dist/cjs/store/slices/entityListsSlice.d.ts +3838 -147
  446. package/dist/cjs/store/slices/entityListsSlice.js +2 -2
  447. package/dist/cjs/store/slices/entityListsSlice.js.map +1 -1
  448. package/dist/cjs/store/slices/spaceListsSlice.d.ts +1136 -65
  449. package/dist/cjs/store/slices/spaceListsSlice.js +14 -5
  450. package/dist/cjs/store/slices/spaceListsSlice.js.map +1 -1
  451. package/dist/cjs/store/slices/userSlice.d.ts +715 -7
  452. package/dist/cjs/store/slices/userSlice.js +22 -10
  453. package/dist/cjs/store/slices/userSlice.js.map +1 -1
  454. package/dist/cjs/store/types/index.d.ts +5 -1
  455. package/dist/cjs/utils/env.js +3 -3
  456. package/dist/cjs/utils/env.js.map +1 -1
  457. package/dist/esm/config/axios.js +1 -2
  458. package/dist/esm/config/axios.js.map +1 -1
  459. package/dist/esm/config/useAxiosPrivate.js +16 -10
  460. package/dist/esm/config/useAxiosPrivate.js.map +1 -1
  461. package/dist/esm/context/entity-context.d.ts +2 -2
  462. package/dist/esm/context/entity-context.js +4 -4
  463. package/dist/esm/context/entity-context.js.map +1 -1
  464. package/dist/esm/context/index.d.ts +1 -0
  465. package/dist/esm/context/index.js +1 -0
  466. package/dist/esm/context/index.js.map +1 -1
  467. package/dist/esm/context/replyke-integration-context.d.ts +52 -0
  468. package/dist/esm/context/replyke-integration-context.js +85 -0
  469. package/dist/esm/context/replyke-integration-context.js.map +1 -0
  470. package/dist/esm/context/replyke-store-context.js +21 -9
  471. package/dist/esm/context/replyke-store-context.js.map +1 -1
  472. package/dist/esm/helpers/addNotificationsMessages.js +14 -1
  473. package/dist/esm/helpers/addNotificationsMessages.js.map +1 -1
  474. package/dist/esm/hooks/app-notifications/useAppNotifications.js +16 -40
  475. package/dist/esm/hooks/app-notifications/useAppNotifications.js.map +1 -1
  476. package/dist/esm/hooks/app-notifications/useAppNotificationsActions.d.ts +3 -0
  477. package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js +15 -24
  478. package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
  479. package/dist/esm/hooks/auth/index.d.ts +9 -1
  480. package/dist/esm/hooks/auth/index.js +8 -0
  481. package/dist/esm/hooks/auth/index.js.map +1 -1
  482. package/dist/esm/hooks/auth/useAccountSync.d.ts +2 -0
  483. package/dist/esm/hooks/auth/useAccountSync.js +167 -0
  484. package/dist/esm/hooks/auth/useAccountSync.js.map +1 -0
  485. package/dist/esm/hooks/auth/useAccounts.d.ts +7 -0
  486. package/dist/esm/hooks/auth/useAccounts.js +20 -0
  487. package/dist/esm/hooks/auth/useAccounts.js.map +1 -0
  488. package/dist/esm/hooks/auth/useAddAccount.d.ts +5 -0
  489. package/dist/esm/hooks/auth/useAddAccount.js +24 -0
  490. package/dist/esm/hooks/auth/useAddAccount.js.map +1 -0
  491. package/dist/esm/hooks/auth/useAuth.d.ts +31 -24
  492. package/dist/esm/hooks/auth/useAuth.js +5 -5
  493. package/dist/esm/hooks/auth/useAuth.js.map +1 -1
  494. package/dist/esm/hooks/auth/useOAuthIdentities.d.ts +19 -0
  495. package/dist/esm/hooks/{reports/useFetchSpaceReports.js → auth/useOAuthIdentities.js} +59 -42
  496. package/dist/esm/hooks/auth/useOAuthIdentities.js.map +1 -0
  497. package/dist/esm/hooks/auth/useRemoveAccount.d.ts +6 -0
  498. package/dist/esm/hooks/auth/useRemoveAccount.js +122 -0
  499. package/dist/esm/hooks/auth/useRemoveAccount.js.map +1 -0
  500. package/dist/esm/hooks/auth/useRequestPasswordReset.d.ts +5 -0
  501. package/dist/esm/hooks/{entities/useRemoveEntityDownvote.js → auth/useRequestPasswordReset.js} +13 -14
  502. package/dist/esm/hooks/auth/useRequestPasswordReset.js.map +1 -0
  503. package/dist/esm/hooks/auth/useSignOutAll.d.ts +4 -0
  504. package/dist/esm/hooks/auth/useSignOutAll.js +65 -0
  505. package/dist/esm/hooks/auth/useSignOutAll.js.map +1 -0
  506. package/dist/esm/hooks/auth/useSwitchAccount.d.ts +6 -0
  507. package/dist/esm/hooks/auth/useSwitchAccount.js +97 -0
  508. package/dist/esm/hooks/auth/useSwitchAccount.js.map +1 -0
  509. package/dist/esm/hooks/collections/index.d.ts +4 -0
  510. package/dist/esm/hooks/collections/index.js +6 -0
  511. package/dist/esm/hooks/collections/index.js.map +1 -0
  512. package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.d.ts +21 -0
  513. package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.js +206 -0
  514. package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.js.map +1 -0
  515. package/dist/esm/hooks/collections/useCollections.d.ts +48 -0
  516. package/dist/esm/hooks/collections/useCollections.js +259 -0
  517. package/dist/esm/hooks/collections/useCollections.js.map +1 -0
  518. package/dist/esm/hooks/collections/useCollectionsActions.d.ts +21 -0
  519. package/dist/esm/hooks/{lists/useListsActions.js → collections/useCollectionsActions.js} +105 -111
  520. package/dist/esm/hooks/collections/useCollectionsActions.js.map +1 -0
  521. package/dist/esm/hooks/{lists → collections}/useIsEntitySaved.d.ts +2 -2
  522. package/dist/esm/hooks/{lists → collections}/useIsEntitySaved.js +3 -4
  523. package/dist/esm/hooks/collections/useIsEntitySaved.js.map +1 -0
  524. package/dist/esm/hooks/comments/index.d.ts +10 -2
  525. package/dist/esm/hooks/comments/index.js +1 -2
  526. package/dist/esm/hooks/comments/index.js.map +1 -1
  527. package/dist/esm/hooks/comments/useCommentSectionData.d.ts +16 -13
  528. package/dist/esm/hooks/comments/useCommentSectionData.js +40 -12
  529. package/dist/esm/hooks/comments/useCommentSectionData.js.map +1 -1
  530. package/dist/esm/hooks/comments/useCreateComment.d.ts +3 -2
  531. package/dist/esm/hooks/comments/useCreateComment.js.map +1 -1
  532. package/dist/esm/hooks/comments/useDeleteComment.d.ts +3 -2
  533. package/dist/esm/hooks/comments/useDeleteComment.js.map +1 -1
  534. package/dist/esm/hooks/comments/useEntityComments.d.ts +2 -1
  535. package/dist/esm/hooks/comments/useEntityComments.js +2 -1
  536. package/dist/esm/hooks/comments/useEntityComments.js.map +1 -1
  537. package/dist/esm/hooks/comments/useFetchComment.d.ts +5 -5
  538. package/dist/esm/hooks/comments/useFetchComment.js +7 -5
  539. package/dist/esm/hooks/comments/useFetchComment.js.map +1 -1
  540. package/dist/esm/hooks/comments/useFetchCommentByForeignId.d.ts +5 -5
  541. package/dist/esm/hooks/comments/useFetchCommentByForeignId.js +9 -6
  542. package/dist/esm/hooks/comments/useFetchCommentByForeignId.js.map +1 -1
  543. package/dist/esm/hooks/comments/useFetchManyComments.d.ts +5 -4
  544. package/dist/esm/hooks/comments/useFetchManyComments.js +8 -9
  545. package/dist/esm/hooks/comments/useFetchManyComments.js.map +1 -1
  546. package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.d.ts +21 -0
  547. package/dist/esm/hooks/comments/{useProfileComments.js → useFetchManyCommentsWrapper.js} +40 -18
  548. package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.js.map +1 -0
  549. package/dist/esm/hooks/comments/useReplies.d.ts +3 -2
  550. package/dist/esm/hooks/comments/useReplies.js +1 -0
  551. package/dist/esm/hooks/comments/useReplies.js.map +1 -1
  552. package/dist/esm/hooks/comments/useUpdateComment.d.ts +3 -2
  553. package/dist/esm/hooks/comments/useUpdateComment.js.map +1 -1
  554. package/dist/esm/hooks/crypto/index.d.ts +1 -0
  555. package/dist/esm/hooks/crypto/useSignTestingJwt.d.ts +7 -3
  556. package/dist/esm/hooks/crypto/useSignTestingJwt.js +11 -14
  557. package/dist/esm/hooks/crypto/useSignTestingJwt.js.map +1 -1
  558. package/dist/esm/hooks/entities/index.d.ts +10 -5
  559. package/dist/esm/hooks/entities/index.js +3 -5
  560. package/dist/esm/hooks/entities/index.js.map +1 -1
  561. package/dist/esm/hooks/entities/useCreateEntity.d.ts +25 -2
  562. package/dist/esm/hooks/entities/useCreateEntity.js +93 -15
  563. package/dist/esm/hooks/entities/useCreateEntity.js.map +1 -1
  564. package/dist/esm/hooks/entities/useDeleteEntity.d.ts +3 -2
  565. package/dist/esm/hooks/entities/useDeleteEntity.js +1 -3
  566. package/dist/esm/hooks/entities/useDeleteEntity.js.map +1 -1
  567. package/dist/esm/hooks/entities/useEntityData.d.ts +24 -12
  568. package/dist/esm/hooks/entities/useEntityData.js +0 -19
  569. package/dist/esm/hooks/entities/useEntityData.js.map +1 -1
  570. package/dist/esm/hooks/entities/useFetchDrafts.d.ts +11 -0
  571. package/dist/esm/hooks/entities/useFetchDrafts.js +76 -0
  572. package/dist/esm/hooks/entities/useFetchDrafts.js.map +1 -0
  573. package/dist/esm/hooks/entities/useFetchEntity.d.ts +3 -2
  574. package/dist/esm/hooks/entities/useFetchEntity.js +6 -6
  575. package/dist/esm/hooks/entities/useFetchEntity.js.map +1 -1
  576. package/dist/esm/hooks/entities/useFetchEntityByForeignId.d.ts +3 -2
  577. package/dist/esm/hooks/entities/useFetchEntityByForeignId.js +8 -17
  578. package/dist/esm/hooks/entities/useFetchEntityByForeignId.js.map +1 -1
  579. package/dist/esm/hooks/entities/useFetchEntityByShortId.d.ts +3 -2
  580. package/dist/esm/hooks/entities/useFetchEntityByShortId.js +7 -17
  581. package/dist/esm/hooks/entities/useFetchEntityByShortId.js.map +1 -1
  582. package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.d.ts +41 -0
  583. package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.js +236 -0
  584. package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.js.map +1 -0
  585. package/dist/esm/hooks/entities/usePublishDraft.d.ts +6 -0
  586. package/dist/esm/hooks/entities/{useUpvoteEntity.js → usePublishDraft.js} +11 -11
  587. package/dist/esm/hooks/entities/usePublishDraft.js.map +1 -0
  588. package/dist/esm/hooks/entities/useUpdateEntity.js +7 -3
  589. package/dist/esm/hooks/entities/useUpdateEntity.js.map +1 -1
  590. package/dist/esm/hooks/entity-lists/index.d.ts +1 -1
  591. package/dist/esm/hooks/entity-lists/index.js.map +1 -1
  592. package/dist/esm/hooks/entity-lists/useEntityList.d.ts +18 -16
  593. package/dist/esm/hooks/entity-lists/useEntityList.js +10 -10
  594. package/dist/esm/hooks/entity-lists/useEntityList.js.map +1 -1
  595. package/dist/esm/hooks/entity-lists/useEntityListActions.js +2 -2
  596. package/dist/esm/hooks/entity-lists/useEntityListActions.js.map +1 -1
  597. package/dist/esm/hooks/entity-lists/useInfusedData.d.ts +3 -2
  598. package/dist/esm/hooks/entity-lists/useInfusedData.js +0 -1
  599. package/dist/esm/hooks/entity-lists/useInfusedData.js.map +1 -1
  600. package/dist/esm/hooks/reactions/index.d.ts +14 -0
  601. package/dist/esm/hooks/reactions/index.js +8 -0
  602. package/dist/esm/hooks/reactions/index.js.map +1 -0
  603. package/dist/esm/hooks/reactions/useAddReaction.d.ts +10 -0
  604. package/dist/esm/hooks/reactions/useAddReaction.js +72 -0
  605. package/dist/esm/hooks/reactions/useAddReaction.js.map +1 -0
  606. package/dist/esm/hooks/reactions/useFetchCommentReactions.d.ts +11 -0
  607. package/dist/esm/hooks/reactions/useFetchCommentReactions.js +79 -0
  608. package/dist/esm/hooks/reactions/useFetchCommentReactions.js.map +1 -0
  609. package/dist/esm/hooks/reactions/useFetchCommentReactionsWrapper.d.ts +17 -0
  610. package/dist/esm/hooks/reactions/useFetchCommentReactionsWrapper.js +165 -0
  611. package/dist/esm/hooks/reactions/useFetchCommentReactionsWrapper.js.map +1 -0
  612. package/dist/esm/hooks/reactions/useFetchEntityReactions.d.ts +11 -0
  613. package/dist/esm/hooks/reactions/useFetchEntityReactions.js +79 -0
  614. package/dist/esm/hooks/reactions/useFetchEntityReactions.js.map +1 -0
  615. package/dist/esm/hooks/reactions/useFetchEntityReactionsWrapper.d.ts +17 -0
  616. package/dist/esm/hooks/reactions/useFetchEntityReactionsWrapper.js +165 -0
  617. package/dist/esm/hooks/reactions/useFetchEntityReactionsWrapper.js.map +1 -0
  618. package/dist/esm/hooks/reactions/useReactionToggle.d.ts +20 -0
  619. package/dist/esm/hooks/reactions/useReactionToggle.js +141 -0
  620. package/dist/esm/hooks/reactions/useReactionToggle.js.map +1 -0
  621. package/dist/esm/hooks/reactions/useRemoveReaction.d.ts +8 -0
  622. package/dist/esm/hooks/{comments/useDownvoteComment.js → reactions/useRemoveReaction.js} +16 -13
  623. package/dist/esm/hooks/reactions/useRemoveReaction.js.map +1 -0
  624. package/dist/esm/hooks/relationships/connections/index.d.ts +11 -0
  625. package/dist/esm/hooks/relationships/connections/useAcceptConnection.d.ts +3 -2
  626. package/dist/esm/hooks/relationships/connections/useAcceptConnection.js +1 -1
  627. package/dist/esm/hooks/relationships/connections/useAcceptConnection.js.map +1 -1
  628. package/dist/esm/hooks/relationships/connections/useConnectionManager.d.ts +2 -2
  629. package/dist/esm/hooks/relationships/connections/useDeclineConnection.d.ts +3 -2
  630. package/dist/esm/hooks/relationships/connections/useDeclineConnection.js +1 -1
  631. package/dist/esm/hooks/relationships/connections/useDeclineConnection.js.map +1 -1
  632. package/dist/esm/hooks/relationships/connections/useFetchConnectionStatus.d.ts +3 -2
  633. package/dist/esm/hooks/relationships/connections/useFetchConnectionStatus.js +1 -1
  634. package/dist/esm/hooks/relationships/connections/useFetchConnectionStatus.js.map +1 -1
  635. package/dist/esm/hooks/relationships/connections/useFetchConnections.d.ts +1 -1
  636. package/dist/esm/hooks/relationships/connections/useFetchConnections.js +0 -1
  637. package/dist/esm/hooks/relationships/connections/useFetchConnections.js.map +1 -1
  638. package/dist/esm/hooks/relationships/connections/useFetchConnectionsByUserId.d.ts +1 -1
  639. package/dist/esm/hooks/relationships/connections/useFetchConnectionsCount.js +1 -1
  640. package/dist/esm/hooks/relationships/connections/useFetchConnectionsCount.js.map +1 -1
  641. package/dist/esm/hooks/relationships/connections/useFetchConnectionsCountByUserId.d.ts +1 -1
  642. package/dist/esm/hooks/relationships/connections/useFetchReceivedPendingConnections.d.ts +1 -1
  643. package/dist/esm/hooks/relationships/connections/useFetchReceivedPendingConnections.js +0 -1
  644. package/dist/esm/hooks/relationships/connections/useFetchReceivedPendingConnections.js.map +1 -1
  645. package/dist/esm/hooks/relationships/connections/useFetchSentPendingConnections.d.ts +1 -1
  646. package/dist/esm/hooks/relationships/connections/useFetchSentPendingConnections.js +0 -1
  647. package/dist/esm/hooks/relationships/connections/useFetchSentPendingConnections.js.map +1 -1
  648. package/dist/esm/hooks/relationships/connections/useRemoveConnection.d.ts +3 -2
  649. package/dist/esm/hooks/relationships/connections/useRemoveConnection.js +1 -1
  650. package/dist/esm/hooks/relationships/connections/useRemoveConnection.js.map +1 -1
  651. package/dist/esm/hooks/relationships/connections/useRemoveConnectionByUserId.d.ts +3 -2
  652. package/dist/esm/hooks/relationships/connections/useRemoveConnectionByUserId.js +1 -1
  653. package/dist/esm/hooks/relationships/connections/useRemoveConnectionByUserId.js.map +1 -1
  654. package/dist/esm/hooks/relationships/connections/useRequestConnection.js +1 -1
  655. package/dist/esm/hooks/relationships/connections/useRequestConnection.js.map +1 -1
  656. package/dist/esm/hooks/relationships/follows/index.d.ts +11 -0
  657. package/dist/esm/hooks/relationships/follows/useFetchFollowStatus.d.ts +5 -3
  658. package/dist/esm/hooks/relationships/follows/useFetchFollowStatus.js +1 -3
  659. package/dist/esm/hooks/relationships/follows/useFetchFollowStatus.js.map +1 -1
  660. package/dist/esm/hooks/relationships/follows/useFetchFollowers.js +0 -1
  661. package/dist/esm/hooks/relationships/follows/useFetchFollowers.js.map +1 -1
  662. package/dist/esm/hooks/relationships/follows/useFetchFollowersCount.js +1 -1
  663. package/dist/esm/hooks/relationships/follows/useFetchFollowersCount.js.map +1 -1
  664. package/dist/esm/hooks/relationships/follows/useFetchFollowersCountByUserId.d.ts +3 -2
  665. package/dist/esm/hooks/relationships/follows/useFetchFollowersCountByUserId.js.map +1 -1
  666. package/dist/esm/hooks/relationships/follows/useFetchFollowing.js +0 -1
  667. package/dist/esm/hooks/relationships/follows/useFetchFollowing.js.map +1 -1
  668. package/dist/esm/hooks/relationships/follows/useFetchFollowingCount.js +1 -1
  669. package/dist/esm/hooks/relationships/follows/useFetchFollowingCount.js.map +1 -1
  670. package/dist/esm/hooks/relationships/follows/useFetchFollowingCountByUserId.d.ts +3 -2
  671. package/dist/esm/hooks/relationships/follows/useFetchFollowingCountByUserId.js.map +1 -1
  672. package/dist/esm/hooks/relationships/follows/useFollowManager.d.ts +1 -1
  673. package/dist/esm/hooks/relationships/follows/useFollowUser.d.ts +3 -2
  674. package/dist/esm/hooks/relationships/follows/useFollowUser.js +1 -1
  675. package/dist/esm/hooks/relationships/follows/useFollowUser.js.map +1 -1
  676. package/dist/esm/hooks/relationships/follows/useUnfollowByFollowId.d.ts +3 -2
  677. package/dist/esm/hooks/relationships/follows/useUnfollowByFollowId.js +1 -3
  678. package/dist/esm/hooks/relationships/follows/useUnfollowByFollowId.js.map +1 -1
  679. package/dist/esm/hooks/relationships/follows/useUnfollowUserByUserId.d.ts +3 -2
  680. package/dist/esm/hooks/relationships/follows/useUnfollowUserByUserId.js +1 -3
  681. package/dist/esm/hooks/relationships/follows/useUnfollowUserByUserId.js.map +1 -1
  682. package/dist/esm/hooks/reports/index.d.ts +5 -1
  683. package/dist/esm/hooks/reports/index.js +1 -1
  684. package/dist/esm/hooks/reports/index.js.map +1 -1
  685. package/dist/esm/hooks/reports/useCreateReport.d.ts +16 -3
  686. package/dist/esm/hooks/reports/useCreateReport.js +3 -3
  687. package/dist/esm/hooks/reports/useCreateReport.js.map +1 -1
  688. package/dist/esm/hooks/reports/useFetchModeratedReports.d.ts +60 -0
  689. package/dist/esm/hooks/reports/useFetchModeratedReports.js +86 -0
  690. package/dist/esm/hooks/reports/useFetchModeratedReports.js.map +1 -0
  691. package/dist/esm/hooks/reports/useHandleSpaceCommentReport.d.ts +5 -5
  692. package/dist/esm/hooks/reports/useHandleSpaceCommentReport.js +2 -2
  693. package/dist/esm/hooks/reports/useHandleSpaceEntityReport.d.ts +5 -5
  694. package/dist/esm/hooks/reports/useHandleSpaceEntityReport.js +2 -2
  695. package/dist/esm/hooks/space-lists/index.d.ts +2 -1
  696. package/dist/esm/hooks/space-lists/index.js.map +1 -1
  697. package/dist/esm/hooks/space-lists/useSpaceList.d.ts +22 -17
  698. package/dist/esm/hooks/space-lists/useSpaceList.js +29 -14
  699. package/dist/esm/hooks/space-lists/useSpaceList.js.map +1 -1
  700. package/dist/esm/hooks/space-lists/useSpaceListActions.d.ts +7 -4
  701. package/dist/esm/hooks/space-lists/useSpaceListActions.js +6 -3
  702. package/dist/esm/hooks/space-lists/useSpaceListActions.js.map +1 -1
  703. package/dist/esm/hooks/spaces/index.d.ts +27 -1
  704. package/dist/esm/hooks/spaces/index.js +7 -1
  705. package/dist/esm/hooks/spaces/index.js.map +1 -1
  706. package/dist/esm/hooks/spaces/rules/index.d.ts +12 -0
  707. package/dist/esm/hooks/spaces/rules/index.js +7 -0
  708. package/dist/esm/hooks/spaces/rules/index.js.map +1 -0
  709. package/dist/esm/hooks/spaces/rules/useCreateRule.d.ts +8 -0
  710. package/dist/esm/hooks/spaces/rules/useCreateRule.js +72 -0
  711. package/dist/esm/hooks/spaces/rules/useCreateRule.js.map +1 -0
  712. package/dist/esm/hooks/spaces/rules/useDeleteRule.d.ts +7 -0
  713. package/dist/esm/hooks/spaces/rules/useDeleteRule.js +69 -0
  714. package/dist/esm/hooks/spaces/rules/useDeleteRule.js.map +1 -0
  715. package/dist/esm/hooks/spaces/rules/useFetchManyRules.d.ts +6 -0
  716. package/dist/esm/hooks/{comments/useUpvoteComment.js → spaces/rules/useFetchManyRules.js} +15 -15
  717. package/dist/esm/hooks/spaces/rules/useFetchManyRules.js.map +1 -0
  718. package/dist/esm/hooks/spaces/rules/useFetchRule.d.ts +7 -0
  719. package/dist/esm/hooks/{entities/useRemoveEntityUpvote.js → spaces/rules/useFetchRule.js} +18 -15
  720. package/dist/esm/hooks/spaces/rules/useFetchRule.js.map +1 -0
  721. package/dist/esm/hooks/spaces/rules/useReorderRules.d.ts +7 -0
  722. package/dist/esm/hooks/{comments/useRemoveCommentDownvote.js → spaces/rules/useReorderRules.js} +18 -15
  723. package/dist/esm/hooks/spaces/rules/useReorderRules.js.map +1 -0
  724. package/dist/esm/hooks/spaces/rules/useUpdateRule.d.ts +11 -0
  725. package/dist/esm/hooks/{users/useUpdateUser.js → spaces/rules/useUpdateRule.js} +15 -19
  726. package/dist/esm/hooks/spaces/rules/useUpdateRule.js.map +1 -0
  727. package/dist/esm/hooks/spaces/useApproveMember.d.ts +2 -2
  728. package/dist/esm/hooks/spaces/useApproveMember.js.map +1 -1
  729. package/dist/esm/hooks/spaces/useCheckMyMembership.d.ts +3 -2
  730. package/dist/esm/hooks/spaces/useCheckMyMembership.js.map +1 -1
  731. package/dist/esm/hooks/spaces/useCheckSlugAvailability.d.ts +3 -2
  732. package/dist/esm/hooks/spaces/useCheckSlugAvailability.js.map +1 -1
  733. package/dist/esm/hooks/spaces/useCreateSpace.d.ts +7 -2
  734. package/dist/esm/hooks/spaces/useCreateSpace.js +54 -3
  735. package/dist/esm/hooks/spaces/useCreateSpace.js.map +1 -1
  736. package/dist/esm/hooks/spaces/useDeclineMember.d.ts +2 -2
  737. package/dist/esm/hooks/spaces/useDeclineMember.js.map +1 -1
  738. package/dist/esm/hooks/spaces/useDeleteSpace.d.ts +3 -2
  739. package/dist/esm/hooks/spaces/useDeleteSpace.js.map +1 -1
  740. package/dist/esm/hooks/spaces/useFetchManySpaces.d.ts +8 -4
  741. package/dist/esm/hooks/spaces/useFetchManySpaces.js +13 -2
  742. package/dist/esm/hooks/spaces/useFetchManySpaces.js.map +1 -1
  743. package/dist/esm/hooks/spaces/useFetchSpace.d.ts +5 -3
  744. package/dist/esm/hooks/spaces/useFetchSpace.js +6 -2
  745. package/dist/esm/hooks/spaces/useFetchSpace.js.map +1 -1
  746. package/dist/esm/hooks/spaces/useFetchSpaceBreadcrumb.d.ts +3 -2
  747. package/dist/esm/hooks/spaces/useFetchSpaceBreadcrumb.js.map +1 -1
  748. package/dist/esm/hooks/spaces/useFetchSpaceByShortId.d.ts +5 -3
  749. package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js +7 -2
  750. package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js.map +1 -1
  751. package/dist/esm/hooks/spaces/useFetchSpaceBySlug.d.ts +5 -3
  752. package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js +7 -2
  753. package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js.map +1 -1
  754. package/dist/esm/hooks/spaces/useFetchSpaceChildren.d.ts +4 -3
  755. package/dist/esm/hooks/spaces/useFetchSpaceChildren.js +8 -2
  756. package/dist/esm/hooks/spaces/useFetchSpaceChildren.js.map +1 -1
  757. package/dist/esm/hooks/spaces/useFetchSpaceMembers.d.ts +2 -2
  758. package/dist/esm/hooks/spaces/useFetchSpaceMembers.js +2 -13
  759. package/dist/esm/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
  760. package/dist/esm/hooks/spaces/useFetchSpaceTeam.d.ts +6 -0
  761. package/dist/esm/hooks/{entities/useDownvoteEntity.js → spaces/useFetchSpaceTeam.js} +17 -15
  762. package/dist/esm/hooks/spaces/useFetchSpaceTeam.js.map +1 -0
  763. package/dist/esm/hooks/spaces/useFetchUserSpaces.d.ts +12 -0
  764. package/dist/esm/hooks/spaces/{useFetchMySpaces.js → useFetchUserSpaces.js} +31 -8
  765. package/dist/esm/hooks/spaces/useFetchUserSpaces.js.map +1 -0
  766. package/dist/esm/hooks/spaces/useJoinSpace.d.ts +3 -2
  767. package/dist/esm/hooks/spaces/useJoinSpace.js.map +1 -1
  768. package/dist/esm/hooks/spaces/useLeaveSpace.d.ts +3 -2
  769. package/dist/esm/hooks/spaces/useLeaveSpace.js.map +1 -1
  770. package/dist/esm/hooks/spaces/useModerateSpaceComment.d.ts +26 -0
  771. package/dist/esm/hooks/spaces/useModerateSpaceComment.js +80 -0
  772. package/dist/esm/hooks/spaces/useModerateSpaceComment.js.map +1 -0
  773. package/dist/esm/hooks/spaces/useModerateSpaceEntity.d.ts +26 -0
  774. package/dist/esm/hooks/spaces/useModerateSpaceEntity.js +80 -0
  775. package/dist/esm/hooks/spaces/useModerateSpaceEntity.js.map +1 -0
  776. package/dist/esm/hooks/spaces/useRemoveMember.d.ts +2 -2
  777. package/dist/esm/hooks/spaces/useRemoveMember.js.map +1 -1
  778. package/dist/esm/hooks/spaces/useSpaceData.d.ts +3 -2
  779. package/dist/esm/hooks/spaces/useSpaceData.js +10 -5
  780. package/dist/esm/hooks/spaces/useSpaceData.js.map +1 -1
  781. package/dist/esm/hooks/spaces/useSpacePermissions.d.ts +2 -2
  782. package/dist/esm/hooks/spaces/useUpdateMemberRole.d.ts +2 -2
  783. package/dist/esm/hooks/spaces/useUpdateMemberRole.js.map +1 -1
  784. package/dist/esm/hooks/spaces/useUpdateSpace.d.ts +7 -2
  785. package/dist/esm/hooks/spaces/useUpdateSpace.js +49 -4
  786. package/dist/esm/hooks/spaces/useUpdateSpace.js.map +1 -1
  787. package/dist/esm/hooks/storage/index.d.ts +2 -1
  788. package/dist/esm/hooks/storage/index.js +2 -1
  789. package/dist/esm/hooks/storage/index.js.map +1 -1
  790. package/dist/esm/hooks/storage/useUploadFile.d.ts +16 -5
  791. package/dist/esm/hooks/storage/useUploadFile.js +22 -9
  792. package/dist/esm/hooks/storage/useUploadFile.js.map +1 -1
  793. package/dist/esm/hooks/storage/useUploadImage.d.ts +14 -0
  794. package/dist/esm/hooks/storage/useUploadImage.js +153 -0
  795. package/dist/esm/hooks/storage/useUploadImage.js.map +1 -0
  796. package/dist/esm/hooks/user/index.d.ts +1 -0
  797. package/dist/esm/hooks/user/useUser.js +8 -8
  798. package/dist/esm/hooks/user/useUser.js.map +1 -1
  799. package/dist/esm/hooks/user/useUserActions.js +19 -6
  800. package/dist/esm/hooks/user/useUserActions.js.map +1 -1
  801. package/dist/esm/hooks/users/index.d.ts +6 -6
  802. package/dist/esm/hooks/users/index.js +6 -6
  803. package/dist/esm/hooks/users/index.js.map +1 -1
  804. package/dist/esm/hooks/users/useCheckUsernameAvailability.d.ts +3 -2
  805. package/dist/esm/hooks/users/useCheckUsernameAvailability.js.map +1 -1
  806. package/dist/esm/hooks/users/useFetchUser.d.ts +5 -3
  807. package/dist/esm/hooks/users/useFetchUser.js +6 -2
  808. package/dist/esm/hooks/users/useFetchUser.js.map +1 -1
  809. package/dist/esm/hooks/users/useFetchUserByForeignId.d.ts +5 -3
  810. package/dist/esm/hooks/users/useFetchUserByForeignId.js +5 -2
  811. package/dist/esm/hooks/users/useFetchUserByForeignId.js.map +1 -1
  812. package/dist/esm/hooks/users/useFetchUserByUsername.d.ts +7 -0
  813. package/dist/esm/hooks/{comments/useRemoveCommentUpvote.js → users/useFetchUserByUsername.js} +17 -13
  814. package/dist/esm/hooks/users/useFetchUserByUsername.js.map +1 -0
  815. package/dist/esm/hooks/users/useFetchUserSuggestions.d.ts +3 -2
  816. package/dist/esm/hooks/users/useFetchUserSuggestions.js.map +1 -1
  817. package/dist/esm/hooks/users/useMentions.d.ts +3 -2
  818. package/dist/esm/hooks/users/useMentions.js.map +1 -1
  819. package/dist/esm/hooks/utils/index.d.ts +1 -1
  820. package/dist/esm/hooks/utils/index.js +1 -1
  821. package/dist/esm/hooks/utils/index.js.map +1 -1
  822. package/dist/esm/hooks/utils/useGetMetadata.d.ts +4 -2
  823. package/dist/esm/hooks/utils/useGetMetadata.js +3 -2
  824. package/dist/esm/hooks/utils/useGetMetadata.js.map +1 -1
  825. package/dist/esm/index.d.ts +36 -25
  826. package/dist/esm/index.js +25 -13
  827. package/dist/esm/index.js.map +1 -1
  828. package/dist/esm/interfaces/IAccountStorage.d.ts +6 -0
  829. package/dist/esm/interfaces/IAccountStorage.js +2 -0
  830. package/dist/esm/interfaces/IAccountStorage.js.map +1 -0
  831. package/dist/esm/interfaces/UrlMetadata.d.ts +92 -0
  832. package/dist/esm/interfaces/UrlMetadata.js +2 -0
  833. package/dist/esm/interfaces/UrlMetadata.js.map +1 -0
  834. package/dist/esm/interfaces/models/AppNotification.d.ts +36 -2
  835. package/dist/esm/interfaces/models/{List.d.ts → Collection.d.ts} +2 -4
  836. package/dist/esm/interfaces/models/Collection.js +2 -0
  837. package/dist/esm/interfaces/models/Collection.js.map +1 -0
  838. package/dist/esm/interfaces/models/Comment.d.ts +13 -1
  839. package/dist/esm/interfaces/models/Entity.d.ts +14 -1
  840. package/dist/esm/interfaces/models/File.d.ts +38 -0
  841. package/dist/esm/interfaces/models/File.js +2 -0
  842. package/dist/esm/interfaces/models/File.js.map +1 -0
  843. package/dist/esm/interfaces/models/Image.d.ts +74 -0
  844. package/dist/esm/interfaces/models/Image.js +2 -0
  845. package/dist/esm/interfaces/models/Image.js.map +1 -0
  846. package/dist/esm/interfaces/models/Reaction.d.ts +23 -0
  847. package/dist/esm/interfaces/models/Reaction.js +2 -0
  848. package/dist/esm/interfaces/models/Reaction.js.map +1 -0
  849. package/dist/esm/interfaces/models/Rule.d.ts +22 -0
  850. package/dist/esm/interfaces/models/Rule.js +2 -0
  851. package/dist/esm/interfaces/models/Rule.js.map +1 -0
  852. package/dist/esm/interfaces/models/Space.d.ts +12 -5
  853. package/dist/esm/interfaces/models/SpaceMember.d.ts +3 -0
  854. package/dist/esm/interfaces/models/User.d.ts +10 -3
  855. package/dist/esm/store/api/appNotificationsApi.d.ts +181 -181
  856. package/dist/esm/store/api/baseApi.d.ts +3 -1
  857. package/dist/esm/store/api/baseApi.js +9 -5
  858. package/dist/esm/store/api/baseApi.js.map +1 -1
  859. package/dist/esm/store/api/collectionsApi.d.ts +4541 -0
  860. package/dist/esm/store/api/collectionsApi.js +241 -0
  861. package/dist/esm/store/api/collectionsApi.js.map +1 -0
  862. package/dist/esm/store/api/entityListsApi.d.ts +107 -107
  863. package/dist/esm/store/api/index.d.ts +1 -1
  864. package/dist/esm/store/api/index.js +2 -2
  865. package/dist/esm/store/api/index.js.map +1 -1
  866. package/dist/esm/store/api/spacesApi.d.ts +968 -960
  867. package/dist/esm/store/api/spacesApi.js +29 -11
  868. package/dist/esm/store/api/spacesApi.js.map +1 -1
  869. package/dist/esm/store/api/userApi.d.ts +12 -4
  870. package/dist/esm/store/api/userApi.js +62 -11
  871. package/dist/esm/store/api/userApi.js.map +1 -1
  872. package/dist/esm/store/hooks.d.ts +27 -0
  873. package/dist/esm/store/hooks.js +14 -0
  874. package/dist/esm/store/hooks.js.map +1 -0
  875. package/dist/esm/store/index.d.ts +19 -11
  876. package/dist/esm/store/index.js +4 -1
  877. package/dist/esm/store/index.js.map +1 -1
  878. package/dist/esm/store/integration.d.ts +35 -0
  879. package/dist/esm/store/integration.js +53 -0
  880. package/dist/esm/store/integration.js.map +1 -0
  881. package/dist/esm/store/replykeReducers.d.ts +38 -0
  882. package/dist/esm/store/replykeReducers.js +38 -0
  883. package/dist/esm/store/replykeReducers.js.map +1 -0
  884. package/dist/esm/store/rootReducer.d.ts +30 -14
  885. package/dist/esm/store/rootReducer.js +6 -16
  886. package/dist/esm/store/rootReducer.js.map +1 -1
  887. package/dist/esm/store/slices/accountsSlice.d.ts +41 -0
  888. package/dist/esm/store/slices/accountsSlice.js +64 -0
  889. package/dist/esm/store/slices/accountsSlice.js.map +1 -0
  890. package/dist/esm/store/slices/appNotificationsSlice.d.ts +515 -8
  891. package/dist/esm/store/slices/appNotificationsSlice.js +9 -9
  892. package/dist/esm/store/slices/appNotificationsSlice.js.map +1 -1
  893. package/dist/esm/store/slices/authSlice.d.ts +19 -7
  894. package/dist/esm/store/slices/authSlice.js +19 -7
  895. package/dist/esm/store/slices/authSlice.js.map +1 -1
  896. package/dist/esm/store/slices/authThunks.d.ts +7 -0
  897. package/dist/esm/store/slices/authThunks.js +167 -57
  898. package/dist/esm/store/slices/authThunks.js.map +1 -1
  899. package/dist/esm/store/slices/collectionsSlice.d.ts +428 -0
  900. package/dist/esm/store/slices/collectionsSlice.js +202 -0
  901. package/dist/esm/store/slices/collectionsSlice.js.map +1 -0
  902. package/dist/esm/store/slices/entityListsSlice.d.ts +3838 -147
  903. package/dist/esm/store/slices/entityListsSlice.js +2 -2
  904. package/dist/esm/store/slices/entityListsSlice.js.map +1 -1
  905. package/dist/esm/store/slices/spaceListsSlice.d.ts +1136 -65
  906. package/dist/esm/store/slices/spaceListsSlice.js +14 -5
  907. package/dist/esm/store/slices/spaceListsSlice.js.map +1 -1
  908. package/dist/esm/store/slices/userSlice.d.ts +715 -7
  909. package/dist/esm/store/slices/userSlice.js +22 -10
  910. package/dist/esm/store/slices/userSlice.js.map +1 -1
  911. package/dist/esm/store/types/index.d.ts +5 -1
  912. package/dist/esm/utils/env.js +3 -3
  913. package/dist/esm/utils/env.js.map +1 -1
  914. package/package.json +7 -5
  915. package/dist/cjs/hooks/comments/useCommentVotes.d.ts +0 -11
  916. package/dist/cjs/hooks/comments/useCommentVotes.js +0 -234
  917. package/dist/cjs/hooks/comments/useCommentVotes.js.map +0 -1
  918. package/dist/cjs/hooks/comments/useDownvoteComment.d.ts +0 -5
  919. package/dist/cjs/hooks/comments/useDownvoteComment.js.map +0 -1
  920. package/dist/cjs/hooks/comments/useProfileComments.d.ts +0 -18
  921. package/dist/cjs/hooks/comments/useProfileComments.js.map +0 -1
  922. package/dist/cjs/hooks/comments/useRemoveCommentDownvote.d.ts +0 -5
  923. package/dist/cjs/hooks/comments/useRemoveCommentDownvote.js.map +0 -1
  924. package/dist/cjs/hooks/comments/useRemoveCommentUpvote.d.ts +0 -5
  925. package/dist/cjs/hooks/comments/useRemoveCommentUpvote.js.map +0 -1
  926. package/dist/cjs/hooks/comments/useUpvoteComment.d.ts +0 -5
  927. package/dist/cjs/hooks/comments/useUpvoteComment.js.map +0 -1
  928. package/dist/cjs/hooks/entities/useDownvoteEntity.d.ts +0 -5
  929. package/dist/cjs/hooks/entities/useDownvoteEntity.js.map +0 -1
  930. package/dist/cjs/hooks/entities/useEntityVotes.d.ts +0 -11
  931. package/dist/cjs/hooks/entities/useEntityVotes.js +0 -241
  932. package/dist/cjs/hooks/entities/useEntityVotes.js.map +0 -1
  933. package/dist/cjs/hooks/entities/useRemoveEntityDownvote.d.ts +0 -5
  934. package/dist/cjs/hooks/entities/useRemoveEntityDownvote.js.map +0 -1
  935. package/dist/cjs/hooks/entities/useRemoveEntityUpvote.d.ts +0 -5
  936. package/dist/cjs/hooks/entities/useRemoveEntityUpvote.js.map +0 -1
  937. package/dist/cjs/hooks/entities/useUpvoteEntity.d.ts +0 -5
  938. package/dist/cjs/hooks/entities/useUpvoteEntity.js.map +0 -1
  939. package/dist/cjs/hooks/lists/index.d.ts +0 -3
  940. package/dist/cjs/hooks/lists/index.js +0 -14
  941. package/dist/cjs/hooks/lists/index.js.map +0 -1
  942. package/dist/cjs/hooks/lists/useIsEntitySaved.js.map +0 -1
  943. package/dist/cjs/hooks/lists/useLists.d.ts +0 -36
  944. package/dist/cjs/hooks/lists/useLists.js +0 -239
  945. package/dist/cjs/hooks/lists/useLists.js.map +0 -1
  946. package/dist/cjs/hooks/lists/useListsActions.d.ts +0 -21
  947. package/dist/cjs/hooks/lists/useListsActions.js.map +0 -1
  948. package/dist/cjs/hooks/reports/useFetchSpaceReports.d.ts +0 -39
  949. package/dist/cjs/hooks/reports/useFetchSpaceReports.js.map +0 -1
  950. package/dist/cjs/hooks/spaces/useFetchMySpaces.d.ts +0 -8
  951. package/dist/cjs/hooks/spaces/useFetchMySpaces.js.map +0 -1
  952. package/dist/cjs/hooks/users/useUpdateUser.d.ts +0 -18
  953. package/dist/cjs/hooks/users/useUpdateUser.js.map +0 -1
  954. package/dist/cjs/interfaces/models/List.js.map +0 -1
  955. package/dist/cjs/store/api/listsApi.d.ts +0 -3564
  956. package/dist/cjs/store/api/listsApi.js +0 -288
  957. package/dist/cjs/store/api/listsApi.js.map +0 -1
  958. package/dist/cjs/store/slices/listsSlice.d.ts +0 -1911
  959. package/dist/cjs/store/slices/listsSlice.js +0 -211
  960. package/dist/cjs/store/slices/listsSlice.js.map +0 -1
  961. package/dist/esm/hooks/comments/useCommentVotes.d.ts +0 -11
  962. package/dist/esm/hooks/comments/useCommentVotes.js +0 -229
  963. package/dist/esm/hooks/comments/useCommentVotes.js.map +0 -1
  964. package/dist/esm/hooks/comments/useDownvoteComment.d.ts +0 -5
  965. package/dist/esm/hooks/comments/useDownvoteComment.js.map +0 -1
  966. package/dist/esm/hooks/comments/useProfileComments.d.ts +0 -18
  967. package/dist/esm/hooks/comments/useProfileComments.js.map +0 -1
  968. package/dist/esm/hooks/comments/useRemoveCommentDownvote.d.ts +0 -5
  969. package/dist/esm/hooks/comments/useRemoveCommentDownvote.js.map +0 -1
  970. package/dist/esm/hooks/comments/useRemoveCommentUpvote.d.ts +0 -5
  971. package/dist/esm/hooks/comments/useRemoveCommentUpvote.js.map +0 -1
  972. package/dist/esm/hooks/comments/useUpvoteComment.d.ts +0 -5
  973. package/dist/esm/hooks/comments/useUpvoteComment.js.map +0 -1
  974. package/dist/esm/hooks/entities/useDownvoteEntity.d.ts +0 -5
  975. package/dist/esm/hooks/entities/useDownvoteEntity.js.map +0 -1
  976. package/dist/esm/hooks/entities/useEntityVotes.d.ts +0 -11
  977. package/dist/esm/hooks/entities/useEntityVotes.js +0 -236
  978. package/dist/esm/hooks/entities/useEntityVotes.js.map +0 -1
  979. package/dist/esm/hooks/entities/useRemoveEntityDownvote.d.ts +0 -5
  980. package/dist/esm/hooks/entities/useRemoveEntityDownvote.js.map +0 -1
  981. package/dist/esm/hooks/entities/useRemoveEntityUpvote.d.ts +0 -5
  982. package/dist/esm/hooks/entities/useRemoveEntityUpvote.js.map +0 -1
  983. package/dist/esm/hooks/entities/useUpvoteEntity.d.ts +0 -5
  984. package/dist/esm/hooks/entities/useUpvoteEntity.js.map +0 -1
  985. package/dist/esm/hooks/lists/index.d.ts +0 -3
  986. package/dist/esm/hooks/lists/index.js +0 -5
  987. package/dist/esm/hooks/lists/index.js.map +0 -1
  988. package/dist/esm/hooks/lists/useIsEntitySaved.js.map +0 -1
  989. package/dist/esm/hooks/lists/useLists.d.ts +0 -36
  990. package/dist/esm/hooks/lists/useLists.js +0 -234
  991. package/dist/esm/hooks/lists/useLists.js.map +0 -1
  992. package/dist/esm/hooks/lists/useListsActions.d.ts +0 -21
  993. package/dist/esm/hooks/lists/useListsActions.js.map +0 -1
  994. package/dist/esm/hooks/reports/useFetchSpaceReports.d.ts +0 -39
  995. package/dist/esm/hooks/reports/useFetchSpaceReports.js.map +0 -1
  996. package/dist/esm/hooks/spaces/useFetchMySpaces.d.ts +0 -8
  997. package/dist/esm/hooks/spaces/useFetchMySpaces.js.map +0 -1
  998. package/dist/esm/hooks/users/useUpdateUser.d.ts +0 -18
  999. package/dist/esm/hooks/users/useUpdateUser.js.map +0 -1
  1000. package/dist/esm/interfaces/models/List.js +0 -2
  1001. package/dist/esm/interfaces/models/List.js.map +0 -1
  1002. package/dist/esm/store/api/listsApi.d.ts +0 -3564
  1003. package/dist/esm/store/api/listsApi.js +0 -285
  1004. package/dist/esm/store/api/listsApi.js.map +0 -1
  1005. package/dist/esm/store/slices/listsSlice.d.ts +0 -1911
  1006. package/dist/esm/store/slices/listsSlice.js +0 -202
  1007. package/dist/esm/store/slices/listsSlice.js.map +0 -1
@@ -1,5 +1,6 @@
1
1
  import { PayloadAction } from "@reduxjs/toolkit";
2
2
  import type { UnifiedAppNotification, NotificationTemplates } from "../../interfaces/models/AppNotification";
3
+ import type { ReplykeState } from '../replykeReducers';
3
4
  export interface AppNotificationsState {
4
5
  notifications: UnifiedAppNotification[];
5
6
  unreadCount: number;
@@ -139,6 +140,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
139
140
  userId: string;
140
141
  isRead: boolean;
141
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;
142
181
  } | {
143
182
  type: "new-follow";
144
183
  action: "open-profile";
@@ -211,6 +250,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
211
250
  title?: string | undefined;
212
251
  content?: string | undefined;
213
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;
214
261
  newFollow?: {
215
262
  title?: string | undefined;
216
263
  content?: string | undefined;
@@ -354,6 +401,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
354
401
  userId: string;
355
402
  isRead: boolean;
356
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;
357
442
  } | {
358
443
  type: "new-follow";
359
444
  action: "open-profile";
@@ -426,6 +511,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
426
511
  title?: string | undefined;
427
512
  content?: string | undefined;
428
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;
429
522
  newFollow?: {
430
523
  title?: string | undefined;
431
524
  content?: string | undefined;
@@ -569,6 +662,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
569
662
  userId: string;
570
663
  isRead: boolean;
571
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;
572
703
  } | {
573
704
  type: "new-follow";
574
705
  action: "open-profile";
@@ -641,6 +772,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
641
772
  title?: string | undefined;
642
773
  content?: string | undefined;
643
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;
644
783
  newFollow?: {
645
784
  title?: string | undefined;
646
785
  content?: string | undefined;
@@ -784,6 +923,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
784
923
  userId: string;
785
924
  isRead: boolean;
786
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;
787
964
  } | {
788
965
  type: "new-follow";
789
966
  action: "open-profile";
@@ -856,6 +1033,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
856
1033
  title?: string | undefined;
857
1034
  content?: string | undefined;
858
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;
859
1044
  newFollow?: {
860
1045
  title?: string | undefined;
861
1046
  content?: string | undefined;
@@ -999,6 +1184,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
999
1184
  userId: string;
1000
1185
  isRead: boolean;
1001
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;
1002
1225
  } | {
1003
1226
  type: "new-follow";
1004
1227
  action: "open-profile";
@@ -1071,6 +1294,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1071
1294
  title?: string | undefined;
1072
1295
  content?: string | undefined;
1073
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;
1074
1305
  newFollow?: {
1075
1306
  title?: string | undefined;
1076
1307
  content?: string | undefined;
@@ -1214,6 +1445,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1214
1445
  userId: string;
1215
1446
  isRead: boolean;
1216
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;
1217
1486
  } | {
1218
1487
  type: "new-follow";
1219
1488
  action: "open-profile";
@@ -1286,6 +1555,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1286
1555
  title?: string | undefined;
1287
1556
  content?: string | undefined;
1288
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;
1289
1566
  newFollow?: {
1290
1567
  title?: string | undefined;
1291
1568
  content?: string | undefined;
@@ -1429,6 +1706,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1429
1706
  userId: string;
1430
1707
  isRead: boolean;
1431
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;
1432
1747
  } | {
1433
1748
  type: "new-follow";
1434
1749
  action: "open-profile";
@@ -1501,6 +1816,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1501
1816
  title?: string | undefined;
1502
1817
  content?: string | undefined;
1503
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;
1504
1827
  newFollow?: {
1505
1828
  title?: string | undefined;
1506
1829
  content?: string | undefined;
@@ -1648,6 +1971,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1648
1971
  userId: string;
1649
1972
  isRead: boolean;
1650
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;
1651
2012
  } | {
1652
2013
  type: "new-follow";
1653
2014
  action: "open-profile";
@@ -1720,6 +2081,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1720
2081
  title?: string | undefined;
1721
2082
  content?: string | undefined;
1722
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;
1723
2092
  newFollow?: {
1724
2093
  title?: string | undefined;
1725
2094
  content?: string | undefined;
@@ -1863,6 +2232,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1863
2232
  userId: string;
1864
2233
  isRead: boolean;
1865
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;
1866
2273
  } | {
1867
2274
  type: "new-follow";
1868
2275
  action: "open-profile";
@@ -1935,6 +2342,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
1935
2342
  title?: string | undefined;
1936
2343
  content?: string | undefined;
1937
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;
1938
2353
  newFollow?: {
1939
2354
  title?: string | undefined;
1940
2355
  content?: string | undefined;
@@ -2078,6 +2493,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2078
2493
  userId: string;
2079
2494
  isRead: boolean;
2080
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;
2081
2534
  } | {
2082
2535
  type: "new-follow";
2083
2536
  action: "open-profile";
@@ -2150,6 +2603,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2150
2603
  title?: string | undefined;
2151
2604
  content?: string | undefined;
2152
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;
2153
2614
  newFollow?: {
2154
2615
  title?: string | undefined;
2155
2616
  content?: string | undefined;
@@ -2293,6 +2754,44 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2293
2754
  userId: string;
2294
2755
  isRead: boolean;
2295
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;
2296
2795
  } | {
2297
2796
  type: "new-follow";
2298
2797
  action: "open-profile";
@@ -2365,6 +2864,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
2365
2864
  title?: string | undefined;
2366
2865
  content?: string | undefined;
2367
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;
2368
2875
  newFollow?: {
2369
2876
  title?: string | undefined;
2370
2877
  content?: string | undefined;
@@ -2389,26 +2896,26 @@ export declare const setProjectContext: import("@reduxjs/toolkit").ActionCreator
2389
2896
  declare const _default: import("@reduxjs/toolkit").Reducer<AppNotificationsState>;
2390
2897
  export default _default;
2391
2898
  export declare const selectAppNotifications: (state: {
2392
- appNotifications: AppNotificationsState;
2899
+ replyke: ReplykeState;
2393
2900
  }) => UnifiedAppNotification[];
2394
2901
  export declare const selectUnreadCount: (state: {
2395
- appNotifications: AppNotificationsState;
2902
+ replyke: ReplykeState;
2396
2903
  }) => number;
2397
2904
  export declare const selectAppNotificationsLoading: (state: {
2398
- appNotifications: AppNotificationsState;
2905
+ replyke: ReplykeState;
2399
2906
  }) => boolean;
2400
2907
  export declare const selectAppNotificationsHasMore: (state: {
2401
- appNotifications: AppNotificationsState;
2908
+ replyke: ReplykeState;
2402
2909
  }) => boolean;
2403
2910
  export declare const selectAppNotificationsPage: (state: {
2404
- appNotifications: AppNotificationsState;
2911
+ replyke: ReplykeState;
2405
2912
  }) => number;
2406
2913
  export declare const selectAppNotificationsLimit: (state: {
2407
- appNotifications: AppNotificationsState;
2914
+ replyke: ReplykeState;
2408
2915
  }) => number;
2409
2916
  export declare const selectNotificationTemplates: (state: {
2410
- appNotifications: AppNotificationsState;
2917
+ replyke: ReplykeState;
2411
2918
  }) => Partial<NotificationTemplates> | undefined;
2412
2919
  export declare const selectCurrentProjectId: (state: {
2413
- appNotifications: AppNotificationsState;
2920
+ replyke: ReplykeState;
2414
2921
  }) => string | undefined;