@replyke/core 7.0.0-beta.100 → 7.0.0-beta.103

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 (257) hide show
  1. package/dist/cjs/config/axios.d.ts +1 -0
  2. package/dist/cjs/config/axios.js +4 -4
  3. package/dist/cjs/config/axios.js.map +1 -1
  4. package/dist/cjs/context/chat-context.d.ts +17 -0
  5. package/dist/cjs/context/chat-context.js +299 -0
  6. package/dist/cjs/context/chat-context.js.map +1 -0
  7. package/dist/cjs/context/conversation-context.d.ts +14 -0
  8. package/dist/cjs/context/conversation-context.js +231 -0
  9. package/dist/cjs/context/conversation-context.js.map +1 -0
  10. package/dist/cjs/context/index.d.ts +3 -0
  11. package/dist/cjs/context/index.js +13 -1
  12. package/dist/cjs/context/index.js.map +1 -1
  13. package/dist/cjs/context/message-thread-context.d.ts +13 -0
  14. package/dist/cjs/context/message-thread-context.js +32 -0
  15. package/dist/cjs/context/message-thread-context.js.map +1 -0
  16. package/dist/cjs/hooks/chat/conversations/index.d.ts +10 -0
  17. package/dist/cjs/hooks/chat/conversations/index.js +17 -0
  18. package/dist/cjs/hooks/chat/conversations/index.js.map +1 -0
  19. package/dist/cjs/hooks/chat/conversations/useConversation.d.ts +18 -0
  20. package/dist/cjs/hooks/chat/conversations/useConversation.js +134 -0
  21. package/dist/cjs/hooks/chat/conversations/useConversation.js.map +1 -0
  22. package/dist/cjs/hooks/chat/conversations/useConversationMembers.d.ts +18 -0
  23. package/dist/cjs/hooks/chat/conversations/useConversationMembers.js +219 -0
  24. package/dist/cjs/hooks/chat/conversations/useConversationMembers.js.map +1 -0
  25. package/dist/cjs/hooks/chat/conversations/useConversations.d.ts +17 -0
  26. package/dist/cjs/hooks/chat/conversations/useConversations.js +193 -0
  27. package/dist/cjs/hooks/chat/conversations/useConversations.js.map +1 -0
  28. package/dist/cjs/hooks/chat/conversations/useCreateDirectConversation.d.ts +6 -0
  29. package/dist/cjs/hooks/chat/conversations/useCreateDirectConversation.js +83 -0
  30. package/dist/cjs/hooks/chat/conversations/useCreateDirectConversation.js.map +1 -0
  31. package/dist/cjs/hooks/chat/conversations/useSpaceConversation.d.ts +10 -0
  32. package/dist/cjs/hooks/chat/conversations/useSpaceConversation.js +91 -0
  33. package/dist/cjs/hooks/chat/conversations/useSpaceConversation.js.map +1 -0
  34. package/dist/cjs/hooks/chat/index.d.ts +15 -0
  35. package/dist/cjs/hooks/chat/index.js +36 -0
  36. package/dist/cjs/hooks/chat/index.js.map +1 -0
  37. package/dist/cjs/hooks/chat/messages/index.d.ts +12 -0
  38. package/dist/cjs/hooks/chat/messages/index.js +19 -0
  39. package/dist/cjs/hooks/chat/messages/index.js.map +1 -0
  40. package/dist/cjs/hooks/chat/messages/useChatMessages.d.ts +15 -0
  41. package/dist/cjs/hooks/chat/messages/useChatMessages.js +228 -0
  42. package/dist/cjs/hooks/chat/messages/useChatMessages.js.map +1 -0
  43. package/dist/cjs/hooks/chat/messages/useDeleteMessage.d.ts +6 -0
  44. package/dist/cjs/hooks/chat/messages/useDeleteMessage.js +81 -0
  45. package/dist/cjs/hooks/chat/messages/useDeleteMessage.js.map +1 -0
  46. package/dist/cjs/hooks/chat/messages/useEditMessage.d.ts +13 -0
  47. package/dist/cjs/hooks/chat/messages/useEditMessage.js +81 -0
  48. package/dist/cjs/hooks/chat/messages/useEditMessage.js.map +1 -0
  49. package/dist/cjs/hooks/chat/messages/useMessageThread.d.ts +15 -0
  50. package/dist/cjs/hooks/chat/messages/useMessageThread.js +38 -0
  51. package/dist/cjs/hooks/chat/messages/useMessageThread.js.map +1 -0
  52. package/dist/cjs/hooks/chat/messages/useSendMessage.d.ts +17 -0
  53. package/dist/cjs/hooks/chat/messages/useSendMessage.js +156 -0
  54. package/dist/cjs/hooks/chat/messages/useSendMessage.js.map +1 -0
  55. package/dist/cjs/hooks/chat/messages/useToggleReaction.d.ts +11 -0
  56. package/dist/cjs/hooks/chat/messages/useToggleReaction.js +95 -0
  57. package/dist/cjs/hooks/chat/messages/useToggleReaction.js.map +1 -0
  58. package/dist/cjs/hooks/chat/useChatSocket.d.ts +11 -0
  59. package/dist/cjs/hooks/chat/useChatSocket.js +13 -0
  60. package/dist/cjs/hooks/chat/useChatSocket.js.map +1 -0
  61. package/dist/cjs/hooks/chat/useConversationData.d.ts +31 -0
  62. package/dist/cjs/hooks/chat/useConversationData.js +47 -0
  63. package/dist/cjs/hooks/chat/useConversationData.js.map +1 -0
  64. package/dist/cjs/hooks/chat/useMarkConversationAsRead.d.ts +10 -0
  65. package/dist/cjs/hooks/chat/useMarkConversationAsRead.js +87 -0
  66. package/dist/cjs/hooks/chat/useMarkConversationAsRead.js.map +1 -0
  67. package/dist/cjs/hooks/chat/useReportMessage.d.ts +8 -0
  68. package/dist/cjs/hooks/chat/useReportMessage.js +76 -0
  69. package/dist/cjs/hooks/chat/useReportMessage.js.map +1 -0
  70. package/dist/cjs/hooks/chat/useTotalUnreadCount.d.ts +6 -0
  71. package/dist/cjs/hooks/chat/useTotalUnreadCount.js +14 -0
  72. package/dist/cjs/hooks/chat/useTotalUnreadCount.js.map +1 -0
  73. package/dist/cjs/hooks/chat/useTypingIndicator.d.ts +21 -0
  74. package/dist/cjs/hooks/chat/useTypingIndicator.js +68 -0
  75. package/dist/cjs/hooks/chat/useTypingIndicator.js.map +1 -0
  76. package/dist/cjs/hooks/comments/index.d.ts +1 -1
  77. package/dist/cjs/hooks/comments/index.js.map +1 -1
  78. package/dist/cjs/hooks/comments/useCommentSectionData.d.ts +7 -0
  79. package/dist/cjs/hooks/comments/useCommentSectionData.js +62 -38
  80. package/dist/cjs/hooks/comments/useCommentSectionData.js.map +1 -1
  81. package/dist/cjs/hooks/spaces/index.d.ts +4 -0
  82. package/dist/cjs/hooks/spaces/index.js +6 -1
  83. package/dist/cjs/hooks/spaces/index.js.map +1 -1
  84. package/dist/cjs/hooks/spaces/useSpaceMentions.d.ts +24 -0
  85. package/dist/cjs/hooks/spaces/useSpaceMentions.js +191 -0
  86. package/dist/cjs/hooks/spaces/useSpaceMentions.js.map +1 -0
  87. package/dist/cjs/hooks/spaces/useUnbanMember.d.ts +11 -0
  88. package/dist/cjs/hooks/spaces/useUnbanMember.js +71 -0
  89. package/dist/cjs/hooks/spaces/useUnbanMember.js.map +1 -0
  90. package/dist/cjs/hooks/users/index.d.ts +1 -1
  91. package/dist/cjs/hooks/users/index.js +3 -3
  92. package/dist/cjs/hooks/users/index.js.map +1 -1
  93. package/dist/cjs/hooks/users/{useMentions.d.ts → useUserMentions.d.ts} +8 -4
  94. package/dist/cjs/hooks/users/{useMentions.js → useUserMentions.js} +22 -17
  95. package/dist/cjs/hooks/users/useUserMentions.js.map +1 -0
  96. package/dist/cjs/index.d.ts +11 -5
  97. package/dist/cjs/index.js +70 -5
  98. package/dist/cjs/index.js.map +1 -1
  99. package/dist/cjs/interfaces/models/File.d.ts +1 -0
  100. package/dist/cjs/interfaces/models/IChatMessage.d.ts +34 -0
  101. package/dist/cjs/interfaces/models/IChatMessage.js +3 -0
  102. package/dist/cjs/interfaces/models/IChatMessage.js.map +1 -0
  103. package/dist/cjs/interfaces/models/IConversation.d.ts +25 -0
  104. package/dist/cjs/interfaces/models/IConversation.js +3 -0
  105. package/dist/cjs/interfaces/models/IConversation.js.map +1 -0
  106. package/dist/cjs/interfaces/models/IConversationMember.d.ts +16 -0
  107. package/dist/cjs/interfaces/models/IConversationMember.js +3 -0
  108. package/dist/cjs/interfaces/models/IConversationMember.js.map +1 -0
  109. package/dist/cjs/interfaces/models/Mention.d.ts +8 -1
  110. package/dist/cjs/store/api/spacesApi.d.ts +364 -0
  111. package/dist/cjs/store/api/spacesApi.js +20 -3
  112. package/dist/cjs/store/api/spacesApi.js.map +1 -1
  113. package/dist/cjs/store/hooks.d.ts +1 -0
  114. package/dist/cjs/store/index.d.ts +2 -0
  115. package/dist/cjs/store/replykeReducers.d.ts +2 -0
  116. package/dist/cjs/store/replykeReducers.js +2 -0
  117. package/dist/cjs/store/replykeReducers.js.map +1 -1
  118. package/dist/cjs/store/rootReducer.d.ts +3 -0
  119. package/dist/cjs/store/slices/chatSlice.d.ts +120 -0
  120. package/dist/cjs/store/slices/chatSlice.js +369 -0
  121. package/dist/cjs/store/slices/chatSlice.js.map +1 -0
  122. package/dist/cjs/store/slices/entityListsSlice.d.ts +168 -24
  123. package/dist/cjs/store/slices/spaceListsSlice.d.ts +24 -0
  124. package/dist/cjs/store/slices/userSlice.d.ts +16 -0
  125. package/dist/cjs/types/socket.d.ts +73 -0
  126. package/dist/cjs/types/socket.js +3 -0
  127. package/dist/cjs/types/socket.js.map +1 -0
  128. package/dist/esm/config/axios.d.ts +1 -0
  129. package/dist/esm/config/axios.js +1 -1
  130. package/dist/esm/config/axios.js.map +1 -1
  131. package/dist/esm/context/chat-context.d.ts +17 -0
  132. package/dist/esm/context/chat-context.js +291 -0
  133. package/dist/esm/context/chat-context.js.map +1 -0
  134. package/dist/esm/context/conversation-context.d.ts +14 -0
  135. package/dist/esm/context/conversation-context.js +223 -0
  136. package/dist/esm/context/conversation-context.js.map +1 -0
  137. package/dist/esm/context/index.d.ts +3 -0
  138. package/dist/esm/context/index.js +3 -0
  139. package/dist/esm/context/index.js.map +1 -1
  140. package/dist/esm/context/message-thread-context.d.ts +13 -0
  141. package/dist/esm/context/message-thread-context.js +24 -0
  142. package/dist/esm/context/message-thread-context.js.map +1 -0
  143. package/dist/esm/hooks/chat/conversations/index.d.ts +10 -0
  144. package/dist/esm/hooks/chat/conversations/index.js +6 -0
  145. package/dist/esm/hooks/chat/conversations/index.js.map +1 -0
  146. package/dist/esm/hooks/chat/conversations/useConversation.d.ts +18 -0
  147. package/dist/esm/hooks/chat/conversations/useConversation.js +129 -0
  148. package/dist/esm/hooks/chat/conversations/useConversation.js.map +1 -0
  149. package/dist/esm/hooks/chat/conversations/useConversationMembers.d.ts +18 -0
  150. package/dist/esm/hooks/chat/conversations/useConversationMembers.js +214 -0
  151. package/dist/esm/hooks/chat/conversations/useConversationMembers.js.map +1 -0
  152. package/dist/esm/hooks/chat/conversations/useConversations.d.ts +17 -0
  153. package/dist/esm/hooks/chat/conversations/useConversations.js +188 -0
  154. package/dist/esm/hooks/chat/conversations/useConversations.js.map +1 -0
  155. package/dist/esm/hooks/chat/conversations/useCreateDirectConversation.d.ts +6 -0
  156. package/dist/esm/hooks/chat/conversations/useCreateDirectConversation.js +78 -0
  157. package/dist/esm/hooks/chat/conversations/useCreateDirectConversation.js.map +1 -0
  158. package/dist/esm/hooks/chat/conversations/useSpaceConversation.d.ts +10 -0
  159. package/dist/esm/hooks/chat/conversations/useSpaceConversation.js +86 -0
  160. package/dist/esm/hooks/chat/conversations/useSpaceConversation.js.map +1 -0
  161. package/dist/esm/hooks/chat/index.d.ts +15 -0
  162. package/dist/esm/hooks/chat/index.js +13 -0
  163. package/dist/esm/hooks/chat/index.js.map +1 -0
  164. package/dist/esm/hooks/chat/messages/index.d.ts +12 -0
  165. package/dist/esm/hooks/chat/messages/index.js +7 -0
  166. package/dist/esm/hooks/chat/messages/index.js.map +1 -0
  167. package/dist/esm/hooks/chat/messages/useChatMessages.d.ts +15 -0
  168. package/dist/esm/hooks/chat/messages/useChatMessages.js +223 -0
  169. package/dist/esm/hooks/chat/messages/useChatMessages.js.map +1 -0
  170. package/dist/esm/hooks/chat/messages/useDeleteMessage.d.ts +6 -0
  171. package/dist/esm/hooks/chat/messages/useDeleteMessage.js +76 -0
  172. package/dist/esm/hooks/chat/messages/useDeleteMessage.js.map +1 -0
  173. package/dist/esm/hooks/chat/messages/useEditMessage.d.ts +13 -0
  174. package/dist/esm/hooks/chat/messages/useEditMessage.js +76 -0
  175. package/dist/esm/hooks/chat/messages/useEditMessage.js.map +1 -0
  176. package/dist/esm/hooks/chat/messages/useMessageThread.d.ts +15 -0
  177. package/dist/esm/hooks/chat/messages/useMessageThread.js +33 -0
  178. package/dist/esm/hooks/chat/messages/useMessageThread.js.map +1 -0
  179. package/dist/esm/hooks/chat/messages/useSendMessage.d.ts +17 -0
  180. package/dist/esm/hooks/chat/messages/useSendMessage.js +151 -0
  181. package/dist/esm/hooks/chat/messages/useSendMessage.js.map +1 -0
  182. package/dist/esm/hooks/chat/messages/useToggleReaction.d.ts +11 -0
  183. package/dist/esm/hooks/chat/messages/useToggleReaction.js +90 -0
  184. package/dist/esm/hooks/chat/messages/useToggleReaction.js.map +1 -0
  185. package/dist/esm/hooks/chat/useChatSocket.d.ts +11 -0
  186. package/dist/esm/hooks/chat/useChatSocket.js +11 -0
  187. package/dist/esm/hooks/chat/useChatSocket.js.map +1 -0
  188. package/dist/esm/hooks/chat/useConversationData.d.ts +31 -0
  189. package/dist/esm/hooks/chat/useConversationData.js +42 -0
  190. package/dist/esm/hooks/chat/useConversationData.js.map +1 -0
  191. package/dist/esm/hooks/chat/useMarkConversationAsRead.d.ts +10 -0
  192. package/dist/esm/hooks/chat/useMarkConversationAsRead.js +82 -0
  193. package/dist/esm/hooks/chat/useMarkConversationAsRead.js.map +1 -0
  194. package/dist/esm/hooks/chat/useReportMessage.d.ts +8 -0
  195. package/dist/esm/hooks/chat/useReportMessage.js +71 -0
  196. package/dist/esm/hooks/chat/useReportMessage.js.map +1 -0
  197. package/dist/esm/hooks/chat/useTotalUnreadCount.d.ts +6 -0
  198. package/dist/esm/hooks/chat/useTotalUnreadCount.js +12 -0
  199. package/dist/esm/hooks/chat/useTotalUnreadCount.js.map +1 -0
  200. package/dist/esm/hooks/chat/useTypingIndicator.d.ts +21 -0
  201. package/dist/esm/hooks/chat/useTypingIndicator.js +66 -0
  202. package/dist/esm/hooks/chat/useTypingIndicator.js.map +1 -0
  203. package/dist/esm/hooks/comments/index.d.ts +1 -1
  204. package/dist/esm/hooks/comments/index.js.map +1 -1
  205. package/dist/esm/hooks/comments/useCommentSectionData.d.ts +7 -0
  206. package/dist/esm/hooks/comments/useCommentSectionData.js +62 -38
  207. package/dist/esm/hooks/comments/useCommentSectionData.js.map +1 -1
  208. package/dist/esm/hooks/spaces/index.d.ts +4 -0
  209. package/dist/esm/hooks/spaces/index.js +3 -0
  210. package/dist/esm/hooks/spaces/index.js.map +1 -1
  211. package/dist/esm/hooks/spaces/useSpaceMentions.d.ts +24 -0
  212. package/dist/esm/hooks/spaces/useSpaceMentions.js +186 -0
  213. package/dist/esm/hooks/spaces/useSpaceMentions.js.map +1 -0
  214. package/dist/esm/hooks/spaces/useUnbanMember.d.ts +11 -0
  215. package/dist/esm/hooks/spaces/useUnbanMember.js +66 -0
  216. package/dist/esm/hooks/spaces/useUnbanMember.js.map +1 -0
  217. package/dist/esm/hooks/users/index.d.ts +1 -1
  218. package/dist/esm/hooks/users/index.js +1 -1
  219. package/dist/esm/hooks/users/index.js.map +1 -1
  220. package/dist/esm/hooks/users/{useMentions.d.ts → useUserMentions.d.ts} +8 -4
  221. package/dist/esm/hooks/users/{useMentions.js → useUserMentions.js} +22 -17
  222. package/dist/esm/hooks/users/useUserMentions.js.map +1 -0
  223. package/dist/esm/index.d.ts +11 -5
  224. package/dist/esm/index.js +7 -3
  225. package/dist/esm/index.js.map +1 -1
  226. package/dist/esm/interfaces/models/File.d.ts +1 -0
  227. package/dist/esm/interfaces/models/IChatMessage.d.ts +34 -0
  228. package/dist/esm/interfaces/models/IChatMessage.js +2 -0
  229. package/dist/esm/interfaces/models/IChatMessage.js.map +1 -0
  230. package/dist/esm/interfaces/models/IConversation.d.ts +25 -0
  231. package/dist/esm/interfaces/models/IConversation.js +2 -0
  232. package/dist/esm/interfaces/models/IConversation.js.map +1 -0
  233. package/dist/esm/interfaces/models/IConversationMember.d.ts +16 -0
  234. package/dist/esm/interfaces/models/IConversationMember.js +2 -0
  235. package/dist/esm/interfaces/models/IConversationMember.js.map +1 -0
  236. package/dist/esm/interfaces/models/Mention.d.ts +8 -1
  237. package/dist/esm/store/api/spacesApi.d.ts +364 -0
  238. package/dist/esm/store/api/spacesApi.js +19 -2
  239. package/dist/esm/store/api/spacesApi.js.map +1 -1
  240. package/dist/esm/store/hooks.d.ts +1 -0
  241. package/dist/esm/store/index.d.ts +2 -0
  242. package/dist/esm/store/replykeReducers.d.ts +2 -0
  243. package/dist/esm/store/replykeReducers.js +2 -0
  244. package/dist/esm/store/replykeReducers.js.map +1 -1
  245. package/dist/esm/store/rootReducer.d.ts +3 -0
  246. package/dist/esm/store/slices/chatSlice.d.ts +120 -0
  247. package/dist/esm/store/slices/chatSlice.js +350 -0
  248. package/dist/esm/store/slices/chatSlice.js.map +1 -0
  249. package/dist/esm/store/slices/entityListsSlice.d.ts +168 -24
  250. package/dist/esm/store/slices/spaceListsSlice.d.ts +24 -0
  251. package/dist/esm/store/slices/userSlice.d.ts +16 -0
  252. package/dist/esm/types/socket.d.ts +73 -0
  253. package/dist/esm/types/socket.js +2 -0
  254. package/dist/esm/types/socket.js.map +1 -0
  255. package/package.json +3 -2
  256. package/dist/cjs/hooks/users/useMentions.js.map +0 -1
  257. package/dist/esm/hooks/users/useMentions.js.map +0 -1
