@replyke/core 7.0.0-beta.7 → 7.0.0-beta.71

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 (660) hide show
  1. package/dist/cjs/config/axios.js +1 -1
  2. package/dist/cjs/config/axios.js.map +1 -1
  3. package/dist/cjs/context/entity-context.d.ts +2 -2
  4. package/dist/cjs/context/entity-context.js +4 -4
  5. package/dist/cjs/context/entity-context.js.map +1 -1
  6. package/dist/cjs/context/index.d.ts +1 -0
  7. package/dist/cjs/context/index.js +3 -1
  8. package/dist/cjs/context/index.js.map +1 -1
  9. package/dist/cjs/context/replyke-integration-context.d.ts +52 -0
  10. package/dist/cjs/context/replyke-integration-context.js +77 -0
  11. package/dist/cjs/context/replyke-integration-context.js.map +1 -0
  12. package/dist/cjs/context/replyke-store-context.js +2 -1
  13. package/dist/cjs/context/replyke-store-context.js.map +1 -1
  14. package/dist/cjs/hooks/app-notifications/useAppNotifications.js +9 -23
  15. package/dist/cjs/hooks/app-notifications/useAppNotifications.js.map +1 -1
  16. package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js +6 -14
  17. package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
  18. package/dist/cjs/hooks/auth/useAuth.d.ts +5 -1
  19. package/dist/cjs/hooks/auth/useAuth.js +6 -6
  20. package/dist/cjs/hooks/auth/useAuth.js.map +1 -1
  21. package/dist/cjs/hooks/collections/index.d.ts +4 -0
  22. package/dist/cjs/hooks/collections/index.js +16 -0
  23. package/dist/cjs/hooks/collections/index.js.map +1 -0
  24. package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.d.ts +21 -0
  25. package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.js +211 -0
  26. package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.js.map +1 -0
  27. package/dist/cjs/hooks/collections/useCollections.d.ts +43 -0
  28. package/dist/cjs/hooks/collections/useCollections.js +265 -0
  29. package/dist/cjs/hooks/collections/useCollections.js.map +1 -0
  30. package/dist/cjs/hooks/collections/useCollectionsActions.d.ts +21 -0
  31. package/dist/cjs/hooks/{lists/useListsActions.js → collections/useCollectionsActions.js} +114 -120
  32. package/dist/cjs/hooks/collections/useCollectionsActions.js.map +1 -0
  33. package/dist/cjs/hooks/{lists → collections}/useIsEntitySaved.d.ts +2 -2
  34. package/dist/cjs/hooks/{lists → collections}/useIsEntitySaved.js +3 -3
  35. package/dist/cjs/hooks/collections/useIsEntitySaved.js.map +1 -0
  36. package/dist/cjs/hooks/comments/index.d.ts +2 -2
  37. package/dist/cjs/hooks/comments/index.js +3 -5
  38. package/dist/cjs/hooks/comments/index.js.map +1 -1
  39. package/dist/cjs/hooks/comments/useCommentSectionData.js +35 -12
  40. package/dist/cjs/hooks/comments/useCommentSectionData.js.map +1 -1
  41. package/dist/cjs/hooks/comments/useEntityComments.d.ts +2 -1
  42. package/dist/cjs/hooks/comments/useEntityComments.js +2 -1
  43. package/dist/cjs/hooks/comments/useEntityComments.js.map +1 -1
  44. package/dist/cjs/hooks/comments/useFetchComment.d.ts +3 -4
  45. package/dist/cjs/hooks/comments/useFetchComment.js +7 -5
  46. package/dist/cjs/hooks/comments/useFetchComment.js.map +1 -1
  47. package/dist/cjs/hooks/comments/useFetchCommentByForeignId.d.ts +3 -4
  48. package/dist/cjs/hooks/comments/useFetchCommentByForeignId.js +9 -6
  49. package/dist/cjs/hooks/comments/useFetchCommentByForeignId.js.map +1 -1
  50. package/dist/cjs/hooks/comments/useFetchManyComments.d.ts +2 -2
  51. package/dist/cjs/hooks/comments/useFetchManyComments.js +9 -10
  52. package/dist/cjs/hooks/comments/useFetchManyComments.js.map +1 -1
  53. package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.d.ts +21 -0
  54. package/dist/cjs/hooks/comments/{useProfileComments.js → useFetchManyCommentsWrapper.js} +40 -18
  55. package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.js.map +1 -0
  56. package/dist/cjs/hooks/comments/useReplies.js +1 -0
  57. package/dist/cjs/hooks/comments/useReplies.js.map +1 -1
  58. package/dist/cjs/hooks/crypto/useSignTestingJwt.d.ts +5 -2
  59. package/dist/cjs/hooks/crypto/useSignTestingJwt.js +11 -14
  60. package/dist/cjs/hooks/crypto/useSignTestingJwt.js.map +1 -1
  61. package/dist/cjs/hooks/entities/index.d.ts +2 -5
  62. package/dist/cjs/hooks/entities/index.js +3 -11
  63. package/dist/cjs/hooks/entities/index.js.map +1 -1
  64. package/dist/cjs/hooks/entities/useCreateEntity.d.ts +21 -0
  65. package/dist/cjs/hooks/entities/useCreateEntity.js +91 -15
  66. package/dist/cjs/hooks/entities/useCreateEntity.js.map +1 -1
  67. package/dist/cjs/hooks/entities/useEntityData.d.ts +24 -12
  68. package/dist/cjs/hooks/entities/useEntityData.js +0 -19
  69. package/dist/cjs/hooks/entities/useEntityData.js.map +1 -1
  70. package/dist/cjs/hooks/entities/useFetchEntity.js +4 -5
  71. package/dist/cjs/hooks/entities/useFetchEntity.js.map +1 -1
  72. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.js +6 -16
  73. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.js.map +1 -1
  74. package/dist/cjs/hooks/entities/useFetchEntityByShortId.js +5 -16
  75. package/dist/cjs/hooks/entities/useFetchEntityByShortId.js.map +1 -1
  76. package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.d.ts +41 -0
  77. package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.js +241 -0
  78. package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.js.map +1 -0
  79. package/dist/cjs/hooks/entities/useUpdateEntity.js +6 -2
  80. package/dist/cjs/hooks/entities/useUpdateEntity.js.map +1 -1
  81. package/dist/cjs/hooks/entity-lists/useEntityList.js +10 -10
  82. package/dist/cjs/hooks/entity-lists/useEntityList.js.map +1 -1
  83. package/dist/cjs/hooks/entity-lists/useEntityListActions.js +2 -2
  84. package/dist/cjs/hooks/entity-lists/useEntityListActions.js.map +1 -1
  85. package/dist/cjs/hooks/reactions/index.d.ts +10 -0
  86. package/dist/cjs/hooks/reactions/index.js +21 -0
  87. package/dist/cjs/hooks/reactions/index.js.map +1 -0
  88. package/dist/cjs/hooks/reactions/useAddReaction.d.ts +9 -0
  89. package/dist/cjs/hooks/reactions/useAddReaction.js +77 -0
  90. package/dist/cjs/hooks/reactions/useAddReaction.js.map +1 -0
  91. package/dist/cjs/hooks/reactions/useFetchCommentReactions.d.ts +10 -0
  92. package/dist/cjs/hooks/reactions/useFetchCommentReactions.js +84 -0
  93. package/dist/cjs/hooks/reactions/useFetchCommentReactions.js.map +1 -0
  94. package/dist/cjs/hooks/reactions/useFetchCommentReactionsWrapper.d.ts +17 -0
  95. package/dist/cjs/hooks/reactions/useFetchCommentReactionsWrapper.js +170 -0
  96. package/dist/cjs/hooks/reactions/useFetchCommentReactionsWrapper.js.map +1 -0
  97. package/dist/cjs/hooks/reactions/useFetchEntityReactions.d.ts +10 -0
  98. package/dist/cjs/hooks/reactions/useFetchEntityReactions.js +84 -0
  99. package/dist/cjs/hooks/reactions/useFetchEntityReactions.js.map +1 -0
  100. package/dist/cjs/hooks/reactions/useFetchEntityReactionsWrapper.d.ts +17 -0
  101. package/dist/cjs/hooks/reactions/useFetchEntityReactionsWrapper.js +170 -0
  102. package/dist/cjs/hooks/reactions/useFetchEntityReactionsWrapper.js.map +1 -0
  103. package/dist/cjs/hooks/reactions/useReactionToggle.d.ts +19 -0
  104. package/dist/cjs/hooks/reactions/useReactionToggle.js +146 -0
  105. package/dist/cjs/hooks/reactions/useReactionToggle.js.map +1 -0
  106. package/dist/cjs/hooks/reactions/useRemoveReaction.d.ts +7 -0
  107. package/dist/cjs/hooks/reactions/useRemoveReaction.js +74 -0
  108. package/dist/cjs/hooks/reactions/useRemoveReaction.js.map +1 -0
  109. package/dist/cjs/hooks/reports/index.d.ts +1 -1
  110. package/dist/cjs/hooks/reports/index.js +3 -3
  111. package/dist/cjs/hooks/reports/index.js.map +1 -1
  112. package/dist/cjs/hooks/reports/useFetchModeratedReports.d.ts +54 -0
  113. package/dist/cjs/hooks/reports/useFetchModeratedReports.js +91 -0
  114. package/dist/cjs/hooks/reports/useFetchModeratedReports.js.map +1 -0
  115. package/dist/cjs/hooks/space-lists/useSpaceList.js +9 -9
  116. package/dist/cjs/hooks/space-lists/useSpaceList.js.map +1 -1
  117. package/dist/cjs/hooks/space-lists/useSpaceListActions.js +2 -2
  118. package/dist/cjs/hooks/space-lists/useSpaceListActions.js.map +1 -1
  119. package/dist/cjs/hooks/spaces/index.d.ts +5 -1
  120. package/dist/cjs/hooks/spaces/index.js +15 -3
  121. package/dist/cjs/hooks/spaces/index.js.map +1 -1
  122. package/dist/cjs/hooks/spaces/rules/index.d.ts +12 -0
  123. package/dist/cjs/hooks/spaces/rules/index.js +19 -0
  124. package/dist/cjs/hooks/spaces/rules/index.js.map +1 -0
  125. package/dist/cjs/hooks/spaces/rules/useCreateRule.d.ts +8 -0
  126. package/dist/cjs/hooks/{users/useUpdateUser.js → spaces/rules/useCreateRule.js} +18 -19
  127. package/dist/cjs/hooks/spaces/rules/useCreateRule.js.map +1 -0
  128. package/dist/cjs/hooks/spaces/rules/useDeleteRule.d.ts +7 -0
  129. package/dist/cjs/hooks/{entities/useRemoveEntityUpvote.js → spaces/rules/useDeleteRule.js} +18 -15
  130. package/dist/cjs/hooks/spaces/rules/useDeleteRule.js.map +1 -0
  131. package/dist/cjs/hooks/spaces/rules/useFetchManyRules.d.ts +6 -0
  132. package/dist/cjs/hooks/{comments/useUpvoteComment.js → spaces/rules/useFetchManyRules.js} +15 -15
  133. package/dist/cjs/hooks/spaces/rules/useFetchManyRules.js.map +1 -0
  134. package/dist/cjs/hooks/spaces/rules/useFetchRule.d.ts +7 -0
  135. package/dist/cjs/hooks/{entities/useRemoveEntityDownvote.js → spaces/rules/useFetchRule.js} +18 -15
  136. package/dist/cjs/hooks/spaces/rules/useFetchRule.js.map +1 -0
  137. package/dist/cjs/hooks/spaces/rules/useReorderRules.d.ts +7 -0
  138. package/dist/cjs/hooks/{entities/useUpvoteEntity.js → spaces/rules/useReorderRules.js} +18 -15
  139. package/dist/cjs/hooks/spaces/rules/useReorderRules.js.map +1 -0
  140. package/dist/cjs/hooks/spaces/rules/useUpdateRule.d.ts +11 -0
  141. package/dist/cjs/hooks/{comments/useRemoveCommentDownvote.js → spaces/rules/useUpdateRule.js} +18 -15
  142. package/dist/cjs/hooks/spaces/rules/useUpdateRule.js.map +1 -0
  143. package/dist/cjs/hooks/spaces/useCheckMyMembership.d.ts +5 -0
  144. package/dist/cjs/hooks/{comments/useDownvoteComment.js → spaces/useCheckMyMembership.js} +14 -14
  145. package/dist/cjs/hooks/spaces/useCheckMyMembership.js.map +1 -0
  146. package/dist/cjs/hooks/spaces/useCreateSpace.d.ts +7 -2
  147. package/dist/cjs/hooks/spaces/useCreateSpace.js +54 -3
  148. package/dist/cjs/hooks/spaces/useCreateSpace.js.map +1 -1
  149. package/dist/cjs/hooks/spaces/useFetchManySpaces.d.ts +2 -1
  150. package/dist/cjs/hooks/spaces/useFetchManySpaces.js +5 -0
  151. package/dist/cjs/hooks/spaces/useFetchManySpaces.js.map +1 -1
  152. package/dist/cjs/hooks/spaces/useFetchSpace.d.ts +3 -2
  153. package/dist/cjs/hooks/spaces/useFetchSpace.js +6 -2
  154. package/dist/cjs/hooks/spaces/useFetchSpace.js.map +1 -1
  155. package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.d.ts +3 -2
  156. package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js +7 -2
  157. package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js.map +1 -1
  158. package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.d.ts +3 -2
  159. package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js +7 -2
  160. package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js.map +1 -1
  161. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.d.ts +3 -2
  162. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js +8 -2
  163. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js.map +1 -1
  164. package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js +2 -13
  165. package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
  166. package/dist/cjs/hooks/spaces/useFetchSpaceTeam.d.ts +6 -0
  167. package/dist/cjs/hooks/{entities/useDownvoteEntity.js → spaces/useFetchSpaceTeam.js} +17 -15
  168. package/dist/cjs/hooks/spaces/useFetchSpaceTeam.js.map +1 -0
  169. package/dist/cjs/hooks/spaces/useFetchUserSpaces.d.ts +12 -0
  170. package/dist/cjs/hooks/spaces/{useFetchMySpaces.js → useFetchUserSpaces.js} +31 -8
  171. package/dist/cjs/hooks/spaces/useFetchUserSpaces.js.map +1 -0
  172. package/dist/cjs/hooks/spaces/useSpaceData.d.ts +3 -2
  173. package/dist/cjs/hooks/spaces/useSpaceData.js +9 -4
  174. package/dist/cjs/hooks/spaces/useSpaceData.js.map +1 -1
  175. package/dist/cjs/hooks/spaces/useUpdateSpace.d.ts +7 -2
  176. package/dist/cjs/hooks/spaces/useUpdateSpace.js +49 -4
  177. package/dist/cjs/hooks/spaces/useUpdateSpace.js.map +1 -1
  178. package/dist/cjs/hooks/storage/index.d.ts +1 -0
  179. package/dist/cjs/hooks/storage/index.js +3 -1
  180. package/dist/cjs/hooks/storage/index.js.map +1 -1
  181. package/dist/cjs/hooks/storage/useUploadFile.d.ts +12 -1
  182. package/dist/cjs/hooks/storage/useUploadFile.js +22 -8
  183. package/dist/cjs/hooks/storage/useUploadFile.js.map +1 -1
  184. package/dist/cjs/hooks/storage/useUploadImage.d.ts +14 -0
  185. package/dist/cjs/hooks/storage/useUploadImage.js +159 -0
  186. package/dist/cjs/hooks/storage/useUploadImage.js.map +1 -0
  187. package/dist/cjs/hooks/user/index.d.ts +1 -0
  188. package/dist/cjs/hooks/user/useUser.js +8 -8
  189. package/dist/cjs/hooks/user/useUser.js.map +1 -1
  190. package/dist/cjs/hooks/user/useUserActions.js +21 -4
  191. package/dist/cjs/hooks/user/useUserActions.js.map +1 -1
  192. package/dist/cjs/hooks/users/index.d.ts +1 -1
  193. package/dist/cjs/hooks/users/index.js +3 -3
  194. package/dist/cjs/hooks/users/index.js.map +1 -1
  195. package/dist/cjs/hooks/users/useFetchUser.d.ts +3 -2
  196. package/dist/cjs/hooks/users/useFetchUser.js +6 -2
  197. package/dist/cjs/hooks/users/useFetchUser.js.map +1 -1
  198. package/dist/cjs/hooks/users/useFetchUserByForeignId.d.ts +3 -2
  199. package/dist/cjs/hooks/users/useFetchUserByForeignId.js +5 -2
  200. package/dist/cjs/hooks/users/useFetchUserByForeignId.js.map +1 -1
  201. package/dist/cjs/hooks/users/useFetchUserByUsername.d.ts +6 -0
  202. package/dist/cjs/hooks/{comments/useRemoveCommentUpvote.js → users/useFetchUserByUsername.js} +17 -13
  203. package/dist/cjs/hooks/users/useFetchUserByUsername.js.map +1 -0
  204. package/dist/cjs/index.d.ts +21 -15
  205. package/dist/cjs/index.js +39 -18
  206. package/dist/cjs/index.js.map +1 -1
  207. package/dist/cjs/interfaces/models/{List.d.ts → Collection.d.ts} +2 -4
  208. package/dist/cjs/interfaces/models/Collection.js +3 -0
  209. package/dist/cjs/interfaces/models/Collection.js.map +1 -0
  210. package/dist/cjs/interfaces/models/Comment.d.ts +8 -1
  211. package/dist/cjs/interfaces/models/Entity.d.ts +8 -1
  212. package/dist/cjs/interfaces/models/File.d.ts +38 -0
  213. package/dist/cjs/interfaces/models/{List.js → File.js} +1 -1
  214. package/dist/cjs/interfaces/models/File.js.map +1 -0
  215. package/dist/cjs/interfaces/models/Image.d.ts +74 -0
  216. package/dist/cjs/interfaces/models/Image.js +3 -0
  217. package/dist/cjs/interfaces/models/Image.js.map +1 -0
  218. package/dist/cjs/interfaces/models/Reaction.d.ts +23 -0
  219. package/dist/cjs/interfaces/models/Reaction.js +3 -0
  220. package/dist/cjs/interfaces/models/Reaction.js.map +1 -0
  221. package/dist/cjs/interfaces/models/Rule.d.ts +22 -0
  222. package/dist/cjs/interfaces/models/Rule.js +3 -0
  223. package/dist/cjs/interfaces/models/Rule.js.map +1 -0
  224. package/dist/cjs/interfaces/models/Space.d.ts +25 -5
  225. package/dist/cjs/interfaces/models/SpaceMember.d.ts +3 -0
  226. package/dist/cjs/interfaces/models/User.d.ts +9 -1
  227. package/dist/cjs/store/api/appNotificationsApi.d.ts +181 -181
  228. package/dist/cjs/store/api/baseApi.d.ts +3 -1
  229. package/dist/cjs/store/api/baseApi.js +10 -5
  230. package/dist/cjs/store/api/baseApi.js.map +1 -1
  231. package/dist/cjs/store/api/collectionsApi.d.ts +4541 -0
  232. package/dist/cjs/store/api/collectionsApi.js +244 -0
  233. package/dist/cjs/store/api/collectionsApi.js.map +1 -0
  234. package/dist/cjs/store/api/entityListsApi.d.ts +107 -107
  235. package/dist/cjs/store/api/index.d.ts +1 -1
  236. package/dist/cjs/store/api/index.js +2 -2
  237. package/dist/cjs/store/api/index.js.map +1 -1
  238. package/dist/cjs/store/api/spacesApi.d.ts +964 -959
  239. package/dist/cjs/store/api/spacesApi.js +22 -10
  240. package/dist/cjs/store/api/spacesApi.js.map +1 -1
  241. package/dist/cjs/store/api/userApi.d.ts +12 -4
  242. package/dist/cjs/store/api/userApi.js +62 -11
  243. package/dist/cjs/store/api/userApi.js.map +1 -1
  244. package/dist/cjs/store/hooks.d.ts +26 -0
  245. package/dist/cjs/store/hooks.js +18 -0
  246. package/dist/cjs/store/hooks.js.map +1 -0
  247. package/dist/cjs/store/index.d.ts +17 -11
  248. package/dist/cjs/store/index.js +4 -1
  249. package/dist/cjs/store/index.js.map +1 -1
  250. package/dist/cjs/store/integration.d.ts +35 -0
  251. package/dist/cjs/store/integration.js +61 -0
  252. package/dist/cjs/store/integration.js.map +1 -0
  253. package/dist/cjs/store/replykeReducers.d.ts +36 -0
  254. package/dist/cjs/store/replykeReducers.js +42 -0
  255. package/dist/cjs/store/replykeReducers.js.map +1 -0
  256. package/dist/cjs/store/rootReducer.d.ts +27 -14
  257. package/dist/cjs/store/rootReducer.js +6 -19
  258. package/dist/cjs/store/rootReducer.js.map +1 -1
  259. package/dist/cjs/store/slices/appNotificationsSlice.d.ts +9 -8
  260. package/dist/cjs/store/slices/appNotificationsSlice.js +9 -9
  261. package/dist/cjs/store/slices/appNotificationsSlice.js.map +1 -1
  262. package/dist/cjs/store/slices/authSlice.d.ts +20 -10
  263. package/dist/cjs/store/slices/authSlice.js +22 -16
  264. package/dist/cjs/store/slices/authSlice.js.map +1 -1
  265. package/dist/cjs/store/slices/authThunks.d.ts +4 -0
  266. package/dist/cjs/store/slices/authThunks.js +54 -16
  267. package/dist/cjs/store/slices/authThunks.js.map +1 -1
  268. package/dist/cjs/store/slices/collectionsSlice.d.ts +428 -0
  269. package/dist/cjs/store/slices/collectionsSlice.js +211 -0
  270. package/dist/cjs/store/slices/collectionsSlice.js.map +1 -0
  271. package/dist/cjs/store/slices/entityListsSlice.d.ts +3766 -147
  272. package/dist/cjs/store/slices/entityListsSlice.js +2 -2
  273. package/dist/cjs/store/slices/entityListsSlice.js.map +1 -1
  274. package/dist/cjs/store/slices/spaceListsSlice.d.ts +1064 -47
  275. package/dist/cjs/store/slices/spaceListsSlice.js +2 -2
  276. package/dist/cjs/store/slices/spaceListsSlice.js.map +1 -1
  277. package/dist/cjs/store/slices/userSlice.d.ts +715 -7
  278. package/dist/cjs/store/slices/userSlice.js +22 -10
  279. package/dist/cjs/store/slices/userSlice.js.map +1 -1
  280. package/dist/cjs/store/types/index.d.ts +5 -1
  281. package/dist/cjs/utils/env.js +3 -3
  282. package/dist/cjs/utils/env.js.map +1 -1
  283. package/dist/esm/config/axios.js +1 -1
  284. package/dist/esm/config/axios.js.map +1 -1
  285. package/dist/esm/context/entity-context.d.ts +2 -2
  286. package/dist/esm/context/entity-context.js +4 -4
  287. package/dist/esm/context/entity-context.js.map +1 -1
  288. package/dist/esm/context/index.d.ts +1 -0
  289. package/dist/esm/context/index.js +1 -0
  290. package/dist/esm/context/index.js.map +1 -1
  291. package/dist/esm/context/replyke-integration-context.d.ts +52 -0
  292. package/dist/esm/context/replyke-integration-context.js +70 -0
  293. package/dist/esm/context/replyke-integration-context.js.map +1 -0
  294. package/dist/esm/context/replyke-store-context.js +3 -2
  295. package/dist/esm/context/replyke-store-context.js.map +1 -1
  296. package/dist/esm/hooks/app-notifications/useAppNotifications.js +9 -23
  297. package/dist/esm/hooks/app-notifications/useAppNotifications.js.map +1 -1
  298. package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js +6 -14
  299. package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
  300. package/dist/esm/hooks/auth/useAuth.d.ts +5 -1
  301. package/dist/esm/hooks/auth/useAuth.js +7 -7
  302. package/dist/esm/hooks/auth/useAuth.js.map +1 -1
  303. package/dist/esm/hooks/collections/index.d.ts +4 -0
  304. package/dist/esm/hooks/collections/index.js +6 -0
  305. package/dist/esm/hooks/collections/index.js.map +1 -0
  306. package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.d.ts +21 -0
  307. package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.js +206 -0
  308. package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.js.map +1 -0
  309. package/dist/esm/hooks/collections/useCollections.d.ts +43 -0
  310. package/dist/esm/hooks/collections/useCollections.js +260 -0
  311. package/dist/esm/hooks/collections/useCollections.js.map +1 -0
  312. package/dist/esm/hooks/collections/useCollectionsActions.d.ts +21 -0
  313. package/dist/esm/hooks/{lists/useListsActions.js → collections/useCollectionsActions.js} +105 -111
  314. package/dist/esm/hooks/collections/useCollectionsActions.js.map +1 -0
  315. package/dist/esm/hooks/{lists → collections}/useIsEntitySaved.d.ts +2 -2
  316. package/dist/esm/hooks/{lists → collections}/useIsEntitySaved.js +3 -3
  317. package/dist/esm/hooks/collections/useIsEntitySaved.js.map +1 -0
  318. package/dist/esm/hooks/comments/index.d.ts +2 -2
  319. package/dist/esm/hooks/comments/index.js +1 -2
  320. package/dist/esm/hooks/comments/index.js.map +1 -1
  321. package/dist/esm/hooks/comments/useCommentSectionData.js +35 -12
  322. package/dist/esm/hooks/comments/useCommentSectionData.js.map +1 -1
  323. package/dist/esm/hooks/comments/useEntityComments.d.ts +2 -1
  324. package/dist/esm/hooks/comments/useEntityComments.js +2 -1
  325. package/dist/esm/hooks/comments/useEntityComments.js.map +1 -1
  326. package/dist/esm/hooks/comments/useFetchComment.d.ts +3 -4
  327. package/dist/esm/hooks/comments/useFetchComment.js +7 -5
  328. package/dist/esm/hooks/comments/useFetchComment.js.map +1 -1
  329. package/dist/esm/hooks/comments/useFetchCommentByForeignId.d.ts +3 -4
  330. package/dist/esm/hooks/comments/useFetchCommentByForeignId.js +9 -6
  331. package/dist/esm/hooks/comments/useFetchCommentByForeignId.js.map +1 -1
  332. package/dist/esm/hooks/comments/useFetchManyComments.d.ts +2 -2
  333. package/dist/esm/hooks/comments/useFetchManyComments.js +8 -9
  334. package/dist/esm/hooks/comments/useFetchManyComments.js.map +1 -1
  335. package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.d.ts +21 -0
  336. package/dist/esm/hooks/comments/{useProfileComments.js → useFetchManyCommentsWrapper.js} +40 -18
  337. package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.js.map +1 -0
  338. package/dist/esm/hooks/comments/useReplies.js +1 -0
  339. package/dist/esm/hooks/comments/useReplies.js.map +1 -1
  340. package/dist/esm/hooks/crypto/useSignTestingJwt.d.ts +5 -2
  341. package/dist/esm/hooks/crypto/useSignTestingJwt.js +11 -14
  342. package/dist/esm/hooks/crypto/useSignTestingJwt.js.map +1 -1
  343. package/dist/esm/hooks/entities/index.d.ts +2 -5
  344. package/dist/esm/hooks/entities/index.js +1 -5
  345. package/dist/esm/hooks/entities/index.js.map +1 -1
  346. package/dist/esm/hooks/entities/useCreateEntity.d.ts +21 -0
  347. package/dist/esm/hooks/entities/useCreateEntity.js +91 -15
  348. package/dist/esm/hooks/entities/useCreateEntity.js.map +1 -1
  349. package/dist/esm/hooks/entities/useEntityData.d.ts +24 -12
  350. package/dist/esm/hooks/entities/useEntityData.js +0 -19
  351. package/dist/esm/hooks/entities/useEntityData.js.map +1 -1
  352. package/dist/esm/hooks/entities/useFetchEntity.js +4 -5
  353. package/dist/esm/hooks/entities/useFetchEntity.js.map +1 -1
  354. package/dist/esm/hooks/entities/useFetchEntityByForeignId.js +6 -16
  355. package/dist/esm/hooks/entities/useFetchEntityByForeignId.js.map +1 -1
  356. package/dist/esm/hooks/entities/useFetchEntityByShortId.js +5 -16
  357. package/dist/esm/hooks/entities/useFetchEntityByShortId.js.map +1 -1
  358. package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.d.ts +41 -0
  359. package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.js +236 -0
  360. package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.js.map +1 -0
  361. package/dist/esm/hooks/entities/useUpdateEntity.js +6 -2
  362. package/dist/esm/hooks/entities/useUpdateEntity.js.map +1 -1
  363. package/dist/esm/hooks/entity-lists/useEntityList.js +10 -10
  364. package/dist/esm/hooks/entity-lists/useEntityList.js.map +1 -1
  365. package/dist/esm/hooks/entity-lists/useEntityListActions.js +2 -2
  366. package/dist/esm/hooks/entity-lists/useEntityListActions.js.map +1 -1
  367. package/dist/esm/hooks/reactions/index.d.ts +10 -0
  368. package/dist/esm/hooks/reactions/index.js +8 -0
  369. package/dist/esm/hooks/reactions/index.js.map +1 -0
  370. package/dist/esm/hooks/reactions/useAddReaction.d.ts +9 -0
  371. package/dist/esm/hooks/reactions/useAddReaction.js +72 -0
  372. package/dist/esm/hooks/reactions/useAddReaction.js.map +1 -0
  373. package/dist/esm/hooks/reactions/useFetchCommentReactions.d.ts +10 -0
  374. package/dist/esm/hooks/reactions/useFetchCommentReactions.js +79 -0
  375. package/dist/esm/hooks/reactions/useFetchCommentReactions.js.map +1 -0
  376. package/dist/esm/hooks/reactions/useFetchCommentReactionsWrapper.d.ts +17 -0
  377. package/dist/esm/hooks/reactions/useFetchCommentReactionsWrapper.js +165 -0
  378. package/dist/esm/hooks/reactions/useFetchCommentReactionsWrapper.js.map +1 -0
  379. package/dist/esm/hooks/reactions/useFetchEntityReactions.d.ts +10 -0
  380. package/dist/esm/hooks/reactions/useFetchEntityReactions.js +79 -0
  381. package/dist/esm/hooks/reactions/useFetchEntityReactions.js.map +1 -0
  382. package/dist/esm/hooks/reactions/useFetchEntityReactionsWrapper.d.ts +17 -0
  383. package/dist/esm/hooks/reactions/useFetchEntityReactionsWrapper.js +165 -0
  384. package/dist/esm/hooks/reactions/useFetchEntityReactionsWrapper.js.map +1 -0
  385. package/dist/esm/hooks/reactions/useReactionToggle.d.ts +19 -0
  386. package/dist/esm/hooks/reactions/useReactionToggle.js +141 -0
  387. package/dist/esm/hooks/reactions/useReactionToggle.js.map +1 -0
  388. package/dist/esm/hooks/reactions/useRemoveReaction.d.ts +7 -0
  389. package/dist/esm/hooks/reactions/useRemoveReaction.js +69 -0
  390. package/dist/esm/hooks/reactions/useRemoveReaction.js.map +1 -0
  391. package/dist/esm/hooks/reports/index.d.ts +1 -1
  392. package/dist/esm/hooks/reports/index.js +1 -1
  393. package/dist/esm/hooks/reports/index.js.map +1 -1
  394. package/dist/esm/hooks/reports/useFetchModeratedReports.d.ts +54 -0
  395. package/dist/esm/hooks/reports/useFetchModeratedReports.js +86 -0
  396. package/dist/esm/hooks/reports/useFetchModeratedReports.js.map +1 -0
  397. package/dist/esm/hooks/space-lists/useSpaceList.js +9 -9
  398. package/dist/esm/hooks/space-lists/useSpaceList.js.map +1 -1
  399. package/dist/esm/hooks/space-lists/useSpaceListActions.js +2 -2
  400. package/dist/esm/hooks/space-lists/useSpaceListActions.js.map +1 -1
  401. package/dist/esm/hooks/spaces/index.d.ts +5 -1
  402. package/dist/esm/hooks/spaces/index.js +5 -1
  403. package/dist/esm/hooks/spaces/index.js.map +1 -1
  404. package/dist/esm/hooks/spaces/rules/index.d.ts +12 -0
  405. package/dist/esm/hooks/spaces/rules/index.js +7 -0
  406. package/dist/esm/hooks/spaces/rules/index.js.map +1 -0
  407. package/dist/esm/hooks/spaces/rules/useCreateRule.d.ts +8 -0
  408. package/dist/esm/hooks/{entities/useRemoveEntityUpvote.js → spaces/rules/useCreateRule.js} +21 -15
  409. package/dist/esm/hooks/spaces/rules/useCreateRule.js.map +1 -0
  410. package/dist/esm/hooks/spaces/rules/useDeleteRule.d.ts +7 -0
  411. package/dist/esm/hooks/{entities/useRemoveEntityDownvote.js → spaces/rules/useDeleteRule.js} +18 -15
  412. package/dist/esm/hooks/spaces/rules/useDeleteRule.js.map +1 -0
  413. package/dist/esm/hooks/spaces/rules/useFetchManyRules.d.ts +6 -0
  414. package/dist/esm/hooks/{comments/useUpvoteComment.js → spaces/rules/useFetchManyRules.js} +15 -15
  415. package/dist/esm/hooks/spaces/rules/useFetchManyRules.js.map +1 -0
  416. package/dist/esm/hooks/spaces/rules/useFetchRule.d.ts +7 -0
  417. package/dist/esm/hooks/{comments/useRemoveCommentDownvote.js → spaces/rules/useFetchRule.js} +18 -15
  418. package/dist/esm/hooks/spaces/rules/useFetchRule.js.map +1 -0
  419. package/dist/esm/hooks/spaces/rules/useReorderRules.d.ts +7 -0
  420. package/dist/esm/hooks/{entities/useUpvoteEntity.js → spaces/rules/useReorderRules.js} +18 -15
  421. package/dist/esm/hooks/spaces/rules/useReorderRules.js.map +1 -0
  422. package/dist/esm/hooks/spaces/rules/useUpdateRule.d.ts +11 -0
  423. package/dist/esm/hooks/{users/useUpdateUser.js → spaces/rules/useUpdateRule.js} +15 -19
  424. package/dist/esm/hooks/spaces/rules/useUpdateRule.js.map +1 -0
  425. package/dist/esm/hooks/spaces/useCheckMyMembership.d.ts +5 -0
  426. package/dist/esm/hooks/{comments/useDownvoteComment.js → spaces/useCheckMyMembership.js} +14 -14
  427. package/dist/esm/hooks/spaces/useCheckMyMembership.js.map +1 -0
  428. package/dist/esm/hooks/spaces/useCreateSpace.d.ts +7 -2
  429. package/dist/esm/hooks/spaces/useCreateSpace.js +54 -3
  430. package/dist/esm/hooks/spaces/useCreateSpace.js.map +1 -1
  431. package/dist/esm/hooks/spaces/useFetchManySpaces.d.ts +2 -1
  432. package/dist/esm/hooks/spaces/useFetchManySpaces.js +5 -0
  433. package/dist/esm/hooks/spaces/useFetchManySpaces.js.map +1 -1
  434. package/dist/esm/hooks/spaces/useFetchSpace.d.ts +3 -2
  435. package/dist/esm/hooks/spaces/useFetchSpace.js +6 -2
  436. package/dist/esm/hooks/spaces/useFetchSpace.js.map +1 -1
  437. package/dist/esm/hooks/spaces/useFetchSpaceByShortId.d.ts +3 -2
  438. package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js +7 -2
  439. package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js.map +1 -1
  440. package/dist/esm/hooks/spaces/useFetchSpaceBySlug.d.ts +3 -2
  441. package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js +7 -2
  442. package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js.map +1 -1
  443. package/dist/esm/hooks/spaces/useFetchSpaceChildren.d.ts +3 -2
  444. package/dist/esm/hooks/spaces/useFetchSpaceChildren.js +8 -2
  445. package/dist/esm/hooks/spaces/useFetchSpaceChildren.js.map +1 -1
  446. package/dist/esm/hooks/spaces/useFetchSpaceMembers.js +2 -13
  447. package/dist/esm/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
  448. package/dist/esm/hooks/spaces/useFetchSpaceTeam.d.ts +6 -0
  449. package/dist/esm/hooks/{entities/useDownvoteEntity.js → spaces/useFetchSpaceTeam.js} +17 -15
  450. package/dist/esm/hooks/spaces/useFetchSpaceTeam.js.map +1 -0
  451. package/dist/esm/hooks/spaces/useFetchUserSpaces.d.ts +12 -0
  452. package/dist/esm/hooks/spaces/{useFetchMySpaces.js → useFetchUserSpaces.js} +31 -8
  453. package/dist/esm/hooks/spaces/useFetchUserSpaces.js.map +1 -0
  454. package/dist/esm/hooks/spaces/useSpaceData.d.ts +3 -2
  455. package/dist/esm/hooks/spaces/useSpaceData.js +10 -5
  456. package/dist/esm/hooks/spaces/useSpaceData.js.map +1 -1
  457. package/dist/esm/hooks/spaces/useUpdateSpace.d.ts +7 -2
  458. package/dist/esm/hooks/spaces/useUpdateSpace.js +49 -4
  459. package/dist/esm/hooks/spaces/useUpdateSpace.js.map +1 -1
  460. package/dist/esm/hooks/storage/index.d.ts +1 -0
  461. package/dist/esm/hooks/storage/index.js +1 -0
  462. package/dist/esm/hooks/storage/index.js.map +1 -1
  463. package/dist/esm/hooks/storage/useUploadFile.d.ts +12 -1
  464. package/dist/esm/hooks/storage/useUploadFile.js +22 -8
  465. package/dist/esm/hooks/storage/useUploadFile.js.map +1 -1
  466. package/dist/esm/hooks/storage/useUploadImage.d.ts +14 -0
  467. package/dist/esm/hooks/storage/useUploadImage.js +154 -0
  468. package/dist/esm/hooks/storage/useUploadImage.js.map +1 -0
  469. package/dist/esm/hooks/user/index.d.ts +1 -0
  470. package/dist/esm/hooks/user/useUser.js +8 -8
  471. package/dist/esm/hooks/user/useUser.js.map +1 -1
  472. package/dist/esm/hooks/user/useUserActions.js +21 -4
  473. package/dist/esm/hooks/user/useUserActions.js.map +1 -1
  474. package/dist/esm/hooks/users/index.d.ts +1 -1
  475. package/dist/esm/hooks/users/index.js +1 -1
  476. package/dist/esm/hooks/users/index.js.map +1 -1
  477. package/dist/esm/hooks/users/useFetchUser.d.ts +3 -2
  478. package/dist/esm/hooks/users/useFetchUser.js +6 -2
  479. package/dist/esm/hooks/users/useFetchUser.js.map +1 -1
  480. package/dist/esm/hooks/users/useFetchUserByForeignId.d.ts +3 -2
  481. package/dist/esm/hooks/users/useFetchUserByForeignId.js +5 -2
  482. package/dist/esm/hooks/users/useFetchUserByForeignId.js.map +1 -1
  483. package/dist/esm/hooks/users/useFetchUserByUsername.d.ts +6 -0
  484. package/dist/esm/hooks/{comments/useRemoveCommentUpvote.js → users/useFetchUserByUsername.js} +17 -13
  485. package/dist/esm/hooks/users/useFetchUserByUsername.js.map +1 -0
  486. package/dist/esm/index.d.ts +21 -15
  487. package/dist/esm/index.js +15 -9
  488. package/dist/esm/index.js.map +1 -1
  489. package/dist/esm/interfaces/models/{List.d.ts → Collection.d.ts} +2 -4
  490. package/dist/esm/interfaces/models/Collection.js +2 -0
  491. package/dist/esm/interfaces/models/Collection.js.map +1 -0
  492. package/dist/esm/interfaces/models/Comment.d.ts +8 -1
  493. package/dist/esm/interfaces/models/Entity.d.ts +8 -1
  494. package/dist/esm/interfaces/models/File.d.ts +38 -0
  495. package/dist/esm/interfaces/models/File.js +2 -0
  496. package/dist/esm/interfaces/models/File.js.map +1 -0
  497. package/dist/esm/interfaces/models/Image.d.ts +74 -0
  498. package/dist/esm/interfaces/models/Image.js +2 -0
  499. package/dist/esm/interfaces/models/Image.js.map +1 -0
  500. package/dist/esm/interfaces/models/Reaction.d.ts +23 -0
  501. package/dist/esm/interfaces/models/Reaction.js +2 -0
  502. package/dist/esm/interfaces/models/Reaction.js.map +1 -0
  503. package/dist/esm/interfaces/models/Rule.d.ts +22 -0
  504. package/dist/esm/interfaces/models/Rule.js +2 -0
  505. package/dist/esm/interfaces/models/Rule.js.map +1 -0
  506. package/dist/esm/interfaces/models/Space.d.ts +25 -5
  507. package/dist/esm/interfaces/models/SpaceMember.d.ts +3 -0
  508. package/dist/esm/interfaces/models/User.d.ts +9 -1
  509. package/dist/esm/store/api/appNotificationsApi.d.ts +181 -181
  510. package/dist/esm/store/api/baseApi.d.ts +3 -1
  511. package/dist/esm/store/api/baseApi.js +9 -4
  512. package/dist/esm/store/api/baseApi.js.map +1 -1
  513. package/dist/esm/store/api/collectionsApi.d.ts +4541 -0
  514. package/dist/esm/store/api/collectionsApi.js +241 -0
  515. package/dist/esm/store/api/collectionsApi.js.map +1 -0
  516. package/dist/esm/store/api/entityListsApi.d.ts +107 -107
  517. package/dist/esm/store/api/index.d.ts +1 -1
  518. package/dist/esm/store/api/index.js +2 -2
  519. package/dist/esm/store/api/index.js.map +1 -1
  520. package/dist/esm/store/api/spacesApi.d.ts +964 -959
  521. package/dist/esm/store/api/spacesApi.js +21 -9
  522. package/dist/esm/store/api/spacesApi.js.map +1 -1
  523. package/dist/esm/store/api/userApi.d.ts +12 -4
  524. package/dist/esm/store/api/userApi.js +62 -11
  525. package/dist/esm/store/api/userApi.js.map +1 -1
  526. package/dist/esm/store/hooks.d.ts +26 -0
  527. package/dist/esm/store/hooks.js +14 -0
  528. package/dist/esm/store/hooks.js.map +1 -0
  529. package/dist/esm/store/index.d.ts +17 -11
  530. package/dist/esm/store/index.js +4 -1
  531. package/dist/esm/store/index.js.map +1 -1
  532. package/dist/esm/store/integration.d.ts +35 -0
  533. package/dist/esm/store/integration.js +53 -0
  534. package/dist/esm/store/integration.js.map +1 -0
  535. package/dist/esm/store/replykeReducers.d.ts +36 -0
  536. package/dist/esm/store/replykeReducers.js +36 -0
  537. package/dist/esm/store/replykeReducers.js.map +1 -0
  538. package/dist/esm/store/rootReducer.d.ts +27 -14
  539. package/dist/esm/store/rootReducer.js +6 -16
  540. package/dist/esm/store/rootReducer.js.map +1 -1
  541. package/dist/esm/store/slices/appNotificationsSlice.d.ts +9 -8
  542. package/dist/esm/store/slices/appNotificationsSlice.js +9 -9
  543. package/dist/esm/store/slices/appNotificationsSlice.js.map +1 -1
  544. package/dist/esm/store/slices/authSlice.d.ts +20 -10
  545. package/dist/esm/store/slices/authSlice.js +21 -14
  546. package/dist/esm/store/slices/authSlice.js.map +1 -1
  547. package/dist/esm/store/slices/authThunks.d.ts +4 -0
  548. package/dist/esm/store/slices/authThunks.js +55 -17
  549. package/dist/esm/store/slices/authThunks.js.map +1 -1
  550. package/dist/esm/store/slices/collectionsSlice.d.ts +428 -0
  551. package/dist/esm/store/slices/collectionsSlice.js +202 -0
  552. package/dist/esm/store/slices/collectionsSlice.js.map +1 -0
  553. package/dist/esm/store/slices/entityListsSlice.d.ts +3766 -147
  554. package/dist/esm/store/slices/entityListsSlice.js +2 -2
  555. package/dist/esm/store/slices/entityListsSlice.js.map +1 -1
  556. package/dist/esm/store/slices/spaceListsSlice.d.ts +1064 -47
  557. package/dist/esm/store/slices/spaceListsSlice.js +2 -2
  558. package/dist/esm/store/slices/spaceListsSlice.js.map +1 -1
  559. package/dist/esm/store/slices/userSlice.d.ts +715 -7
  560. package/dist/esm/store/slices/userSlice.js +22 -10
  561. package/dist/esm/store/slices/userSlice.js.map +1 -1
  562. package/dist/esm/store/types/index.d.ts +5 -1
  563. package/dist/esm/utils/env.js +3 -3
  564. package/dist/esm/utils/env.js.map +1 -1
  565. package/package.json +7 -5
  566. package/dist/cjs/hooks/comments/useCommentVotes.d.ts +0 -11
  567. package/dist/cjs/hooks/comments/useCommentVotes.js +0 -234
  568. package/dist/cjs/hooks/comments/useCommentVotes.js.map +0 -1
  569. package/dist/cjs/hooks/comments/useDownvoteComment.d.ts +0 -5
  570. package/dist/cjs/hooks/comments/useDownvoteComment.js.map +0 -1
  571. package/dist/cjs/hooks/comments/useProfileComments.d.ts +0 -18
  572. package/dist/cjs/hooks/comments/useProfileComments.js.map +0 -1
  573. package/dist/cjs/hooks/comments/useRemoveCommentDownvote.d.ts +0 -5
  574. package/dist/cjs/hooks/comments/useRemoveCommentDownvote.js.map +0 -1
  575. package/dist/cjs/hooks/comments/useRemoveCommentUpvote.d.ts +0 -5
  576. package/dist/cjs/hooks/comments/useRemoveCommentUpvote.js.map +0 -1
  577. package/dist/cjs/hooks/comments/useUpvoteComment.d.ts +0 -5
  578. package/dist/cjs/hooks/comments/useUpvoteComment.js.map +0 -1
  579. package/dist/cjs/hooks/entities/useDownvoteEntity.d.ts +0 -5
  580. package/dist/cjs/hooks/entities/useDownvoteEntity.js.map +0 -1
  581. package/dist/cjs/hooks/entities/useEntityVotes.d.ts +0 -11
  582. package/dist/cjs/hooks/entities/useEntityVotes.js +0 -241
  583. package/dist/cjs/hooks/entities/useEntityVotes.js.map +0 -1
  584. package/dist/cjs/hooks/entities/useRemoveEntityDownvote.d.ts +0 -5
  585. package/dist/cjs/hooks/entities/useRemoveEntityDownvote.js.map +0 -1
  586. package/dist/cjs/hooks/entities/useRemoveEntityUpvote.d.ts +0 -5
  587. package/dist/cjs/hooks/entities/useRemoveEntityUpvote.js.map +0 -1
  588. package/dist/cjs/hooks/entities/useUpvoteEntity.d.ts +0 -5
  589. package/dist/cjs/hooks/entities/useUpvoteEntity.js.map +0 -1
  590. package/dist/cjs/hooks/lists/index.d.ts +0 -3
  591. package/dist/cjs/hooks/lists/index.js +0 -14
  592. package/dist/cjs/hooks/lists/index.js.map +0 -1
  593. package/dist/cjs/hooks/lists/useIsEntitySaved.js.map +0 -1
  594. package/dist/cjs/hooks/lists/useLists.d.ts +0 -36
  595. package/dist/cjs/hooks/lists/useLists.js +0 -239
  596. package/dist/cjs/hooks/lists/useLists.js.map +0 -1
  597. package/dist/cjs/hooks/lists/useListsActions.d.ts +0 -21
  598. package/dist/cjs/hooks/lists/useListsActions.js.map +0 -1
  599. package/dist/cjs/hooks/reports/useFetchSpaceReports.d.ts +0 -39
  600. package/dist/cjs/hooks/reports/useFetchSpaceReports.js +0 -96
  601. package/dist/cjs/hooks/reports/useFetchSpaceReports.js.map +0 -1
  602. package/dist/cjs/hooks/spaces/useFetchMySpaces.d.ts +0 -8
  603. package/dist/cjs/hooks/spaces/useFetchMySpaces.js.map +0 -1
  604. package/dist/cjs/hooks/users/useUpdateUser.d.ts +0 -18
  605. package/dist/cjs/hooks/users/useUpdateUser.js.map +0 -1
  606. package/dist/cjs/interfaces/models/List.js.map +0 -1
  607. package/dist/cjs/store/api/listsApi.d.ts +0 -3564
  608. package/dist/cjs/store/api/listsApi.js +0 -288
  609. package/dist/cjs/store/api/listsApi.js.map +0 -1
  610. package/dist/cjs/store/slices/listsSlice.d.ts +0 -1911
  611. package/dist/cjs/store/slices/listsSlice.js +0 -211
  612. package/dist/cjs/store/slices/listsSlice.js.map +0 -1
  613. package/dist/esm/hooks/comments/useCommentVotes.d.ts +0 -11
  614. package/dist/esm/hooks/comments/useCommentVotes.js +0 -229
  615. package/dist/esm/hooks/comments/useCommentVotes.js.map +0 -1
  616. package/dist/esm/hooks/comments/useDownvoteComment.d.ts +0 -5
  617. package/dist/esm/hooks/comments/useDownvoteComment.js.map +0 -1
  618. package/dist/esm/hooks/comments/useProfileComments.d.ts +0 -18
  619. package/dist/esm/hooks/comments/useProfileComments.js.map +0 -1
  620. package/dist/esm/hooks/comments/useRemoveCommentDownvote.d.ts +0 -5
  621. package/dist/esm/hooks/comments/useRemoveCommentDownvote.js.map +0 -1
  622. package/dist/esm/hooks/comments/useRemoveCommentUpvote.d.ts +0 -5
  623. package/dist/esm/hooks/comments/useRemoveCommentUpvote.js.map +0 -1
  624. package/dist/esm/hooks/comments/useUpvoteComment.d.ts +0 -5
  625. package/dist/esm/hooks/comments/useUpvoteComment.js.map +0 -1
  626. package/dist/esm/hooks/entities/useDownvoteEntity.d.ts +0 -5
  627. package/dist/esm/hooks/entities/useDownvoteEntity.js.map +0 -1
  628. package/dist/esm/hooks/entities/useEntityVotes.d.ts +0 -11
  629. package/dist/esm/hooks/entities/useEntityVotes.js +0 -236
  630. package/dist/esm/hooks/entities/useEntityVotes.js.map +0 -1
  631. package/dist/esm/hooks/entities/useRemoveEntityDownvote.d.ts +0 -5
  632. package/dist/esm/hooks/entities/useRemoveEntityDownvote.js.map +0 -1
  633. package/dist/esm/hooks/entities/useRemoveEntityUpvote.d.ts +0 -5
  634. package/dist/esm/hooks/entities/useRemoveEntityUpvote.js.map +0 -1
  635. package/dist/esm/hooks/entities/useUpvoteEntity.d.ts +0 -5
  636. package/dist/esm/hooks/entities/useUpvoteEntity.js.map +0 -1
  637. package/dist/esm/hooks/lists/index.d.ts +0 -3
  638. package/dist/esm/hooks/lists/index.js +0 -5
  639. package/dist/esm/hooks/lists/index.js.map +0 -1
  640. package/dist/esm/hooks/lists/useIsEntitySaved.js.map +0 -1
  641. package/dist/esm/hooks/lists/useLists.d.ts +0 -36
  642. package/dist/esm/hooks/lists/useLists.js +0 -234
  643. package/dist/esm/hooks/lists/useLists.js.map +0 -1
  644. package/dist/esm/hooks/lists/useListsActions.d.ts +0 -21
  645. package/dist/esm/hooks/lists/useListsActions.js.map +0 -1
  646. package/dist/esm/hooks/reports/useFetchSpaceReports.d.ts +0 -39
  647. package/dist/esm/hooks/reports/useFetchSpaceReports.js +0 -91
  648. package/dist/esm/hooks/reports/useFetchSpaceReports.js.map +0 -1
  649. package/dist/esm/hooks/spaces/useFetchMySpaces.d.ts +0 -8
  650. package/dist/esm/hooks/spaces/useFetchMySpaces.js.map +0 -1
  651. package/dist/esm/hooks/users/useUpdateUser.d.ts +0 -18
  652. package/dist/esm/hooks/users/useUpdateUser.js.map +0 -1
  653. package/dist/esm/interfaces/models/List.js +0 -2
  654. package/dist/esm/interfaces/models/List.js.map +0 -1
  655. package/dist/esm/store/api/listsApi.d.ts +0 -3564
  656. package/dist/esm/store/api/listsApi.js +0 -285
  657. package/dist/esm/store/api/listsApi.js.map +0 -1
  658. package/dist/esm/store/slices/listsSlice.d.ts +0 -1911
  659. package/dist/esm/store/slices/listsSlice.js +0 -202
  660. 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,22 +399,105 @@ 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;
