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

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 +209 -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 +204 -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
@@ -32,7 +32,7 @@ export interface SpaceListConfig {
32
32
  }
33
33
  export interface SpaceListFetchOptions {
34
34
  resetUnspecified?: boolean;
35
- immediate?: boolean;
35
+ fetchImmediately?: boolean;
36
36
  clearImmediately?: boolean;
37
37
  }
38
38
  export interface FilterUpdatePayload {
@@ -74,8 +74,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
74
74
  slug: string | null;
75
75
  name: string;
76
76
  description: string | null;
77
- avatar: string | null;
78
- banner: string | null;
77
+ avatarFileId: string | null;
78
+ bannerFileId: string | null;
79
79
  userId: string;
80
80
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
81
81
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -91,6 +91,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
91
91
  membersCount: number;
92
92
  childSpacesCount: number;
93
93
  isMember?: boolean | undefined;
94
+ avatarFile?: {
95
+ id: string;
96
+ projectId: string;
97
+ userId: string | null;
98
+ entityId: string | null;
99
+ commentId: string | null;
100
+ spaceId: string | null;
101
+ type: "image" | "video" | "document" | "other";
102
+ originalPath: string;
103
+ originalSize: number;
104
+ originalMimeType: string;
105
+ position: number;
106
+ metadata: {
107
+ [x: string]: any;
108
+ };
109
+ image?: {
110
+ fileId: string;
111
+ originalWidth: number;
112
+ originalHeight: number;
113
+ variants: {
114
+ [x: string]: {
115
+ path: string;
116
+ publicPath: string;
117
+ width: number;
118
+ height: number;
119
+ size: number;
120
+ format: string;
121
+ };
122
+ };
123
+ processingStatus: "completed" | "failed";
124
+ processingError: string | null;
125
+ format: string;
126
+ quality: number;
127
+ exifStripped: boolean;
128
+ createdAt: Date;
129
+ updatedAt: Date;
130
+ } | undefined;
131
+ createdAt: Date;
132
+ updatedAt: Date;
133
+ } | undefined;
134
+ bannerFile?: {
135
+ id: string;
136
+ projectId: string;
137
+ userId: string | null;
138
+ entityId: string | null;
139
+ commentId: string | null;
140
+ spaceId: string | null;
141
+ type: "image" | "video" | "document" | "other";
142
+ originalPath: string;
143
+ originalSize: number;
144
+ originalMimeType: string;
145
+ position: number;
146
+ metadata: {
147
+ [x: string]: any;
148
+ };
149
+ image?: {
150
+ fileId: string;
151
+ originalWidth: number;
152
+ originalHeight: number;
153
+ variants: {
154
+ [x: string]: {
155
+ path: string;
156
+ publicPath: string;
157
+ width: number;
158
+ height: number;
159
+ size: number;
160
+ format: string;
161
+ };
162
+ };
163
+ processingStatus: "completed" | "failed";
164
+ processingError: string | null;
165
+ format: string;
166
+ quality: number;
167
+ exifStripped: boolean;
168
+ createdAt: Date;
169
+ updatedAt: Date;
170
+ } | undefined;
171
+ createdAt: Date;
172
+ updatedAt: Date;
173
+ } | undefined;
94
174
  }[];
95
175
  page: number;
96
176
  loading: boolean;
@@ -116,8 +196,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
116
196
  slug: string | null;
117
197
  name: string;
118
198
  description: string | null;
119
- avatar: string | null;
120
- banner: string | null;
199
+ avatarFileId: string | null;
200
+ bannerFileId: string | null;
121
201
  userId: string;
122
202
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
123
203
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -133,6 +213,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
133
213
  membersCount: number;
134
214
  childSpacesCount: number;
135
215
  isMember?: boolean | undefined;