@@ -139,6 +139,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
139
139
  userId: string | null;
140
140
  entityId: string | null;
141
141
  commentId: string | null;
142
+ chatMessageId: string | null;
142
143
  spaceId: string | null;
143
144
  type: "image" | "video" | "document" | "other";
144
145
  originalPath: string;
@@ -179,6 +180,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
179
180
  userId: string | null;
180
181
  entityId: string | null;
181
182
  commentId: string | null;
183
+ chatMessageId: string | null;
182
184
  spaceId: string | null;
183
185
  type: "image" | "video" | "document" | "other";
184
186
  originalPath: string;
@@ -230,6 +232,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
230
232
  userId: string | null;
231
233
  entityId: string | null;
232
234
  commentId: string | null;
235
+ chatMessageId: string | null;
233
236
  spaceId: string | null;
234
237
  type: "image" | "video" | "document" | "other";
235
238
  originalPath: string;
@@ -270,6 +273,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
270
273
  userId: string | null;
271
274
  entityId: string | null;
272
275
  commentId: string | null;
276
+ chatMessageId: string | null;
273
277
  spaceId: string | null;
274
278
  type: "image" | "video" | "document" | "other";
275
279
  originalPath: string;
@@ -318,11 +322,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
318
322
  } | null | undefined;
319
323
  title: string | null;
