@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,4 +1,5 @@
1
1
  import { PayloadAction } from "@reduxjs/toolkit";
2
+ import type { ReplykeState } from '../replykeReducers';
2
3
  import { Entity, EntityIncludeParam } from "../../interfaces/models/Entity";
3
4
  import { EntityListSortByOptions, SortDirection, SortType } from "../../interfaces/EntityListSortByOptions";
4
5
  import { LocationFilters } from "../../interfaces/entity-filters/LocationFilters";
@@ -113,8 +114,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
113
114
  slug: string | null;
114
115
  name: string;
115
116
  description: string | null;
116
- avatar: string | null;
117
- banner: string | null;
117
+ avatarFileId: string | null;
118
+ bannerFileId: string | null;
118
119
  userId: string;
119
120
  readingPermission: import("../..").ReadingPermission;
120
121
  postingPermission: import("../..").PostingPermission;
@@ -130,6 +131,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
130
131
  membersCount: number;
131
132
  childSpacesCount: number;
132
133
  isMember?: boolean | undefined;
134
+ avatarFile?: {
135
+ id: string;
136
+ projectId: string;
137
+ userId: string | null;
138
+ entityId: string | null;
139
+ commentId: string | null;
140
+ spaceId: string | null;
141
+ type: "image" | "video" | "document" | "other";
142
+ originalPath: string;
143
+ originalSize: number;
144
+ originalMimeType: string;
145
+ position: number;
146
+ metadata: {
147
+ [x: string]: any;
148
+ };
149
+ image?: {
150
+ fileId: string;
151
+ originalWidth: number;
152
+ originalHeight: number;
153
+ variants: {
154
+ [x: string]: {
155
+ path: string;
156
+ publicPath: string;
157
+ width: number;
158
+ height: number;
159
+ size: number;
160
+ format: string;
161
+ };
162
+ };
163
+ processingStatus: "completed" | "failed";
164
+ processingError: string | null;
165
+ format: string;
166
+ quality: number;
167
+ exifStripped: boolean;
168
+ createdAt: Date;
169
+ updatedAt: Date;
170
+ } | undefined;
171
+ createdAt: Date;
172
+ updatedAt: Date;
173
+ } | undefined;
174
+ bannerFile?: {
175
+ id: string;
176
+ projectId: string;
177
+ userId: string | null;
178
+ entityId: string | null;
179
+ commentId: string | null;
180
+ spaceId: string | null;
181
+ type: "image" | "video" | "document" | "other";
182
+ originalPath: string;
183
+ originalSize: number;
184
+ originalMimeType: string;
185
+ position: number;
186
+ metadata: {
187
+ [x: string]: any;
188
+ };
189
+ image?: {
190
+ fileId: string;
191
+ originalWidth: number;
192
+ originalHeight: number;
193
+ variants: {
194
+ [x: string]: {
195
+ path: string;
196
+ publicPath: string;
197
+ width: number;
198
+ height: number;
199
+ size: number;
200
+ format: string;
201
+ };
202
+ };
203
+ processingStatus: "completed" | "failed";
204
+ processingError: string | null;
205
+ format: string;
206
+ quality: number;
207
+ exifStripped: boolean;
208
+ createdAt: Date;
209
+ updatedAt: Date;
210
+ } | undefined;
211
+ createdAt: Date;
212
+ updatedAt: Date;
213
+ } | undefined;
133
214
  } | null | undefined;
134
215
  user?: {
135
216
  id: string;
@@ -139,17 +220,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
139
220
  name: string | null;
140
221
  username: string | null;
141
222
  avatar: string | null;
223
+ avatarFileId: string | null;
224
+ bannerFileId: string | null;
225
+ avatarFile?: {
226
+ id: string;
227
+ projectId: string;
228
+ userId: string | null;
229
+ entityId: string | null;
230
+ commentId: string | null;
231
+ spaceId: string | null;
232
+ type: "image" | "video" | "document" | "other";
233
+ originalPath: string;
234
+ originalSize: number;
235
+ originalMimeType: string;
236
+ position: number;
237
+ metadata: {
238
+ [x: string]: any;
239
+ };
240
+ image?: {
241
+ fileId: string;
242
+ originalWidth: number;
243
+ originalHeight: number;
244
+ variants: {
245
+ [x: string]: {
246
+ path: string;
247
+ publicPath: string;
248
+ width: number;
249
+ height: number;
250
+ size: number;
251
+ format: string;
252
+ };
253
+ };
254
+ processingStatus: "completed" | "failed";
255
+ processingError: string | null;
256
+ format: string;
257
+ quality: number;
258
+ exifStripped: boolean;
259
+ createdAt: Date;
260
+ updatedAt: Date;
261
+ } | undefined;
262
+ createdAt: Date;
263
+ updatedAt: Date;
264
+ } | null | undefined;
265
+ bannerFile?: {
266
+ id: string;
267
+ projectId: string;
268
+ userId: string | null;
269
+ entityId: string | null;
270
+ commentId: string | null;
271
+ spaceId: string | null;
272
+ type: "image" | "video" | "document" | "other";
273
+ originalPath: string;
274
+ originalSize: number;
275
+ originalMimeType: string;
276
+ position: number;
277
+ metadata: {
278
+ [x: string]: any;
279
+ };
280
+ image?: {
281
+ fileId: string;
282
+ originalWidth: number;
283
+ originalHeight: number;
284
+ variants: {
285
+ [x: string]: {
286
+ path: string;
287
+ publicPath: string;
288
+ width: number;
289
+ height: number;
290
+ size: number;
291
+ format: string;
292
+ };
293
+ };
294
+ processingStatus: "completed" | "failed";
295
+ processingError: string | null;
296
+ format: string;
297
+ quality: number;
298
+ exifStripped: boolean;
299
+ createdAt: Date;
300
+ updatedAt: Date;
301
+ } | undefined;
302
+ createdAt: Date;
303
+ updatedAt: Date;
304
+ } | null | undefined;
142
305
  bio: string | null;
143
306
  birthdate: Date | null;
307
+ location: {
308
+ type: "Point";
309
+ coordinates: [number, number];
310
+ } | null;
144
311
  metadata: {
145
312
  [x: string]: any;
146
313
  };
147
314
  reputation: number;
148
315
  createdAt: Date;
149
- location: {
150
- type: "Point";
151
- coordinates: [number, number];
152
- } | null;
153
316
  } | null | undefined;
154
317
  title: string | null;
155
318
  content: string | null;
@@ -161,9 +324,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
161
324
  attachments: {
162
325
  [x: string]: any;
163
326
  }[];
327
+ files?: {
328
+ id: string;
329
+ projectId: string;
330
+ userId: string | null;
331
+ entityId: string | null;
332
+ commentId: string | null;
333
+ spaceId: string | null;
334
+ type: "image" | "video" | "document" | "other";
335
+ originalPath: string;
336
+ originalSize: number;
337
+ originalMimeType: string;
338
+ position: number;
339
+ metadata: {
340
+ [x: string]: any;
341
+ };
342
+ image?: {
343
+ fileId: string;
344
+ originalWidth: number;
345
+ originalHeight: number;
346
+ variants: {
347
+ [x: string]: {
348
+ path: string;
349
+ publicPath: string;
350
+ width: number;
351
+ height: number;
352
+ size: number;
353
+ format: string;
354
+ };
355
+ };
356
+ processingStatus: "completed" | "failed";
357
+ processingError: string | null;
358
+ format: string;
359
+ quality: number;
360
+ exifStripped: boolean;
361
+ createdAt: Date;
362
+ updatedAt: Date;
363
+ } | undefined;
364
+ createdAt: Date;
365
+ updatedAt: Date;
366
+ }[] | undefined;
164
367
  keywords: string[];
165
368
  upvotes: string[];
166
369
  downvotes: string[];
370
+ reactionCounts: {
371
+ upvote: number;
372
+ downvote: number;
373
+ like: number;
374
+ love: number;
375
+ wow: number;
376
+ sad: number;
377
+ angry: number;
378
+ funny: number;
379
+ };
380
+ userReaction?: (import("../..").ReactionType | null) | undefined;
167
381
  repliesCount: number;
168
382
  views: number;
169
383
  score: number;
@@ -185,25 +399,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
185
399
  name: string | null;
186
400
  username: string | null;
187
401
  avatar: string | null;
402
+ avatarFileId: string | null;
403
+ bannerFileId: string | null;
404
+ avatarFile?: {
405
+ id: string;
406
+ projectId: string;
407
+ userId: string | null;
408
+ entityId: string | null;
409
+ commentId: string | null;
410
+ spaceId: string | null;
411
+ type: "image" | "video" | "document" | "other";
412
+ originalPath: string;
413
+ originalSize: number;
414
+ originalMimeType: string;
415
+ position: number;
416
+ metadata: {
417
+ [x: string]: any;
418
+ };
419
+ image?: {
420
+ fileId: string;
421
+ originalWidth: number;
422
+ originalHeight: number;
423
+ variants: {
424
+ [x: string]: {
425
+ path: string;
426
+ publicPath: string;
427
+ width: number;
428
+ height: number;
429
+ size: number;
430
+ format: string;
431
+ };
432
+ };
433
+ processingStatus: "completed" | "failed";
434
+ processingError: string | null;
435
+ format: string;
436
+ quality: number;
437
+ exifStripped: boolean;
438
+ createdAt: Date;
439
+ updatedAt: Date;
440
+ } | undefined;
441
+ createdAt: Date;
442
+ updatedAt: Date;
443
+ } | null | undefined;
444
+ bannerFile?: {
445
+ id: string;
446
+ projectId: string;
447
+ userId: string | null;
448
+ entityId: string | null;
449
+ commentId: string | null;
450
+ spaceId: string | null;
451
+ type: "image" | "video" | "document" | "other";
452
+ originalPath: string;
453
+ originalSize: number;
454
+ originalMimeType: string;
455
+ position: number;
456
+ metadata: {
457
+ [x: string]: any;
458
+ };
459
+ image?: {
460
+ fileId: string;
461
+ originalWidth: number;
462
+ originalHeight: number;
463
+ variants: {
464
+ [x: string]: {
465
+ path: string;
466
+ publicPath: string;
467
+ width: number;
468
+ height: number;
469
+ size: number;
470
+ format: string;
471
+ };
472
+ };
473
+ processingStatus: "completed" | "failed";
474
+ processingError: string | null;
475
+ format: string;
476
+ quality: number;
477
+ exifStripped: boolean;
478
+ createdAt: Date;
479
+ updatedAt: Date;
480
+ } | undefined;
481
+ createdAt: Date;
482
+ updatedAt: Date;
483
+ } | null | undefined;
188
484
  bio: string | null;
189
485
  birthdate: Date | null;
486
+ location: {
487
+ type: "Point";
488
+ coordinates: [number, number];
489
+ } | null;
190
490
  metadata: {
191
491
  [x: string]: any;
192
492
  };
193
493
  reputation: number;
194
494
  createdAt: Date;
195
- location: {
196
- type: "Point";
197
- coordinates: [number, number];
198
- } | null;
199
495
  };
200
496
  upvotesCount: number;
201
497
  content: string;
202
498
  createdAt: string;
203
499
  } | null;
500
+ isSaved?: boolean | undefined;
204
501
  createdAt: Date;
205
502
  updatedAt: Date;
206
503
  deletedAt: Date | null;
504
+ isDraft: boolean | null;
505
+ moderationStatus: "approved" | "removed" | null;
506
+ moderatedAt: Date | null;
507
+ moderatedById: string | null;
508
+ moderatedByType: "client" | "user" | null;
509
+ moderationReason: string | null;
207
510
  }[];
208
511
  page: number;
209
512
  loading: boolean;
@@ -275,8 +578,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
275
578
  slug: string | null;
276
579
  name: string;
277
580
  description: string | null;
278
- avatar: string | null;
279
- banner: string | null;
581
+ avatarFileId: string | null;
582
+ bannerFileId: string | null;
280
583
  userId: string;
281
584
  readingPermission: import("../..").ReadingPermission;
282
585
  postingPermission: import("../..").PostingPermission;
@@ -292,6 +595,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
292
595
  membersCount: number;
293
596
  childSpacesCount: number;
294
597
  isMember?: boolean | undefined;
598
+ avatarFile?: {
599
+ id: string;
600
+ projectId: string;
601
+ userId: string | null;
602
+ entityId: string | null;
603
+ commentId: string | null;
604
+ spaceId: string | null;
605
+ type: "image" | "video" | "document" | "other";
606
+ originalPath: string;
607
+ originalSize: number;
608
+ originalMimeType: string;
609
+ position: number;
610
+ metadata: {
611
+ [x: string]: any;
612
+ };
613
+ image?: {
614
+ fileId: string;
615
+ originalWidth: number;
616
+ originalHeight: number;
617
+ variants: {
618
+ [x: string]: {
619
+ path: string;
620
+ publicPath: string;
621
+ width: number;
622
+ height: number;
623
+ size: number;
624
+ format: string;
625
+ };
626
+ };
627
+ processingStatus: "completed" | "failed";
628
+ processingError: string | null;
629
+ format: string;
630
+ quality: number;
631
+ exifStripped: boolean;
632
+ createdAt: Date;
633
+ updatedAt: Date;
634
+ } | undefined;
635
+ createdAt: Date;
636
+ updatedAt: Date;
637
+ } | undefined;
638
+ bannerFile?: {
639
+ id: string;
640
+ projectId: string;
641
+ userId: string | null;
642
+ entityId: string | null;
643
+ commentId: string | null;
644
+ spaceId: string | null;
645
+ type: "image" | "video" | "document" | "other";
646
+ originalPath: string;
647
+ originalSize: number;
648
+ originalMimeType: string;
649
+ position: number;
650
+ metadata: {
651
+ [x: string]: any;
652
+ };
653
+ image?: {
654
+ fileId: string;
655
+ originalWidth: number;
656
+ originalHeight: number;
657
+ variants: {
658
+ [x: string]: {
659
+ path: string;
660
+ publicPath: string;
661
+ width: number;
662
+ height: number;
663
+ size: number;
664
+ format: string;
665
+ };
666
+ };
667
+ processingStatus: "completed" | "failed";
668
+ processingError: string | null;
669
+ format: string;
670
+ quality: number;
671
+ exifStripped: boolean;
672
+ createdAt: Date;
673
+ updatedAt: Date;
674
+ } | undefined;
675
+ createdAt: Date;
676
+ updatedAt: Date;
677
+ } | undefined;
295
678
  } | null | undefined;
296
679
  user?: {
297
680
  id: string;
@@ -301,17 +684,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
301
684
  name: string | null;
302
685
  username: string | null;
303
686
  avatar: string | null;
687
+ avatarFileId: string | null;
688
+ bannerFileId: string | null;
689
+ avatarFile?: {
690
+ id: string;
691
+ projectId: string;
692
+ userId: string | null;
693
+ entityId: string | null;
694
+ commentId: string | null;
695
+ spaceId: string | null;
696
+ type: "image" | "video" | "document" | "other";
697
+ originalPath: string;
698
+ originalSize: number;
699
+ originalMimeType: string;
700
+ position: number;
701
+ metadata: {
702
+ [x: string]: any;
703
+ };
704
+ image?: {
705
+ fileId: string;
706
+ originalWidth: number;
707
+ originalHeight: number;
708
+ variants: {
709
+ [x: string]: {
710
+ path: string;
711
+ publicPath: string;
712
+ width: number;
713
+ height: number;
714
+ size: number;
715
+ format: string;
716
+ };
717
+ };
718
+ processingStatus: "completed" | "failed";
719
+ processingError: string | null;
720
+ format: string;
721
+ quality: number;
722
+ exifStripped: boolean;
723
+ createdAt: Date;
724
+ updatedAt: Date;
725
+ } | undefined;
726
+ createdAt: Date;
727
+ updatedAt: Date;
728
+ } | null | undefined;
729
+ bannerFile?: {
730
+ id: string;
731
+ projectId: string;
732
+ userId: string | null;
733
+ entityId: string | null;
734
+ commentId: string | null;
735
+ spaceId: string | null;
736
+ type: "image" | "video" | "document" | "other";
737
+ originalPath: string;
738
+ originalSize: number;
739
+ originalMimeType: string;
740
+ position: number;
741
+ metadata: {
742
+ [x: string]: any;
743
+ };
744
+ image?: {
745
+ fileId: string;
746
+ originalWidth: number;
747
+ originalHeight: number;
748
+ variants: {
749
+ [x: string]: {
750
+ path: string;
751
+ publicPath: string;
752
+ width: number;
753
+ height: number;
754
+ size: number;
755
+ format: string;
756
+ };
757
+ };
758
+ processingStatus: "completed" | "failed";
759
+ processingError: string | null;
760
+ format: string;
761
+ quality: number;
762
+ exifStripped: boolean;
763
+ createdAt: Date;
764
+ updatedAt: Date;
765
+ } | undefined;
766
+ createdAt: Date;
767
+ updatedAt: Date;
768
+ } | null | undefined;
304
769
  bio: string | null;
305
770
  birthdate: Date | null;
771
+ location: {
772
+ type: "Point";
773
+ coordinates: [number, number];
774
+ } | null;
306
775
  metadata: {
307
776
  [x: string]: any;
308
777
  };
309
778
  reputation: number;
310
779
  createdAt: Date;
311
- location: {
312
- type: "Point";
313
- coordinates: [number, number];
314
- } | null;
315
780
  } | null | undefined;
316
781
  title: string | null;
317
782
  content: string | null;
@@ -323,9 +788,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
323
788
  attachments: {
324
789
  [x: string]: any;
325
790
  }[];
791
+ files?: {
792
+ id: string;
793
+ projectId: string;
794
+ userId: string | null;
795
+ entityId: string | null;
796
+ commentId: string | null;
797
+ spaceId: string | null;
798
+ type: "image" | "video" | "document" | "other";
799
+ originalPath: string;
800
+ originalSize: number;
801
+ originalMimeType: string;
802
+ position: number;
803
+ metadata: {
804
+ [x: string]: any;
805
+ };
806
+ image?: {
807
+ fileId: string;
808
+ originalWidth: number;
809
+ originalHeight: number;
810
+ variants: {
811
+ [x: string]: {
812
+ path: string;
813
+ publicPath: string;
814
+ width: number;
815
+ height: number;
816
+ size: number;
817
+ format: string;
818
+ };
819
+ };
820
+ processingStatus: "completed" | "failed";
821
+ processingError: string | null;
822
+ format: string;
823
+ quality: number;
824
+ exifStripped: boolean;
825
+ createdAt: Date;
826
+ updatedAt: Date;
827
+ } | undefined;
828
+ createdAt: Date;
829
+ updatedAt: Date;
830
+ }[] | undefined;
326
831
  keywords: string[];
327
832
  upvotes: string[];
328
833
  downvotes: string[];
834
+ reactionCounts: {
835
+ upvote: number;
836
+ downvote: number;
837
+ like: number;
838
+ love: number;
839
+ wow: number;
840
+ sad: number;
841
+ angry: number;
842
+ funny: number;
843
+ };
844
+ userReaction?: (import("../..").ReactionType | null) | undefined;
329
845
  repliesCount: number;
330
846
  views: number;
331
847
  score: number;
@@ -347,25 +863,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
347
863
  name: string | null;
348
864
  username: string | null;
349
865
  avatar: string | null;