216
+ avatarFile?: {
217
+ id: string;
218
+ projectId: string;
219
+ userId: string | null;
220
+ entityId: string | null;
221
+ commentId: string | null;
222
+ spaceId: string | null;
223
+ type: "image" | "video" | "document" | "other";
224
+ originalPath: string;
225
+ originalSize: number;
226
+ originalMimeType: string;
227
+ position: number;
228
+ metadata: {
229
+ [x: string]: any;
230
+ };
231
+ image?: {
232
+ fileId: string;
233
+ originalWidth: number;
234
+ originalHeight: number;
235
+ variants: {
236
+ [x: string]: {
237
+ path: string;
238
+ publicPath: string;
239
+ width: number;
240
+ height: number;
241
+ size: number;
242
+ format: string;
243
+ };
244
+ };
245
+ processingStatus: "completed" | "failed";
246
+ processingError: string | null;
247
+ format: string;
248
+ quality: number;
249
+ exifStripped: boolean;
250
+ createdAt: Date;
251
+ updatedAt: Date;
252
+ } | undefined;
253
+ createdAt: Date;
254
+ updatedAt: Date;
255
+ } | undefined;
256
+ bannerFile?: {
257
+ id: string;
258
+ projectId: string;
259
+ userId: string | null;
260
+ entityId: string | null;
261
+ commentId: string | null;
262
+ spaceId: string | null;
263
+ type: "image" | "video" | "document" | "other";
264
+ originalPath: string;
265
+ originalSize: number;
266
+ originalMimeType: string;
267
+ position: number;
268
+ metadata: {
269
+ [x: string]: any;
270
+ };
271
+ image?: {
272
+ fileId: string;
273
+ originalWidth: number;
274
+ originalHeight: number;
275
+ variants: {
276
+ [x: string]: {
277
+ path: string;
278
+ publicPath: string;
279
+ width: number;
280
+ height: number;
281
+ size: number;
282
+ format: string;
283
+ };
284
+ };
285
+ processingStatus: "completed" | "failed";
286
+ processingError: string | null;
287
+ format: string;
288
+ quality: number;
289
+ exifStripped: boolean;
290
+ createdAt: Date;
291
+ updatedAt: Date;
292
+ } | undefined;
293
+ createdAt: Date;
294
+ updatedAt: Date;
295
+ } | undefined;
136
296
  }[];
137
297
  page: number;
138
298
  loading: boolean;
@@ -158,8 +318,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
158
318
  slug: string | null;
159
319
  name: string;
160
320
  description: string | null;
161
- avatar: string | null;
162
- banner: string | null;
321
+ avatarFileId: string | null;
322
+ bannerFileId: string | null;
163
323
  userId: string;
164
324
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
165
325
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -175,6 +335,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
175
335
  membersCount: number;
176
336
  childSpacesCount: number;
177
337
  isMember?: boolean | undefined;
338
+ avatarFile?: {
339
+ id: string;
340
+ projectId: string;
341
+ userId: string | null;
342
+ entityId: string | null;
343
+ commentId: string | null;
344
+ spaceId: string | null;
345
+ type: "image" | "video" | "document" | "other";
346
+ originalPath: string;
347
+ originalSize: number;
348
+ originalMimeType: string;
349
+ position: number;
350
+ metadata: {
351
+ [x: string]: any;
352
+ };
353
+ image?: {
354
+ fileId: string;
355
+ originalWidth: number;
356
+ originalHeight: number;
357
+ variants: {
358
+ [x: string]: {
359
+ path: string;
360
+ publicPath: string;
361
+ width: number;
362
+ height: number;
363
+ size: number;
364
+ format: string;
365
+ };
366
+ };
367
+ processingStatus: "completed" | "failed";
368
+ processingError: string | null;
369
+ format: string;
370
+ quality: number;
371
+ exifStripped: boolean;
372
+ createdAt: Date;
373
+ updatedAt: Date;
374
+ } | undefined;
375
+ createdAt: Date;
376
+ updatedAt: Date;
377
+ } | undefined;
378
+ bannerFile?: {
379
+ id: string;
380
+ projectId: string;
381
+ userId: string | null;
382
+ entityId: string | null;
383
+ commentId: string | null;
384
+ spaceId: string | null;
385
+ type: "image" | "video" | "document" | "other";
386
+ originalPath: string;
387
+ originalSize: number;
388
+ originalMimeType: string;
389
+ position: number;
390
+ metadata: {
391
+ [x: string]: any;
392
+ };
393
+ image?: {
394
+ fileId: string;
395
+ originalWidth: number;
396
+ originalHeight: number;
397
+ variants: {
398
+ [x: string]: {
399
+ path: string;
400
+ publicPath: string;
401
+ width: number;
402
+ height: number;
403
+ size: number;
404
+ format: string;
405
+ };
406
+ };
407
+ processingStatus: "completed" | "failed";
408
+ processingError: string | null;
409
+ format: string;
410
+ quality: number;
411
+ exifStripped: boolean;
412
+ createdAt: Date;
413
+ updatedAt: Date;
414
+ } | undefined;
415
+ createdAt: Date;
416
+ updatedAt: Date;
417
+ } | undefined;
178
418
  }[];
179
419
  page: number;
180
420
  loading: boolean;