320
324
  content: string | null;
321
- mentions: {
325
+ mentions: ({
326
+ type: "user";
322
327
  id: string;
323
328
  foreignId?: string | null | undefined;
324
329
  username: string;
325
- }[];
330
+ } | {
331
+ type: "space";
332
+ id: string;
333
+ slug: string;
334
+ })[];
326
335
  attachments: {
327
336
  [x: string]: any;
328
337
  }[];
@@ -332,6 +341,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
332
341
  userId: string | null;
333
342
  entityId: string | null;
334
343
  commentId: string | null;
344
+ chatMessageId: string | null;
335
345
  spaceId: string | null;
336
346
  type: "image" | "video" | "document" | "other";
337
347
  originalPath: string;
@@ -409,6 +419,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
409
419
  userId: string | null;
410
420
  entityId: string | null;
411
421
  commentId: string | null;
422
+ chatMessageId: string | null;
412
423
  spaceId: string | null;
413
424
  type: "image" | "video" | "document" | "other";
414
425
  originalPath: string;
@@ -449,6 +460,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
449
460
  userId: string | null;
450
461
  entityId: string | null;
451
462
  commentId: string | null;
463
+ chatMessageId: string | null;
452
464
  spaceId: string | null;
453
465
  type: "image" | "video" | "document" | "other";