866
+ avatarFileId: string | null;
867
+ bannerFileId: string | null;
868
+ avatarFile?: {
869
+ id: string;
870
+ projectId: string;
871
+ userId: string | null;
872
+ entityId: string | null;
873
+ commentId: string | null;
874
+ spaceId: string | null;
875
+ type: "image" | "video" | "document" | "other";
876
+ originalPath: string;
877
+ originalSize: number;
878
+ originalMimeType: string;
879
+ position: number;
880
+ metadata: {
881
+ [x: string]: any;
882
+ };
883
+ image?: {
884
+ fileId: string;
885
+ originalWidth: number;
886
+ originalHeight: number;
887
+ variants: {
888
+ [x: string]: {
889
+ path: string;
890
+ publicPath: string;
891
+ width: number;
892
+ height: number;
893
+ size: number;
894
+ format: string;
895
+ };
896
+ };
897
+ processingStatus: "completed" | "failed";
898
+ processingError: string | null;
899
+ format: string;
900
+ quality: number;
901
+ exifStripped: boolean;
902
+ createdAt: Date;
903
+ updatedAt: Date;
904
+ } | undefined;
905
+ createdAt: Date;
906
+ updatedAt: Date;
907
+ } | null | undefined;
908
+ bannerFile?: {
909
+ id: string;
910
+ projectId: string;
911
+ userId: string | null;
912
+ entityId: string | null;
913
+ commentId: string | null;
914
+ spaceId: string | null;
915
+ type: "image" | "video" | "document" | "other";
916
+ originalPath: string;
917
+ originalSize: number;
918
+ originalMimeType: string;
919
+ position: number;
920
+ metadata: {
921
+ [x: string]: any;
922
+ };
923
+ image?: {
924
+ fileId: string;
925
+ originalWidth: number;
926
+ originalHeight: number;
927
+ variants: {
928
+ [x: string]: {
929
+ path: string;
930
+ publicPath: string;
931
+ width: number;
932
+ height: number;
933
+ size: number;
934
+ format: string;
935
+ };
936
+ };
937
+ processingStatus: "completed" | "failed";
938
+ processingError: string | null;
939
+ format: string;
940
+ quality: number;
941
+ exifStripped: boolean;
942
+ createdAt: Date;
943
+ updatedAt: Date;
944
+ } | undefined;
945
+ createdAt: Date;
946
+ updatedAt: Date;
947
+ } | null | undefined;
350
948
  bio: string | null;
351
949
  birthdate: Date | null;
950
+ location: {
951
+ type: "Point";
952
+ coordinates: [number, number];
953
+ } | null;
352
954
  metadata: {
353
955
  [x: string]: any;
354
956
  };
355
957
  reputation: number;
356
958
  createdAt: Date;
357
- location: {
358
- type: "Point";
359
- coordinates: [number, number];
360
- } | null;
361
959
  };
362
960
  upvotesCount: number;
363
961
  content: string;
364
962
  createdAt: string;
365
963
  } | null;
964
+ isSaved?: boolean | undefined;
366
965
  createdAt: Date;
367
966
  updatedAt: Date;
368
967
  deletedAt: Date | null;
968
+ isDraft: boolean | null;
969
+ moderationStatus: "approved" | "removed" | null;
970
+ moderatedAt: Date | null;
971
+ moderatedById: string | null;
972
+ moderatedByType: "client" | "user" | null;
973
+ moderationReason: string | null;
369
974
  }[];
370
975
  page: number;
371
976
  loading: boolean;
@@ -437,8 +1042,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
437
1042
  slug: string | null;
438
1043
  name: string;
439
1044
  description: string | null;
440
- avatar: string | null;
441
- banner: string | null;
1045
+ avatarFileId: string | null;
1046
+ bannerFileId: string | null;
442
1047
  userId: string;
443
1048
  readingPermission: import("../..").ReadingPermission;
444
1049
  postingPermission: import("../..").PostingPermission;
@@ -454,6 +1059,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
454
1059
  membersCount: number;
455
1060
  childSpacesCount: number;
456
1061
  isMember?: boolean | undefined;
1062
+ avatarFile?: {
1063
+ id: string;
1064
+ projectId: string;
1065
+ userId: string | null;
1066
+ entityId: string | null;
1067
+ commentId: string | null;
1068
+ spaceId: string | null;
1069
+ type: "image" | "video" | "document" | "other";
1070
+ originalPath: string;
1071
+ originalSize: number;
1072
+ originalMimeType: string;
1073
+ position: number;
1074
+ metadata: {
1075
+ [x: string]: any;
1076
+ };
1077
+ image?: {
1078
+ fileId: string;
1079
+ originalWidth: number;
1080
+ originalHeight: number;
1081
+ variants: {
1082
+ [x: string]: {
1083
+ path: string;
1084
+ publicPath: string;
1085
+ width: number;
1086
+ height: number;
1087
+ size: number;
1088
+ format: string;
1089
+ };
1090
+ };
1091
+ processingStatus: "completed" | "failed";
1092
+ processingError: string | null;
1093
+ format: string;
1094
+ quality: number;
1095
+ exifStripped: boolean;
1096
+ createdAt: Date;
1097
+ updatedAt: Date;
1098
+ } | undefined;
1099
+ createdAt: Date;
1100
+ updatedAt: Date;
1101
+ } | undefined;
1102
+ bannerFile?: {
1103
+ id: string;
1104
+ projectId: string;
1105
+ userId: string | null;
1106
+ entityId: string | null;
1107
+ commentId: string | null;
1108
+ spaceId: string | null;
1109
+ type: "image" | "video" | "document" | "other";
1110
+ originalPath: string;
1111
+ originalSize: number;
1112
+ originalMimeType: string;
1113
+ position: number;
1114
+ metadata: {
1115
+ [x: string]: any;
1116
+ };
1117
+ image?: {
1118
+ fileId: string;
1119
+ originalWidth: number;
1120
+ originalHeight: number;
1121
+ variants: {
1122
+ [x: string]: {
1123
+ path: string;
1124
+ publicPath: string;
1125
+ width: number;
1126
+ height: number;
1127
+ size: number;
1128
+ format: string;
1129
+ };
1130
+ };
1131
+ processingStatus: "completed" | "failed";
1132
+ processingError: string | null;
1133
+ format: string;
1134
+ quality: number;
1135
+ exifStripped: boolean;
1136
+ createdAt: Date;
1137
+ updatedAt: Date;
1138
+ } | undefined;
1139
+ createdAt: Date;
1140
+ updatedAt: Date;
1141
+ } | undefined;
457
1142
  } | null | undefined;
458
1143
  user?: {
459
1144
  id: string;
@@ -463,17 +1148,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
463
1148
  name: string | null;
464
1149
  username: string | null;
465
1150
  avatar: string | null;
1151
+ avatarFileId: string | null;
1152
+ bannerFileId: string | null;
1153
+ avatarFile?: {
1154
+ id: string;
1155
+ projectId: string;
1156
+ userId: string | null;
1157
+ entityId: string | null;
1158
+ commentId: string | null;
1159
+ spaceId: string | null;
1160
+ type: "image" | "video" | "document" | "other";
1161
+ originalPath: string;
1162
+ originalSize: number;
1163
+ originalMimeType: string;
1164
+ position: number;
1165
+ metadata: {
1166
+ [x: string]: any;
1167
+ };
1168
+ image?: {
1169
+ fileId: string;
1170
+ originalWidth: number;
1171
+ originalHeight: number;
1172
+ variants: {
1173
+ [x: string]: {
1174
+ path: string;
1175
+ publicPath: string;
1176
+ width: number;
1177
+ height: number;
1178
+ size: number;
1179
+ format: string;
1180
+ };
1181
+ };
1182
+ processingStatus: "completed" | "failed";
1183
+ processingError: string | null;
1184
+ format: string;
1185
+ quality: number;
1186
+ exifStripped: boolean;
1187
+ createdAt: Date;
1188
+ updatedAt: Date;
1189
+ } | undefined;
1190
+ createdAt: Date;
1191
+ updatedAt: Date;
1192
+ } | null | undefined;
1193
+ bannerFile?: {
1194
+ id: string;
1195
+ projectId: string;
1196
+ userId: string | null;
1197
+ entityId: string | null;
1198
+ commentId: string | null;
1199
+ spaceId: string | null;
1200
+ type: "image" | "video" | "document" | "other";
1201
+ originalPath: string;
1202
+ originalSize: number;
1203
+ originalMimeType: string;
1204
+ position: number;
1205
+ metadata: {
1206
+ [x: string]: any;
1207
+ };
1208
+ image?: {
1209
+ fileId: string;
1210
+ originalWidth: number;
1211
+ originalHeight: number;
1212
+ variants: {
1213
+ [x: string]: {
1214
+ path: string;
1215
+ publicPath: string;
1216
+ width: number;
1217
+ height: number;
1218
+ size: number;
1219
+ format: string;
1220
+ };
1221
+ };
1222
+ processingStatus: "completed" | "failed";
1223
+ processingError: string | null;
1224
+ format: string;
1225
+ quality: number;
1226
+ exifStripped: boolean;
1227
+ createdAt: Date;
1228
+ updatedAt: Date;
1229
+ } | undefined;
1230
+ createdAt: Date;
1231
+ updatedAt: Date;
1232
+ } | null | undefined;
466
1233
  bio: string | null;
467
1234
  birthdate: Date | null;
1235
+ location: {
1236
+ type: "Point";
1237
+ coordinates: [number, number];
1238
+ } | null;
468
1239
  metadata: {
469
1240
  [x: string]: any;
470
1241
  };
471
1242
  reputation: number;
472
1243
  createdAt: Date;
473
- location: {
474
- type: "Point";
475
- coordinates: [number, number];
476
- } | null;
477
1244
  } | null | undefined;
478
1245
  title: string | null;
479
1246
  content: string | null;
@@ -485,9 +1252,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
485
1252
  attachments: {
486
1253
  [x: string]: any;
487
1254
  }[];
1255
+ files?: {
1256
+ id: string;
1257
+ projectId: string;
1258
+ userId: string | null;
1259
+ entityId: string | null;
1260
+ commentId: string | null;
1261
+ spaceId: string | null;
1262
+ type: "image" | "video" | "document" | "other";
1263
+ originalPath: string;
1264
+ originalSize: number;
1265
+ originalMimeType: string;
1266
+ position: number;
1267
+ metadata: {
1268
+ [x: string]: any;
1269
+ };
1270
+ image?: {
1271
+ fileId: string;
1272
+ originalWidth: number;
1273
+ originalHeight: number;
1274
+ variants: {
1275
+ [x: string]: {
1276
+ path: string;
1277
+ publicPath: string;
1278
+ width: number;
1279
+ height: number;
1280
+ size: number;
1281
+ format: string;
1282
+ };
1283
+ };
1284
+ processingStatus: "completed" | "failed";
1285
+ processingError: string | null;
1286
+ format: string;
1287
+ quality: number;
1288
+ exifStripped: boolean;
1289
+ createdAt: Date;
1290
+ updatedAt: Date;
1291
+ } | undefined;
1292
+ createdAt: Date;
1293
+ updatedAt: Date;
1294
+ }[] | undefined;
488
1295
  keywords: string[];
489
1296
  upvotes: string[];
490
1297
  downvotes: string[];
1298
+ reactionCounts: {
1299
+ upvote: number;
1300
+ downvote: number;
1301
+ like: number;
1302
+ love: number;
1303
+ wow: number;
1304
+ sad: number;
1305
+ angry: number;
1306
+ funny: number;
1307
+ };
1308
+ userReaction?: (import("../..").ReactionType | null) | undefined;
491
1309
  repliesCount: number;
492
1310
  views: number;
493
1311
  score: number;
@@ -509,25 +1327,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
509
1327
  name: string | null;
510
1328
  username: string | null;
511
1329
  avatar: string | null;
1330
+ avatarFileId: string | null;
1331
+ bannerFileId: string | null;
1332
+ avatarFile?: {
1333
+ id: string;
1334
+ projectId: string;
1335
+ userId: string | null;
1336
+ entityId: string | null;
1337
+ commentId: string | null;
1338
+ spaceId: string | null;
1339
+ type: "image" | "video" | "document" | "other";
1340
+ originalPath: string;
1341
+ originalSize: number;
1342
+ originalMimeType: string;
1343
+ position: number;
1344
+ metadata: {
1345
+ [x: string]: any;
1346
+ };
1347
+ image?: {
1348
+ fileId: string;
1349
+ originalWidth: number;
1350
+ originalHeight: number;
1351
+ variants: {
1352
+ [x: string]: {
1353
+ path: string;
1354
+ publicPath: string;
1355
+ width: number;
1356
+ height: number;
1357
+ size: number;
1358
+ format: string;
1359
+ };
1360
+ };
1361
+ processingStatus: "completed" | "failed";
1362
+ processingError: string | null;
1363
+ format: string;
1364
+ quality: number;
1365
+ exifStripped: boolean;
1366
+ createdAt: Date;
1367
+ updatedAt: Date;
1368
+ } | undefined;
1369
+ createdAt: Date;
1370
+ updatedAt: Date;
1371
+ } | null | undefined;
1372
+ bannerFile?: {
1373
+ id: string;
1374
+ projectId: string;
1375
+ userId: string | null;
1376
+ entityId: string | null;
1377
+ commentId: string | null;
1378
+ spaceId: string | null;
1379
+ type: "image" | "video" | "document" | "other";
1380
+ originalPath: string;
1381
+ originalSize: number;
1382
+ originalMimeType: string;
1383
+ position: number;
1384
+ metadata: {
1385
+ [x: string]: any;
1386
+ };
1387
+ image?: {
1388
+ fileId: string;
1389
+ originalWidth: number;
1390
+ originalHeight: number;
1391
+ variants: {
1392
+ [x: string]: {
1393
+ path: string;
1394
+ publicPath: string;
1395
+ width: number;
1396
+ height: number;
1397
+ size: number;
1398
+ format: string;
1399
+ };
1400
+ };
1401
+ processingStatus: "completed" | "failed";
1402
+ processingError: string | null;
1403
+ format: string;
1404
+ quality: number;
1405
+ exifStripped: boolean;
1406
+ createdAt: Date;
1407
+ updatedAt: Date;
1408
+ } | undefined;
1409
+ createdAt: Date;
1410
+ updatedAt: Date;
1411
+ } | null | undefined;
512
1412
  bio: string | null;
513
1413
  birthdate: Date | null;
1414
+ location: {
1415
+ type: "Point";
1416
+ coordinates: [number, number];
1417
+ } | null;
514
1418
  metadata: {
515
1419
  [x: string]: any;
516
1420
  };
517
1421
  reputation: number;
518
1422
  createdAt: Date;
519
- location: {
520
- type: "Point";
521
- coordinates: [number, number];
522
- } | null;
523
1423
  };
524
1424
  upvotesCount: number;
525
1425
  content: string;
526
1426
  createdAt: string;
527
1427
  } | null;
1428
+ isSaved?: boolean | undefined;
528
1429
  createdAt: Date;
529
1430
  updatedAt: Date;
530
1431
  deletedAt: Date | null;
1432
+ isDraft: boolean | null;
1433
+ moderationStatus: "approved" | "removed" | null;
1434
+ moderatedAt: Date | null;
1435
+ moderatedById: string | null;
1436
+ moderatedByType: "client" | "user" | null;
1437
+ moderationReason: string | null;
531
1438
  }[];
532
1439
  page: number;
533
1440
  loading: boolean;
@@ -602,8 +1509,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
602
1509
  slug: string | null;
603
1510
  name: string;
604
1511
  description: string | null;
605
- avatar: string | null;
606
- banner: string | null;
1512
+ avatarFileId: string | null;
1513
+ bannerFileId: string | null;
607
1514
  userId: string;
608
1515
  readingPermission: import("../..").ReadingPermission;
609
1516
  postingPermission: import("../..").PostingPermission;
@@ -619,6 +1526,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
619
1526
  membersCount: number;
620
1527
  childSpacesCount: number;
621
1528
  isMember?: boolean | undefined;
1529
+ avatarFile?: {
1530
+ id: string;
1531
+ projectId: string;
1532
+ userId: string | null;
1533
+ entityId: string | null;
1534
+ commentId: string | null;
1535
+ spaceId: string | null;
1536
+ type: "image" | "video" | "document" | "other";
1537
+ originalPath: string;
1538
+ originalSize: number;
1539
+ originalMimeType: string;
1540
+ position: number;
1541
+ metadata: {
1542
+ [x: string]: any;
1543
+ };
1544
+ image?: {
1545
+ fileId: string;
1546
+ originalWidth: number;
1547
+ originalHeight: number;
1548
+ variants: {
1549
+ [x: string]: {
1550
+ path: string;
1551
+ publicPath: string;
1552
+ width: number;
1553
+ height: number;
1554
+ size: number;
1555
+ format: string;
1556
+ };
1557
+ };
1558
+ processingStatus: "completed" | "failed";
1559
+ processingError: string | null;
1560
+ format: string;
1561
+ quality: number;
1562
+ exifStripped: boolean;
1563
+ createdAt: Date;
1564
+ updatedAt: Date;
1565
+ } | undefined;
1566
+ createdAt: Date;
1567
+ updatedAt: Date;
1568
+ } | undefined;
1569
+ bannerFile?: {
1570
+ id: string;
1571
+ projectId: string;
1572
+ userId: string | null;
1573
+ entityId: string | null;
1574
+ commentId: string | null;
1575
+ spaceId: string | null;
1576
+ type: "image" | "video" | "document" | "other";
1577
+ originalPath: string;
1578
+ originalSize: number;
1579
+ originalMimeType: string;
1580
+ position: number;
1581
+ metadata: {
1582
+ [x: string]: any;
1583
+ };
1584
+ image?: {
1585
+ fileId: string;
1586
+ originalWidth: number;
1587
+ originalHeight: number;
1588
+ variants: {
1589
+ [x: string]: {
1590
+ path: string;
1591
+ publicPath: string;
1592
+ width: number;
1593
+ height: number;
1594
+ size: number;
1595
+ format: string;
1596
+ };
1597
+ };
1598
+ processingStatus: "completed" | "failed";
1599
+ processingError: string | null;
1600
+ format: string;
1601
+ quality: number;
1602
+ exifStripped: boolean;
1603
+ createdAt: Date;
1604
+ updatedAt: Date;
1605
+ } | undefined;
1606
+ createdAt: Date;
1607
+ updatedAt: Date;
1608
+ } | undefined;
622
1609
  } | null | undefined;
