@replyke/core 7.0.0-beta.4 → 7.0.0-beta.41

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