454
466
  originalPath: string;
@@ -604,6 +616,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
604
616
  userId: string | null;
605
617
  entityId: string | null;
606
618
  commentId: string | null;
619
+ chatMessageId: string | null;
607
620
  spaceId: string | null;
608
621
  type: "image" | "video" | "document" | "other";
609
622
  originalPath: string;
@@ -644,6 +657,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
644
657
  userId: string | null;
645
658
  entityId: string | null;
646
659
  commentId: string | null;
660
+ chatMessageId: string | null;
647
661
  spaceId: string | null;
648
662
  type: "image" | "video" | "document" | "other";
649
663
  originalPath: string;
@@ -695,6 +709,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
695
709
  userId: string | null;
696
710
  entityId: string | null;
697
711
  commentId: string | null;
712
+ chatMessageId: string | null;
698
713
  spaceId: string | null;
699
714
  type: "image" | "video" | "document" | "other";
700
715
  originalPath: string;
@@ -735,6 +750,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
735
750
  userId: string | null;
736
751
  entityId: string | null;
737
752
  commentId: string | null;
753
+ chatMessageId: string | null;
738
754
  spaceId: string | null;
739
755
  type: "image" | "video" | "document" | "other";
740
756
  originalPath: string;
@@ -783,11 +799,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
783
799
  } | null | undefined;
784
800
  title: string | null;
785
801
  content: string | null;
786
- mentions: {
802
+ mentions: ({
803
+ type: "user";
787
804
  id: string;
788
805
  foreignId?: string | null | undefined;
789
806
  username: string;
790
- }[];
807
+ } | {
808
+ type: "space";
809
+ id: string;
810
+ slug: string;
811
+ })[];
791
812
  attachments: {
792
813
  [x: string]: any;
793
814
  }[];
@@ -797,6 +818,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
797
818
  userId: string | null;
798
819
  entityId: string | null;
799
820
  commentId: string | null;
821
+ chatMessageId: string | null;
800
822
  spaceId: string | null;
801
823
  type: "image" | "video" | "document" | "other";
802
824
  originalPath: string;
@@ -874,6 +896,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
874
896
  userId: string | null;
875
897
  entityId: string | null;
876
898
  commentId: string | null;
899
+ chatMessageId: string | null;
877
900
  spaceId: string | null;
878
901
  type: "image" | "video" | "document" | "other";
879
902
  originalPath: string;
@@ -914,6 +937,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
914
937
  userId: string | null;
915
938
  entityId: string | null;
916
939
  commentId: string | null;
940
+ chatMessageId: string | null;
917
941
  spaceId: string | null;
918
942
  type: "image" | "video" | "document" | "other";
919
943
  originalPath: string;
@@ -1069,6 +1093,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1069
1093
  userId: string | null;
1070
1094
  entityId: string | null;
1071
1095
  commentId: string | null;
1096
+ chatMessageId: string | null;
1072
1097
  spaceId: string | null;
1073
1098
  type: "image" | "video" | "document" | "other";
1074
1099
  originalPath: string;
@@ -1109,6 +1134,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1109
1134
  userId: string | null;
1110
1135
  entityId: string | null;
1111
1136
  commentId: string | null;
1137
+ chatMessageId: string | null;
1112
1138
  spaceId: string | null;
1113
1139
  type: "image" | "video" | "document" | "other";
1114
1140
  originalPath: string;
@@ -1160,6 +1186,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1160
1186
  userId: string | null;
1161
1187
  entityId: string | null;
1162
1188
  commentId: string | null;
1189
+ chatMessageId: string | null;
1163
1190
  spaceId: string | null;
1164
1191
  type: "image" | "video" | "document" | "other";
1165
1192
  originalPath: string;
@@ -1200,6 +1227,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1200
1227
  userId: string | null;
1201
1228
  entityId: string | null;
1202
1229
  commentId: string | null;
1230
+ chatMessageId: string | null;
1203
1231
  spaceId: string | null;
1204
1232
  type: "image" | "video" | "document" | "other";
1205
1233
  originalPath: string;
@@ -1248,11 +1276,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1248
1276
  } | null | undefined;