@@ -203,8 +443,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
203
443
  slug: string | null;
204
444
  name: string;
205
445
  description: string | null;
206
- avatar: string | null;
207
- banner: string | null;
446
+ avatarFileId: string | null;
447
+ bannerFileId: string | null;
208
448
  userId: string;
209
449
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
210
450
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -220,6 +460,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
220
460
  membersCount: number;
221
461
  childSpacesCount: number;
222
462
  isMember?: boolean | undefined;
463
+ avatarFile?: {
464
+ id: string;
465
+ projectId: string;
466
+ userId: string | null;
467
+ entityId: string | null;
468
+ commentId: string | null;
469
+ spaceId: string | null;
470
+ type: "image" | "video" | "document" | "other";
471
+ originalPath: string;
472
+ originalSize: number;
473
+ originalMimeType: string;
474
+ position: number;
475
+ metadata: {
476
+ [x: string]: any;
477
+ };
478
+ image?: {
479
+ fileId: string;
480
+ originalWidth: number;
481
+ originalHeight: number;
482
+ variants: {
483
+ [x: string]: {
484
+ path: string;
485
+ publicPath: string;
486
+ width: number;
487
+ height: number;
488
+ size: number;
489
+ format: string;
490
+ };
491
+ };
492
+ processingStatus: "completed" | "failed";
493
+ processingError: string | null;
494
+ format: string;
495
+ quality: number;
496
+ exifStripped: boolean;
497
+ createdAt: Date;
498
+ updatedAt: Date;
499
+ } | undefined;
500
+ createdAt: Date;
501
+ updatedAt: Date;
502
+ } | undefined;
503
+ bannerFile?: {
504
+ id: string;
505
+ projectId: string;
506
+ userId: string | null;
507
+ entityId: string | null;
508
+ commentId: string | null;
509
+ spaceId: string | null;
510
+ type: "image" | "video" | "document" | "other";
511
+ originalPath: string;
512
+ originalSize: number;
513
+ originalMimeType: string;
514
+ position: number;
515
+ metadata: {
516
+ [x: string]: any;
517
+ };
518
+ image?: {
519
+ fileId: string;
520
+ originalWidth: number;
521
+ originalHeight: number;
522
+ variants: {
523
+ [x: string]: {
524
+ path: string;
525
+ publicPath: string;
526
+ width: number;
527
+ height: number;
528
+ size: number;
529
+ format: string;
530
+ };
531
+ };
532
+ processingStatus: "completed" | "failed";
533
+ processingError: string | null;
534
+ format: string;
535
+ quality: number;
536
+ exifStripped: boolean;
537
+ createdAt: Date;
538
+ updatedAt: Date;
539
+ } | undefined;
540
+ createdAt: Date;
541
+ updatedAt: Date;
542
+ } | undefined;
223
543
  }[];
224
544
  page: number;
225
545
  loading: boolean;
@@ -245,8 +565,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
245
565
  slug: string | null;
246
566
  name: string;
247
567
  description: string | null;
248
- avatar: string | null;
249
- banner: string | null;
568
+ avatarFileId: string | null;
569
+ bannerFileId: string | null;
250
570
  userId: string;
251
571
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
252
572
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -262,6 +582,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
262
582
  membersCount: number;
263
583
  childSpacesCount: number;
264
584
  isMember?: boolean | undefined;
585
+ avatarFile?: {
586
+ id: string;
587
+ projectId: string;
588
+ userId: string | null;
589
+ entityId: string | null;
590
+ commentId: string | null;
591
+ spaceId: string | null;
592
+ type: "image" | "video" | "document" | "other";
593
+ originalPath: string;
594
+ originalSize: number;
595
+ originalMimeType: string;
596
+ position: number;
597
+ metadata: {
598
+ [x: string]: any;
599
+ };
600
+ image?: {
601
+ fileId: string;
602
+ originalWidth: number;
603
+ originalHeight: number;
604
+ variants: {
605
+ [x: string]: {
606
+ path: string;
607
+ publicPath: string;
608
+ width: number;
609
+ height: number;
610
+ size: number;
611
+ format: string;
612
+ };
613
+ };
614
+ processingStatus: "completed" | "failed";
615
+ processingError: string | null;
616
+ format: string;
617
+ quality: number;
618
+ exifStripped: boolean;
619
+ createdAt: Date;
620
+ updatedAt: Date;
621
+ } | undefined;
622
+ createdAt: Date;
623
+ updatedAt: Date;
624
+ } | undefined;
625
+ bannerFile?: {
626
+ id: string;
627
+ projectId: string;
628
+ userId: string | null;
629
+ entityId: string | null;
630
+ commentId: string | null;
631
+ spaceId: string | null;
632
+ type: "image" | "video" | "document" | "other";
633
+ originalPath: string;
634
+ originalSize: number;
635
+ originalMimeType: string;
636
+ position: number;
637
+ metadata: {
638
+ [x: string]: any;
639
+ };
640
+ image?: {
641
+ fileId: string;
642
+ originalWidth: number;
643
+ originalHeight: number;
644
+ variants: {
645
+ [x: string]: {
646
+ path: string;
647
+ publicPath: string;
648
+ width: number;
649
+ height: number;
650
+ size: number;
651
+ format: string;
652
+ };
653
+ };
654
+ processingStatus: "completed" | "failed";
655
+ processingError: string | null;
656
+ format: string;
657
+ quality: number;
658
+ exifStripped: boolean;
659
+ createdAt: Date;
660
+ updatedAt: Date;
661
+ } | undefined;
662
+ createdAt: Date;
663
+ updatedAt: Date;
664
+ } | undefined;
265
665
  }[];