@@ -275,8 +572,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
275
572
  slug: string | null;
276
573
  name: string;
277
574
  description: string | null;
278
- avatar: string | null;
279
- banner: string | null;
575
+ avatarFileId: string | null;
576
+ bannerFileId: string | null;
280
577
  userId: string;
281
578
  readingPermission: import("../..").ReadingPermission;
282
579
  postingPermission: import("../..").PostingPermission;
@@ -292,6 +589,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
292
589
  membersCount: number;
293
590
  childSpacesCount: number;
294
591
  isMember?: boolean | undefined;
592
+ avatarFile?: {
593
+ id: string;
594
+ projectId: string;
595
+ userId: string | null;
596
+ entityId: string | null;
597
+ commentId: string | null;
598
+ spaceId: string | null;
599
+ type: "image" | "video" | "document" | "other";
600
+ originalPath: string;
601
+ originalSize: number;
602
+ originalMimeType: string;
603
+ position: number;
604
+ metadata: {
605
+ [x: string]: any;
606
+ };
607
+ image?: {
608
+ fileId: string;
609
+ originalWidth: number;
610
+ originalHeight: number;
611
+ variants: {
612
+ [x: string]: {
613
+ path: string;
614
+ publicPath: string;
615
+ width: number;
616
+ height: number;
617
+ size: number;
618
+ format: string;
619
+ };
620
+ };
621
+ processingStatus: "completed" | "failed";
622
+ processingError: string | null;
623
+ format: string;
624
+ quality: number;
625
+ exifStripped: boolean;
626
+ createdAt: Date;
627
+ updatedAt: Date;
628
+ } | undefined;
629
+ createdAt: Date;
630
+ updatedAt: Date;
631
+ } | undefined;
632
+ bannerFile?: {
633
+ id: string;
634
+ projectId: string;
635
+ userId: string | null;
636
+ entityId: string | null;
637
+ commentId: string | null;
638
+ spaceId: string | null;
639
+ type: "image" | "video" | "document" | "other";
640
+ originalPath: string;
641
+ originalSize: number;
642
+ originalMimeType: string;
643
+ position: number;
644
+ metadata: {
645
+ [x: string]: any;
646
+ };
647
+ image?: {
648
+ fileId: string;
649
+ originalWidth: number;
650
+ originalHeight: number;
651
+ variants: {
652
+ [x: string]: {
653
+ path: string;
654
+ publicPath: string;
655
+ width: number;
656
+ height: number;
657
+ size: number;
658
+ format: string;
659
+ };
660
+ };
661
+ processingStatus: "completed" | "failed";
662
+ processingError: string | null;
663
+ format: string;
664
+ quality: number;
665
+ exifStripped: boolean;
666
+ createdAt: Date;
667
+ updatedAt: Date;
668
+ } | undefined;
669
+ createdAt: Date;
670
+ updatedAt: Date;
671
+ } | undefined;
295
672
  } | null | undefined;