1249
1277
  title: string | null;
1250
1278
  content: string | null;
1251
- mentions: {
1279
+ mentions: ({
1280
+ type: "user";
1252
1281
  id: string;
1253
1282
  foreignId?: string | null | undefined;
1254
1283
  username: string;
1255
- }[];
1284
+ } | {
1285
+ type: "space";
1286
+ id: string;
1287
+ slug: string;
1288
+ })[];
1256
1289
  attachments: {
1257
1290
  [x: string]: any;
1258
1291
  }[];
@@ -1262,6 +1295,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1262
1295
  userId: string | null;
1263
1296
  entityId: string | null;
1264
1297
  commentId: string | null;
1298
+ chatMessageId: string | null;
1265
1299
  spaceId: string | null;
1266
1300
  type: "image" | "video" | "document" | "other";
1267
1301
  originalPath: string;
@@ -1339,6 +1373,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1339
1373
  userId: string | null;
1340
1374
  entityId: string | null;
1341
1375
  commentId: string | null;
1376
+ chatMessageId: string | null;
1342
1377
  spaceId: string | null;
1343
1378
  type: "image" | "video" | "document" | "other";
1344
1379
  originalPath: string;
@@ -1379,6 +1414,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1379
1414
  userId: string | null;
1380
1415
  entityId: string | null;
1381
1416
  commentId: string | null;
1417
+ chatMessageId: string | null;
1382
1418
  spaceId: string | null;
1383
1419
  type: "image" | "video" | "document" | "other";
1384
1420
  originalPath: string;
@@ -1537,6 +1573,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1537
1573
  userId: string | null;
1538
1574
  entityId: string | null;
1539
1575
  commentId: string | null;
1576
+ chatMessageId: string | null;
1540
1577
  spaceId: string | null;
1541
1578
  type: "image" | "video" | "document" | "other";
1542
1579
  originalPath: string;
@@ -1577,6 +1614,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1577
1614
  userId: string | null;
1578
1615
  entityId: string | null;
1579
1616
  commentId: string | null;
1617
+ chatMessageId: string | null;
1580
1618
  spaceId: string | null;
1581
1619
  type: "image" | "video" | "document" | "other";
1582
1620
  originalPath: string;
@@ -1628,6 +1666,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1628
1666
  userId: string | null;
1629
1667
  entityId: string | null;
1630
1668
  commentId: string | null;
1669
+ chatMessageId: string | null;
1631
1670
  spaceId: string | null;
1632
1671
  type: "image" | "video" | "document" | "other";
1633
1672
  originalPath: string;
@@ -1668,6 +1707,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1668
1707
  userId: string | null;
1669
1708
  entityId: string | null;
1670
1709
  commentId: string | null;
1710
+ chatMessageId: string | null;
1671
1711
  spaceId: string | null;
1672
1712
  type: "image" | "video" | "document" | "other";
1673
1713
  originalPath: string;
@@ -1716,11 +1756,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1716
1756
  } | null | undefined;
1717
1757
  title: string | null;
1718
1758
  content: string | null;
1719
- mentions: {
1759
+ mentions: ({
1760
+ type: "user";
1720
1761
  id: string;
1721
1762
  foreignId?: string | null | undefined;
1722
1763
  username: string;
1723
- }[];
1764
+ } | {
1765
+ type: "space";
1766
+ id: string;
1767
+ slug: string;
1768
+ })[];
1724
1769
  attachments: {
1725
1770
  [x: string]: any;
1726
1771
  }[];
@@ -1730,6 +1775,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1730
1775
  userId: string | null;
1731
1776
  entityId: string | null;
1732
1777
  commentId: string | null;
1778
+ chatMessageId: string | null;
1733
1779
  spaceId: string | null;
1734
1780
  type: "image" | "video" | "document" | "other";
1735
1781
  originalPath: string;
@@ -1807,6 +1853,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1807
1853
  userId: string | null;
1808
1854
  entityId: string | null;
1809
1855
  commentId: string | null;
1856
+ chatMessageId: string | null;
1810
1857
  spaceId: string | null;
1811
1858
  type: "image" | "video" | "document" | "other";
1812
1859
  originalPath: string;
@@ -1847,6 +1894,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
1847
1894
  userId: string | null;
1848
1895
  entityId: string | null;
1849
1896
  commentId: string | null;
1897
+ chatMessageId: string | null;
1850
1898
  spaceId: string | null;
1851
1899
  type: "image" | "video" | "document" | "other";
1852
1900
  originalPath: string;
@@ -2002,6 +2050,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2002
2050
  userId: string | null;
2003
2051
  entityId: string | null;
2004
2052
  commentId: string | null;
2053
+ chatMessageId: string | null;
2005
2054
  spaceId: string | null;
2006
2055
  type: "image" | "video" | "document" | "other";
2007
2056
  originalPath: string;
@@ -2042,6 +2091,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2042
2091
  userId: string | null;
2043
2092
  entityId: string | null;
2044
2093
  commentId: string | null;
2094
+ chatMessageId: string | null;
2045
2095
  spaceId: string | null;
2046
2096
  type: "image" | "video" | "document" | "other";
2047
2097
  originalPath: string;
@@ -2093,6 +2143,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2093
2143
  userId: string | null;
2094
2144
  entityId: string | null;
2095
2145
  commentId: string | null;
2146
+ chatMessageId: string | null;
2096
2147
  spaceId: string | null;
2097
2148
  type: "image" | "video" | "document" | "other";
2098
2149
  originalPath: string;
@@ -2133,6 +2184,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2133
2184
  userId: string | null;
2134
2185
  entityId: string | null;
2135
2186
  commentId: string | null;
2187
+ chatMessageId: string | null;
2136
2188
  spaceId: string | null;
2137
2189
  type: "image" | "video" | "document" | "other";
2138
2190
  originalPath: string;
@@ -2181,11 +2233,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2181
2233
  } | null | undefined;
2182
2234
  title: string | null;
2183
2235
  content: string | null;
2184
- mentions: {
2236
+ mentions: ({
2237
+ type: "user";
2185
2238
  id: string;
2186
2239
  foreignId?: string | null | undefined;
2187
2240
  username: string;
2188
- }[];
2241
+ } | {
2242
+ type: "space";
2243
+ id: string;
2244
+ slug: string;
2245
+ })[];
2189
2246
  attachments: {
2190
2247
  [x: string]: any;
2191
2248
  }[];
@@ -2195,6 +2252,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2195
2252
  userId: string | null;
2196
2253
  entityId: string | null;
2197
2254
  commentId: string | null;
2255
+ chatMessageId: string | null;
2198
2256
  spaceId: string | null;
2199
2257
  type: "image" | "video" | "document" | "other";
2200
2258
  originalPath: string;
@@ -2272,6 +2330,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2272
2330
  userId: string | null;
2273
2331
  entityId: string | null;
2274
2332
  commentId: string | null;
2333
+ chatMessageId: string | null;
2275
2334
  spaceId: string | null;