623
1610
  user?: {
624
1611
  id: string;
@@ -628,17 +1615,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
628
1615
  name: string | null;
629
1616
  username: string | null;
630
1617
  avatar: string | null;
1618
+ avatarFileId: string | null;
1619
+ bannerFileId: string | null;
1620
+ avatarFile?: {
1621
+ id: string;
1622
+ projectId: string;
1623
+ userId: string | null;
1624
+ entityId: string | null;
1625
+ commentId: string | null;
1626
+ spaceId: string | null;
1627
+ type: "image" | "video" | "document" | "other";
1628
+ originalPath: string;
1629
+ originalSize: number;
1630
+ originalMimeType: string;
1631
+ position: number;
1632
+ metadata: {
1633
+ [x: string]: any;
1634
+ };
1635
+ image?: {
1636
+ fileId: string;
1637
+ originalWidth: number;
1638
+ originalHeight: number;
1639
+ variants: {
1640
+ [x: string]: {
1641
+ path: string;
1642
+ publicPath: string;
1643
+ width: number;
1644
+ height: number;
1645
+ size: number;
1646
+ format: string;
1647
+ };
1648
+ };
1649
+ processingStatus: "completed" | "failed";
1650
+ processingError: string | null;
1651
+ format: string;
1652
+ quality: number;
1653
+ exifStripped: boolean;
1654
+ createdAt: Date;
1655
+ updatedAt: Date;
1656
+ } | undefined;
1657
+ createdAt: Date;
1658
+ updatedAt: Date;
1659
+ } | null | undefined;
1660
+ bannerFile?: {
1661
+ id: string;
1662
+ projectId: string;
1663
+ userId: string | null;
1664
+ entityId: string | null;
1665
+ commentId: string | null;
1666
+ spaceId: string | null;
1667
+ type: "image" | "video" | "document" | "other";
1668
+ originalPath: string;
1669
+ originalSize: number;
1670
+ originalMimeType: string;
1671
+ position: number;
1672
+ metadata: {
1673
+ [x: string]: any;
1674
+ };
1675
+ image?: {
1676
+ fileId: string;
1677
+ originalWidth: number;
1678
+ originalHeight: number;
1679
+ variants: {
1680
+ [x: string]: {
1681
+ path: string;
1682
+ publicPath: string;
1683
+ width: number;
1684
+ height: number;
1685
+ size: number;
1686
+ format: string;
1687
+ };
1688
+ };
1689
+ processingStatus: "completed" | "failed";
1690
+ processingError: string | null;
1691
+ format: string;
1692
+ quality: number;
1693
+ exifStripped: boolean;
1694
+ createdAt: Date;
1695
+ updatedAt: Date;
1696
+ } | undefined;
1697
+ createdAt: Date;
1698
+ updatedAt: Date;
1699
+ } | null | undefined;
631
1700
  bio: string | null;
632
1701
  birthdate: Date | null;
1702
+ location: {
1703
+ type: "Point";
1704
+ coordinates: [number, number];
1705
+ } | null;
633
1706
  metadata: {
634
1707
  [x: string]: any;
635
1708
  };
636
1709
  reputation: number;
637
1710
  createdAt: Date;
638
- location: {
639
- type: "Point";
640
- coordinates: [number, number];
641
- } | null;
642
1711
  } | null | undefined;
643
1712
  title: string | null;
644
1713
  content: string | null;
@@ -650,9 +1719,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
650
1719
  attachments: {
651
1720
  [x: string]: any;
652
1721
  }[];
1722
+ files?: {
1723
+ id: string;
1724
+ projectId: string;
1725
+ userId: string | null;
1726
+ entityId: string | null;
1727
+ commentId: string | null;
1728
+ spaceId: string | null;
1729
+ type: "image" | "video" | "document" | "other";
1730
+ originalPath: string;
1731
+ originalSize: number;
1732
+ originalMimeType: string;
1733
+ position: number;
1734
+ metadata: {
1735
+ [x: string]: any;
1736
+ };
1737
+ image?: {
1738
+ fileId: string;
1739
+ originalWidth: number;
1740
+ originalHeight: number;
1741
+ variants: {
1742
+ [x: string]: {
1743
+ path: string;
1744
+ publicPath: string;
1745
+ width: number;
1746
+ height: number;
1747
+ size: number;
1748
+ format: string;
1749
+ };
1750
+ };
1751
+ processingStatus: "completed" | "failed";
1752
+ processingError: string | null;
1753
+ format: string;
1754
+ quality: number;
1755
+ exifStripped: boolean;
1756
+ createdAt: Date;
1757
+ updatedAt: Date;
1758
+ } | undefined;
1759
+ createdAt: Date;
1760
+ updatedAt: Date;
1761
+ }[] | undefined;
653
1762
  keywords: string[];
654
1763
  upvotes: string[];
655
1764
  downvotes: string[];
1765
+ reactionCounts: {
1766
+ upvote: number;
1767
+ downvote: number;
1768
+ like: number;
1769
+ love: number;
1770
+ wow: number;
1771
+ sad: number;
1772
+ angry: number;
1773
+ funny: number;
1774
+ };
1775
+ userReaction?: (import("../..").ReactionType | null) | undefined;
656
1776
  repliesCount: number;
657
1777
  views: number;
658
1778
  score: number;
@@ -674,25 +1794,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
674
1794
  name: string | null;
675
1795
  username: string | null;
676
1796
  avatar: string | null;
1797
+ avatarFileId: string | null;
1798
+ bannerFileId: string | null;
1799
+ avatarFile?: {
1800
+ id: string;
1801
+ projectId: string;
1802
+ userId: string | null;
1803
+ entityId: string | null;
1804
+ commentId: string | null;
1805
+ spaceId: string | null;
1806
+ type: "image" | "video" | "document" | "other";
1807
+ originalPath: string;
1808
+ originalSize: number;
1809
+ originalMimeType: string;
1810
+ position: number;
1811
+ metadata: {
1812
+ [x: string]: any;
1813
+ };
1814
+ image?: {
1815
+ fileId: string;
1816
+ originalWidth: number;
1817
+ originalHeight: number;
1818
+ variants: {
1819
+ [x: string]: {
1820
+ path: string;
1821
+ publicPath: string;
1822
+ width: number;
1823
+ height: number;
1824
+ size: number;
1825
+ format: string;
1826
+ };
1827
+ };
1828
+ processingStatus: "completed" | "failed";
1829
+ processingError: string | null;
1830
+ format: string;
1831
+ quality: number;
1832
+ exifStripped: boolean;
1833
+ createdAt: Date;
1834
+ updatedAt: Date;
1835
+ } | undefined;
1836
+ createdAt: Date;
1837
+ updatedAt: Date;
1838
+ } | null | undefined;
1839
+ bannerFile?: {
1840
+ id: string;
1841
+ projectId: string;
1842
+ userId: string | null;
1843
+ entityId: string | null;
1844
+ commentId: string | null;
1845
+ spaceId: string | null;
1846
+ type: "image" | "video" | "document" | "other";
1847
+ originalPath: string;
1848
+ originalSize: number;
1849
+ originalMimeType: string;
1850
+ position: number;
1851
+ metadata: {
1852
+ [x: string]: any;
1853
+ };
1854
+ image?: {
1855
+ fileId: string;
1856
+ originalWidth: number;
1857
+ originalHeight: number;
1858
+ variants: {
1859
+ [x: string]: {
1860
+ path: string;
1861
+ publicPath: string;
1862
+ width: number;
1863
+ height: number;
1864
+ size: number;
1865
+ format: string;
1866
+ };
1867
+ };
1868
+ processingStatus: "completed" | "failed";
1869
+ processingError: string | null;
1870
+ format: string;
1871
+ quality: number;
1872
+ exifStripped: boolean;
1873
+ createdAt: Date;
1874
+ updatedAt: Date;
1875
+ } | undefined;
1876
+ createdAt: Date;
1877
+ updatedAt: Date;
1878
+ } | null | undefined;
677
1879
  bio: string | null;
678
1880
  birthdate: Date | null;
1881
+ location: {
1882
+ type: "Point";
1883
+ coordinates: [number, number];
1884
+ } | null;
679
1885
  metadata: {
680
1886
  [x: string]: any;
681
1887
  };
682
1888
  reputation: number;
683
1889
  createdAt: Date;
684
- location: {
685
- type: "Point";
686
- coordinates: [number, number];
687
- } | null;
688
1890
  };
689
1891
  upvotesCount: number;
690
1892
  content: string;
691
1893
  createdAt: string;
692
1894
  } | null;
1895
+ isSaved?: boolean | undefined;
693
1896
  createdAt: Date;
694
1897
  updatedAt: Date;
695
1898
  deletedAt: Date | null;
1899
+ isDraft: boolean | null;
1900
+ moderationStatus: "approved" | "removed" | null;
1901
+ moderatedAt: Date | null;
1902
+ moderatedById: string | null;
1903
+ moderatedByType: "client" | "user" | null;
1904
+ moderationReason: string | null;
696
1905
  }[];
697
1906
  page: number;
698
1907
  loading: boolean;
@@ -764,8 +1973,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
764
1973
  slug: string | null;
765
1974
  name: string;
766
1975
  description: string | null;
767
- avatar: string | null;
768
- banner: string | null;
1976
+ avatarFileId: string | null;
1977
+ bannerFileId: string | null;
769
1978
  userId: string;
770
1979
  readingPermission: import("../..").ReadingPermission;
771
1980
  postingPermission: import("../..").PostingPermission;
@@ -781,6 +1990,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
781
1990
  membersCount: number;
782
1991
  childSpacesCount: number;
783
1992
  isMember?: boolean | undefined;
1993
+ avatarFile?: {
1994
+ id: string;
1995
+ projectId: string;
1996
+ userId: string | null;
1997
+ entityId: string | null;
1998
+ commentId: string | null;
1999
+ spaceId: string | null;
2000
+ type: "image" | "video" | "document" | "other";
2001
+ originalPath: string;
2002
+ originalSize: number;
2003
+ originalMimeType: string;
2004
+ position: number;
2005
+ metadata: {
2006
+ [x: string]: any;
2007
+ };
2008
+ image?: {
2009
+ fileId: string;
2010
+ originalWidth: number;
2011
+ originalHeight: number;
2012
+ variants: {
2013
+ [x: string]: {
2014
+ path: string;
2015
+ publicPath: string;
2016
+ width: number;
2017
+ height: number;
2018
+ size: number;
2019
+ format: string;
2020
+ };
2021
+ };
2022
+ processingStatus: "completed" | "failed";
2023
+ processingError: string | null;
2024
+ format: string;
2025
+ quality: number;
2026
+ exifStripped: boolean;
2027
+ createdAt: Date;
2028
+ updatedAt: Date;
2029
+ } | undefined;
2030
+ createdAt: Date;
2031
+ updatedAt: Date;
2032
+ } | undefined;
2033
+ bannerFile?: {
2034
+ id: string;
2035
+ projectId: string;
2036
+ userId: string | null;
2037
+ entityId: string | null;
2038
+ commentId: string | null;
2039
+ spaceId: string | null;
2040
+ type: "image" | "video" | "document" | "other";
2041
+ originalPath: string;
2042
+ originalSize: number;
2043
+ originalMimeType: string;
2044
+ position: number;
2045
+ metadata: {
2046
+ [x: string]: any;
2047
+ };
2048
+ image?: {
2049
+ fileId: string;
2050
+ originalWidth: number;
2051
+ originalHeight: number;
2052
+ variants: {
2053
+ [x: string]: {
2054
+ path: string;
2055
+ publicPath: string;
2056
+ width: number;
2057
+ height: number;
2058
+ size: number;
2059
+ format: string;
2060
+ };
2061
+ };
2062
+ processingStatus: "completed" | "failed";
2063
+ processingError: string | null;
2064
+ format: string;
2065
+ quality: number;
2066
+ exifStripped: boolean;
2067
+ createdAt: Date;
2068
+ updatedAt: Date;
2069
+ } | undefined;
2070
+ createdAt: Date;
2071
+ updatedAt: Date;
2072
+ } | undefined;
784
2073
  } | null | undefined;
785
2074
  user?: {
786
2075
  id: string;
@@ -790,17 +2079,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
790
2079
  name: string | null;
791
2080
  username: string | null;
792
2081
  avatar: string | null;
2082
+ avatarFileId: string | null;
2083
+ bannerFileId: string | null;
2084
+ avatarFile?: {
2085
+ id: string;
2086
+ projectId: string;
2087
+ userId: string | null;
2088
+ entityId: string | null;
2089
+ commentId: string | null;
2090
+ spaceId: string | null;
2091
+ type: "image" | "video" | "document" | "other";
2092
+ originalPath: string;
2093
+ originalSize: number;
2094
+ originalMimeType: string;
2095
+ position: number;
2096
+ metadata: {
2097
+ [x: string]: any;
2098
+ };
2099
+ image?: {
2100
+ fileId: string;
2101
+ originalWidth: number;
2102
+ originalHeight: number;
2103
+ variants: {
2104
+ [x: string]: {
2105
+ path: string;
2106
+ publicPath: string;
2107
+ width: number;
2108
+ height: number;
2109
+ size: number;
2110
+ format: string;
2111
+ };
2112
+ };
2113
+ processingStatus: "completed" | "failed";
2114
+ processingError: string | null;
2115
+ format: string;
2116
+ quality: number;
2117
+ exifStripped: boolean;
2118
+ createdAt: Date;
2119
+ updatedAt: Date;
2120
+ } | undefined;
2121
+ createdAt: Date;
2122
+ updatedAt: Date;
2123
+ } | null | undefined;
2124
+ bannerFile?: {
2125
+ id: string;
2126
+ projectId: string;
2127
+ userId: string | null;
2128
+ entityId: string | null;
2129
+ commentId: string | null;
2130
+ spaceId: string | null;
2131
+ type: "image" | "video" | "document" | "other";
2132
+ originalPath: string;
2133
+ originalSize: number;
2134
+ originalMimeType: string;
2135
+ position: number;
2136
+ metadata: {
2137
+ [x: string]: any;
2138
+ };
2139
+ image?: {
2140
+ fileId: string;
2141
+ originalWidth: number;
2142
+ originalHeight: number;
2143
+ variants: {
2144
+ [x: string]: {
2145
+ path: string;
2146
+ publicPath: string;
2147
+ width: number;
2148
+ height: number;
2149
+ size: number;
2150
+ format: string;
2151
+ };
2152
+ };
2153
+ processingStatus: "completed" | "failed";
2154
+ processingError: string | null;
2155
+ format: string;
2156
+ quality: number;
2157
+ exifStripped: boolean;
2158
+ createdAt: Date;
2159
+ updatedAt: Date;
2160
+ } | undefined;
2161
+ createdAt: Date;
2162
+ updatedAt: Date;
2163
+ } | null | undefined;
793
2164
  bio: string | null;
794
2165
  birthdate: Date | null;
2166
+ location: {
2167
+ type: "Point";
2168
+ coordinates: [number, number];
2169
+ } | null;
795
2170
  metadata: {
796
2171
  [x: string]: any;
797
2172
  };
798
2173
  reputation: number;
799
2174
  createdAt: Date;
800
- location: {
801
- type: "Point";
802
- coordinates: [number, number];
803
- } | null;
804
2175
  } | null | undefined;
805
2176
  title: string | null;
806
2177
  content: string | null;
@@ -812,9 +2183,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
812
2183
  attachments: {
813
2184
  [x: string]: any;
814
2185
  }[];
2186
+ files?: {
2187
+ id: string;
2188
+ projectId: string;
2189
+ userId: string | null;
2190
+ entityId: string | null;
2191
+ commentId: string | null;
2192
+ spaceId: string | null;
2193
+ type: "image" | "video" | "document" | "other";
2194
+ originalPath: string;
2195
+ originalSize: number;
2196
+ originalMimeType: string;
2197
+ position: number;
2198
+ metadata: {
2199
+ [x: string]: any;
2200
+ };
2201
+ image?: {
2202
+ fileId: string;
2203
+ originalWidth: number;
2204
+ originalHeight: number;
2205
+ variants: {
2206
+ [x: string]: {
2207
+ path: string;
2208
+ publicPath: string;
2209
+ width: number;
2210
+ height: number;
2211
+ size: number;
2212
+ format: string;
2213
+ };
2214
+ };
2215
+ processingStatus: "completed" | "failed";
2216
+ processingError: string | null;
2217
+ format: string;
2218
+ quality: number;
2219
+ exifStripped: boolean;
2220
+ createdAt: Date;
2221
+ updatedAt: Date;
2222
+ } | undefined;
2223
+ createdAt: Date;
2224
+ updatedAt: Date;
2225
+ }[] | undefined;
815
2226
  keywords: string[];
816
2227
  upvotes: string[];
817
2228
  downvotes: string[];
2229
+ reactionCounts: {
2230
+ upvote: number;
2231
+ downvote: number;
2232
+ like: number;
2233
+ love: number;
2234
+ wow: number;
2235
+ sad: number;
2236
+ angry: number;
2237
+ funny: number;
2238
+ };
2239
+ userReaction?: (import("../..").ReactionType | null) | undefined;
818
2240
  repliesCount: number;
819
2241
  views: number;
820
2242
  score: number;
@@ -836,25 +2258,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
836
2258
  name: string | null;
837
2259
  username: string | null;
838
2260
  avatar: string | null;
2261
+ avatarFileId: string | null;
2262
+ bannerFileId: string | null;
2263
+ avatarFile?: {
2264
+ id: string;
2265
+ projectId: string;
2266
+ userId: string | null;
2267
+ entityId: string | null;
2268
+ commentId: string | null;
2269
+ spaceId: string | null;
2270
+ type: "image" | "video" | "document" | "other";
2271
+ originalPath: string;
2272
+ originalSize: number;
2273
+ originalMimeType: string;
2274
+ position: number;
2275
+ metadata: {
2276
+ [x: string]: any;
2277
+ };
2278
+ image?: {
2279
+ fileId: string;
2280
+ originalWidth: number;
2281
+ originalHeight: number;
2282
+ variants: {
2283
+ [x: string]: {
2284
+ path: string;
2285
+ publicPath: string;
2286
+ width: number;
2287
+ height: number;
2288
+ size: number;
2289
+ format: string;
2290
+ };
2291
+ };
2292
+ processingStatus: "completed" | "failed";
2293
+ processingError: string | null;
2294
+ format: string;
2295
+ quality: number;
2296
+ exifStripped: boolean;
2297
+ createdAt: Date;
2298
+ updatedAt: Date;
2299
+ } | undefined;
2300
+ createdAt: Date;
2301
+ updatedAt: Date;
2302
+ } | null | undefined;
2303
+ bannerFile?: {
2304
+ id: string;
2305
+ projectId: string;
2306
+ userId: string | null;
2307
+ entityId: string | null;
2308
+ commentId: string | null;
2309
+ spaceId: string | null;
2310
+ type: "image" | "video" | "document" | "other";
2311
+ originalPath: string;
2312
+ originalSize: number;
2313
+ originalMimeType: string;
2314
+ position: number;
2315
+ metadata: {
2316
+ [x: string]: any;
2317
+ };
2318
+ image?: {
2319
+ fileId: string;
2320
+ originalWidth: number;
2321
+ originalHeight: number;
2322
+ variants: {
2323
+ [x: string]: {
2324
+ path: string;
2325
+ publicPath: string;
2326
+ width: number;
2327
+ height: number;
2328
+ size: number;
2329
+ format: string;
2330
+ };
2331
+ };
2332
+ processingStatus: "completed" | "failed";
2333
+ processingError: string | null;
2334
+ format: string;
2335
+ quality: number;
2336
+ exifStripped: boolean;
2337
+ createdAt: Date;
2338
+ updatedAt: Date;
2339
+ } | undefined;
2340
+ createdAt: Date;
2341
+ updatedAt: Date;
2342
+ } | null | undefined;
839
2343
  bio: string | null;
840
2344
  birthdate: Date | null;
2345
+ location: {
2346
+ type: "Point";
2347
+ coordinates: [number, number];
2348
+ } | null;
841
2349
  metadata: {
842
2350
  [x: string]: any;
843
2351
  };
844
2352
  reputation: number;
845
2353
  createdAt: Date;
846
- location: {
847
- type: "Point";
848
- coordinates: [number, number];
849
- } | null;
850
2354
  };
851
2355
  upvotesCount: number;
852
2356
  content: string;
853
2357
  createdAt: string;
854
2358
  } | null;
2359
+ isSaved?: boolean | undefined;
855
2360
  createdAt: Date;
856
2361
  updatedAt: Date;
857
2362
  deletedAt: Date | null;
2363
+ isDraft: boolean | null;
2364
+ moderationStatus: "approved" | "removed" | null;
2365
+ moderatedAt: Date | null;
2366
+ moderatedById: string | null;
2367
+ moderatedByType: "client" | "user" | null;
2368
+ moderationReason: string | null;
858
2369
  }[];