296
673
  user?: {
297
674
  id: string;
@@ -301,17 +678,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
301
678
  name: string | null;
302
679
  username: string | null;
303
680
  avatar: string | null;
681
+ avatarFileId: string | null;
682
+ bannerFileId: string | null;
683
+ avatarFile?: {
684
+ id: string;
685
+ projectId: string;
686
+ userId: string | null;
687
+ entityId: string | null;
688
+ commentId: string | null;
689
+ spaceId: string | null;
690
+ type: "image" | "video" | "document" | "other";
691
+ originalPath: string;
692
+ originalSize: number;
693
+ originalMimeType: string;
694
+ position: number;
695
+ metadata: {
696
+ [x: string]: any;
697
+ };
698
+ image?: {
699
+ fileId: string;
700
+ originalWidth: number;
701
+ originalHeight: number;
702
+ variants: {
703
+ [x: string]: {
704
+ path: string;
705
+ publicPath: string;
706
+ width: number;
707
+ height: number;
708
+ size: number;
709
+ format: string;
710
+ };
711
+ };
712
+ processingStatus: "completed" | "failed";
713
+ processingError: string | null;
714
+ format: string;
715
+ quality: number;
716
+ exifStripped: boolean;
717
+ createdAt: Date;
718
+ updatedAt: Date;
719
+ } | undefined;
720
+ createdAt: Date;
721
+ updatedAt: Date;
722
+ } | null | undefined;
723
+ bannerFile?: {
724
+ id: string;
725
+ projectId: string;
726
+ userId: string | null;
727
+ entityId: string | null;
728
+ commentId: string | null;
729
+ spaceId: string | null;
730
+ type: "image" | "video" | "document" | "other";
731
+ originalPath: string;
732
+ originalSize: number;
733
+ originalMimeType: string;
734
+ position: number;
735
+ metadata: {
736
+ [x: string]: any;
737
+ };
738
+ image?: {
739
+ fileId: string;
740
+ originalWidth: number;
741
+ originalHeight: number;
742
+ variants: {
743
+ [x: string]: {
744
+ path: string;
745
+ publicPath: string;
746
+ width: number;
747
+ height: number;
748
+ size: number;
749
+ format: string;
750
+ };
751
+ };
752
+ processingStatus: "completed" | "failed";
753
+ processingError: string | null;
754
+ format: string;
755
+ quality: number;
756
+ exifStripped: boolean;
757
+ createdAt: Date;
758
+ updatedAt: Date;
759
+ } | undefined;
760
+ createdAt: Date;
761
+ updatedAt: Date;
762
+ } | null | undefined;
304
763
  bio: string | null;
305
764
  birthdate: Date | null;
765
+ location: {
766
+ type: "Point";
767
+ coordinates: [number, number];
768
+ } | null;
306
769
  metadata: {
307
770
  [x: string]: any;
308
771
  };
309
772
  reputation: number;
310
773
  createdAt: Date;
311
- location: {
312
- type: "Point";
313
- coordinates: [number, number];
314
- } | null;
315
774
  } | null | undefined;
316
775
  title: string | null;
317
776
  content: string | null;
@@ -323,9 +782,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
323
782
  attachments: {
324
783
  [x: string]: any;
325
784
  }[];
785
+ files?: {
786
+ id: string;
787
+ projectId: string;
788
+ userId: string | null;
789
+ entityId: string | null;
790
+ commentId: string | null;
791
+ spaceId: string | null;
792
+ type: "image" | "video" | "document" | "other";
793
+ originalPath: string;
794
+ originalSize: number;
795
+ originalMimeType: string;
796
+ position: number;
797
+ metadata: {
798
+ [x: string]: any;
799
+ };
800
+ image?: {
801
+ fileId: string;
802
+ originalWidth: number;
803
+ originalHeight: number;
804
+ variants: {
805
+ [x: string]: {
806
+ path: string;
807
+ publicPath: string;
808
+ width: number;
809
+ height: number;
810
+ size: number;
811
+ format: string;
812
+ };
813
+ };
814
+ processingStatus: "completed" | "failed";
815
+ processingError: string | null;
816
+ format: string;
817
+ quality: number;
818
+ exifStripped: boolean;
819
+ createdAt: Date;
820
+ updatedAt: Date;
821
+ } | undefined;
822
+ createdAt: Date;
823
+ updatedAt: Date;
824
+ }[] | undefined;
326
825
  keywords: string[];
327
826
  upvotes: string[];
328
827
  downvotes: string[];
828
+ reactionCounts: {
829
+ upvote: number;
830
+ downvote: number;
831
+ like: number;
832
+ love: number;
833
+ wow: number;
834
+ sad: number;
835
+ angry: number;
836
+ funny: number;
837
+ };
838
+ userReaction?: (import("../..").ReactionType | null) | undefined;
329
839
  repliesCount: number;
330
840
  views: number;
331
841
  score: number;
@@ -347,22 +857,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
347
857
  name: string | null;
348
858
  username: string | null;
349
859
  avatar: string | null;
860
+ avatarFileId: string | null;
861
+ bannerFileId: string | null;
862
+ avatarFile?: {
863
+ id: string;
864
+ projectId: string;
865
+ userId: string | null;
866
+ entityId: string | null;
867
+ commentId: string | null;
868
+ spaceId: string | null;
869
+ type: "image" | "video" | "document" | "other";
870
+ originalPath: string;
871
+ originalSize: number;
872
+ originalMimeType: string;
873
+ position: number;
874
+ metadata: {
875
+ [x: string]: any;
876
+ };
877
+ image?: {
878
+ fileId: string;
879
+ originalWidth: number;
880
+ originalHeight: number;
881
+ variants: {
882
+ [x: string]: {
883
+ path: string;
884
+ publicPath: string;
885
+ width: number;
886
+ height: number;
887
+ size: number;
888
+ format: string;
889
+ };
890
+ };
891
+ processingStatus: "completed" | "failed";
892
+ processingError: string | null;
893
+ format: string;
894
+ quality: number;
895
+ exifStripped: boolean;
896
+ createdAt: Date;
897
+ updatedAt: Date;
898
+ } | undefined;
899
+ createdAt: Date;
900
+ updatedAt: Date;
901
+ } | null | undefined;
902
+ bannerFile?: {
903
+ id: string;
904
+ projectId: string;
905
+ userId: string | null;
906
+ entityId: string | null;
907
+ commentId: string | null;
908
+ spaceId: string | null;
909
+ type: "image" | "video" | "document" | "other";
910
+ originalPath: string;
911
+ originalSize: number;
912
+ originalMimeType: string;
913
+ position: number;
914
+ metadata: {
915
+ [x: string]: any;
916
+ };
917
+ image?: {
918
+ fileId: string;
919
+ originalWidth: number;
920
+ originalHeight: number;
921
+ variants: {
922
+ [x: string]: {
923
+ path: string;
924
+ publicPath: string;
925
+ width: number;
926
+ height: number;
927
+ size: number;
928
+ format: string;
929
+ };
930
+ };
931
+ processingStatus: "completed" | "failed";
932
+ processingError: string | null;
933
+ format: string;
934
+ quality: number;
935
+ exifStripped: boolean;
936
+ createdAt: Date;
937
+ updatedAt: Date;
938
+ } | undefined;
939
+ createdAt: Date;
940
+ updatedAt: Date;
941
+ } | null | undefined;
350
942
  bio: string | null;
351
943
  birthdate: Date | null;
944
+ location: {
945
+ type: "Point";
946
+ coordinates: [number, number];
947
+ } | null;
352
948
  metadata: {
353
949
  [x: string]: any;
354
950
  };
355
951
  reputation: number;
356
952
  createdAt: Date;
357
- location: {
358
- type: "Point";
359
- coordinates: [number, number];
360
- } | null;
361
953
  };
362
954
  upvotesCount: number;
363
955
  content: string;
364
956
  createdAt: string;
365
957
  } | null;
958
+ isSaved?: boolean | undefined;
366
959
  createdAt: Date;
367
960
  updatedAt: Date;
368
961
  deletedAt: Date | null;
@@ -437,8 +1030,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
437
1030
  slug: string | null;
438
1031
  name: string;
439
1032
  description: string | null;
440
- avatar: string | null;
441
- banner: string | null;
1033
+ avatarFileId: string | null;
1034
+ bannerFileId: string | null;
442
1035
  userId: string;
443
1036
  readingPermission: import("../..").ReadingPermission;
444
1037
  postingPermission: import("../..").PostingPermission;
@@ -454,6 +1047,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
454
1047
  membersCount: number;
455
1048
  childSpacesCount: number;
456
1049
  isMember?: boolean | undefined;
1050
+ avatarFile?: {
1051
+ id: string;
1052
+ projectId: string;
1053
+ userId: string | null;
1054
+ entityId: string | null;
1055
+ commentId: string | null;
1056
+ spaceId: string | null;
1057
+ type: "image" | "video" | "document" | "other";
1058
+ originalPath: string;
1059
+ originalSize: number;
1060
+ originalMimeType: string;
1061
+ position: number;
1062
+ metadata: {
1063
+ [x: string]: any;
1064
+ };
1065
+ image?: {
1066
+ fileId: string;
1067
+ originalWidth: number;
1068
+ originalHeight: number;
1069
+ variants: {
1070
+ [x: string]: {
1071
+ path: string;
1072
+ publicPath: string;
1073
+ width: number;
1074
+ height: number;
1075
+ size: number;
1076
+ format: string;
1077
+ };
1078
+ };
1079
+ processingStatus: "completed" | "failed";
1080
+ processingError: string | null;
1081
+ format: string;
1082
+ quality: number;
1083
+ exifStripped: boolean;
1084
+ createdAt: Date;
1085
+ updatedAt: Date;
1086
+ } | undefined;
1087
+ createdAt: Date;
1088
+ updatedAt: Date;
1089
+ } | undefined;
1090
+ bannerFile?: {
1091
+ id: string;
1092
+ projectId: string;
1093
+ userId: string | null;
1094
+ entityId: string | null;
1095
+ commentId: string | null;
1096
+ spaceId: string | null;
1097
+ type: "image" | "video" | "document" | "other";
1098
+ originalPath: string;
1099
+ originalSize: number;
1100
+ originalMimeType: string;
1101
+ position: number;
1102
+ metadata: {
1103
+ [x: string]: any;
1104
+ };
1105
+ image?: {
1106
+ fileId: string;
1107
+ originalWidth: number;
1108
+ originalHeight: number;
1109
+ variants: {
1110
+ [x: string]: {
1111
+ path: string;
1112
+ publicPath: string;
1113
+ width: number;
1114
+ height: number;
1115
+ size: number;
1116
+ format: string;
1117
+ };
1118
+ };
1119
+ processingStatus: "completed" | "failed";
1120
+ processingError: string | null;
1121
+ format: string;
1122
+ quality: number;
1123
+ exifStripped: boolean;
1124
+ createdAt: Date;
1125
+ updatedAt: Date;
1126
+ } | undefined;
1127
+ createdAt: Date;
1128
+ updatedAt: Date;
1129
+ } | undefined;
457
1130
  } | null | undefined;
458
1131
  user?: {
459
1132
  id: string;
@@ -463,17 +1136,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
463
1136
  name: string | null;
464
1137
  username: string | null;
465
1138
  avatar: string | null;
1139
+ avatarFileId: string | null;
1140
+ bannerFileId: string | null;
1141
+ avatarFile?: {
1142
+ id: string;
1143
+ projectId: string;
1144
+ userId: string | null;
1145
+ entityId: string | null;
1146
+ commentId: string | null;
1147
+ spaceId: string | null;
1148
+ type: "image" | "video" | "document" | "other";
1149
+ originalPath: string;
1150
+ originalSize: number;
1151
+ originalMimeType: string;
1152
+ position: number;
1153
+ metadata: {
1154
+ [x: string]: any;
1155
+ };
1156
+ image?: {
1157
+ fileId: string;
1158
+ originalWidth: number;
1159
+ originalHeight: number;
1160
+ variants: {
1161
+ [x: string]: {
1162
+ path: string;
1163
+ publicPath: string;
1164
+ width: number;
1165
+ height: number;
1166
+ size: number;
1167
+ format: string;
1168
+ };
1169
+ };
1170
+ processingStatus: "completed" | "failed";
1171
+ processingError: string | null;
1172
+ format: string;
1173
+ quality: number;
1174
+ exifStripped: boolean;
1175
+ createdAt: Date;
1176
+ updatedAt: Date;
1177
+ } | undefined;
1178
+ createdAt: Date;
1179
+ updatedAt: Date;
1180
+ } | null | undefined;
1181
+ bannerFile?: {
1182
+ id: string;
1183
+ projectId: string;
1184
+ userId: string | null;
1185
+ entityId: string | null;
1186
+ commentId: string | null;
1187
+ spaceId: string | null;
1188
+ type: "image" | "video" | "document" | "other";
1189
+ originalPath: string;
1190
+ originalSize: number;
1191
+ originalMimeType: string;
1192
+ position: number;
1193
+ metadata: {
1194
+ [x: string]: any;
1195
+ };
1196
+ image?: {
1197
+ fileId: string;
1198
+ originalWidth: number;
1199
+ originalHeight: number;
1200
+ variants: {
1201
+ [x: string]: {
1202
+ path: string;
1203
+ publicPath: string;
1204
+ width: number;
1205
+ height: number;
1206
+ size: number;
1207
+ format: string;
1208
+ };
1209
+ };
1210
+ processingStatus: "completed" | "failed";
1211
+ processingError: string | null;
1212
+ format: string;
1213
+ quality: number;
1214
+ exifStripped: boolean;
1215
+ createdAt: Date;
1216
+ updatedAt: Date;
1217
+ } | undefined;
1218
+ createdAt: Date;
1219
+ updatedAt: Date;
1220
+ } | null | undefined;
466
1221
  bio: string | null;
467
1222
  birthdate: Date | null;
1223
+ location: {
1224
+ type: "Point";
1225
+ coordinates: [number, number];
1226
+ } | null;
468
1227
  metadata: {
469
1228
  [x: string]: any;
470
1229
  };
471
1230
  reputation: number;
472
1231
  createdAt: Date;
473
- location: {
474
- type: "Point";
475
- coordinates: [number, number];
476
- } | null;
477
1232
  } | null | undefined;
478
1233
  title: string | null;
479
1234
  content: string | null;
@@ -485,9 +1240,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
485
1240
  attachments: {
486
1241
  [x: string]: any;
487
1242
  }[];
1243
+ files?: {
1244
+ id: string;
1245
+ projectId: string;
1246
+ userId: string | null;
1247
+ entityId: string | null;
1248
+ commentId: string | null;
1249
+ spaceId: string | null;
1250
+ type: "image" | "video" | "document" | "other";
1251
+ originalPath: string;
1252
+ originalSize: number;
1253
+ originalMimeType: string;
1254
+ position: number;
1255
+ metadata: {
1256
+ [x: string]: any;
1257
+ };
1258
+ image?: {
1259
+ fileId: string;
1260
+ originalWidth: number;
1261
+ originalHeight: number;
1262
+ variants: {
1263
+ [x: string]: {
1264
+ path: string;
1265
+ publicPath: string;
1266
+ width: number;
1267
+ height: number;
1268
+ size: number;
1269
+ format: string;
1270
+ };
1271
+ };
1272
+ processingStatus: "completed" | "failed";
1273
+ processingError: string | null;
1274
+ format: string;
1275
+ quality: number;
1276
+ exifStripped: boolean;
1277
+ createdAt: Date;
1278
+ updatedAt: Date;
1279
+ } | undefined;
1280
+ createdAt: Date;
1281
+ updatedAt: Date;
1282
+ }[] | undefined;
488
1283
  keywords: string[];
489
1284
  upvotes: string[];
490
1285
  downvotes: string[];
1286
+ reactionCounts: {
1287
+ upvote: number;
1288
+ downvote: number;
1289
+ like: number;
1290
+ love: number;
1291
+ wow: number;
1292
+ sad: number;
1293
+ angry: number;
1294
+ funny: number;
1295
+ };
1296
+ userReaction?: (import("../..").ReactionType | null) | undefined;
491
1297
  repliesCount: number;
492
1298
  views: number;
493
1299
  score: number;
@@ -509,22 +1315,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
509
1315
  name: string | null;
510
1316
  username: string | null;