266
666
  page: number;
267
667
  loading: boolean;
@@ -287,8 +687,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
287
687
  slug: string | null;
288
688
  name: string;
289
689
  description: string | null;
290
- avatar: string | null;
291
- banner: string | null;
690
+ avatarFileId: string | null;
691
+ bannerFileId: string | null;
292
692
  userId: string;
293
693
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
294
694
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -304,6 +704,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
304
704
  membersCount: number;
305
705
  childSpacesCount: number;
306
706
  isMember?: boolean | undefined;
707
+ avatarFile?: {
708
+ id: string;
709
+ projectId: string;
710
+ userId: string | null;
711
+ entityId: string | null;
712
+ commentId: string | null;
713
+ spaceId: string | null;
714
+ type: "image" | "video" | "document" | "other";
715
+ originalPath: string;
716
+ originalSize: number;
717
+ originalMimeType: string;
718
+ position: number;
719
+ metadata: {
720
+ [x: string]: any;
721
+ };
722
+ image?: {
723
+ fileId: string;
724
+ originalWidth: number;
725
+ originalHeight: number;
726
+ variants: {
727
+ [x: string]: {
728
+ path: string;
729
+ publicPath: string;
730
+ width: number;
731
+ height: number;
732
+ size: number;
733
+ format: string;
734
+ };
735
+ };
736
+ processingStatus: "completed" | "failed";
737
+ processingError: string | null;
738
+ format: string;
739
+ quality: number;
740
+ exifStripped: boolean;
741
+ createdAt: Date;
742
+ updatedAt: Date;
743
+ } | undefined;
744
+ createdAt: Date;
745
+ updatedAt: Date;
746
+ } | undefined;
747
+ bannerFile?: {
748
+ id: string;
749
+ projectId: string;
750
+ userId: string | null;
751
+ entityId: string | null;
752
+ commentId: string | null;
753
+ spaceId: string | null;
754
+ type: "image" | "video" | "document" | "other";
755
+ originalPath: string;
756
+ originalSize: number;
757
+ originalMimeType: string;
758
+ position: number;
759
+ metadata: {
760
+ [x: string]: any;
761
+ };
762
+ image?: {
763
+ fileId: string;
764
+ originalWidth: number;
765
+ originalHeight: number;
766
+ variants: {
767
+ [x: string]: {
768
+ path: string;
769
+ publicPath: string;
770
+ width: number;
771
+ height: number;
772
+ size: number;
773
+ format: string;
774
+ };
775
+ };
776
+ processingStatus: "completed" | "failed";
777
+ processingError: string | null;
778
+ format: string;
779
+ quality: number;
780
+ exifStripped: boolean;
781
+ createdAt: Date;
782
+ updatedAt: Date;
783
+ } | undefined;
784
+ createdAt: Date;
785
+ updatedAt: Date;
786
+ } | undefined;
307
787
  }[];
308
788
  page: number;
309
789
  loading: boolean;
@@ -332,8 +812,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
332
812
  slug: string | null;
333
813
  name: string;
334
814
  description: string | null;
335
- avatar: string | null;
336
- banner: string | null;
815
+ avatarFileId: string | null;
816
+ bannerFileId: string | null;
337
817
  userId: string;
338
818
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
339
819
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -349,6 +829,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
349
829
  membersCount: number;
350
830
  childSpacesCount: number;
351
831
  isMember?: boolean | undefined;