859
2370
  page: number;
860
2371
  loading: boolean;
@@ -926,8 +2437,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
926
2437
  slug: string | null;
927
2438
  name: string;
928
2439
  description: string | null;
929
- avatar: string | null;
930
- banner: string | null;
2440
+ avatarFileId: string | null;
2441
+ bannerFileId: string | null;
931
2442
  userId: string;
932
2443
  readingPermission: import("../..").ReadingPermission;
933
2444
  postingPermission: import("../..").PostingPermission;
@@ -943,6 +2454,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
943
2454
  membersCount: number;
944
2455
  childSpacesCount: number;
945
2456
  isMember?: boolean | undefined;
2457
+ avatarFile?: {
2458
+ id: string;
2459
+ projectId: string;
2460
+ userId: string | null;
2461
+ entityId: string | null;
2462
+ commentId: string | null;
2463
+ spaceId: string | null;
2464
+ type: "image" | "video" | "document" | "other";
2465
+ originalPath: string;
2466
+ originalSize: number;
2467
+ originalMimeType: string;
2468
+ position: number;
2469
+ metadata: {
2470
+ [x: string]: any;
2471
+ };
2472
+ image?: {
2473
+ fileId: string;
2474
+ originalWidth: number;
2475
+ originalHeight: number;
2476
+ variants: {
2477
+ [x: string]: {
2478
+ path: string;
2479
+ publicPath: string;
2480
+ width: number;
2481
+ height: number;
2482
+ size: number;
2483
+ format: string;
2484
+ };
2485
+ };
2486
+ processingStatus: "completed" | "failed";
2487
+ processingError: string | null;
2488
+ format: string;
2489
+ quality: number;
2490
+ exifStripped: boolean;
2491
+ createdAt: Date;
2492
+ updatedAt: Date;
2493
+ } | undefined;
2494
+ createdAt: Date;
2495
+ updatedAt: Date;
2496
+ } | undefined;
2497
+ bannerFile?: {
2498
+ id: string;
2499
+ projectId: string;
2500
+ userId: string | null;
2501
+ entityId: string | null;
2502
+ commentId: string | null;
2503
+ spaceId: string | null;
2504
+ type: "image" | "video" | "document" | "other";
2505
+ originalPath: string;
2506
+ originalSize: number;
2507
+ originalMimeType: string;
2508
+ position: number;
2509
+ metadata: {
2510
+ [x: string]: any;
2511
+ };
2512
+ image?: {
2513
+ fileId: string;
2514
+ originalWidth: number;
2515
+ originalHeight: number;
2516
+ variants: {
2517
+ [x: string]: {
2518
+ path: string;
2519
+ publicPath: string;
2520
+ width: number;
2521
+ height: number;
2522
+ size: number;
2523
+ format: string;
2524
+ };
2525
+ };
2526
+ processingStatus: "completed" | "failed";
2527
+ processingError: string | null;
2528
+ format: string;
2529
+ quality: number;
2530
+ exifStripped: boolean;
2531
+ createdAt: Date;
2532
+ updatedAt: Date;
2533
+ } | undefined;
2534
+ createdAt: Date;
2535
+ updatedAt: Date;
2536
+ } | undefined;
946
2537
  } | null | undefined;
947
2538
  user?: {
948
2539
  id: string;
@@ -952,17 +2543,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
952
2543
  name: string | null;
953
2544
  username: string | null;
954
2545
  avatar: string | null;
2546
+ avatarFileId: string | null;
2547
+ bannerFileId: string | null;
2548
+ avatarFile?: {
2549
+ id: string;
2550
+ projectId: string;
2551
+ userId: string | null;
2552
+ entityId: string | null;
2553
+ commentId: string | null;
2554
+ spaceId: string | null;
2555
+ type: "image" | "video" | "document" | "other";
2556
+ originalPath: string;
2557
+ originalSize: number;
2558
+ originalMimeType: string;
2559
+ position: number;
2560
+ metadata: {
2561
+ [x: string]: any;
2562
+ };
2563
+ image?: {
2564
+ fileId: string;
2565
+ originalWidth: number;
2566
+ originalHeight: number;
2567
+ variants: {
2568
+ [x: string]: {
2569
+ path: string;
2570
+ publicPath: string;
2571
+ width: number;
2572
+ height: number;
2573
+ size: number;
2574
+ format: string;
2575
+ };
2576
+ };
2577
+ processingStatus: "completed" | "failed";
2578
+ processingError: string | null;
2579
+ format: string;
2580
+ quality: number;
2581
+ exifStripped: boolean;
2582
+ createdAt: Date;
2583
+ updatedAt: Date;
2584
+ } | undefined;
2585
+ createdAt: Date;
2586
+ updatedAt: Date;
2587
+ } | null | undefined;
2588
+ bannerFile?: {
2589
+ id: string;
2590
+ projectId: string;
2591
+ userId: string | null;
2592
+ entityId: string | null;
2593
+ commentId: string | null;
2594
+ spaceId: string | null;
2595
+ type: "image" | "video" | "document" | "other";
2596
+ originalPath: string;
2597
+ originalSize: number;
2598
+ originalMimeType: string;
2599
+ position: number;
2600
+ metadata: {
2601
+ [x: string]: any;
2602
+ };
2603
+ image?: {
2604
+ fileId: string;
2605
+ originalWidth: number;
2606
+ originalHeight: number;
2607
+ variants: {
2608
+ [x: string]: {
2609
+ path: string;
2610
+ publicPath: string;
2611
+ width: number;
2612
+ height: number;
2613
+ size: number;
2614
+ format: string;
2615
+ };
2616
+ };
2617
+ processingStatus: "completed" | "failed";
2618
+ processingError: string | null;
2619
+ format: string;
2620
+ quality: number;
2621
+ exifStripped: boolean;
2622
+ createdAt: Date;
2623
+ updatedAt: Date;
2624
+ } | undefined;
2625
+ createdAt: Date;
2626
+ updatedAt: Date;
2627
+ } | null | undefined;
955
2628
  bio: string | null;
956
2629
  birthdate: Date | null;
2630
+ location: {
2631
+ type: "Point";
2632
+ coordinates: [number, number];
2633
+ } | null;
957
2634
  metadata: {
958
2635
  [x: string]: any;
959
2636
  };
960
2637
  reputation: number;
961
2638
  createdAt: Date;
962
- location: {
963
- type: "Point";
964
- coordinates: [number, number];
965
- } | null;
966
2639
  } | null | undefined;
967
2640
  title: string | null;
968
2641
  content: string | null;
@@ -974,9 +2647,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
974
2647
  attachments: {
975
2648
  [x: string]: any;
976
2649
  }[];
2650
+ files?: {
2651
+ id: string;
2652
+ projectId: string;
2653
+ userId: string | null;
2654
+ entityId: string | null;
2655
+ commentId: string | null;
2656
+ spaceId: string | null;
2657
+ type: "image" | "video" | "document" | "other";
2658
+ originalPath: string;
2659
+ originalSize: number;
2660
+ originalMimeType: string;
2661
+ position: number;
2662
+ metadata: {
2663
+ [x: string]: any;
2664
+ };
2665
+ image?: {
2666
+ fileId: string;
2667
+ originalWidth: number;
2668
+ originalHeight: number;
2669
+ variants: {
2670
+ [x: string]: {
2671
+ path: string;
2672
+ publicPath: string;
2673
+ width: number;
2674
+ height: number;
2675
+ size: number;
2676
+ format: string;
2677
+ };
2678
+ };
2679
+ processingStatus: "completed" | "failed";
2680
+ processingError: string | null;
2681
+ format: string;
2682
+ quality: number;
2683
+ exifStripped: boolean;
2684
+ createdAt: Date;
2685
+ updatedAt: Date;
2686
+ } | undefined;
2687
+ createdAt: Date;
2688
+ updatedAt: Date;
2689
+ }[] | undefined;
977
2690
  keywords: string[];
978
2691
  upvotes: string[];
979
2692
  downvotes: string[];
2693
+ reactionCounts: {
2694
+ upvote: number;
2695
+ downvote: number;
2696
+ like: number;
2697
+ love: number;
2698
+ wow: number;
2699
+ sad: number;
2700
+ angry: number;
2701
+ funny: number;
2702
+ };
2703
+ userReaction?: (import("../..").ReactionType | null) | undefined;
980
2704
  repliesCount: number;
981
2705
  views: number;
982
2706
  score: number;
@@ -998,25 +2722,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
998
2722
  name: string | null;
999
2723
  username: string | null;
1000
2724
  avatar: string | null;
2725
+ avatarFileId: string | null;
2726
+ bannerFileId: string | null;
2727
+ avatarFile?: {
2728
+ id: string;
2729
+ projectId: string;
2730
+ userId: string | null;
2731
+ entityId: string | null;
2732
+ commentId: string | null;
2733
+ spaceId: string | null;
2734
+ type: "image" | "video" | "document" | "other";
2735
+ originalPath: string;
2736
+ originalSize: number;
2737
+ originalMimeType: string;
2738
+ position: number;
2739
+ metadata: {
2740
+ [x: string]: any;
2741
+ };
2742
+ image?: {
2743
+ fileId: string;
2744
+ originalWidth: number;
2745
+ originalHeight: number;
2746
+ variants: {
2747
+ [x: string]: {
2748
+ path: string;
2749
+ publicPath: string;
2750
+ width: number;
2751
+ height: number;
2752
+ size: number;
2753
+ format: string;
2754
+ };
2755
+ };
2756
+ processingStatus: "completed" | "failed";
2757
+ processingError: string | null;
2758
+ format: string;
2759
+ quality: number;
2760
+ exifStripped: boolean;
2761
+ createdAt: Date;
2762
+ updatedAt: Date;
2763
+ } | undefined;
2764
+ createdAt: Date;
2765
+ updatedAt: Date;
2766
+ } | null | undefined;
2767
+ bannerFile?: {
2768
+ id: string;
2769
+ projectId: string;
2770
+ userId: string | null;
2771
+ entityId: string | null;
2772
+ commentId: string | null;
2773
+ spaceId: string | null;
2774
+ type: "image" | "video" | "document" | "other";
2775
+ originalPath: string;
2776
+ originalSize: number;
2777
+ originalMimeType: string;
2778
+ position: number;
2779
+ metadata: {
2780
+ [x: string]: any;
2781
+ };
2782
+ image?: {
2783
+ fileId: string;
2784
+ originalWidth: number;
2785
+ originalHeight: number;
2786
+ variants: {
2787
+ [x: string]: {
2788
+ path: string;
2789
+ publicPath: string;
2790
+ width: number;
2791
+ height: number;
2792
+ size: number;
2793
+ format: string;
2794
+ };
2795
+ };
2796
+ processingStatus: "completed" | "failed";
2797
+ processingError: string | null;
2798
+ format: string;
2799
+ quality: number;
2800
+ exifStripped: boolean;
2801
+ createdAt: Date;
2802
+ updatedAt: Date;
2803
+ } | undefined;
2804
+ createdAt: Date;
2805
+ updatedAt: Date;
2806
+ } | null | undefined;
1001
2807
  bio: string | null;
1002
2808
  birthdate: Date | null;
2809
+ location: {
2810
+ type: "Point";
2811
+ coordinates: [number, number];
2812
+ } | null;
1003
2813
  metadata: {
1004
2814
  [x: string]: any;
1005
2815
  };
1006
2816
  reputation: number;
1007
2817
  createdAt: Date;
1008
- location: {
1009
- type: "Point";
1010
- coordinates: [number, number];
1011
- } | null;
1012
2818
  };
1013
2819
  upvotesCount: number;
1014
2820
  content: string;
1015
2821
  createdAt: string;
1016
2822
  } | null;
2823
+ isSaved?: boolean | undefined;
1017
2824
  createdAt: Date;
1018
2825
  updatedAt: Date;
1019
2826
  deletedAt: Date | null;
2827
+ isDraft: boolean | null;
2828
+ moderationStatus: "approved" | "removed" | null;
2829
+ moderatedAt: Date | null;
2830
+ moderatedById: string | null;
2831
+ moderatedByType: "client" | "user" | null;
2832
+ moderationReason: string | null;
1020
2833
  }[];
1021
2834
  page: number;
1022
2835
  loading: boolean;
@@ -1091,8 +2904,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1091
2904
  slug: string | null;
1092
2905
  name: string;
1093
2906
  description: string | null;
1094
- avatar: string | null;
1095
- banner: string | null;
2907
+ avatarFileId: string | null;
2908
+ bannerFileId: string | null;
1096
2909
  userId: string;
1097
2910
  readingPermission: import("../..").ReadingPermission;
1098
2911
  postingPermission: import("../..").PostingPermission;
@@ -1108,6 +2921,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1108
2921
  membersCount: number;
1109
2922
  childSpacesCount: number;
1110
2923
  isMember?: boolean | undefined;
2924
+ avatarFile?: {
2925
+ id: string;
2926
+ projectId: string;
2927
+ userId: string | null;
2928
+ entityId: string | null;
2929
+ commentId: string | null;
2930
+ spaceId: string | null;
2931
+ type: "image" | "video" | "document" | "other";
2932
+ originalPath: string;
2933
+ originalSize: number;
2934
+ originalMimeType: string;
2935
+ position: number;
2936
+ metadata: {
2937
+ [x: string]: any;
2938
+ };
2939
+ image?: {
2940
+ fileId: string;
2941
+ originalWidth: number;
2942
+ originalHeight: number;
2943
+ variants: {
2944
+ [x: string]: {
2945
+ path: string;
2946
+ publicPath: string;
2947
+ width: number;
2948
+ height: number;
2949
+ size: number;
2950
+ format: string;
2951
+ };
2952
+ };
2953
+ processingStatus: "completed" | "failed";
2954
+ processingError: string | null;
2955
+ format: string;
2956
+ quality: number;
2957
+ exifStripped: boolean;
2958
+ createdAt: Date;
2959
+ updatedAt: Date;
2960
+ } | undefined;
2961
+ createdAt: Date;
2962
+ updatedAt: Date;
2963
+ } | undefined;
2964
+ bannerFile?: {
2965
+ id: string;
2966
+ projectId: string;
2967
+ userId: string | null;
2968
+ entityId: string | null;
2969
+ commentId: string | null;
2970
+ spaceId: string | null;
2971
+ type: "image" | "video" | "document" | "other";
2972
+ originalPath: string;
2973
+ originalSize: number;
2974
+ originalMimeType: string;
2975
+ position: number;
2976
+ metadata: {
2977
+ [x: string]: any;
2978
+ };
2979
+ image?: {
2980
+ fileId: string;
2981
+ originalWidth: number;
2982
+ originalHeight: number;
2983
+ variants: {
2984
+ [x: string]: {
2985
+ path: string;
2986
+ publicPath: string;
2987
+ width: number;
2988
+ height: number;
2989
+ size: number;
2990
+ format: string;
2991
+ };
2992
+ };
2993
+ processingStatus: "completed" | "failed";
2994
+ processingError: string | null;
2995
+ format: string;
2996
+ quality: number;
2997
+ exifStripped: boolean;
2998
+ createdAt: Date;
2999
+ updatedAt: Date;
3000
+ } | undefined;
3001
+ createdAt: Date;
3002
+ updatedAt: Date;
3003
+ } | undefined;
1111
3004
  } | null | undefined;
1112
3005
  user?: {
1113
3006
  id: string;
@@ -1117,17 +3010,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1117
3010
  name: string | null;
1118
3011
  username: string | null;
1119
3012
  avatar: string | null;
3013
+ avatarFileId: string | null;
3014
+ bannerFileId: string | null;
3015
+ avatarFile?: {
3016
+ id: string;
3017
+ projectId: string;
3018
+ userId: string | null;
3019
+ entityId: string | null;
3020
+ commentId: string | null;
3021
+ spaceId: string | null;
3022
+ type: "image" | "video" | "document" | "other";
3023
+ originalPath: string;
3024
+ originalSize: number;
3025
+ originalMimeType: string;
3026
+ position: number;
3027
+ metadata: {
3028
+ [x: string]: any;
3029
+ };
3030
+ image?: {
3031
+ fileId: string;
3032
+ originalWidth: number;
3033
+ originalHeight: number;
3034
+ variants: {
3035
+ [x: string]: {
3036
+ path: string;
3037
+ publicPath: string;
3038
+ width: number;
3039
+ height: number;
3040
+ size: number;
3041
+ format: string;
3042
+ };
3043
+ };
3044
+ processingStatus: "completed" | "failed";
3045
+ processingError: string | null;
3046
+ format: string;
3047
+ quality: number;
3048
+ exifStripped: boolean;
3049
+ createdAt: Date;
3050
+ updatedAt: Date;
3051
+ } | undefined;
3052
+ createdAt: Date;
3053
+ updatedAt: Date;
3054
+ } | null | undefined;
3055
+ bannerFile?: {
3056
+ id: string;
3057
+ projectId: string;
3058
+ userId: string | null;
3059
+ entityId: string | null;
3060
+ commentId: string | null;
3061
+ spaceId: string | null;
3062
+ type: "image" | "video" | "document" | "other";
3063
+ originalPath: string;
3064
+ originalSize: number;
3065
+ originalMimeType: string;
3066
+ position: number;
3067
+ metadata: {
3068
+ [x: string]: any;
3069
+ };
3070
+ image?: {
3071
+ fileId: string;
3072
+ originalWidth: number;
3073
+ originalHeight: number;
3074
+ variants: {
3075
+ [x: string]: {
3076
+ path: string;
3077
+ publicPath: string;
3078
+ width: number;
3079
+ height: number;
3080
+ size: number;
3081
+ format: string;
3082
+ };
3083
+ };
3084
+ processingStatus: "completed" | "failed";
3085
+ processingError: string | null;
3086
+ format: string;
3087
+ quality: number;
3088
+ exifStripped: boolean;
3089
+ createdAt: Date;
3090
+ updatedAt: Date;
3091
+ } | undefined;
3092
+ createdAt: Date;
3093
+ updatedAt: Date;
3094
+ } | null | undefined;
1120
3095
  bio: string | null;
1121
3096
  birthdate: Date | null;
3097
+ location: {
3098
+ type: "Point";
3099
+ coordinates: [number, number];
3100
+ } | null;
1122
3101
  metadata: {
1123
3102
  [x: string]: any;
1124
3103
  };
1125
3104
  reputation: number;
1126
3105
  createdAt: Date;
1127
- location: {
1128
- type: "Point";
1129
- coordinates: [number, number];
1130
- } | null;
1131
3106
  } | null | undefined;
1132
3107
  title: string | null;
1133
3108
  content: string | null;
@@ -1139,9 +3114,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1139
3114
  attachments: {
1140
3115
  [x: string]: any;
1141
3116
  }[];
3117
+ files?: {
3118
+ id: string;
3119
+ projectId: string;
3120
+ userId: string | null;
3121
+ entityId: string | null;
3122
+ commentId: string | null;
3123
+ spaceId: string | null;
3124
+ type: "image" | "video" | "document" | "other";
3125
+ originalPath: string;
3126
+ originalSize: number;
3127
+ originalMimeType: string;
3128
+ position: number;
3129
+ metadata: {
3130
+ [x: string]: any;
3131
+ };
3132
+ image?: {
3133
+ fileId: string;
3134
+ originalWidth: number;
3135
+ originalHeight: number;
3136
+ variants: {
3137
+ [x: string]: {
3138
+ path: string;
3139
+ publicPath: string;
3140
+ width: number;
3141
+ height: number;
3142
+ size: number;
3143
+ format: string;
3144
+ };
3145
+ };
3146
+ processingStatus: "completed" | "failed";
3147
+ processingError: string | null;
3148
+ format: string;
3149
+ quality: number;
3150
+ exifStripped: boolean;
3151
+ createdAt: Date;
3152
+ updatedAt: Date;
3153
+ } | undefined;
3154
+ createdAt: Date;
3155
+ updatedAt: Date;
3156
+ }[] | undefined;
1142
3157
  keywords: string[];