511
1317
  avatar: string | null;
1318
+ avatarFileId: string | null;
1319
+ bannerFileId: string | null;
1320
+ avatarFile?: {
1321
+ id: string;
1322
+ projectId: string;
1323
+ userId: string | null;
1324
+ entityId: string | null;
1325
+ commentId: string | null;
1326
+ spaceId: string | null;
1327
+ type: "image" | "video" | "document" | "other";
1328
+ originalPath: string;
1329
+ originalSize: number;
1330
+ originalMimeType: string;
1331
+ position: number;
1332
+ metadata: {
1333
+ [x: string]: any;
1334
+ };
1335
+ image?: {
1336
+ fileId: string;
1337
+ originalWidth: number;
1338
+ originalHeight: number;
1339
+ variants: {
1340
+ [x: string]: {
1341
+ path: string;
1342
+ publicPath: string;
1343
+ width: number;
1344
+ height: number;
1345
+ size: number;
1346
+ format: string;
1347
+ };
1348
+ };
1349
+ processingStatus: "completed" | "failed";
1350
+ processingError: string | null;
1351
+ format: string;
1352
+ quality: number;
1353
+ exifStripped: boolean;
1354
+ createdAt: Date;
1355
+ updatedAt: Date;
1356
+ } | undefined;
1357
+ createdAt: Date;
1358
+ updatedAt: Date;
1359
+ } | null | undefined;
1360
+ bannerFile?: {
1361
+ id: string;
1362
+ projectId: string;
1363
+ userId: string | null;
1364
+ entityId: string | null;
1365
+ commentId: string | null;
1366
+ spaceId: string | null;
1367
+ type: "image" | "video" | "document" | "other";
1368
+ originalPath: string;
1369
+ originalSize: number;
1370
+ originalMimeType: string;
1371
+ position: number;
1372
+ metadata: {
1373
+ [x: string]: any;
1374
+ };
1375
+ image?: {
1376
+ fileId: string;
1377
+ originalWidth: number;
1378
+ originalHeight: number;
1379
+ variants: {
1380
+ [x: string]: {
1381
+ path: string;
1382
+ publicPath: string;
1383
+ width: number;
1384
+ height: number;
1385
+ size: number;
1386
+ format: string;
1387
+ };
1388
+ };
1389
+ processingStatus: "completed" | "failed";
1390
+ processingError: string | null;
1391
+ format: string;
1392
+ quality: number;
1393
+ exifStripped: boolean;
1394
+ createdAt: Date;
1395
+ updatedAt: Date;
1396
+ } | undefined;
1397
+ createdAt: Date;
1398
+ updatedAt: Date;
1399
+ } | null | undefined;
512
1400
  bio: string | null;
513
1401
  birthdate: Date | null;
1402
+ location: {
1403
+ type: "Point";
1404
+ coordinates: [number, number];
1405
+ } | null;
514
1406
  metadata: {
515
1407
  [x: string]: any;
516
1408
  };
517
1409
  reputation: number;
518
1410
  createdAt: Date;
519
- location: {
520
- type: "Point";
521
- coordinates: [number, number];
522
- } | null;
523
1411
  };
524
1412
  upvotesCount: number;
525
1413
  content: string;
526
1414
  createdAt: string;
527
1415
  } | null;
1416
+ isSaved?: boolean | undefined;
528
1417
  createdAt: Date;
529
1418
  updatedAt: Date;
530
1419
  deletedAt: Date | null;
@@ -602,8 +1491,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
602
1491
  slug: string | null;
603
1492
  name: string;
604
1493
  description: string | null;
605
- avatar: string | null;
606
- banner: string | null;
1494
+ avatarFileId: string | null;
1495
+ bannerFileId: string | null;
607
1496
  userId: string;
608
1497
  readingPermission: import("../..").ReadingPermission;
609
1498
  postingPermission: import("../..").PostingPermission;
@@ -619,6 +1508,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
619
1508
  membersCount: number;
620
1509
  childSpacesCount: number;
621
1510
  isMember?: boolean | undefined;
1511
+ avatarFile?: {
1512
+ id: string;
1513
+ projectId: string;
1514
+ userId: string | null;
1515
+ entityId: string | null;
1516
+ commentId: string | null;
1517
+ spaceId: string | null;
1518
+ type: "image" | "video" | "document" | "other";
1519
+ originalPath: string;
1520
+ originalSize: number;
1521
+ originalMimeType: string;
1522
+ position: number;
1523
+ metadata: {
1524
+ [x: string]: any;
1525
+ };
1526
+ image?: {
1527
+ fileId: string;
1528
+ originalWidth: number;
1529
+ originalHeight: number;
1530
+ variants: {
1531
+ [x: string]: {
1532
+ path: string;
1533
+ publicPath: string;
1534
+ width: number;
1535
+ height: number;
1536
+ size: number;
1537
+ format: string;
1538
+ };
1539
+ };
1540
+ processingStatus: "completed" | "failed";
1541
+ processingError: string | null;
1542
+ format: string;
1543
+ quality: number;
1544
+ exifStripped: boolean;
1545
+ createdAt: Date;
1546
+ updatedAt: Date;
1547
+ } | undefined;
1548
+ createdAt: Date;
1549
+ updatedAt: Date;
1550
+ } | undefined;
1551
+ bannerFile?: {
1552
+ id: string;
1553
+ projectId: string;
1554
+ userId: string | null;
1555
+ entityId: string | null;
1556
+ commentId: string | null;
1557
+ spaceId: string | null;
1558
+ type: "image" | "video" | "document" | "other";
1559
+ originalPath: string;
1560
+ originalSize: number;
1561
+ originalMimeType: string;
1562
+ position: number;
1563
+ metadata: {
1564
+ [x: string]: any;
1565
+ };
1566
+ image?: {
1567
+ fileId: string;
1568
+ originalWidth: number;
1569
+ originalHeight: number;
1570
+ variants: {
1571
+ [x: string]: {
1572
+ path: string;
1573
+ publicPath: string;
1574
+ width: number;
1575
+ height: number;
1576
+ size: number;
1577
+ format: string;
1578
+ };
1579
+ };
1580
+ processingStatus: "completed" | "failed";
1581
+ processingError: string | null;
1582
+ format: string;
1583
+ quality: number;
1584
+ exifStripped: boolean;
1585
+ createdAt: Date;
1586
+ updatedAt: Date;
1587
+ } | undefined;
1588
+ createdAt: Date;
1589
+ updatedAt: Date;
1590
+ } | undefined;
622
1591
  } | null | undefined;
623
1592
  user?: {
624
1593
  id: string;
@@ -628,17 +1597,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
628
1597
  name: string | null;
629
1598
  username: string | null;
630
1599
  avatar: string | null;
1600
+ avatarFileId: string | null;
1601
+ bannerFileId: string | null;
1602
+ avatarFile?: {
1603
+ id: string;
1604
+ projectId: string;
1605
+ userId: string | null;
1606
+ entityId: string | null;
1607
+ commentId: string | null;
1608
+ spaceId: string | null;
1609
+ type: "image" | "video" | "document" | "other";
1610
+ originalPath: string;
1611
+ originalSize: number;
1612
+ originalMimeType: string;
1613
+ position: number;
1614
+ metadata: {
1615
+ [x: string]: any;
1616
+ };
1617
+ image?: {
1618
+ fileId: string;
1619
+ originalWidth: number;
1620
+ originalHeight: number;
1621
+ variants: {
1622
+ [x: string]: {
1623
+ path: string;
1624
+ publicPath: string;
1625
+ width: number;
1626
+ height: number;
1627
+ size: number;
1628
+ format: string;
1629
+ };
1630
+ };
1631
+ processingStatus: "completed" | "failed";
1632
+ processingError: string | null;
1633
+ format: string;
1634
+ quality: number;
1635
+ exifStripped: boolean;
1636
+ createdAt: Date;
1637
+ updatedAt: Date;
1638
+ } | undefined;
1639
+ createdAt: Date;
1640
+ updatedAt: Date;
1641
+ } | null | undefined;
1642
+ bannerFile?: {
1643
+ id: string;
1644
+ projectId: string;
1645
+ userId: string | null;
1646
+ entityId: string | null;
1647
+ commentId: string | null;
1648
+ spaceId: string | null;
1649
+ type: "image" | "video" | "document" | "other";
1650
+ originalPath: string;
1651
+ originalSize: number;
1652
+ originalMimeType: string;
1653
+ position: number;
1654
+ metadata: {
1655
+ [x: string]: any;
1656
+ };
1657
+ image?: {
1658
+ fileId: string;
1659
+ originalWidth: number;
1660
+ originalHeight: number;
1661
+ variants: {
1662
+ [x: string]: {
1663
+ path: string;
1664
+ publicPath: string;
1665
+ width: number;
1666
+ height: number;
1667
+ size: number;
1668
+ format: string;
1669
+ };
1670
+ };
1671
+ processingStatus: "completed" | "failed";
1672
+ processingError: string | null;
1673
+ format: string;
1674
+ quality: number;
1675
+ exifStripped: boolean;
1676
+ createdAt: Date;
1677
+ updatedAt: Date;
1678
+ } | undefined;
1679
+ createdAt: Date;
1680
+ updatedAt: Date;
1681
+ } | null | undefined;
631
1682
  bio: string | null;
632
1683
  birthdate: Date | null;
1684
+ location: {
1685
+ type: "Point";
1686
+ coordinates: [number, number];
1687
+ } | null;
633
1688
  metadata: {
634
1689
  [x: string]: any;
635
1690
  };
636
1691
  reputation: number;
637
1692
  createdAt: Date;
638
- location: {
639
- type: "Point";
640
- coordinates: [number, number];
641
- } | null;
642
1693
  } | null | undefined;
643
1694
  title: string | null;
644
1695
  content: string | null;
@@ -650,9 +1701,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
650
1701
  attachments: {
651
1702
  [x: string]: any;
652
1703
  }[];
1704
+ files?: {
1705
+ id: string;
1706
+ projectId: string;
1707
+ userId: string | null;
1708
+ entityId: string | null;
1709
+ commentId: string | null;
1710
+ spaceId: string | null;
1711
+ type: "image" | "video" | "document" | "other";
1712
+ originalPath: string;
1713
+ originalSize: number;
1714
+ originalMimeType: string;
1715
+ position: number;
1716
+ metadata: {
1717
+ [x: string]: any;
1718
+ };
1719
+ image?: {
1720
+ fileId: string;
1721
+ originalWidth: number;
1722
+ originalHeight: number;
1723
+ variants: {
1724
+ [x: string]: {
1725
+ path: string;
1726
+ publicPath: string;
1727
+ width: number;
1728
+ height: number;
1729
+ size: number;
1730
+ format: string;
1731
+ };
1732
+ };
1733
+ processingStatus: "completed" | "failed";
1734
+ processingError: string | null;
1735
+ format: string;
1736
+ quality: number;
1737
+ exifStripped: boolean;
1738
+ createdAt: Date;
1739
+ updatedAt: Date;
1740
+ } | undefined;
1741
+ createdAt: Date;
1742
+ updatedAt: Date;
1743
+ }[] | undefined;
653
1744
  keywords: string[];
654
1745
  upvotes: string[];
655
1746
  downvotes: string[];
1747
+ reactionCounts: {
1748
+ upvote: number;
1749
+ downvote: number;
1750
+ like: number;
1751
+ love: number;
1752
+ wow: number;
1753
+ sad: number;
1754
+ angry: number;
1755
+ funny: number;
1756
+ };
1757
+ userReaction?: (import("../..").ReactionType | null) | undefined;
656
1758
  repliesCount: number;
657
1759
  views: number;
658
1760
  score: number;
@@ -674,22 +1776,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
674
1776
  name: string | null;
675
1777
  username: string | null;
676
1778
  avatar: string | null;
1779
+ avatarFileId: string | null;
1780
+ bannerFileId: string | null;
1781
+ avatarFile?: {
1782
+ id: string;
1783
+ projectId: string;
1784
+ userId: string | null;
1785
+ entityId: string | null;
1786
+ commentId: string | null;
1787
+ spaceId: string | null;
1788
+ type: "image" | "video" | "document" | "other";
1789
+ originalPath: string;
1790
+ originalSize: number;
1791
+ originalMimeType: string;
1792
+ position: number;
1793
+ metadata: {
1794
+ [x: string]: any;
1795
+ };
1796
+ image?: {
1797
+ fileId: string;
1798
+ originalWidth: number;
1799
+ originalHeight: number;
1800
+ variants: {
1801
+ [x: string]: {
1802
+ path: string;
1803
+ publicPath: string;
1804
+ width: number;
1805
+ height: number;
1806
+ size: number;
1807
+ format: string;
1808
+ };
1809
+ };
1810
+ processingStatus: "completed" | "failed";
1811
+ processingError: string | null;
1812
+ format: string;
1813
+ quality: number;
1814
+ exifStripped: boolean;
1815
+ createdAt: Date;
1816
+ updatedAt: Date;
1817
+ } | undefined;
1818
+ createdAt: Date;
1819
+ updatedAt: Date;
1820
+ } | null | undefined;
1821
+ bannerFile?: {
1822
+ id: string;
1823
+ projectId: string;
1824
+ userId: string | null;
1825
+ entityId: string | null;
1826
+ commentId: string | null;
1827
+ spaceId: string | null;
1828
+ type: "image" | "video" | "document" | "other";
1829
+ originalPath: string;
1830
+ originalSize: number;
1831
+ originalMimeType: string;
1832
+ position: number;
1833
+ metadata: {
1834
+ [x: string]: any;
1835
+ };
1836
+ image?: {
1837
+ fileId: string;
1838
+ originalWidth: number;
1839
+ originalHeight: number;
1840
+ variants: {
1841
+ [x: string]: {
1842
+ path: string;
1843
+ publicPath: string;
1844
+ width: number;
1845
+ height: number;
1846
+ size: number;
1847
+ format: string;
1848
+ };
1849
+ };
1850
+ processingStatus: "completed" | "failed";
1851
+ processingError: string | null;
1852
+ format: string;
1853
+ quality: number;
1854
+ exifStripped: boolean;
1855
+ createdAt: Date;
1856
+ updatedAt: Date;
1857
+ } | undefined;
1858
+ createdAt: Date;
1859
+ updatedAt: Date;
1860
+ } | null | undefined;
677
1861
  bio: string | null;
678
1862
  birthdate: Date | null;
1863
+ location: {
1864
+ type: "Point";
1865
+ coordinates: [number, number];
1866
+ } | null;
679
1867
  metadata: {
680
1868
  [x: string]: any;
681
1869
  };
682
1870
  reputation: number;
683
1871
  createdAt: Date;
684
- location: {
685
- type: "Point";
686
- coordinates: [number, number];
687
- } | null;
688
1872
  };
689
1873
  upvotesCount: number;
690
1874
  content: string;
691
1875
  createdAt: string;
692
1876
  } | null;
1877
+ isSaved?: boolean | undefined;
693
1878
  createdAt: Date;
694
1879
  updatedAt: Date;
695
1880
  deletedAt: Date | null;
@@ -764,8 +1949,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
764
1949
  slug: string | null;
765
1950
  name: string;
766
1951
  description: string | null;
767
- avatar: string | null;
768
- banner: string | null;
1952
+ avatarFileId: string | null;
1953
+ bannerFileId: string | null;
769
1954
  userId: string;
770
1955
  readingPermission: import("../..").ReadingPermission;
771
1956
  postingPermission: import("../..").PostingPermission;
@@ -781,6 +1966,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
781
1966
  membersCount: number;
782
1967
  childSpacesCount: number;
783
1968
  isMember?: boolean | undefined;
1969
+ avatarFile?: {
1970
+ id: string;
1971
+ projectId: string;
1972
+ userId: string | null;
1973
+ entityId: string | null;
1974
+ commentId: string | null;
1975
+ spaceId: string | null;
1976
+ type: "image" | "video" | "document" | "other";
1977
+ originalPath: string;
1978
+ originalSize: number;
1979
+ originalMimeType: string;
1980
+ position: number;
1981
+ metadata: {
1982
+ [x: string]: any;
1983
+ };
1984
+ image?: {
1985
+ fileId: string;
1986
+ originalWidth: number;
1987
+ originalHeight: number;
1988
+ variants: {
1989
+ [x: string]: {
1990
+ path: string;
1991
+ publicPath: string;
1992
+ width: number;
1993
+ height: number;
1994
+ size: number;
1995
+ format: string;
1996
+ };
1997
+ };
1998
+ processingStatus: "completed" | "failed";
1999
+ processingError: string | null;
2000
+ format: string;
2001
+ quality: number;
2002
+ exifStripped: boolean;
2003
+ createdAt: Date;
2004
+ updatedAt: Date;
2005
+ } | undefined;
2006
+ createdAt: Date;
2007
+ updatedAt: Date;
2008
+ } | undefined;
2009
+ bannerFile?: {
2010
+ id: string;
2011
+ projectId: string;
2012
+ userId: string | null;
2013
+ entityId: string | null;
2014
+ commentId: string | null;
2015
+ spaceId: string | null;
2016
+ type: "image" | "video" | "document" | "other";
2017
+ originalPath: string;
2018
+ originalSize: number;
2019
+ originalMimeType: string;
2020
+ position: number;
2021
+ metadata: {
2022
+ [x: string]: any;
2023
+ };
2024
+ image?: {
2025
+ fileId: string;
2026
+ originalWidth: number;
2027
+ originalHeight: number;
2028
+ variants: {
2029
+ [x: string]: {
2030
+ path: string;
2031
+ publicPath: string;
2032
+ width: number;
2033
+ height: number;
2034
+ size: number;
2035
+ format: string;
2036
+ };
2037
+ };
2038
+ processingStatus: "completed" | "failed";
2039
+ processingError: string | null;
2040
+ format: string;
2041
+ quality: number;
2042
+ exifStripped: boolean;
2043
+ createdAt: Date;
2044
+ updatedAt: Date;
2045
+ } | undefined;
2046
+ createdAt: Date;
2047
+ updatedAt: Date;
2048
+ } | undefined;
784
2049
  } | null | undefined;
785
2050
  user?: {
786
2051
  id: string;
@@ -790,17 +2055,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
790
2055
  name: string | null;
791
2056
  username: string | null;
792
2057
  avatar: string | null;
2058
+ avatarFileId: string | null;
2059
+ bannerFileId: string | null;
2060
+ avatarFile?: {
2061
+ id: string;
2062
+ projectId: string;
2063
+ userId: string | null;
2064
+ entityId: string | null;
2065
+ commentId: string | null;
2066
+ spaceId: string | null;
2067
+ type: "image" | "video" | "document" | "other";
2068
+ originalPath: string;
2069
+ originalSize: number;
2070
+ originalMimeType: string;
2071
+ position: number;
2072
+ metadata: {
2073
+ [x: string]: any;
2074
+ };
2075
+ image?: {
2076
+ fileId: string;
2077
+ originalWidth: number;
2078
+ originalHeight: number;
2079
+ variants: {
2080
+ [x: string]: {
2081
+ path: string;
2082
+ publicPath: string;
2083
+ width: number;
2084
+ height: number;
2085
+ size: number;
2086
+ format: string;
2087
+ };
2088
+ };
2089
+ processingStatus: "completed" | "failed";
2090
+ processingError: string | null;
2091
+ format: string;
2092
+ quality: number;
2093
+ exifStripped: boolean;
2094
+ createdAt: Date;
2095
+ updatedAt: Date;
2096
+ } | undefined;
2097
+ createdAt: Date;
2098
+ updatedAt: Date;
2099
+ } | null | undefined;
2100
+ bannerFile?: {
2101
+ id: string;
2102
+ projectId: string;
2103
+ userId: string | null;
2104
+ entityId: string | null;
2105
+ commentId: string | null;
2106
+ spaceId: string | null;
2107
+ type: "image" | "video" | "document" | "other";
2108
+ originalPath: string;
2109
+ originalSize: number;
2110
+ originalMimeType: string;
2111
+ position: number;
2112
+ metadata: {
2113
+ [x: string]: any;
2114
+ };
2115
+ image?: {
2116
+ fileId: string;
2117
+ originalWidth: number;
2118
+ originalHeight: number;
2119
+ variants: {
2120
+ [x: string]: {
2121
+ path: string;
2122
+ publicPath: string;
2123
+ width: number;
2124
+ height: number;
2125
+ size: number;
2126
+ format: string;
2127
+ };
2128
+ };
2129
+ processingStatus: "completed" | "failed";
2130
+ processingError: string | null;
2131
+ format: string;
2132
+ quality: number;
2133
+ exifStripped: boolean;
2134
+ createdAt: Date;
2135
+ updatedAt: Date;
2136
+ } | undefined;
2137
+ createdAt: Date;
2138
+ updatedAt: Date;
2139
+ } | null | undefined;
793
2140
  bio: string | null;
794
2141
  birthdate: Date | null;
2142
+ location: {
2143
+ type: "Point";
2144
+ coordinates: [number, number];
2145
+ } | null;
795
2146
  metadata: {
796
2147
  [x: string]: any;
797
2148
  };
798
2149
  reputation: number;
799
2150
  createdAt: Date;
800
- location: {
801
- type: "Point";
802
- coordinates: [number, number];
803
- } | null;
804
2151
  } | null | undefined;
805
2152
  title: string | null;
806
2153
  content: string | null;
@@ -812,9 +2159,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
812
2159
  attachments: {
813
2160
  [x: string]: any;
814
2161
  }[];
2162
+ files?: {
2163
+ id: string;
2164
+ projectId: string;
2165
+ userId: string | null;
2166
+ entityId: string | null;
2167
+ commentId: string | null;
2168
+ spaceId: string | null;
2169
+ type: "image" | "video" | "document" | "other";
2170
+ originalPath: string;
2171
+ originalSize: number;
2172
+ originalMimeType: string;
2173
+ position: number;
2174
+ metadata: {
2175
+ [x: string]: any;
2176
+ };
2177
+ image?: {
2178
+ fileId: string;
2179
+ originalWidth: number;
2180
+ originalHeight: number;
2181
+ variants: {
2182
+ [x: string]: {
2183
+ path: string;
2184
+ publicPath: string;
2185
+ width: number;
2186
+ height: number;
2187
+ size: number;
2188
+ format: string;
2189
+ };
2190
+ };
2191
+ processingStatus: "completed" | "failed";
2192
+ processingError: string | null;
2193
+ format: string;
2194
+ quality: number;
2195
+ exifStripped: boolean;
2196
+ createdAt: Date;
2197
+ updatedAt: Date;
2198
+ } | undefined;
2199
+ createdAt: Date;
2200
+ updatedAt: Date;
2201
+ }[] | undefined;
815
2202
  keywords: string[];
816
2203
  upvotes: string[];
817
2204
  downvotes: string[];
2205
+ reactionCounts: {
2206
+ upvote: number;
2207
+ downvote: number;
2208
+ like: number;
2209
+ love: number;
2210
+ wow: number;
2211
+ sad: number;
2212
+ angry: number;
2213
+ funny: number;
2214
+ };
2215
+ userReaction?: (import("../..").ReactionType | null) | undefined;
818
2216
  repliesCount: number;
819
2217
  views: number;
820
2218
  score: number;
@@ -836,22 +2234,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
836
2234
  name: string | null;
837
2235
  username: string | null;
838
2236
  avatar: string | null;