832
+ avatarFile?: {
833
+ id: string;
834
+ projectId: string;
835
+ userId: string | null;
836
+ entityId: string | null;
837
+ commentId: string | null;
838
+ spaceId: string | null;
839
+ type: "image" | "video" | "document" | "other";
840
+ originalPath: string;
841
+ originalSize: number;
842
+ originalMimeType: string;
843
+ position: number;
844
+ metadata: {
845
+ [x: string]: any;
846
+ };
847
+ image?: {
848
+ fileId: string;
849
+ originalWidth: number;
850
+ originalHeight: number;
851
+ variants: {
852
+ [x: string]: {
853
+ path: string;
854
+ publicPath: string;
855
+ width: number;
856
+ height: number;
857
+ size: number;
858
+ format: string;
859
+ };
860
+ };
861
+ processingStatus: "completed" | "failed";
862
+ processingError: string | null;
863
+ format: string;
864
+ quality: number;
865
+ exifStripped: boolean;
866
+ createdAt: Date;
867
+ updatedAt: Date;
868
+ } | undefined;
869
+ createdAt: Date;
870
+ updatedAt: Date;
871
+ } | undefined;
872
+ bannerFile?: {
873
+ id: string;
874
+ projectId: string;
875
+ userId: string | null;
876
+ entityId: string | null;
877
+ commentId: string | null;
878
+ spaceId: string | null;
879
+ type: "image" | "video" | "document" | "other";
880
+ originalPath: string;
881
+ originalSize: number;
882
+ originalMimeType: string;
883
+ position: number;
884
+ metadata: {
885
+ [x: string]: any;
886
+ };
887
+ image?: {
888
+ fileId: string;
889
+ originalWidth: number;
890
+ originalHeight: number;
891
+ variants: {
892
+ [x: string]: {
893
+ path: string;
894
+ publicPath: string;
895
+ width: number;
896
+ height: number;
897
+ size: number;
898
+ format: string;
899
+ };
900
+ };
901
+ processingStatus: "completed" | "failed";
902
+ processingError: string | null;
903
+ format: string;
904
+ quality: number;
905
+ exifStripped: boolean;
906
+ createdAt: Date;
907
+ updatedAt: Date;
908
+ } | undefined;
909
+ createdAt: Date;
910
+ updatedAt: Date;
911
+ } | undefined;
352
912
  }[];
353
913
  page: number;
354
914
  loading: boolean;
@@ -377,8 +937,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
377
937
  slug: string | null;
378
938
  name: string;
379
939
  description: string | null;
380
- avatar: string | null;
381
- banner: string | null;
940
+ avatarFileId: string | null;
941
+ bannerFileId: string | null;
382
942
  userId: string;
383
943
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
384
944
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -394,6 +954,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
394
954
  membersCount: number;
395
955
  childSpacesCount: number;
396
956
  isMember?: boolean | undefined;
957
+ avatarFile?: {
958
+ id: string;
959
+ projectId: string;
960
+ userId: string | null;
961
+ entityId: string | null;
962
+ commentId: string | null;
963
+ spaceId: string | null;
964
+ type: "image" | "video" | "document" | "other";
965
+ originalPath: string;
966
+ originalSize: number;
967
+ originalMimeType: string;
968
+ position: number;
969
+ metadata: {
970
+ [x: string]: any;
971
+ };
972
+ image?: {
973
+ fileId: string;
974
+ originalWidth: number;
975
+ originalHeight: number;
976
+ variants: {
977
+ [x: string]: {
978
+ path: string;
979
+ publicPath: string;
980
+ width: number;
981
+ height: number;
982
+ size: number;
983
+ format: string;
984
+ };
985
+ };
986
+ processingStatus: "completed" | "failed";
987
+ processingError: string | null;
988
+ format: string;
989
+ quality: number;
990
+ exifStripped: boolean;
991
+ createdAt: Date;
992
+ updatedAt: Date;
993
+ } | undefined;
994
+ createdAt: Date;
995
+ updatedAt: Date;
996
+ } | undefined;
997
+ bannerFile?: {
998
+ id: string;
999
+ projectId: string;
1000
+ userId: string | null;
1001
+ entityId: string | null;
1002
+ commentId: string | null;
1003
+ spaceId: string | null;
1004
+ type: "image" | "video" | "document" | "other";
1005
+ originalPath: string;
1006
+ originalSize: number;
1007
+ originalMimeType: string;
1008
+ position: number;
1009
+ metadata: {
1010
+ [x: string]: any;
1011
+ };
1012
+ image?: {
1013
+ fileId: string;
1014
+ originalWidth: number;
1015
+ originalHeight: number;
1016
+ variants: {
1017
+ [x: string]: {
1018
+ path: string;
1019
+ publicPath: string;
1020
+ width: number;
1021
+ height: number;
1022
+ size: number;
1023
+ format: string;
1024
+ };
1025
+ };
1026
+ processingStatus: "completed" | "failed";
1027
+ processingError: string | null;
1028
+ format: string;
1029
+ quality: number;
1030
+ exifStripped: boolean;
1031
+ createdAt: Date;
1032
+ updatedAt: Date;
1033
+ } | undefined;
1034
+ createdAt: Date;
1035
+ updatedAt: Date;
1036
+ } | undefined;
397
1037
  }[];