2276
2335
  type: "image" | "video" | "document" | "other";
2277
2336
  originalPath: string;
@@ -2312,6 +2371,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2312
2371
  userId: string | null;
2313
2372
  entityId: string | null;
2314
2373
  commentId: string | null;
2374
+ chatMessageId: string | null;
2315
2375
  spaceId: string | null;
2316
2376
  type: "image" | "video" | "document" | "other";
2317
2377
  originalPath: string;
@@ -2467,6 +2527,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2467
2527
  userId: string | null;
2468
2528
  entityId: string | null;
2469
2529
  commentId: string | null;
2530
+ chatMessageId: string | null;
2470
2531
  spaceId: string | null;
2471
2532
  type: "image" | "video" | "document" | "other";
2472
2533
  originalPath: string;
@@ -2507,6 +2568,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2507
2568
  userId: string | null;
2508
2569
  entityId: string | null;
2509
2570
  commentId: string | null;
2571
+ chatMessageId: string | null;
2510
2572
  spaceId: string | null;
2511
2573
  type: "image" | "video" | "document" | "other";
2512
2574
  originalPath: string;
@@ -2558,6 +2620,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2558
2620
  userId: string | null;
2559
2621
  entityId: string | null;
2560
2622
  commentId: string | null;
2623
+ chatMessageId: string | null;
2561
2624
  spaceId: string | null;
2562
2625
  type: "image" | "video" | "document" | "other";
2563
2626
  originalPath: string;
@@ -2598,6 +2661,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2598
2661
  userId: string | null;
2599
2662
  entityId: string | null;
2600
2663
  commentId: string | null;
2664
+ chatMessageId: string | null;
2601
2665
  spaceId: string | null;
2602
2666
  type: "image" | "video" | "document" | "other";
2603
2667
  originalPath: string;
@@ -2646,11 +2710,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2646
2710
  } | null | undefined;
2647
2711
  title: string | null;
2648
2712
  content: string | null;
2649
- mentions: {
2713
+ mentions: ({
2714
+ type: "user";
2650
2715
  id: string;
2651
2716
  foreignId?: string | null | undefined;
2652
2717
  username: string;
2653
- }[];
2718
+ } | {
2719
+ type: "space";
2720
+ id: string;
2721
+ slug: string;
2722
+ })[];
2654
2723
  attachments: {
2655
2724
  [x: string]: any;
2656
2725
  }[];
@@ -2660,6 +2729,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2660
2729
  userId: string | null;
2661
2730
  entityId: string | null;
2662
2731
  commentId: string | null;
2732
+ chatMessageId: string | null;
2663
2733
  spaceId: string | null;
2664
2734
  type: "image" | "video" | "document" | "other";
2665
2735
  originalPath: string;
@@ -2737,6 +2807,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2737
2807
  userId: string | null;
2738
2808
  entityId: string | null;
2739
2809
  commentId: string | null;
2810
+ chatMessageId: string | null;
2740
2811
  spaceId: string | null;
2741
2812
  type: "image" | "video" | "document" | "other";
2742
2813
  originalPath: string;
@@ -2777,6 +2848,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2777
2848
  userId: string | null;
2778
2849
  entityId: string | null;
2779
2850
  commentId: string | null;
2851
+ chatMessageId: string | null;
2780
2852
  spaceId: string | null;
2781
2853
  type: "image" | "video" | "document" | "other";
2782
2854
  originalPath: string;
@@ -2935,6 +3007,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2935
3007
  userId: string | null;
2936
3008
  entityId: string | null;
2937
3009
  commentId: string | null;
3010
+ chatMessageId: string | null;
2938
3011
  spaceId: string | null;
2939
3012
  type: "image" | "video" | "document" | "other";
2940
3013
  originalPath: string;
@@ -2975,6 +3048,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
2975
3048
  userId: string | null;
2976
3049
  entityId: string | null;
2977
3050
  commentId: string | null;
3051
+ chatMessageId: string | null;
2978
3052
  spaceId: string | null;
2979
3053
  type: "image" | "video" | "document" | "other";
2980
3054
  originalPath: string;
@@ -3026,6 +3100,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3026
3100
  userId: string | null;
3027
3101
  entityId: string | null;
3028
3102
  commentId: string | null;
3103
+ chatMessageId: string | null;
3029
3104
  spaceId: string | null;
3030
3105
  type: "image" | "video" | "document" | "other";
3031
3106
  originalPath: string;
@@ -3066,6 +3141,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3066
3141
  userId: string | null;
3067
3142
  entityId: string | null;
3068
3143
  commentId: string | null;
3144
+ chatMessageId: string | null;
3069
3145
  spaceId: string | null;
3070
3146
  type: "image" | "video" | "document" | "other";
3071
3147
  originalPath: string;
@@ -3114,11 +3190,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3114
3190
  } | null | undefined;
3115
3191
  title: string | null;
3116
3192
  content: string | null;
3117
- mentions: {
3193
+ mentions: ({
3194
+ type: "user";
3118
3195
  id: string;
3119
3196
  foreignId?: string | null | undefined;
3120
3197
  username: string;
3121
- }[];
3198
+ } | {
3199
+ type: "space";
3200
+ id: string;
3201
+ slug: string;
3202
+ })[];
3122
3203
  attachments: {
3123
3204
  [x: string]: any;
3124
3205
  }[];
@@ -3128,6 +3209,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3128
3209
  userId: string | null;
3129
3210
  entityId: string | null;
3130
3211
  commentId: string | null;
3212
+ chatMessageId: string | null;
3131
3213
  spaceId: string | null;
3132
3214
  type: "image" | "video" | "document" | "other";
3133
3215
  originalPath: string;
@@ -3205,6 +3287,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3205
3287
  userId: string | null;
3206
3288
  entityId: string | null;
3207
3289
  commentId: string | null;
3290
+ chatMessageId: string | null;
3208
3291
  spaceId: string | null;
3209
3292
  type: "image" | "video" | "document" | "other";
3210
3293
  originalPath: string;
@@ -3245,6 +3328,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3245
3328
  userId: string | null;
3246
3329
  entityId: string | null;
3247
3330
  commentId: string | null;
3331
+ chatMessageId: string | null;
3248
3332
  spaceId: string | null;
3249
3333
  type: "image" | "video" | "document" | "other";
3250
3334
  originalPath: string;
@@ -3403,6 +3487,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3403
3487
  userId: string | null;
3404
3488
  entityId: string | null;
3405
3489
  commentId: string | null;
3490
+ chatMessageId: string | null;
3406
3491
  spaceId: string | null;
3407
3492
  type: "image" | "video" | "document" | "other";
3408
3493
  originalPath: string;
@@ -3443,6 +3528,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3443
3528
  userId: string | null;
3444
3529
  entityId: string | null;
3445
3530
  commentId: string | null;
3531
+ chatMessageId: string | null;
3446
3532
  spaceId: string | null;
3447
3533
  type: "image" | "video" | "document" | "other";
3448
3534
  originalPath: string;
@@ -3494,6 +3580,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3494
3580
  userId: string | null;