2237
+ avatarFileId: string | null;
2238
+ bannerFileId: string | null;
2239
+ avatarFile?: {
2240
+ id: string;
2241
+ projectId: string;
2242
+ userId: string | null;
2243
+ entityId: string | null;
2244
+ commentId: string | null;
2245
+ spaceId: string | null;
2246
+ type: "image" | "video" | "document" | "other";
2247
+ originalPath: string;
2248
+ originalSize: number;
2249
+ originalMimeType: string;
2250
+ position: number;
2251
+ metadata: {
2252
+ [x: string]: any;
2253
+ };
2254
+ image?: {
2255
+ fileId: string;
2256
+ originalWidth: number;
2257
+ originalHeight: number;
2258
+ variants: {
2259
+ [x: string]: {
2260
+ path: string;
2261
+ publicPath: string;
2262
+ width: number;
2263
+ height: number;
2264
+ size: number;
2265
+ format: string;
2266
+ };
2267
+ };
2268
+ processingStatus: "completed" | "failed";
2269
+ processingError: string | null;
2270
+ format: string;
2271
+ quality: number;
2272
+ exifStripped: boolean;
2273
+ createdAt: Date;
2274
+ updatedAt: Date;
2275
+ } | undefined;
2276
+ createdAt: Date;
2277
+ updatedAt: Date;
2278
+ } | null | undefined;
2279
+ bannerFile?: {
2280
+ id: string;
2281
+ projectId: string;
2282
+ userId: string | null;
2283
+ entityId: string | null;
2284
+ commentId: string | null;
2285
+ spaceId: string | null;
2286
+ type: "image" | "video" | "document" | "other";
2287
+ originalPath: string;
2288
+ originalSize: number;
2289
+ originalMimeType: string;
2290
+ position: number;
2291
+ metadata: {
2292
+ [x: string]: any;
2293
+ };
2294
+ image?: {
2295
+ fileId: string;
2296
+ originalWidth: number;
2297
+ originalHeight: number;
2298
+ variants: {
2299
+ [x: string]: {
2300
+ path: string;
2301
+ publicPath: string;
2302
+ width: number;
2303
+ height: number;
2304
+ size: number;
2305
+ format: string;
2306
+ };
2307
+ };
2308
+ processingStatus: "completed" | "failed";
2309
+ processingError: string | null;
2310
+ format: string;
2311
+ quality: number;
2312
+ exifStripped: boolean;
2313
+ createdAt: Date;
2314
+ updatedAt: Date;
2315
+ } | undefined;
2316
+ createdAt: Date;
2317
+ updatedAt: Date;
2318
+ } | null | undefined;
839
2319
  bio: string | null;
840
2320
  birthdate: Date | null;
2321
+ location: {
2322
+ type: "Point";
2323
+ coordinates: [number, number];
2324
+ } | null;
841
2325
  metadata: {
842
2326
  [x: string]: any;
843
2327
  };
844
2328
  reputation: number;
845
2329
  createdAt: Date;
846
- location: {
847
- type: "Point";
848
- coordinates: [number, number];
849
- } | null;
850
2330
  };
851
2331
  upvotesCount: number;
852
2332
  content: string;
853
2333
  createdAt: string;
854
2334
  } | null;
2335
+ isSaved?: boolean | undefined;
855
2336
  createdAt: Date;
856
2337
  updatedAt: Date;
857
2338
  deletedAt: Date | null;
@@ -926,8 +2407,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
926
2407
  slug: string | null;
927
2408
  name: string;
928
2409
  description: string | null;
929
- avatar: string | null;
930
- banner: string | null;
2410
+ avatarFileId: string | null;
2411
+ bannerFileId: string | null;
931
2412
  userId: string;
932
2413
  readingPermission: import("../..").ReadingPermission;
933
2414
  postingPermission: import("../..").PostingPermission;
@@ -943,6 +2424,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
943
2424
  membersCount: number;
944
2425
  childSpacesCount: number;
945
2426
  isMember?: boolean | undefined;
2427
+ avatarFile?: {
2428
+ id: string;
2429
+ projectId: string;
2430
+ userId: string | null;
2431
+ entityId: string | null;
2432
+ commentId: string | null;
2433
+ spaceId: string | null;
2434
+ type: "image" | "video" | "document" | "other";
2435
+ originalPath: string;
2436
+ originalSize: number;
2437
+ originalMimeType: string;
2438
+ position: number;
2439
+ metadata: {
2440
+ [x: string]: any;
2441
+ };
2442
+ image?: {
2443
+ fileId: string;
2444
+ originalWidth: number;
2445
+ originalHeight: number;
2446
+ variants: {
2447
+ [x: string]: {
2448
+ path: string;
2449
+ publicPath: string;
2450
+ width: number;
2451
+ height: number;
2452
+ size: number;
2453
+ format: string;
2454
+ };
2455
+ };
2456
+ processingStatus: "completed" | "failed";
2457
+ processingError: string | null;
2458
+ format: string;
2459
+ quality: number;
2460
+ exifStripped: boolean;
2461
+ createdAt: Date;
2462
+ updatedAt: Date;
2463
+ } | undefined;
2464
+ createdAt: Date;
2465
+ updatedAt: Date;
2466
+ } | undefined;
2467
+ bannerFile?: {
2468
+ id: string;
2469
+ projectId: string;
2470
+ userId: string | null;
2471
+ entityId: string | null;
2472
+ commentId: string | null;
2473
+ spaceId: string | null;
2474
+ type: "image" | "video" | "document" | "other";
2475
+ originalPath: string;
2476
+ originalSize: number;
2477
+ originalMimeType: string;
2478
+ position: number;
2479
+ metadata: {
2480
+ [x: string]: any;
2481
+ };
2482
+ image?: {
2483
+ fileId: string;
2484
+ originalWidth: number;
2485
+ originalHeight: number;
2486
+ variants: {
2487
+ [x: string]: {
2488
+ path: string;
2489
+ publicPath: string;
2490
+ width: number;
2491
+ height: number;
2492
+ size: number;
2493
+ format: string;
2494
+ };
2495
+ };
2496
+ processingStatus: "completed" | "failed";
2497
+ processingError: string | null;
2498
+ format: string;
2499
+ quality: number;
2500
+ exifStripped: boolean;
2501
+ createdAt: Date;
2502
+ updatedAt: Date;
2503
+ } | undefined;
2504
+ createdAt: Date;
2505
+ updatedAt: Date;
2506
+ } | undefined;
946
2507
  } | null | undefined;
947
2508
  user?: {
948
2509
  id: string;
@@ -952,17 +2513,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
952
2513
  name: string | null;
953
2514
  username: string | null;
954
2515
  avatar: string | null;
2516
+ avatarFileId: string | null;
2517
+ bannerFileId: string | null;
2518
+ avatarFile?: {
2519
+ id: string;
2520
+ projectId: string;
2521
+ userId: string | null;
2522
+ entityId: string | null;
2523
+ commentId: string | null;
2524
+ spaceId: string | null;
2525
+ type: "image" | "video" | "document" | "other";
2526
+ originalPath: string;
2527
+ originalSize: number;
2528
+ originalMimeType: string;
2529
+ position: number;
2530
+ metadata: {
2531
+ [x: string]: any;
2532
+ };
2533
+ image?: {
2534
+ fileId: string;
2535
+ originalWidth: number;
2536
+ originalHeight: number;
2537
+ variants: {
2538
+ [x: string]: {
2539
+ path: string;
2540
+ publicPath: string;
2541
+ width: number;
2542
+ height: number;
2543
+ size: number;
2544
+ format: string;
2545
+ };
2546
+ };
2547
+ processingStatus: "completed" | "failed";
2548
+ processingError: string | null;
2549
+ format: string;
2550
+ quality: number;
2551
+ exifStripped: boolean;
2552
+ createdAt: Date;
2553
+ updatedAt: Date;
2554
+ } | undefined;
2555
+ createdAt: Date;
2556
+ updatedAt: Date;
2557
+ } | null | undefined;
2558
+ bannerFile?: {
2559
+ id: string;
2560
+ projectId: string;
2561
+ userId: string | null;
2562
+ entityId: string | null;
2563
+ commentId: string | null;
2564
+ spaceId: string | null;
2565
+ type: "image" | "video" | "document" | "other";
2566
+ originalPath: string;
2567
+ originalSize: number;
2568
+ originalMimeType: string;
2569
+ position: number;
2570
+ metadata: {
2571
+ [x: string]: any;
2572
+ };
2573
+ image?: {
2574
+ fileId: string;
2575
+ originalWidth: number;
2576
+ originalHeight: number;
2577
+ variants: {
2578
+ [x: string]: {
2579
+ path: string;
2580
+ publicPath: string;
2581
+ width: number;
2582
+ height: number;
2583
+ size: number;
2584
+ format: string;
2585
+ };
2586
+ };
2587
+ processingStatus: "completed" | "failed";
2588
+ processingError: string | null;
2589
+ format: string;
2590
+ quality: number;
2591
+ exifStripped: boolean;
2592
+ createdAt: Date;
2593
+ updatedAt: Date;
2594
+ } | undefined;
2595
+ createdAt: Date;
2596
+ updatedAt: Date;
2597
+ } | null | undefined;
955
2598
  bio: string | null;
956
2599
  birthdate: Date | null;
2600
+ location: {
2601
+ type: "Point";
2602
+ coordinates: [number, number];
2603
+ } | null;
957
2604
  metadata: {
958
2605
  [x: string]: any;
959
2606
  };
960
2607
  reputation: number;
961
2608
  createdAt: Date;
962
- location: {
963
- type: "Point";
964
- coordinates: [number, number];
965
- } | null;
966
2609
  } | null | undefined;
967
2610
  title: string | null;
968
2611
  content: string | null;
@@ -974,9 +2617,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
974
2617
  attachments: {
975
2618
  [x: string]: any;
976
2619
  }[];
2620
+ files?: {
2621
+ id: string;
2622
+ projectId: string;
2623
+ userId: string | null;
2624
+ entityId: string | null;
2625
+ commentId: string | null;
2626
+ spaceId: string | null;
2627
+ type: "image" | "video" | "document" | "other";
2628
+ originalPath: string;
2629
+ originalSize: number;
2630
+ originalMimeType: string;
2631
+ position: number;
2632
+ metadata: {
2633
+ [x: string]: any;
2634
+ };
2635
+ image?: {
2636
+ fileId: string;
2637
+ originalWidth: number;
2638
+ originalHeight: number;
2639
+ variants: {
2640
+ [x: string]: {
2641
+ path: string;
2642
+ publicPath: string;
2643
+ width: number;
2644
+ height: number;
2645
+ size: number;
2646
+ format: string;
2647
+ };
2648
+ };
2649
+ processingStatus: "completed" | "failed";
2650
+ processingError: string | null;
2651
+ format: string;
2652
+ quality: number;
2653
+ exifStripped: boolean;
2654
+ createdAt: Date;
2655
+ updatedAt: Date;
2656
+ } | undefined;
2657
+ createdAt: Date;
2658
+ updatedAt: Date;
2659
+ }[] | undefined;
977
2660
  keywords: string[];
978
2661
  upvotes: string[];
979
2662
  downvotes: string[];
2663
+ reactionCounts: {
2664
+ upvote: number;
2665
+ downvote: number;
2666
+ like: number;
2667
+ love: number;
2668
+ wow: number;
2669
+ sad: number;
2670
+ angry: number;
2671
+ funny: number;
2672
+ };
2673
+ userReaction?: (import("../..").ReactionType | null) | undefined;
980
2674
  repliesCount: number;
981
2675
  views: number;
982
2676
  score: number;
@@ -998,22 +2692,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
998
2692
  name: string | null;
999
2693
  username: string | null;
1000
2694
  avatar: string | null;
2695
+ avatarFileId: string | null;
2696
+ bannerFileId: string | null;
2697
+ avatarFile?: {
2698
+ id: string;
2699
+ projectId: string;
2700
+ userId: string | null;
2701
+ entityId: string | null;
2702
+ commentId: string | null;
2703
+ spaceId: string | null;
2704
+ type: "image" | "video" | "document" | "other";
2705
+ originalPath: string;
2706
+ originalSize: number;
2707
+ originalMimeType: string;
2708
+ position: number;
2709
+ metadata: {
2710
+ [x: string]: any;
2711
+ };
2712
+ image?: {
2713
+ fileId: string;
2714
+ originalWidth: number;
2715
+ originalHeight: number;
2716
+ variants: {
2717
+ [x: string]: {
2718
+ path: string;
2719
+ publicPath: string;
2720
+ width: number;
2721
+ height: number;
2722
+ size: number;
2723
+ format: string;
2724
+ };
2725
+ };
2726
+ processingStatus: "completed" | "failed";
2727
+ processingError: string | null;
2728
+ format: string;
2729
+ quality: number;
2730
+ exifStripped: boolean;
2731
+ createdAt: Date;
2732
+ updatedAt: Date;
2733
+ } | undefined;
2734
+ createdAt: Date;
2735
+ updatedAt: Date;
2736
+ } | null | undefined;
2737
+ bannerFile?: {
2738
+ id: string;
2739
+ projectId: string;
2740
+ userId: string | null;
2741
+ entityId: string | null;
2742
+ commentId: string | null;
2743
+ spaceId: string | null;
2744
+ type: "image" | "video" | "document" | "other";
2745
+ originalPath: string;
2746
+ originalSize: number;
2747
+ originalMimeType: string;
2748
+ position: number;
2749
+ metadata: {
2750
+ [x: string]: any;
2751
+ };
2752
+ image?: {
2753
+ fileId: string;
2754
+ originalWidth: number;
2755
+ originalHeight: number;
2756
+ variants: {
2757
+ [x: string]: {
2758
+ path: string;
2759
+ publicPath: string;
2760
+ width: number;
2761
+ height: number;
2762
+ size: number;
2763
+ format: string;
2764
+ };
2765
+ };
2766
+ processingStatus: "completed" | "failed";
2767
+ processingError: string | null;
2768
+ format: string;
2769
+ quality: number;
2770
+ exifStripped: boolean;
2771
+ createdAt: Date;
2772
+ updatedAt: Date;
2773
+ } | undefined;
2774
+ createdAt: Date;
2775
+ updatedAt: Date;
2776
+ } | null | undefined;
1001
2777
  bio: string | null;
1002
2778
  birthdate: Date | null;
2779
+ location: {
2780
+ type: "Point";
2781
+ coordinates: [number, number];
2782
+ } | null;
1003
2783
  metadata: {
1004
2784
  [x: string]: any;
1005
2785
  };
1006
2786
  reputation: number;
1007
2787
  createdAt: Date;
1008
- location: {
1009
- type: "Point";
1010
- coordinates: [number, number];
1011
- } | null;
1012
2788
  };
1013
2789
  upvotesCount: number;
1014
2790
  content: string;
1015
2791
  createdAt: string;
1016
2792
  } | null;
2793
+ isSaved?: boolean | undefined;
1017
2794
  createdAt: Date;
1018
2795
  updatedAt: Date;
1019
2796
  deletedAt: Date | null;
@@ -1091,8 +2868,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1091
2868
  slug: string | null;
1092
2869
  name: string;
1093
2870
  description: string | null;
1094
- avatar: string | null;
1095
- banner: string | null;
2871
+ avatarFileId: string | null;
2872
+ bannerFileId: string | null;
1096
2873
  userId: string;
1097
2874
  readingPermission: import("../..").ReadingPermission;
1098
2875
  postingPermission: import("../..").PostingPermission;
@@ -1108,6 +2885,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1108
2885
  membersCount: number;
1109
2886
  childSpacesCount: number;
1110
2887
  isMember?: boolean | undefined;
2888
+ avatarFile?: {
2889
+ id: string;
2890
+ projectId: string;
2891
+ userId: string | null;
2892
+ entityId: string | null;
2893
+ commentId: string | null;
2894
+ spaceId: string | null;
2895
+ type: "image" | "video" | "document" | "other";
2896
+ originalPath: string;
2897
+ originalSize: number;
2898
+ originalMimeType: string;
2899
+ position: number;
2900
+ metadata: {
2901
+ [x: string]: any;
2902
+ };
2903
+ image?: {
2904
+ fileId: string;
2905
+ originalWidth: number;
2906
+ originalHeight: number;
2907
+ variants: {
2908
+ [x: string]: {
2909
+ path: string;
2910
+ publicPath: string;
2911
+ width: number;
2912
+ height: number;
2913
+ size: number;
2914
+ format: string;
2915
+ };
2916
+ };
2917
+ processingStatus: "completed" | "failed";
2918
+ processingError: string | null;
2919
+ format: string;
2920
+ quality: number;
2921
+ exifStripped: boolean;
2922
+ createdAt: Date;
2923
+ updatedAt: Date;
2924
+ } | undefined;
2925
+ createdAt: Date;
2926
+ updatedAt: Date;
2927
+ } | undefined;
2928
+ bannerFile?: {
2929
+ id: string;
2930
+ projectId: string;
2931
+ userId: string | null;
2932
+ entityId: string | null;
2933
+ commentId: string | null;
2934
+ spaceId: string | null;
2935
+ type: "image" | "video" | "document" | "other";
2936
+ originalPath: string;
2937
+ originalSize: number;
2938
+ originalMimeType: string;
2939
+ position: number;
2940
+ metadata: {
2941
+ [x: string]: any;
2942
+ };
2943
+ image?: {
2944
+ fileId: string;
2945
+ originalWidth: number;
2946
+ originalHeight: number;
2947
+ variants: {
2948
+ [x: string]: {
2949
+ path: string;
2950
+ publicPath: string;
2951
+ width: number;
2952
+ height: number;
2953
+ size: number;
2954
+ format: string;
2955
+ };
2956
+ };
2957
+ processingStatus: "completed" | "failed";
2958
+ processingError: string | null;
2959
+ format: string;
2960
+ quality: number;
2961
+ exifStripped: boolean;
2962
+ createdAt: Date;
2963
+ updatedAt: Date;
2964
+ } | undefined;
2965
+ createdAt: Date;
2966
+ updatedAt: Date;
2967
+ } | undefined;
1111
2968
  } | null | undefined;
1112
2969
  user?: {
1113
2970
  id: string;
@@ -1117,17 +2974,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1117
2974
  name: string | null;
1118
2975
  username: string | null;
1119
2976
  avatar: string | null;
2977
+ avatarFileId: string | null;
2978
+ bannerFileId: string | null;
2979
+ avatarFile?: {
2980
+ id: string;
2981
+ projectId: string;
2982
+ userId: string | null;
2983
+ entityId: string | null;
2984
+ commentId: string | null;
2985
+ spaceId: string | null;
2986
+ type: "image" | "video" | "document" | "other";
2987
+ originalPath: string;
2988
+ originalSize: number;
2989
+ originalMimeType: string;
2990
+ position: number;
2991
+ metadata: {
2992
+ [x: string]: any;
2993
+ };
2994
+ image?: {
2995
+ fileId: string;
2996
+ originalWidth: number;
2997
+ originalHeight: number;
2998
+ variants: {
2999
+ [x: string]: {
3000
+ path: string;
3001
+ publicPath: string;
3002
+ width: number;
3003
+ height: number;
3004
+ size: number;
3005
+ format: string;
3006
+ };
3007
+ };
3008
+ processingStatus: "completed" | "failed";
3009
+ processingError: string | null;
3010
+ format: string;
3011
+ quality: number;
3012
+ exifStripped: boolean;
3013
+ createdAt: Date;
3014
+ updatedAt: Date;
3015
+ } | undefined;
3016
+ createdAt: Date;
3017
+ updatedAt: Date;
3018
+ } | null | undefined;
3019
+ bannerFile?: {
3020
+ id: string;
3021
+ projectId: string;
3022
+ userId: string | null;
3023
+ entityId: string | null;
3024
+ commentId: string | null;
3025
+ spaceId: string | null;
3026
+ type: "image" | "video" | "document" | "other";
3027
+ originalPath: string;
3028
+ originalSize: number;
3029
+ originalMimeType: string;
3030
+ position: number;
3031
+ metadata: {
3032
+ [x: string]: any;
3033
+ };
3034
+ image?: {
3035
+ fileId: string;
3036
+ originalWidth: number;
3037
+ originalHeight: number;
3038
+ variants: {
3039
+ [x: string]: {
3040
+ path: string;
3041
+ publicPath: string;
3042
+ width: number;
3043
+ height: number;
3044
+ size: number;
3045
+ format: string;
3046
+ };
3047
+ };
3048
+ processingStatus: "completed" | "failed";
3049
+ processingError: string | null;
3050
+ format: string;
3051
+ quality: number;
3052
+ exifStripped: boolean;
3053
+ createdAt: Date;
3054
+ updatedAt: Date;
3055
+ } | undefined;
3056
+ createdAt: Date;
3057
+ updatedAt: Date;
3058
+ } | null | undefined;
1120
3059
  bio: string | null;
1121
3060
  birthdate: Date | null;
3061
+ location: {
3062
+ type: "Point";
3063
+ coordinates: [number, number];
3064
+ } | null;
1122
3065
  metadata: {
1123
3066
  [x: string]: any;
1124
3067
  };
1125
3068
  reputation: number;
1126
3069
  createdAt: Date;
1127
- location: {
1128
- type: "Point";
1129
- coordinates: [number, number];
1130
- } | null;
1131
3070
  } | null | undefined;
1132
3071
  title: string | null;
1133
3072
  content: string | null;
@@ -1139,9 +3078,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1139
3078
  attachments: {
1140
3079
  [x: string]: any;
1141
3080
  }[];
3081
+ files?: {
3082
+ id: string;
3083
+ projectId: string;
3084
+ userId: string | null;
3085
+ entityId: string | null;
3086
+ commentId: string | null;
3087
+ spaceId: string | null;
3088
+ type: "image" | "video" | "document" | "other";
3089
+ originalPath: string;
3090
+ originalSize: number;
3091
+ originalMimeType: string;
3092
+ position: number;
3093
+ metadata: {
3094
+ [x: string]: any;
3095
+ };
3096
+ image?: {
3097
+ fileId: string;
3098
+ originalWidth: number;
3099
+ originalHeight: number;
3100
+ variants: {
3101
+ [x: string]: {
3102
+ path: string;
3103
+ publicPath: string;
3104
+ width: number;
3105
+ height: number;
3106
+ size: number;
3107
+ format: string;
3108
+ };
3109
+ };
3110
+ processingStatus: "completed" | "failed";
3111
+ processingError: string | null;
3112
+ format: string;
3113
+ quality: number;
3114
+ exifStripped: boolean;
3115
+ createdAt: Date;
3116
+ updatedAt: Date;
3117
+ } | undefined;
3118
+ createdAt: Date;
3119
+ updatedAt: Date;
3120
+ }[] | undefined;
1142
3121
  keywords: string[];
1143
3122
  upvotes: string[];
1144
3123
  downvotes: string[];
3124
+ reactionCounts: {
3125
+ upvote: number;
3126
+ downvote: number;
3127
+ like: number;
3128
+ love: number;
3129
+ wow: number;
3130
+ sad: number;
3131
+ angry: number;
3132
+ funny: number;
3133
+ };
3134
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1145
3135
  repliesCount: number;
1146
3136
  views: number;
1147
3137
  score: number;
@@ -1163,22 +3153,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1163
3153
  name: string | null;
1164
3154
  username: string | null;
1165
3155
  avatar: string | null;
3156
+ avatarFileId: string | null;
3157
+ bannerFileId: string | null;
3158
+ avatarFile?: {
3159
+ id: string;
3160
+ projectId: string;
3161
+ userId: string | null;
3162
+ entityId: string | null;
3163
+ commentId: string | null;
3164
+ spaceId: string | null;
3165
+ type: "image" | "video" | "document" | "other";
3166
+ originalPath: string;
3167
+ originalSize: number;
3168
+ originalMimeType: string;
3169
+ position: number;
3170
+ metadata: {
3171
+ [x: string]: any;
3172
+ };
3173
+ image?: {
3174
+ fileId: string;
3175
+ originalWidth: number;
3176
+ originalHeight: number;
3177
+ variants: {
3178
+ [x: string]: {
3179
+ path: string;
3180
+ publicPath: string;
3181
+ width: number;
3182
+ height: number;
3183
+ size: number;
3184
+ format: string;
3185
+ };
3186
+ };
3187
+ processingStatus: "completed" | "failed";
3188
+ processingError: string | null;
3189
+ format: string;
3190
+ quality: number;
3191
+ exifStripped: boolean;
3192
+ createdAt: Date;
3193
+ updatedAt: Date;
3194
+ } | undefined;
3195
+ createdAt: Date;
3196
+ updatedAt: Date;
3197
+ } | null | undefined;
3198
+ bannerFile?: {
3199
+ id: string;
3200
+ projectId: string;
3201
+ userId: string | null;
3202
+ entityId: string | null;
3203
+ commentId: string | null;
3204
+ spaceId: string | null;
3205
+ type: "image" | "video" | "document" | "other";
3206
+ originalPath: string;
3207
+ originalSize: number;
3208
+ originalMimeType: string;
3209
+ position: number;
3210
+ metadata: {
3211
+ [x: string]: any;
3212
+ };
3213
+ image?: {
3214
+ fileId: string;
3215
+ originalWidth: number;
3216
+ originalHeight: number;
3217
+ variants: {
3218
+ [x: string]: {
3219
+ path: string;
3220
+ publicPath: string;
3221
+ width: number;
3222
+ height: number;
3223
+ size: number;
3224
+ format: string;
3225
+ };
3226
+ };
3227
+ processingStatus: "completed" | "failed";
3228
+ processingError: string | null;
3229
+ format: string;
3230
+ quality: number;
3231
+ exifStripped: boolean;
3232
+ createdAt: Date;
3233
+ updatedAt: Date;
3234
+ } | undefined;
3235
+ createdAt: Date;
3236
+ updatedAt: Date;
3237
+ } | null | undefined;
1166
3238
  bio: string | null;