398
1038
  page: number;
399
1039
  loading: boolean;
@@ -419,8 +1059,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
419
1059
  slug: string | null;
420
1060
  name: string;
421
1061
  description: string | null;
422
- avatar: string | null;
423
- banner: string | null;
1062
+ avatarFileId: string | null;
1063
+ bannerFileId: string | null;
424
1064
  userId: string;
425
1065
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
426
1066
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -436,6 +1076,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
436
1076
  membersCount: number;
437
1077
  childSpacesCount: number;
438
1078
  isMember?: boolean | undefined;
1079
+ avatarFile?: {
1080
+ id: string;
1081
+ projectId: string;
1082
+ userId: string | null;
1083
+ entityId: string | null;
1084
+ commentId: string | null;
1085
+ spaceId: string | null;
1086
+ type: "image" | "video" | "document" | "other";
1087
+ originalPath: string;
1088
+ originalSize: number;
1089
+ originalMimeType: string;
1090
+ position: number;
1091
+ metadata: {
1092
+ [x: string]: any;
1093
+ };
1094
+ image?: {
1095
+ fileId: string;
1096
+ originalWidth: number;
1097
+ originalHeight: number;
1098
+ variants: {
1099
+ [x: string]: {
1100
+ path: string;
1101
+ publicPath: string;
1102
+ width: number;
1103
+ height: number;
1104
+ size: number;
1105
+ format: string;
1106
+ };
1107
+ };
1108
+ processingStatus: "completed" | "failed";
1109
+ processingError: string | null;
1110
+ format: string;
1111
+ quality: number;
1112
+ exifStripped: boolean;
1113
+ createdAt: Date;
1114
+ updatedAt: Date;
1115
+ } | undefined;
1116
+ createdAt: Date;
1117
+ updatedAt: Date;
1118
+ } | undefined;
1119
+ bannerFile?: {
1120
+ id: string;
1121
+ projectId: string;
1122
+ userId: string | null;
1123
+ entityId: string | null;
1124
+ commentId: string | null;
1125
+ spaceId: string | null;
1126
+ type: "image" | "video" | "document" | "other";
1127
+ originalPath: string;
1128
+ originalSize: number;
1129
+ originalMimeType: string;
1130
+ position: number;
1131
+ metadata: {
1132
+ [x: string]: any;
1133
+ };
1134
+ image?: {
1135
+ fileId: string;
1136
+ originalWidth: number;
1137
+ originalHeight: number;
1138
+ variants: {
1139
+ [x: string]: {
1140
+ path: string;
1141
+ publicPath: string;
1142
+ width: number;
1143
+ height: number;
1144
+ size: number;
1145
+ format: string;
1146
+ };
1147
+ };
1148
+ processingStatus: "completed" | "failed";
1149
+ processingError: string | null;
1150
+ format: string;
1151
+ quality: number;
1152
+ exifStripped: boolean;
1153
+ createdAt: Date;
1154
+ updatedAt: Date;
1155
+ } | undefined;
1156
+ createdAt: Date;
1157
+ updatedAt: Date;
1158
+ } | undefined;
439
1159
  }[];
440
1160
  page: number;
441
1161
  loading: boolean;
@@ -461,8 +1181,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
461
1181
  slug: string | null;
462
1182
  name: string;
463
1183
  description: string | null;
464
- avatar: string | null;
465
- banner: string | null;
1184
+ avatarFileId: string | null;
1185
+ bannerFileId: string | null;
466
1186
  userId: string;
467
1187
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
468
1188
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -478,6 +1198,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
478
1198
  membersCount: number;
479
1199
  childSpacesCount: number;
480
1200
  isMember?: boolean | undefined;