1143
3158
  upvotes: string[];
1144
3159
  downvotes: string[];
3160
+ reactionCounts: {
3161
+ upvote: number;
3162
+ downvote: number;
3163
+ like: number;
3164
+ love: number;
3165
+ wow: number;
3166
+ sad: number;
3167
+ angry: number;
3168
+ funny: number;
3169
+ };
3170
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1145
3171
  repliesCount: number;
1146
3172
  views: number;
1147
3173
  score: number;
@@ -1163,25 +3189,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1163
3189
  name: string | null;
1164
3190
  username: string | null;
1165
3191
  avatar: string | null;
3192
+ avatarFileId: string | null;
3193
+ bannerFileId: string | null;
3194
+ avatarFile?: {
3195
+ id: string;
3196
+ projectId: string;
3197
+ userId: string | null;
3198
+ entityId: string | null;
3199
+ commentId: string | null;
3200
+ spaceId: string | null;
3201
+ type: "image" | "video" | "document" | "other";
3202
+ originalPath: string;
3203
+ originalSize: number;
3204
+ originalMimeType: string;
3205
+ position: number;
3206
+ metadata: {
3207
+ [x: string]: any;
3208
+ };
3209
+ image?: {
3210
+ fileId: string;
3211
+ originalWidth: number;
3212
+ originalHeight: number;
3213
+ variants: {
3214
+ [x: string]: {
3215
+ path: string;
3216
+ publicPath: string;
3217
+ width: number;
3218
+ height: number;
3219
+ size: number;
3220
+ format: string;
3221
+ };
3222
+ };
3223
+ processingStatus: "completed" | "failed";
3224
+ processingError: string | null;
3225
+ format: string;
3226
+ quality: number;
3227
+ exifStripped: boolean;
3228
+ createdAt: Date;
3229
+ updatedAt: Date;
3230
+ } | undefined;
3231
+ createdAt: Date;
3232
+ updatedAt: Date;
3233
+ } | null | undefined;
3234
+ bannerFile?: {
3235
+ id: string;
3236
+ projectId: string;
3237
+ userId: string | null;
3238
+ entityId: string | null;
3239
+ commentId: string | null;
3240
+ spaceId: string | null;
3241
+ type: "image" | "video" | "document" | "other";
3242
+ originalPath: string;
3243
+ originalSize: number;
3244
+ originalMimeType: string;
3245
+ position: number;
3246
+ metadata: {
3247
+ [x: string]: any;
3248
+ };
3249
+ image?: {
3250
+ fileId: string;
3251
+ originalWidth: number;
3252
+ originalHeight: number;
3253
+ variants: {
3254
+ [x: string]: {
3255
+ path: string;
3256
+ publicPath: string;
3257
+ width: number;
3258
+ height: number;
3259
+ size: number;
3260
+ format: string;
3261
+ };
3262
+ };
3263
+ processingStatus: "completed" | "failed";
3264
+ processingError: string | null;
3265
+ format: string;
3266
+ quality: number;
3267
+ exifStripped: boolean;
3268
+ createdAt: Date;
3269
+ updatedAt: Date;
3270
+ } | undefined;
3271
+ createdAt: Date;
3272
+ updatedAt: Date;
3273
+ } | null | undefined;
1166
3274
  bio: string | null;
1167
3275
  birthdate: Date | null;
3276
+ location: {
3277
+ type: "Point";
3278
+ coordinates: [number, number];
3279
+ } | null;
1168
3280
  metadata: {
1169
3281
  [x: string]: any;
1170
3282
  };
1171
3283
  reputation: number;
1172
3284
  createdAt: Date;
1173
- location: {
1174
- type: "Point";
1175
- coordinates: [number, number];
1176
- } | null;
1177
3285
  };
1178
3286
  upvotesCount: number;
1179
3287
  content: string;
1180
3288
  createdAt: string;
1181
3289
  } | null;
3290
+ isSaved?: boolean | undefined;
1182
3291
  createdAt: Date;
1183
3292
  updatedAt: Date;
1184
3293
  deletedAt: Date | null;
3294
+ isDraft: boolean | null;
3295
+ moderationStatus: "approved" | "removed" | null;
3296
+ moderatedAt: Date | null;
3297
+ moderatedById: string | null;
3298
+ moderatedByType: "client" | "user" | null;
3299
+ moderationReason: string | null;
1185
3300
  }[];
1186
3301
  page: number;
1187
3302
  loading: boolean;
@@ -1256,8 +3371,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1256
3371
  slug: string | null;
1257
3372
  name: string;
1258
3373
  description: string | null;
1259
- avatar: string | null;
1260
- banner: string | null;
3374
+ avatarFileId: string | null;
3375
+ bannerFileId: string | null;
1261
3376
  userId: string;
1262
3377
  readingPermission: import("../..").ReadingPermission;
1263
3378
  postingPermission: import("../..").PostingPermission;
@@ -1273,6 +3388,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1273
3388
  membersCount: number;
1274
3389
  childSpacesCount: number;
1275
3390
  isMember?: boolean | undefined;
3391
+ avatarFile?: {
3392
+ id: string;
3393
+ projectId: string;
3394
+ userId: string | null;
3395
+ entityId: string | null;
3396
+ commentId: string | null;
3397
+ spaceId: string | null;
3398
+ type: "image" | "video" | "document" | "other";
3399
+ originalPath: string;
3400
+ originalSize: number;
3401
+ originalMimeType: string;
3402
+ position: number;
3403
+ metadata: {
3404
+ [x: string]: any;
3405
+ };
3406
+ image?: {
3407
+ fileId: string;
3408
+ originalWidth: number;
3409
+ originalHeight: number;
3410
+ variants: {
3411
+ [x: string]: {
3412
+ path: string;
3413
+ publicPath: string;
3414
+ width: number;
3415
+ height: number;
3416
+ size: number;
3417
+ format: string;
3418
+ };
3419
+ };
3420
+ processingStatus: "completed" | "failed";
3421
+ processingError: string | null;
3422
+ format: string;
3423
+ quality: number;
3424
+ exifStripped: boolean;
3425
+ createdAt: Date;
3426
+ updatedAt: Date;
3427
+ } | undefined;
3428
+ createdAt: Date;
3429
+ updatedAt: Date;
3430
+ } | undefined;
3431
+ bannerFile?: {
3432
+ id: string;
3433
+ projectId: string;
3434
+ userId: string | null;
3435
+ entityId: string | null;
3436
+ commentId: string | null;
3437
+ spaceId: string | null;
3438
+ type: "image" | "video" | "document" | "other";
3439
+ originalPath: string;
3440
+ originalSize: number;
3441
+ originalMimeType: string;
3442
+ position: number;
3443
+ metadata: {
3444
+ [x: string]: any;
3445
+ };
3446
+ image?: {
3447
+ fileId: string;
3448
+ originalWidth: number;
3449
+ originalHeight: number;
3450
+ variants: {
3451
+ [x: string]: {
3452
+ path: string;
3453
+ publicPath: string;
3454
+ width: number;
3455
+ height: number;
3456
+ size: number;
3457
+ format: string;
3458
+ };
3459
+ };
3460
+ processingStatus: "completed" | "failed";
3461
+ processingError: string | null;
3462
+ format: string;
3463
+ quality: number;
3464
+ exifStripped: boolean;
3465
+ createdAt: Date;
3466
+ updatedAt: Date;
3467
+ } | undefined;
3468
+ createdAt: Date;
3469
+ updatedAt: Date;
3470
+ } | undefined;
1276
3471
  } | null | undefined;
1277
3472
  user?: {
1278
3473
  id: string;
@@ -1282,17 +3477,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1282
3477
  name: string | null;
1283
3478
  username: string | null;
1284
3479
  avatar: string | null;
3480
+ avatarFileId: string | null;
3481
+ bannerFileId: string | null;
3482
+ avatarFile?: {
3483
+ id: string;
3484
+ projectId: string;
3485
+ userId: string | null;
3486
+ entityId: string | null;
3487
+ commentId: string | null;
3488
+ spaceId: string | null;
3489
+ type: "image" | "video" | "document" | "other";
3490
+ originalPath: string;
3491
+ originalSize: number;
3492
+ originalMimeType: string;
3493
+ position: number;
3494
+ metadata: {
3495
+ [x: string]: any;
3496
+ };
3497
+ image?: {
3498
+ fileId: string;
3499
+ originalWidth: number;
3500
+ originalHeight: number;
3501
+ variants: {
3502
+ [x: string]: {
3503
+ path: string;
3504
+ publicPath: string;
3505
+ width: number;
3506
+ height: number;
3507
+ size: number;
3508
+ format: string;
3509
+ };
3510
+ };
3511
+ processingStatus: "completed" | "failed";
3512
+ processingError: string | null;
3513
+ format: string;
3514
+ quality: number;
3515
+ exifStripped: boolean;
3516
+ createdAt: Date;
3517
+ updatedAt: Date;
3518
+ } | undefined;
3519
+ createdAt: Date;
3520
+ updatedAt: Date;
3521
+ } | null | undefined;
3522
+ bannerFile?: {
3523
+ id: string;
3524
+ projectId: string;
3525
+ userId: string | null;
3526
+ entityId: string | null;
3527
+ commentId: string | null;
3528
+ spaceId: string | null;
3529
+ type: "image" | "video" | "document" | "other";
3530
+ originalPath: string;
3531
+ originalSize: number;
3532
+ originalMimeType: string;
3533
+ position: number;
3534
+ metadata: {
3535
+ [x: string]: any;
3536
+ };
3537
+ image?: {
3538
+ fileId: string;
3539
+ originalWidth: number;
3540
+ originalHeight: number;
3541
+ variants: {
3542
+ [x: string]: {
3543
+ path: string;
3544
+ publicPath: string;
3545
+ width: number;
3546
+ height: number;
3547
+ size: number;
3548
+ format: string;
3549
+ };
3550
+ };
3551
+ processingStatus: "completed" | "failed";
3552
+ processingError: string | null;
3553
+ format: string;
3554
+ quality: number;
3555
+ exifStripped: boolean;
3556
+ createdAt: Date;
3557
+ updatedAt: Date;
3558
+ } | undefined;
3559
+ createdAt: Date;
3560
+ updatedAt: Date;
3561
+ } | null | undefined;
1285
3562
  bio: string | null;
1286
3563
  birthdate: Date | null;
3564
+ location: {
3565
+ type: "Point";
3566
+ coordinates: [number, number];
3567
+ } | null;
1287
3568
  metadata: {
1288
3569
  [x: string]: any;
1289
3570
  };
1290
3571
  reputation: number;
1291
3572
  createdAt: Date;
1292
- location: {
1293
- type: "Point";
1294
- coordinates: [number, number];
1295
- } | null;
1296
3573
  } | null | undefined;
1297
3574
  title: string | null;
1298
3575
  content: string | null;
@@ -1304,9 +3581,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1304
3581
  attachments: {
1305
3582
  [x: string]: any;
1306
3583
  }[];
3584
+ files?: {
3585
+ id: string;
3586
+ projectId: string;
3587
+ userId: string | null;
3588
+ entityId: string | null;
3589
+ commentId: string | null;
3590
+ spaceId: string | null;
3591
+ type: "image" | "video" | "document" | "other";
3592
+ originalPath: string;
3593
+ originalSize: number;
3594
+ originalMimeType: string;
3595
+ position: number;
3596
+ metadata: {
3597
+ [x: string]: any;
3598
+ };
3599
+ image?: {
3600
+ fileId: string;
3601
+ originalWidth: number;
3602
+ originalHeight: number;
3603
+ variants: {
3604
+ [x: string]: {
3605
+ path: string;
3606
+ publicPath: string;
3607
+ width: number;
3608
+ height: number;
3609
+ size: number;
3610
+ format: string;
3611
+ };
3612
+ };
3613
+ processingStatus: "completed" | "failed";
3614
+ processingError: string | null;
3615
+ format: string;
3616
+ quality: number;
3617
+ exifStripped: boolean;
3618
+ createdAt: Date;
3619
+ updatedAt: Date;
3620
+ } | undefined;
3621
+ createdAt: Date;
3622
+ updatedAt: Date;
3623
+ }[] | undefined;
1307
3624
  keywords: string[];
1308
3625
  upvotes: string[];
1309
3626
  downvotes: string[];
3627
+ reactionCounts: {
3628
+ upvote: number;
3629
+ downvote: number;
3630
+ like: number;
3631
+ love: number;
3632
+ wow: number;
3633
+ sad: number;
3634
+ angry: number;
3635
+ funny: number;
3636
+ };
3637
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1310
3638
  repliesCount: number;
1311
3639
  views: number;
1312
3640
  score: number;
@@ -1328,25 +3656,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1328
3656
  name: string | null;
1329
3657
  username: string | null;
1330
3658
  avatar: string | null;
3659
+ avatarFileId: string | null;
3660
+ bannerFileId: string | null;
3661
+ avatarFile?: {
3662
+ id: string;
3663
+ projectId: string;
3664
+ userId: string | null;
3665
+ entityId: string | null;
3666
+ commentId: string | null;
3667
+ spaceId: string | null;
3668
+ type: "image" | "video" | "document" | "other";
3669
+ originalPath: string;
3670
+ originalSize: number;
3671
+ originalMimeType: string;
3672
+ position: number;
3673
+ metadata: {
3674
+ [x: string]: any;
3675
+ };
3676
+ image?: {
3677
+ fileId: string;
3678
+ originalWidth: number;
3679
+ originalHeight: number;
3680
+ variants: {
3681
+ [x: string]: {
3682
+ path: string;
3683
+ publicPath: string;
3684
+ width: number;
3685
+ height: number;
3686
+ size: number;
3687
+ format: string;
3688
+ };
3689
+ };
3690
+ processingStatus: "completed" | "failed";
3691
+ processingError: string | null;
3692
+ format: string;
3693
+ quality: number;
3694
+ exifStripped: boolean;
3695
+ createdAt: Date;
3696
+ updatedAt: Date;
3697
+ } | undefined;
3698
+ createdAt: Date;
3699
+ updatedAt: Date;
3700
+ } | null | undefined;
3701
+ bannerFile?: {
3702
+ id: string;
3703
+ projectId: string;
3704
+ userId: string | null;
3705
+ entityId: string | null;
3706
+ commentId: string | null;
3707
+ spaceId: string | null;
3708
+ type: "image" | "video" | "document" | "other";
3709
+ originalPath: string;
3710
+ originalSize: number;
3711
+ originalMimeType: string;
3712
+ position: number;
3713
+ metadata: {
3714
+ [x: string]: any;
3715
+ };
3716
+ image?: {
3717
+ fileId: string;
3718
+ originalWidth: number;
3719
+ originalHeight: number;
3720
+ variants: {
3721
+ [x: string]: {
3722
+ path: string;
3723
+ publicPath: string;
3724
+ width: number;
3725
+ height: number;
3726
+ size: number;
3727
+ format: string;
3728
+ };
3729
+ };
3730
+ processingStatus: "completed" | "failed";
3731
+ processingError: string | null;
3732
+ format: string;
3733
+ quality: number;
3734
+ exifStripped: boolean;
3735
+ createdAt: Date;
3736
+ updatedAt: Date;
3737
+ } | undefined;
3738
+ createdAt: Date;
3739
+ updatedAt: Date;
3740
+ } | null | undefined;
1331
3741
  bio: string | null;
1332
3742
  birthdate: Date | null;
3743
+ location: {
3744
+ type: "Point";
3745
+ coordinates: [number, number];
3746
+ } | null;
1333
3747
  metadata: {
1334
3748
  [x: string]: any;
1335
3749
  };
1336
3750
  reputation: number;
1337
3751
  createdAt: Date;
1338
- location: {
1339
- type: "Point";
1340
- coordinates: [number, number];
1341
- } | null;
1342
3752
  };
1343
3753
  upvotesCount: number;
1344
3754
  content: string;
1345
3755
  createdAt: string;
1346
3756
  } | null;
3757
+ isSaved?: boolean | undefined;
1347
3758
  createdAt: Date;
1348
3759
  updatedAt: Date;
1349
3760
  deletedAt: Date | null;
3761
+ isDraft: boolean | null;
3762
+ moderationStatus: "approved" | "removed" | null;
3763
+ moderatedAt: Date | null;
3764
+ moderatedById: string | null;
3765
+ moderatedByType: "client" | "user" | null;
3766
+ moderationReason: string | null;
1350
3767
  }[];
1351
3768
  page: number;
1352
3769
  loading: boolean;
@@ -1418,8 +3835,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1418
3835
  slug: string | null;
1419
3836
  name: string;
1420
3837
  description: string | null;
1421
- avatar: string | null;
1422
- banner: string | null;
3838
+ avatarFileId: string | null;
3839
+ bannerFileId: string | null;
1423
3840
  userId: string;
1424
3841
  readingPermission: import("../..").ReadingPermission;
1425
3842
  postingPermission: import("../..").PostingPermission;
@@ -1435,6 +3852,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1435
3852
  membersCount: number;
1436
3853
  childSpacesCount: number;
1437
3854
  isMember?: boolean | undefined;
3855
+ avatarFile?: {
3856
+ id: string;
3857
+ projectId: string;
3858
+ userId: string | null;
3859
+ entityId: string | null;
3860
+ commentId: string | null;
3861
+ spaceId: string | null;
3862
+ type: "image" | "video" | "document" | "other";
3863
+ originalPath: string;
3864
+ originalSize: number;
3865
+ originalMimeType: string;
3866
+ position: number;
3867
+ metadata: {
3868
+ [x: string]: any;
3869
+ };
3870
+ image?: {
3871
+ fileId: string;
3872
+ originalWidth: number;
3873
+ originalHeight: number;
3874
+ variants: {
3875
+ [x: string]: {
3876
+ path: string;
3877
+ publicPath: string;
3878
+ width: number;
3879
+ height: number;
3880
+ size: number;
3881
+ format: string;
3882
+ };
3883
+ };
3884
+ processingStatus: "completed" | "failed";
3885
+ processingError: string | null;
3886
+ format: string;
3887
+ quality: number;
3888
+ exifStripped: boolean;
3889
+ createdAt: Date;
3890
+ updatedAt: Date;
3891
+ } | undefined;
3892
+ createdAt: Date;
3893
+ updatedAt: Date;
3894
+ } | undefined;
3895
+ bannerFile?: {
3896
+ id: string;
3897
+ projectId: string;
3898
+ userId: string | null;
3899
+ entityId: string | null;
3900
+ commentId: string | null;
3901
+ spaceId: string | null;
3902
+ type: "image" | "video" | "document" | "other";
3903
+ originalPath: string;
3904
+ originalSize: number;
3905
+ originalMimeType: string;
3906
+ position: number;
3907
+ metadata: {
3908
+ [x: string]: any;
3909
+ };
3910
+ image?: {
3911
+ fileId: string;
3912
+ originalWidth: number;
3913
+ originalHeight: number;
3914
+ variants: {
3915
+ [x: string]: {
3916
+ path: string;
3917
+ publicPath: string;
3918
+ width: number;
3919
+ height: number;
3920
+ size: number;
3921
+ format: string;
3922
+ };
3923
+ };
3924
+ processingStatus: "completed" | "failed";
3925
+ processingError: string | null;
3926
+ format: string;
3927
+ quality: number;
3928
+ exifStripped: boolean;
3929
+ createdAt: Date;
3930
+ updatedAt: Date;
3931
+ } | undefined;
3932
+ createdAt: Date;
3933
+ updatedAt: Date;
3934
+ } | undefined;
1438
3935
  } | null | undefined;