3495
3581
  entityId: string | null;
3496
3582
  commentId: string | null;
3583
+ chatMessageId: string | null;
3497
3584
  spaceId: string | null;
3498
3585
  type: "image" | "video" | "document" | "other";
3499
3586
  originalPath: string;
@@ -3534,6 +3621,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3534
3621
  userId: string | null;
3535
3622
  entityId: string | null;
3536
3623
  commentId: string | null;
3624
+ chatMessageId: string | null;
3537
3625
  spaceId: string | null;
3538
3626
  type: "image" | "video" | "document" | "other";
3539
3627
  originalPath: string;
@@ -3582,11 +3670,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3582
3670
  } | null | undefined;
3583
3671
  title: string | null;
3584
3672
  content: string | null;
3585
- mentions: {
3673
+ mentions: ({
3674
+ type: "user";
3586
3675
  id: string;
3587
3676
  foreignId?: string | null | undefined;
3588
3677
  username: string;
3589
- }[];
3678
+ } | {
3679
+ type: "space";
3680
+ id: string;
3681
+ slug: string;
3682
+ })[];
3590
3683
  attachments: {
3591
3684
  [x: string]: any;
3592
3685
  }[];
@@ -3596,6 +3689,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3596
3689
  userId: string | null;
3597
3690
  entityId: string | null;
3598
3691
  commentId: string | null;
3692
+ chatMessageId: string | null;
3599
3693
  spaceId: string | null;
3600
3694
  type: "image" | "video" | "document" | "other";
3601
3695
  originalPath: string;
@@ -3673,6 +3767,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3673
3767
  userId: string | null;
3674
3768
  entityId: string | null;
3675
3769
  commentId: string | null;
3770
+ chatMessageId: string | null;
3676
3771
  spaceId: string | null;
3677
3772
  type: "image" | "video" | "document" | "other";
3678
3773
  originalPath: string;
@@ -3713,6 +3808,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3713
3808
  userId: string | null;
3714
3809
  entityId: string | null;
3715
3810
  commentId: string | null;
3811
+ chatMessageId: string | null;
3716
3812
  spaceId: string | null;
3717
3813
  type: "image" | "video" | "document" | "other";
3718
3814
  originalPath: string;
@@ -3868,6 +3964,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3868
3964
  userId: string | null;
3869
3965
  entityId: string | null;
3870
3966
  commentId: string | null;
3967
+ chatMessageId: string | null;
3871
3968
  spaceId: string | null;
3872
3969
  type: "image" | "video" | "document" | "other";
3873
3970
  originalPath: string;
@@ -3908,6 +4005,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3908
4005
  userId: string | null;
3909
4006
  entityId: string | null;
3910
4007
  commentId: string | null;
4008
+ chatMessageId: string | null;
3911
4009
  spaceId: string | null;
3912
4010
  type: "image" | "video" | "document" | "other";
3913
4011
  originalPath: string;
@@ -3959,6 +4057,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3959
4057
  userId: string | null;
3960
4058
  entityId: string | null;
3961
4059
  commentId: string | null;
4060
+ chatMessageId: string | null;
3962
4061
  spaceId: string | null;
3963
4062
  type: "image" | "video" | "document" | "other";
3964
4063
  originalPath: string;
@@ -3999,6 +4098,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
3999
4098
  userId: string | null;
4000
4099
  entityId: string | null;
4001
4100
  commentId: string | null;
4101
+ chatMessageId: string | null;
4002
4102
  spaceId: string | null;
4003
4103
  type: "image" | "video" | "document" | "other";
4004
4104
  originalPath: string;
@@ -4047,11 +4147,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4047
4147
  } | null | undefined;
4048
4148
  title: string | null;
4049
4149
  content: string | null;
4050
- mentions: {
4150
+ mentions: ({
4151
+ type: "user";
4051
4152
  id: string;
4052
4153
  foreignId?: string | null | undefined;
4053
4154
  username: string;
4054
- }[];
4155
+ } | {
4156
+ type: "space";
4157
+ id: string;
4158
+ slug: string;
4159
+ })[];
4055
4160
  attachments: {
4056
4161
  [x: string]: any;
4057
4162
  }[];
@@ -4061,6 +4166,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4061
4166
  userId: string | null;
4062
4167
  entityId: string | null;
4063
4168
  commentId: string | null;
4169
+ chatMessageId: string | null;
4064
4170
  spaceId: string | null;
4065
4171
  type: "image" | "video" | "document" | "other";
4066
4172
  originalPath: string;
@@ -4138,6 +4244,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4138
4244
  userId: string | null;
4139
4245
  entityId: string | null;
4140
4246
  commentId: string | null;
4247
+ chatMessageId: string | null;
4141
4248
  spaceId: string | null;
4142
4249
  type: "image" | "video" | "document" | "other";
4143
4250
  originalPath: string;
@@ -4178,6 +4285,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4178
4285
  userId: string | null;
4179
4286
  entityId: string | null;
4180
4287
  commentId: string | null;
4288
+ chatMessageId: string | null;
4181
4289
  spaceId: string | null;
4182
4290
  type: "image" | "video" | "document" | "other";
4183
4291
  originalPath: string;
@@ -4333,6 +4441,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4333
4441
  userId: string | null;
4334
4442
  entityId: string | null;
4335
4443
  commentId: string | null;
4444
+ chatMessageId: string | null;
4336
4445
  spaceId: string | null;
4337
4446
  type: "image" | "video" | "document" | "other";
4338
4447
  originalPath: string;
@@ -4373,6 +4482,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4373
4482
  userId: string | null;
4374
4483
  entityId: string | null;
4375
4484
  commentId: string | null;
4485
+ chatMessageId: string | null;
4376
4486
  spaceId: string | null;
4377
4487
  type: "image" | "video" | "document" | "other";
4378
4488
  originalPath: string;
@@ -4424,6 +4534,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4424
4534
  userId: string | null;
4425
4535
  entityId: string | null;
4426
4536
  commentId: string | null;
4537
+ chatMessageId: string | null;
4427
4538
  spaceId: string | null;
4428
4539
  type: "image" | "video" | "document" | "other";
4429
4540
  originalPath: string;
@@ -4464,6 +4575,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4464
4575
  userId: string | null;
4465
4576
  entityId: string | null;
4466
4577
  commentId: string | null;
4578
+ chatMessageId: string | null;
4467
4579
  spaceId: string | null;
4468
4580
  type: "image" | "video" | "document" | "other";
4469
4581
  originalPath: string;
@@ -4512,11 +4624,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4512
4624
  } | null | undefined;
4513
4625
  title: string | null;
4514
4626
  content: string | null;
4515
- mentions: {
4627
+ mentions: ({
4628
+ type: "user";
4516
4629
  id: string;
4517
4630
  foreignId?: string | null | undefined;
4518
4631
  username: string;
4519
- }[];
4632
+ } | {
4633
+ type: "space";
4634
+ id: string;
4635
+ slug: string;
4636
+ })[];
4520
4637
  attachments: {
4521
4638
  [x: string]: any;
4522
4639
  }[];