1201
+ avatarFile?: {
1202
+ id: string;
1203
+ projectId: string;
1204
+ userId: string | null;
1205
+ entityId: string | null;
1206
+ commentId: string | null;
1207
+ spaceId: string | null;
1208
+ type: "image" | "video" | "document" | "other";
1209
+ originalPath: string;
1210
+ originalSize: number;
1211
+ originalMimeType: string;
1212
+ position: number;
1213
+ metadata: {
1214
+ [x: string]: any;
1215
+ };
1216
+ image?: {
1217
+ fileId: string;
1218
+ originalWidth: number;
1219
+ originalHeight: number;
1220
+ variants: {
1221
+ [x: string]: {
1222
+ path: string;
1223
+ publicPath: string;
1224
+ width: number;
1225
+ height: number;
1226
+ size: number;
1227
+ format: string;
1228
+ };
1229
+ };
1230
+ processingStatus: "completed" | "failed";
1231
+ processingError: string | null;
1232
+ format: string;
1233
+ quality: number;
1234
+ exifStripped: boolean;
1235
+ createdAt: Date;
1236
+ updatedAt: Date;
1237
+ } | undefined;
1238
+ createdAt: Date;
1239
+ updatedAt: Date;
1240
+ } | undefined;
1241
+ bannerFile?: {
1242
+ id: string;
1243
+ projectId: string;
1244
+ userId: string | null;
1245
+ entityId: string | null;
1246
+ commentId: string | null;
1247
+ spaceId: string | null;
1248
+ type: "image" | "video" | "document" | "other";
1249
+ originalPath: string;
1250
+ originalSize: number;
1251
+ originalMimeType: string;
1252
+ position: number;
1253
+ metadata: {
1254
+ [x: string]: any;
1255
+ };
1256
+ image?: {
1257
+ fileId: string;
1258
+ originalWidth: number;
1259
+ originalHeight: number;
1260
+ variants: {
1261
+ [x: string]: {
1262
+ path: string;
1263
+ publicPath: string;
1264
+ width: number;
1265
+ height: number;
1266
+ size: number;
1267
+ format: string;
1268
+ };
1269
+ };
1270
+ processingStatus: "completed" | "failed";
1271
+ processingError: string | null;
1272
+ format: string;
1273
+ quality: number;
1274
+ exifStripped: boolean;
1275
+ createdAt: Date;
1276
+ updatedAt: Date;
1277
+ } | undefined;
1278
+ createdAt: Date;
1279
+ updatedAt: Date;
1280
+ } | undefined;
481
1281
  }[];
482
1282
  page: number;
483
1283
  loading: boolean;
@@ -503,8 +1303,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
503
1303
  slug: string | null;
504
1304
  name: string;
505
1305
  description: string | null;
506
- avatar: string | null;
507
- banner: string | null;
1306
+ avatarFileId: string | null;
1307
+ bannerFileId: string | null;
508
1308
  userId: string;
509
1309
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
510
1310
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -520,6 +1320,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
520
1320
  membersCount: number;
521
1321
  childSpacesCount: number;
522
1322
  isMember?: boolean | undefined;
1323
+ avatarFile?: {
1324
+ id: string;
1325
+ projectId: string;
1326
+ userId: string | null;
1327
+ entityId: string | null;
1328
+ commentId: string | null;
1329
+ spaceId: string | null;
1330
+ type: "image" | "video" | "document" | "other";
1331
+ originalPath: string;
1332
+ originalSize: number;
1333
+ originalMimeType: string;
1334
+ position: number;
1335
+ metadata: {
1336
+ [x: string]: any;
1337
+ };
1338
+ image?: {
1339
+ fileId: string;
1340
+ originalWidth: number;
1341
+ originalHeight: number;
1342
+ variants: {
1343
+ [x: string]: {
1344
+ path: string;
1345
+ publicPath: string;
1346
+ width: number;
1347
+ height: number;
1348
+ size: number;
1349
+ format: string;
1350
+ };
1351
+ };
1352
+ processingStatus: "completed" | "failed";
1353
+ processingError: string | null;
1354
+ format: string;
1355
+ quality: number;
1356
+ exifStripped: boolean;
1357
+ createdAt: Date;
1358
+ updatedAt: Date;
1359
+ } | undefined;
1360
+ createdAt: Date;
1361
+ updatedAt: Date;
1362
+ } | undefined;
1363
+ bannerFile?: {
1364
+ id: string;
1365
+ projectId: string;
1366
+ userId: string | null;
1367
+ entityId: string | null;
1368
+ commentId: string | null;
1369
+ spaceId: string | null;
1370
+ type: "image" | "video" | "document" | "other";
1371
+ originalPath: string;
1372
+ originalSize: number;
1373
+ originalMimeType: string;
1374
+ position: number;
1375
+ metadata: {
1376
+ [x: string]: any;
1377
+ };
1378
+ image?: {
1379
+ fileId: string;
1380
+ originalWidth: number;
1381
+ originalHeight: number;
1382
+ variants: {
1383
+ [x: string]: {
1384
+ path: string;
1385
+ publicPath: string;
1386
+ width: number;
1387
+ height: number;
1388
+ size: number;
1389
+ format: string;
1390
+ };
1391
+ };
1392
+ processingStatus: "completed" | "failed";
1393
+ processingError: string | null;
1394
+ format: string;
1395
+ quality: number;
1396
+ exifStripped: boolean;
1397
+ createdAt: Date;
1398
+ updatedAt: Date;
1399
+ } | undefined;
1400
+ createdAt: Date;
1401
+ updatedAt: Date;
1402
+ } | undefined;
523
1403
  }[];