1439
3936
  user?: {
1440
3937
  id: string;
@@ -1444,17 +3941,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1444
3941
  name: string | null;
1445
3942
  username: string | null;
1446
3943
  avatar: string | null;
3944
+ avatarFileId: string | null;
3945
+ bannerFileId: string | null;
3946
+ avatarFile?: {
3947
+ id: string;
3948
+ projectId: string;
3949
+ userId: string | null;
3950
+ entityId: string | null;
3951
+ commentId: string | null;
3952
+ spaceId: string | null;
3953
+ type: "image" | "video" | "document" | "other";
3954
+ originalPath: string;
3955
+ originalSize: number;
3956
+ originalMimeType: string;
3957
+ position: number;
3958
+ metadata: {
3959
+ [x: string]: any;
3960
+ };
3961
+ image?: {
3962
+ fileId: string;
3963
+ originalWidth: number;
3964
+ originalHeight: number;
3965
+ variants: {
3966
+ [x: string]: {
3967
+ path: string;
3968
+ publicPath: string;
3969
+ width: number;
3970
+ height: number;
3971
+ size: number;
3972
+ format: string;
3973
+ };
3974
+ };
3975
+ processingStatus: "completed" | "failed";
3976
+ processingError: string | null;
3977
+ format: string;
3978
+ quality: number;
3979
+ exifStripped: boolean;
3980
+ createdAt: Date;
3981
+ updatedAt: Date;
3982
+ } | undefined;
3983
+ createdAt: Date;
3984
+ updatedAt: Date;
3985
+ } | null | undefined;
3986
+ bannerFile?: {
3987
+ id: string;
3988
+ projectId: string;
3989
+ userId: string | null;
3990
+ entityId: string | null;
3991
+ commentId: string | null;
3992
+ spaceId: string | null;
3993
+ type: "image" | "video" | "document" | "other";
3994
+ originalPath: string;
3995
+ originalSize: number;
3996
+ originalMimeType: string;
3997
+ position: number;
3998
+ metadata: {
3999
+ [x: string]: any;
4000
+ };
4001
+ image?: {
4002
+ fileId: string;
4003
+ originalWidth: number;
4004
+ originalHeight: number;
4005
+ variants: {
4006
+ [x: string]: {
4007
+ path: string;
4008
+ publicPath: string;
4009
+ width: number;
4010
+ height: number;
4011
+ size: number;
4012
+ format: string;
4013
+ };
4014
+ };
4015
+ processingStatus: "completed" | "failed";
4016
+ processingError: string | null;
4017
+ format: string;
4018
+ quality: number;
4019
+ exifStripped: boolean;
4020
+ createdAt: Date;
4021
+ updatedAt: Date;
4022
+ } | undefined;
4023
+ createdAt: Date;
4024
+ updatedAt: Date;
4025
+ } | null | undefined;
1447
4026
  bio: string | null;
1448
4027
  birthdate: Date | null;
4028
+ location: {
4029
+ type: "Point";
4030
+ coordinates: [number, number];
4031
+ } | null;
1449
4032
  metadata: {
1450
4033
  [x: string]: any;
1451
4034
  };
1452
4035
  reputation: number;
1453
4036
  createdAt: Date;
1454
- location: {
1455
- type: "Point";
1456
- coordinates: [number, number];
1457
- } | null;
1458
4037
  } | null | undefined;
1459
4038
  title: string | null;
1460
4039
  content: string | null;
@@ -1466,9 +4045,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1466
4045
  attachments: {
1467
4046
  [x: string]: any;
1468
4047
  }[];
4048
+ files?: {
4049
+ id: string;
4050
+ projectId: string;
4051
+ userId: string | null;
4052
+ entityId: string | null;
4053
+ commentId: string | null;
4054
+ spaceId: string | null;
4055
+ type: "image" | "video" | "document" | "other";
4056
+ originalPath: string;
4057
+ originalSize: number;
4058
+ originalMimeType: string;
4059
+ position: number;
4060
+ metadata: {
4061
+ [x: string]: any;
4062
+ };
4063
+ image?: {
4064
+ fileId: string;
4065
+ originalWidth: number;
4066
+ originalHeight: number;
4067
+ variants: {
4068
+ [x: string]: {
4069
+ path: string;
4070
+ publicPath: string;
4071
+ width: number;
4072
+ height: number;
4073
+ size: number;
4074
+ format: string;
4075
+ };
4076
+ };
4077
+ processingStatus: "completed" | "failed";
4078
+ processingError: string | null;
4079
+ format: string;
4080
+ quality: number;
4081
+ exifStripped: boolean;
4082
+ createdAt: Date;
4083
+ updatedAt: Date;
4084
+ } | undefined;
4085
+ createdAt: Date;
4086
+ updatedAt: Date;
4087
+ }[] | undefined;
1469
4088
  keywords: string[];
1470
4089
  upvotes: string[];
1471
4090
  downvotes: string[];
4091
+ reactionCounts: {
4092
+ upvote: number;
4093
+ downvote: number;
4094
+ like: number;
4095
+ love: number;
4096
+ wow: number;
4097
+ sad: number;
4098
+ angry: number;
4099
+ funny: number;
4100
+ };
4101
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1472
4102
  repliesCount: number;
1473
4103
  views: number;
1474
4104
  score: number;
@@ -1490,25 +4120,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1490
4120
  name: string | null;
1491
4121
  username: string | null;
1492
4122
  avatar: string | null;
4123
+ avatarFileId: string | null;
4124
+ bannerFileId: string | null;
4125
+ avatarFile?: {
4126
+ id: string;
4127
+ projectId: string;
4128
+ userId: string | null;
4129
+ entityId: string | null;
4130
+ commentId: string | null;
4131
+ spaceId: string | null;
4132
+ type: "image" | "video" | "document" | "other";
4133
+ originalPath: string;
4134
+ originalSize: number;
4135
+ originalMimeType: string;
4136
+ position: number;
4137
+ metadata: {
4138
+ [x: string]: any;
4139
+ };
4140
+ image?: {
4141
+ fileId: string;
4142
+ originalWidth: number;
4143
+ originalHeight: number;
4144
+ variants: {
4145
+ [x: string]: {
4146
+ path: string;
4147
+ publicPath: string;
4148
+ width: number;
4149
+ height: number;
4150
+ size: number;
4151
+ format: string;
4152
+ };
4153
+ };
4154
+ processingStatus: "completed" | "failed";
4155
+ processingError: string | null;
4156
+ format: string;
4157
+ quality: number;
4158
+ exifStripped: boolean;
4159
+ createdAt: Date;
4160
+ updatedAt: Date;
4161
+ } | undefined;
4162
+ createdAt: Date;
4163
+ updatedAt: Date;
4164
+ } | null | undefined;
4165
+ bannerFile?: {
4166
+ id: string;
4167
+ projectId: string;
4168
+ userId: string | null;
4169
+ entityId: string | null;
4170
+ commentId: string | null;
4171
+ spaceId: string | null;
4172
+ type: "image" | "video" | "document" | "other";
4173
+ originalPath: string;
4174
+ originalSize: number;
4175
+ originalMimeType: string;
4176
+ position: number;
4177
+ metadata: {
4178
+ [x: string]: any;
4179
+ };
4180
+ image?: {
4181
+ fileId: string;
4182
+ originalWidth: number;
4183
+ originalHeight: number;
4184
+ variants: {
4185
+ [x: string]: {
4186
+ path: string;
4187
+ publicPath: string;
4188
+ width: number;
4189
+ height: number;
4190
+ size: number;
4191
+ format: string;
4192
+ };
4193
+ };
4194
+ processingStatus: "completed" | "failed";
4195
+ processingError: string | null;
4196
+ format: string;
4197
+ quality: number;
4198
+ exifStripped: boolean;
4199
+ createdAt: Date;
4200
+ updatedAt: Date;
4201
+ } | undefined;
4202
+ createdAt: Date;
4203
+ updatedAt: Date;
4204
+ } | null | undefined;
1493
4205
  bio: string | null;
1494
4206
  birthdate: Date | null;
4207
+ location: {
4208
+ type: "Point";
4209
+ coordinates: [number, number];
4210
+ } | null;
1495
4211
  metadata: {
1496
4212
  [x: string]: any;
1497
4213
  };
1498
4214
  reputation: number;
1499
4215
  createdAt: Date;
1500
- location: {
1501
- type: "Point";
1502
- coordinates: [number, number];
1503
- } | null;
1504
4216
  };
1505
4217
  upvotesCount: number;
1506
4218
  content: string;
1507
4219
  createdAt: string;
1508
4220
  } | null;
4221
+ isSaved?: boolean | undefined;
1509
4222
  createdAt: Date;
1510
4223
  updatedAt: Date;
1511
4224
  deletedAt: Date | null;
4225
+ isDraft: boolean | null;
4226
+ moderationStatus: "approved" | "removed" | null;
4227
+ moderatedAt: Date | null;
4228
+ moderatedById: string | null;
4229
+ moderatedByType: "client" | "user" | null;
4230
+ moderationReason: string | null;
1512
4231
  }[];
1513
4232
  page: number;
1514
4233
  loading: boolean;
@@ -1580,8 +4299,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1580
4299
  slug: string | null;
1581
4300
  name: string;
1582
4301
  description: string | null;
1583
- avatar: string | null;
1584
- banner: string | null;
4302
+ avatarFileId: string | null;
4303
+ bannerFileId: string | null;
1585
4304
  userId: string;
1586
4305
  readingPermission: import("../..").ReadingPermission;
1587
4306
  postingPermission: import("../..").PostingPermission;
@@ -1597,6 +4316,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1597
4316
  membersCount: number;
1598
4317
  childSpacesCount: number;
1599
4318
  isMember?: boolean | undefined;
4319
+ avatarFile?: {
4320
+ id: string;
4321
+ projectId: string;
4322
+ userId: string | null;
4323
+ entityId: string | null;
4324
+ commentId: string | null;
4325
+ spaceId: string | null;
4326
+ type: "image" | "video" | "document" | "other";
4327
+ originalPath: string;
4328
+ originalSize: number;
4329
+ originalMimeType: string;
4330
+ position: number;
4331
+ metadata: {
4332
+ [x: string]: any;
4333
+ };
4334
+ image?: {
4335
+ fileId: string;
4336
+ originalWidth: number;
4337
+ originalHeight: number;
4338
+ variants: {
4339
+ [x: string]: {
4340
+ path: string;
4341
+ publicPath: string;
4342
+ width: number;
4343
+ height: number;
4344
+ size: number;
4345
+ format: string;
4346
+ };
4347
+ };
4348
+ processingStatus: "completed" | "failed";
4349
+ processingError: string | null;
4350
+ format: string;
4351
+ quality: number;
4352
+ exifStripped: boolean;
4353
+ createdAt: Date;
4354
+ updatedAt: Date;
4355
+ } | undefined;
4356
+ createdAt: Date;
4357
+ updatedAt: Date;
4358
+ } | undefined;
4359
+ bannerFile?: {
4360
+ id: string;
4361
+ projectId: string;
4362
+ userId: string | null;
4363
+ entityId: string | null;
4364
+ commentId: string | null;
4365
+ spaceId: string | null;
4366
+ type: "image" | "video" | "document" | "other";
4367
+ originalPath: string;
4368
+ originalSize: number;
4369
+ originalMimeType: string;
4370
+ position: number;
4371
+ metadata: {
4372
+ [x: string]: any;
4373
+ };
4374
+ image?: {
4375
+ fileId: string;
4376
+ originalWidth: number;
4377
+ originalHeight: number;
4378
+ variants: {
4379
+ [x: string]: {
4380
+ path: string;
4381
+ publicPath: string;
4382
+ width: number;
4383
+ height: number;
4384
+ size: number;
4385
+ format: string;
4386
+ };
4387
+ };
4388
+ processingStatus: "completed" | "failed";
4389
+ processingError: string | null;
4390
+ format: string;
4391
+ quality: number;
4392
+ exifStripped: boolean;
4393
+ createdAt: Date;
4394
+ updatedAt: Date;
4395
+ } | undefined;
4396
+ createdAt: Date;
4397
+ updatedAt: Date;
4398
+ } | undefined;
1600
4399
  } | null | undefined;
1601
4400
  user?: {
1602
4401
  id: string;
@@ -1606,17 +4405,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1606
4405
  name: string | null;
1607
4406
  username: string | null;
1608
4407
  avatar: string | null;
4408
+ avatarFileId: string | null;
4409
+ bannerFileId: string | null;
4410
+ avatarFile?: {
4411
+ id: string;
4412
+ projectId: string;
4413
+ userId: string | null;
4414
+ entityId: string | null;
4415
+ commentId: string | null;
4416
+ spaceId: string | null;
4417
+ type: "image" | "video" | "document" | "other";
4418
+ originalPath: string;
4419
+ originalSize: number;
4420
+ originalMimeType: string;
4421
+ position: number;
4422
+ metadata: {
4423
+ [x: string]: any;
4424
+ };
4425
+ image?: {
4426
+ fileId: string;
4427
+ originalWidth: number;
4428
+ originalHeight: number;
4429
+ variants: {
4430
+ [x: string]: {
4431
+ path: string;
4432
+ publicPath: string;
4433
+ width: number;
4434
+ height: number;
4435
+ size: number;
4436
+ format: string;
4437
+ };
4438
+ };
4439
+ processingStatus: "completed" | "failed";
4440
+ processingError: string | null;
4441
+ format: string;
4442
+ quality: number;
4443
+ exifStripped: boolean;
4444
+ createdAt: Date;
4445
+ updatedAt: Date;
4446
+ } | undefined;
4447
+ createdAt: Date;
4448
+ updatedAt: Date;
4449
+ } | null | undefined;
4450
+ bannerFile?: {
4451
+ id: string;
4452
+ projectId: string;
4453
+ userId: string | null;
4454
+ entityId: string | null;
4455
+ commentId: string | null;
4456
+ spaceId: string | null;
4457
+ type: "image" | "video" | "document" | "other";
4458
+ originalPath: string;
4459
+ originalSize: number;
4460
+ originalMimeType: string;
4461
+ position: number;
4462
+ metadata: {
4463
+ [x: string]: any;
4464
+ };
4465
+ image?: {
4466
+ fileId: string;
4467
+ originalWidth: number;
4468
+ originalHeight: number;
4469
+ variants: {
4470
+ [x: string]: {
4471
+ path: string;
4472
+ publicPath: string;
4473
+ width: number;
4474
+ height: number;
4475
+ size: number;
4476
+ format: string;
4477
+ };
4478
+ };
4479
+ processingStatus: "completed" | "failed";
4480
+ processingError: string | null;
4481
+ format: string;
4482
+ quality: number;
4483
+ exifStripped: boolean;
4484
+ createdAt: Date;
4485
+ updatedAt: Date;
4486
+ } | undefined;
4487
+ createdAt: Date;
4488
+ updatedAt: Date;
4489
+ } | null | undefined;
1609
4490
  bio: string | null;
1610
4491
  birthdate: Date | null;
4492
+ location: {
4493
+ type: "Point";
4494
+ coordinates: [number, number];
4495
+ } | null;
1611
4496
  metadata: {
1612
4497
  [x: string]: any;
1613
4498
  };
1614
4499
  reputation: number;
1615
4500
  createdAt: Date;
1616
- location: {
1617
- type: "Point";
1618
- coordinates: [number, number];
1619
- } | null;
1620
4501
  } | null | undefined;
1621
4502
  title: string | null;
1622
4503
  content: string | null;
@@ -1628,9 +4509,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1628
4509
  attachments: {
1629
4510
  [x: string]: any;
1630
4511
  }[];
4512
+ files?: {
4513
+ id: string;
4514
+ projectId: string;
4515
+ userId: string | null;
4516
+ entityId: string | null;
4517
+ commentId: string | null;
4518
+ spaceId: string | null;
4519
+ type: "image" | "video" | "document" | "other";
4520
+ originalPath: string;
4521
+ originalSize: number;
4522
+ originalMimeType: string;
4523
+ position: number;
4524
+ metadata: {
4525
+ [x: string]: any;
4526
+ };
4527
+ image?: {
4528
+ fileId: string;
4529
+ originalWidth: number;
4530
+ originalHeight: number;
4531
+ variants: {
4532
+ [x: string]: {
4533
+ path: string;
4534
+ publicPath: string;
4535
+ width: number;
4536
+ height: number;
4537
+ size: number;
4538
+ format: string;
4539
+ };
4540
+ };
4541
+ processingStatus: "completed" | "failed";
4542
+ processingError: string | null;
4543
+ format: string;
4544
+ quality: number;
4545
+ exifStripped: boolean;
4546
+ createdAt: Date;
4547
+ updatedAt: Date;
4548
+ } | undefined;
4549
+ createdAt: Date;
4550
+ updatedAt: Date;
4551
+ }[] | undefined;
1631
4552
  keywords: string[];
1632
4553
  upvotes: string[];
1633
4554
  downvotes: string[];
4555
+ reactionCounts: {
4556
+ upvote: number;
4557
+ downvote: number;
4558
+ like: number;
4559
+ love: number;
4560
+ wow: number;
4561
+ sad: number;
4562
+ angry: number;
4563
+ funny: number;
4564
+ };
4565
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1634
4566
  repliesCount: number;
1635
4567
  views: number;
1636
4568
  score: number;
@@ -1652,25 +4584,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1652
4584
  name: string | null;
1653
4585
  username: string | null;
1654
4586
  avatar: string | null;
4587
+ avatarFileId: string | null;
4588
+ bannerFileId: string | null;
4589
+ avatarFile?: {
4590
+ id: string;
4591
+ projectId: string;
4592
+ userId: string | null;
4593
+ entityId: string | null;
4594
+ commentId: string | null;
4595
+ spaceId: string | null;
4596
+ type: "image" | "video" | "document" | "other";
4597
+ originalPath: string;
4598
+ originalSize: number;
4599
+ originalMimeType: string;
4600
+ position: number;
4601
+ metadata: {
4602
+ [x: string]: any;
4603
+ };
4604
+ image?: {
4605
+ fileId: string;
4606
+ originalWidth: number;
4607
+ originalHeight: number;
4608
+ variants: {
4609
+ [x: string]: {
4610
+ path: string;
4611
+ publicPath: string;
4612
+ width: number;
4613
+ height: number;
4614
+ size: number;
4615
+ format: string;
4616
+ };
4617
+ };
4618
+ processingStatus: "completed" | "failed";
4619
+ processingError: string | null;
4620
+ format: string;
4621
+ quality: number;
4622
+ exifStripped: boolean;
4623
+ createdAt: Date;
4624
+ updatedAt: Date;
4625
+ } | undefined;
4626
+ createdAt: Date;
4627
+ updatedAt: Date;
4628
+ } | null | undefined;
4629
+ bannerFile?: {
4630
+ id: string;
4631
+ projectId: string;
4632
+ userId: string | null;
4633
+ entityId: string | null;
4634
+ commentId: string | null;
4635
+ spaceId: string | null;
4636
+ type: "image" | "video" | "document" | "other";
4637
+ originalPath: string;
4638
+ originalSize: number;
4639
+ originalMimeType: string;
4640
+ position: number;
4641
+ metadata: {
4642
+ [x: string]: any;
4643
+ };
4644
+ image?: {
4645
+ fileId: string;
4646
+ originalWidth: number;
4647
+ originalHeight: number;
4648
+ variants: {
4649
+ [x: string]: {
4650
+ path: string;
4651
+ publicPath: string;
4652
+ width: number;
4653
+ height: number;
4654
+ size: number;
4655
+ format: string;
4656
+ };
4657
+ };
4658
+ processingStatus: "completed" | "failed";
4659
+ processingError: string | null;
4660
+ format: string;
4661
+ quality: number;
4662
+ exifStripped: boolean;
4663
+ createdAt: Date;
4664
+ updatedAt: Date;
4665
+ } | undefined;
4666
+ createdAt: Date;
4667
+ updatedAt: Date;
4668
+ } | null | undefined;
1655
4669
  bio: string | null;