1167
3239
  birthdate: Date | null;
3240
+ location: {
3241
+ type: "Point";
3242
+ coordinates: [number, number];
3243
+ } | null;
1168
3244
  metadata: {
1169
3245
  [x: string]: any;
1170
3246
  };
1171
3247
  reputation: number;
1172
3248
  createdAt: Date;
1173
- location: {
1174
- type: "Point";
1175
- coordinates: [number, number];
1176
- } | null;
1177
3249
  };
1178
3250
  upvotesCount: number;
1179
3251
  content: string;
1180
3252
  createdAt: string;
1181
3253
  } | null;
3254
+ isSaved?: boolean | undefined;
1182
3255
  createdAt: Date;
1183
3256
  updatedAt: Date;
1184
3257
  deletedAt: Date | null;
@@ -1256,8 +3329,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1256
3329
  slug: string | null;
1257
3330
  name: string;
1258
3331
  description: string | null;
1259
- avatar: string | null;
1260
- banner: string | null;
3332
+ avatarFileId: string | null;
3333
+ bannerFileId: string | null;
1261
3334
  userId: string;
1262
3335
  readingPermission: import("../..").ReadingPermission;
1263
3336
  postingPermission: import("../..").PostingPermission;
@@ -1273,6 +3346,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1273
3346
  membersCount: number;
1274
3347
  childSpacesCount: number;
1275
3348
  isMember?: boolean | undefined;
3349
+ avatarFile?: {
3350
+ id: string;
3351
+ projectId: string;
3352
+ userId: string | null;
3353
+ entityId: string | null;
3354
+ commentId: string | null;
3355
+ spaceId: string | null;
3356
+ type: "image" | "video" | "document" | "other";
3357
+ originalPath: string;
3358
+ originalSize: number;
3359
+ originalMimeType: string;
3360
+ position: number;
3361
+ metadata: {
3362
+ [x: string]: any;
3363
+ };
3364
+ image?: {
3365
+ fileId: string;
3366
+ originalWidth: number;
3367
+ originalHeight: number;
3368
+ variants: {
3369
+ [x: string]: {
3370
+ path: string;
3371
+ publicPath: string;
3372
+ width: number;
3373
+ height: number;
3374
+ size: number;
3375
+ format: string;
3376
+ };
3377
+ };
3378
+ processingStatus: "completed" | "failed";
3379
+ processingError: string | null;
3380
+ format: string;
3381
+ quality: number;
3382
+ exifStripped: boolean;
3383
+ createdAt: Date;
3384
+ updatedAt: Date;
3385
+ } | undefined;
3386
+ createdAt: Date;
3387
+ updatedAt: Date;
3388
+ } | undefined;
3389
+ bannerFile?: {
3390
+ id: string;
3391
+ projectId: string;
3392
+ userId: string | null;
3393
+ entityId: string | null;
3394
+ commentId: string | null;
3395
+ spaceId: string | null;
3396
+ type: "image" | "video" | "document" | "other";
3397
+ originalPath: string;
3398
+ originalSize: number;
3399
+ originalMimeType: string;
3400
+ position: number;
3401
+ metadata: {
3402
+ [x: string]: any;
3403
+ };
3404
+ image?: {
3405
+ fileId: string;
3406
+ originalWidth: number;
3407
+ originalHeight: number;
3408
+ variants: {
3409
+ [x: string]: {
3410
+ path: string;
3411
+ publicPath: string;
3412
+ width: number;
3413
+ height: number;
3414
+ size: number;
3415
+ format: string;
3416
+ };
3417
+ };
3418
+ processingStatus: "completed" | "failed";
3419
+ processingError: string | null;
3420
+ format: string;
3421
+ quality: number;
3422
+ exifStripped: boolean;
3423
+ createdAt: Date;
3424
+ updatedAt: Date;
3425
+ } | undefined;
3426
+ createdAt: Date;
3427
+ updatedAt: Date;
3428
+ } | undefined;
1276
3429
  } | null | undefined;
1277
3430
  user?: {
1278
3431
  id: string;
@@ -1282,17 +3435,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1282
3435
  name: string | null;
1283
3436
  username: string | null;
1284
3437
  avatar: string | null;
3438
+ avatarFileId: string | null;
3439
+ bannerFileId: string | null;
3440
+ avatarFile?: {
3441
+ id: string;
3442
+ projectId: string;
3443
+ userId: string | null;
3444
+ entityId: string | null;
3445
+ commentId: string | null;
3446
+ spaceId: string | null;
3447
+ type: "image" | "video" | "document" | "other";
3448
+ originalPath: string;
3449
+ originalSize: number;
3450
+ originalMimeType: string;
3451
+ position: number;
3452
+ metadata: {
3453
+ [x: string]: any;
3454
+ };
3455
+ image?: {
3456
+ fileId: string;
3457
+ originalWidth: number;
3458
+ originalHeight: number;
3459
+ variants: {
3460
+ [x: string]: {
3461
+ path: string;
3462
+ publicPath: string;
3463
+ width: number;
3464
+ height: number;
3465
+ size: number;
3466
+ format: string;
3467
+ };
3468
+ };
3469
+ processingStatus: "completed" | "failed";
3470
+ processingError: string | null;
3471
+ format: string;
3472
+ quality: number;
3473
+ exifStripped: boolean;
3474
+ createdAt: Date;
3475
+ updatedAt: Date;
3476
+ } | undefined;
3477
+ createdAt: Date;
3478
+ updatedAt: Date;
3479
+ } | null | undefined;
3480
+ bannerFile?: {
3481
+ id: string;
3482
+ projectId: string;
3483
+ userId: string | null;
3484
+ entityId: string | null;
3485
+ commentId: string | null;
3486
+ spaceId: string | null;
3487
+ type: "image" | "video" | "document" | "other";
3488
+ originalPath: string;
3489
+ originalSize: number;
3490
+ originalMimeType: string;
3491
+ position: number;
3492
+ metadata: {
3493
+ [x: string]: any;
3494
+ };
3495
+ image?: {
3496
+ fileId: string;
3497
+ originalWidth: number;
3498
+ originalHeight: number;
3499
+ variants: {
3500
+ [x: string]: {
3501
+ path: string;
3502
+ publicPath: string;
3503
+ width: number;
3504
+ height: number;
3505
+ size: number;
3506
+ format: string;
3507
+ };
3508
+ };
3509
+ processingStatus: "completed" | "failed";
3510
+ processingError: string | null;
3511
+ format: string;
3512
+ quality: number;
3513
+ exifStripped: boolean;
3514
+ createdAt: Date;
3515
+ updatedAt: Date;
3516
+ } | undefined;
3517
+ createdAt: Date;
3518
+ updatedAt: Date;
3519
+ } | null | undefined;
1285
3520
  bio: string | null;
1286
3521
  birthdate: Date | null;
3522
+ location: {
3523
+ type: "Point";
3524
+ coordinates: [number, number];
3525
+ } | null;
1287
3526
  metadata: {
1288
3527
  [x: string]: any;
1289
3528
  };
1290
3529
  reputation: number;
1291
3530
  createdAt: Date;
1292
- location: {
1293
- type: "Point";
1294
- coordinates: [number, number];
1295
- } | null;
1296
3531
  } | null | undefined;
1297
3532
  title: string | null;
1298
3533
  content: string | null;
@@ -1304,9 +3539,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1304
3539
  attachments: {
1305
3540
  [x: string]: any;
1306
3541
  }[];
3542
+ files?: {
3543
+ id: string;
3544
+ projectId: string;
3545
+ userId: string | null;
3546
+ entityId: string | null;
3547
+ commentId: string | null;
3548
+ spaceId: string | null;
3549
+ type: "image" | "video" | "document" | "other";
3550
+ originalPath: string;
3551
+ originalSize: number;
3552
+ originalMimeType: string;
3553
+ position: number;
3554
+ metadata: {
3555
+ [x: string]: any;
3556
+ };
3557
+ image?: {
3558
+ fileId: string;
3559
+ originalWidth: number;
3560
+ originalHeight: number;
3561
+ variants: {
3562
+ [x: string]: {
3563
+ path: string;
3564
+ publicPath: string;
3565
+ width: number;
3566
+ height: number;
3567
+ size: number;
3568
+ format: string;
3569
+ };
3570
+ };
3571
+ processingStatus: "completed" | "failed";
3572
+ processingError: string | null;
3573
+ format: string;
3574
+ quality: number;
3575
+ exifStripped: boolean;
3576
+ createdAt: Date;
3577
+ updatedAt: Date;
3578
+ } | undefined;
3579
+ createdAt: Date;
3580
+ updatedAt: Date;
3581
+ }[] | undefined;
1307
3582
  keywords: string[];
1308
3583
  upvotes: string[];
1309
3584
  downvotes: string[];
3585
+ reactionCounts: {
3586
+ upvote: number;
3587
+ downvote: number;
3588
+ like: number;
3589
+ love: number;
3590
+ wow: number;
3591
+ sad: number;
3592
+ angry: number;
3593
+ funny: number;
3594
+ };
3595
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1310
3596
  repliesCount: number;
1311
3597
  views: number;
1312
3598
  score: number;
@@ -1328,22 +3614,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1328
3614
  name: string | null;
1329
3615
  username: string | null;
1330
3616
  avatar: string | null;
3617
+ avatarFileId: string | null;
3618
+ bannerFileId: string | null;
3619
+ avatarFile?: {
3620
+ id: string;
3621
+ projectId: string;
3622
+ userId: string | null;
3623
+ entityId: string | null;
3624
+ commentId: string | null;
3625
+ spaceId: string | null;
3626
+ type: "image" | "video" | "document" | "other";
3627
+ originalPath: string;
3628
+ originalSize: number;
3629
+ originalMimeType: string;
3630
+ position: number;
3631
+ metadata: {
3632
+ [x: string]: any;
3633
+ };
3634
+ image?: {
3635
+ fileId: string;
3636
+ originalWidth: number;
3637
+ originalHeight: number;
3638
+ variants: {
3639
+ [x: string]: {
3640
+ path: string;
3641
+ publicPath: string;
3642
+ width: number;
3643
+ height: number;
3644
+ size: number;
3645
+ format: string;
3646
+ };
3647
+ };
3648
+ processingStatus: "completed" | "failed";
3649
+ processingError: string | null;
3650
+ format: string;
3651
+ quality: number;
3652
+ exifStripped: boolean;
3653
+ createdAt: Date;
3654
+ updatedAt: Date;
3655
+ } | undefined;
3656
+ createdAt: Date;
3657
+ updatedAt: Date;
3658
+ } | null | undefined;
3659
+ bannerFile?: {
3660
+ id: string;
3661
+ projectId: string;
3662
+ userId: string | null;
3663
+ entityId: string | null;
3664
+ commentId: string | null;
3665
+ spaceId: string | null;
3666
+ type: "image" | "video" | "document" | "other";
3667
+ originalPath: string;
3668
+ originalSize: number;
3669
+ originalMimeType: string;
3670
+ position: number;
3671
+ metadata: {
3672
+ [x: string]: any;
3673
+ };
3674
+ image?: {
3675
+ fileId: string;
3676
+ originalWidth: number;
3677
+ originalHeight: number;
3678
+ variants: {
3679
+ [x: string]: {
3680
+ path: string;
3681
+ publicPath: string;
3682
+ width: number;
3683
+ height: number;
3684
+ size: number;
3685
+ format: string;
3686
+ };
3687
+ };
3688
+ processingStatus: "completed" | "failed";
3689
+ processingError: string | null;
3690
+ format: string;
3691
+ quality: number;
3692
+ exifStripped: boolean;
3693
+ createdAt: Date;
3694
+ updatedAt: Date;
3695
+ } | undefined;
3696
+ createdAt: Date;
3697
+ updatedAt: Date;
3698
+ } | null | undefined;
1331
3699
  bio: string | null;
1332
3700
  birthdate: Date | null;
3701
+ location: {
3702
+ type: "Point";
3703
+ coordinates: [number, number];
3704
+ } | null;
1333
3705
  metadata: {
1334
3706
  [x: string]: any;
1335
3707
  };
1336
3708
  reputation: number;
1337
3709
  createdAt: Date;
1338
- location: {
1339
- type: "Point";
1340
- coordinates: [number, number];
1341
- } | null;
1342
3710
  };
1343
3711
  upvotesCount: number;
1344
3712
  content: string;
1345
3713
  createdAt: string;
1346
3714
  } | null;
3715
+ isSaved?: boolean | undefined;
1347
3716
  createdAt: Date;
1348
3717
  updatedAt: Date;
1349
3718
  deletedAt: Date | null;
@@ -1418,8 +3787,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1418
3787
  slug: string | null;
1419
3788
  name: string;
1420
3789
  description: string | null;
1421
- avatar: string | null;
1422
- banner: string | null;
3790
+ avatarFileId: string | null;
3791
+ bannerFileId: string | null;
1423
3792
  userId: string;
1424
3793
  readingPermission: import("../..").ReadingPermission;
1425
3794
  postingPermission: import("../..").PostingPermission;
@@ -1435,6 +3804,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1435
3804
  membersCount: number;
1436
3805
  childSpacesCount: number;
1437
3806
  isMember?: boolean | undefined;
3807
+ avatarFile?: {
3808
+ id: string;
3809
+ projectId: string;
3810
+ userId: string | null;
3811
+ entityId: string | null;
3812
+ commentId: string | null;
3813
+ spaceId: string | null;
3814
+ type: "image" | "video" | "document" | "other";
3815
+ originalPath: string;
3816
+ originalSize: number;
3817
+ originalMimeType: string;
3818
+ position: number;
3819
+ metadata: {
3820
+ [x: string]: any;
3821
+ };
3822
+ image?: {
3823
+ fileId: string;
3824
+ originalWidth: number;
3825
+ originalHeight: number;
3826
+ variants: {
3827
+ [x: string]: {
3828
+ path: string;
3829
+ publicPath: string;
3830
+ width: number;
3831
+ height: number;
3832
+ size: number;
3833
+ format: string;
3834
+ };
3835
+ };
3836
+ processingStatus: "completed" | "failed";
3837
+ processingError: string | null;
3838
+ format: string;
3839
+ quality: number;
3840
+ exifStripped: boolean;
3841
+ createdAt: Date;
3842
+ updatedAt: Date;
3843
+ } | undefined;
3844
+ createdAt: Date;
3845
+ updatedAt: Date;
3846
+ } | undefined;
3847
+ bannerFile?: {
3848
+ id: string;
3849
+ projectId: string;
3850
+ userId: string | null;
3851
+ entityId: string | null;
3852
+ commentId: string | null;
3853
+ spaceId: string | null;
3854
+ type: "image" | "video" | "document" | "other";
3855
+ originalPath: string;
3856
+ originalSize: number;
3857
+ originalMimeType: string;
3858
+ position: number;
3859
+ metadata: {
3860
+ [x: string]: any;
3861
+ };
3862
+ image?: {
3863
+ fileId: string;
3864
+ originalWidth: number;
3865
+ originalHeight: number;
3866
+ variants: {
3867
+ [x: string]: {
3868
+ path: string;
3869
+ publicPath: string;
3870
+ width: number;
3871
+ height: number;
3872
+ size: number;
3873
+ format: string;
3874
+ };
3875
+ };
3876
+ processingStatus: "completed" | "failed";
3877
+ processingError: string | null;
3878
+ format: string;
3879
+ quality: number;
3880
+ exifStripped: boolean;
3881
+ createdAt: Date;
3882
+ updatedAt: Date;
3883
+ } | undefined;
3884
+ createdAt: Date;
3885
+ updatedAt: Date;
3886
+ } | undefined;
1438
3887
  } | null | undefined;
1439
3888
  user?: {
1440
3889
  id: string;
@@ -1444,17 +3893,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1444
3893
  name: string | null;
1445
3894
  username: string | null;
1446
3895
  avatar: string | null;
3896
+ avatarFileId: string | null;
3897
+ bannerFileId: string | null;
3898
+ avatarFile?: {
3899
+ id: string;
3900
+ projectId: string;
3901
+ userId: string | null;
3902
+ entityId: string | null;
3903
+ commentId: string | null;
3904
+ spaceId: string | null;
3905
+ type: "image" | "video" | "document" | "other";
3906
+ originalPath: string;
3907
+ originalSize: number;
3908
+ originalMimeType: string;
3909
+ position: number;
3910
+ metadata: {
3911
+ [x: string]: any;
3912
+ };
3913
+ image?: {
3914
+ fileId: string;
3915
+ originalWidth: number;
3916
+ originalHeight: number;
3917
+ variants: {
3918
+ [x: string]: {
3919
+ path: string;
3920
+ publicPath: string;
3921
+ width: number;
3922
+ height: number;
3923
+ size: number;
3924
+ format: string;
3925
+ };
3926
+ };
3927
+ processingStatus: "completed" | "failed";
3928
+ processingError: string | null;
3929
+ format: string;
3930
+ quality: number;
3931
+ exifStripped: boolean;
3932
+ createdAt: Date;
3933
+ updatedAt: Date;
3934
+ } | undefined;
3935
+ createdAt: Date;
3936
+ updatedAt: Date;
3937
+ } | null | undefined;
3938
+ bannerFile?: {
3939
+ id: string;
3940
+ projectId: string;
3941
+ userId: string | null;
3942
+ entityId: string | null;
3943
+ commentId: string | null;
3944
+ spaceId: string | null;
3945
+ type: "image" | "video" | "document" | "other";
3946
+ originalPath: string;
3947
+ originalSize: number;
3948
+ originalMimeType: string;
3949
+ position: number;
3950
+ metadata: {
3951
+ [x: string]: any;
3952
+ };
3953
+ image?: {
3954
+ fileId: string;
3955
+ originalWidth: number;
3956
+ originalHeight: number;
3957
+ variants: {
3958
+ [x: string]: {
3959
+ path: string;
3960
+ publicPath: string;
3961
+ width: number;
3962
+ height: number;
3963
+ size: number;
3964
+ format: string;
3965
+ };
3966
+ };
3967
+ processingStatus: "completed" | "failed";
3968
+ processingError: string | null;
3969
+ format: string;
3970
+ quality: number;
3971
+ exifStripped: boolean;
3972
+ createdAt: Date;
3973
+ updatedAt: Date;
3974
+ } | undefined;
3975
+ createdAt: Date;
3976
+ updatedAt: Date;
3977
+ } | null | undefined;
1447
3978
  bio: string | null;
1448
3979
  birthdate: Date | null;
3980
+ location: {
3981
+ type: "Point";
3982
+ coordinates: [number, number];
3983
+ } | null;
1449
3984
  metadata: {
1450
3985
  [x: string]: any;
1451
3986
  };
1452
3987
  reputation: number;
1453
3988
  createdAt: Date;
1454
- location: {
1455
- type: "Point";
1456
- coordinates: [number, number];
1457
- } | null;
1458
3989
  } | null | undefined;
1459
3990
  title: string | null;
1460
3991
  content: string | null;
@@ -1466,9 +3997,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1466
3997
  attachments: {
1467
3998
  [x: string]: any;
1468
3999
  }[];
4000
+ files?: {
4001
+ id: string;
4002
+ projectId: string;
4003
+ userId: string | null;
4004
+ entityId: string | null;
4005
+ commentId: string | null;
4006
+ spaceId: string | null;
4007
+ type: "image" | "video" | "document" | "other";
4008
+ originalPath: string;
4009
+ originalSize: number;
4010
+ originalMimeType: string;
4011
+ position: number;
4012
+ metadata: {
4013
+ [x: string]: any;
4014
+ };
4015
+ image?: {
4016
+ fileId: string;
4017
+ originalWidth: number;
4018
+ originalHeight: number;
4019
+ variants: {
4020
+ [x: string]: {
4021
+ path: string;
4022
+ publicPath: string;
4023
+ width: number;
4024
+ height: number;
4025
+ size: number;
4026
+ format: string;
4027
+ };
4028
+ };
4029
+ processingStatus: "completed" | "failed";
4030
+ processingError: string | null;
4031
+ format: string;
4032
+ quality: number;
4033
+ exifStripped: boolean;
4034
+ createdAt: Date;
4035
+ updatedAt: Date;
4036
+ } | undefined;
4037
+ createdAt: Date;
4038
+ updatedAt: Date;
4039
+ }[] | undefined;
1469
4040
  keywords: string[];
1470
4041
  upvotes: string[];
1471
4042
  downvotes: string[];
4043
+ reactionCounts: {
4044
+ upvote: number;
4045
+ downvote: number;
4046
+ like: number;
4047
+ love: number;
4048
+ wow: number;
4049
+ sad: number;
4050
+ angry: number;
4051
+ funny: number;
4052
+ };
4053
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1472
4054
  repliesCount: number;
1473
4055
  views: number;
1474
4056
  score: number;
@@ -1490,22 +4072,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1490
4072
  name: string | null;
1491
4073
  username: string | null;
1492
4074
  avatar: string | null;
4075
+ avatarFileId: string | null;
4076
+ bannerFileId: string | null;
4077
+ avatarFile?: {
4078
+ id: string;
4079
+ projectId: string;
4080
+ userId: string | null;
4081
+ entityId: string | null;
4082
+ commentId: string | null;
4083
+ spaceId: string | null;
4084
+ type: "image" | "video" | "document" | "other";
4085
+ originalPath: string;
4086
+ originalSize: number;
4087
+ originalMimeType: string;
4088
+ position: number;
4089
+ metadata: {
4090
+ [x: string]: any;
4091
+ };
4092
+ image?: {
4093
+ fileId: string;
4094
+ originalWidth: number;
4095
+ originalHeight: number;
4096
+ variants: {
4097
+ [x: string]: {
4098
+ path: string;
4099
+ publicPath: string;
4100
+ width: number;
4101
+ height: number;
4102
+ size: number;
4103
+ format: string;
4104
+ };
4105
+ };
4106
+ processingStatus: "completed" | "failed";
4107
+ processingError: string | null;
4108
+ format: string;
4109
+ quality: number;
4110
+ exifStripped: boolean;
4111
+ createdAt: Date;
4112
+ updatedAt: Date;
4113
+ } | undefined;
4114
+ createdAt: Date;
4115
+ updatedAt: Date;
4116
+ } | null | undefined;
4117
+ bannerFile?: {
4118
+ id: string;
4119
+ projectId: string;
4120
+ userId: string | null;
4121
+ entityId: string | null;
4122
+ commentId: string | null;
4123
+ spaceId: string | null;
4124
+ type: "image" | "video" | "document" | "other";
4125
+ originalPath: string;
4126
+ originalSize: number;
4127
+ originalMimeType: string;
4128
+ position: number;
4129
+ metadata: {
4130
+ [x: string]: any;
4131
+ };
4132
+ image?: {
4133
+ fileId: string;
4134
+ originalWidth: number;
4135
+ originalHeight: number;
4136
+ variants: {
4137
+ [x: string]: {
4138
+ path: string;
4139
+ publicPath: string;
4140
+ width: number;
4141
+ height: number;
4142
+ size: number;
4143
+ format: string;
4144
+ };
4145
+ };
4146
+ processingStatus: "completed" | "failed";
4147
+ processingError: string | null;
4148
+ format: string;
4149
+ quality: number;
4150
+ exifStripped: boolean;
4151
+ createdAt: Date;
4152
+ updatedAt: Date;
4153
+ } | undefined;
4154
+ createdAt: Date;
4155
+ updatedAt: Date;
4156
+ } | null | undefined;
1493
4157
  bio: string | null;