524
1404
  page: number;
525
1405
  loading: boolean;
@@ -545,8 +1425,8 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
545
1425
  slug: string | null;
546
1426
  name: string;
547
1427
  description: string | null;
548
- avatar: string | null;
549
- banner: string | null;
1428
+ avatarFileId: string | null;
1429
+ bannerFileId: string | null;
550
1430
  userId: string;
551
1431
  readingPermission: import("../../interfaces/models/Space").ReadingPermission;
552
1432
  postingPermission: import("../../interfaces/models/Space").PostingPermission;
@@ -562,6 +1442,86 @@ export declare const spaceListsSlice: import("@reduxjs/toolkit").Slice<SpaceList
562
1442
  membersCount: number;
563
1443
  childSpacesCount: number;
564
1444
  isMember?: boolean | undefined;
1445
+ avatarFile?: {
1446
+ id: string;
1447
+ projectId: string;
1448
+ userId: string | null;
1449
+ entityId: string | null;
1450
+ commentId: string | null;
1451
+ spaceId: string | null;
1452
+ type: "image" | "video" | "document" | "other";
1453
+ originalPath: string;
1454
+ originalSize: number;
1455
+ originalMimeType: string;
1456
+ position: number;
1457
+ metadata: {
1458
+ [x: string]: any;
1459
+ };
1460
+ image?: {
1461
+ fileId: string;
1462
+ originalWidth: number;
1463
+ originalHeight: number;
1464
+ variants: {
1465
+ [x: string]: {
1466
+ path: string;
1467
+ publicPath: string;
1468
+ width: number;
1469
+ height: number;
1470
+ size: number;
1471
+ format: string;
1472
+ };
1473
+ };
1474
+ processingStatus: "completed" | "failed";
1475
+ processingError: string | null;
1476
+ format: string;
1477
+ quality: number;
1478
+ exifStripped: boolean;
1479
+ createdAt: Date;
1480
+ updatedAt: Date;
1481
+ } | undefined;
1482
+ createdAt: Date;
1483
+ updatedAt: Date;
1484
+ } | undefined;
1485
+ bannerFile?: {
1486
+ id: string;
1487
+ projectId: string;
1488
+ userId: string | null;
1489
+ entityId: string | null;
1490
+ commentId: string | null;
1491
+ spaceId: string | null;
1492
+ type: "image" | "video" | "document" | "other";
1493
+ originalPath: string;
1494
+ originalSize: number;
1495
+ originalMimeType: string;
1496
+ position: number;
1497
+ metadata: {
1498
+ [x: string]: any;
1499
+ };
1500
+ image?: {
1501
+ fileId: string;
1502
+ originalWidth: number;
1503
+ originalHeight: number;
1504
+ variants: {
1505
+ [x: string]: {
1506
+ path: string;
1507
+ publicPath: string;
1508
+ width: number;
1509
+ height: number;
1510
+ size: number;
1511
+ format: string;
1512
+ };
1513
+ };
1514
+ processingStatus: "completed" | "failed";
1515
+ processingError: string | null;
1516
+ format: string;
1517
+ quality: number;
1518
+ exifStripped: boolean;
1519
+ createdAt: Date;
1520
+ updatedAt: Date;
1521
+ } | undefined;
1522
+ createdAt: Date;
1523
+ updatedAt: Date;
1524
+ } | undefined;
565
1525
  }[];
566
1526
  page: number;
567
1527
  loading: boolean;