1656
4670
  birthdate: Date | null;
4671
+ location: {
4672
+ type: "Point";
4673
+ coordinates: [number, number];
4674
+ } | null;
1657
4675
  metadata: {
1658
4676
  [x: string]: any;
1659
4677
  };
1660
4678
  reputation: number;
1661
4679
  createdAt: Date;
1662
- location: {
1663
- type: "Point";
1664
- coordinates: [number, number];
1665
- } | null;
1666
4680
  };
1667
4681
  upvotesCount: number;
1668
4682
  content: string;
1669
4683
  createdAt: string;
1670
4684
  } | null;
4685
+ isSaved?: boolean | undefined;
1671
4686
  createdAt: Date;
1672
4687
  updatedAt: Date;
1673
4688
  deletedAt: Date | null;
4689
+ isDraft: boolean | null;
4690
+ moderationStatus: "approved" | "removed" | null;
4691
+ moderatedAt: Date | null;
4692
+ moderatedById: string | null;
4693
+ moderatedByType: "client" | "user" | null;
4694
+ moderationReason: string | null;
1674
4695
  }[];
1675
4696
  page: number;
1676
4697
  loading: boolean;
@@ -1742,8 +4763,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1742
4763
  slug: string | null;
1743
4764
  name: string;
1744
4765
  description: string | null;
1745
- avatar: string | null;
1746
- banner: string | null;
4766
+ avatarFileId: string | null;
4767
+ bannerFileId: string | null;
1747
4768
  userId: string;
1748
4769
  readingPermission: import("../..").ReadingPermission;
1749
4770
  postingPermission: import("../..").PostingPermission;
@@ -1759,6 +4780,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1759
4780
  membersCount: number;
1760
4781
  childSpacesCount: number;
1761
4782
  isMember?: boolean | undefined;
4783
+ avatarFile?: {
4784
+ id: string;
4785
+ projectId: string;
4786
+ userId: string | null;
4787
+ entityId: string | null;
4788
+ commentId: string | null;
4789
+ spaceId: string | null;
4790
+ type: "image" | "video" | "document" | "other";
4791
+ originalPath: string;
4792
+ originalSize: number;
4793
+ originalMimeType: string;
4794
+ position: number;
4795
+ metadata: {
4796
+ [x: string]: any;
4797
+ };
4798
+ image?: {
4799
+ fileId: string;
4800
+ originalWidth: number;
4801
+ originalHeight: number;
4802
+ variants: {
4803
+ [x: string]: {
4804
+ path: string;
4805
+ publicPath: string;
4806
+ width: number;
4807
+ height: number;
4808
+ size: number;
4809
+ format: string;
4810
+ };
4811
+ };
4812
+ processingStatus: "completed" | "failed";
4813
+ processingError: string | null;
4814
+ format: string;
4815
+ quality: number;
4816
+ exifStripped: boolean;
4817
+ createdAt: Date;
4818
+ updatedAt: Date;
4819
+ } | undefined;
4820
+ createdAt: Date;
4821
+ updatedAt: Date;
4822
+ } | undefined;
4823
+ bannerFile?: {
4824
+ id: string;
4825
+ projectId: string;
4826
+ userId: string | null;
4827
+ entityId: string | null;
4828
+ commentId: string | null;
4829
+ spaceId: string | null;
4830
+ type: "image" | "video" | "document" | "other";
4831
+ originalPath: string;
4832
+ originalSize: number;
4833
+ originalMimeType: string;
4834
+ position: number;
4835
+ metadata: {
4836
+ [x: string]: any;
4837
+ };
4838
+ image?: {
4839
+ fileId: string;
4840
+ originalWidth: number;
4841
+ originalHeight: number;
4842
+ variants: {
4843
+ [x: string]: {
4844
+ path: string;
4845
+ publicPath: string;
4846
+ width: number;
4847
+ height: number;
4848
+ size: number;
4849
+ format: string;
4850
+ };
4851
+ };
4852
+ processingStatus: "completed" | "failed";
4853
+ processingError: string | null;
4854
+ format: string;
4855
+ quality: number;
4856
+ exifStripped: boolean;
4857
+ createdAt: Date;
4858
+ updatedAt: Date;
4859
+ } | undefined;
4860
+ createdAt: Date;
4861
+ updatedAt: Date;
4862
+ } | undefined;
1762
4863
  } | null | undefined;
1763
4864
  user?: {
1764
4865
  id: string;
@@ -1768,17 +4869,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1768
4869
  name: string | null;
1769
4870
  username: string | null;
1770
4871
  avatar: string | null;
4872
+ avatarFileId: string | null;
4873
+ bannerFileId: string | null;
4874
+ avatarFile?: {
4875
+ id: string;
4876
+ projectId: string;
4877
+ userId: string | null;
4878
+ entityId: string | null;
4879
+ commentId: string | null;
4880
+ spaceId: string | null;
4881
+ type: "image" | "video" | "document" | "other";
4882
+ originalPath: string;
4883
+ originalSize: number;
4884
+ originalMimeType: string;
4885
+ position: number;
4886
+ metadata: {
4887
+ [x: string]: any;
4888
+ };
4889
+ image?: {
4890
+ fileId: string;
4891
+ originalWidth: number;
4892
+ originalHeight: number;
4893
+ variants: {
4894
+ [x: string]: {
4895
+ path: string;
4896
+ publicPath: string;
4897
+ width: number;
4898
+ height: number;
4899
+ size: number;
4900
+ format: string;
4901
+ };
4902
+ };
4903
+ processingStatus: "completed" | "failed";
4904
+ processingError: string | null;
4905
+ format: string;
4906
+ quality: number;
4907
+ exifStripped: boolean;
4908
+ createdAt: Date;
4909
+ updatedAt: Date;
4910
+ } | undefined;
4911
+ createdAt: Date;
4912
+ updatedAt: Date;
4913
+ } | null | undefined;
4914
+ bannerFile?: {
4915
+ id: string;
4916
+ projectId: string;
4917
+ userId: string | null;
4918
+ entityId: string | null;
4919
+ commentId: string | null;
4920
+ spaceId: string | null;
4921
+ type: "image" | "video" | "document" | "other";
4922
+ originalPath: string;
4923
+ originalSize: number;
4924
+ originalMimeType: string;
4925
+ position: number;
4926
+ metadata: {
4927
+ [x: string]: any;
4928
+ };
4929
+ image?: {
4930
+ fileId: string;
4931
+ originalWidth: number;
4932
+ originalHeight: number;
4933
+ variants: {
4934
+ [x: string]: {
4935
+ path: string;
4936
+ publicPath: string;
4937
+ width: number;
4938
+ height: number;
4939
+ size: number;
4940
+ format: string;
4941
+ };
4942
+ };
4943
+ processingStatus: "completed" | "failed";
4944
+ processingError: string | null;
4945
+ format: string;
4946
+ quality: number;
4947
+ exifStripped: boolean;
4948
+ createdAt: Date;
4949
+ updatedAt: Date;
4950
+ } | undefined;
4951
+ createdAt: Date;
4952
+ updatedAt: Date;
4953
+ } | null | undefined;
1771
4954
  bio: string | null;
1772
4955
  birthdate: Date | null;
4956
+ location: {
4957
+ type: "Point";
4958
+ coordinates: [number, number];
4959
+ } | null;
1773
4960
  metadata: {
1774
4961
  [x: string]: any;
1775
4962
  };
1776
4963
  reputation: number;
1777
4964
  createdAt: Date;
1778
- location: {
1779
- type: "Point";
1780
- coordinates: [number, number];
1781
- } | null;
1782
4965
  } | null | undefined;
1783
4966
  title: string | null;
1784
4967
  content: string | null;
@@ -1790,9 +4973,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1790
4973
  attachments: {
1791
4974
  [x: string]: any;
1792
4975
  }[];
4976
+ files?: {
4977
+ id: string;
4978
+ projectId: string;
4979
+ userId: string | null;
4980
+ entityId: string | null;
4981
+ commentId: string | null;
4982
+ spaceId: string | null;
4983
+ type: "image" | "video" | "document" | "other";
4984
+ originalPath: string;
4985
+ originalSize: number;
4986
+ originalMimeType: string;
4987
+ position: number;
4988
+ metadata: {
4989
+ [x: string]: any;
4990
+ };
4991
+ image?: {
4992
+ fileId: string;
4993
+ originalWidth: number;
4994
+ originalHeight: number;
4995
+ variants: {
4996
+ [x: string]: {
4997
+ path: string;
4998
+ publicPath: string;
4999
+ width: number;
5000
+ height: number;
5001
+ size: number;
5002
+ format: string;
5003
+ };
5004
+ };
5005
+ processingStatus: "completed" | "failed";
5006
+ processingError: string | null;
5007
+ format: string;
5008
+ quality: number;
5009
+ exifStripped: boolean;
5010
+ createdAt: Date;
5011
+ updatedAt: Date;
5012
+ } | undefined;
5013
+ createdAt: Date;
5014
+ updatedAt: Date;
5015
+ }[] | undefined;
1793
5016
  keywords: string[];
1794
5017
  upvotes: string[];
1795
5018
  downvotes: string[];
5019
+ reactionCounts: {
5020
+ upvote: number;
5021
+ downvote: number;
5022
+ like: number;
5023
+ love: number;
5024
+ wow: number;
5025
+ sad: number;
5026
+ angry: number;
5027
+ funny: number;
5028
+ };
5029
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1796
5030
  repliesCount: number;
1797
5031
  views: number;
1798
5032
  score: number;
@@ -1814,25 +5048,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1814
5048
  name: string | null;
1815
5049
  username: string | null;
1816
5050
  avatar: string | null;
5051
+ avatarFileId: string | null;
5052
+ bannerFileId: string | null;
5053
+ avatarFile?: {
5054
+ id: string;
5055
+ projectId: string;
5056
+ userId: string | null;
5057
+ entityId: string | null;
5058
+ commentId: string | null;
5059
+ spaceId: string | null;
5060
+ type: "image" | "video" | "document" | "other";
5061
+ originalPath: string;
5062
+ originalSize: number;
5063
+ originalMimeType: string;
5064
+ position: number;
5065
+ metadata: {
5066
+ [x: string]: any;
5067
+ };
5068
+ image?: {
5069
+ fileId: string;
5070
+ originalWidth: number;
5071
+ originalHeight: number;
5072
+ variants: {
5073
+ [x: string]: {
5074
+ path: string;
5075
+ publicPath: string;
5076
+ width: number;
5077
+ height: number;
5078
+ size: number;
5079
+ format: string;
5080
+ };
5081
+ };
5082
+ processingStatus: "completed" | "failed";
5083
+ processingError: string | null;
5084
+ format: string;
5085
+ quality: number;
5086
+ exifStripped: boolean;
5087
+ createdAt: Date;
5088
+ updatedAt: Date;
5089
+ } | undefined;
5090
+ createdAt: Date;
5091
+ updatedAt: Date;
5092
+ } | null | undefined;
5093
+ bannerFile?: {
5094
+ id: string;
5095
+ projectId: string;
5096
+ userId: string | null;
5097
+ entityId: string | null;
5098
+ commentId: string | null;
5099
+ spaceId: string | null;
5100
+ type: "image" | "video" | "document" | "other";
5101
+ originalPath: string;
5102
+ originalSize: number;
5103
+ originalMimeType: string;
5104
+ position: number;
5105
+ metadata: {
5106
+ [x: string]: any;
5107
+ };
5108
+ image?: {
5109
+ fileId: string;
5110
+ originalWidth: number;
5111
+ originalHeight: number;
5112
+ variants: {
5113
+ [x: string]: {
5114
+ path: string;
5115
+ publicPath: string;
5116
+ width: number;
5117
+ height: number;
5118
+ size: number;
5119
+ format: string;
5120
+ };
5121
+ };
5122
+ processingStatus: "completed" | "failed";
5123
+ processingError: string | null;
5124
+ format: string;
5125
+ quality: number;
5126
+ exifStripped: boolean;
5127
+ createdAt: Date;
5128
+ updatedAt: Date;
5129
+ } | undefined;
5130
+ createdAt: Date;
5131
+ updatedAt: Date;
5132
+ } | null | undefined;
1817
5133
  bio: string | null;
1818
5134
  birthdate: Date | null;
5135
+ location: {
5136
+ type: "Point";
5137
+ coordinates: [number, number];
5138
+ } | null;
1819
5139
  metadata: {
1820
5140
  [x: string]: any;
1821
5141
  };
1822
5142
  reputation: number;
1823
5143
  createdAt: Date;
1824
- location: {
1825
- type: "Point";
1826
- coordinates: [number, number];
1827
- } | null;
1828
5144
  };
1829
5145
  upvotesCount: number;
1830
5146
  content: string;
1831
5147
  createdAt: string;
1832
5148
  } | null;
5149
+ isSaved?: boolean | undefined;
1833
5150
  createdAt: Date;
1834
5151
  updatedAt: Date;
1835
5152
  deletedAt: Date | null;
5153
+ isDraft: boolean | null;
5154
+ moderationStatus: "approved" | "removed" | null;
5155
+ moderatedAt: Date | null;
5156
+ moderatedById: string | null;
5157
+ moderatedByType: "client" | "user" | null;
5158
+ moderationReason: string | null;
1836
5159
  }[];
1837
5160
  page: number;
1838
5161
  loading: boolean;
@@ -1904,8 +5227,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1904
5227
  slug: string | null;
1905
5228
  name: string;
1906
5229
  description: string | null;
1907
- avatar: string | null;
1908
- banner: string | null;
5230
+ avatarFileId: string | null;
5231
+ bannerFileId: string | null;
1909
5232
  userId: string;
1910
5233
  readingPermission: import("../..").ReadingPermission;
1911
5234
  postingPermission: import("../..").PostingPermission;
@@ -1921,6 +5244,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1921
5244
  membersCount: number;
1922
5245
  childSpacesCount: number;
1923
5246
  isMember?: boolean | undefined;
5247
+ avatarFile?: {
5248
+ id: string;
5249
+ projectId: string;
5250
+ userId: string | null;
5251
+ entityId: string | null;
5252
+ commentId: string | null;
5253
+ spaceId: string | null;
5254
+ type: "image" | "video" | "document" | "other";
5255
+ originalPath: string;
5256
+ originalSize: number;
5257
+ originalMimeType: string;
5258
+ position: number;
5259
+ metadata: {
5260
+ [x: string]: any;
5261
+ };
5262
+ image?: {
5263
+ fileId: string;
5264
+ originalWidth: number;
5265
+ originalHeight: number;
5266
+ variants: {
5267
+ [x: string]: {
5268
+ path: string;
5269
+ publicPath: string;
5270
+ width: number;
5271
+ height: number;
5272
+ size: number;
5273
+ format: string;
5274
+ };
5275
+ };
5276
+ processingStatus: "completed" | "failed";
5277
+ processingError: string | null;
5278
+ format: string;
5279
+ quality: number;
5280
+ exifStripped: boolean;
5281
+ createdAt: Date;
5282
+ updatedAt: Date;
5283
+ } | undefined;
5284
+ createdAt: Date;
5285
+ updatedAt: Date;
5286
+ } | undefined;
5287
+ bannerFile?: {
5288
+ id: string;
5289
+ projectId: string;
5290
+ userId: string | null;
5291
+ entityId: string | null;
5292
+ commentId: string | null;
5293
+ spaceId: string | null;
5294
+ type: "image" | "video" | "document" | "other";
5295
+ originalPath: string;
5296
+ originalSize: number;
5297
+ originalMimeType: string;
5298
+ position: number;
5299
+ metadata: {
5300
+ [x: string]: any;
5301
+ };
5302
+ image?: {
5303
+ fileId: string;
5304
+ originalWidth: number;
5305
+ originalHeight: number;
5306
+ variants: {
5307
+ [x: string]: {
5308
+ path: string;
5309
+ publicPath: string;
5310
+ width: number;
5311
+ height: number;
5312
+ size: number;
5313
+ format: string;
5314
+ };
5315
+ };
5316
+ processingStatus: "completed" | "failed";
5317
+ processingError: string | null;
5318
+ format: string;
5319
+ quality: number;
5320
+ exifStripped: boolean;
5321
+ createdAt: Date;
5322
+ updatedAt: Date;
5323
+ } | undefined;
5324
+ createdAt: Date;
5325
+ updatedAt: Date;
5326
+ } | undefined;
1924
5327
  } | null | undefined;
1925
5328
  user?: {
1926
5329
  id: string;
@@ -1930,17 +5333,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1930
5333
  name: string | null;
1931
5334
  username: string | null;
1932
5335
  avatar: string | null;
5336
+ avatarFileId: string | null;
5337
+ bannerFileId: string | null;
5338
+ avatarFile?: {
5339
+ id: string;
5340
+ projectId: string;
5341
+ userId: string | null;
5342
+ entityId: string | null;
5343
+ commentId: string | null;
5344
+ spaceId: string | null;
5345
+ type: "image" | "video" | "document" | "other";
5346
+ originalPath: string;
5347
+ originalSize: number;
5348
+ originalMimeType: string;
5349
+ position: number;
5350
+ metadata: {
5351
+ [x: string]: any;
5352
+ };
5353
+ image?: {
5354
+ fileId: string;
5355
+ originalWidth: number;
5356
+ originalHeight: number;
5357
+ variants: {
5358
+ [x: string]: {
5359
+ path: string;
5360
+ publicPath: string;
5361
+ width: number;
5362
+ height: number;
5363
+ size: number;
5364
+ format: string;
5365
+ };
5366
+ };
5367
+ processingStatus: "completed" | "failed";
5368
+ processingError: string | null;
5369
+ format: string;
5370
+ quality: number;
5371
+ exifStripped: boolean;
5372
+ createdAt: Date;
5373
+ updatedAt: Date;
5374
+ } | undefined;
5375
+ createdAt: Date;
5376
+ updatedAt: Date;
5377
+ } | null | undefined;
5378
+ bannerFile?: {
5379
+ id: string;
5380
+ projectId: string;
5381
+ userId: string | null;
5382
+ entityId: string | null;
5383
+ commentId: string | null;
5384
+ spaceId: string | null;
5385
+ type: "image" | "video" | "document" | "other";
5386
+ originalPath: string;
5387
+ originalSize: number;
5388
+ originalMimeType: string;
5389
+ position: number;
5390
+ metadata: {
5391
+ [x: string]: any;
5392
+ };
5393
+ image?: {
5394
+ fileId: string;
5395
+ originalWidth: number;
5396
+ originalHeight: number;
5397
+ variants: {
5398
+ [x: string]: {
5399
+ path: string;
5400
+ publicPath: string;
5401
+ width: number;
5402
+ height: number;
5403
+ size: number;
5404
+ format: string;
5405
+ };
5406
+ };
5407
+ processingStatus: "completed" | "failed";
5408
+ processingError: string | null;
5409
+ format: string;
5410
+ quality: number;
5411
+ exifStripped: boolean;
5412
+ createdAt: Date;
5413
+ updatedAt: Date;
5414
+ } | undefined;
5415
+ createdAt: Date;
5416
+ updatedAt: Date;
5417
+ } | null | undefined;
1933
5418
  bio: string | null;
1934
5419
  birthdate: Date | null;
5420
+ location: {
5421
+ type: "Point";
5422
+ coordinates: [number, number];
5423
+ } | null;
1935
5424
  metadata: {
1936
5425
  [x: string]: any;
1937
5426
  };
1938
5427
  reputation: number;
1939
5428
  createdAt: Date;
1940
- location: {
1941
- type: "Point";
1942
- coordinates: [number, number];
1943
- } | null;
1944
5429
  } | null | undefined;