@@ -4526,6 +4643,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4526
4643
  userId: string | null;
4527
4644
  entityId: string | null;
4528
4645
  commentId: string | null;
4646
+ chatMessageId: string | null;
4529
4647
  spaceId: string | null;
4530
4648
  type: "image" | "video" | "document" | "other";
4531
4649
  originalPath: string;
@@ -4603,6 +4721,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4603
4721
  userId: string | null;
4604
4722
  entityId: string | null;
4605
4723
  commentId: string | null;
4724
+ chatMessageId: string | null;
4606
4725
  spaceId: string | null;
4607
4726
  type: "image" | "video" | "document" | "other";
4608
4727
  originalPath: string;
@@ -4643,6 +4762,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4643
4762
  userId: string | null;
4644
4763
  entityId: string | null;
4645
4764
  commentId: string | null;
4765
+ chatMessageId: string | null;
4646
4766
  spaceId: string | null;
4647
4767
  type: "image" | "video" | "document" | "other";
4648
4768
  originalPath: string;
@@ -4798,6 +4918,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4798
4918
  userId: string | null;
4799
4919
  entityId: string | null;
4800
4920
  commentId: string | null;
4921
+ chatMessageId: string | null;
4801
4922
  spaceId: string | null;
4802
4923
  type: "image" | "video" | "document" | "other";
4803
4924
  originalPath: string;
@@ -4838,6 +4959,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4838
4959
  userId: string | null;
4839
4960
  entityId: string | null;
4840
4961
  commentId: string | null;
4962
+ chatMessageId: string | null;
4841
4963
  spaceId: string | null;
4842
4964
  type: "image" | "video" | "document" | "other";
4843
4965
  originalPath: string;
@@ -4889,6 +5011,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4889
5011
  userId: string | null;
4890
5012
  entityId: string | null;
4891
5013
  commentId: string | null;
5014
+ chatMessageId: string | null;
4892
5015
  spaceId: string | null;
4893
5016
  type: "image" | "video" | "document" | "other";
4894
5017
  originalPath: string;
@@ -4929,6 +5052,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4929
5052
  userId: string | null;
4930
5053
  entityId: string | null;
4931
5054
  commentId: string | null;
5055
+ chatMessageId: string | null;
4932
5056
  spaceId: string | null;
4933
5057
  type: "image" | "video" | "document" | "other";
4934
5058
  originalPath: string;
@@ -4977,11 +5101,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4977
5101
  } | null | undefined;
4978
5102
  title: string | null;
4979
5103
  content: string | null;
4980
- mentions: {
5104
+ mentions: ({
5105
+ type: "user";
4981
5106
  id: string;
4982
5107
  foreignId?: string | null | undefined;
4983
5108
  username: string;
4984
- }[];
5109
+ } | {
5110
+ type: "space";
5111
+ id: string;
5112
+ slug: string;
5113
+ })[];
4985
5114
  attachments: {
4986
5115
  [x: string]: any;
4987
5116
  }[];
@@ -4991,6 +5120,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
4991
5120
  userId: string | null;
4992
5121
  entityId: string | null;
4993
5122
  commentId: string | null;
5123
+ chatMessageId: string | null;
4994
5124
  spaceId: string | null;
4995
5125
  type: "image" | "video" | "document" | "other";
4996
5126
  originalPath: string;
@@ -5068,6 +5198,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
5068
5198
  userId: string | null;
5069
5199
  entityId: string | null;
5070
5200
  commentId: string | null;
5201
+ chatMessageId: string | null;
5071
5202
  spaceId: string | null;
5072
5203
  type: "image" | "video" | "document" | "other";
5073
5204
  originalPath: string;
@@ -5108,6 +5239,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
5108
5239
  userId: string | null;
5109
5240
  entityId: string | null;
5110
5241
  commentId: string | null;
5242
+ chatMessageId: string | null;
5111
5243
  spaceId: string | null;
5112
5244
  type: "image" | "video" | "document" | "other";
5113
5245
  originalPath: string;
@@ -5263,6 +5395,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
5263
5395
  userId: string | null;
5264
5396
  entityId: string | null;
5265
5397
  commentId: string | null;
5398
+ chatMessageId: string | null;
5266
5399
  spaceId: string | null;
5267
5400
  type: "image" | "video" | "document" | "other";
5268
5401
  originalPath: string;
@@ -5303,6 +5436,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
5303
5436
  userId: string | null;
5304
5437
  entityId: string | null;
5305
5438
  commentId: string | null;
5439
+ chatMessageId: string | null;
5306
5440
  spaceId: string | null;
5307
5441
  type: "image" | "video" | "document" | "other";
5308
5442
  originalPath: string;
@@ -5354,6 +5488,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
5354
5488
  userId: string | null;
5355
5489
  entityId: string | null;
5356
5490
  commentId: string | null;
5491
+ chatMessageId: string | null;
5357
5492
  spaceId: string | null;
5358
5493
  type: "image" | "video" | "document" | "other";
5359
5494
  originalPath: string;
@@ -5394,6 +5529,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
5394
5529
  userId: string | null;
5395
5530
  entityId: string | null;
5396
5531
  commentId: string | null;
5532
+ chatMessageId: string | null;
5397
5533
  spaceId: string | null;
5398
5534
  type: "image" | "video" | "document" | "other";
5399
5535
  originalPath: string;
@@ -5442,11 +5578,16 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
5442
5578
  } | null | undefined;
5443
5579
  title: string | null;
5444
5580
  content: string | null;
5445
- mentions: {
5581
+ mentions: ({
5582
+ type: "user";
5446
5583
  id: string;
5447
5584
  foreignId?: string | null | undefined;
5448
5585
  username: string;
5449
- }[];
5586
+ } | {
5587
+ type: "space";
5588
+ id: string;
5589
+ slug: string;
5590
+ })[];
5450
5591
  attachments: {
5451
5592
  [x: string]: any;
5452
5593
  }[];
@@ -5456,6 +5597,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
5456
5597
  userId: string | null;
5457
5598
  entityId: string | null;
5458
5599
  commentId: string | null;
5600
+ chatMessageId: string | null;
5459
5601
  spaceId: string | null;
5460
5602
  type: "image" | "video" | "document" | "other";
5461
5603
  originalPath: string;
@@ -5533,6 +5675,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
5533
5675
  userId: string | null;
5534
5676
  entityId: string | null;
5535
5677
  commentId: string | null;
5678
+ chatMessageId: string | null;
5536
5679
  spaceId: string | null;
5537
5680
  type: "image" | "video" | "document" | "other";
5538
5681
  originalPath: string;
@@ -5573,6 +5716,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
5573
5716
  userId: string | null;
5574
5717
  entityId: string | null;
5575
5718
  commentId: string | null;
5719
+ chatMessageId: string | null;
5576
5720
  spaceId: string | null;
5577
5721
  type: "image" | "video" | "document" | "other";
5578
5722
  originalPath: string;