1494
4158
  birthdate: Date | null;
4159
+ location: {
4160
+ type: "Point";
4161
+ coordinates: [number, number];
4162
+ } | null;
1495
4163
  metadata: {
1496
4164
  [x: string]: any;
1497
4165
  };
1498
4166
  reputation: number;
1499
4167
  createdAt: Date;
1500
- location: {
1501
- type: "Point";
1502
- coordinates: [number, number];
1503
- } | null;
1504
4168
  };
1505
4169
  upvotesCount: number;
1506
4170
  content: string;
1507
4171
  createdAt: string;
1508
4172
  } | null;
4173
+ isSaved?: boolean | undefined;
1509
4174
  createdAt: Date;
1510
4175
  updatedAt: Date;
1511
4176
  deletedAt: Date | null;
@@ -1580,8 +4245,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1580
4245
  slug: string | null;
1581
4246
  name: string;
1582
4247
  description: string | null;
1583
- avatar: string | null;
1584
- banner: string | null;
4248
+ avatarFileId: string | null;
4249
+ bannerFileId: string | null;
1585
4250
  userId: string;
1586
4251
  readingPermission: import("../..").ReadingPermission;
1587
4252
  postingPermission: import("../..").PostingPermission;
@@ -1597,6 +4262,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1597
4262
  membersCount: number;
1598
4263
  childSpacesCount: number;
1599
4264
  isMember?: boolean | undefined;
4265
+ avatarFile?: {
4266
+ id: string;
4267
+ projectId: string;
4268
+ userId: string | null;
4269
+ entityId: string | null;
4270
+ commentId: string | null;
4271
+ spaceId: string | null;
4272
+ type: "image" | "video" | "document" | "other";
4273
+ originalPath: string;
4274
+ originalSize: number;
4275
+ originalMimeType: string;
4276
+ position: number;
4277
+ metadata: {
4278
+ [x: string]: any;
4279
+ };
4280
+ image?: {
4281
+ fileId: string;
4282
+ originalWidth: number;
4283
+ originalHeight: number;
4284
+ variants: {
4285
+ [x: string]: {
4286
+ path: string;
4287
+ publicPath: string;
4288
+ width: number;
4289
+ height: number;
4290
+ size: number;
4291
+ format: string;
4292
+ };
4293
+ };
4294
+ processingStatus: "completed" | "failed";
4295
+ processingError: string | null;
4296
+ format: string;
4297
+ quality: number;
4298
+ exifStripped: boolean;
4299
+ createdAt: Date;
4300
+ updatedAt: Date;
4301
+ } | undefined;
4302
+ createdAt: Date;
4303
+ updatedAt: Date;
4304
+ } | undefined;
4305
+ bannerFile?: {
4306
+ id: string;
4307
+ projectId: string;
4308
+ userId: string | null;
4309
+ entityId: string | null;
4310
+ commentId: string | null;
4311
+ spaceId: string | null;
4312
+ type: "image" | "video" | "document" | "other";
4313
+ originalPath: string;
4314
+ originalSize: number;
4315
+ originalMimeType: string;
4316
+ position: number;
4317
+ metadata: {
4318
+ [x: string]: any;
4319
+ };
4320
+ image?: {
4321
+ fileId: string;
4322
+ originalWidth: number;
4323
+ originalHeight: number;
4324
+ variants: {
4325
+ [x: string]: {
4326
+ path: string;
4327
+ publicPath: string;
4328
+ width: number;
4329
+ height: number;
4330
+ size: number;
4331
+ format: string;
4332
+ };
4333
+ };
4334
+ processingStatus: "completed" | "failed";
4335
+ processingError: string | null;
4336
+ format: string;
4337
+ quality: number;
4338
+ exifStripped: boolean;
4339
+ createdAt: Date;
4340
+ updatedAt: Date;
4341
+ } | undefined;
4342
+ createdAt: Date;
4343
+ updatedAt: Date;
4344
+ } | undefined;
1600
4345
  } | null | undefined;
1601
4346
  user?: {
1602
4347
  id: string;
@@ -1606,17 +4351,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1606
4351
  name: string | null;
1607
4352
  username: string | null;
1608
4353
  avatar: string | null;
4354
+ avatarFileId: string | null;
4355
+ bannerFileId: string | null;
4356
+ avatarFile?: {
4357
+ id: string;
4358
+ projectId: string;
4359
+ userId: string | null;
4360
+ entityId: string | null;
4361
+ commentId: string | null;
4362
+ spaceId: string | null;
4363
+ type: "image" | "video" | "document" | "other";
4364
+ originalPath: string;
4365
+ originalSize: number;
4366
+ originalMimeType: string;
4367
+ position: number;
4368
+ metadata: {
4369
+ [x: string]: any;
4370
+ };
4371
+ image?: {
4372
+ fileId: string;
4373
+ originalWidth: number;
4374
+ originalHeight: number;
4375
+ variants: {
4376
+ [x: string]: {
4377
+ path: string;
4378
+ publicPath: string;
4379
+ width: number;
4380
+ height: number;
4381
+ size: number;
4382
+ format: string;
4383
+ };
4384
+ };
4385
+ processingStatus: "completed" | "failed";
4386
+ processingError: string | null;
4387
+ format: string;
4388
+ quality: number;
4389
+ exifStripped: boolean;
4390
+ createdAt: Date;
4391
+ updatedAt: Date;
4392
+ } | undefined;
4393
+ createdAt: Date;
4394
+ updatedAt: Date;
4395
+ } | null | undefined;
4396
+ bannerFile?: {
4397
+ id: string;
4398
+ projectId: string;
4399
+ userId: string | null;
4400
+ entityId: string | null;
4401
+ commentId: string | null;
4402
+ spaceId: string | null;
4403
+ type: "image" | "video" | "document" | "other";
4404
+ originalPath: string;
4405
+ originalSize: number;
4406
+ originalMimeType: string;
4407
+ position: number;
4408
+ metadata: {
4409
+ [x: string]: any;
4410
+ };
4411
+ image?: {
4412
+ fileId: string;
4413
+ originalWidth: number;
4414
+ originalHeight: number;
4415
+ variants: {
4416
+ [x: string]: {
4417
+ path: string;
4418
+ publicPath: string;
4419
+ width: number;
4420
+ height: number;
4421
+ size: number;
4422
+ format: string;
4423
+ };
4424
+ };
4425
+ processingStatus: "completed" | "failed";
4426
+ processingError: string | null;
4427
+ format: string;
4428
+ quality: number;
4429
+ exifStripped: boolean;
4430
+ createdAt: Date;
4431
+ updatedAt: Date;
4432
+ } | undefined;
4433
+ createdAt: Date;
4434
+ updatedAt: Date;
4435
+ } | null | undefined;
1609
4436
  bio: string | null;
1610
4437
  birthdate: Date | null;
4438
+ location: {
4439
+ type: "Point";
4440
+ coordinates: [number, number];
4441
+ } | null;
1611
4442
  metadata: {
1612
4443
  [x: string]: any;
1613
4444
  };
1614
4445
  reputation: number;
1615
4446
  createdAt: Date;
1616
- location: {
1617
- type: "Point";
1618
- coordinates: [number, number];
1619
- } | null;
1620
4447
  } | null | undefined;
1621
4448
  title: string | null;
1622
4449
  content: string | null;
@@ -1628,9 +4455,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1628
4455
  attachments: {
1629
4456
  [x: string]: any;
1630
4457
  }[];
4458
+ files?: {
4459
+ id: string;
4460
+ projectId: string;
4461
+ userId: string | null;
4462
+ entityId: string | null;
4463
+ commentId: string | null;
4464
+ spaceId: string | null;
4465
+ type: "image" | "video" | "document" | "other";
4466
+ originalPath: string;
4467
+ originalSize: number;
4468
+ originalMimeType: string;
4469
+ position: number;
4470
+ metadata: {
4471
+ [x: string]: any;
4472
+ };
4473
+ image?: {
4474
+ fileId: string;
4475
+ originalWidth: number;
4476
+ originalHeight: number;
4477
+ variants: {
4478
+ [x: string]: {
4479
+ path: string;
4480
+ publicPath: string;
4481
+ width: number;
4482
+ height: number;
4483
+ size: number;
4484
+ format: string;
4485
+ };
4486
+ };
4487
+ processingStatus: "completed" | "failed";
4488
+ processingError: string | null;
4489
+ format: string;
4490
+ quality: number;
4491
+ exifStripped: boolean;
4492
+ createdAt: Date;
4493
+ updatedAt: Date;
4494
+ } | undefined;
4495
+ createdAt: Date;
4496
+ updatedAt: Date;
4497
+ }[] | undefined;
1631
4498
  keywords: string[];
1632
4499
  upvotes: string[];
1633
4500
  downvotes: string[];
4501
+ reactionCounts: {
4502
+ upvote: number;
4503
+ downvote: number;
4504
+ like: number;
4505
+ love: number;
4506
+ wow: number;
4507
+ sad: number;
4508
+ angry: number;
4509
+ funny: number;
4510
+ };
4511
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1634
4512
  repliesCount: number;
1635
4513
  views: number;
1636
4514
  score: number;
@@ -1652,22 +4530,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1652
4530
  name: string | null;
1653
4531
  username: string | null;
1654
4532
  avatar: string | null;
4533
+ avatarFileId: string | null;
4534
+ bannerFileId: string | null;
4535
+ avatarFile?: {
4536
+ id: string;
4537
+ projectId: string;
4538
+ userId: string | null;
4539
+ entityId: string | null;
4540
+ commentId: string | null;
4541
+ spaceId: string | null;
4542
+ type: "image" | "video" | "document" | "other";
4543
+ originalPath: string;
4544
+ originalSize: number;
4545
+ originalMimeType: string;
4546
+ position: number;
4547
+ metadata: {
4548
+ [x: string]: any;
4549
+ };
4550
+ image?: {
4551
+ fileId: string;
4552
+ originalWidth: number;
4553
+ originalHeight: number;
4554
+ variants: {
4555
+ [x: string]: {
4556
+ path: string;
4557
+ publicPath: string;
4558
+ width: number;
4559
+ height: number;
4560
+ size: number;
4561
+ format: string;
4562
+ };
4563
+ };
4564
+ processingStatus: "completed" | "failed";
4565
+ processingError: string | null;
4566
+ format: string;
4567
+ quality: number;
4568
+ exifStripped: boolean;
4569
+ createdAt: Date;
4570
+ updatedAt: Date;
4571
+ } | undefined;
4572
+ createdAt: Date;
4573
+ updatedAt: Date;
4574
+ } | null | undefined;
4575
+ bannerFile?: {
4576
+ id: string;
4577
+ projectId: string;
4578
+ userId: string | null;
4579
+ entityId: string | null;
4580
+ commentId: string | null;
4581
+ spaceId: string | null;
4582
+ type: "image" | "video" | "document" | "other";
4583
+ originalPath: string;
4584
+ originalSize: number;
4585
+ originalMimeType: string;
4586
+ position: number;
4587
+ metadata: {
4588
+ [x: string]: any;
4589
+ };
4590
+ image?: {
4591
+ fileId: string;
4592
+ originalWidth: number;
4593
+ originalHeight: number;
4594
+ variants: {
4595
+ [x: string]: {
4596
+ path: string;
4597
+ publicPath: string;
4598
+ width: number;
4599
+ height: number;
4600
+ size: number;
4601
+ format: string;
4602
+ };
4603
+ };
4604
+ processingStatus: "completed" | "failed";
4605
+ processingError: string | null;
4606
+ format: string;
4607
+ quality: number;
4608
+ exifStripped: boolean;
4609
+ createdAt: Date;
4610
+ updatedAt: Date;
4611
+ } | undefined;
4612
+ createdAt: Date;
4613
+ updatedAt: Date;
4614
+ } | null | undefined;
1655
4615
  bio: string | null;
1656
4616
  birthdate: Date | null;
4617
+ location: {
4618
+ type: "Point";
4619
+ coordinates: [number, number];
4620
+ } | null;
1657
4621
  metadata: {
1658
4622
  [x: string]: any;
1659
4623
  };
1660
4624
  reputation: number;
1661
4625
  createdAt: Date;
1662
- location: {
1663
- type: "Point";
1664
- coordinates: [number, number];
1665
- } | null;
1666
4626
  };
1667
4627
  upvotesCount: number;
1668
4628
  content: string;
1669
4629
  createdAt: string;
1670
4630
  } | null;
4631
+ isSaved?: boolean | undefined;
1671
4632
  createdAt: Date;
1672
4633
  updatedAt: Date;
1673
4634
  deletedAt: Date | null;
@@ -1742,8 +4703,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1742
4703
  slug: string | null;
1743
4704
  name: string;
1744
4705
  description: string | null;
1745
- avatar: string | null;
1746
- banner: string | null;
4706
+ avatarFileId: string | null;
4707
+ bannerFileId: string | null;
1747
4708
  userId: string;
1748
4709
  readingPermission: import("../..").ReadingPermission;
1749
4710
  postingPermission: import("../..").PostingPermission;
@@ -1759,6 +4720,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1759
4720
  membersCount: number;
1760
4721
  childSpacesCount: number;
1761
4722
  isMember?: boolean | undefined;
4723
+ avatarFile?: {
4724
+ id: string;
4725
+ projectId: string;
4726
+ userId: string | null;
4727
+ entityId: string | null;
4728
+ commentId: string | null;
4729
+ spaceId: string | null;
4730
+ type: "image" | "video" | "document" | "other";
4731
+ originalPath: string;
4732
+ originalSize: number;
4733
+ originalMimeType: string;
4734
+ position: number;
4735
+ metadata: {
4736
+ [x: string]: any;
4737
+ };
4738
+ image?: {
4739
+ fileId: string;
4740
+ originalWidth: number;
4741
+ originalHeight: number;
4742
+ variants: {
4743
+ [x: string]: {
4744
+ path: string;
4745
+ publicPath: string;
4746
+ width: number;
4747
+ height: number;
4748
+ size: number;
4749
+ format: string;
4750
+ };
4751
+ };
4752
+ processingStatus: "completed" | "failed";
4753
+ processingError: string | null;
4754
+ format: string;
4755
+ quality: number;
4756
+ exifStripped: boolean;
4757
+ createdAt: Date;
4758
+ updatedAt: Date;
4759
+ } | undefined;
4760
+ createdAt: Date;
4761
+ updatedAt: Date;
4762
+ } | undefined;
4763
+ bannerFile?: {
4764
+ id: string;
4765
+ projectId: string;
4766
+ userId: string | null;
4767
+ entityId: string | null;
4768
+ commentId: string | null;
4769
+ spaceId: string | null;
4770
+ type: "image" | "video" | "document" | "other";
4771
+ originalPath: string;
4772
+ originalSize: number;
4773
+ originalMimeType: string;
4774
+ position: number;
4775
+ metadata: {
4776
+ [x: string]: any;
4777
+ };
4778
+ image?: {
4779
+ fileId: string;
4780
+ originalWidth: number;
4781
+ originalHeight: number;
4782
+ variants: {
4783
+ [x: string]: {
4784
+ path: string;
4785
+ publicPath: string;
4786
+ width: number;
4787
+ height: number;
4788
+ size: number;
4789
+ format: string;
4790
+ };
4791
+ };
4792
+ processingStatus: "completed" | "failed";
4793
+ processingError: string | null;
4794
+ format: string;
4795
+ quality: number;
4796
+ exifStripped: boolean;
4797
+ createdAt: Date;
4798
+ updatedAt: Date;
4799
+ } | undefined;
4800
+ createdAt: Date;
4801
+ updatedAt: Date;
4802
+ } | undefined;
1762
4803
  } | null | undefined;
1763
4804
  user?: {
1764
4805
  id: string;
@@ -1768,17 +4809,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1768
4809
  name: string | null;
1769
4810
  username: string | null;
1770
4811
  avatar: string | null;
4812
+ avatarFileId: string | null;
4813
+ bannerFileId: string | null;
4814
+ avatarFile?: {
4815
+ id: string;
4816
+ projectId: string;
4817
+ userId: string | null;
4818
+ entityId: string | null;
4819
+ commentId: string | null;
4820
+ spaceId: string | null;
4821
+ type: "image" | "video" | "document" | "other";
4822
+ originalPath: string;
4823
+ originalSize: number;
4824
+ originalMimeType: string;
4825
+ position: number;
4826
+ metadata: {
4827
+ [x: string]: any;
4828
+ };
4829
+ image?: {
4830
+ fileId: string;
4831
+ originalWidth: number;
4832
+ originalHeight: number;
4833
+ variants: {
4834
+ [x: string]: {
4835
+ path: string;
4836
+ publicPath: string;
4837
+ width: number;
4838
+ height: number;
4839
+ size: number;
4840
+ format: string;
4841
+ };
4842
+ };
4843
+ processingStatus: "completed" | "failed";
4844
+ processingError: string | null;
4845
+ format: string;
4846
+ quality: number;
4847
+ exifStripped: boolean;
4848
+ createdAt: Date;
4849
+ updatedAt: Date;
4850
+ } | undefined;
4851
+ createdAt: Date;
4852
+ updatedAt: Date;
4853
+ } | null | undefined;
4854
+ bannerFile?: {
4855
+ id: string;
4856
+ projectId: string;
4857
+ userId: string | null;
4858
+ entityId: string | null;
4859
+ commentId: string | null;
4860
+ spaceId: string | null;
4861
+ type: "image" | "video" | "document" | "other";
4862
+ originalPath: string;
4863
+ originalSize: number;
4864
+ originalMimeType: string;
4865
+ position: number;
4866
+ metadata: {
4867
+ [x: string]: any;
4868
+ };
4869
+ image?: {
4870
+ fileId: string;
4871
+ originalWidth: number;
4872
+ originalHeight: number;
4873
+ variants: {
4874
+ [x: string]: {
4875
+ path: string;
4876
+ publicPath: string;
4877
+ width: number;
4878
+ height: number;
4879
+ size: number;
4880
+ format: string;
4881
+ };
4882
+ };
4883
+ processingStatus: "completed" | "failed";
4884
+ processingError: string | null;
4885
+ format: string;
4886
+ quality: number;
4887
+ exifStripped: boolean;
4888
+ createdAt: Date;
4889
+ updatedAt: Date;
4890
+ } | undefined;
4891
+ createdAt: Date;
4892
+ updatedAt: Date;
4893
+ } | null | undefined;
1771
4894
  bio: string | null;
1772
4895
  birthdate: Date | null;
4896
+ location: {
4897
+ type: "Point";
4898
+ coordinates: [number, number];
4899
+ } | null;
1773
4900
  metadata: {
1774
4901
  [x: string]: any;
1775
4902
  };
1776
4903
  reputation: number;
1777
4904
  createdAt: Date;
1778
- location: {
1779
- type: "Point";
1780
- coordinates: [number, number];
1781
- } | null;
1782
4905
  } | null | undefined;
1783
4906
  title: string | null;
1784
4907
  content: string | null;
@@ -1790,9 +4913,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1790
4913
  attachments: {
1791
4914
  [x: string]: any;
1792
4915
  }[];
4916
+ files?: {
4917
+ id: string;
4918
+ projectId: string;
4919
+ userId: string | null;
4920
+ entityId: string | null;
4921
+ commentId: string | null;
4922
+ spaceId: string | null;
4923
+ type: "image" | "video" | "document" | "other";
4924
+ originalPath: string;
4925
+ originalSize: number;
4926
+ originalMimeType: string;
4927
+ position: number;
4928
+ metadata: {
4929
+ [x: string]: any;
4930
+ };
4931
+ image?: {
4932
+ fileId: string;
4933
+ originalWidth: number;
4934
+ originalHeight: number;
4935
+ variants: {
4936
+ [x: string]: {
4937
+ path: string;
4938
+ publicPath: string;
4939
+ width: number;
4940
+ height: number;
4941
+ size: number;
4942
+ format: string;
4943
+ };
4944
+ };
4945
+ processingStatus: "completed" | "failed";
4946
+ processingError: string | null;
4947
+ format: string;
4948
+ quality: number;
4949
+ exifStripped: boolean;
4950
+ createdAt: Date;
4951
+ updatedAt: Date;
4952
+ } | undefined;
4953
+ createdAt: Date;
4954
+ updatedAt: Date;
4955
+ }[] | undefined;
1793
4956
  keywords: string[];
1794
4957
  upvotes: string[];
1795
4958
  downvotes: string[];
4959
+ reactionCounts: {
4960
+ upvote: number;
4961
+ downvote: number;
4962
+ like: number;
4963
+ love: number;
4964
+ wow: number;
4965
+ sad: number;
4966
+ angry: number;
4967
+ funny: number;
4968
+ };
4969
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1796
4970
  repliesCount: number;
1797
4971
  views: number;
1798
4972
  score: number;
@@ -1814,22 +4988,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1814
4988
  name: string | null;
1815
4989
  username: string | null;
1816
4990
  avatar: string | null;
4991
+ avatarFileId: string | null;
4992
+ bannerFileId: string | null;
4993
+ avatarFile?: {
4994
+ id: string;
4995
+ projectId: string;
4996
+ userId: string | null;
4997
+ entityId: string | null;
4998
+ commentId: string | null;
4999
+ spaceId: string | null;
5000
+ type: "image" | "video" | "document" | "other";
5001
+ originalPath: string;
5002
+ originalSize: number;
5003
+ originalMimeType: string;
5004
+ position: number;
5005
+ metadata: {
5006
+ [x: string]: any;
5007
+ };
5008
+ image?: {
5009
+ fileId: string;
5010
+ originalWidth: number;
5011
+ originalHeight: number;
5012
+ variants: {
5013
+ [x: string]: {
5014
+ path: string;
5015
+ publicPath: string;
5016
+ width: number;
5017
+ height: number;
5018
+ size: number;
5019
+ format: string;
5020
+ };
5021
+ };
5022
+ processingStatus: "completed" | "failed";
5023
+ processingError: string | null;
5024
+ format: string;
5025
+ quality: number;
5026
+ exifStripped: boolean;
5027
+ createdAt: Date;
5028
+ updatedAt: Date;
5029
+ } | undefined;
5030
+ createdAt: Date;
5031
+ updatedAt: Date;
5032
+ } | null | undefined;
5033
+ bannerFile?: {
5034
+ id: string;
5035
+ projectId: string;
5036
+ userId: string | null;
5037
+ entityId: string | null;
5038
+ commentId: string | null;
5039
+ spaceId: string | null;
5040
+ type: "image" | "video" | "document" | "other";
5041
+ originalPath: string;
5042
+ originalSize: number;
5043
+ originalMimeType: string;
5044
+ position: number;
5045
+ metadata: {
5046
+ [x: string]: any;
5047
+ };
5048
+ image?: {
5049
+ fileId: string;
5050
+ originalWidth: number;
5051
+ originalHeight: number;
5052
+ variants: {
5053
+ [x: string]: {
5054
+ path: string;
5055
+ publicPath: string;
5056
+ width: number;
5057
+ height: number;
5058
+ size: number;
5059
+ format: string;
5060
+ };
5061
+ };
5062
+ processingStatus: "completed" | "failed";
5063
+ processingError: string | null;
5064
+ format: string;
5065
+ quality: number;
5066
+ exifStripped: boolean;
5067
+ createdAt: Date;
5068
+ updatedAt: Date;
5069
+ } | undefined;
5070
+ createdAt: Date;
5071
+ updatedAt: Date;
5072
+ } | null | undefined;
1817
5073
  bio: string | null;
1818
5074
  birthdate: Date | null;
5075
+ location: {
5076
+ type: "Point";
5077
+ coordinates: [number, number];
5078
+ } | null;
1819
5079
  metadata: {
1820
5080
  [x: string]: any;
1821
5081
  };
1822
5082
  reputation: number;
1823
5083
  createdAt: Date;
1824
- location: {
1825
- type: "Point";
1826
- coordinates: [number, number];
1827
- } | null;
1828
5084
  };
1829
5085
  upvotesCount: number;
1830
5086
  content: string;
1831
5087
  createdAt: string;
1832
5088
  } | null;
5089
+ isSaved?: boolean | undefined;
1833
5090
  createdAt: Date;
1834
5091
  updatedAt: Date;
1835
5092
  deletedAt: Date | null;