1945
5430
  title: string | null;
1946
5431
  content: string | null;
@@ -1952,9 +5437,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1952
5437
  attachments: {
1953
5438
  [x: string]: any;
1954
5439
  }[];
5440
+ files?: {
5441
+ id: string;
5442
+ projectId: string;
5443
+ userId: string | null;
5444
+ entityId: string | null;
5445
+ commentId: string | null;
5446
+ spaceId: string | null;
5447
+ type: "image" | "video" | "document" | "other";
5448
+ originalPath: string;
5449
+ originalSize: number;
5450
+ originalMimeType: string;
5451
+ position: number;
5452
+ metadata: {
5453
+ [x: string]: any;
5454
+ };
5455
+ image?: {
5456
+ fileId: string;
5457
+ originalWidth: number;
5458
+ originalHeight: number;
5459
+ variants: {
5460
+ [x: string]: {
5461
+ path: string;
5462
+ publicPath: string;
5463
+ width: number;
5464
+ height: number;
5465
+ size: number;
5466
+ format: string;
5467
+ };
5468
+ };
5469
+ processingStatus: "completed" | "failed";
5470
+ processingError: string | null;
5471
+ format: string;
5472
+ quality: number;
5473
+ exifStripped: boolean;
5474
+ createdAt: Date;
5475
+ updatedAt: Date;
5476
+ } | undefined;
5477
+ createdAt: Date;
5478
+ updatedAt: Date;
5479
+ }[] | undefined;
1955
5480
  keywords: string[];
1956
5481
  upvotes: string[];
1957
5482
  downvotes: string[];
5483
+ reactionCounts: {
5484
+ upvote: number;
5485
+ downvote: number;
5486
+ like: number;
5487
+ love: number;
5488
+ wow: number;
5489
+ sad: number;
5490
+ angry: number;
5491
+ funny: number;
5492
+ };
5493
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1958
5494
  repliesCount: number;
1959
5495
  views: number;
1960
5496
  score: number;
@@ -1976,25 +5512,114 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1976
5512
  name: string | null;
1977
5513
  username: string | null;
1978
5514
  avatar: string | null;
5515
+ avatarFileId: string | null;
5516
+ bannerFileId: string | null;
5517
+ avatarFile?: {
5518
+ id: string;
5519
+ projectId: string;
5520
+ userId: string | null;
5521
+ entityId: string | null;
5522
+ commentId: string | null;
5523
+ spaceId: string | null;
5524
+ type: "image" | "video" | "document" | "other";
5525
+ originalPath: string;
5526
+ originalSize: number;
5527
+ originalMimeType: string;
5528
+ position: number;
5529
+ metadata: {
5530
+ [x: string]: any;
5531
+ };
5532
+ image?: {
5533
+ fileId: string;
5534
+ originalWidth: number;
5535
+ originalHeight: number;
5536
+ variants: {
5537
+ [x: string]: {
5538
+ path: string;
5539
+ publicPath: string;
5540
+ width: number;
5541
+ height: number;
5542
+ size: number;
5543
+ format: string;
5544
+ };
5545
+ };
5546
+ processingStatus: "completed" | "failed";
5547
+ processingError: string | null;
5548
+ format: string;
5549
+ quality: number;
5550
+ exifStripped: boolean;
5551
+ createdAt: Date;
5552
+ updatedAt: Date;
5553
+ } | undefined;
5554
+ createdAt: Date;
5555
+ updatedAt: Date;
5556
+ } | null | undefined;
5557
+ bannerFile?: {
5558
+ id: string;
5559
+ projectId: string;
5560
+ userId: string | null;
5561
+ entityId: string | null;
5562
+ commentId: string | null;
5563
+ spaceId: string | null;
5564
+ type: "image" | "video" | "document" | "other";
5565
+ originalPath: string;
5566
+ originalSize: number;
5567
+ originalMimeType: string;
5568
+ position: number;
5569
+ metadata: {
5570
+ [x: string]: any;
5571
+ };
5572
+ image?: {
5573
+ fileId: string;
5574
+ originalWidth: number;
5575
+ originalHeight: number;
5576
+ variants: {
5577
+ [x: string]: {
5578
+ path: string;
5579
+ publicPath: string;
5580
+ width: number;
5581
+ height: number;
5582
+ size: number;
5583
+ format: string;
5584
+ };
5585
+ };
5586
+ processingStatus: "completed" | "failed";
5587
+ processingError: string | null;
5588
+ format: string;
5589
+ quality: number;
5590
+ exifStripped: boolean;
5591
+ createdAt: Date;
5592
+ updatedAt: Date;
5593
+ } | undefined;
5594
+ createdAt: Date;
5595
+ updatedAt: Date;
5596
+ } | null | undefined;
1979
5597
  bio: string | null;
1980
5598
  birthdate: Date | null;
5599
+ location: {
5600
+ type: "Point";
5601
+ coordinates: [number, number];
5602
+ } | null;
1981
5603
  metadata: {
1982
5604
  [x: string]: any;
1983
5605
  };
1984
5606
  reputation: number;
1985
5607
  createdAt: Date;
1986
- location: {
1987
- type: "Point";
1988
- coordinates: [number, number];
1989
- } | null;
1990
5608
  };
1991
5609
  upvotesCount: number;
1992
5610
  content: string;
1993
5611
  createdAt: string;
1994
5612
  } | null;
5613
+ isSaved?: boolean | undefined;
1995
5614
  createdAt: Date;
1996
5615
  updatedAt: Date;
1997
5616
  deletedAt: Date | null;
5617
+ isDraft: boolean | null;
5618
+ moderationStatus: "approved" | "removed" | null;
5619
+ moderatedAt: Date | null;
5620
+ moderatedById: string | null;
5621
+ moderatedByType: "client" | "user" | null;
5622
+ moderationReason: string | null;
1998
5623
  }[];
1999
5624
  page: number;
2000
5625
  loading: boolean;
@@ -2060,7 +5685,11 @@ export declare const initializeList: import("@reduxjs/toolkit").ActionCreatorWit
2060
5685
  listId: string;
2061
5686
  error: string | null;
2062
5687
  }, "entityLists/setEntityListError">, addEntity: import("@reduxjs/toolkit").ActionCreatorWithPayload<EntityAddPayload, "entityLists/addEntity">, removeEntity: import("@reduxjs/toolkit").ActionCreatorWithPayload<EntityRemovePayload, "entityLists/removeEntity">, updateKeywordsFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<KeywordsUpdatePayload, "entityLists/updateKeywordsFilters">, cleanupList: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "entityLists/cleanupList">, cleanupOldLists: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "entityLists/cleanupOldLists">;
2063
- export declare const selectEntityList: ((state: any, listId: string) => EntityListState | undefined) & {
5688
+ export declare const selectEntityList: ((state: {
5689
+ replyke: ReplykeState;
5690
+ } & {
5691
+ replyke: ReplykeState;
5692
+ }, listId: string) => EntityListState | undefined) & {
2064
5693
  clearCache: () => void;
2065
5694
  resultsCount: () => number;
2066
5695
  resetResultsCount: () => void;
@@ -2073,8 +5702,10 @@ export declare const selectEntityList: ((state: any, listId: string) => EntityLi
2073
5702
  };
2074
5703
  lastResult: () => EntityListState | undefined;
2075
5704
  dependencies: [(state: {
2076
- entityLists: EntityListsState;
2077
- }) => EntityListsState, (_: any, listId: string) => string];
5705
+ replyke: ReplykeState;
5706
+ }) => EntityListsState, (_: {
5707
+ replyke: ReplykeState;
5708
+ }, listId: string) => string];
2078
5709
  recomputations: () => number;
2079
5710
  resetRecomputations: () => void;
2080
5711
  dependencyRecomputations: () => number;
@@ -2083,7 +5714,11 @@ export declare const selectEntityList: ((state: any, listId: string) => EntityLi
2083
5714
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2084
5715
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2085
5716
  };
2086
- export declare const selectEntityListEntities: ((state: any, listId: string) => Entity[]) & {
5717
+ export declare const selectEntityListEntities: ((state: {
5718
+ replyke: ReplykeState;
5719
+ } & {
5720
+ replyke: ReplykeState;
5721
+ }, listId: string) => Entity[]) & {
2087
5722
  clearCache: () => void;
2088
5723
  resultsCount: () => number;
2089
5724
  resetResultsCount: () => void;
@@ -2095,7 +5730,11 @@ export declare const selectEntityListEntities: ((state: any, listId: string) =>
2095
5730
  resetResultsCount: () => void;
2096
5731
  };
2097
5732
  lastResult: () => Entity[];
2098
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5733
+ dependencies: [((state: {
5734
+ replyke: ReplykeState;
5735
+ } & {
5736
+ replyke: ReplykeState;
5737
+ }, listId: string) => EntityListState | undefined) & {
2099
5738
  clearCache: () => void;
2100
5739
  resultsCount: () => number;
2101
5740
  resetResultsCount: () => void;
@@ -2108,8 +5747,10 @@ export declare const selectEntityListEntities: ((state: any, listId: string) =>
2108
5747
  };
2109
5748
  lastResult: () => EntityListState | undefined;
2110
5749
  dependencies: [(state: {
2111
- entityLists: EntityListsState;
2112
- }) => EntityListsState, (_: any, listId: string) => string];
5750
+ replyke: ReplykeState;
5751
+ }) => EntityListsState, (_: {
5752
+ replyke: ReplykeState;
5753
+ }, listId: string) => string];
2113
5754
  recomputations: () => number;
2114
5755
  resetRecomputations: () => void;
2115
5756
  dependencyRecomputations: () => number;
@@ -2126,7 +5767,11 @@ export declare const selectEntityListEntities: ((state: any, listId: string) =>
2126
5767
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2127
5768
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2128
5769
  };
2129
- export declare const selectEntityListLoading: ((state: any, listId: string) => boolean) & {
5770
+ export declare const selectEntityListLoading: ((state: {
5771
+ replyke: ReplykeState;
5772
+ } & {
5773
+ replyke: ReplykeState;
5774
+ }, listId: string) => boolean) & {
2130
5775
  clearCache: () => void;
2131
5776
  resultsCount: () => number;
2132
5777
  resetResultsCount: () => void;
@@ -2138,7 +5783,11 @@ export declare const selectEntityListLoading: ((state: any, listId: string) => b
2138
5783
  resetResultsCount: () => void;
2139
5784
  };
2140
5785
  lastResult: () => boolean;
2141
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5786
+ dependencies: [((state: {
5787
+ replyke: ReplykeState;
5788
+ } & {
5789
+ replyke: ReplykeState;
5790
+ }, listId: string) => EntityListState | undefined) & {
2142
5791
  clearCache: () => void;
2143
5792
  resultsCount: () => number;
2144
5793
  resetResultsCount: () => void;
@@ -2151,8 +5800,10 @@ export declare const selectEntityListLoading: ((state: any, listId: string) => b
2151
5800
  };
2152
5801
  lastResult: () => EntityListState | undefined;
2153
5802
  dependencies: [(state: {
2154
- entityLists: EntityListsState;
2155
- }) => EntityListsState, (_: any, listId: string) => string];
5803
+ replyke: ReplykeState;
5804
+ }) => EntityListsState, (_: {
5805
+ replyke: ReplykeState;
5806
+ }, listId: string) => string];
2156
5807
  recomputations: () => number;
2157
5808
  resetRecomputations: () => void;
2158
5809
  dependencyRecomputations: () => number;
@@ -2169,7 +5820,11 @@ export declare const selectEntityListLoading: ((state: any, listId: string) => b
2169
5820
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2170
5821
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2171
5822
  };
2172
- export declare const selectEntityListHasMore: ((state: any, listId: string) => boolean) & {
5823
+ export declare const selectEntityListHasMore: ((state: {
5824
+ replyke: ReplykeState;
5825
+ } & {
5826
+ replyke: ReplykeState;
5827
+ }, listId: string) => boolean) & {
2173
5828
  clearCache: () => void;
2174
5829
  resultsCount: () => number;
2175
5830
  resetResultsCount: () => void;
@@ -2181,7 +5836,11 @@ export declare const selectEntityListHasMore: ((state: any, listId: string) => b
2181
5836
  resetResultsCount: () => void;
2182
5837
  };
2183
5838
  lastResult: () => boolean;
2184
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5839
+ dependencies: [((state: {
5840
+ replyke: ReplykeState;
5841
+ } & {
5842
+ replyke: ReplykeState;
5843
+ }, listId: string) => EntityListState | undefined) & {
2185
5844
  clearCache: () => void;
2186
5845
  resultsCount: () => number;
2187
5846
  resetResultsCount: () => void;
@@ -2194,8 +5853,10 @@ export declare const selectEntityListHasMore: ((state: any, listId: string) => b
2194
5853
  };
2195
5854
  lastResult: () => EntityListState | undefined;
2196
5855
  dependencies: [(state: {
2197
- entityLists: EntityListsState;
2198
- }) => EntityListsState, (_: any, listId: string) => string];
5856
+ replyke: ReplykeState;
5857
+ }) => EntityListsState, (_: {
5858
+ replyke: ReplykeState;
5859
+ }, listId: string) => string];
2199
5860
  recomputations: () => number;
2200
5861
  resetRecomputations: () => void;
2201
5862
  dependencyRecomputations: () => number;
@@ -2212,7 +5873,11 @@ export declare const selectEntityListHasMore: ((state: any, listId: string) => b
2212
5873
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2213
5874
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2214
5875
  };
2215
- export declare const selectEntityListSort: ((state: any, listId: string) => EntityListSort | null) & {
5876
+ export declare const selectEntityListSort: ((state: {
5877
+ replyke: ReplykeState;
5878
+ } & {
5879
+ replyke: ReplykeState;
5880
+ }, listId: string) => EntityListSort | null) & {
2216
5881
  clearCache: () => void;
2217
5882
  resultsCount: () => number;
2218
5883
  resetResultsCount: () => void;
@@ -2224,7 +5889,11 @@ export declare const selectEntityListSort: ((state: any, listId: string) => Enti
2224
5889
  resetResultsCount: () => void;
2225
5890
  };
2226
5891
  lastResult: () => EntityListSort | null;
2227
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5892
+ dependencies: [((state: {
5893
+ replyke: ReplykeState;
5894
+ } & {
5895
+ replyke: ReplykeState;
5896
+ }, listId: string) => EntityListState | undefined) & {
2228
5897
  clearCache: () => void;
2229
5898
  resultsCount: () => number;
2230
5899
  resetResultsCount: () => void;
@@ -2237,8 +5906,10 @@ export declare const selectEntityListSort: ((state: any, listId: string) => Enti
2237
5906
  };
2238
5907
  lastResult: () => EntityListState | undefined;
2239
5908
  dependencies: [(state: {
2240
- entityLists: EntityListsState;
2241
- }) => EntityListsState, (_: any, listId: string) => string];
5909
+ replyke: ReplykeState;
5910
+ }) => EntityListsState, (_: {
5911
+ replyke: ReplykeState;
5912
+ }, listId: string) => string];
2242
5913
  recomputations: () => number;
2243
5914
  resetRecomputations: () => void;
2244
5915
  dependencyRecomputations: () => number;
@@ -2255,7 +5926,11 @@ export declare const selectEntityListSort: ((state: any, listId: string) => Enti
2255
5926
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2256
5927
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2257
5928
  };
2258
- export declare const selectEntityListFilters: ((state: any, listId: string) => EntityListFilters | null) & {
5929
+ export declare const selectEntityListFilters: ((state: {
5930
+ replyke: ReplykeState;
5931
+ } & {
5932
+ replyke: ReplykeState;
5933
+ }, listId: string) => EntityListFilters | null) & {
2259
5934
  clearCache: () => void;
2260
5935
  resultsCount: () => number;
2261
5936
  resetResultsCount: () => void;
@@ -2267,7 +5942,11 @@ export declare const selectEntityListFilters: ((state: any, listId: string) => E
2267
5942
  resetResultsCount: () => void;
2268
5943
  };
2269
5944
  lastResult: () => EntityListFilters | null;
2270
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5945
+ dependencies: [((state: {
5946
+ replyke: ReplykeState;
5947
+ } & {
5948
+ replyke: ReplykeState;
5949
+ }, listId: string) => EntityListState | undefined) & {
2271
5950
  clearCache: () => void;
2272
5951
  resultsCount: () => number;
2273
5952
  resetResultsCount: () => void;
@@ -2280,8 +5959,10 @@ export declare const selectEntityListFilters: ((state: any, listId: string) => E
2280
5959
  };
2281
5960
  lastResult: () => EntityListState | undefined;
2282
5961
  dependencies: [(state: {
2283
- entityLists: EntityListsState;
2284
- }) => EntityListsState, (_: any, listId: string) => string];
5962
+ replyke: ReplykeState;
5963
+ }) => EntityListsState, (_: {
5964
+ replyke: ReplykeState;
5965
+ }, listId: string) => string];
2285
5966
  recomputations: () => number;
2286
5967
  resetRecomputations: () => void;
2287
5968
  dependencyRecomputations: () => number;
@@ -2298,7 +5979,11 @@ export declare const selectEntityListFilters: ((state: any, listId: string) => E
2298
5979
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2299
5980
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2300
5981
  };
2301
- export declare const selectEntityListConfig: ((state: any, listId: string) => {
5982
+ export declare const selectEntityListConfig: ((state: {
5983
+ replyke: ReplykeState;
5984
+ } & {
5985
+ replyke: ReplykeState;
5986
+ }, listId: string) => {
2302
5987
  sourceId: string | null;
2303
5988
  spaceId: string | null;
2304
5989
  limit: number;
@@ -2330,7 +6015,11 @@ export declare const selectEntityListConfig: ((state: any, listId: string) => {
2330
6015
  limit: number;
2331
6016
  include: EntityIncludeParam | null;
2332
6017
  } | null;
2333
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
6018
+ dependencies: [((state: {
6019
+ replyke: ReplykeState;
6020
+ } & {
6021
+ replyke: ReplykeState;
6022
+ }, listId: string) => EntityListState | undefined) & {
2334
6023
  clearCache: () => void;
2335
6024
  resultsCount: () => number;
2336
6025
  resetResultsCount: () => void;
@@ -2343,8 +6032,10 @@ export declare const selectEntityListConfig: ((state: any, listId: string) => {
2343
6032
  };
2344
6033
  lastResult: () => EntityListState | undefined;
2345
6034
  dependencies: [(state: {
2346
- entityLists: EntityListsState;
2347
- }) => EntityListsState, (_: any, listId: string) => string];
6035
+ replyke: ReplykeState;
6036
+ }) => EntityListsState, (_: {
6037
+ replyke: ReplykeState;
6038
+ }, listId: string) => string];
2348
6039
  recomputations: () => number;
2349
6040
  resetRecomputations: () => void;
2350
6041
  dependencyRecomputations: () => number;