@@ -1904,8 +5161,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1904
5161
  slug: string | null;
1905
5162
  name: string;
1906
5163
  description: string | null;
1907
- avatar: string | null;
1908
- banner: string | null;
5164
+ avatarFileId: string | null;
5165
+ bannerFileId: string | null;
1909
5166
  userId: string;
1910
5167
  readingPermission: import("../..").ReadingPermission;
1911
5168
  postingPermission: import("../..").PostingPermission;
@@ -1921,6 +5178,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1921
5178
  membersCount: number;
1922
5179
  childSpacesCount: number;
1923
5180
  isMember?: boolean | undefined;
5181
+ avatarFile?: {
5182
+ id: string;
5183
+ projectId: string;
5184
+ userId: string | null;
5185
+ entityId: string | null;
5186
+ commentId: string | null;
5187
+ spaceId: string | null;
5188
+ type: "image" | "video" | "document" | "other";
5189
+ originalPath: string;
5190
+ originalSize: number;
5191
+ originalMimeType: string;
5192
+ position: number;
5193
+ metadata: {
5194
+ [x: string]: any;
5195
+ };
5196
+ image?: {
5197
+ fileId: string;
5198
+ originalWidth: number;
5199
+ originalHeight: number;
5200
+ variants: {
5201
+ [x: string]: {
5202
+ path: string;
5203
+ publicPath: string;
5204
+ width: number;
5205
+ height: number;
5206
+ size: number;
5207
+ format: string;
5208
+ };
5209
+ };
5210
+ processingStatus: "completed" | "failed";
5211
+ processingError: string | null;
5212
+ format: string;
5213
+ quality: number;
5214
+ exifStripped: boolean;
5215
+ createdAt: Date;
5216
+ updatedAt: Date;
5217
+ } | undefined;
5218
+ createdAt: Date;
5219
+ updatedAt: Date;
5220
+ } | undefined;
5221
+ bannerFile?: {
5222
+ id: string;
5223
+ projectId: string;
5224
+ userId: string | null;
5225
+ entityId: string | null;
5226
+ commentId: string | null;
5227
+ spaceId: string | null;
5228
+ type: "image" | "video" | "document" | "other";
5229
+ originalPath: string;
5230
+ originalSize: number;
5231
+ originalMimeType: string;
5232
+ position: number;
5233
+ metadata: {
5234
+ [x: string]: any;
5235
+ };
5236
+ image?: {
5237
+ fileId: string;
5238
+ originalWidth: number;
5239
+ originalHeight: number;
5240
+ variants: {
5241
+ [x: string]: {
5242
+ path: string;
5243
+ publicPath: string;
5244
+ width: number;
5245
+ height: number;
5246
+ size: number;
5247
+ format: string;
5248
+ };
5249
+ };
5250
+ processingStatus: "completed" | "failed";
5251
+ processingError: string | null;
5252
+ format: string;
5253
+ quality: number;
5254
+ exifStripped: boolean;
5255
+ createdAt: Date;
5256
+ updatedAt: Date;
5257
+ } | undefined;
5258
+ createdAt: Date;
5259
+ updatedAt: Date;
5260
+ } | undefined;
1924
5261
  } | null | undefined;
1925
5262
  user?: {
1926
5263
  id: string;
@@ -1930,17 +5267,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1930
5267
  name: string | null;
1931
5268
  username: string | null;
1932
5269
  avatar: string | null;
5270
+ avatarFileId: string | null;
5271
+ bannerFileId: string | null;
5272
+ avatarFile?: {
5273
+ id: string;
5274
+ projectId: string;
5275
+ userId: string | null;
5276
+ entityId: string | null;
5277
+ commentId: string | null;
5278
+ spaceId: string | null;
5279
+ type: "image" | "video" | "document" | "other";
5280
+ originalPath: string;
5281
+ originalSize: number;
5282
+ originalMimeType: string;
5283
+ position: number;
5284
+ metadata: {
5285
+ [x: string]: any;
5286
+ };
5287
+ image?: {
5288
+ fileId: string;
5289
+ originalWidth: number;
5290
+ originalHeight: number;
5291
+ variants: {
5292
+ [x: string]: {
5293
+ path: string;
5294
+ publicPath: string;
5295
+ width: number;
5296
+ height: number;
5297
+ size: number;
5298
+ format: string;
5299
+ };
5300
+ };
5301
+ processingStatus: "completed" | "failed";
5302
+ processingError: string | null;
5303
+ format: string;
5304
+ quality: number;
5305
+ exifStripped: boolean;
5306
+ createdAt: Date;
5307
+ updatedAt: Date;
5308
+ } | undefined;
5309
+ createdAt: Date;
5310
+ updatedAt: Date;
5311
+ } | null | undefined;
5312
+ bannerFile?: {
5313
+ id: string;
5314
+ projectId: string;
5315
+ userId: string | null;
5316
+ entityId: string | null;
5317
+ commentId: string | null;
5318
+ spaceId: string | null;
5319
+ type: "image" | "video" | "document" | "other";
5320
+ originalPath: string;
5321
+ originalSize: number;
5322
+ originalMimeType: string;
5323
+ position: number;
5324
+ metadata: {
5325
+ [x: string]: any;
5326
+ };
5327
+ image?: {
5328
+ fileId: string;
5329
+ originalWidth: number;
5330
+ originalHeight: number;
5331
+ variants: {
5332
+ [x: string]: {
5333
+ path: string;
5334
+ publicPath: string;
5335
+ width: number;
5336
+ height: number;
5337
+ size: number;
5338
+ format: string;
5339
+ };
5340
+ };
5341
+ processingStatus: "completed" | "failed";
5342
+ processingError: string | null;
5343
+ format: string;
5344
+ quality: number;
5345
+ exifStripped: boolean;
5346
+ createdAt: Date;
5347
+ updatedAt: Date;
5348
+ } | undefined;
5349
+ createdAt: Date;
5350
+ updatedAt: Date;
5351
+ } | null | undefined;
1933
5352
  bio: string | null;
1934
5353
  birthdate: Date | null;
5354
+ location: {
5355
+ type: "Point";
5356
+ coordinates: [number, number];
5357
+ } | null;
1935
5358
  metadata: {
1936
5359
  [x: string]: any;
1937
5360
  };
1938
5361
  reputation: number;
1939
5362
  createdAt: Date;
1940
- location: {
1941
- type: "Point";
1942
- coordinates: [number, number];
1943
- } | null;
1944
5363
  } | null | undefined;
1945
5364
  title: string | null;
1946
5365
  content: string | null;
@@ -1952,9 +5371,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1952
5371
  attachments: {
1953
5372
  [x: string]: any;
1954
5373
  }[];
5374
+ files?: {
5375
+ id: string;
5376
+ projectId: string;
5377
+ userId: string | null;
5378
+ entityId: string | null;
5379
+ commentId: string | null;
5380
+ spaceId: string | null;
5381
+ type: "image" | "video" | "document" | "other";
5382
+ originalPath: string;
5383
+ originalSize: number;
5384
+ originalMimeType: string;
5385
+ position: number;
5386
+ metadata: {
5387
+ [x: string]: any;
5388
+ };
5389
+ image?: {
5390
+ fileId: string;
5391
+ originalWidth: number;
5392
+ originalHeight: number;
5393
+ variants: {
5394
+ [x: string]: {
5395
+ path: string;
5396
+ publicPath: string;
5397
+ width: number;
5398
+ height: number;
5399
+ size: number;
5400
+ format: string;
5401
+ };
5402
+ };
5403
+ processingStatus: "completed" | "failed";
5404
+ processingError: string | null;
5405
+ format: string;
5406
+ quality: number;
5407
+ exifStripped: boolean;
5408
+ createdAt: Date;
5409
+ updatedAt: Date;
5410
+ } | undefined;
5411
+ createdAt: Date;
5412
+ updatedAt: Date;
5413
+ }[] | undefined;
1955
5414
  keywords: string[];
1956
5415
  upvotes: string[];
1957
5416
  downvotes: string[];
5417
+ reactionCounts: {
5418
+ upvote: number;
5419
+ downvote: number;
5420
+ like: number;
5421
+ love: number;
5422
+ wow: number;
5423
+ sad: number;
5424
+ angry: number;
5425
+ funny: number;
5426
+ };
5427
+ userReaction?: (import("../..").ReactionType | null) | undefined;
1958
5428
  repliesCount: number;
1959
5429
  views: number;
1960
5430
  score: number;
@@ -1976,22 +5446,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1976
5446
  name: string | null;
1977
5447
  username: string | null;
1978
5448
  avatar: string | null;
5449
+ avatarFileId: string | null;
5450
+ bannerFileId: string | null;
5451
+ avatarFile?: {
5452
+ id: string;
5453
+ projectId: string;
5454
+ userId: string | null;
5455
+ entityId: string | null;
5456
+ commentId: string | null;
5457
+ spaceId: string | null;
5458
+ type: "image" | "video" | "document" | "other";
5459
+ originalPath: string;
5460
+ originalSize: number;
5461
+ originalMimeType: string;
5462
+ position: number;
5463
+ metadata: {
5464
+ [x: string]: any;
5465
+ };
5466
+ image?: {
5467
+ fileId: string;
5468
+ originalWidth: number;
5469
+ originalHeight: number;
5470
+ variants: {
5471
+ [x: string]: {
5472
+ path: string;
5473
+ publicPath: string;
5474
+ width: number;
5475
+ height: number;
5476
+ size: number;
5477
+ format: string;
5478
+ };
5479
+ };
5480
+ processingStatus: "completed" | "failed";
5481
+ processingError: string | null;
5482
+ format: string;
5483
+ quality: number;
5484
+ exifStripped: boolean;
5485
+ createdAt: Date;
5486
+ updatedAt: Date;
5487
+ } | undefined;
5488
+ createdAt: Date;
5489
+ updatedAt: Date;
5490
+ } | null | undefined;
5491
+ bannerFile?: {
5492
+ id: string;
5493
+ projectId: string;
5494
+ userId: string | null;
5495
+ entityId: string | null;
5496
+ commentId: string | null;
5497
+ spaceId: string | null;
5498
+ type: "image" | "video" | "document" | "other";
5499
+ originalPath: string;
5500
+ originalSize: number;
5501
+ originalMimeType: string;
5502
+ position: number;
5503
+ metadata: {
5504
+ [x: string]: any;
5505
+ };
5506
+ image?: {
5507
+ fileId: string;
5508
+ originalWidth: number;
5509
+ originalHeight: number;
5510
+ variants: {
5511
+ [x: string]: {
5512
+ path: string;
5513
+ publicPath: string;
5514
+ width: number;
5515
+ height: number;
5516
+ size: number;
5517
+ format: string;
5518
+ };
5519
+ };
5520
+ processingStatus: "completed" | "failed";
5521
+ processingError: string | null;
5522
+ format: string;
5523
+ quality: number;
5524
+ exifStripped: boolean;
5525
+ createdAt: Date;
5526
+ updatedAt: Date;
5527
+ } | undefined;
5528
+ createdAt: Date;
5529
+ updatedAt: Date;
5530
+ } | null | undefined;
1979
5531
  bio: string | null;
1980
5532
  birthdate: Date | null;
5533
+ location: {
5534
+ type: "Point";
5535
+ coordinates: [number, number];
5536
+ } | null;
1981
5537
  metadata: {
1982
5538
  [x: string]: any;
1983
5539
  };
1984
5540
  reputation: number;
1985
5541
  createdAt: Date;
1986
- location: {
1987
- type: "Point";
1988
- coordinates: [number, number];
1989
- } | null;
1990
5542
  };
1991
5543
  upvotesCount: number;
1992
5544
  content: string;
1993
5545
  createdAt: string;
1994
5546
  } | null;
5547
+ isSaved?: boolean | undefined;
1995
5548
  createdAt: Date;
1996
5549
  updatedAt: Date;
1997
5550
  deletedAt: Date | null;
@@ -2060,7 +5613,11 @@ export declare const initializeList: import("@reduxjs/toolkit").ActionCreatorWit
2060
5613
  listId: string;
2061
5614
  error: string | null;
2062
5615
  }, "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) & {
5616
+ export declare const selectEntityList: ((state: {
5617
+ replyke: ReplykeState;
5618
+ } & {
5619
+ replyke: ReplykeState;
5620
+ }, listId: string) => EntityListState | undefined) & {
2064
5621
  clearCache: () => void;
2065
5622
  resultsCount: () => number;
2066
5623
  resetResultsCount: () => void;
@@ -2073,8 +5630,10 @@ export declare const selectEntityList: ((state: any, listId: string) => EntityLi
2073
5630
  };
2074
5631
  lastResult: () => EntityListState | undefined;
2075
5632
  dependencies: [(state: {
2076
- entityLists: EntityListsState;
2077
- }) => EntityListsState, (_: any, listId: string) => string];
5633
+ replyke: ReplykeState;
5634
+ }) => EntityListsState, (_: {
5635
+ replyke: ReplykeState;
5636
+ }, listId: string) => string];
2078
5637
  recomputations: () => number;
2079
5638
  resetRecomputations: () => void;
2080
5639
  dependencyRecomputations: () => number;
@@ -2083,7 +5642,11 @@ export declare const selectEntityList: ((state: any, listId: string) => EntityLi
2083
5642
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2084
5643
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2085
5644
  };
2086
- export declare const selectEntityListEntities: ((state: any, listId: string) => Entity[]) & {
5645
+ export declare const selectEntityListEntities: ((state: {
5646
+ replyke: ReplykeState;
5647
+ } & {
5648
+ replyke: ReplykeState;
5649
+ }, listId: string) => Entity[]) & {
2087
5650
  clearCache: () => void;
2088
5651
  resultsCount: () => number;
2089
5652
  resetResultsCount: () => void;
@@ -2095,7 +5658,11 @@ export declare const selectEntityListEntities: ((state: any, listId: string) =>
2095
5658
  resetResultsCount: () => void;
2096
5659
  };
2097
5660
  lastResult: () => Entity[];
2098
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5661
+ dependencies: [((state: {
5662
+ replyke: ReplykeState;
5663
+ } & {
5664
+ replyke: ReplykeState;
5665
+ }, listId: string) => EntityListState | undefined) & {
2099
5666
  clearCache: () => void;
2100
5667
  resultsCount: () => number;
2101
5668
  resetResultsCount: () => void;
@@ -2108,8 +5675,10 @@ export declare const selectEntityListEntities: ((state: any, listId: string) =>
2108
5675
  };
2109
5676
  lastResult: () => EntityListState | undefined;
2110
5677
  dependencies: [(state: {
2111
- entityLists: EntityListsState;
2112
- }) => EntityListsState, (_: any, listId: string) => string];
5678
+ replyke: ReplykeState;
5679
+ }) => EntityListsState, (_: {
5680
+ replyke: ReplykeState;
5681
+ }, listId: string) => string];
2113
5682
  recomputations: () => number;
2114
5683
  resetRecomputations: () => void;
2115
5684
  dependencyRecomputations: () => number;
@@ -2126,7 +5695,11 @@ export declare const selectEntityListEntities: ((state: any, listId: string) =>
2126
5695
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2127
5696
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2128
5697
  };
2129
- export declare const selectEntityListLoading: ((state: any, listId: string) => boolean) & {
5698
+ export declare const selectEntityListLoading: ((state: {
5699
+ replyke: ReplykeState;
5700
+ } & {
5701
+ replyke: ReplykeState;
5702
+ }, listId: string) => boolean) & {
2130
5703
  clearCache: () => void;
2131
5704
  resultsCount: () => number;
2132
5705
  resetResultsCount: () => void;
@@ -2138,7 +5711,11 @@ export declare const selectEntityListLoading: ((state: any, listId: string) => b
2138
5711
  resetResultsCount: () => void;
2139
5712
  };
2140
5713
  lastResult: () => boolean;
2141
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5714
+ dependencies: [((state: {
5715
+ replyke: ReplykeState;
5716
+ } & {
5717
+ replyke: ReplykeState;
5718
+ }, listId: string) => EntityListState | undefined) & {
2142
5719
  clearCache: () => void;
2143
5720
  resultsCount: () => number;
2144
5721
  resetResultsCount: () => void;
@@ -2151,8 +5728,10 @@ export declare const selectEntityListLoading: ((state: any, listId: string) => b
2151
5728
  };
2152
5729
  lastResult: () => EntityListState | undefined;
2153
5730
  dependencies: [(state: {
2154
- entityLists: EntityListsState;
2155
- }) => EntityListsState, (_: any, listId: string) => string];
5731
+ replyke: ReplykeState;
5732
+ }) => EntityListsState, (_: {
5733
+ replyke: ReplykeState;
5734
+ }, listId: string) => string];
2156
5735
  recomputations: () => number;
2157
5736
  resetRecomputations: () => void;
2158
5737
  dependencyRecomputations: () => number;
@@ -2169,7 +5748,11 @@ export declare const selectEntityListLoading: ((state: any, listId: string) => b
2169
5748
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2170
5749
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2171
5750
  };
2172
- export declare const selectEntityListHasMore: ((state: any, listId: string) => boolean) & {
5751
+ export declare const selectEntityListHasMore: ((state: {
5752
+ replyke: ReplykeState;
5753
+ } & {
5754
+ replyke: ReplykeState;
5755
+ }, listId: string) => boolean) & {
2173
5756
  clearCache: () => void;
2174
5757
  resultsCount: () => number;
2175
5758
  resetResultsCount: () => void;
@@ -2181,7 +5764,11 @@ export declare const selectEntityListHasMore: ((state: any, listId: string) => b
2181
5764
  resetResultsCount: () => void;
2182
5765
  };
2183
5766
  lastResult: () => boolean;
2184
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5767
+ dependencies: [((state: {
5768
+ replyke: ReplykeState;
5769
+ } & {
5770
+ replyke: ReplykeState;
5771
+ }, listId: string) => EntityListState | undefined) & {
2185
5772
  clearCache: () => void;
2186
5773
  resultsCount: () => number;
2187
5774
  resetResultsCount: () => void;
@@ -2194,8 +5781,10 @@ export declare const selectEntityListHasMore: ((state: any, listId: string) => b
2194
5781
  };
2195
5782
  lastResult: () => EntityListState | undefined;
2196
5783
  dependencies: [(state: {
2197
- entityLists: EntityListsState;
2198
- }) => EntityListsState, (_: any, listId: string) => string];
5784
+ replyke: ReplykeState;
5785
+ }) => EntityListsState, (_: {
5786
+ replyke: ReplykeState;
5787
+ }, listId: string) => string];
2199
5788
  recomputations: () => number;
2200
5789
  resetRecomputations: () => void;
2201
5790
  dependencyRecomputations: () => number;
@@ -2212,7 +5801,11 @@ export declare const selectEntityListHasMore: ((state: any, listId: string) => b
2212
5801
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2213
5802
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2214
5803
  };
2215
- export declare const selectEntityListSort: ((state: any, listId: string) => EntityListSort | null) & {
5804
+ export declare const selectEntityListSort: ((state: {
5805
+ replyke: ReplykeState;
5806
+ } & {
5807
+ replyke: ReplykeState;
5808
+ }, listId: string) => EntityListSort | null) & {
2216
5809
  clearCache: () => void;
2217
5810
  resultsCount: () => number;
2218
5811
  resetResultsCount: () => void;
@@ -2224,7 +5817,11 @@ export declare const selectEntityListSort: ((state: any, listId: string) => Enti
2224
5817
  resetResultsCount: () => void;
2225
5818
  };
2226
5819
  lastResult: () => EntityListSort | null;
2227
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5820
+ dependencies: [((state: {
5821
+ replyke: ReplykeState;
5822
+ } & {
5823
+ replyke: ReplykeState;
5824
+ }, listId: string) => EntityListState | undefined) & {
2228
5825
  clearCache: () => void;
2229
5826
  resultsCount: () => number;
2230
5827
  resetResultsCount: () => void;
@@ -2237,8 +5834,10 @@ export declare const selectEntityListSort: ((state: any, listId: string) => Enti
2237
5834
  };
2238
5835
  lastResult: () => EntityListState | undefined;
2239
5836
  dependencies: [(state: {
2240
- entityLists: EntityListsState;
2241
- }) => EntityListsState, (_: any, listId: string) => string];
5837
+ replyke: ReplykeState;
5838
+ }) => EntityListsState, (_: {
5839
+ replyke: ReplykeState;
5840
+ }, listId: string) => string];
2242
5841
  recomputations: () => number;
2243
5842
  resetRecomputations: () => void;
2244
5843
  dependencyRecomputations: () => number;
@@ -2255,7 +5854,11 @@ export declare const selectEntityListSort: ((state: any, listId: string) => Enti
2255
5854
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2256
5855
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2257
5856
  };
2258
- export declare const selectEntityListFilters: ((state: any, listId: string) => EntityListFilters | null) & {
5857
+ export declare const selectEntityListFilters: ((state: {
5858
+ replyke: ReplykeState;
5859
+ } & {
5860
+ replyke: ReplykeState;
5861
+ }, listId: string) => EntityListFilters | null) & {
2259
5862
  clearCache: () => void;
2260
5863
  resultsCount: () => number;
2261
5864
  resetResultsCount: () => void;
@@ -2267,7 +5870,11 @@ export declare const selectEntityListFilters: ((state: any, listId: string) => E
2267
5870
  resetResultsCount: () => void;
2268
5871
  };
2269
5872
  lastResult: () => EntityListFilters | null;
2270
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5873
+ dependencies: [((state: {
5874
+ replyke: ReplykeState;
5875
+ } & {
5876
+ replyke: ReplykeState;
5877
+ }, listId: string) => EntityListState | undefined) & {
2271
5878
  clearCache: () => void;
2272
5879
  resultsCount: () => number;
2273
5880
  resetResultsCount: () => void;
@@ -2280,8 +5887,10 @@ export declare const selectEntityListFilters: ((state: any, listId: string) => E
2280
5887
  };
2281
5888
  lastResult: () => EntityListState | undefined;
2282
5889
  dependencies: [(state: {
2283
- entityLists: EntityListsState;
2284
- }) => EntityListsState, (_: any, listId: string) => string];
5890
+ replyke: ReplykeState;
5891
+ }) => EntityListsState, (_: {
5892
+ replyke: ReplykeState;
5893
+ }, listId: string) => string];
2285
5894
  recomputations: () => number;
2286
5895
  resetRecomputations: () => void;
2287
5896
  dependencyRecomputations: () => number;
@@ -2298,7 +5907,11 @@ export declare const selectEntityListFilters: ((state: any, listId: string) => E
2298
5907
  memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2299
5908
  argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
2300
5909
  };
2301
- export declare const selectEntityListConfig: ((state: any, listId: string) => {
5910
+ export declare const selectEntityListConfig: ((state: {
5911
+ replyke: ReplykeState;
5912
+ } & {
5913
+ replyke: ReplykeState;
5914
+ }, listId: string) => {
2302
5915
  sourceId: string | null;
2303
5916
  spaceId: string | null;
2304
5917
  limit: number;
@@ -2330,7 +5943,11 @@ export declare const selectEntityListConfig: ((state: any, listId: string) => {
2330
5943
  limit: number;
2331
5944
  include: EntityIncludeParam | null;
2332
5945
  } | null;
2333
- dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
5946
+ dependencies: [((state: {
5947
+ replyke: ReplykeState;
5948
+ } & {
5949
+ replyke: ReplykeState;
5950
+ }, listId: string) => EntityListState | undefined) & {
2334
5951
  clearCache: () => void;
2335
5952
  resultsCount: () => number;
2336
5953
  resetResultsCount: () => void;
@@ -2343,8 +5960,10 @@ export declare const selectEntityListConfig: ((state: any, listId: string) => {
2343
5960
  };
2344
5961
  lastResult: () => EntityListState | undefined;
2345
5962
  dependencies: [(state: {
2346
- entityLists: EntityListsState;
2347
- }) => EntityListsState, (_: any, listId: string) => string];
5963
+ replyke: ReplykeState;
5964
+ }) => EntityListsState, (_: {
5965
+ replyke: ReplykeState;
5966
+ }, listId: string) => string];
2348
5967
  recomputations: () => number;
2349
5968
  resetRecomputations: () => void;
2350
5969
  dependencyRecomputations: () => number;