@replyke/core 7.0.0-beta.11 → 7.0.0-beta.110
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.
- package/dist/cjs/config/axios.d.ts +1 -0
- package/dist/cjs/config/axios.js +5 -6
- package/dist/cjs/config/axios.js.map +1 -1
- package/dist/cjs/config/useAxiosPrivate.d.ts +2 -1
- package/dist/cjs/config/useAxiosPrivate.js +30 -68
- package/dist/cjs/config/useAxiosPrivate.js.map +1 -1
- package/dist/cjs/context/chat-context.d.ts +17 -0
- package/dist/cjs/context/chat-context.js +312 -0
- package/dist/cjs/context/chat-context.js.map +1 -0
- package/dist/cjs/context/comment-section-context.js +5 -17
- package/dist/cjs/context/comment-section-context.js.map +1 -1
- package/dist/cjs/context/conversation-context.d.ts +14 -0
- package/dist/cjs/context/conversation-context.js +168 -0
- package/dist/cjs/context/conversation-context.js.map +1 -0
- package/dist/cjs/context/entity-context.d.ts +2 -2
- package/dist/cjs/context/entity-context.js +9 -22
- package/dist/cjs/context/entity-context.js.map +1 -1
- package/dist/cjs/context/index.d.ts +4 -0
- package/dist/cjs/context/index.js +15 -1
- package/dist/cjs/context/index.js.map +1 -1
- package/dist/cjs/context/message-thread-context.d.ts +13 -0
- package/dist/cjs/context/message-thread-context.js +20 -0
- package/dist/cjs/context/message-thread-context.js.map +1 -0
- package/dist/cjs/context/replyke-context.js +6 -7
- package/dist/cjs/context/replyke-context.js.map +1 -1
- package/dist/cjs/context/replyke-integration-context.d.ts +52 -0
- package/dist/cjs/context/replyke-integration-context.js +95 -0
- package/dist/cjs/context/replyke-integration-context.js.map +1 -0
- package/dist/cjs/context/replyke-store-context.js +27 -17
- package/dist/cjs/context/replyke-store-context.js.map +1 -1
- package/dist/cjs/context/space-context.js +6 -19
- package/dist/cjs/context/space-context.js.map +1 -1
- package/dist/cjs/helpers/addCommentsToTree.js +28 -29
- package/dist/cjs/helpers/addCommentsToTree.js.map +1 -1
- package/dist/cjs/helpers/addNotificationsMessages.js +183 -65
- package/dist/cjs/helpers/addNotificationsMessages.js.map +1 -1
- package/dist/cjs/helpers/getPublicFileUrl.js +1 -1
- package/dist/cjs/helpers/getPublicFileUrl.js.map +1 -1
- package/dist/cjs/helpers/getUserName.js +2 -4
- package/dist/cjs/helpers/getUserName.js.map +1 -1
- package/dist/cjs/helpers/markCommentAsDeletedInTree.d.ts +7 -0
- package/dist/cjs/helpers/markCommentAsDeletedInTree.js +29 -0
- package/dist/cjs/helpers/markCommentAsDeletedInTree.js.map +1 -0
- package/dist/cjs/helpers/markCommentAsFailed.js +3 -14
- package/dist/cjs/helpers/markCommentAsFailed.js.map +1 -1
- package/dist/cjs/helpers/removeCommentFromTree.js +10 -30
- package/dist/cjs/helpers/removeCommentFromTree.js.map +1 -1
- package/dist/cjs/helpers/safeMergeStyleProps.js +4 -8
- package/dist/cjs/helpers/safeMergeStyleProps.js.map +1 -1
- package/dist/cjs/hooks/app-notifications/useAppNotifications.d.ts +3 -1
- package/dist/cjs/hooks/app-notifications/useAppNotifications.js +39 -64
- package/dist/cjs/hooks/app-notifications/useAppNotifications.js.map +1 -1
- package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.d.ts +16 -8
- package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js +125 -229
- package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
- package/dist/cjs/hooks/auth/index.d.ts +11 -1
- package/dist/cjs/hooks/auth/index.js +21 -1
- package/dist/cjs/hooks/auth/index.js.map +1 -1
- package/dist/cjs/hooks/auth/useAccountSync.d.ts +2 -0
- package/dist/cjs/hooks/auth/useAccountSync.js +124 -0
- package/dist/cjs/hooks/auth/useAccountSync.js.map +1 -0
- package/dist/cjs/hooks/auth/useAccounts.d.ts +7 -0
- package/dist/cjs/hooks/auth/useAccounts.js +22 -0
- package/dist/cjs/hooks/auth/useAccounts.js.map +1 -0
- package/dist/cjs/hooks/auth/useAddAccount.d.ts +5 -0
- package/dist/cjs/hooks/auth/useAddAccount.js +27 -0
- package/dist/cjs/hooks/auth/useAddAccount.js.map +1 -0
- package/dist/cjs/hooks/auth/useAuth.d.ts +31 -24
- package/dist/cjs/hooks/auth/useAuth.js +69 -153
- package/dist/cjs/hooks/auth/useAuth.js.map +1 -1
- package/dist/cjs/hooks/auth/useOAuthIdentities.d.ts +21 -0
- package/dist/cjs/hooks/auth/useOAuthIdentities.js +50 -0
- package/dist/cjs/hooks/auth/useOAuthIdentities.js.map +1 -0
- package/dist/cjs/hooks/auth/useRemoveAccount.d.ts +8 -0
- package/dist/cjs/hooks/auth/useRemoveAccount.js +75 -0
- package/dist/cjs/hooks/auth/useRemoveAccount.js.map +1 -0
- package/dist/cjs/hooks/auth/useRequestPasswordReset.d.ts +8 -0
- package/dist/cjs/hooks/auth/useRequestPasswordReset.js +24 -0
- package/dist/cjs/hooks/auth/useRequestPasswordReset.js.map +1 -0
- package/dist/cjs/hooks/auth/useSendVerificationEmail.d.ts +10 -0
- package/dist/cjs/hooks/auth/useSendVerificationEmail.js +21 -0
- package/dist/cjs/hooks/auth/useSendVerificationEmail.js.map +1 -0
- package/dist/cjs/hooks/auth/useSignOutAll.d.ts +4 -0
- package/dist/cjs/hooks/auth/useSignOutAll.js +25 -0
- package/dist/cjs/hooks/auth/useSignOutAll.js.map +1 -0
- package/dist/cjs/hooks/auth/useSwitchAccount.d.ts +8 -0
- package/dist/cjs/hooks/auth/useSwitchAccount.js +54 -0
- package/dist/cjs/hooks/auth/useSwitchAccount.js.map +1 -0
- package/dist/cjs/hooks/auth/useVerifyEmail.d.ts +7 -0
- package/dist/cjs/hooks/auth/useVerifyEmail.js +31 -0
- package/dist/cjs/hooks/auth/useVerifyEmail.js.map +1 -0
- package/dist/cjs/hooks/chat/conversations/index.d.ts +16 -0
- package/dist/cjs/hooks/chat/conversations/index.js +23 -0
- package/dist/cjs/hooks/chat/conversations/index.js.map +1 -0
- package/dist/cjs/hooks/chat/conversations/useConversation.d.ts +13 -0
- package/dist/cjs/hooks/chat/conversations/useConversation.js +51 -0
- package/dist/cjs/hooks/chat/conversations/useConversation.js.map +1 -0
- package/dist/cjs/hooks/chat/conversations/useConversationMembers.d.ts +27 -0
- package/dist/cjs/hooks/chat/conversations/useConversationMembers.js +116 -0
- package/dist/cjs/hooks/chat/conversations/useConversationMembers.js.map +1 -0
- package/dist/cjs/hooks/chat/conversations/useConversations.d.ts +17 -0
- package/dist/cjs/hooks/chat/conversations/useConversations.js +101 -0
- package/dist/cjs/hooks/chat/conversations/useConversations.js.map +1 -0
- package/dist/cjs/hooks/chat/conversations/useCreateDirectConversation.d.ts +6 -0
- package/dist/cjs/hooks/chat/conversations/useCreateDirectConversation.js +35 -0
- package/dist/cjs/hooks/chat/conversations/useCreateDirectConversation.js.map +1 -0
- package/dist/cjs/hooks/chat/conversations/useDeleteConversation.d.ts +5 -0
- package/dist/cjs/hooks/chat/conversations/useDeleteConversation.js +22 -0
- package/dist/cjs/hooks/chat/conversations/useDeleteConversation.js.map +1 -0
- package/dist/cjs/hooks/chat/conversations/useFetchConversation.d.ts +6 -0
- package/dist/cjs/hooks/chat/conversations/useFetchConversation.js +23 -0
- package/dist/cjs/hooks/chat/conversations/useFetchConversation.js.map +1 -0
- package/dist/cjs/hooks/chat/conversations/useFetchSpaceConversation.d.ts +10 -0
- package/dist/cjs/hooks/chat/conversations/useFetchSpaceConversation.js +41 -0
- package/dist/cjs/hooks/chat/conversations/useFetchSpaceConversation.js.map +1 -0
- package/dist/cjs/hooks/chat/conversations/useUpdateConversation.d.ts +10 -0
- package/dist/cjs/hooks/chat/conversations/useUpdateConversation.js +23 -0
- package/dist/cjs/hooks/chat/conversations/useUpdateConversation.js.map +1 -0
- package/dist/cjs/hooks/chat/index.d.ts +16 -0
- package/dist/cjs/hooks/chat/index.js +41 -0
- package/dist/cjs/hooks/chat/index.js.map +1 -0
- package/dist/cjs/hooks/chat/messages/index.d.ts +12 -0
- package/dist/cjs/hooks/chat/messages/index.js +19 -0
- package/dist/cjs/hooks/chat/messages/index.js.map +1 -0
- package/dist/cjs/hooks/chat/messages/useChatMessages.d.ts +15 -0
- package/dist/cjs/hooks/chat/messages/useChatMessages.js +144 -0
- package/dist/cjs/hooks/chat/messages/useChatMessages.js.map +1 -0
- package/dist/cjs/hooks/chat/messages/useDeleteMessage.d.ts +6 -0
- package/dist/cjs/hooks/chat/messages/useDeleteMessage.js +32 -0
- package/dist/cjs/hooks/chat/messages/useDeleteMessage.js.map +1 -0
- package/dist/cjs/hooks/chat/messages/useEditMessage.d.ts +13 -0
- package/dist/cjs/hooks/chat/messages/useEditMessage.js +33 -0
- package/dist/cjs/hooks/chat/messages/useEditMessage.js.map +1 -0
- package/dist/cjs/hooks/chat/messages/useMessageThread.d.ts +15 -0
- package/dist/cjs/hooks/chat/messages/useMessageThread.js +24 -0
- package/dist/cjs/hooks/chat/messages/useMessageThread.js.map +1 -0
- package/dist/cjs/hooks/chat/messages/useSendMessage.d.ts +17 -0
- package/dist/cjs/hooks/chat/messages/useSendMessage.js +103 -0
- package/dist/cjs/hooks/chat/messages/useSendMessage.js.map +1 -0
- package/dist/cjs/hooks/chat/messages/useToggleReaction.d.ts +11 -0
- package/dist/cjs/hooks/chat/messages/useToggleReaction.js +46 -0
- package/dist/cjs/hooks/chat/messages/useToggleReaction.js.map +1 -0
- package/dist/cjs/hooks/chat/useChatSocket.d.ts +11 -0
- package/dist/cjs/hooks/chat/useChatSocket.js +13 -0
- package/dist/cjs/hooks/chat/useChatSocket.js.map +1 -0
- package/dist/cjs/hooks/chat/useConversationData.d.ts +33 -0
- package/dist/cjs/hooks/chat/useConversationData.js +46 -0
- package/dist/cjs/hooks/chat/useConversationData.js.map +1 -0
- package/dist/cjs/hooks/chat/useMarkConversationAsRead.d.ts +12 -0
- package/dist/cjs/hooks/chat/useMarkConversationAsRead.js +37 -0
- package/dist/cjs/hooks/chat/useMarkConversationAsRead.js.map +1 -0
- package/dist/cjs/hooks/chat/useReportMessage.d.ts +8 -0
- package/dist/cjs/hooks/chat/useReportMessage.js +27 -0
- package/dist/cjs/hooks/chat/useReportMessage.js.map +1 -0
- package/dist/cjs/hooks/chat/useTotalUnreadCount.d.ts +7 -0
- package/dist/cjs/hooks/chat/useTotalUnreadCount.js +14 -0
- package/dist/cjs/hooks/chat/useTotalUnreadCount.js.map +1 -0
- package/dist/cjs/hooks/chat/useTypingIndicator.d.ts +21 -0
- package/dist/cjs/hooks/chat/useTypingIndicator.js +67 -0
- package/dist/cjs/hooks/chat/useTypingIndicator.js.map +1 -0
- package/dist/cjs/hooks/chat/useUnreadConversationCount.d.ts +12 -0
- package/dist/cjs/hooks/chat/useUnreadConversationCount.js +19 -0
- package/dist/cjs/hooks/chat/useUnreadConversationCount.js.map +1 -0
- package/dist/cjs/hooks/collections/index.d.ts +3 -0
- package/dist/cjs/hooks/collections/index.js +14 -0
- package/dist/cjs/hooks/collections/index.js.map +1 -0
- package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.d.ts +21 -0
- package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.js +141 -0
- package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.js.map +1 -0
- package/dist/cjs/hooks/collections/useCollections.d.ts +51 -0
- package/dist/cjs/hooks/collections/useCollections.js +190 -0
- package/dist/cjs/hooks/collections/useCollections.js.map +1 -0
- package/dist/cjs/hooks/collections/useCollectionsActions.d.ts +46 -0
- package/dist/cjs/hooks/collections/useCollectionsActions.js +208 -0
- package/dist/cjs/hooks/collections/useCollectionsActions.js.map +1 -0
- package/dist/cjs/hooks/comments/index.d.ts +10 -2
- package/dist/cjs/hooks/comments/index.js +3 -5
- package/dist/cjs/hooks/comments/index.js.map +1 -1
- package/dist/cjs/hooks/comments/useCommentSection.js +2 -2
- package/dist/cjs/hooks/comments/useCommentSection.js.map +1 -1
- package/dist/cjs/hooks/comments/useCommentSectionData.d.ts +29 -15
- package/dist/cjs/hooks/comments/useCommentSectionData.js +298 -350
- package/dist/cjs/hooks/comments/useCommentSectionData.js.map +1 -1
- package/dist/cjs/hooks/comments/useCreateComment.d.ts +3 -2
- package/dist/cjs/hooks/comments/useCreateComment.js +33 -78
- package/dist/cjs/hooks/comments/useCreateComment.js.map +1 -1
- package/dist/cjs/hooks/comments/useDeleteComment.d.ts +3 -2
- package/dist/cjs/hooks/comments/useDeleteComment.js +14 -60
- package/dist/cjs/hooks/comments/useDeleteComment.js.map +1 -1
- package/dist/cjs/hooks/comments/useEntityComments.d.ts +8 -2
- package/dist/cjs/hooks/comments/useEntityComments.js +104 -163
- package/dist/cjs/hooks/comments/useEntityComments.js.map +1 -1
- package/dist/cjs/hooks/comments/useFetchComment.d.ts +5 -5
- package/dist/cjs/hooks/comments/useFetchComment.js +19 -63
- package/dist/cjs/hooks/comments/useFetchComment.js.map +1 -1
- package/dist/cjs/hooks/comments/useFetchCommentByForeignId.d.ts +5 -5
- package/dist/cjs/hooks/comments/useFetchCommentByForeignId.js +21 -64
- package/dist/cjs/hooks/comments/useFetchCommentByForeignId.js.map +1 -1
- package/dist/cjs/hooks/comments/useFetchManyComments.d.ts +6 -5
- package/dist/cjs/hooks/comments/useFetchManyComments.js +36 -82
- package/dist/cjs/hooks/comments/useFetchManyComments.js.map +1 -1
- package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.d.ts +21 -0
- package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.js +129 -0
- package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.js.map +1 -0
- package/dist/cjs/hooks/comments/useReplies.d.ts +7 -4
- package/dist/cjs/hooks/comments/useReplies.js +50 -101
- package/dist/cjs/hooks/comments/useReplies.js.map +1 -1
- package/dist/cjs/hooks/comments/useUpdateComment.d.ts +3 -2
- package/dist/cjs/hooks/comments/useUpdateComment.js +35 -80
- package/dist/cjs/hooks/comments/useUpdateComment.js.map +1 -1
- package/dist/cjs/hooks/crypto/index.d.ts +1 -0
- package/dist/cjs/hooks/crypto/useSignTestingJwt.d.ts +7 -3
- package/dist/cjs/hooks/crypto/useSignTestingJwt.js +30 -70
- package/dist/cjs/hooks/crypto/useSignTestingJwt.js.map +1 -1
- package/dist/cjs/hooks/entities/index.d.ts +12 -6
- package/dist/cjs/hooks/entities/index.js +9 -13
- package/dist/cjs/hooks/entities/index.js.map +1 -1
- package/dist/cjs/hooks/entities/useCreateEntity.d.ts +25 -2
- package/dist/cjs/hooks/entities/useCreateEntity.js +106 -68
- package/dist/cjs/hooks/entities/useCreateEntity.js.map +1 -1
- package/dist/cjs/hooks/entities/useDeleteEntity.d.ts +3 -2
- package/dist/cjs/hooks/entities/useDeleteEntity.js +14 -62
- package/dist/cjs/hooks/entities/useDeleteEntity.js.map +1 -1
- package/dist/cjs/hooks/entities/useEntity.js +2 -2
- package/dist/cjs/hooks/entities/useEntity.js.map +1 -1
- package/dist/cjs/hooks/entities/useEntityData.d.ts +24 -13
- package/dist/cjs/hooks/entities/useEntityData.js +89 -216
- package/dist/cjs/hooks/entities/useEntityData.js.map +1 -1
- package/dist/cjs/hooks/entities/useFetchDrafts.d.ts +11 -0
- package/dist/cjs/hooks/entities/useFetchDrafts.js +36 -0
- package/dist/cjs/hooks/entities/useFetchDrafts.js.map +1 -0
- package/dist/cjs/hooks/entities/useFetchEntity.d.ts +3 -2
- package/dist/cjs/hooks/entities/useFetchEntity.js +18 -64
- package/dist/cjs/hooks/entities/useFetchEntity.js.map +1 -1
- package/dist/cjs/hooks/entities/useFetchEntityByForeignId.d.ts +3 -2
- package/dist/cjs/hooks/entities/useFetchEntityByForeignId.js +20 -75
- package/dist/cjs/hooks/entities/useFetchEntityByForeignId.js.map +1 -1
- package/dist/cjs/hooks/entities/useFetchEntityByShortId.d.ts +3 -2
- package/dist/cjs/hooks/entities/useFetchEntityByShortId.js +19 -75
- package/dist/cjs/hooks/entities/useFetchEntityByShortId.js.map +1 -1
- package/dist/cjs/hooks/entities/useFetchManyEntities.d.ts +3 -2
- package/dist/cjs/hooks/entities/useFetchManyEntities.js +71 -117
- package/dist/cjs/hooks/entities/useFetchManyEntities.js.map +1 -1
- package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.d.ts +44 -0
- package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.js +175 -0
- package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.js.map +1 -0
- package/dist/cjs/hooks/entities/useIsEntitySaved.d.ts +13 -0
- package/dist/cjs/hooks/entities/useIsEntitySaved.js +32 -0
- package/dist/cjs/hooks/entities/useIsEntitySaved.js.map +1 -0
- package/dist/cjs/hooks/entities/usePublishDraft.d.ts +6 -0
- package/dist/cjs/hooks/entities/usePublishDraft.js +25 -0
- package/dist/cjs/hooks/entities/usePublishDraft.js.map +1 -0
- package/dist/cjs/hooks/entities/useUpdateEntity.js +25 -66
- package/dist/cjs/hooks/entities/useUpdateEntity.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/index.d.ts +2 -2
- package/dist/cjs/hooks/entity-lists/index.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/useEntityList.d.ts +20 -17
- package/dist/cjs/hooks/entity-lists/useEntityList.js +212 -310
- package/dist/cjs/hooks/entity-lists/useEntityList.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/useEntityListActions.d.ts +8 -6
- package/dist/cjs/hooks/entity-lists/useEntityListActions.js +112 -180
- package/dist/cjs/hooks/entity-lists/useEntityListActions.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/useInfusedData.d.ts +3 -2
- package/dist/cjs/hooks/entity-lists/useInfusedData.js +41 -112
- package/dist/cjs/hooks/entity-lists/useInfusedData.js.map +1 -1
- package/dist/cjs/hooks/projects/useProject.js +2 -2
- package/dist/cjs/hooks/projects/useProject.js.map +1 -1
- package/dist/cjs/hooks/projects/useProjectData.js +17 -65
- package/dist/cjs/hooks/projects/useProjectData.js.map +1 -1
- package/dist/cjs/hooks/reactions/index.d.ts +14 -0
- package/dist/cjs/hooks/reactions/index.js +21 -0
- package/dist/cjs/hooks/reactions/index.js.map +1 -0
- package/dist/cjs/hooks/reactions/useAddReaction.d.ts +10 -0
- package/dist/cjs/hooks/reactions/useAddReaction.js +33 -0
- package/dist/cjs/hooks/reactions/useAddReaction.js.map +1 -0
- package/dist/cjs/hooks/reactions/useFetchCommentReactions.d.ts +11 -0
- package/dist/cjs/hooks/reactions/useFetchCommentReactions.js +39 -0
- package/dist/cjs/hooks/reactions/useFetchCommentReactions.js.map +1 -0
- package/dist/cjs/hooks/reactions/useFetchCommentReactionsWrapper.d.ts +17 -0
- package/dist/cjs/hooks/reactions/useFetchCommentReactionsWrapper.js +100 -0
- package/dist/cjs/hooks/reactions/useFetchCommentReactionsWrapper.js.map +1 -0
- package/dist/cjs/hooks/reactions/useFetchEntityReactions.d.ts +11 -0
- package/dist/cjs/hooks/reactions/useFetchEntityReactions.js +39 -0
- package/dist/cjs/hooks/reactions/useFetchEntityReactions.js.map +1 -0
- package/dist/cjs/hooks/reactions/useFetchEntityReactionsWrapper.d.ts +17 -0
- package/dist/cjs/hooks/reactions/useFetchEntityReactionsWrapper.js +100 -0
- package/dist/cjs/hooks/reactions/useFetchEntityReactionsWrapper.js.map +1 -0
- package/dist/cjs/hooks/reactions/useReactionToggle.d.ts +20 -0
- package/dist/cjs/hooks/reactions/useReactionToggle.js +84 -0
- package/dist/cjs/hooks/reactions/useReactionToggle.js.map +1 -0
- package/dist/cjs/hooks/reactions/useRemoveReaction.d.ts +8 -0
- package/dist/cjs/hooks/reactions/useRemoveReaction.js +30 -0
- package/dist/cjs/hooks/reactions/useRemoveReaction.js.map +1 -0
- package/dist/cjs/hooks/relationships/connections/index.d.ts +11 -0
- package/dist/cjs/hooks/relationships/connections/useAcceptConnection.d.ts +3 -2
- package/dist/cjs/hooks/relationships/connections/useAcceptConnection.js +21 -66
- package/dist/cjs/hooks/relationships/connections/useAcceptConnection.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useConnectionManager.d.ts +5 -4
- package/dist/cjs/hooks/relationships/connections/useConnectionManager.js +183 -302
- package/dist/cjs/hooks/relationships/connections/useConnectionManager.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useDeclineConnection.d.ts +3 -2
- package/dist/cjs/hooks/relationships/connections/useDeclineConnection.js +21 -66
- package/dist/cjs/hooks/relationships/connections/useDeclineConnection.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionStatus.d.ts +3 -2
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionStatus.js +24 -69
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionStatus.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnections.d.ts +2 -2
- package/dist/cjs/hooks/relationships/connections/useFetchConnections.js +20 -82
- package/dist/cjs/hooks/relationships/connections/useFetchConnections.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsByUserId.d.ts +2 -2
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsByUserId.js +19 -64
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsByUserId.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsCount.js +17 -62
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsCount.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsCountByUserId.d.ts +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsCountByUserId.js +15 -60
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsCountByUserId.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchReceivedPendingConnections.d.ts +2 -2
- package/dist/cjs/hooks/relationships/connections/useFetchReceivedPendingConnections.js +20 -82
- package/dist/cjs/hooks/relationships/connections/useFetchReceivedPendingConnections.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchSentPendingConnections.d.ts +2 -2
- package/dist/cjs/hooks/relationships/connections/useFetchSentPendingConnections.js +20 -82
- package/dist/cjs/hooks/relationships/connections/useFetchSentPendingConnections.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useRemoveConnection.d.ts +3 -2
- package/dist/cjs/hooks/relationships/connections/useRemoveConnection.js +21 -66
- package/dist/cjs/hooks/relationships/connections/useRemoveConnection.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useRemoveConnectionByUserId.d.ts +3 -2
- package/dist/cjs/hooks/relationships/connections/useRemoveConnectionByUserId.js +24 -69
- package/dist/cjs/hooks/relationships/connections/useRemoveConnectionByUserId.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useRequestConnection.js +16 -61
- package/dist/cjs/hooks/relationships/connections/useRequestConnection.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/index.d.ts +11 -0
- package/dist/cjs/hooks/relationships/follows/useFetchFollowStatus.d.ts +5 -3
- package/dist/cjs/hooks/relationships/follows/useFetchFollowStatus.js +24 -71
- package/dist/cjs/hooks/relationships/follows/useFetchFollowStatus.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowers.d.ts +2 -2
- package/dist/cjs/hooks/relationships/follows/useFetchFollowers.js +16 -78
- package/dist/cjs/hooks/relationships/follows/useFetchFollowers.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersByUserId.d.ts +2 -2
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersByUserId.js +14 -60
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersByUserId.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersCount.js +17 -62
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersCount.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersCountByUserId.d.ts +3 -2
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersCountByUserId.js +14 -60
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersCountByUserId.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowing.d.ts +2 -2
- package/dist/cjs/hooks/relationships/follows/useFetchFollowing.js +19 -81
- package/dist/cjs/hooks/relationships/follows/useFetchFollowing.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingByUserId.d.ts +2 -2
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingByUserId.js +18 -64
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingByUserId.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingCount.js +17 -62
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingCount.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingCountByUserId.d.ts +3 -2
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingCountByUserId.js +14 -60
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingCountByUserId.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFollowManager.d.ts +4 -3
- package/dist/cjs/hooks/relationships/follows/useFollowManager.js +47 -108
- package/dist/cjs/hooks/relationships/follows/useFollowManager.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFollowUser.d.ts +3 -2
- package/dist/cjs/hooks/relationships/follows/useFollowUser.js +15 -61
- package/dist/cjs/hooks/relationships/follows/useFollowUser.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useUnfollowByFollowId.d.ts +3 -2
- package/dist/cjs/hooks/relationships/follows/useUnfollowByFollowId.js +20 -68
- package/dist/cjs/hooks/relationships/follows/useUnfollowByFollowId.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useUnfollowUserByUserId.d.ts +3 -2
- package/dist/cjs/hooks/relationships/follows/useUnfollowUserByUserId.js +23 -71
- package/dist/cjs/hooks/relationships/follows/useUnfollowUserByUserId.js.map +1 -1
- package/dist/cjs/hooks/reports/index.d.ts +5 -1
- package/dist/cjs/hooks/reports/index.js +3 -3
- package/dist/cjs/hooks/reports/index.js.map +1 -1
- package/dist/cjs/hooks/reports/useCreateReport.d.ts +16 -3
- package/dist/cjs/hooks/reports/useCreateReport.js +34 -97
- package/dist/cjs/hooks/reports/useCreateReport.js.map +1 -1
- package/dist/cjs/hooks/reports/useFetchModeratedReports.d.ts +60 -0
- package/dist/cjs/hooks/reports/useFetchModeratedReports.js +45 -0
- package/dist/cjs/hooks/reports/useFetchModeratedReports.js.map +1 -0
- package/dist/cjs/hooks/reports/useHandleSpaceCommentReport.d.ts +6 -6
- package/dist/cjs/hooks/reports/useHandleSpaceCommentReport.js +22 -68
- package/dist/cjs/hooks/reports/useHandleSpaceCommentReport.js.map +1 -1
- package/dist/cjs/hooks/reports/useHandleSpaceEntityReport.d.ts +6 -6
- package/dist/cjs/hooks/reports/useHandleSpaceEntityReport.js +22 -68
- package/dist/cjs/hooks/reports/useHandleSpaceEntityReport.js.map +1 -1
- package/dist/cjs/hooks/search/index.d.ts +8 -0
- package/dist/cjs/hooks/search/index.js +15 -0
- package/dist/cjs/hooks/search/index.js.map +1 -0
- package/dist/cjs/hooks/search/useAskContent.d.ts +23 -0
- package/dist/cjs/hooks/search/useAskContent.js +167 -0
- package/dist/cjs/hooks/search/useAskContent.js.map +1 -0
- package/dist/cjs/hooks/search/useSearchContent.d.ts +23 -0
- package/dist/cjs/hooks/search/useSearchContent.js +41 -0
- package/dist/cjs/hooks/search/useSearchContent.js.map +1 -0
- package/dist/cjs/hooks/search/useSearchSpaces.d.ts +17 -0
- package/dist/cjs/hooks/search/useSearchSpaces.js +41 -0
- package/dist/cjs/hooks/search/useSearchSpaces.js.map +1 -0
- package/dist/cjs/hooks/search/useSearchUsers.d.ts +17 -0
- package/dist/cjs/hooks/search/useSearchUsers.js +41 -0
- package/dist/cjs/hooks/search/useSearchUsers.js.map +1 -0
- package/dist/cjs/hooks/space-lists/index.d.ts +2 -1
- package/dist/cjs/hooks/space-lists/index.js.map +1 -1
- package/dist/cjs/hooks/space-lists/useSpaceList.d.ts +22 -17
- package/dist/cjs/hooks/space-lists/useSpaceList.js +150 -243
- package/dist/cjs/hooks/space-lists/useSpaceList.js.map +1 -1
- package/dist/cjs/hooks/space-lists/useSpaceListActions.d.ts +7 -4
- package/dist/cjs/hooks/space-lists/useSpaceListActions.js +108 -192
- package/dist/cjs/hooks/space-lists/useSpaceListActions.js.map +1 -1
- package/dist/cjs/hooks/spaces/index.d.ts +35 -1
- package/dist/cjs/hooks/spaces/index.js +28 -3
- package/dist/cjs/hooks/spaces/index.js.map +1 -1
- package/dist/cjs/hooks/spaces/rules/index.d.ts +12 -0
- package/dist/cjs/hooks/spaces/rules/index.js +19 -0
- package/dist/cjs/hooks/spaces/rules/index.js.map +1 -0
- package/dist/cjs/hooks/spaces/rules/useCreateRule.d.ts +8 -0
- package/dist/cjs/hooks/spaces/rules/useCreateRule.js +31 -0
- package/dist/cjs/hooks/spaces/rules/useCreateRule.js.map +1 -0
- package/dist/cjs/hooks/spaces/rules/useDeleteRule.d.ts +7 -0
- package/dist/cjs/hooks/spaces/rules/useDeleteRule.js +28 -0
- package/dist/cjs/hooks/spaces/rules/useDeleteRule.js.map +1 -0
- package/dist/cjs/hooks/spaces/rules/useFetchManyRules.d.ts +6 -0
- package/dist/cjs/hooks/spaces/rules/useFetchManyRules.js +25 -0
- package/dist/cjs/hooks/spaces/rules/useFetchManyRules.js.map +1 -0
- package/dist/cjs/hooks/spaces/rules/useFetchRule.d.ts +7 -0
- package/dist/cjs/hooks/spaces/rules/useFetchRule.js +28 -0
- package/dist/cjs/hooks/spaces/rules/useFetchRule.js.map +1 -0
- package/dist/cjs/hooks/spaces/rules/useReorderRules.d.ts +7 -0
- package/dist/cjs/hooks/spaces/rules/useReorderRules.js +28 -0
- package/dist/cjs/hooks/spaces/rules/useReorderRules.js.map +1 -0
- package/dist/cjs/hooks/spaces/rules/useUpdateRule.d.ts +11 -0
- package/dist/cjs/hooks/spaces/rules/useUpdateRule.js +28 -0
- package/dist/cjs/hooks/spaces/rules/useUpdateRule.js.map +1 -0
- package/dist/cjs/hooks/spaces/useApproveMember.d.ts +2 -2
- package/dist/cjs/hooks/spaces/useApproveMember.js +15 -61
- package/dist/cjs/hooks/spaces/useApproveMember.js.map +1 -1
- package/dist/cjs/hooks/spaces/useCheckMyMembership.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useCheckMyMembership.js +15 -61
- package/dist/cjs/hooks/spaces/useCheckMyMembership.js.map +1 -1
- package/dist/cjs/hooks/spaces/useCheckSlugAvailability.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useCheckSlugAvailability.js +15 -61
- package/dist/cjs/hooks/spaces/useCheckSlugAvailability.js.map +1 -1
- package/dist/cjs/hooks/spaces/useCreateSpace.d.ts +7 -2
- package/dist/cjs/hooks/spaces/useCreateSpace.js +68 -59
- package/dist/cjs/hooks/spaces/useCreateSpace.js.map +1 -1
- package/dist/cjs/hooks/spaces/useDeclineMember.d.ts +2 -2
- package/dist/cjs/hooks/spaces/useDeclineMember.js +15 -61
- package/dist/cjs/hooks/spaces/useDeclineMember.js.map +1 -1
- package/dist/cjs/hooks/spaces/useDeleteSpace.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useDeleteSpace.js +15 -61
- package/dist/cjs/hooks/spaces/useDeleteSpace.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchDigestConfig.d.ts +6 -0
- package/dist/cjs/hooks/spaces/useFetchDigestConfig.js +25 -0
- package/dist/cjs/hooks/spaces/useFetchDigestConfig.js.map +1 -0
- package/dist/cjs/hooks/spaces/useFetchManySpaces.d.ts +9 -5
- package/dist/cjs/hooks/spaces/useFetchManySpaces.js +37 -71
- package/dist/cjs/hooks/spaces/useFetchManySpaces.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpace.d.ts +5 -3
- package/dist/cjs/hooks/spaces/useFetchSpace.js +18 -60
- package/dist/cjs/hooks/spaces/useFetchSpace.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceBreadcrumb.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useFetchSpaceBreadcrumb.js +15 -61
- package/dist/cjs/hooks/spaces/useFetchSpaceBreadcrumb.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.d.ts +5 -3
- package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js +19 -60
- package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.d.ts +5 -3
- package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js +19 -60
- package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceChildren.d.ts +5 -4
- package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js +19 -59
- package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceMembers.d.ts +2 -2
- package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js +15 -72
- package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceTeam.d.ts +6 -0
- package/dist/cjs/hooks/spaces/useFetchSpaceTeam.js +27 -0
- package/dist/cjs/hooks/spaces/useFetchSpaceTeam.js.map +1 -0
- package/dist/cjs/hooks/spaces/useFetchUserSpaces.d.ts +12 -0
- package/dist/cjs/hooks/spaces/useFetchUserSpaces.js +29 -0
- package/dist/cjs/hooks/spaces/useFetchUserSpaces.js.map +1 -0
- package/dist/cjs/hooks/spaces/useJoinSpace.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useJoinSpace.js +15 -61
- package/dist/cjs/hooks/spaces/useJoinSpace.js.map +1 -1
- package/dist/cjs/hooks/spaces/useLeaveSpace.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useLeaveSpace.js +15 -61
- package/dist/cjs/hooks/spaces/useLeaveSpace.js.map +1 -1
- package/dist/cjs/hooks/spaces/useModerateSpaceComment.d.ts +26 -0
- package/dist/cjs/hooks/spaces/useModerateSpaceComment.js +39 -0
- package/dist/cjs/hooks/spaces/useModerateSpaceComment.js.map +1 -0
- package/dist/cjs/hooks/spaces/useModerateSpaceEntity.d.ts +26 -0
- package/dist/cjs/hooks/spaces/useModerateSpaceEntity.js +39 -0
- package/dist/cjs/hooks/spaces/useModerateSpaceEntity.js.map +1 -0
- package/dist/cjs/hooks/spaces/useRemoveMember.d.ts +2 -2
- package/dist/cjs/hooks/spaces/useRemoveMember.js +15 -61
- package/dist/cjs/hooks/spaces/useRemoveMember.js.map +1 -1
- package/dist/cjs/hooks/spaces/useSpace.js +4 -4
- package/dist/cjs/hooks/spaces/useSpace.js.map +1 -1
- package/dist/cjs/hooks/spaces/useSpaceData.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useSpaceData.js +190 -306
- package/dist/cjs/hooks/spaces/useSpaceData.js.map +1 -1
- package/dist/cjs/hooks/spaces/useSpaceMentions.d.ts +24 -0
- package/dist/cjs/hooks/spaces/useSpaceMentions.js +136 -0
- package/dist/cjs/hooks/spaces/useSpaceMentions.js.map +1 -0
- package/dist/cjs/hooks/spaces/useSpacePermissions.d.ts +2 -2
- package/dist/cjs/hooks/spaces/useSpacePermissions.js +16 -17
- package/dist/cjs/hooks/spaces/useSpacePermissions.js.map +1 -1
- package/dist/cjs/hooks/spaces/useUnbanMember.d.ts +11 -0
- package/dist/cjs/hooks/spaces/useUnbanMember.js +25 -0
- package/dist/cjs/hooks/spaces/useUnbanMember.js.map +1 -0
- package/dist/cjs/hooks/spaces/useUpdateDigestConfig.d.ts +7 -0
- package/dist/cjs/hooks/spaces/useUpdateDigestConfig.js +25 -0
- package/dist/cjs/hooks/spaces/useUpdateDigestConfig.js.map +1 -0
- package/dist/cjs/hooks/spaces/useUpdateMemberRole.d.ts +2 -2
- package/dist/cjs/hooks/spaces/useUpdateMemberRole.js +15 -61
- package/dist/cjs/hooks/spaces/useUpdateMemberRole.js.map +1 -1
- package/dist/cjs/hooks/spaces/useUpdateSpace.d.ts +8 -3
- package/dist/cjs/hooks/spaces/useUpdateSpace.js +62 -60
- package/dist/cjs/hooks/spaces/useUpdateSpace.js.map +1 -1
- package/dist/cjs/hooks/storage/index.d.ts +2 -1
- package/dist/cjs/hooks/storage/index.js +3 -1
- package/dist/cjs/hooks/storage/index.js.map +1 -1
- package/dist/cjs/hooks/storage/useUploadFile.d.ts +16 -5
- package/dist/cjs/hooks/storage/useUploadFile.js +50 -81
- package/dist/cjs/hooks/storage/useUploadFile.js.map +1 -1
- package/dist/cjs/hooks/storage/useUploadImage.d.ts +15 -0
- package/dist/cjs/hooks/storage/useUploadImage.js +111 -0
- package/dist/cjs/hooks/storage/useUploadImage.js.map +1 -0
- package/dist/cjs/hooks/useStableObject.js +3 -3
- package/dist/cjs/hooks/useStableObject.js.map +1 -1
- package/dist/cjs/hooks/user/index.d.ts +1 -0
- package/dist/cjs/hooks/user/useUser.js +35 -83
- package/dist/cjs/hooks/user/useUser.js.map +1 -1
- package/dist/cjs/hooks/user/useUserActions.d.ts +6 -1
- package/dist/cjs/hooks/user/useUserActions.js +62 -88
- package/dist/cjs/hooks/user/useUserActions.js.map +1 -1
- package/dist/cjs/hooks/users/index.d.ts +6 -7
- package/dist/cjs/hooks/users/index.js +3 -5
- package/dist/cjs/hooks/users/index.js.map +1 -1
- package/dist/cjs/hooks/users/useCheckUsernameAvailability.d.ts +3 -2
- package/dist/cjs/hooks/users/useCheckUsernameAvailability.js +15 -61
- package/dist/cjs/hooks/users/useCheckUsernameAvailability.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUser.d.ts +5 -3
- package/dist/cjs/hooks/users/useFetchUser.js +17 -59
- package/dist/cjs/hooks/users/useFetchUser.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUserByForeignId.d.ts +5 -3
- package/dist/cjs/hooks/users/useFetchUserByForeignId.js +18 -61
- package/dist/cjs/hooks/users/useFetchUserByForeignId.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUserByUsername.d.ts +5 -3
- package/dist/cjs/hooks/users/useFetchUserByUsername.js +18 -61
- package/dist/cjs/hooks/users/useFetchUserByUsername.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUserSuggestions.d.ts +3 -2
- package/dist/cjs/hooks/users/useFetchUserSuggestions.js +15 -61
- package/dist/cjs/hooks/users/useFetchUserSuggestions.js.map +1 -1
- package/dist/{esm/hooks/users/useMentions.d.ts → cjs/hooks/users/useUserMentions.d.ts} +10 -4
- package/dist/cjs/hooks/users/useUserMentions.js +136 -0
- package/dist/cjs/hooks/users/useUserMentions.js.map +1 -0
- package/dist/cjs/hooks/utils/index.d.ts +1 -1
- package/dist/cjs/hooks/utils/index.js.map +1 -1
- package/dist/cjs/hooks/utils/useGetMetadata.d.ts +4 -2
- package/dist/cjs/hooks/utils/useGetMetadata.js +23 -68
- package/dist/cjs/hooks/utils/useGetMetadata.js.map +1 -1
- package/dist/cjs/index.d.ts +46 -28
- package/dist/cjs/index.js +151 -25
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/AccountStorage.d.ts +6 -0
- package/dist/cjs/interfaces/{IPaginatedResponse.js → AccountStorage.js} +1 -1
- package/dist/cjs/interfaces/AccountStorage.js.map +1 -0
- package/dist/cjs/interfaces/EntityListSortByOptions.d.ts +1 -0
- package/dist/cjs/interfaces/EntityListSortByOptions.js +4 -4
- package/dist/cjs/interfaces/EntityListSortByOptions.js.map +1 -1
- package/dist/cjs/interfaces/PaginatedResponse.js +3 -0
- package/dist/cjs/interfaces/PaginatedResponse.js.map +1 -0
- package/dist/cjs/interfaces/UrlMetadata.d.ts +92 -0
- package/dist/cjs/interfaces/UrlMetadata.js +3 -0
- package/dist/cjs/interfaces/UrlMetadata.js.map +1 -0
- package/dist/cjs/interfaces/models/AppNotification.d.ts +225 -15
- package/dist/cjs/interfaces/models/ChatMessage.d.ts +34 -0
- package/dist/cjs/interfaces/models/ChatMessage.js +3 -0
- package/dist/cjs/interfaces/models/ChatMessage.js.map +1 -0
- package/dist/{esm/interfaces/models/List.d.ts → cjs/interfaces/models/Collection.d.ts} +2 -4
- package/dist/cjs/interfaces/models/Collection.js +3 -0
- package/dist/cjs/interfaces/models/Collection.js.map +1 -0
- package/dist/cjs/interfaces/models/Comment.d.ts +14 -1
- package/dist/cjs/interfaces/models/Connection.d.ts +0 -1
- package/dist/cjs/interfaces/models/Conversation.d.ts +25 -0
- package/dist/cjs/interfaces/models/Conversation.js +3 -0
- package/dist/cjs/interfaces/models/Conversation.js.map +1 -0
- package/dist/cjs/interfaces/models/ConversationMember.d.ts +16 -0
- package/dist/cjs/interfaces/models/ConversationMember.js +3 -0
- package/dist/cjs/interfaces/models/ConversationMember.js.map +1 -0
- package/dist/cjs/interfaces/models/Entity.d.ts +15 -1
- package/dist/cjs/interfaces/models/File.d.ts +39 -0
- package/dist/cjs/interfaces/models/{List.js → File.js} +1 -1
- package/dist/cjs/interfaces/models/File.js.map +1 -0
- package/dist/cjs/interfaces/models/Image.d.ts +74 -0
- package/dist/cjs/interfaces/models/Image.js +3 -0
- package/dist/cjs/interfaces/models/Image.js.map +1 -0
- package/dist/cjs/interfaces/models/Mention.d.ts +8 -1
- package/dist/cjs/interfaces/models/Reaction.d.ts +23 -0
- package/dist/cjs/interfaces/models/Reaction.js +3 -0
- package/dist/cjs/interfaces/models/Reaction.js.map +1 -0
- package/dist/cjs/interfaces/models/Rule.d.ts +22 -0
- package/dist/cjs/interfaces/models/Rule.js +3 -0
- package/dist/cjs/interfaces/models/Rule.js.map +1 -0
- package/dist/cjs/interfaces/models/Space.d.ts +27 -6
- package/dist/cjs/interfaces/models/SpaceMember.d.ts +4 -1
- package/dist/cjs/interfaces/models/User.d.ts +11 -3
- package/dist/cjs/store/api/appNotificationsApi.d.ts +182 -182
- package/dist/cjs/store/api/appNotificationsApi.js +92 -196
- package/dist/cjs/store/api/appNotificationsApi.js.map +1 -1
- package/dist/cjs/store/api/baseApi.d.ts +3 -1
- package/dist/cjs/store/api/baseApi.js +17 -15
- package/dist/cjs/store/api/baseApi.js.map +1 -1
- package/dist/cjs/store/api/collectionsApi.d.ts +4541 -0
- package/dist/cjs/store/api/collectionsApi.js +137 -0
- package/dist/cjs/store/api/collectionsApi.js.map +1 -0
- package/dist/cjs/store/api/entityListsApi.d.ts +220 -218
- package/dist/cjs/store/api/entityListsApi.js +83 -172
- package/dist/cjs/store/api/entityListsApi.js.map +1 -1
- package/dist/cjs/store/api/index.d.ts +1 -1
- package/dist/cjs/store/api/index.js +2 -2
- package/dist/cjs/store/api/index.js.map +1 -1
- package/dist/cjs/store/api/spacesApi.d.ts +1332 -960
- package/dist/cjs/store/api/spacesApi.js +233 -402
- package/dist/cjs/store/api/spacesApi.js.map +1 -1
- package/dist/cjs/store/api/userApi.d.ts +12 -4
- package/dist/cjs/store/api/userApi.js +67 -17
- package/dist/cjs/store/api/userApi.js.map +1 -1
- package/dist/cjs/store/hooks.d.ts +28 -0
- package/dist/cjs/store/hooks.js +18 -0
- package/dist/cjs/store/hooks.js.map +1 -0
- package/dist/cjs/store/index.d.ts +21 -11
- package/dist/cjs/store/index.js +45 -44
- package/dist/cjs/store/index.js.map +1 -1
- package/dist/cjs/store/integration.d.ts +35 -0
- package/dist/cjs/store/integration.js +53 -0
- package/dist/cjs/store/integration.js.map +1 -0
- package/dist/cjs/store/middleware.js +13 -21
- package/dist/cjs/store/middleware.js.map +1 -1
- package/dist/cjs/store/replykeReducers.d.ts +40 -0
- package/dist/cjs/store/replykeReducers.js +46 -0
- package/dist/cjs/store/replykeReducers.js.map +1 -0
- package/dist/cjs/store/rootReducer.d.ts +33 -14
- package/dist/cjs/store/rootReducer.js +9 -24
- package/dist/cjs/store/rootReducer.js.map +1 -1
- package/dist/cjs/store/slices/accountsSlice.d.ts +41 -0
- package/dist/cjs/store/slices/accountsSlice.js +63 -0
- package/dist/cjs/store/slices/accountsSlice.js.map +1 -0
- package/dist/cjs/store/slices/appNotificationsSlice.d.ts +2263 -370
- package/dist/cjs/store/slices/appNotificationsSlice.js +31 -48
- package/dist/cjs/store/slices/appNotificationsSlice.js.map +1 -1
- package/dist/cjs/store/slices/authSlice.d.ts +19 -7
- package/dist/cjs/store/slices/authSlice.js +20 -20
- package/dist/cjs/store/slices/authSlice.js.map +1 -1
- package/dist/cjs/store/slices/authThunks.d.ts +7 -0
- package/dist/cjs/store/slices/authThunks.js +269 -347
- package/dist/cjs/store/slices/authThunks.js.map +1 -1
- package/dist/cjs/store/slices/chatSlice.d.ts +131 -0
- package/dist/cjs/store/slices/chatSlice.js +368 -0
- package/dist/cjs/store/slices/chatSlice.js.map +1 -0
- package/dist/cjs/store/slices/collectionsSlice.d.ts +428 -0
- package/dist/cjs/store/slices/collectionsSlice.js +201 -0
- package/dist/cjs/store/slices/collectionsSlice.js.map +1 -0
- package/dist/cjs/store/slices/entityListsSlice.d.ts +4033 -172
- package/dist/cjs/store/slices/entityListsSlice.js +82 -90
- package/dist/cjs/store/slices/entityListsSlice.js.map +1 -1
- package/dist/cjs/store/slices/spaceListsSlice.d.ts +1160 -65
- package/dist/cjs/store/slices/spaceListsSlice.js +71 -83
- package/dist/cjs/store/slices/spaceListsSlice.js.map +1 -1
- package/dist/cjs/store/slices/userSlice.d.ts +739 -7
- package/dist/cjs/store/slices/userSlice.js +24 -35
- package/dist/cjs/store/slices/userSlice.js.map +1 -1
- package/dist/cjs/store/types/index.d.ts +5 -1
- package/dist/cjs/types/socket.d.ts +73 -0
- package/dist/cjs/types/socket.js +3 -0
- package/dist/cjs/types/socket.js.map +1 -0
- package/dist/cjs/utils/env.js +14 -15
- package/dist/cjs/utils/env.js.map +1 -1
- package/dist/cjs/utils/handleError.js +3 -4
- package/dist/cjs/utils/handleError.js.map +1 -1
- package/dist/cjs/utils/isAbsoluteUrl.js +1 -1
- package/dist/cjs/utils/isAbsoluteUrl.js.map +1 -1
- package/dist/cjs/utils/isReactNative.js +1 -3
- package/dist/cjs/utils/isReactNative.js.map +1 -1
- package/dist/cjs/utils/isUUID.js +1 -1
- package/dist/cjs/utils/isUUID.js.map +1 -1
- package/dist/cjs/utils/keywordHelpers.js +27 -39
- package/dist/cjs/utils/keywordHelpers.js.map +1 -1
- package/dist/cjs/utils/objectComparison.js +6 -8
- package/dist/cjs/utils/objectComparison.js.map +1 -1
- package/dist/esm/config/axios.d.ts +1 -0
- package/dist/esm/config/axios.js +2 -3
- package/dist/esm/config/axios.js.map +1 -1
- package/dist/esm/config/useAxiosPrivate.d.ts +2 -1
- package/dist/esm/config/useAxiosPrivate.js +27 -65
- package/dist/esm/config/useAxiosPrivate.js.map +1 -1
- package/dist/esm/constants/reportReasons.js +1 -1
- package/dist/esm/constants/reportReasons.js.map +1 -1
- package/dist/esm/context/chat-context.d.ts +17 -0
- package/dist/esm/context/chat-context.js +304 -0
- package/dist/esm/context/chat-context.js.map +1 -0
- package/dist/esm/context/comment-section-context.js +3 -15
- package/dist/esm/context/comment-section-context.js.map +1 -1
- package/dist/esm/context/conversation-context.d.ts +14 -0
- package/dist/esm/context/conversation-context.js +160 -0
- package/dist/esm/context/conversation-context.js.map +1 -0
- package/dist/esm/context/entity-context.d.ts +2 -2
- package/dist/esm/context/entity-context.js +7 -20
- package/dist/esm/context/entity-context.js.map +1 -1
- package/dist/esm/context/index.d.ts +4 -0
- package/dist/esm/context/index.js +4 -0
- package/dist/esm/context/index.js.map +1 -1
- package/dist/esm/context/message-thread-context.d.ts +13 -0
- package/dist/esm/context/message-thread-context.js +12 -0
- package/dist/esm/context/message-thread-context.js.map +1 -0
- package/dist/esm/context/replyke-context.js +3 -4
- package/dist/esm/context/replyke-context.js.map +1 -1
- package/dist/esm/context/replyke-integration-context.d.ts +52 -0
- package/dist/esm/context/replyke-integration-context.js +88 -0
- package/dist/esm/context/replyke-integration-context.js.map +1 -0
- package/dist/esm/context/replyke-store-context.js +24 -14
- package/dist/esm/context/replyke-store-context.js.map +1 -1
- package/dist/esm/context/space-context.js +4 -17
- package/dist/esm/context/space-context.js.map +1 -1
- package/dist/esm/helpers/addCommentsToTree.js +27 -28
- package/dist/esm/helpers/addCommentsToTree.js.map +1 -1
- package/dist/esm/helpers/addNotificationsMessages.js +182 -64
- package/dist/esm/helpers/addNotificationsMessages.js.map +1 -1
- package/dist/esm/helpers/getPublicFileUrl.js +1 -1
- package/dist/esm/helpers/getPublicFileUrl.js.map +1 -1
- package/dist/esm/helpers/getUserName.js +2 -4
- package/dist/esm/helpers/getUserName.js.map +1 -1
- package/dist/esm/helpers/markCommentAsDeletedInTree.d.ts +7 -0
- package/dist/esm/helpers/markCommentAsDeletedInTree.js +26 -0
- package/dist/esm/helpers/markCommentAsDeletedInTree.js.map +1 -0
- package/dist/esm/helpers/markCommentAsFailed.js +3 -14
- package/dist/esm/helpers/markCommentAsFailed.js.map +1 -1
- package/dist/esm/helpers/removeCommentFromTree.js +10 -30
- package/dist/esm/helpers/removeCommentFromTree.js.map +1 -1
- package/dist/esm/helpers/safeMergeStyleProps.js +4 -8
- package/dist/esm/helpers/safeMergeStyleProps.js.map +1 -1
- package/dist/esm/hooks/app-notifications/useAppNotifications.d.ts +3 -1
- package/dist/esm/hooks/app-notifications/useAppNotifications.js +35 -60
- package/dist/esm/hooks/app-notifications/useAppNotifications.js.map +1 -1
- package/dist/esm/hooks/app-notifications/useAppNotificationsActions.d.ts +16 -8
- package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js +120 -224
- package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
- package/dist/esm/hooks/auth/index.d.ts +11 -1
- package/dist/esm/hooks/auth/index.js +10 -0
- package/dist/esm/hooks/auth/index.js.map +1 -1
- package/dist/esm/hooks/auth/useAccountSync.d.ts +2 -0
- package/dist/esm/hooks/auth/useAccountSync.js +121 -0
- package/dist/esm/hooks/auth/useAccountSync.js.map +1 -0
- package/dist/esm/hooks/auth/useAccounts.d.ts +7 -0
- package/dist/esm/hooks/auth/useAccounts.js +19 -0
- package/dist/esm/hooks/auth/useAccounts.js.map +1 -0
- package/dist/esm/hooks/auth/useAddAccount.d.ts +5 -0
- package/dist/esm/hooks/auth/useAddAccount.js +24 -0
- package/dist/esm/hooks/auth/useAddAccount.js.map +1 -0
- package/dist/esm/hooks/auth/useAuth.d.ts +31 -24
- package/dist/esm/hooks/auth/useAuth.js +65 -149
- package/dist/esm/hooks/auth/useAuth.js.map +1 -1
- package/dist/esm/hooks/auth/useOAuthIdentities.d.ts +21 -0
- package/dist/esm/hooks/auth/useOAuthIdentities.js +45 -0
- package/dist/esm/hooks/auth/useOAuthIdentities.js.map +1 -0
- package/dist/esm/hooks/auth/useRemoveAccount.d.ts +8 -0
- package/dist/esm/hooks/auth/useRemoveAccount.js +69 -0
- package/dist/esm/hooks/auth/useRemoveAccount.js.map +1 -0
- package/dist/esm/hooks/auth/useRequestPasswordReset.d.ts +8 -0
- package/dist/esm/hooks/auth/useRequestPasswordReset.js +19 -0
- package/dist/esm/hooks/auth/useRequestPasswordReset.js.map +1 -0
- package/dist/esm/hooks/auth/useSendVerificationEmail.d.ts +10 -0
- package/dist/esm/hooks/auth/useSendVerificationEmail.js +16 -0
- package/dist/esm/hooks/auth/useSendVerificationEmail.js.map +1 -0
- package/dist/esm/hooks/auth/useSignOutAll.d.ts +4 -0
- package/dist/esm/hooks/auth/useSignOutAll.js +19 -0
- package/dist/esm/hooks/auth/useSignOutAll.js.map +1 -0
- package/dist/esm/hooks/auth/useSwitchAccount.d.ts +8 -0
- package/dist/esm/hooks/auth/useSwitchAccount.js +48 -0
- package/dist/esm/hooks/auth/useSwitchAccount.js.map +1 -0
- package/dist/esm/hooks/auth/useVerifyEmail.d.ts +7 -0
- package/dist/esm/hooks/auth/useVerifyEmail.js +26 -0
- package/dist/esm/hooks/auth/useVerifyEmail.js.map +1 -0
- package/dist/esm/hooks/chat/conversations/index.d.ts +16 -0
- package/dist/esm/hooks/chat/conversations/index.js +9 -0
- package/dist/esm/hooks/chat/conversations/index.js.map +1 -0
- package/dist/esm/hooks/chat/conversations/useConversation.d.ts +13 -0
- package/dist/esm/hooks/chat/conversations/useConversation.js +46 -0
- package/dist/esm/hooks/chat/conversations/useConversation.js.map +1 -0
- package/dist/esm/hooks/chat/conversations/useConversationMembers.d.ts +27 -0
- package/dist/esm/hooks/chat/conversations/useConversationMembers.js +111 -0
- package/dist/esm/hooks/chat/conversations/useConversationMembers.js.map +1 -0
- package/dist/esm/hooks/chat/conversations/useConversations.d.ts +17 -0
- package/dist/esm/hooks/chat/conversations/useConversations.js +96 -0
- package/dist/esm/hooks/chat/conversations/useConversations.js.map +1 -0
- package/dist/esm/hooks/chat/conversations/useCreateDirectConversation.d.ts +6 -0
- package/dist/esm/hooks/chat/conversations/useCreateDirectConversation.js +30 -0
- package/dist/esm/hooks/chat/conversations/useCreateDirectConversation.js.map +1 -0
- package/dist/esm/hooks/chat/conversations/useDeleteConversation.d.ts +5 -0
- package/dist/esm/hooks/chat/conversations/useDeleteConversation.js +17 -0
- package/dist/esm/hooks/chat/conversations/useDeleteConversation.js.map +1 -0
- package/dist/esm/hooks/chat/conversations/useFetchConversation.d.ts +6 -0
- package/dist/esm/hooks/chat/conversations/useFetchConversation.js +18 -0
- package/dist/esm/hooks/chat/conversations/useFetchConversation.js.map +1 -0
- package/dist/esm/hooks/chat/conversations/useFetchSpaceConversation.d.ts +10 -0
- package/dist/esm/hooks/chat/conversations/useFetchSpaceConversation.js +36 -0
- package/dist/esm/hooks/chat/conversations/useFetchSpaceConversation.js.map +1 -0
- package/dist/esm/hooks/chat/conversations/useUpdateConversation.d.ts +10 -0
- package/dist/esm/hooks/chat/conversations/useUpdateConversation.js +18 -0
- package/dist/esm/hooks/chat/conversations/useUpdateConversation.js.map +1 -0
- package/dist/esm/hooks/chat/index.d.ts +16 -0
- package/dist/esm/hooks/chat/index.js +14 -0
- package/dist/esm/hooks/chat/index.js.map +1 -0
- package/dist/esm/hooks/chat/messages/index.d.ts +12 -0
- package/dist/esm/hooks/chat/messages/index.js +7 -0
- package/dist/esm/hooks/chat/messages/index.js.map +1 -0
- package/dist/esm/hooks/chat/messages/useChatMessages.d.ts +15 -0
- package/dist/esm/hooks/chat/messages/useChatMessages.js +139 -0
- package/dist/esm/hooks/chat/messages/useChatMessages.js.map +1 -0
- package/dist/esm/hooks/chat/messages/useDeleteMessage.d.ts +6 -0
- package/dist/esm/hooks/chat/messages/useDeleteMessage.js +27 -0
- package/dist/esm/hooks/chat/messages/useDeleteMessage.js.map +1 -0
- package/dist/esm/hooks/chat/messages/useEditMessage.d.ts +13 -0
- package/dist/esm/hooks/chat/messages/useEditMessage.js +28 -0
- package/dist/esm/hooks/chat/messages/useEditMessage.js.map +1 -0
- package/dist/esm/hooks/chat/messages/useMessageThread.d.ts +15 -0
- package/dist/esm/hooks/chat/messages/useMessageThread.js +19 -0
- package/dist/esm/hooks/chat/messages/useMessageThread.js.map +1 -0
- package/dist/esm/hooks/chat/messages/useSendMessage.d.ts +17 -0
- package/dist/esm/hooks/chat/messages/useSendMessage.js +98 -0
- package/dist/esm/hooks/chat/messages/useSendMessage.js.map +1 -0
- package/dist/esm/hooks/chat/messages/useToggleReaction.d.ts +11 -0
- package/dist/esm/hooks/chat/messages/useToggleReaction.js +41 -0
- package/dist/esm/hooks/chat/messages/useToggleReaction.js.map +1 -0
- package/dist/esm/hooks/chat/useChatSocket.d.ts +11 -0
- package/dist/esm/hooks/chat/useChatSocket.js +11 -0
- package/dist/esm/hooks/chat/useChatSocket.js.map +1 -0
- package/dist/esm/hooks/chat/useConversationData.d.ts +33 -0
- package/dist/esm/hooks/chat/useConversationData.js +41 -0
- package/dist/esm/hooks/chat/useConversationData.js.map +1 -0
- package/dist/esm/hooks/chat/useMarkConversationAsRead.d.ts +12 -0
- package/dist/esm/hooks/chat/useMarkConversationAsRead.js +32 -0
- package/dist/esm/hooks/chat/useMarkConversationAsRead.js.map +1 -0
- package/dist/esm/hooks/chat/useReportMessage.d.ts +8 -0
- package/dist/esm/hooks/chat/useReportMessage.js +22 -0
- package/dist/esm/hooks/chat/useReportMessage.js.map +1 -0
- package/dist/esm/hooks/chat/useTotalUnreadCount.d.ts +7 -0
- package/dist/esm/hooks/chat/useTotalUnreadCount.js +12 -0
- package/dist/esm/hooks/chat/useTotalUnreadCount.js.map +1 -0
- package/dist/esm/hooks/chat/useTypingIndicator.d.ts +21 -0
- package/dist/esm/hooks/chat/useTypingIndicator.js +65 -0
- package/dist/esm/hooks/chat/useTypingIndicator.js.map +1 -0
- package/dist/esm/hooks/chat/useUnreadConversationCount.d.ts +12 -0
- package/dist/esm/hooks/chat/useUnreadConversationCount.js +17 -0
- package/dist/esm/hooks/chat/useUnreadConversationCount.js.map +1 -0
- package/dist/esm/hooks/collections/index.d.ts +3 -0
- package/dist/esm/hooks/collections/index.js +5 -0
- package/dist/esm/hooks/collections/index.js.map +1 -0
- package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.d.ts +21 -0
- package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.js +136 -0
- package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.js.map +1 -0
- package/dist/esm/hooks/collections/useCollections.d.ts +51 -0
- package/dist/esm/hooks/collections/useCollections.js +185 -0
- package/dist/esm/hooks/collections/useCollections.js.map +1 -0
- package/dist/esm/hooks/collections/useCollectionsActions.d.ts +46 -0
- package/dist/esm/hooks/collections/useCollectionsActions.js +205 -0
- package/dist/esm/hooks/collections/useCollectionsActions.js.map +1 -0
- package/dist/esm/hooks/comments/index.d.ts +10 -2
- package/dist/esm/hooks/comments/index.js +1 -2
- package/dist/esm/hooks/comments/index.js.map +1 -1
- package/dist/esm/hooks/comments/useCommentSectionData.d.ts +29 -15
- package/dist/esm/hooks/comments/useCommentSectionData.js +287 -339
- package/dist/esm/hooks/comments/useCommentSectionData.js.map +1 -1
- package/dist/esm/hooks/comments/useCreateComment.d.ts +3 -2
- package/dist/esm/hooks/comments/useCreateComment.js +29 -74
- package/dist/esm/hooks/comments/useCreateComment.js.map +1 -1
- package/dist/esm/hooks/comments/useDeleteComment.d.ts +3 -2
- package/dist/esm/hooks/comments/useDeleteComment.js +11 -57
- package/dist/esm/hooks/comments/useDeleteComment.js.map +1 -1
- package/dist/esm/hooks/comments/useEntityComments.d.ts +8 -2
- package/dist/esm/hooks/comments/useEntityComments.js +99 -158
- package/dist/esm/hooks/comments/useEntityComments.js.map +1 -1
- package/dist/esm/hooks/comments/useFetchComment.d.ts +5 -5
- package/dist/esm/hooks/comments/useFetchComment.js +16 -60
- package/dist/esm/hooks/comments/useFetchComment.js.map +1 -1
- package/dist/esm/hooks/comments/useFetchCommentByForeignId.d.ts +5 -5
- package/dist/esm/hooks/comments/useFetchCommentByForeignId.js +18 -61
- package/dist/esm/hooks/comments/useFetchCommentByForeignId.js.map +1 -1
- package/dist/esm/hooks/comments/useFetchManyComments.d.ts +6 -5
- package/dist/esm/hooks/comments/useFetchManyComments.js +34 -80
- package/dist/esm/hooks/comments/useFetchManyComments.js.map +1 -1
- package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.d.ts +21 -0
- package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.js +124 -0
- package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.js.map +1 -0
- package/dist/esm/hooks/comments/useReplies.d.ts +7 -4
- package/dist/esm/hooks/comments/useReplies.js +45 -96
- package/dist/esm/hooks/comments/useReplies.js.map +1 -1
- package/dist/esm/hooks/comments/useUpdateComment.d.ts +3 -2
- package/dist/esm/hooks/comments/useUpdateComment.js +32 -77
- package/dist/esm/hooks/comments/useUpdateComment.js.map +1 -1
- package/dist/esm/hooks/crypto/index.d.ts +1 -0
- package/dist/esm/hooks/crypto/useSignTestingJwt.d.ts +7 -3
- package/dist/esm/hooks/crypto/useSignTestingJwt.js +29 -69
- package/dist/esm/hooks/crypto/useSignTestingJwt.js.map +1 -1
- package/dist/esm/hooks/entities/index.d.ts +12 -6
- package/dist/esm/hooks/entities/index.js +4 -6
- package/dist/esm/hooks/entities/index.js.map +1 -1
- package/dist/esm/hooks/entities/useCreateEntity.d.ts +25 -2
- package/dist/esm/hooks/entities/useCreateEntity.js +103 -65
- package/dist/esm/hooks/entities/useCreateEntity.js.map +1 -1
- package/dist/esm/hooks/entities/useDeleteEntity.d.ts +3 -2
- package/dist/esm/hooks/entities/useDeleteEntity.js +11 -59
- package/dist/esm/hooks/entities/useDeleteEntity.js.map +1 -1
- package/dist/esm/hooks/entities/useEntityData.d.ts +24 -13
- package/dist/esm/hooks/entities/useEntityData.js +82 -209
- package/dist/esm/hooks/entities/useEntityData.js.map +1 -1
- package/dist/esm/hooks/entities/useFetchDrafts.d.ts +11 -0
- package/dist/esm/hooks/entities/useFetchDrafts.js +31 -0
- package/dist/esm/hooks/entities/useFetchDrafts.js.map +1 -0
- package/dist/esm/hooks/entities/useFetchEntity.d.ts +3 -2
- package/dist/esm/hooks/entities/useFetchEntity.js +16 -62
- package/dist/esm/hooks/entities/useFetchEntity.js.map +1 -1
- package/dist/esm/hooks/entities/useFetchEntityByForeignId.d.ts +3 -2
- package/dist/esm/hooks/entities/useFetchEntityByForeignId.js +18 -73
- package/dist/esm/hooks/entities/useFetchEntityByForeignId.js.map +1 -1
- package/dist/esm/hooks/entities/useFetchEntityByShortId.d.ts +3 -2
- package/dist/esm/hooks/entities/useFetchEntityByShortId.js +17 -73
- package/dist/esm/hooks/entities/useFetchEntityByShortId.js.map +1 -1
- package/dist/esm/hooks/entities/useFetchManyEntities.d.ts +3 -2
- package/dist/esm/hooks/entities/useFetchManyEntities.js +68 -114
- package/dist/esm/hooks/entities/useFetchManyEntities.js.map +1 -1
- package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.d.ts +44 -0
- package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.js +170 -0
- package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.js.map +1 -0
- package/dist/esm/hooks/entities/useIsEntitySaved.d.ts +13 -0
- package/dist/esm/hooks/entities/useIsEntitySaved.js +27 -0
- package/dist/esm/hooks/entities/useIsEntitySaved.js.map +1 -0
- package/dist/esm/hooks/entities/usePublishDraft.d.ts +6 -0
- package/dist/esm/hooks/entities/usePublishDraft.js +20 -0
- package/dist/esm/hooks/entities/usePublishDraft.js.map +1 -0
- package/dist/esm/hooks/entities/useUpdateEntity.js +22 -63
- package/dist/esm/hooks/entities/useUpdateEntity.js.map +1 -1
- package/dist/esm/hooks/entity-lists/index.d.ts +2 -2
- package/dist/esm/hooks/entity-lists/index.js.map +1 -1
- package/dist/esm/hooks/entity-lists/useEntityList.d.ts +20 -17
- package/dist/esm/hooks/entity-lists/useEntityList.js +207 -305
- package/dist/esm/hooks/entity-lists/useEntityList.js.map +1 -1
- package/dist/esm/hooks/entity-lists/useEntityListActions.d.ts +8 -6
- package/dist/esm/hooks/entity-lists/useEntityListActions.js +107 -175
- package/dist/esm/hooks/entity-lists/useEntityListActions.js.map +1 -1
- package/dist/esm/hooks/entity-lists/useInfusedData.d.ts +3 -2
- package/dist/esm/hooks/entity-lists/useInfusedData.js +38 -109
- package/dist/esm/hooks/entity-lists/useInfusedData.js.map +1 -1
- package/dist/esm/hooks/projects/useProjectData.js +14 -62
- package/dist/esm/hooks/projects/useProjectData.js.map +1 -1
- package/dist/esm/hooks/reactions/index.d.ts +14 -0
- package/dist/esm/hooks/reactions/index.js +8 -0
- package/dist/esm/hooks/reactions/index.js.map +1 -0
- package/dist/esm/hooks/reactions/useAddReaction.d.ts +10 -0
- package/dist/esm/hooks/reactions/useAddReaction.js +28 -0
- package/dist/esm/hooks/reactions/useAddReaction.js.map +1 -0
- package/dist/esm/hooks/reactions/useFetchCommentReactions.d.ts +11 -0
- package/dist/esm/hooks/reactions/useFetchCommentReactions.js +34 -0
- package/dist/esm/hooks/reactions/useFetchCommentReactions.js.map +1 -0
- package/dist/esm/hooks/reactions/useFetchCommentReactionsWrapper.d.ts +17 -0
- package/dist/esm/hooks/reactions/useFetchCommentReactionsWrapper.js +95 -0
- package/dist/esm/hooks/reactions/useFetchCommentReactionsWrapper.js.map +1 -0
- package/dist/esm/hooks/reactions/useFetchEntityReactions.d.ts +11 -0
- package/dist/esm/hooks/reactions/useFetchEntityReactions.js +34 -0
- package/dist/esm/hooks/reactions/useFetchEntityReactions.js.map +1 -0
- package/dist/esm/hooks/reactions/useFetchEntityReactionsWrapper.d.ts +17 -0
- package/dist/esm/hooks/reactions/useFetchEntityReactionsWrapper.js +95 -0
- package/dist/esm/hooks/reactions/useFetchEntityReactionsWrapper.js.map +1 -0
- package/dist/esm/hooks/reactions/useReactionToggle.d.ts +20 -0
- package/dist/esm/hooks/reactions/useReactionToggle.js +79 -0
- package/dist/esm/hooks/reactions/useReactionToggle.js.map +1 -0
- package/dist/esm/hooks/reactions/useRemoveReaction.d.ts +8 -0
- package/dist/esm/hooks/reactions/useRemoveReaction.js +25 -0
- package/dist/esm/hooks/reactions/useRemoveReaction.js.map +1 -0
- package/dist/esm/hooks/relationships/connections/index.d.ts +11 -0
- package/dist/esm/hooks/relationships/connections/useAcceptConnection.d.ts +3 -2
- package/dist/esm/hooks/relationships/connections/useAcceptConnection.js +17 -62
- package/dist/esm/hooks/relationships/connections/useAcceptConnection.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useConnectionManager.d.ts +5 -4
- package/dist/esm/hooks/relationships/connections/useConnectionManager.js +175 -294
- package/dist/esm/hooks/relationships/connections/useConnectionManager.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useDeclineConnection.d.ts +3 -2
- package/dist/esm/hooks/relationships/connections/useDeclineConnection.js +17 -62
- package/dist/esm/hooks/relationships/connections/useDeclineConnection.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnectionStatus.d.ts +3 -2
- package/dist/esm/hooks/relationships/connections/useFetchConnectionStatus.js +20 -65
- package/dist/esm/hooks/relationships/connections/useFetchConnectionStatus.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnections.d.ts +2 -2
- package/dist/esm/hooks/relationships/connections/useFetchConnections.js +16 -78
- package/dist/esm/hooks/relationships/connections/useFetchConnections.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsByUserId.d.ts +2 -2
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsByUserId.js +16 -61
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsByUserId.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsCount.js +13 -58
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsCount.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsCountByUserId.d.ts +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsCountByUserId.js +12 -57
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsCountByUserId.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchReceivedPendingConnections.d.ts +2 -2
- package/dist/esm/hooks/relationships/connections/useFetchReceivedPendingConnections.js +16 -78
- package/dist/esm/hooks/relationships/connections/useFetchReceivedPendingConnections.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchSentPendingConnections.d.ts +2 -2
- package/dist/esm/hooks/relationships/connections/useFetchSentPendingConnections.js +16 -78
- package/dist/esm/hooks/relationships/connections/useFetchSentPendingConnections.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useRemoveConnection.d.ts +3 -2
- package/dist/esm/hooks/relationships/connections/useRemoveConnection.js +17 -62
- package/dist/esm/hooks/relationships/connections/useRemoveConnection.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useRemoveConnectionByUserId.d.ts +3 -2
- package/dist/esm/hooks/relationships/connections/useRemoveConnectionByUserId.js +20 -65
- package/dist/esm/hooks/relationships/connections/useRemoveConnectionByUserId.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useRequestConnection.js +13 -58
- package/dist/esm/hooks/relationships/connections/useRequestConnection.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/index.d.ts +11 -0
- package/dist/esm/hooks/relationships/follows/useFetchFollowStatus.d.ts +5 -3
- package/dist/esm/hooks/relationships/follows/useFetchFollowStatus.js +20 -67
- package/dist/esm/hooks/relationships/follows/useFetchFollowStatus.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowers.d.ts +2 -2
- package/dist/esm/hooks/relationships/follows/useFetchFollowers.js +12 -74
- package/dist/esm/hooks/relationships/follows/useFetchFollowers.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowersByUserId.d.ts +2 -2
- package/dist/esm/hooks/relationships/follows/useFetchFollowersByUserId.js +11 -57
- package/dist/esm/hooks/relationships/follows/useFetchFollowersByUserId.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowersCount.js +13 -58
- package/dist/esm/hooks/relationships/follows/useFetchFollowersCount.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowersCountByUserId.d.ts +3 -2
- package/dist/esm/hooks/relationships/follows/useFetchFollowersCountByUserId.js +11 -57
- package/dist/esm/hooks/relationships/follows/useFetchFollowersCountByUserId.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowing.d.ts +2 -2
- package/dist/esm/hooks/relationships/follows/useFetchFollowing.js +15 -77
- package/dist/esm/hooks/relationships/follows/useFetchFollowing.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowingByUserId.d.ts +2 -2
- package/dist/esm/hooks/relationships/follows/useFetchFollowingByUserId.js +15 -61
- package/dist/esm/hooks/relationships/follows/useFetchFollowingByUserId.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowingCount.js +13 -58
- package/dist/esm/hooks/relationships/follows/useFetchFollowingCount.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowingCountByUserId.d.ts +3 -2
- package/dist/esm/hooks/relationships/follows/useFetchFollowingCountByUserId.js +11 -57
- package/dist/esm/hooks/relationships/follows/useFetchFollowingCountByUserId.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFollowManager.d.ts +4 -3
- package/dist/esm/hooks/relationships/follows/useFollowManager.js +42 -103
- package/dist/esm/hooks/relationships/follows/useFollowManager.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFollowUser.d.ts +3 -2
- package/dist/esm/hooks/relationships/follows/useFollowUser.js +12 -58
- package/dist/esm/hooks/relationships/follows/useFollowUser.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useUnfollowByFollowId.d.ts +3 -2
- package/dist/esm/hooks/relationships/follows/useUnfollowByFollowId.js +16 -64
- package/dist/esm/hooks/relationships/follows/useUnfollowByFollowId.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useUnfollowUserByUserId.d.ts +3 -2
- package/dist/esm/hooks/relationships/follows/useUnfollowUserByUserId.js +19 -67
- package/dist/esm/hooks/relationships/follows/useUnfollowUserByUserId.js.map +1 -1
- package/dist/esm/hooks/reports/index.d.ts +5 -1
- package/dist/esm/hooks/reports/index.js +1 -1
- package/dist/esm/hooks/reports/index.js.map +1 -1
- package/dist/esm/hooks/reports/useCreateReport.d.ts +16 -3
- package/dist/esm/hooks/reports/useCreateReport.js +31 -94
- package/dist/esm/hooks/reports/useCreateReport.js.map +1 -1
- package/dist/esm/hooks/reports/useFetchModeratedReports.d.ts +60 -0
- package/dist/esm/hooks/reports/useFetchModeratedReports.js +40 -0
- package/dist/esm/hooks/reports/useFetchModeratedReports.js.map +1 -0
- package/dist/esm/hooks/reports/useHandleSpaceCommentReport.d.ts +6 -6
- package/dist/esm/hooks/reports/useHandleSpaceCommentReport.js +19 -65
- package/dist/esm/hooks/reports/useHandleSpaceCommentReport.js.map +1 -1
- package/dist/esm/hooks/reports/useHandleSpaceEntityReport.d.ts +6 -6
- package/dist/esm/hooks/reports/useHandleSpaceEntityReport.js +19 -65
- package/dist/esm/hooks/reports/useHandleSpaceEntityReport.js.map +1 -1
- package/dist/esm/hooks/search/index.d.ts +8 -0
- package/dist/esm/hooks/search/index.js +5 -0
- package/dist/esm/hooks/search/index.js.map +1 -0
- package/dist/esm/hooks/search/useAskContent.d.ts +23 -0
- package/dist/esm/hooks/search/useAskContent.js +161 -0
- package/dist/esm/hooks/search/useAskContent.js.map +1 -0
- package/dist/esm/hooks/search/useSearchContent.d.ts +23 -0
- package/dist/esm/hooks/search/useSearchContent.js +35 -0
- package/dist/esm/hooks/search/useSearchContent.js.map +1 -0
- package/dist/esm/hooks/search/useSearchSpaces.d.ts +17 -0
- package/dist/esm/hooks/search/useSearchSpaces.js +35 -0
- package/dist/esm/hooks/search/useSearchSpaces.js.map +1 -0
- package/dist/esm/hooks/search/useSearchUsers.d.ts +17 -0
- package/dist/esm/hooks/search/useSearchUsers.js +35 -0
- package/dist/esm/hooks/search/useSearchUsers.js.map +1 -0
- package/dist/esm/hooks/space-lists/index.d.ts +2 -1
- package/dist/esm/hooks/space-lists/index.js.map +1 -1
- package/dist/esm/hooks/space-lists/useSpaceList.d.ts +22 -17
- package/dist/esm/hooks/space-lists/useSpaceList.js +146 -239
- package/dist/esm/hooks/space-lists/useSpaceList.js.map +1 -1
- package/dist/esm/hooks/space-lists/useSpaceListActions.d.ts +7 -4
- package/dist/esm/hooks/space-lists/useSpaceListActions.js +103 -187
- package/dist/esm/hooks/space-lists/useSpaceListActions.js.map +1 -1
- package/dist/esm/hooks/spaces/index.d.ts +35 -1
- package/dist/esm/hooks/spaces/index.js +13 -1
- package/dist/esm/hooks/spaces/index.js.map +1 -1
- package/dist/esm/hooks/spaces/rules/index.d.ts +12 -0
- package/dist/esm/hooks/spaces/rules/index.js +7 -0
- package/dist/esm/hooks/spaces/rules/index.js.map +1 -0
- package/dist/esm/hooks/spaces/rules/useCreateRule.d.ts +8 -0
- package/dist/esm/hooks/spaces/rules/useCreateRule.js +26 -0
- package/dist/esm/hooks/spaces/rules/useCreateRule.js.map +1 -0
- package/dist/esm/hooks/spaces/rules/useDeleteRule.d.ts +7 -0
- package/dist/esm/hooks/spaces/rules/useDeleteRule.js +23 -0
- package/dist/esm/hooks/spaces/rules/useDeleteRule.js.map +1 -0
- package/dist/esm/hooks/spaces/rules/useFetchManyRules.d.ts +6 -0
- package/dist/esm/hooks/spaces/rules/useFetchManyRules.js +20 -0
- package/dist/esm/hooks/spaces/rules/useFetchManyRules.js.map +1 -0
- package/dist/esm/hooks/spaces/rules/useFetchRule.d.ts +7 -0
- package/dist/esm/hooks/spaces/rules/useFetchRule.js +23 -0
- package/dist/esm/hooks/spaces/rules/useFetchRule.js.map +1 -0
- package/dist/esm/hooks/spaces/rules/useReorderRules.d.ts +7 -0
- package/dist/esm/hooks/spaces/rules/useReorderRules.js +23 -0
- package/dist/esm/hooks/spaces/rules/useReorderRules.js.map +1 -0
- package/dist/esm/hooks/spaces/rules/useUpdateRule.d.ts +11 -0
- package/dist/esm/hooks/spaces/rules/useUpdateRule.js +23 -0
- package/dist/esm/hooks/spaces/rules/useUpdateRule.js.map +1 -0
- package/dist/esm/hooks/spaces/useApproveMember.d.ts +2 -2
- package/dist/esm/hooks/spaces/useApproveMember.js +12 -58
- package/dist/esm/hooks/spaces/useApproveMember.js.map +1 -1
- package/dist/esm/hooks/spaces/useCheckMyMembership.d.ts +3 -2
- package/dist/esm/hooks/spaces/useCheckMyMembership.js +12 -58
- package/dist/esm/hooks/spaces/useCheckMyMembership.js.map +1 -1
- package/dist/esm/hooks/spaces/useCheckSlugAvailability.d.ts +3 -2
- package/dist/esm/hooks/spaces/useCheckSlugAvailability.js +12 -58
- package/dist/esm/hooks/spaces/useCheckSlugAvailability.js.map +1 -1
- package/dist/esm/hooks/spaces/useCreateSpace.d.ts +7 -2
- package/dist/esm/hooks/spaces/useCreateSpace.js +65 -56
- package/dist/esm/hooks/spaces/useCreateSpace.js.map +1 -1
- package/dist/esm/hooks/spaces/useDeclineMember.d.ts +2 -2
- package/dist/esm/hooks/spaces/useDeclineMember.js +12 -58
- package/dist/esm/hooks/spaces/useDeclineMember.js.map +1 -1
- package/dist/esm/hooks/spaces/useDeleteSpace.d.ts +3 -2
- package/dist/esm/hooks/spaces/useDeleteSpace.js +12 -58
- package/dist/esm/hooks/spaces/useDeleteSpace.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchDigestConfig.d.ts +6 -0
- package/dist/esm/hooks/spaces/useFetchDigestConfig.js +20 -0
- package/dist/esm/hooks/spaces/useFetchDigestConfig.js.map +1 -0
- package/dist/esm/hooks/spaces/useFetchManySpaces.d.ts +9 -5
- package/dist/esm/hooks/spaces/useFetchManySpaces.js +34 -68
- package/dist/esm/hooks/spaces/useFetchManySpaces.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpace.d.ts +5 -3
- package/dist/esm/hooks/spaces/useFetchSpace.js +15 -57
- package/dist/esm/hooks/spaces/useFetchSpace.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceBreadcrumb.d.ts +3 -2
- package/dist/esm/hooks/spaces/useFetchSpaceBreadcrumb.js +12 -58
- package/dist/esm/hooks/spaces/useFetchSpaceBreadcrumb.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceByShortId.d.ts +5 -3
- package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js +16 -57
- package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceBySlug.d.ts +5 -3
- package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js +16 -57
- package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceChildren.d.ts +5 -4
- package/dist/esm/hooks/spaces/useFetchSpaceChildren.js +16 -56
- package/dist/esm/hooks/spaces/useFetchSpaceChildren.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceMembers.d.ts +2 -2
- package/dist/esm/hooks/spaces/useFetchSpaceMembers.js +12 -69
- package/dist/esm/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceTeam.d.ts +6 -0
- package/dist/esm/hooks/spaces/useFetchSpaceTeam.js +22 -0
- package/dist/esm/hooks/spaces/useFetchSpaceTeam.js.map +1 -0
- package/dist/esm/hooks/spaces/useFetchUserSpaces.d.ts +12 -0
- package/dist/esm/hooks/spaces/useFetchUserSpaces.js +24 -0
- package/dist/esm/hooks/spaces/useFetchUserSpaces.js.map +1 -0
- package/dist/esm/hooks/spaces/useJoinSpace.d.ts +3 -2
- package/dist/esm/hooks/spaces/useJoinSpace.js +12 -58
- package/dist/esm/hooks/spaces/useJoinSpace.js.map +1 -1
- package/dist/esm/hooks/spaces/useLeaveSpace.d.ts +3 -2
- package/dist/esm/hooks/spaces/useLeaveSpace.js +12 -58
- package/dist/esm/hooks/spaces/useLeaveSpace.js.map +1 -1
- package/dist/esm/hooks/spaces/useModerateSpaceComment.d.ts +26 -0
- package/dist/esm/hooks/spaces/useModerateSpaceComment.js +34 -0
- package/dist/esm/hooks/spaces/useModerateSpaceComment.js.map +1 -0
- package/dist/esm/hooks/spaces/useModerateSpaceEntity.d.ts +26 -0
- package/dist/esm/hooks/spaces/useModerateSpaceEntity.js +34 -0
- package/dist/esm/hooks/spaces/useModerateSpaceEntity.js.map +1 -0
- package/dist/esm/hooks/spaces/useRemoveMember.d.ts +2 -2
- package/dist/esm/hooks/spaces/useRemoveMember.js +12 -58
- package/dist/esm/hooks/spaces/useRemoveMember.js.map +1 -1
- package/dist/esm/hooks/spaces/useSpace.js +2 -2
- package/dist/esm/hooks/spaces/useSpace.js.map +1 -1
- package/dist/esm/hooks/spaces/useSpaceData.d.ts +3 -2
- package/dist/esm/hooks/spaces/useSpaceData.js +180 -296
- package/dist/esm/hooks/spaces/useSpaceData.js.map +1 -1
- package/dist/esm/hooks/spaces/useSpaceMentions.d.ts +24 -0
- package/dist/esm/hooks/spaces/useSpaceMentions.js +131 -0
- package/dist/esm/hooks/spaces/useSpaceMentions.js.map +1 -0
- package/dist/esm/hooks/spaces/useSpacePermissions.d.ts +2 -2
- package/dist/esm/hooks/spaces/useSpacePermissions.js +15 -16
- package/dist/esm/hooks/spaces/useSpacePermissions.js.map +1 -1
- package/dist/esm/hooks/spaces/useUnbanMember.d.ts +11 -0
- package/dist/esm/hooks/spaces/useUnbanMember.js +20 -0
- package/dist/esm/hooks/spaces/useUnbanMember.js.map +1 -0
- package/dist/esm/hooks/spaces/useUpdateDigestConfig.d.ts +7 -0
- package/dist/esm/hooks/spaces/useUpdateDigestConfig.js +20 -0
- package/dist/esm/hooks/spaces/useUpdateDigestConfig.js.map +1 -0
- package/dist/esm/hooks/spaces/useUpdateMemberRole.d.ts +2 -2
- package/dist/esm/hooks/spaces/useUpdateMemberRole.js +12 -58
- package/dist/esm/hooks/spaces/useUpdateMemberRole.js.map +1 -1
- package/dist/esm/hooks/spaces/useUpdateSpace.d.ts +8 -3
- package/dist/esm/hooks/spaces/useUpdateSpace.js +59 -57
- package/dist/esm/hooks/spaces/useUpdateSpace.js.map +1 -1
- package/dist/esm/hooks/storage/index.d.ts +2 -1
- package/dist/esm/hooks/storage/index.js +2 -1
- package/dist/esm/hooks/storage/index.js.map +1 -1
- package/dist/esm/hooks/storage/useUploadFile.d.ts +16 -5
- package/dist/esm/hooks/storage/useUploadFile.js +47 -78
- package/dist/esm/hooks/storage/useUploadFile.js.map +1 -1
- package/dist/esm/hooks/storage/useUploadImage.d.ts +15 -0
- package/dist/esm/hooks/storage/useUploadImage.js +106 -0
- package/dist/esm/hooks/storage/useUploadImage.js.map +1 -0
- package/dist/esm/hooks/useStableObject.js +1 -1
- package/dist/esm/hooks/useStableObject.js.map +1 -1
- package/dist/esm/hooks/user/index.d.ts +1 -0
- package/dist/esm/hooks/user/useUser.js +30 -78
- package/dist/esm/hooks/user/useUser.js.map +1 -1
- package/dist/esm/hooks/user/useUserActions.d.ts +6 -1
- package/dist/esm/hooks/user/useUserActions.js +59 -85
- package/dist/esm/hooks/user/useUserActions.js.map +1 -1
- package/dist/esm/hooks/users/index.d.ts +6 -7
- package/dist/esm/hooks/users/index.js +6 -7
- package/dist/esm/hooks/users/index.js.map +1 -1
- package/dist/esm/hooks/users/useCheckUsernameAvailability.d.ts +3 -2
- package/dist/esm/hooks/users/useCheckUsernameAvailability.js +12 -58
- package/dist/esm/hooks/users/useCheckUsernameAvailability.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUser.d.ts +5 -3
- package/dist/esm/hooks/users/useFetchUser.js +14 -56
- package/dist/esm/hooks/users/useFetchUser.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUserByForeignId.d.ts +5 -3
- package/dist/esm/hooks/users/useFetchUserByForeignId.js +15 -58
- package/dist/esm/hooks/users/useFetchUserByForeignId.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUserByUsername.d.ts +5 -3
- package/dist/esm/hooks/users/useFetchUserByUsername.js +15 -58
- package/dist/esm/hooks/users/useFetchUserByUsername.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUserSuggestions.d.ts +3 -2
- package/dist/esm/hooks/users/useFetchUserSuggestions.js +12 -58
- package/dist/esm/hooks/users/useFetchUserSuggestions.js.map +1 -1
- package/dist/{cjs/hooks/users/useMentions.d.ts → esm/hooks/users/useUserMentions.d.ts} +10 -4
- package/dist/esm/hooks/users/useUserMentions.js +131 -0
- package/dist/esm/hooks/users/useUserMentions.js.map +1 -0
- package/dist/esm/hooks/utils/index.d.ts +1 -1
- package/dist/esm/hooks/utils/index.js +1 -1
- package/dist/esm/hooks/utils/index.js.map +1 -1
- package/dist/esm/hooks/utils/useGetMetadata.d.ts +4 -2
- package/dist/esm/hooks/utils/useGetMetadata.js +20 -65
- package/dist/esm/hooks/utils/useGetMetadata.js.map +1 -1
- package/dist/esm/index.d.ts +46 -28
- package/dist/esm/index.js +33 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/AccountStorage.d.ts +6 -0
- package/dist/esm/interfaces/AccountStorage.js +2 -0
- package/dist/esm/interfaces/AccountStorage.js.map +1 -0
- package/dist/esm/interfaces/EntityListSortByOptions.d.ts +1 -0
- package/dist/esm/interfaces/EntityListSortByOptions.js +4 -4
- package/dist/esm/interfaces/EntityListSortByOptions.js.map +1 -1
- package/dist/esm/interfaces/PaginatedResponse.js +2 -0
- package/dist/esm/interfaces/PaginatedResponse.js.map +1 -0
- package/dist/esm/interfaces/UrlMetadata.d.ts +92 -0
- package/dist/esm/interfaces/UrlMetadata.js +2 -0
- package/dist/esm/interfaces/UrlMetadata.js.map +1 -0
- package/dist/esm/interfaces/models/AppNotification.d.ts +225 -15
- package/dist/esm/interfaces/models/ChatMessage.d.ts +34 -0
- package/dist/esm/interfaces/models/ChatMessage.js +2 -0
- package/dist/esm/interfaces/models/ChatMessage.js.map +1 -0
- package/dist/{cjs/interfaces/models/List.d.ts → esm/interfaces/models/Collection.d.ts} +2 -4
- package/dist/esm/interfaces/models/Collection.js +2 -0
- package/dist/esm/interfaces/models/Collection.js.map +1 -0
- package/dist/esm/interfaces/models/Comment.d.ts +14 -1
- package/dist/esm/interfaces/models/Connection.d.ts +0 -1
- package/dist/esm/interfaces/models/Conversation.d.ts +25 -0
- package/dist/esm/interfaces/models/Conversation.js +2 -0
- package/dist/esm/interfaces/models/Conversation.js.map +1 -0
- package/dist/esm/interfaces/models/ConversationMember.d.ts +16 -0
- package/dist/esm/interfaces/models/ConversationMember.js +2 -0
- package/dist/esm/interfaces/models/ConversationMember.js.map +1 -0
- package/dist/esm/interfaces/models/Entity.d.ts +15 -1
- package/dist/esm/interfaces/models/File.d.ts +39 -0
- package/dist/esm/interfaces/models/File.js +2 -0
- package/dist/esm/interfaces/models/File.js.map +1 -0
- package/dist/esm/interfaces/models/Image.d.ts +74 -0
- package/dist/esm/interfaces/models/Image.js +2 -0
- package/dist/esm/interfaces/models/Image.js.map +1 -0
- package/dist/esm/interfaces/models/Mention.d.ts +8 -1
- package/dist/esm/interfaces/models/Reaction.d.ts +23 -0
- package/dist/esm/interfaces/models/Reaction.js +2 -0
- package/dist/esm/interfaces/models/Reaction.js.map +1 -0
- package/dist/esm/interfaces/models/Rule.d.ts +22 -0
- package/dist/esm/interfaces/models/Rule.js +2 -0
- package/dist/esm/interfaces/models/Rule.js.map +1 -0
- package/dist/esm/interfaces/models/Space.d.ts +27 -6
- package/dist/esm/interfaces/models/SpaceMember.d.ts +4 -1
- package/dist/esm/interfaces/models/User.d.ts +11 -3
- package/dist/esm/store/api/appNotificationsApi.d.ts +182 -182
- package/dist/esm/store/api/appNotificationsApi.js +93 -198
- package/dist/esm/store/api/appNotificationsApi.js.map +1 -1
- package/dist/esm/store/api/baseApi.d.ts +3 -1
- package/dist/esm/store/api/baseApi.js +15 -14
- package/dist/esm/store/api/baseApi.js.map +1 -1
- package/dist/esm/store/api/collectionsApi.d.ts +4541 -0
- package/dist/esm/store/api/collectionsApi.js +133 -0
- package/dist/esm/store/api/collectionsApi.js.map +1 -0
- package/dist/esm/store/api/entityListsApi.d.ts +220 -218
- package/dist/esm/store/api/entityListsApi.js +83 -173
- package/dist/esm/store/api/entityListsApi.js.map +1 -1
- package/dist/esm/store/api/index.d.ts +1 -1
- package/dist/esm/store/api/index.js +2 -2
- package/dist/esm/store/api/index.js.map +1 -1
- package/dist/esm/store/api/spacesApi.d.ts +1332 -960
- package/dist/esm/store/api/spacesApi.js +232 -402
- package/dist/esm/store/api/spacesApi.js.map +1 -1
- package/dist/esm/store/api/userApi.d.ts +12 -4
- package/dist/esm/store/api/userApi.js +68 -18
- package/dist/esm/store/api/userApi.js.map +1 -1
- package/dist/esm/store/hooks.d.ts +28 -0
- package/dist/esm/store/hooks.js +14 -0
- package/dist/esm/store/hooks.js.map +1 -0
- package/dist/esm/store/index.d.ts +21 -11
- package/dist/esm/store/index.js +41 -40
- package/dist/esm/store/index.js.map +1 -1
- package/dist/esm/store/integration.d.ts +35 -0
- package/dist/esm/store/integration.js +45 -0
- package/dist/esm/store/integration.js.map +1 -0
- package/dist/esm/store/middleware.js +11 -19
- package/dist/esm/store/middleware.js.map +1 -1
- package/dist/esm/store/replykeReducers.d.ts +40 -0
- package/dist/esm/store/replykeReducers.js +40 -0
- package/dist/esm/store/replykeReducers.js.map +1 -0
- package/dist/esm/store/rootReducer.d.ts +33 -14
- package/dist/esm/store/rootReducer.js +7 -19
- package/dist/esm/store/rootReducer.js.map +1 -1
- package/dist/esm/store/slices/accountsSlice.d.ts +41 -0
- package/dist/esm/store/slices/accountsSlice.js +55 -0
- package/dist/esm/store/slices/accountsSlice.js.map +1 -0
- package/dist/esm/store/slices/appNotificationsSlice.d.ts +2263 -370
- package/dist/esm/store/slices/appNotificationsSlice.js +31 -49
- package/dist/esm/store/slices/appNotificationsSlice.js.map +1 -1
- package/dist/esm/store/slices/authSlice.d.ts +19 -7
- package/dist/esm/store/slices/authSlice.js +19 -20
- package/dist/esm/store/slices/authSlice.js.map +1 -1
- package/dist/esm/store/slices/authThunks.d.ts +7 -0
- package/dist/esm/store/slices/authThunks.js +263 -341
- package/dist/esm/store/slices/authThunks.js.map +1 -1
- package/dist/esm/store/slices/chatSlice.d.ts +131 -0
- package/dist/esm/store/slices/chatSlice.js +346 -0
- package/dist/esm/store/slices/chatSlice.js.map +1 -0
- package/dist/esm/store/slices/collectionsSlice.d.ts +428 -0
- package/dist/esm/store/slices/collectionsSlice.js +191 -0
- package/dist/esm/store/slices/collectionsSlice.js.map +1 -0
- package/dist/esm/store/slices/entityListsSlice.d.ts +4045 -184
- package/dist/esm/store/slices/entityListsSlice.js +82 -91
- package/dist/esm/store/slices/entityListsSlice.js.map +1 -1
- package/dist/esm/store/slices/spaceListsSlice.d.ts +1184 -89
- package/dist/esm/store/slices/spaceListsSlice.js +71 -84
- package/dist/esm/store/slices/spaceListsSlice.js.map +1 -1
- package/dist/esm/store/slices/userSlice.d.ts +747 -15
- package/dist/esm/store/slices/userSlice.js +24 -36
- package/dist/esm/store/slices/userSlice.js.map +1 -1
- package/dist/esm/store/types/index.d.ts +5 -1
- package/dist/esm/types/socket.d.ts +73 -0
- package/dist/esm/types/socket.js +2 -0
- package/dist/esm/types/socket.js.map +1 -0
- package/dist/esm/utils/constants.js +1 -1
- package/dist/esm/utils/constants.js.map +1 -1
- package/dist/esm/utils/env.js +14 -15
- package/dist/esm/utils/env.js.map +1 -1
- package/dist/esm/utils/handleError.js +3 -4
- package/dist/esm/utils/handleError.js.map +1 -1
- package/dist/esm/utils/isAbsoluteUrl.js +1 -1
- package/dist/esm/utils/isAbsoluteUrl.js.map +1 -1
- package/dist/esm/utils/isReactNative.js +1 -3
- package/dist/esm/utils/isReactNative.js.map +1 -1
- package/dist/esm/utils/isUUID.js +1 -1
- package/dist/esm/utils/isUUID.js.map +1 -1
- package/dist/esm/utils/keywordHelpers.js +28 -40
- package/dist/esm/utils/keywordHelpers.js.map +1 -1
- package/dist/esm/utils/objectComparison.js +6 -8
- package/dist/esm/utils/objectComparison.js.map +1 -1
- package/package.json +7 -4
- package/dist/cjs/hooks/comments/useCommentVotes.d.ts +0 -11
- package/dist/cjs/hooks/comments/useCommentVotes.js +0 -234
- package/dist/cjs/hooks/comments/useCommentVotes.js.map +0 -1
- package/dist/cjs/hooks/comments/useDownvoteComment.d.ts +0 -5
- package/dist/cjs/hooks/comments/useDownvoteComment.js +0 -71
- package/dist/cjs/hooks/comments/useDownvoteComment.js.map +0 -1
- package/dist/cjs/hooks/comments/useProfileComments.d.ts +0 -18
- package/dist/cjs/hooks/comments/useProfileComments.js +0 -177
- package/dist/cjs/hooks/comments/useProfileComments.js.map +0 -1
- package/dist/cjs/hooks/comments/useRemoveCommentDownvote.d.ts +0 -5
- package/dist/cjs/hooks/comments/useRemoveCommentDownvote.js +0 -71
- package/dist/cjs/hooks/comments/useRemoveCommentDownvote.js.map +0 -1
- package/dist/cjs/hooks/comments/useRemoveCommentUpvote.d.ts +0 -5
- package/dist/cjs/hooks/comments/useRemoveCommentUpvote.js +0 -71
- package/dist/cjs/hooks/comments/useRemoveCommentUpvote.js.map +0 -1
- package/dist/cjs/hooks/comments/useUpvoteComment.d.ts +0 -5
- package/dist/cjs/hooks/comments/useUpvoteComment.js +0 -71
- package/dist/cjs/hooks/comments/useUpvoteComment.js.map +0 -1
- package/dist/cjs/hooks/entities/useDownvoteEntity.d.ts +0 -5
- package/dist/cjs/hooks/entities/useDownvoteEntity.js +0 -71
- package/dist/cjs/hooks/entities/useDownvoteEntity.js.map +0 -1
- package/dist/cjs/hooks/entities/useEntityVotes.d.ts +0 -11
- package/dist/cjs/hooks/entities/useEntityVotes.js +0 -241
- package/dist/cjs/hooks/entities/useEntityVotes.js.map +0 -1
- package/dist/cjs/hooks/entities/useIncrementEntityViews.d.ts +0 -5
- package/dist/cjs/hooks/entities/useIncrementEntityViews.js +0 -73
- package/dist/cjs/hooks/entities/useIncrementEntityViews.js.map +0 -1
- package/dist/cjs/hooks/entities/useRemoveEntityDownvote.d.ts +0 -5
- package/dist/cjs/hooks/entities/useRemoveEntityDownvote.js +0 -71
- package/dist/cjs/hooks/entities/useRemoveEntityDownvote.js.map +0 -1
- package/dist/cjs/hooks/entities/useRemoveEntityUpvote.d.ts +0 -5
- package/dist/cjs/hooks/entities/useRemoveEntityUpvote.js +0 -71
- package/dist/cjs/hooks/entities/useRemoveEntityUpvote.js.map +0 -1
- package/dist/cjs/hooks/entities/useUpvoteEntity.d.ts +0 -5
- package/dist/cjs/hooks/entities/useUpvoteEntity.js +0 -71
- package/dist/cjs/hooks/entities/useUpvoteEntity.js.map +0 -1
- package/dist/cjs/hooks/lists/index.d.ts +0 -3
- package/dist/cjs/hooks/lists/index.js +0 -14
- package/dist/cjs/hooks/lists/index.js.map +0 -1
- package/dist/cjs/hooks/lists/useIsEntitySaved.d.ts +0 -5
- package/dist/cjs/hooks/lists/useIsEntitySaved.js +0 -83
- package/dist/cjs/hooks/lists/useIsEntitySaved.js.map +0 -1
- package/dist/cjs/hooks/lists/useLists.d.ts +0 -36
- package/dist/cjs/hooks/lists/useLists.js +0 -239
- package/dist/cjs/hooks/lists/useLists.js.map +0 -1
- package/dist/cjs/hooks/lists/useListsActions.d.ts +0 -21
- package/dist/cjs/hooks/lists/useListsActions.js +0 -341
- package/dist/cjs/hooks/lists/useListsActions.js.map +0 -1
- package/dist/cjs/hooks/reports/useFetchSpaceReports.d.ts +0 -39
- package/dist/cjs/hooks/reports/useFetchSpaceReports.js +0 -96
- package/dist/cjs/hooks/reports/useFetchSpaceReports.js.map +0 -1
- package/dist/cjs/hooks/spaces/useFetchMySpaces.d.ts +0 -8
- package/dist/cjs/hooks/spaces/useFetchMySpaces.js +0 -85
- package/dist/cjs/hooks/spaces/useFetchMySpaces.js.map +0 -1
- package/dist/cjs/hooks/users/useMentions.js +0 -186
- package/dist/cjs/hooks/users/useMentions.js.map +0 -1
- package/dist/cjs/hooks/users/useUpdateUser.d.ts +0 -18
- package/dist/cjs/hooks/users/useUpdateUser.js +0 -78
- package/dist/cjs/hooks/users/useUpdateUser.js.map +0 -1
- package/dist/cjs/interfaces/IPaginatedResponse.js.map +0 -1
- package/dist/cjs/interfaces/models/List.js.map +0 -1
- package/dist/cjs/store/api/listsApi.d.ts +0 -3564
- package/dist/cjs/store/api/listsApi.js +0 -288
- package/dist/cjs/store/api/listsApi.js.map +0 -1
- package/dist/cjs/store/slices/listsSlice.d.ts +0 -1911
- package/dist/cjs/store/slices/listsSlice.js +0 -211
- package/dist/cjs/store/slices/listsSlice.js.map +0 -1
- package/dist/esm/hooks/comments/useCommentVotes.d.ts +0 -11
- package/dist/esm/hooks/comments/useCommentVotes.js +0 -229
- package/dist/esm/hooks/comments/useCommentVotes.js.map +0 -1
- package/dist/esm/hooks/comments/useDownvoteComment.d.ts +0 -5
- package/dist/esm/hooks/comments/useDownvoteComment.js +0 -66
- package/dist/esm/hooks/comments/useDownvoteComment.js.map +0 -1
- package/dist/esm/hooks/comments/useProfileComments.d.ts +0 -18
- package/dist/esm/hooks/comments/useProfileComments.js +0 -172
- package/dist/esm/hooks/comments/useProfileComments.js.map +0 -1
- package/dist/esm/hooks/comments/useRemoveCommentDownvote.d.ts +0 -5
- package/dist/esm/hooks/comments/useRemoveCommentDownvote.js +0 -66
- package/dist/esm/hooks/comments/useRemoveCommentDownvote.js.map +0 -1
- package/dist/esm/hooks/comments/useRemoveCommentUpvote.d.ts +0 -5
- package/dist/esm/hooks/comments/useRemoveCommentUpvote.js +0 -66
- package/dist/esm/hooks/comments/useRemoveCommentUpvote.js.map +0 -1
- package/dist/esm/hooks/comments/useUpvoteComment.d.ts +0 -5
- package/dist/esm/hooks/comments/useUpvoteComment.js +0 -66
- package/dist/esm/hooks/comments/useUpvoteComment.js.map +0 -1
- package/dist/esm/hooks/entities/useDownvoteEntity.d.ts +0 -5
- package/dist/esm/hooks/entities/useDownvoteEntity.js +0 -66
- package/dist/esm/hooks/entities/useDownvoteEntity.js.map +0 -1
- package/dist/esm/hooks/entities/useEntityVotes.d.ts +0 -11
- package/dist/esm/hooks/entities/useEntityVotes.js +0 -236
- package/dist/esm/hooks/entities/useEntityVotes.js.map +0 -1
- package/dist/esm/hooks/entities/useIncrementEntityViews.d.ts +0 -5
- package/dist/esm/hooks/entities/useIncrementEntityViews.js +0 -68
- package/dist/esm/hooks/entities/useIncrementEntityViews.js.map +0 -1
- package/dist/esm/hooks/entities/useRemoveEntityDownvote.d.ts +0 -5
- package/dist/esm/hooks/entities/useRemoveEntityDownvote.js +0 -66
- package/dist/esm/hooks/entities/useRemoveEntityDownvote.js.map +0 -1
- package/dist/esm/hooks/entities/useRemoveEntityUpvote.d.ts +0 -5
- package/dist/esm/hooks/entities/useRemoveEntityUpvote.js +0 -66
- package/dist/esm/hooks/entities/useRemoveEntityUpvote.js.map +0 -1
- package/dist/esm/hooks/entities/useUpvoteEntity.d.ts +0 -5
- package/dist/esm/hooks/entities/useUpvoteEntity.js +0 -66
- package/dist/esm/hooks/entities/useUpvoteEntity.js.map +0 -1
- package/dist/esm/hooks/lists/index.d.ts +0 -3
- package/dist/esm/hooks/lists/index.js +0 -5
- package/dist/esm/hooks/lists/index.js.map +0 -1
- package/dist/esm/hooks/lists/useIsEntitySaved.d.ts +0 -5
- package/dist/esm/hooks/lists/useIsEntitySaved.js +0 -78
- package/dist/esm/hooks/lists/useIsEntitySaved.js.map +0 -1
- package/dist/esm/hooks/lists/useLists.d.ts +0 -36
- package/dist/esm/hooks/lists/useLists.js +0 -234
- package/dist/esm/hooks/lists/useLists.js.map +0 -1
- package/dist/esm/hooks/lists/useListsActions.d.ts +0 -21
- package/dist/esm/hooks/lists/useListsActions.js +0 -338
- package/dist/esm/hooks/lists/useListsActions.js.map +0 -1
- package/dist/esm/hooks/reports/useFetchSpaceReports.d.ts +0 -39
- package/dist/esm/hooks/reports/useFetchSpaceReports.js +0 -91
- package/dist/esm/hooks/reports/useFetchSpaceReports.js.map +0 -1
- package/dist/esm/hooks/spaces/useFetchMySpaces.d.ts +0 -8
- package/dist/esm/hooks/spaces/useFetchMySpaces.js +0 -80
- package/dist/esm/hooks/spaces/useFetchMySpaces.js.map +0 -1
- package/dist/esm/hooks/users/useMentions.js +0 -181
- package/dist/esm/hooks/users/useMentions.js.map +0 -1
- package/dist/esm/hooks/users/useUpdateUser.d.ts +0 -18
- package/dist/esm/hooks/users/useUpdateUser.js +0 -73
- package/dist/esm/hooks/users/useUpdateUser.js.map +0 -1
- package/dist/esm/interfaces/IPaginatedResponse.js +0 -2
- package/dist/esm/interfaces/IPaginatedResponse.js.map +0 -1
- package/dist/esm/interfaces/models/List.js +0 -2
- package/dist/esm/interfaces/models/List.js.map +0 -1
- package/dist/esm/store/api/listsApi.d.ts +0 -3564
- package/dist/esm/store/api/listsApi.js +0 -285
- package/dist/esm/store/api/listsApi.js.map +0 -1
- package/dist/esm/store/slices/listsSlice.d.ts +0 -1911
- package/dist/esm/store/slices/listsSlice.js +0 -202
- package/dist/esm/store/slices/listsSlice.js.map +0 -1
- /package/dist/cjs/interfaces/{IPaginatedResponse.d.ts → PaginatedResponse.d.ts} +0 -0
- /package/dist/esm/interfaces/{IPaginatedResponse.d.ts → PaginatedResponse.d.ts} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PayloadAction } from "@reduxjs/toolkit";
|
|
2
2
|
import type { UnifiedAppNotification, NotificationTemplates } from "../../interfaces/models/AppNotification";
|
|
3
|
+
import type { ReplykeState } from '../replykeReducers';
|
|
3
4
|
export interface AppNotificationsState {
|
|
4
5
|
notifications: UnifiedAppNotification[];
|
|
5
6
|
unreadCount: number;
|
|
@@ -139,6 +140,136 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
139
140
|
userId: string;
|
|
140
141
|
isRead: boolean;
|
|
141
142
|
createdAt: string;
|
|
143
|
+
} | {
|
|
144
|
+
type: "entity-reaction";
|
|
145
|
+
action: "open-entity";
|
|
146
|
+
metadata: {
|
|
147
|
+
entityId: string;
|
|
148
|
+
entityShortId: string;
|
|
149
|
+
entityTitle: string | null | undefined;
|
|
150
|
+
entityContent: string | null | undefined;
|
|
151
|
+
reactionType: string;
|
|
152
|
+
initiatorId: string;
|
|
153
|
+
initiatorName: string | null | undefined;
|
|
154
|
+
initiatorUsername: string | null | undefined;
|
|
155
|
+
initiatorAvatar: string | null | undefined;
|
|
156
|
+
};
|
|
157
|
+
id: string;
|
|
158
|
+
userId: string;
|
|
159
|
+
isRead: boolean;
|
|
160
|
+
createdAt: string;
|
|
161
|
+
} | {
|
|
162
|
+
type: "comment-reaction";
|
|
163
|
+
action: "open-comment";
|
|
164
|
+
metadata: {
|
|
165
|
+
entityId: string;
|
|
166
|
+
entityShortId: string;
|
|
167
|
+
entityTitle: string | null | undefined;
|
|
168
|
+
entityContent: string | null | undefined;
|
|
169
|
+
commentId: string;
|
|
170
|
+
commentContent: string | null | undefined;
|
|
171
|
+
reactionType: string;
|
|
172
|
+
initiatorId: string;
|
|
173
|
+
initiatorName: string | null | undefined;
|
|
174
|
+
initiatorUsername: string | null | undefined;
|
|
175
|
+
initiatorAvatar: string | null | undefined;
|
|
176
|
+
};
|
|
177
|
+
id: string;
|
|
178
|
+
userId: string;
|
|
179
|
+
isRead: boolean;
|
|
180
|
+
createdAt: string;
|
|
181
|
+
} | {
|
|
182
|
+
type: "entity-reaction-milestone-specific";
|
|
183
|
+
action: "open-entity";
|
|
184
|
+
metadata: {
|
|
185
|
+
entityId: string;
|
|
186
|
+
entityShortId: string;
|
|
187
|
+
entityTitle: string | null | undefined;
|
|
188
|
+
entityContent: string | null | undefined;
|
|
189
|
+
reactionType: string;
|
|
190
|
+
milestoneCount: number;
|
|
191
|
+
lastThreeUsers: {
|
|
192
|
+
id: string;
|
|
193
|
+
name: string | null | undefined;
|
|
194
|
+
username: string | null | undefined;
|
|
195
|
+
avatar: string | null | undefined;
|
|
196
|
+
}[];
|
|
197
|
+
};
|
|
198
|
+
id: string;
|
|
199
|
+
userId: string;
|
|
200
|
+
isRead: boolean;
|
|
201
|
+
createdAt: string;
|
|
202
|
+
} | {
|
|
203
|
+
type: "entity-reaction-milestone-total";
|
|
204
|
+
action: "open-entity";
|
|
205
|
+
metadata: {
|
|
206
|
+
entityId: string;
|
|
207
|
+
entityShortId: string;
|
|
208
|
+
entityTitle: string | null | undefined;
|
|
209
|
+
entityContent: string | null | undefined;
|
|
210
|
+
milestoneCount: number;
|
|
211
|
+
reactionCounts: {
|
|
212
|
+
[x: string]: number;
|
|
213
|
+
};
|
|
214
|
+
lastThreeUsers: {
|
|
215
|
+
id: string;
|
|
216
|
+
name: string | null | undefined;
|
|
217
|
+
username: string | null | undefined;
|
|
218
|
+
avatar: string | null | undefined;
|
|
219
|
+
}[];
|
|
220
|
+
};
|
|
221
|
+
id: string;
|
|
222
|
+
userId: string;
|
|
223
|
+
isRead: boolean;
|
|
224
|
+
createdAt: string;
|
|
225
|
+
} | {
|
|
226
|
+
type: "comment-reaction-milestone-specific";
|
|
227
|
+
action: "open-comment";
|
|
228
|
+
metadata: {
|
|
229
|
+
entityId: string;
|
|
230
|
+
entityShortId: string;
|
|
231
|
+
entityTitle: string | null | undefined;
|
|
232
|
+
entityContent: string | null | undefined;
|
|
233
|
+
commentId: string;
|
|
234
|
+
commentContent: string | null | undefined;
|
|
235
|
+
reactionType: string;
|
|
236
|
+
milestoneCount: number;
|
|
237
|
+
lastThreeUsers: {
|
|
238
|
+
id: string;
|
|
239
|
+
name: string | null | undefined;
|
|
240
|
+
username: string | null | undefined;
|
|
241
|
+
avatar: string | null | undefined;
|
|
242
|
+
}[];
|
|
243
|
+
};
|
|
244
|
+
id: string;
|
|
245
|
+
userId: string;
|
|
246
|
+
isRead: boolean;
|
|
247
|
+
createdAt: string;
|
|
248
|
+
} | {
|
|
249
|
+
type: "comment-reaction-milestone-total";
|
|
250
|
+
action: "open-comment";
|
|
251
|
+
metadata: {
|
|
252
|
+
entityId: string;
|
|
253
|
+
entityShortId: string;
|
|
254
|
+
entityTitle: string | null | undefined;
|
|
255
|
+
entityContent: string | null | undefined;
|
|
256
|
+
commentId: string;
|
|
257
|
+
commentContent: string | null | undefined;
|
|
258
|
+
milestoneCount: number;
|
|
259
|
+
reactionCounts: {
|
|
260
|
+
[x: string]: number;
|
|
261
|
+
};
|
|
262
|
+
lastThreeUsers: {
|
|
263
|
+
id: string;
|
|
264
|
+
name: string | null | undefined;
|
|
265
|
+
username: string | null | undefined;
|
|
266
|
+
avatar: string | null | undefined;
|
|
267
|
+
}[];
|
|
268
|
+
};
|
|
269
|
+
id: string;
|
|
270
|
+
userId: string;
|
|
271
|
+
isRead: boolean;
|
|
272
|
+
createdAt: string;
|
|
142
273
|
} | {
|
|
143
274
|
type: "new-follow";
|
|
144
275
|
action: "open-profile";
|
|
@@ -180,6 +311,20 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
180
311
|
userId: string;
|
|
181
312
|
isRead: boolean;
|
|
182
313
|
createdAt: string;
|
|
314
|
+
} | {
|
|
315
|
+
type: "space-membership-approved";
|
|
316
|
+
action: "open-space";
|
|
317
|
+
metadata: {
|
|
318
|
+
spaceId: string;
|
|
319
|
+
spaceName: string;
|
|
320
|
+
spaceShortId: string;
|
|
321
|
+
spaceSlug: string | null | undefined;
|
|
322
|
+
spaceAvatar: string | null | undefined;
|
|
323
|
+
};
|
|
324
|
+
id: string;
|
|
325
|
+
userId: string;
|
|
326
|
+
isRead: boolean;
|
|
327
|
+
createdAt: string;
|
|
183
328
|
})[];
|
|
184
329
|
unreadCount: number;
|
|
185
330
|
loading: boolean;
|
|
@@ -188,40 +333,68 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
188
333
|
limit: number;
|
|
189
334
|
notificationTemplates?: {
|
|
190
335
|
entityComment?: {
|
|
191
|
-
title?:
|
|
192
|
-
content?:
|
|
336
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
337
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
193
338
|
} | undefined;
|
|
194
339
|
commentReply?: {
|
|
195
|
-
title?:
|
|
196
|
-
content?:
|
|
340
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
341
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
197
342
|
} | undefined;
|
|
198
343
|
entityMention?: {
|
|
199
|
-
title?:
|
|
200
|
-
content?:
|
|
344
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
345
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
201
346
|
} | undefined;
|
|
202
347
|
commentMention?: {
|
|
203
|
-
title?:
|
|
204
|
-
content?:
|
|
348
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
349
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
205
350
|
} | undefined;
|
|
206
351
|
entityUpvote?: {
|
|
207
|
-
title?:
|
|
208
|
-
content?:
|
|
352
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
353
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
209
354
|
} | undefined;
|
|
210
355
|
commentUpvote?: {
|
|
211
|
-
title?:
|
|
212
|
-
content?:
|
|
356
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
357
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
entityReaction?: {
|
|
360
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
361
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
362
|
+
} | undefined;
|
|
363
|
+
commentReaction?: {
|
|
364
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
365
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
366
|
+
} | undefined;
|
|
367
|
+
entityReactionMilestoneSpecific?: {
|
|
368
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
369
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
370
|
+
} | undefined;
|
|
371
|
+
entityReactionMilestoneTotal?: {
|
|
372
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
373
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
374
|
+
} | undefined;
|
|
375
|
+
commentReactionMilestoneSpecific?: {
|
|
376
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
377
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
378
|
+
} | undefined;
|
|
379
|
+
commentReactionMilestoneTotal?: {
|
|
380
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
381
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
213
382
|
} | undefined;
|
|
214
383
|
newFollow?: {
|
|
215
|
-
title?:
|
|
216
|
-
content?:
|
|
384
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
385
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
217
386
|
} | undefined;
|
|
218
387
|
connectionRequest?: {
|
|
219
|
-
title?:
|
|
220
|
-
content?:
|
|
388
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
389
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
221
390
|
} | undefined;
|
|
222
391
|
connectionAccepted?: {
|
|
223
|
-
title?:
|
|
224
|
-
content?:
|
|
392
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
393
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
394
|
+
} | undefined;
|
|
395
|
+
spaceMembershipApproved?: {
|
|
396
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
397
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
225
398
|
} | undefined;
|
|
226
399
|
} | undefined;
|
|
227
400
|
currentProjectId?: string | undefined;
|
|
@@ -354,6 +527,136 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
354
527
|
userId: string;
|
|
355
528
|
isRead: boolean;
|
|
356
529
|
createdAt: string;
|
|
530
|
+
} | {
|
|
531
|
+
type: "entity-reaction";
|
|
532
|
+
action: "open-entity";
|
|
533
|
+
metadata: {
|
|
534
|
+
entityId: string;
|
|
535
|
+
entityShortId: string;
|
|
536
|
+
entityTitle: string | null | undefined;
|
|
537
|
+
entityContent: string | null | undefined;
|
|
538
|
+
reactionType: string;
|
|
539
|
+
initiatorId: string;
|
|
540
|
+
initiatorName: string | null | undefined;
|
|
541
|
+
initiatorUsername: string | null | undefined;
|
|
542
|
+
initiatorAvatar: string | null | undefined;
|
|
543
|
+
};
|
|
544
|
+
id: string;
|
|
545
|
+
userId: string;
|
|
546
|
+
isRead: boolean;
|
|
547
|
+
createdAt: string;
|
|
548
|
+
} | {
|
|
549
|
+
type: "comment-reaction";
|
|
550
|
+
action: "open-comment";
|
|
551
|
+
metadata: {
|
|
552
|
+
entityId: string;
|
|
553
|
+
entityShortId: string;
|
|
554
|
+
entityTitle: string | null | undefined;
|
|
555
|
+
entityContent: string | null | undefined;
|
|
556
|
+
commentId: string;
|
|
557
|
+
commentContent: string | null | undefined;
|
|
558
|
+
reactionType: string;
|
|
559
|
+
initiatorId: string;
|
|
560
|
+
initiatorName: string | null | undefined;
|
|
561
|
+
initiatorUsername: string | null | undefined;
|
|
562
|
+
initiatorAvatar: string | null | undefined;
|
|
563
|
+
};
|
|
564
|
+
id: string;
|
|
565
|
+
userId: string;
|
|
566
|
+
isRead: boolean;
|
|
567
|
+
createdAt: string;
|
|
568
|
+
} | {
|
|
569
|
+
type: "entity-reaction-milestone-specific";
|
|
570
|
+
action: "open-entity";
|
|
571
|
+
metadata: {
|
|
572
|
+
entityId: string;
|
|
573
|
+
entityShortId: string;
|
|
574
|
+
entityTitle: string | null | undefined;
|
|
575
|
+
entityContent: string | null | undefined;
|
|
576
|
+
reactionType: string;
|
|
577
|
+
milestoneCount: number;
|
|
578
|
+
lastThreeUsers: {
|
|
579
|
+
id: string;
|
|
580
|
+
name: string | null | undefined;
|
|
581
|
+
username: string | null | undefined;
|
|
582
|
+
avatar: string | null | undefined;
|
|
583
|
+
}[];
|
|
584
|
+
};
|
|
585
|
+
id: string;
|
|
586
|
+
userId: string;
|
|
587
|
+
isRead: boolean;
|
|
588
|
+
createdAt: string;
|
|
589
|
+
} | {
|
|
590
|
+
type: "entity-reaction-milestone-total";
|
|
591
|
+
action: "open-entity";
|
|
592
|
+
metadata: {
|
|
593
|
+
entityId: string;
|
|
594
|
+
entityShortId: string;
|
|
595
|
+
entityTitle: string | null | undefined;
|
|
596
|
+
entityContent: string | null | undefined;
|
|
597
|
+
milestoneCount: number;
|
|
598
|
+
reactionCounts: {
|
|
599
|
+
[x: string]: number;
|
|
600
|
+
};
|
|
601
|
+
lastThreeUsers: {
|
|
602
|
+
id: string;
|
|
603
|
+
name: string | null | undefined;
|
|
604
|
+
username: string | null | undefined;
|
|
605
|
+
avatar: string | null | undefined;
|
|
606
|
+
}[];
|
|
607
|
+
};
|
|
608
|
+
id: string;
|
|
609
|
+
userId: string;
|
|
610
|
+
isRead: boolean;
|
|
611
|
+
createdAt: string;
|
|
612
|
+
} | {
|
|
613
|
+
type: "comment-reaction-milestone-specific";
|
|
614
|
+
action: "open-comment";
|
|
615
|
+
metadata: {
|
|
616
|
+
entityId: string;
|
|
617
|
+
entityShortId: string;
|
|
618
|
+
entityTitle: string | null | undefined;
|
|
619
|
+
entityContent: string | null | undefined;
|
|
620
|
+
commentId: string;
|
|
621
|
+
commentContent: string | null | undefined;
|
|
622
|
+
reactionType: string;
|
|
623
|
+
milestoneCount: number;
|
|
624
|
+
lastThreeUsers: {
|
|
625
|
+
id: string;
|
|
626
|
+
name: string | null | undefined;
|
|
627
|
+
username: string | null | undefined;
|
|
628
|
+
avatar: string | null | undefined;
|
|
629
|
+
}[];
|
|
630
|
+
};
|
|
631
|
+
id: string;
|
|
632
|
+
userId: string;
|
|
633
|
+
isRead: boolean;
|
|
634
|
+
createdAt: string;
|
|
635
|
+
} | {
|
|
636
|
+
type: "comment-reaction-milestone-total";
|
|
637
|
+
action: "open-comment";
|
|
638
|
+
metadata: {
|
|
639
|
+
entityId: string;
|
|
640
|
+
entityShortId: string;
|
|
641
|
+
entityTitle: string | null | undefined;
|
|
642
|
+
entityContent: string | null | undefined;
|
|
643
|
+
commentId: string;
|
|
644
|
+
commentContent: string | null | undefined;
|
|
645
|
+
milestoneCount: number;
|
|
646
|
+
reactionCounts: {
|
|
647
|
+
[x: string]: number;
|
|
648
|
+
};
|
|
649
|
+
lastThreeUsers: {
|
|
650
|
+
id: string;
|
|
651
|
+
name: string | null | undefined;
|
|
652
|
+
username: string | null | undefined;
|
|
653
|
+
avatar: string | null | undefined;
|
|
654
|
+
}[];
|
|
655
|
+
};
|
|
656
|
+
id: string;
|
|
657
|
+
userId: string;
|
|
658
|
+
isRead: boolean;
|
|
659
|
+
createdAt: string;
|
|
357
660
|
} | {
|
|
358
661
|
type: "new-follow";
|
|
359
662
|
action: "open-profile";
|
|
@@ -395,6 +698,20 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
395
698
|
userId: string;
|
|
396
699
|
isRead: boolean;
|
|
397
700
|
createdAt: string;
|
|
701
|
+
} | {
|
|
702
|
+
type: "space-membership-approved";
|
|
703
|
+
action: "open-space";
|
|
704
|
+
metadata: {
|
|
705
|
+
spaceId: string;
|
|
706
|
+
spaceName: string;
|
|
707
|
+
spaceShortId: string;
|
|
708
|
+
spaceSlug: string | null | undefined;
|
|
709
|
+
spaceAvatar: string | null | undefined;
|
|
710
|
+
};
|
|
711
|
+
id: string;
|
|
712
|
+
userId: string;
|
|
713
|
+
isRead: boolean;
|
|
714
|
+
createdAt: string;
|
|
398
715
|
})[];
|
|
399
716
|
unreadCount: number;
|
|
400
717
|
loading: boolean;
|
|
@@ -403,40 +720,68 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
403
720
|
limit: number;
|
|
404
721
|
notificationTemplates?: {
|
|
405
722
|
entityComment?: {
|
|
406
|
-
title?:
|
|
407
|
-
content?:
|
|
723
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
724
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
408
725
|
} | undefined;
|
|
409
726
|
commentReply?: {
|
|
410
|
-
title?:
|
|
411
|
-
content?:
|
|
727
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
728
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
412
729
|
} | undefined;
|
|
413
730
|
entityMention?: {
|
|
414
|
-
title?:
|
|
415
|
-
content?:
|
|
731
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
732
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
416
733
|
} | undefined;
|
|
417
734
|
commentMention?: {
|
|
418
|
-
title?:
|
|
419
|
-
content?:
|
|
735
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
736
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
420
737
|
} | undefined;
|
|
421
738
|
entityUpvote?: {
|
|
422
|
-
title?:
|
|
423
|
-
content?:
|
|
739
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
740
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
424
741
|
} | undefined;
|
|
425
742
|
commentUpvote?: {
|
|
426
|
-
title?:
|
|
427
|
-
content?:
|
|
743
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
744
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
745
|
+
} | undefined;
|
|
746
|
+
entityReaction?: {
|
|
747
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
748
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
749
|
+
} | undefined;
|
|
750
|
+
commentReaction?: {
|
|
751
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
752
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
753
|
+
} | undefined;
|
|
754
|
+
entityReactionMilestoneSpecific?: {
|
|
755
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
756
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
757
|
+
} | undefined;
|
|
758
|
+
entityReactionMilestoneTotal?: {
|
|
759
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
760
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
761
|
+
} | undefined;
|
|
762
|
+
commentReactionMilestoneSpecific?: {
|
|
763
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
764
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
765
|
+
} | undefined;
|
|
766
|
+
commentReactionMilestoneTotal?: {
|
|
767
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
768
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
428
769
|
} | undefined;
|
|
429
770
|
newFollow?: {
|
|
430
|
-
title?:
|
|
431
|
-
content?:
|
|
771
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
772
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
432
773
|
} | undefined;
|
|
433
774
|
connectionRequest?: {
|
|
434
|
-
title?:
|
|
435
|
-
content?:
|
|
775
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
776
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
436
777
|
} | undefined;
|
|
437
778
|
connectionAccepted?: {
|
|
438
|
-
title?:
|
|
439
|
-
content?:
|
|
779
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
780
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
781
|
+
} | undefined;
|
|
782
|
+
spaceMembershipApproved?: {
|
|
783
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
784
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
440
785
|
} | undefined;
|
|
441
786
|
} | undefined;
|
|
442
787
|
currentProjectId?: string | undefined;
|
|
@@ -570,9 +915,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
570
915
|
isRead: boolean;
|
|
571
916
|
createdAt: string;
|
|
572
917
|
} | {
|
|
573
|
-
type: "
|
|
574
|
-
action: "open-
|
|
918
|
+
type: "entity-reaction";
|
|
919
|
+
action: "open-entity";
|
|
575
920
|
metadata: {
|
|
921
|
+
entityId: string;
|
|
922
|
+
entityShortId: string;
|
|
923
|
+
entityTitle: string | null | undefined;
|
|
924
|
+
entityContent: string | null | undefined;
|
|
925
|
+
reactionType: string;
|
|
576
926
|
initiatorId: string;
|
|
577
927
|
initiatorName: string | null | undefined;
|
|
578
928
|
initiatorUsername: string | null | undefined;
|
|
@@ -583,10 +933,16 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
583
933
|
isRead: boolean;
|
|
584
934
|
createdAt: string;
|
|
585
935
|
} | {
|
|
586
|
-
type: "
|
|
587
|
-
action: "open-
|
|
936
|
+
type: "comment-reaction";
|
|
937
|
+
action: "open-comment";
|
|
588
938
|
metadata: {
|
|
589
|
-
|
|
939
|
+
entityId: string;
|
|
940
|
+
entityShortId: string;
|
|
941
|
+
entityTitle: string | null | undefined;
|
|
942
|
+
entityContent: string | null | undefined;
|
|
943
|
+
commentId: string;
|
|
944
|
+
commentContent: string | null | undefined;
|
|
945
|
+
reactionType: string;
|
|
590
946
|
initiatorId: string;
|
|
591
947
|
initiatorName: string | null | undefined;
|
|
592
948
|
initiatorUsername: string | null | undefined;
|
|
@@ -597,8 +953,127 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
597
953
|
isRead: boolean;
|
|
598
954
|
createdAt: string;
|
|
599
955
|
} | {
|
|
600
|
-
type: "
|
|
601
|
-
action: "open-
|
|
956
|
+
type: "entity-reaction-milestone-specific";
|
|
957
|
+
action: "open-entity";
|
|
958
|
+
metadata: {
|
|
959
|
+
entityId: string;
|
|
960
|
+
entityShortId: string;
|
|
961
|
+
entityTitle: string | null | undefined;
|
|
962
|
+
entityContent: string | null | undefined;
|
|
963
|
+
reactionType: string;
|
|
964
|
+
milestoneCount: number;
|
|
965
|
+
lastThreeUsers: {
|
|
966
|
+
id: string;
|
|
967
|
+
name: string | null | undefined;
|
|
968
|
+
username: string | null | undefined;
|
|
969
|
+
avatar: string | null | undefined;
|
|
970
|
+
}[];
|
|
971
|
+
};
|
|
972
|
+
id: string;
|
|
973
|
+
userId: string;
|
|
974
|
+
isRead: boolean;
|
|
975
|
+
createdAt: string;
|
|
976
|
+
} | {
|
|
977
|
+
type: "entity-reaction-milestone-total";
|
|
978
|
+
action: "open-entity";
|
|
979
|
+
metadata: {
|
|
980
|
+
entityId: string;
|
|
981
|
+
entityShortId: string;
|
|
982
|
+
entityTitle: string | null | undefined;
|
|
983
|
+
entityContent: string | null | undefined;
|
|
984
|
+
milestoneCount: number;
|
|
985
|
+
reactionCounts: {
|
|
986
|
+
[x: string]: number;
|
|
987
|
+
};
|
|
988
|
+
lastThreeUsers: {
|
|
989
|
+
id: string;
|
|
990
|
+
name: string | null | undefined;
|
|
991
|
+
username: string | null | undefined;
|
|
992
|
+
avatar: string | null | undefined;
|
|
993
|
+
}[];
|
|
994
|
+
};
|
|
995
|
+
id: string;
|
|
996
|
+
userId: string;
|
|
997
|
+
isRead: boolean;
|
|
998
|
+
createdAt: string;
|
|
999
|
+
} | {
|
|
1000
|
+
type: "comment-reaction-milestone-specific";
|
|
1001
|
+
action: "open-comment";
|
|
1002
|
+
metadata: {
|
|
1003
|
+
entityId: string;
|
|
1004
|
+
entityShortId: string;
|
|
1005
|
+
entityTitle: string | null | undefined;
|
|
1006
|
+
entityContent: string | null | undefined;
|
|
1007
|
+
commentId: string;
|
|
1008
|
+
commentContent: string | null | undefined;
|
|
1009
|
+
reactionType: string;
|
|
1010
|
+
milestoneCount: number;
|
|
1011
|
+
lastThreeUsers: {
|
|
1012
|
+
id: string;
|
|
1013
|
+
name: string | null | undefined;
|
|
1014
|
+
username: string | null | undefined;
|
|
1015
|
+
avatar: string | null | undefined;
|
|
1016
|
+
}[];
|
|
1017
|
+
};
|
|
1018
|
+
id: string;
|
|
1019
|
+
userId: string;
|
|
1020
|
+
isRead: boolean;
|
|
1021
|
+
createdAt: string;
|
|
1022
|
+
} | {
|
|
1023
|
+
type: "comment-reaction-milestone-total";
|
|
1024
|
+
action: "open-comment";
|
|
1025
|
+
metadata: {
|
|
1026
|
+
entityId: string;
|
|
1027
|
+
entityShortId: string;
|
|
1028
|
+
entityTitle: string | null | undefined;
|
|
1029
|
+
entityContent: string | null | undefined;
|
|
1030
|
+
commentId: string;
|
|
1031
|
+
commentContent: string | null | undefined;
|
|
1032
|
+
milestoneCount: number;
|
|
1033
|
+
reactionCounts: {
|
|
1034
|
+
[x: string]: number;
|
|
1035
|
+
};
|
|
1036
|
+
lastThreeUsers: {
|
|
1037
|
+
id: string;
|
|
1038
|
+
name: string | null | undefined;
|
|
1039
|
+
username: string | null | undefined;
|
|
1040
|
+
avatar: string | null | undefined;
|
|
1041
|
+
}[];
|
|
1042
|
+
};
|
|
1043
|
+
id: string;
|
|
1044
|
+
userId: string;
|
|
1045
|
+
isRead: boolean;
|
|
1046
|
+
createdAt: string;
|
|
1047
|
+
} | {
|
|
1048
|
+
type: "new-follow";
|
|
1049
|
+
action: "open-profile";
|
|
1050
|
+
metadata: {
|
|
1051
|
+
initiatorId: string;
|
|
1052
|
+
initiatorName: string | null | undefined;
|
|
1053
|
+
initiatorUsername: string | null | undefined;
|
|
1054
|
+
initiatorAvatar: string | null | undefined;
|
|
1055
|
+
};
|
|
1056
|
+
id: string;
|
|
1057
|
+
userId: string;
|
|
1058
|
+
isRead: boolean;
|
|
1059
|
+
createdAt: string;
|
|
1060
|
+
} | {
|
|
1061
|
+
type: "connection-request";
|
|
1062
|
+
action: "open-profile";
|
|
1063
|
+
metadata: {
|
|
1064
|
+
connectionId: string;
|
|
1065
|
+
initiatorId: string;
|
|
1066
|
+
initiatorName: string | null | undefined;
|
|
1067
|
+
initiatorUsername: string | null | undefined;
|
|
1068
|
+
initiatorAvatar: string | null | undefined;
|
|
1069
|
+
};
|
|
1070
|
+
id: string;
|
|
1071
|
+
userId: string;
|
|
1072
|
+
isRead: boolean;
|
|
1073
|
+
createdAt: string;
|
|
1074
|
+
} | {
|
|
1075
|
+
type: "connection-accepted";
|
|
1076
|
+
action: "open-profile";
|
|
602
1077
|
metadata: {
|
|
603
1078
|
connectionId: string;
|
|
604
1079
|
initiatorId: string;
|
|
@@ -610,6 +1085,20 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
610
1085
|
userId: string;
|
|
611
1086
|
isRead: boolean;
|
|
612
1087
|
createdAt: string;
|
|
1088
|
+
} | {
|
|
1089
|
+
type: "space-membership-approved";
|
|
1090
|
+
action: "open-space";
|
|
1091
|
+
metadata: {
|
|
1092
|
+
spaceId: string;
|
|
1093
|
+
spaceName: string;
|
|
1094
|
+
spaceShortId: string;
|
|
1095
|
+
spaceSlug: string | null | undefined;
|
|
1096
|
+
spaceAvatar: string | null | undefined;
|
|
1097
|
+
};
|
|
1098
|
+
id: string;
|
|
1099
|
+
userId: string;
|
|
1100
|
+
isRead: boolean;
|
|
1101
|
+
createdAt: string;
|
|
613
1102
|
})[];
|
|
614
1103
|
unreadCount: number;
|
|
615
1104
|
loading: boolean;
|
|
@@ -618,40 +1107,68 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
618
1107
|
limit: number;
|
|
619
1108
|
notificationTemplates?: {
|
|
620
1109
|
entityComment?: {
|
|
621
|
-
title?:
|
|
622
|
-
content?:
|
|
1110
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
1111
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
623
1112
|
} | undefined;
|
|
624
1113
|
commentReply?: {
|
|
625
|
-
title?:
|
|
626
|
-
content?:
|
|
1114
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
1115
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
627
1116
|
} | undefined;
|
|
628
1117
|
entityMention?: {
|
|
629
|
-
title?:
|
|
630
|
-
content?:
|
|
1118
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
1119
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
631
1120
|
} | undefined;
|
|
632
1121
|
commentMention?: {
|
|
633
|
-
title?:
|
|
634
|
-
content?:
|
|
1122
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
1123
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
635
1124
|
} | undefined;
|
|
636
1125
|
entityUpvote?: {
|
|
637
|
-
title?:
|
|
638
|
-
content?:
|
|
1126
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
1127
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
639
1128
|
} | undefined;
|
|
640
1129
|
commentUpvote?: {
|
|
641
|
-
title?:
|
|
642
|
-
content?:
|
|
1130
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
1131
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
1132
|
+
} | undefined;
|
|
1133
|
+
entityReaction?: {
|
|
1134
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
1135
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
1136
|
+
} | undefined;
|
|
1137
|
+
commentReaction?: {
|
|
1138
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
1139
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
1140
|
+
} | undefined;
|
|
1141
|
+
entityReactionMilestoneSpecific?: {
|
|
1142
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1143
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1144
|
+
} | undefined;
|
|
1145
|
+
entityReactionMilestoneTotal?: {
|
|
1146
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
1147
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
1148
|
+
} | undefined;
|
|
1149
|
+
commentReactionMilestoneSpecific?: {
|
|
1150
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1151
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1152
|
+
} | undefined;
|
|
1153
|
+
commentReactionMilestoneTotal?: {
|
|
1154
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
1155
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
643
1156
|
} | undefined;
|
|
644
1157
|
newFollow?: {
|
|
645
|
-
title?:
|
|
646
|
-
content?:
|
|
1158
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
1159
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
647
1160
|
} | undefined;
|
|
648
1161
|
connectionRequest?: {
|
|
649
|
-
title?:
|
|
650
|
-
content?:
|
|
1162
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
1163
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
651
1164
|
} | undefined;
|
|
652
1165
|
connectionAccepted?: {
|
|
653
|
-
title?:
|
|
654
|
-
content?:
|
|
1166
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
1167
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
1168
|
+
} | undefined;
|
|
1169
|
+
spaceMembershipApproved?: {
|
|
1170
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
1171
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
655
1172
|
} | undefined;
|
|
656
1173
|
} | undefined;
|
|
657
1174
|
currentProjectId?: string | undefined;
|
|
@@ -784,6 +1301,136 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
784
1301
|
userId: string;
|
|
785
1302
|
isRead: boolean;
|
|
786
1303
|
createdAt: string;
|
|
1304
|
+
} | {
|
|
1305
|
+
type: "entity-reaction";
|
|
1306
|
+
action: "open-entity";
|
|
1307
|
+
metadata: {
|
|
1308
|
+
entityId: string;
|
|
1309
|
+
entityShortId: string;
|
|
1310
|
+
entityTitle: string | null | undefined;
|
|
1311
|
+
entityContent: string | null | undefined;
|
|
1312
|
+
reactionType: string;
|
|
1313
|
+
initiatorId: string;
|
|
1314
|
+
initiatorName: string | null | undefined;
|
|
1315
|
+
initiatorUsername: string | null | undefined;
|
|
1316
|
+
initiatorAvatar: string | null | undefined;
|
|
1317
|
+
};
|
|
1318
|
+
id: string;
|
|
1319
|
+
userId: string;
|
|
1320
|
+
isRead: boolean;
|
|
1321
|
+
createdAt: string;
|
|
1322
|
+
} | {
|
|
1323
|
+
type: "comment-reaction";
|
|
1324
|
+
action: "open-comment";
|
|
1325
|
+
metadata: {
|
|
1326
|
+
entityId: string;
|
|
1327
|
+
entityShortId: string;
|
|
1328
|
+
entityTitle: string | null | undefined;
|
|
1329
|
+
entityContent: string | null | undefined;
|
|
1330
|
+
commentId: string;
|
|
1331
|
+
commentContent: string | null | undefined;
|
|
1332
|
+
reactionType: string;
|
|
1333
|
+
initiatorId: string;
|
|
1334
|
+
initiatorName: string | null | undefined;
|
|
1335
|
+
initiatorUsername: string | null | undefined;
|
|
1336
|
+
initiatorAvatar: string | null | undefined;
|
|
1337
|
+
};
|
|
1338
|
+
id: string;
|
|
1339
|
+
userId: string;
|
|
1340
|
+
isRead: boolean;
|
|
1341
|
+
createdAt: string;
|
|
1342
|
+
} | {
|
|
1343
|
+
type: "entity-reaction-milestone-specific";
|
|
1344
|
+
action: "open-entity";
|
|
1345
|
+
metadata: {
|
|
1346
|
+
entityId: string;
|
|
1347
|
+
entityShortId: string;
|
|
1348
|
+
entityTitle: string | null | undefined;
|
|
1349
|
+
entityContent: string | null | undefined;
|
|
1350
|
+
reactionType: string;
|
|
1351
|
+
milestoneCount: number;
|
|
1352
|
+
lastThreeUsers: {
|
|
1353
|
+
id: string;
|
|
1354
|
+
name: string | null | undefined;
|
|
1355
|
+
username: string | null | undefined;
|
|
1356
|
+
avatar: string | null | undefined;
|
|
1357
|
+
}[];
|
|
1358
|
+
};
|
|
1359
|
+
id: string;
|
|
1360
|
+
userId: string;
|
|
1361
|
+
isRead: boolean;
|
|
1362
|
+
createdAt: string;
|
|
1363
|
+
} | {
|
|
1364
|
+
type: "entity-reaction-milestone-total";
|
|
1365
|
+
action: "open-entity";
|
|
1366
|
+
metadata: {
|
|
1367
|
+
entityId: string;
|
|
1368
|
+
entityShortId: string;
|
|
1369
|
+
entityTitle: string | null | undefined;
|
|
1370
|
+
entityContent: string | null | undefined;
|
|
1371
|
+
milestoneCount: number;
|
|
1372
|
+
reactionCounts: {
|
|
1373
|
+
[x: string]: number;
|
|
1374
|
+
};
|
|
1375
|
+
lastThreeUsers: {
|
|
1376
|
+
id: string;
|
|
1377
|
+
name: string | null | undefined;
|
|
1378
|
+
username: string | null | undefined;
|
|
1379
|
+
avatar: string | null | undefined;
|
|
1380
|
+
}[];
|
|
1381
|
+
};
|
|
1382
|
+
id: string;
|
|
1383
|
+
userId: string;
|
|
1384
|
+
isRead: boolean;
|
|
1385
|
+
createdAt: string;
|
|
1386
|
+
} | {
|
|
1387
|
+
type: "comment-reaction-milestone-specific";
|
|
1388
|
+
action: "open-comment";
|
|
1389
|
+
metadata: {
|
|
1390
|
+
entityId: string;
|
|
1391
|
+
entityShortId: string;
|
|
1392
|
+
entityTitle: string | null | undefined;
|
|
1393
|
+
entityContent: string | null | undefined;
|
|
1394
|
+
commentId: string;
|
|
1395
|
+
commentContent: string | null | undefined;
|
|
1396
|
+
reactionType: string;
|
|
1397
|
+
milestoneCount: number;
|
|
1398
|
+
lastThreeUsers: {
|
|
1399
|
+
id: string;
|
|
1400
|
+
name: string | null | undefined;
|
|
1401
|
+
username: string | null | undefined;
|
|
1402
|
+
avatar: string | null | undefined;
|
|
1403
|
+
}[];
|
|
1404
|
+
};
|
|
1405
|
+
id: string;
|
|
1406
|
+
userId: string;
|
|
1407
|
+
isRead: boolean;
|
|
1408
|
+
createdAt: string;
|
|
1409
|
+
} | {
|
|
1410
|
+
type: "comment-reaction-milestone-total";
|
|
1411
|
+
action: "open-comment";
|
|
1412
|
+
metadata: {
|
|
1413
|
+
entityId: string;
|
|
1414
|
+
entityShortId: string;
|
|
1415
|
+
entityTitle: string | null | undefined;
|
|
1416
|
+
entityContent: string | null | undefined;
|
|
1417
|
+
commentId: string;
|
|
1418
|
+
commentContent: string | null | undefined;
|
|
1419
|
+
milestoneCount: number;
|
|
1420
|
+
reactionCounts: {
|
|
1421
|
+
[x: string]: number;
|
|
1422
|
+
};
|
|
1423
|
+
lastThreeUsers: {
|
|
1424
|
+
id: string;
|
|
1425
|
+
name: string | null | undefined;
|
|
1426
|
+
username: string | null | undefined;
|
|
1427
|
+
avatar: string | null | undefined;
|
|
1428
|
+
}[];
|
|
1429
|
+
};
|
|
1430
|
+
id: string;
|
|
1431
|
+
userId: string;
|
|
1432
|
+
isRead: boolean;
|
|
1433
|
+
createdAt: string;
|
|
787
1434
|
} | {
|
|
788
1435
|
type: "new-follow";
|
|
789
1436
|
action: "open-profile";
|
|
@@ -825,6 +1472,20 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
825
1472
|
userId: string;
|
|
826
1473
|
isRead: boolean;
|
|
827
1474
|
createdAt: string;
|
|
1475
|
+
} | {
|
|
1476
|
+
type: "space-membership-approved";
|
|
1477
|
+
action: "open-space";
|
|
1478
|
+
metadata: {
|
|
1479
|
+
spaceId: string;
|
|
1480
|
+
spaceName: string;
|
|
1481
|
+
spaceShortId: string;
|
|
1482
|
+
spaceSlug: string | null | undefined;
|
|
1483
|
+
spaceAvatar: string | null | undefined;
|
|
1484
|
+
};
|
|
1485
|
+
id: string;
|
|
1486
|
+
userId: string;
|
|
1487
|
+
isRead: boolean;
|
|
1488
|
+
createdAt: string;
|
|
828
1489
|
})[];
|
|
829
1490
|
unreadCount: number;
|
|
830
1491
|
loading: boolean;
|
|
@@ -833,40 +1494,68 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
833
1494
|
limit: number;
|
|
834
1495
|
notificationTemplates?: {
|
|
835
1496
|
entityComment?: {
|
|
836
|
-
title?:
|
|
837
|
-
content?:
|
|
1497
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
1498
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
838
1499
|
} | undefined;
|
|
839
1500
|
commentReply?: {
|
|
840
|
-
title?:
|
|
841
|
-
content?:
|
|
1501
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
1502
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
842
1503
|
} | undefined;
|
|
843
1504
|
entityMention?: {
|
|
844
|
-
title?:
|
|
845
|
-
content?:
|
|
1505
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
1506
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
846
1507
|
} | undefined;
|
|
847
1508
|
commentMention?: {
|
|
848
|
-
title?:
|
|
849
|
-
content?:
|
|
1509
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
1510
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
850
1511
|
} | undefined;
|
|
851
1512
|
entityUpvote?: {
|
|
852
|
-
title?:
|
|
853
|
-
content?:
|
|
1513
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
1514
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
854
1515
|
} | undefined;
|
|
855
1516
|
commentUpvote?: {
|
|
856
|
-
title?:
|
|
857
|
-
content?:
|
|
1517
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
1518
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
1519
|
+
} | undefined;
|
|
1520
|
+
entityReaction?: {
|
|
1521
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
1522
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
1523
|
+
} | undefined;
|
|
1524
|
+
commentReaction?: {
|
|
1525
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
1526
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
1527
|
+
} | undefined;
|
|
1528
|
+
entityReactionMilestoneSpecific?: {
|
|
1529
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1530
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1531
|
+
} | undefined;
|
|
1532
|
+
entityReactionMilestoneTotal?: {
|
|
1533
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
1534
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
1535
|
+
} | undefined;
|
|
1536
|
+
commentReactionMilestoneSpecific?: {
|
|
1537
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1538
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1539
|
+
} | undefined;
|
|
1540
|
+
commentReactionMilestoneTotal?: {
|
|
1541
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
1542
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
858
1543
|
} | undefined;
|
|
859
1544
|
newFollow?: {
|
|
860
|
-
title?:
|
|
861
|
-
content?:
|
|
1545
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
1546
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
862
1547
|
} | undefined;
|
|
863
1548
|
connectionRequest?: {
|
|
864
|
-
title?:
|
|
865
|
-
content?:
|
|
1549
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
1550
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
866
1551
|
} | undefined;
|
|
867
1552
|
connectionAccepted?: {
|
|
868
|
-
title?:
|
|
869
|
-
content?:
|
|
1553
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
1554
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
1555
|
+
} | undefined;
|
|
1556
|
+
spaceMembershipApproved?: {
|
|
1557
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
1558
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
870
1559
|
} | undefined;
|
|
871
1560
|
} | undefined;
|
|
872
1561
|
currentProjectId?: string | undefined;
|
|
@@ -1000,9 +1689,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1000
1689
|
isRead: boolean;
|
|
1001
1690
|
createdAt: string;
|
|
1002
1691
|
} | {
|
|
1003
|
-
type: "
|
|
1004
|
-
action: "open-
|
|
1692
|
+
type: "entity-reaction";
|
|
1693
|
+
action: "open-entity";
|
|
1005
1694
|
metadata: {
|
|
1695
|
+
entityId: string;
|
|
1696
|
+
entityShortId: string;
|
|
1697
|
+
entityTitle: string | null | undefined;
|
|
1698
|
+
entityContent: string | null | undefined;
|
|
1699
|
+
reactionType: string;
|
|
1006
1700
|
initiatorId: string;
|
|
1007
1701
|
initiatorName: string | null | undefined;
|
|
1008
1702
|
initiatorUsername: string | null | undefined;
|
|
@@ -1013,10 +1707,16 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1013
1707
|
isRead: boolean;
|
|
1014
1708
|
createdAt: string;
|
|
1015
1709
|
} | {
|
|
1016
|
-
type: "
|
|
1017
|
-
action: "open-
|
|
1710
|
+
type: "comment-reaction";
|
|
1711
|
+
action: "open-comment";
|
|
1018
1712
|
metadata: {
|
|
1019
|
-
|
|
1713
|
+
entityId: string;
|
|
1714
|
+
entityShortId: string;
|
|
1715
|
+
entityTitle: string | null | undefined;
|
|
1716
|
+
entityContent: string | null | undefined;
|
|
1717
|
+
commentId: string;
|
|
1718
|
+
commentContent: string | null | undefined;
|
|
1719
|
+
reactionType: string;
|
|
1020
1720
|
initiatorId: string;
|
|
1021
1721
|
initiatorName: string | null | undefined;
|
|
1022
1722
|
initiatorUsername: string | null | undefined;
|
|
@@ -1027,15 +1727,148 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1027
1727
|
isRead: boolean;
|
|
1028
1728
|
createdAt: string;
|
|
1029
1729
|
} | {
|
|
1030
|
-
type: "
|
|
1031
|
-
action: "open-
|
|
1730
|
+
type: "entity-reaction-milestone-specific";
|
|
1731
|
+
action: "open-entity";
|
|
1032
1732
|
metadata: {
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1733
|
+
entityId: string;
|
|
1734
|
+
entityShortId: string;
|
|
1735
|
+
entityTitle: string | null | undefined;
|
|
1736
|
+
entityContent: string | null | undefined;
|
|
1737
|
+
reactionType: string;
|
|
1738
|
+
milestoneCount: number;
|
|
1739
|
+
lastThreeUsers: {
|
|
1740
|
+
id: string;
|
|
1741
|
+
name: string | null | undefined;
|
|
1742
|
+
username: string | null | undefined;
|
|
1743
|
+
avatar: string | null | undefined;
|
|
1744
|
+
}[];
|
|
1745
|
+
};
|
|
1746
|
+
id: string;
|
|
1747
|
+
userId: string;
|
|
1748
|
+
isRead: boolean;
|
|
1749
|
+
createdAt: string;
|
|
1750
|
+
} | {
|
|
1751
|
+
type: "entity-reaction-milestone-total";
|
|
1752
|
+
action: "open-entity";
|
|
1753
|
+
metadata: {
|
|
1754
|
+
entityId: string;
|
|
1755
|
+
entityShortId: string;
|
|
1756
|
+
entityTitle: string | null | undefined;
|
|
1757
|
+
entityContent: string | null | undefined;
|
|
1758
|
+
milestoneCount: number;
|
|
1759
|
+
reactionCounts: {
|
|
1760
|
+
[x: string]: number;
|
|
1761
|
+
};
|
|
1762
|
+
lastThreeUsers: {
|
|
1763
|
+
id: string;
|
|
1764
|
+
name: string | null | undefined;
|
|
1765
|
+
username: string | null | undefined;
|
|
1766
|
+
avatar: string | null | undefined;
|
|
1767
|
+
}[];
|
|
1768
|
+
};
|
|
1769
|
+
id: string;
|
|
1770
|
+
userId: string;
|
|
1771
|
+
isRead: boolean;
|
|
1772
|
+
createdAt: string;
|
|
1773
|
+
} | {
|
|
1774
|
+
type: "comment-reaction-milestone-specific";
|
|
1775
|
+
action: "open-comment";
|
|
1776
|
+
metadata: {
|
|
1777
|
+
entityId: string;
|
|
1778
|
+
entityShortId: string;
|
|
1779
|
+
entityTitle: string | null | undefined;
|
|
1780
|
+
entityContent: string | null | undefined;
|
|
1781
|
+
commentId: string;
|
|
1782
|
+
commentContent: string | null | undefined;
|
|
1783
|
+
reactionType: string;
|
|
1784
|
+
milestoneCount: number;
|
|
1785
|
+
lastThreeUsers: {
|
|
1786
|
+
id: string;
|
|
1787
|
+
name: string | null | undefined;
|
|
1788
|
+
username: string | null | undefined;
|
|
1789
|
+
avatar: string | null | undefined;
|
|
1790
|
+
}[];
|
|
1791
|
+
};
|
|
1792
|
+
id: string;
|
|
1793
|
+
userId: string;
|
|
1794
|
+
isRead: boolean;
|
|
1795
|
+
createdAt: string;
|
|
1796
|
+
} | {
|
|
1797
|
+
type: "comment-reaction-milestone-total";
|
|
1798
|
+
action: "open-comment";
|
|
1799
|
+
metadata: {
|
|
1800
|
+
entityId: string;
|
|
1801
|
+
entityShortId: string;
|
|
1802
|
+
entityTitle: string | null | undefined;
|
|
1803
|
+
entityContent: string | null | undefined;
|
|
1804
|
+
commentId: string;
|
|
1805
|
+
commentContent: string | null | undefined;
|
|
1806
|
+
milestoneCount: number;
|
|
1807
|
+
reactionCounts: {
|
|
1808
|
+
[x: string]: number;
|
|
1809
|
+
};
|
|
1810
|
+
lastThreeUsers: {
|
|
1811
|
+
id: string;
|
|
1812
|
+
name: string | null | undefined;
|
|
1813
|
+
username: string | null | undefined;
|
|
1814
|
+
avatar: string | null | undefined;
|
|
1815
|
+
}[];
|
|
1816
|
+
};
|
|
1817
|
+
id: string;
|
|
1818
|
+
userId: string;
|
|
1819
|
+
isRead: boolean;
|
|
1820
|
+
createdAt: string;
|
|
1821
|
+
} | {
|
|
1822
|
+
type: "new-follow";
|
|
1823
|
+
action: "open-profile";
|
|
1824
|
+
metadata: {
|
|
1825
|
+
initiatorId: string;
|
|
1826
|
+
initiatorName: string | null | undefined;
|
|
1827
|
+
initiatorUsername: string | null | undefined;
|
|
1828
|
+
initiatorAvatar: string | null | undefined;
|
|
1829
|
+
};
|
|
1830
|
+
id: string;
|
|
1831
|
+
userId: string;
|
|
1832
|
+
isRead: boolean;
|
|
1833
|
+
createdAt: string;
|
|
1834
|
+
} | {
|
|
1835
|
+
type: "connection-request";
|
|
1836
|
+
action: "open-profile";
|
|
1837
|
+
metadata: {
|
|
1838
|
+
connectionId: string;
|
|
1839
|
+
initiatorId: string;
|
|
1840
|
+
initiatorName: string | null | undefined;
|
|
1841
|
+
initiatorUsername: string | null | undefined;
|
|
1842
|
+
initiatorAvatar: string | null | undefined;
|
|
1843
|
+
};
|
|
1844
|
+
id: string;
|
|
1845
|
+
userId: string;
|
|
1846
|
+
isRead: boolean;
|
|
1847
|
+
createdAt: string;
|
|
1848
|
+
} | {
|
|
1849
|
+
type: "connection-accepted";
|
|
1850
|
+
action: "open-profile";
|
|
1851
|
+
metadata: {
|
|
1852
|
+
connectionId: string;
|
|
1853
|
+
initiatorId: string;
|
|
1854
|
+
initiatorName: string | null | undefined;
|
|
1855
|
+
initiatorUsername: string | null | undefined;
|
|
1856
|
+
initiatorAvatar: string | null | undefined;
|
|
1857
|
+
};
|
|
1858
|
+
id: string;
|
|
1859
|
+
userId: string;
|
|
1860
|
+
isRead: boolean;
|
|
1861
|
+
createdAt: string;
|
|
1862
|
+
} | {
|
|
1863
|
+
type: "space-membership-approved";
|
|
1864
|
+
action: "open-space";
|
|
1865
|
+
metadata: {
|
|
1866
|
+
spaceId: string;
|
|
1867
|
+
spaceName: string;
|
|
1868
|
+
spaceShortId: string;
|
|
1869
|
+
spaceSlug: string | null | undefined;
|
|
1870
|
+
spaceAvatar: string | null | undefined;
|
|
1871
|
+
};
|
|
1039
1872
|
id: string;
|
|
1040
1873
|
userId: string;
|
|
1041
1874
|
isRead: boolean;
|
|
@@ -1048,40 +1881,68 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1048
1881
|
limit: number;
|
|
1049
1882
|
notificationTemplates?: {
|
|
1050
1883
|
entityComment?: {
|
|
1051
|
-
title?:
|
|
1052
|
-
content?:
|
|
1884
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
1885
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
1053
1886
|
} | undefined;
|
|
1054
1887
|
commentReply?: {
|
|
1055
|
-
title?:
|
|
1056
|
-
content?:
|
|
1888
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
1889
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
1057
1890
|
} | undefined;
|
|
1058
1891
|
entityMention?: {
|
|
1059
|
-
title?:
|
|
1060
|
-
content?:
|
|
1892
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
1893
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
1061
1894
|
} | undefined;
|
|
1062
1895
|
commentMention?: {
|
|
1063
|
-
title?:
|
|
1064
|
-
content?:
|
|
1896
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
1897
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
1065
1898
|
} | undefined;
|
|
1066
1899
|
entityUpvote?: {
|
|
1067
|
-
title?:
|
|
1068
|
-
content?:
|
|
1900
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
1901
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
1069
1902
|
} | undefined;
|
|
1070
1903
|
commentUpvote?: {
|
|
1071
|
-
title?:
|
|
1072
|
-
content?:
|
|
1904
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
1905
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
1906
|
+
} | undefined;
|
|
1907
|
+
entityReaction?: {
|
|
1908
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
1909
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
1910
|
+
} | undefined;
|
|
1911
|
+
commentReaction?: {
|
|
1912
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
1913
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
1914
|
+
} | undefined;
|
|
1915
|
+
entityReactionMilestoneSpecific?: {
|
|
1916
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1917
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1918
|
+
} | undefined;
|
|
1919
|
+
entityReactionMilestoneTotal?: {
|
|
1920
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
1921
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
1922
|
+
} | undefined;
|
|
1923
|
+
commentReactionMilestoneSpecific?: {
|
|
1924
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1925
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
1926
|
+
} | undefined;
|
|
1927
|
+
commentReactionMilestoneTotal?: {
|
|
1928
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
1929
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
1073
1930
|
} | undefined;
|
|
1074
1931
|
newFollow?: {
|
|
1075
|
-
title?:
|
|
1076
|
-
content?:
|
|
1932
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
1933
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
1077
1934
|
} | undefined;
|
|
1078
1935
|
connectionRequest?: {
|
|
1079
|
-
title?:
|
|
1080
|
-
content?:
|
|
1936
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
1937
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
1081
1938
|
} | undefined;
|
|
1082
1939
|
connectionAccepted?: {
|
|
1083
|
-
title?:
|
|
1084
|
-
content?:
|
|
1940
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
1941
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
1942
|
+
} | undefined;
|
|
1943
|
+
spaceMembershipApproved?: {
|
|
1944
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
1945
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
1085
1946
|
} | undefined;
|
|
1086
1947
|
} | undefined;
|
|
1087
1948
|
currentProjectId?: string | undefined;
|
|
@@ -1214,6 +2075,136 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1214
2075
|
userId: string;
|
|
1215
2076
|
isRead: boolean;
|
|
1216
2077
|
createdAt: string;
|
|
2078
|
+
} | {
|
|
2079
|
+
type: "entity-reaction";
|
|
2080
|
+
action: "open-entity";
|
|
2081
|
+
metadata: {
|
|
2082
|
+
entityId: string;
|
|
2083
|
+
entityShortId: string;
|
|
2084
|
+
entityTitle: string | null | undefined;
|
|
2085
|
+
entityContent: string | null | undefined;
|
|
2086
|
+
reactionType: string;
|
|
2087
|
+
initiatorId: string;
|
|
2088
|
+
initiatorName: string | null | undefined;
|
|
2089
|
+
initiatorUsername: string | null | undefined;
|
|
2090
|
+
initiatorAvatar: string | null | undefined;
|
|
2091
|
+
};
|
|
2092
|
+
id: string;
|
|
2093
|
+
userId: string;
|
|
2094
|
+
isRead: boolean;
|
|
2095
|
+
createdAt: string;
|
|
2096
|
+
} | {
|
|
2097
|
+
type: "comment-reaction";
|
|
2098
|
+
action: "open-comment";
|
|
2099
|
+
metadata: {
|
|
2100
|
+
entityId: string;
|
|
2101
|
+
entityShortId: string;
|
|
2102
|
+
entityTitle: string | null | undefined;
|
|
2103
|
+
entityContent: string | null | undefined;
|
|
2104
|
+
commentId: string;
|
|
2105
|
+
commentContent: string | null | undefined;
|
|
2106
|
+
reactionType: string;
|
|
2107
|
+
initiatorId: string;
|
|
2108
|
+
initiatorName: string | null | undefined;
|
|
2109
|
+
initiatorUsername: string | null | undefined;
|
|
2110
|
+
initiatorAvatar: string | null | undefined;
|
|
2111
|
+
};
|
|
2112
|
+
id: string;
|
|
2113
|
+
userId: string;
|
|
2114
|
+
isRead: boolean;
|
|
2115
|
+
createdAt: string;
|
|
2116
|
+
} | {
|
|
2117
|
+
type: "entity-reaction-milestone-specific";
|
|
2118
|
+
action: "open-entity";
|
|
2119
|
+
metadata: {
|
|
2120
|
+
entityId: string;
|
|
2121
|
+
entityShortId: string;
|
|
2122
|
+
entityTitle: string | null | undefined;
|
|
2123
|
+
entityContent: string | null | undefined;
|
|
2124
|
+
reactionType: string;
|
|
2125
|
+
milestoneCount: number;
|
|
2126
|
+
lastThreeUsers: {
|
|
2127
|
+
id: string;
|
|
2128
|
+
name: string | null | undefined;
|
|
2129
|
+
username: string | null | undefined;
|
|
2130
|
+
avatar: string | null | undefined;
|
|
2131
|
+
}[];
|
|
2132
|
+
};
|
|
2133
|
+
id: string;
|
|
2134
|
+
userId: string;
|
|
2135
|
+
isRead: boolean;
|
|
2136
|
+
createdAt: string;
|
|
2137
|
+
} | {
|
|
2138
|
+
type: "entity-reaction-milestone-total";
|
|
2139
|
+
action: "open-entity";
|
|
2140
|
+
metadata: {
|
|
2141
|
+
entityId: string;
|
|
2142
|
+
entityShortId: string;
|
|
2143
|
+
entityTitle: string | null | undefined;
|
|
2144
|
+
entityContent: string | null | undefined;
|
|
2145
|
+
milestoneCount: number;
|
|
2146
|
+
reactionCounts: {
|
|
2147
|
+
[x: string]: number;
|
|
2148
|
+
};
|
|
2149
|
+
lastThreeUsers: {
|
|
2150
|
+
id: string;
|
|
2151
|
+
name: string | null | undefined;
|
|
2152
|
+
username: string | null | undefined;
|
|
2153
|
+
avatar: string | null | undefined;
|
|
2154
|
+
}[];
|
|
2155
|
+
};
|
|
2156
|
+
id: string;
|
|
2157
|
+
userId: string;
|
|
2158
|
+
isRead: boolean;
|
|
2159
|
+
createdAt: string;
|
|
2160
|
+
} | {
|
|
2161
|
+
type: "comment-reaction-milestone-specific";
|
|
2162
|
+
action: "open-comment";
|
|
2163
|
+
metadata: {
|
|
2164
|
+
entityId: string;
|
|
2165
|
+
entityShortId: string;
|
|
2166
|
+
entityTitle: string | null | undefined;
|
|
2167
|
+
entityContent: string | null | undefined;
|
|
2168
|
+
commentId: string;
|
|
2169
|
+
commentContent: string | null | undefined;
|
|
2170
|
+
reactionType: string;
|
|
2171
|
+
milestoneCount: number;
|
|
2172
|
+
lastThreeUsers: {
|
|
2173
|
+
id: string;
|
|
2174
|
+
name: string | null | undefined;
|
|
2175
|
+
username: string | null | undefined;
|
|
2176
|
+
avatar: string | null | undefined;
|
|
2177
|
+
}[];
|
|
2178
|
+
};
|
|
2179
|
+
id: string;
|
|
2180
|
+
userId: string;
|
|
2181
|
+
isRead: boolean;
|
|
2182
|
+
createdAt: string;
|
|
2183
|
+
} | {
|
|
2184
|
+
type: "comment-reaction-milestone-total";
|
|
2185
|
+
action: "open-comment";
|
|
2186
|
+
metadata: {
|
|
2187
|
+
entityId: string;
|
|
2188
|
+
entityShortId: string;
|
|
2189
|
+
entityTitle: string | null | undefined;
|
|
2190
|
+
entityContent: string | null | undefined;
|
|
2191
|
+
commentId: string;
|
|
2192
|
+
commentContent: string | null | undefined;
|
|
2193
|
+
milestoneCount: number;
|
|
2194
|
+
reactionCounts: {
|
|
2195
|
+
[x: string]: number;
|
|
2196
|
+
};
|
|
2197
|
+
lastThreeUsers: {
|
|
2198
|
+
id: string;
|
|
2199
|
+
name: string | null | undefined;
|
|
2200
|
+
username: string | null | undefined;
|
|
2201
|
+
avatar: string | null | undefined;
|
|
2202
|
+
}[];
|
|
2203
|
+
};
|
|
2204
|
+
id: string;
|
|
2205
|
+
userId: string;
|
|
2206
|
+
isRead: boolean;
|
|
2207
|
+
createdAt: string;
|
|
1217
2208
|
} | {
|
|
1218
2209
|
type: "new-follow";
|
|
1219
2210
|
action: "open-profile";
|
|
@@ -1255,6 +2246,20 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1255
2246
|
userId: string;
|
|
1256
2247
|
isRead: boolean;
|
|
1257
2248
|
createdAt: string;
|
|
2249
|
+
} | {
|
|
2250
|
+
type: "space-membership-approved";
|
|
2251
|
+
action: "open-space";
|
|
2252
|
+
metadata: {
|
|
2253
|
+
spaceId: string;
|
|
2254
|
+
spaceName: string;
|
|
2255
|
+
spaceShortId: string;
|
|
2256
|
+
spaceSlug: string | null | undefined;
|
|
2257
|
+
spaceAvatar: string | null | undefined;
|
|
2258
|
+
};
|
|
2259
|
+
id: string;
|
|
2260
|
+
userId: string;
|
|
2261
|
+
isRead: boolean;
|
|
2262
|
+
createdAt: string;
|
|
1258
2263
|
})[];
|
|
1259
2264
|
unreadCount: number;
|
|
1260
2265
|
loading: boolean;
|
|
@@ -1263,40 +2268,68 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1263
2268
|
limit: number;
|
|
1264
2269
|
notificationTemplates?: {
|
|
1265
2270
|
entityComment?: {
|
|
1266
|
-
title?:
|
|
1267
|
-
content?:
|
|
2271
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
2272
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
1268
2273
|
} | undefined;
|
|
1269
2274
|
commentReply?: {
|
|
1270
|
-
title?:
|
|
1271
|
-
content?:
|
|
2275
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
2276
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
1272
2277
|
} | undefined;
|
|
1273
2278
|
entityMention?: {
|
|
1274
|
-
title?:
|
|
1275
|
-
content?:
|
|
2279
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
2280
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
1276
2281
|
} | undefined;
|
|
1277
2282
|
commentMention?: {
|
|
1278
|
-
title?:
|
|
1279
|
-
content?:
|
|
2283
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
2284
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
1280
2285
|
} | undefined;
|
|
1281
2286
|
entityUpvote?: {
|
|
1282
|
-
title?:
|
|
1283
|
-
content?:
|
|
2287
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
2288
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
1284
2289
|
} | undefined;
|
|
1285
2290
|
commentUpvote?: {
|
|
1286
|
-
title?:
|
|
1287
|
-
content?:
|
|
2291
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
2292
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
2293
|
+
} | undefined;
|
|
2294
|
+
entityReaction?: {
|
|
2295
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
2296
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
2297
|
+
} | undefined;
|
|
2298
|
+
commentReaction?: {
|
|
2299
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
2300
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
2301
|
+
} | undefined;
|
|
2302
|
+
entityReactionMilestoneSpecific?: {
|
|
2303
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
2304
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
2305
|
+
} | undefined;
|
|
2306
|
+
entityReactionMilestoneTotal?: {
|
|
2307
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
2308
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
2309
|
+
} | undefined;
|
|
2310
|
+
commentReactionMilestoneSpecific?: {
|
|
2311
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
2312
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
2313
|
+
} | undefined;
|
|
2314
|
+
commentReactionMilestoneTotal?: {
|
|
2315
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
2316
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
1288
2317
|
} | undefined;
|
|
1289
2318
|
newFollow?: {
|
|
1290
|
-
title?:
|
|
1291
|
-
content?:
|
|
2319
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
2320
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
1292
2321
|
} | undefined;
|
|
1293
2322
|
connectionRequest?: {
|
|
1294
|
-
title?:
|
|
1295
|
-
content?:
|
|
2323
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
2324
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
1296
2325
|
} | undefined;
|
|
1297
2326
|
connectionAccepted?: {
|
|
1298
|
-
title?:
|
|
1299
|
-
content?:
|
|
2327
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
2328
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
2329
|
+
} | undefined;
|
|
2330
|
+
spaceMembershipApproved?: {
|
|
2331
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
2332
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
1300
2333
|
} | undefined;
|
|
1301
2334
|
} | undefined;
|
|
1302
2335
|
currentProjectId?: string | undefined;
|
|
@@ -1430,9 +2463,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1430
2463
|
isRead: boolean;
|
|
1431
2464
|
createdAt: string;
|
|
1432
2465
|
} | {
|
|
1433
|
-
type: "
|
|
1434
|
-
action: "open-
|
|
2466
|
+
type: "entity-reaction";
|
|
2467
|
+
action: "open-entity";
|
|
1435
2468
|
metadata: {
|
|
2469
|
+
entityId: string;
|
|
2470
|
+
entityShortId: string;
|
|
2471
|
+
entityTitle: string | null | undefined;
|
|
2472
|
+
entityContent: string | null | undefined;
|
|
2473
|
+
reactionType: string;
|
|
1436
2474
|
initiatorId: string;
|
|
1437
2475
|
initiatorName: string | null | undefined;
|
|
1438
2476
|
initiatorUsername: string | null | undefined;
|
|
@@ -1443,10 +2481,16 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1443
2481
|
isRead: boolean;
|
|
1444
2482
|
createdAt: string;
|
|
1445
2483
|
} | {
|
|
1446
|
-
type: "
|
|
1447
|
-
action: "open-
|
|
2484
|
+
type: "comment-reaction";
|
|
2485
|
+
action: "open-comment";
|
|
1448
2486
|
metadata: {
|
|
1449
|
-
|
|
2487
|
+
entityId: string;
|
|
2488
|
+
entityShortId: string;
|
|
2489
|
+
entityTitle: string | null | undefined;
|
|
2490
|
+
entityContent: string | null | undefined;
|
|
2491
|
+
commentId: string;
|
|
2492
|
+
commentContent: string | null | undefined;
|
|
2493
|
+
reactionType: string;
|
|
1450
2494
|
initiatorId: string;
|
|
1451
2495
|
initiatorName: string | null | undefined;
|
|
1452
2496
|
initiatorUsername: string | null | undefined;
|
|
@@ -1457,8 +2501,127 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1457
2501
|
isRead: boolean;
|
|
1458
2502
|
createdAt: string;
|
|
1459
2503
|
} | {
|
|
1460
|
-
type: "
|
|
1461
|
-
action: "open-
|
|
2504
|
+
type: "entity-reaction-milestone-specific";
|
|
2505
|
+
action: "open-entity";
|
|
2506
|
+
metadata: {
|
|
2507
|
+
entityId: string;
|
|
2508
|
+
entityShortId: string;
|
|
2509
|
+
entityTitle: string | null | undefined;
|
|
2510
|
+
entityContent: string | null | undefined;
|
|
2511
|
+
reactionType: string;
|
|
2512
|
+
milestoneCount: number;
|
|
2513
|
+
lastThreeUsers: {
|
|
2514
|
+
id: string;
|
|
2515
|
+
name: string | null | undefined;
|
|
2516
|
+
username: string | null | undefined;
|
|
2517
|
+
avatar: string | null | undefined;
|
|
2518
|
+
}[];
|
|
2519
|
+
};
|
|
2520
|
+
id: string;
|
|
2521
|
+
userId: string;
|
|
2522
|
+
isRead: boolean;
|
|
2523
|
+
createdAt: string;
|
|
2524
|
+
} | {
|
|
2525
|
+
type: "entity-reaction-milestone-total";
|
|
2526
|
+
action: "open-entity";
|
|
2527
|
+
metadata: {
|
|
2528
|
+
entityId: string;
|
|
2529
|
+
entityShortId: string;
|
|
2530
|
+
entityTitle: string | null | undefined;
|
|
2531
|
+
entityContent: string | null | undefined;
|
|
2532
|
+
milestoneCount: number;
|
|
2533
|
+
reactionCounts: {
|
|
2534
|
+
[x: string]: number;
|
|
2535
|
+
};
|
|
2536
|
+
lastThreeUsers: {
|
|
2537
|
+
id: string;
|
|
2538
|
+
name: string | null | undefined;
|
|
2539
|
+
username: string | null | undefined;
|
|
2540
|
+
avatar: string | null | undefined;
|
|
2541
|
+
}[];
|
|
2542
|
+
};
|
|
2543
|
+
id: string;
|
|
2544
|
+
userId: string;
|
|
2545
|
+
isRead: boolean;
|
|
2546
|
+
createdAt: string;
|
|
2547
|
+
} | {
|
|
2548
|
+
type: "comment-reaction-milestone-specific";
|
|
2549
|
+
action: "open-comment";
|
|
2550
|
+
metadata: {
|
|
2551
|
+
entityId: string;
|
|
2552
|
+
entityShortId: string;
|
|
2553
|
+
entityTitle: string | null | undefined;
|
|
2554
|
+
entityContent: string | null | undefined;
|
|
2555
|
+
commentId: string;
|
|
2556
|
+
commentContent: string | null | undefined;
|
|
2557
|
+
reactionType: string;
|
|
2558
|
+
milestoneCount: number;
|
|
2559
|
+
lastThreeUsers: {
|
|
2560
|
+
id: string;
|
|
2561
|
+
name: string | null | undefined;
|
|
2562
|
+
username: string | null | undefined;
|
|
2563
|
+
avatar: string | null | undefined;
|
|
2564
|
+
}[];
|
|
2565
|
+
};
|
|
2566
|
+
id: string;
|
|
2567
|
+
userId: string;
|
|
2568
|
+
isRead: boolean;
|
|
2569
|
+
createdAt: string;
|
|
2570
|
+
} | {
|
|
2571
|
+
type: "comment-reaction-milestone-total";
|
|
2572
|
+
action: "open-comment";
|
|
2573
|
+
metadata: {
|
|
2574
|
+
entityId: string;
|
|
2575
|
+
entityShortId: string;
|
|
2576
|
+
entityTitle: string | null | undefined;
|
|
2577
|
+
entityContent: string | null | undefined;
|
|
2578
|
+
commentId: string;
|
|
2579
|
+
commentContent: string | null | undefined;
|
|
2580
|
+
milestoneCount: number;
|
|
2581
|
+
reactionCounts: {
|
|
2582
|
+
[x: string]: number;
|
|
2583
|
+
};
|
|
2584
|
+
lastThreeUsers: {
|
|
2585
|
+
id: string;
|
|
2586
|
+
name: string | null | undefined;
|
|
2587
|
+
username: string | null | undefined;
|
|
2588
|
+
avatar: string | null | undefined;
|
|
2589
|
+
}[];
|
|
2590
|
+
};
|
|
2591
|
+
id: string;
|
|
2592
|
+
userId: string;
|
|
2593
|
+
isRead: boolean;
|
|
2594
|
+
createdAt: string;
|
|
2595
|
+
} | {
|
|
2596
|
+
type: "new-follow";
|
|
2597
|
+
action: "open-profile";
|
|
2598
|
+
metadata: {
|
|
2599
|
+
initiatorId: string;
|
|
2600
|
+
initiatorName: string | null | undefined;
|
|
2601
|
+
initiatorUsername: string | null | undefined;
|
|
2602
|
+
initiatorAvatar: string | null | undefined;
|
|
2603
|
+
};
|
|
2604
|
+
id: string;
|
|
2605
|
+
userId: string;
|
|
2606
|
+
isRead: boolean;
|
|
2607
|
+
createdAt: string;
|
|
2608
|
+
} | {
|
|
2609
|
+
type: "connection-request";
|
|
2610
|
+
action: "open-profile";
|
|
2611
|
+
metadata: {
|
|
2612
|
+
connectionId: string;
|
|
2613
|
+
initiatorId: string;
|
|
2614
|
+
initiatorName: string | null | undefined;
|
|
2615
|
+
initiatorUsername: string | null | undefined;
|
|
2616
|
+
initiatorAvatar: string | null | undefined;
|
|
2617
|
+
};
|
|
2618
|
+
id: string;
|
|
2619
|
+
userId: string;
|
|
2620
|
+
isRead: boolean;
|
|
2621
|
+
createdAt: string;
|
|
2622
|
+
} | {
|
|
2623
|
+
type: "connection-accepted";
|
|
2624
|
+
action: "open-profile";
|
|
1462
2625
|
metadata: {
|
|
1463
2626
|
connectionId: string;
|
|
1464
2627
|
initiatorId: string;
|
|
@@ -1470,6 +2633,20 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1470
2633
|
userId: string;
|
|
1471
2634
|
isRead: boolean;
|
|
1472
2635
|
createdAt: string;
|
|
2636
|
+
} | {
|
|
2637
|
+
type: "space-membership-approved";
|
|
2638
|
+
action: "open-space";
|
|
2639
|
+
metadata: {
|
|
2640
|
+
spaceId: string;
|
|
2641
|
+
spaceName: string;
|
|
2642
|
+
spaceShortId: string;
|
|
2643
|
+
spaceSlug: string | null | undefined;
|
|
2644
|
+
spaceAvatar: string | null | undefined;
|
|
2645
|
+
};
|
|
2646
|
+
id: string;
|
|
2647
|
+
userId: string;
|
|
2648
|
+
isRead: boolean;
|
|
2649
|
+
createdAt: string;
|
|
1473
2650
|
})[];
|
|
1474
2651
|
unreadCount: number;
|
|
1475
2652
|
loading: boolean;
|
|
@@ -1478,40 +2655,68 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1478
2655
|
limit: number;
|
|
1479
2656
|
notificationTemplates?: {
|
|
1480
2657
|
entityComment?: {
|
|
1481
|
-
title?:
|
|
1482
|
-
content?:
|
|
2658
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
2659
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
1483
2660
|
} | undefined;
|
|
1484
2661
|
commentReply?: {
|
|
1485
|
-
title?:
|
|
1486
|
-
content?:
|
|
2662
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
2663
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
1487
2664
|
} | undefined;
|
|
1488
2665
|
entityMention?: {
|
|
1489
|
-
title?:
|
|
1490
|
-
content?:
|
|
2666
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
2667
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
1491
2668
|
} | undefined;
|
|
1492
2669
|
commentMention?: {
|
|
1493
|
-
title?:
|
|
1494
|
-
content?:
|
|
2670
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
2671
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
1495
2672
|
} | undefined;
|
|
1496
2673
|
entityUpvote?: {
|
|
1497
|
-
title?:
|
|
1498
|
-
content?:
|
|
2674
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
2675
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
1499
2676
|
} | undefined;
|
|
1500
2677
|
commentUpvote?: {
|
|
1501
|
-
title?:
|
|
1502
|
-
content?:
|
|
2678
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
2679
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
2680
|
+
} | undefined;
|
|
2681
|
+
entityReaction?: {
|
|
2682
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
2683
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
2684
|
+
} | undefined;
|
|
2685
|
+
commentReaction?: {
|
|
2686
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
2687
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
2688
|
+
} | undefined;
|
|
2689
|
+
entityReactionMilestoneSpecific?: {
|
|
2690
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
2691
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
2692
|
+
} | undefined;
|
|
2693
|
+
entityReactionMilestoneTotal?: {
|
|
2694
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
2695
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
2696
|
+
} | undefined;
|
|
2697
|
+
commentReactionMilestoneSpecific?: {
|
|
2698
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
2699
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
2700
|
+
} | undefined;
|
|
2701
|
+
commentReactionMilestoneTotal?: {
|
|
2702
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
2703
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
1503
2704
|
} | undefined;
|
|
1504
2705
|
newFollow?: {
|
|
1505
|
-
title?:
|
|
1506
|
-
content?:
|
|
2706
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
2707
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
1507
2708
|
} | undefined;
|
|
1508
2709
|
connectionRequest?: {
|
|
1509
|
-
title?:
|
|
1510
|
-
content?:
|
|
2710
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
2711
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
1511
2712
|
} | undefined;
|
|
1512
2713
|
connectionAccepted?: {
|
|
1513
|
-
title?:
|
|
1514
|
-
content?:
|
|
2714
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
2715
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
2716
|
+
} | undefined;
|
|
2717
|
+
spaceMembershipApproved?: {
|
|
2718
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
2719
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
1515
2720
|
} | undefined;
|
|
1516
2721
|
} | undefined;
|
|
1517
2722
|
currentProjectId?: string | undefined;
|
|
@@ -1648,6 +2853,136 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1648
2853
|
userId: string;
|
|
1649
2854
|
isRead: boolean;
|
|
1650
2855
|
createdAt: string;
|
|
2856
|
+
} | {
|
|
2857
|
+
type: "entity-reaction";
|
|
2858
|
+
action: "open-entity";
|
|
2859
|
+
metadata: {
|
|
2860
|
+
entityId: string;
|
|
2861
|
+
entityShortId: string;
|
|
2862
|
+
entityTitle: string | null | undefined;
|
|
2863
|
+
entityContent: string | null | undefined;
|
|
2864
|
+
reactionType: string;
|
|
2865
|
+
initiatorId: string;
|
|
2866
|
+
initiatorName: string | null | undefined;
|
|
2867
|
+
initiatorUsername: string | null | undefined;
|
|
2868
|
+
initiatorAvatar: string | null | undefined;
|
|
2869
|
+
};
|
|
2870
|
+
id: string;
|
|
2871
|
+
userId: string;
|
|
2872
|
+
isRead: boolean;
|
|
2873
|
+
createdAt: string;
|
|
2874
|
+
} | {
|
|
2875
|
+
type: "comment-reaction";
|
|
2876
|
+
action: "open-comment";
|
|
2877
|
+
metadata: {
|
|
2878
|
+
entityId: string;
|
|
2879
|
+
entityShortId: string;
|
|
2880
|
+
entityTitle: string | null | undefined;
|
|
2881
|
+
entityContent: string | null | undefined;
|
|
2882
|
+
commentId: string;
|
|
2883
|
+
commentContent: string | null | undefined;
|
|
2884
|
+
reactionType: string;
|
|
2885
|
+
initiatorId: string;
|
|
2886
|
+
initiatorName: string | null | undefined;
|
|
2887
|
+
initiatorUsername: string | null | undefined;
|
|
2888
|
+
initiatorAvatar: string | null | undefined;
|
|
2889
|
+
};
|
|
2890
|
+
id: string;
|
|
2891
|
+
userId: string;
|
|
2892
|
+
isRead: boolean;
|
|
2893
|
+
createdAt: string;
|
|
2894
|
+
} | {
|
|
2895
|
+
type: "entity-reaction-milestone-specific";
|
|
2896
|
+
action: "open-entity";
|
|
2897
|
+
metadata: {
|
|
2898
|
+
entityId: string;
|
|
2899
|
+
entityShortId: string;
|
|
2900
|
+
entityTitle: string | null | undefined;
|
|
2901
|
+
entityContent: string | null | undefined;
|
|
2902
|
+
reactionType: string;
|
|
2903
|
+
milestoneCount: number;
|
|
2904
|
+
lastThreeUsers: {
|
|
2905
|
+
id: string;
|
|
2906
|
+
name: string | null | undefined;
|
|
2907
|
+
username: string | null | undefined;
|
|
2908
|
+
avatar: string | null | undefined;
|
|
2909
|
+
}[];
|
|
2910
|
+
};
|
|
2911
|
+
id: string;
|
|
2912
|
+
userId: string;
|
|
2913
|
+
isRead: boolean;
|
|
2914
|
+
createdAt: string;
|
|
2915
|
+
} | {
|
|
2916
|
+
type: "entity-reaction-milestone-total";
|
|
2917
|
+
action: "open-entity";
|
|
2918
|
+
metadata: {
|
|
2919
|
+
entityId: string;
|
|
2920
|
+
entityShortId: string;
|
|
2921
|
+
entityTitle: string | null | undefined;
|
|
2922
|
+
entityContent: string | null | undefined;
|
|
2923
|
+
milestoneCount: number;
|
|
2924
|
+
reactionCounts: {
|
|
2925
|
+
[x: string]: number;
|
|
2926
|
+
};
|
|
2927
|
+
lastThreeUsers: {
|
|
2928
|
+
id: string;
|
|
2929
|
+
name: string | null | undefined;
|
|
2930
|
+
username: string | null | undefined;
|
|
2931
|
+
avatar: string | null | undefined;
|
|
2932
|
+
}[];
|
|
2933
|
+
};
|
|
2934
|
+
id: string;
|
|
2935
|
+
userId: string;
|
|
2936
|
+
isRead: boolean;
|
|
2937
|
+
createdAt: string;
|
|
2938
|
+
} | {
|
|
2939
|
+
type: "comment-reaction-milestone-specific";
|
|
2940
|
+
action: "open-comment";
|
|
2941
|
+
metadata: {
|
|
2942
|
+
entityId: string;
|
|
2943
|
+
entityShortId: string;
|
|
2944
|
+
entityTitle: string | null | undefined;
|
|
2945
|
+
entityContent: string | null | undefined;
|
|
2946
|
+
commentId: string;
|
|
2947
|
+
commentContent: string | null | undefined;
|
|
2948
|
+
reactionType: string;
|
|
2949
|
+
milestoneCount: number;
|
|
2950
|
+
lastThreeUsers: {
|
|
2951
|
+
id: string;
|
|
2952
|
+
name: string | null | undefined;
|
|
2953
|
+
username: string | null | undefined;
|
|
2954
|
+
avatar: string | null | undefined;
|
|
2955
|
+
}[];
|
|
2956
|
+
};
|
|
2957
|
+
id: string;
|
|
2958
|
+
userId: string;
|
|
2959
|
+
isRead: boolean;
|
|
2960
|
+
createdAt: string;
|
|
2961
|
+
} | {
|
|
2962
|
+
type: "comment-reaction-milestone-total";
|
|
2963
|
+
action: "open-comment";
|
|
2964
|
+
metadata: {
|
|
2965
|
+
entityId: string;
|
|
2966
|
+
entityShortId: string;
|
|
2967
|
+
entityTitle: string | null | undefined;
|
|
2968
|
+
entityContent: string | null | undefined;
|
|
2969
|
+
commentId: string;
|
|
2970
|
+
commentContent: string | null | undefined;
|
|
2971
|
+
milestoneCount: number;
|
|
2972
|
+
reactionCounts: {
|
|
2973
|
+
[x: string]: number;
|
|
2974
|
+
};
|
|
2975
|
+
lastThreeUsers: {
|
|
2976
|
+
id: string;
|
|
2977
|
+
name: string | null | undefined;
|
|
2978
|
+
username: string | null | undefined;
|
|
2979
|
+
avatar: string | null | undefined;
|
|
2980
|
+
}[];
|
|
2981
|
+
};
|
|
2982
|
+
id: string;
|
|
2983
|
+
userId: string;
|
|
2984
|
+
isRead: boolean;
|
|
2985
|
+
createdAt: string;
|
|
1651
2986
|
} | {
|
|
1652
2987
|
type: "new-follow";
|
|
1653
2988
|
action: "open-profile";
|
|
@@ -1689,6 +3024,20 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1689
3024
|
userId: string;
|
|
1690
3025
|
isRead: boolean;
|
|
1691
3026
|
createdAt: string;
|
|
3027
|
+
} | {
|
|
3028
|
+
type: "space-membership-approved";
|
|
3029
|
+
action: "open-space";
|
|
3030
|
+
metadata: {
|
|
3031
|
+
spaceId: string;
|
|
3032
|
+
spaceName: string;
|
|
3033
|
+
spaceShortId: string;
|
|
3034
|
+
spaceSlug: string | null | undefined;
|
|
3035
|
+
spaceAvatar: string | null | undefined;
|
|
3036
|
+
};
|
|
3037
|
+
id: string;
|
|
3038
|
+
userId: string;
|
|
3039
|
+
isRead: boolean;
|
|
3040
|
+
createdAt: string;
|
|
1692
3041
|
})[];
|
|
1693
3042
|
unreadCount: number;
|
|
1694
3043
|
loading: boolean;
|
|
@@ -1697,40 +3046,68 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1697
3046
|
limit: number;
|
|
1698
3047
|
notificationTemplates?: {
|
|
1699
3048
|
entityComment?: {
|
|
1700
|
-
title?:
|
|
1701
|
-
content?:
|
|
3049
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
3050
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
1702
3051
|
} | undefined;
|
|
1703
3052
|
commentReply?: {
|
|
1704
|
-
title?:
|
|
1705
|
-
content?:
|
|
3053
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
3054
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
1706
3055
|
} | undefined;
|
|
1707
3056
|
entityMention?: {
|
|
1708
|
-
title?:
|
|
1709
|
-
content?:
|
|
3057
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
3058
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
1710
3059
|
} | undefined;
|
|
1711
3060
|
commentMention?: {
|
|
1712
|
-
title?:
|
|
1713
|
-
content?:
|
|
3061
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
3062
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
1714
3063
|
} | undefined;
|
|
1715
3064
|
entityUpvote?: {
|
|
1716
|
-
title?:
|
|
1717
|
-
content?:
|
|
3065
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
3066
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
1718
3067
|
} | undefined;
|
|
1719
3068
|
commentUpvote?: {
|
|
1720
|
-
title?:
|
|
1721
|
-
content?:
|
|
3069
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
3070
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
3071
|
+
} | undefined;
|
|
3072
|
+
entityReaction?: {
|
|
3073
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
3074
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
3075
|
+
} | undefined;
|
|
3076
|
+
commentReaction?: {
|
|
3077
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
3078
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
3079
|
+
} | undefined;
|
|
3080
|
+
entityReactionMilestoneSpecific?: {
|
|
3081
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3082
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3083
|
+
} | undefined;
|
|
3084
|
+
entityReactionMilestoneTotal?: {
|
|
3085
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
3086
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
3087
|
+
} | undefined;
|
|
3088
|
+
commentReactionMilestoneSpecific?: {
|
|
3089
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3090
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3091
|
+
} | undefined;
|
|
3092
|
+
commentReactionMilestoneTotal?: {
|
|
3093
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
3094
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
1722
3095
|
} | undefined;
|
|
1723
3096
|
newFollow?: {
|
|
1724
|
-
title?:
|
|
1725
|
-
content?:
|
|
3097
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
3098
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
1726
3099
|
} | undefined;
|
|
1727
3100
|
connectionRequest?: {
|
|
1728
|
-
title?:
|
|
1729
|
-
content?:
|
|
3101
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
3102
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
1730
3103
|
} | undefined;
|
|
1731
3104
|
connectionAccepted?: {
|
|
1732
|
-
title?:
|
|
1733
|
-
content?:
|
|
3105
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
3106
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
3107
|
+
} | undefined;
|
|
3108
|
+
spaceMembershipApproved?: {
|
|
3109
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
3110
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
1734
3111
|
} | undefined;
|
|
1735
3112
|
} | undefined;
|
|
1736
3113
|
currentProjectId?: string | undefined;
|
|
@@ -1752,15 +3129,476 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1752
3129
|
isRead: boolean;
|
|
1753
3130
|
createdAt: string;
|
|
1754
3131
|
} | {
|
|
1755
|
-
type: "entity-comment";
|
|
1756
|
-
action: "open-comment";
|
|
3132
|
+
type: "entity-comment";
|
|
3133
|
+
action: "open-comment";
|
|
3134
|
+
metadata: {
|
|
3135
|
+
entityId: string;
|
|
3136
|
+
entityShortId: string;
|
|
3137
|
+
entityTitle: string | null | undefined;
|
|
3138
|
+
entityContent: string | null | undefined;
|
|
3139
|
+
commentId: string;
|
|
3140
|
+
commentContent: string | null | undefined;
|
|
3141
|
+
initiatorId: string;
|
|
3142
|
+
initiatorName: string | null | undefined;
|
|
3143
|
+
initiatorUsername: string | null | undefined;
|
|
3144
|
+
initiatorAvatar: string | null | undefined;
|
|
3145
|
+
};
|
|
3146
|
+
id: string;
|
|
3147
|
+
userId: string;
|
|
3148
|
+
isRead: boolean;
|
|
3149
|
+
createdAt: string;
|
|
3150
|
+
} | {
|
|
3151
|
+
type: "comment-reply";
|
|
3152
|
+
action: "open-comment";
|
|
3153
|
+
metadata: {
|
|
3154
|
+
entityId: string;
|
|
3155
|
+
entityShortId: string;
|
|
3156
|
+
entityTitle: string | null | undefined;
|
|
3157
|
+
entityContent: string | null | undefined;
|
|
3158
|
+
commentId: string;
|
|
3159
|
+
commentContent: string | null | undefined;
|
|
3160
|
+
replyId: string;
|
|
3161
|
+
replyContent: string | null | undefined;
|
|
3162
|
+
initiatorId: string;
|
|
3163
|
+
initiatorName: string | null | undefined;
|
|
3164
|
+
initiatorUsername: string | null | undefined;
|
|
3165
|
+
initiatorAvatar: string | null | undefined;
|
|
3166
|
+
};
|
|
3167
|
+
id: string;
|
|
3168
|
+
userId: string;
|
|
3169
|
+
isRead: boolean;
|
|
3170
|
+
createdAt: string;
|
|
3171
|
+
} | {
|
|
3172
|
+
type: "entity-mention";
|
|
3173
|
+
action: "open-entity";
|
|
3174
|
+
metadata: {
|
|
3175
|
+
entityId: string;
|
|
3176
|
+
entityShortId: string;
|
|
3177
|
+
entityTitle: string | null | undefined;
|
|
3178
|
+
entityContent: string | null | undefined;
|
|
3179
|
+
initiatorId: string;
|
|
3180
|
+
initiatorName: string | null | undefined;
|
|
3181
|
+
initiatorUsername: string | null | undefined;
|
|
3182
|
+
initiatorAvatar: string | null | undefined;
|
|
3183
|
+
};
|
|
3184
|
+
id: string;
|
|
3185
|
+
userId: string;
|
|
3186
|
+
isRead: boolean;
|
|
3187
|
+
createdAt: string;
|
|
3188
|
+
} | {
|
|
3189
|
+
type: "comment-mention";
|
|
3190
|
+
action: "open-comment";
|
|
3191
|
+
metadata: {
|
|
3192
|
+
entityId: string;
|
|
3193
|
+
entityShortId: string;
|
|
3194
|
+
entityTitle: string | null | undefined;
|
|
3195
|
+
entityContent: string | null | undefined;
|
|
3196
|
+
commentId: string;
|
|
3197
|
+
commentContent: string | null | undefined;
|
|
3198
|
+
initiatorId: string;
|
|
3199
|
+
initiatorName: string | null | undefined;
|
|
3200
|
+
initiatorUsername: string | null | undefined;
|
|
3201
|
+
initiatorAvatar: string | null | undefined;
|
|
3202
|
+
};
|
|
3203
|
+
id: string;
|
|
3204
|
+
userId: string;
|
|
3205
|
+
isRead: boolean;
|
|
3206
|
+
createdAt: string;
|
|
3207
|
+
} | {
|
|
3208
|
+
type: "entity-upvote";
|
|
3209
|
+
action: "open-entity";
|
|
3210
|
+
metadata: {
|
|
3211
|
+
entityId: string;
|
|
3212
|
+
entityShortId: string;
|
|
3213
|
+
entityTitle: string | null | undefined;
|
|
3214
|
+
entityContent: string | null | undefined;
|
|
3215
|
+
initiatorId: string;
|
|
3216
|
+
initiatorName: string | null | undefined;
|
|
3217
|
+
initiatorUsername: string | null | undefined;
|
|
3218
|
+
initiatorAvatar: string | null | undefined;
|
|
3219
|
+
};
|
|
3220
|
+
id: string;
|
|
3221
|
+
userId: string;
|
|
3222
|
+
isRead: boolean;
|
|
3223
|
+
createdAt: string;
|
|
3224
|
+
} | {
|
|
3225
|
+
type: "comment-upvote";
|
|
3226
|
+
action: "open-comment";
|
|
3227
|
+
metadata: {
|
|
3228
|
+
entityId: string;
|
|
3229
|
+
entityShortId: string;
|
|
3230
|
+
entityTitle: string | null | undefined;
|
|
3231
|
+
entityContent: string | null | undefined;
|
|
3232
|
+
commentId: string;
|
|
3233
|
+
commentContent: string | null | undefined;
|
|
3234
|
+
initiatorId: string;
|
|
3235
|
+
initiatorName: string | null | undefined;
|
|
3236
|
+
initiatorUsername: string | null | undefined;
|
|
3237
|
+
initiatorAvatar: string | null | undefined;
|
|
3238
|
+
};
|
|
3239
|
+
id: string;
|
|
3240
|
+
userId: string;
|
|
3241
|
+
isRead: boolean;
|
|
3242
|
+
createdAt: string;
|
|
3243
|
+
} | {
|
|
3244
|
+
type: "entity-reaction";
|
|
3245
|
+
action: "open-entity";
|
|
3246
|
+
metadata: {
|
|
3247
|
+
entityId: string;
|
|
3248
|
+
entityShortId: string;
|
|
3249
|
+
entityTitle: string | null | undefined;
|
|
3250
|
+
entityContent: string | null | undefined;
|
|
3251
|
+
reactionType: string;
|
|
3252
|
+
initiatorId: string;
|
|
3253
|
+
initiatorName: string | null | undefined;
|
|
3254
|
+
initiatorUsername: string | null | undefined;
|
|
3255
|
+
initiatorAvatar: string | null | undefined;
|
|
3256
|
+
};
|
|
3257
|
+
id: string;
|
|
3258
|
+
userId: string;
|
|
3259
|
+
isRead: boolean;
|
|
3260
|
+
createdAt: string;
|
|
3261
|
+
} | {
|
|
3262
|
+
type: "comment-reaction";
|
|
3263
|
+
action: "open-comment";
|
|
3264
|
+
metadata: {
|
|
3265
|
+
entityId: string;
|
|
3266
|
+
entityShortId: string;
|
|
3267
|
+
entityTitle: string | null | undefined;
|
|
3268
|
+
entityContent: string | null | undefined;
|
|
3269
|
+
commentId: string;
|
|
3270
|
+
commentContent: string | null | undefined;
|
|
3271
|
+
reactionType: string;
|
|
3272
|
+
initiatorId: string;
|
|
3273
|
+
initiatorName: string | null | undefined;
|
|
3274
|
+
initiatorUsername: string | null | undefined;
|
|
3275
|
+
initiatorAvatar: string | null | undefined;
|
|
3276
|
+
};
|
|
3277
|
+
id: string;
|
|
3278
|
+
userId: string;
|
|
3279
|
+
isRead: boolean;
|
|
3280
|
+
createdAt: string;
|
|
3281
|
+
} | {
|
|
3282
|
+
type: "entity-reaction-milestone-specific";
|
|
3283
|
+
action: "open-entity";
|
|
3284
|
+
metadata: {
|
|
3285
|
+
entityId: string;
|
|
3286
|
+
entityShortId: string;
|
|
3287
|
+
entityTitle: string | null | undefined;
|
|
3288
|
+
entityContent: string | null | undefined;
|
|
3289
|
+
reactionType: string;
|
|
3290
|
+
milestoneCount: number;
|
|
3291
|
+
lastThreeUsers: {
|
|
3292
|
+
id: string;
|
|
3293
|
+
name: string | null | undefined;
|
|
3294
|
+
username: string | null | undefined;
|
|
3295
|
+
avatar: string | null | undefined;
|
|
3296
|
+
}[];
|
|
3297
|
+
};
|
|
3298
|
+
id: string;
|
|
3299
|
+
userId: string;
|
|
3300
|
+
isRead: boolean;
|
|
3301
|
+
createdAt: string;
|
|
3302
|
+
} | {
|
|
3303
|
+
type: "entity-reaction-milestone-total";
|
|
3304
|
+
action: "open-entity";
|
|
3305
|
+
metadata: {
|
|
3306
|
+
entityId: string;
|
|
3307
|
+
entityShortId: string;
|
|
3308
|
+
entityTitle: string | null | undefined;
|
|
3309
|
+
entityContent: string | null | undefined;
|
|
3310
|
+
milestoneCount: number;
|
|
3311
|
+
reactionCounts: {
|
|
3312
|
+
[x: string]: number;
|
|
3313
|
+
};
|
|
3314
|
+
lastThreeUsers: {
|
|
3315
|
+
id: string;
|
|
3316
|
+
name: string | null | undefined;
|
|
3317
|
+
username: string | null | undefined;
|
|
3318
|
+
avatar: string | null | undefined;
|
|
3319
|
+
}[];
|
|
3320
|
+
};
|
|
3321
|
+
id: string;
|
|
3322
|
+
userId: string;
|
|
3323
|
+
isRead: boolean;
|
|
3324
|
+
createdAt: string;
|
|
3325
|
+
} | {
|
|
3326
|
+
type: "comment-reaction-milestone-specific";
|
|
3327
|
+
action: "open-comment";
|
|
3328
|
+
metadata: {
|
|
3329
|
+
entityId: string;
|
|
3330
|
+
entityShortId: string;
|
|
3331
|
+
entityTitle: string | null | undefined;
|
|
3332
|
+
entityContent: string | null | undefined;
|
|
3333
|
+
commentId: string;
|
|
3334
|
+
commentContent: string | null | undefined;
|
|
3335
|
+
reactionType: string;
|
|
3336
|
+
milestoneCount: number;
|
|
3337
|
+
lastThreeUsers: {
|
|
3338
|
+
id: string;
|
|
3339
|
+
name: string | null | undefined;
|
|
3340
|
+
username: string | null | undefined;
|
|
3341
|
+
avatar: string | null | undefined;
|
|
3342
|
+
}[];
|
|
3343
|
+
};
|
|
3344
|
+
id: string;
|
|
3345
|
+
userId: string;
|
|
3346
|
+
isRead: boolean;
|
|
3347
|
+
createdAt: string;
|
|
3348
|
+
} | {
|
|
3349
|
+
type: "comment-reaction-milestone-total";
|
|
3350
|
+
action: "open-comment";
|
|
3351
|
+
metadata: {
|
|
3352
|
+
entityId: string;
|
|
3353
|
+
entityShortId: string;
|
|
3354
|
+
entityTitle: string | null | undefined;
|
|
3355
|
+
entityContent: string | null | undefined;
|
|
3356
|
+
commentId: string;
|
|
3357
|
+
commentContent: string | null | undefined;
|
|
3358
|
+
milestoneCount: number;
|
|
3359
|
+
reactionCounts: {
|
|
3360
|
+
[x: string]: number;
|
|
3361
|
+
};
|
|
3362
|
+
lastThreeUsers: {
|
|
3363
|
+
id: string;
|
|
3364
|
+
name: string | null | undefined;
|
|
3365
|
+
username: string | null | undefined;
|
|
3366
|
+
avatar: string | null | undefined;
|
|
3367
|
+
}[];
|
|
3368
|
+
};
|
|
3369
|
+
id: string;
|
|
3370
|
+
userId: string;
|
|
3371
|
+
isRead: boolean;
|
|
3372
|
+
createdAt: string;
|
|
3373
|
+
} | {
|
|
3374
|
+
type: "new-follow";
|
|
3375
|
+
action: "open-profile";
|
|
3376
|
+
metadata: {
|
|
3377
|
+
initiatorId: string;
|
|
3378
|
+
initiatorName: string | null | undefined;
|
|
3379
|
+
initiatorUsername: string | null | undefined;
|
|
3380
|
+
initiatorAvatar: string | null | undefined;
|
|
3381
|
+
};
|
|
3382
|
+
id: string;
|
|
3383
|
+
userId: string;
|
|
3384
|
+
isRead: boolean;
|
|
3385
|
+
createdAt: string;
|
|
3386
|
+
} | {
|
|
3387
|
+
type: "connection-request";
|
|
3388
|
+
action: "open-profile";
|
|
3389
|
+
metadata: {
|
|
3390
|
+
connectionId: string;
|
|
3391
|
+
initiatorId: string;
|
|
3392
|
+
initiatorName: string | null | undefined;
|
|
3393
|
+
initiatorUsername: string | null | undefined;
|
|
3394
|
+
initiatorAvatar: string | null | undefined;
|
|
3395
|
+
};
|
|
3396
|
+
id: string;
|
|
3397
|
+
userId: string;
|
|
3398
|
+
isRead: boolean;
|
|
3399
|
+
createdAt: string;
|
|
3400
|
+
} | {
|
|
3401
|
+
type: "connection-accepted";
|
|
3402
|
+
action: "open-profile";
|
|
3403
|
+
metadata: {
|
|
3404
|
+
connectionId: string;
|
|
3405
|
+
initiatorId: string;
|
|
3406
|
+
initiatorName: string | null | undefined;
|
|
3407
|
+
initiatorUsername: string | null | undefined;
|
|
3408
|
+
initiatorAvatar: string | null | undefined;
|
|
3409
|
+
};
|
|
3410
|
+
id: string;
|
|
3411
|
+
userId: string;
|
|
3412
|
+
isRead: boolean;
|
|
3413
|
+
createdAt: string;
|
|
3414
|
+
} | {
|
|
3415
|
+
type: "space-membership-approved";
|
|
3416
|
+
action: "open-space";
|
|
3417
|
+
metadata: {
|
|
3418
|
+
spaceId: string;
|
|
3419
|
+
spaceName: string;
|
|
3420
|
+
spaceShortId: string;
|
|
3421
|
+
spaceSlug: string | null | undefined;
|
|
3422
|
+
spaceAvatar: string | null | undefined;
|
|
3423
|
+
};
|
|
3424
|
+
id: string;
|
|
3425
|
+
userId: string;
|
|
3426
|
+
isRead: boolean;
|
|
3427
|
+
createdAt: string;
|
|
3428
|
+
})[];
|
|
3429
|
+
unreadCount: number;
|
|
3430
|
+
loading: boolean;
|
|
3431
|
+
hasMore: boolean;
|
|
3432
|
+
page: number;
|
|
3433
|
+
limit: number;
|
|
3434
|
+
notificationTemplates?: {
|
|
3435
|
+
entityComment?: {
|
|
3436
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
3437
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
3438
|
+
} | undefined;
|
|
3439
|
+
commentReply?: {
|
|
3440
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
3441
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
3442
|
+
} | undefined;
|
|
3443
|
+
entityMention?: {
|
|
3444
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
3445
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
3446
|
+
} | undefined;
|
|
3447
|
+
commentMention?: {
|
|
3448
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
3449
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
3450
|
+
} | undefined;
|
|
3451
|
+
entityUpvote?: {
|
|
3452
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
3453
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
3454
|
+
} | undefined;
|
|
3455
|
+
commentUpvote?: {
|
|
3456
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
3457
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
3458
|
+
} | undefined;
|
|
3459
|
+
entityReaction?: {
|
|
3460
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
3461
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
3462
|
+
} | undefined;
|
|
3463
|
+
commentReaction?: {
|
|
3464
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
3465
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
3466
|
+
} | undefined;
|
|
3467
|
+
entityReactionMilestoneSpecific?: {
|
|
3468
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3469
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3470
|
+
} | undefined;
|
|
3471
|
+
entityReactionMilestoneTotal?: {
|
|
3472
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
3473
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
3474
|
+
} | undefined;
|
|
3475
|
+
commentReactionMilestoneSpecific?: {
|
|
3476
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3477
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3478
|
+
} | undefined;
|
|
3479
|
+
commentReactionMilestoneTotal?: {
|
|
3480
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
3481
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
3482
|
+
} | undefined;
|
|
3483
|
+
newFollow?: {
|
|
3484
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
3485
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
3486
|
+
} | undefined;
|
|
3487
|
+
connectionRequest?: {
|
|
3488
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
3489
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
3490
|
+
} | undefined;
|
|
3491
|
+
connectionAccepted?: {
|
|
3492
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
3493
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
3494
|
+
} | undefined;
|
|
3495
|
+
spaceMembershipApproved?: {
|
|
3496
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
3497
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
3498
|
+
} | undefined;
|
|
3499
|
+
} | undefined;
|
|
3500
|
+
currentProjectId?: string | undefined;
|
|
3501
|
+
}) => void;
|
|
3502
|
+
setUnreadCount: (state: {
|
|
3503
|
+
notifications: ({
|
|
3504
|
+
type: "system";
|
|
3505
|
+
action: string;
|
|
3506
|
+
metadata: {
|
|
3507
|
+
title?: string | undefined;
|
|
3508
|
+
content?: string | undefined;
|
|
3509
|
+
buttonData: {
|
|
3510
|
+
text: string;
|
|
3511
|
+
url: string;
|
|
3512
|
+
} | null;
|
|
3513
|
+
};
|
|
3514
|
+
id: string;
|
|
3515
|
+
userId: string;
|
|
3516
|
+
isRead: boolean;
|
|
3517
|
+
createdAt: string;
|
|
3518
|
+
} | {
|
|
3519
|
+
type: "entity-comment";
|
|
3520
|
+
action: "open-comment";
|
|
3521
|
+
metadata: {
|
|
3522
|
+
entityId: string;
|
|
3523
|
+
entityShortId: string;
|
|
3524
|
+
entityTitle: string | null | undefined;
|
|
3525
|
+
entityContent: string | null | undefined;
|
|
3526
|
+
commentId: string;
|
|
3527
|
+
commentContent: string | null | undefined;
|
|
3528
|
+
initiatorId: string;
|
|
3529
|
+
initiatorName: string | null | undefined;
|
|
3530
|
+
initiatorUsername: string | null | undefined;
|
|
3531
|
+
initiatorAvatar: string | null | undefined;
|
|
3532
|
+
};
|
|
3533
|
+
id: string;
|
|
3534
|
+
userId: string;
|
|
3535
|
+
isRead: boolean;
|
|
3536
|
+
createdAt: string;
|
|
3537
|
+
} | {
|
|
3538
|
+
type: "comment-reply";
|
|
3539
|
+
action: "open-comment";
|
|
3540
|
+
metadata: {
|
|
3541
|
+
entityId: string;
|
|
3542
|
+
entityShortId: string;
|
|
3543
|
+
entityTitle: string | null | undefined;
|
|
3544
|
+
entityContent: string | null | undefined;
|
|
3545
|
+
commentId: string;
|
|
3546
|
+
commentContent: string | null | undefined;
|
|
3547
|
+
replyId: string;
|
|
3548
|
+
replyContent: string | null | undefined;
|
|
3549
|
+
initiatorId: string;
|
|
3550
|
+
initiatorName: string | null | undefined;
|
|
3551
|
+
initiatorUsername: string | null | undefined;
|
|
3552
|
+
initiatorAvatar: string | null | undefined;
|
|
3553
|
+
};
|
|
3554
|
+
id: string;
|
|
3555
|
+
userId: string;
|
|
3556
|
+
isRead: boolean;
|
|
3557
|
+
createdAt: string;
|
|
3558
|
+
} | {
|
|
3559
|
+
type: "entity-mention";
|
|
3560
|
+
action: "open-entity";
|
|
3561
|
+
metadata: {
|
|
3562
|
+
entityId: string;
|
|
3563
|
+
entityShortId: string;
|
|
3564
|
+
entityTitle: string | null | undefined;
|
|
3565
|
+
entityContent: string | null | undefined;
|
|
3566
|
+
initiatorId: string;
|
|
3567
|
+
initiatorName: string | null | undefined;
|
|
3568
|
+
initiatorUsername: string | null | undefined;
|
|
3569
|
+
initiatorAvatar: string | null | undefined;
|
|
3570
|
+
};
|
|
3571
|
+
id: string;
|
|
3572
|
+
userId: string;
|
|
3573
|
+
isRead: boolean;
|
|
3574
|
+
createdAt: string;
|
|
3575
|
+
} | {
|
|
3576
|
+
type: "comment-mention";
|
|
3577
|
+
action: "open-comment";
|
|
3578
|
+
metadata: {
|
|
3579
|
+
entityId: string;
|
|
3580
|
+
entityShortId: string;
|
|
3581
|
+
entityTitle: string | null | undefined;
|
|
3582
|
+
entityContent: string | null | undefined;
|
|
3583
|
+
commentId: string;
|
|
3584
|
+
commentContent: string | null | undefined;
|
|
3585
|
+
initiatorId: string;
|
|
3586
|
+
initiatorName: string | null | undefined;
|
|
3587
|
+
initiatorUsername: string | null | undefined;
|
|
3588
|
+
initiatorAvatar: string | null | undefined;
|
|
3589
|
+
};
|
|
3590
|
+
id: string;
|
|
3591
|
+
userId: string;
|
|
3592
|
+
isRead: boolean;
|
|
3593
|
+
createdAt: string;
|
|
3594
|
+
} | {
|
|
3595
|
+
type: "entity-upvote";
|
|
3596
|
+
action: "open-entity";
|
|
1757
3597
|
metadata: {
|
|
1758
3598
|
entityId: string;
|
|
1759
3599
|
entityShortId: string;
|
|
1760
3600
|
entityTitle: string | null | undefined;
|
|
1761
3601
|
entityContent: string | null | undefined;
|
|
1762
|
-
commentId: string;
|
|
1763
|
-
commentContent: string | null | undefined;
|
|
1764
3602
|
initiatorId: string;
|
|
1765
3603
|
initiatorName: string | null | undefined;
|
|
1766
3604
|
initiatorUsername: string | null | undefined;
|
|
@@ -1771,7 +3609,7 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1771
3609
|
isRead: boolean;
|
|
1772
3610
|
createdAt: string;
|
|
1773
3611
|
} | {
|
|
1774
|
-
type: "comment-
|
|
3612
|
+
type: "comment-upvote";
|
|
1775
3613
|
action: "open-comment";
|
|
1776
3614
|
metadata: {
|
|
1777
3615
|
entityId: string;
|
|
@@ -1780,8 +3618,6 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1780
3618
|
entityContent: string | null | undefined;
|
|
1781
3619
|
commentId: string;
|
|
1782
3620
|
commentContent: string | null | undefined;
|
|
1783
|
-
replyId: string;
|
|
1784
|
-
replyContent: string | null | undefined;
|
|
1785
3621
|
initiatorId: string;
|
|
1786
3622
|
initiatorName: string | null | undefined;
|
|
1787
3623
|
initiatorUsername: string | null | undefined;
|
|
@@ -1792,13 +3628,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1792
3628
|
isRead: boolean;
|
|
1793
3629
|
createdAt: string;
|
|
1794
3630
|
} | {
|
|
1795
|
-
type: "entity-
|
|
3631
|
+
type: "entity-reaction";
|
|
1796
3632
|
action: "open-entity";
|
|
1797
3633
|
metadata: {
|
|
1798
3634
|
entityId: string;
|
|
1799
3635
|
entityShortId: string;
|
|
1800
3636
|
entityTitle: string | null | undefined;
|
|
1801
3637
|
entityContent: string | null | undefined;
|
|
3638
|
+
reactionType: string;
|
|
1802
3639
|
initiatorId: string;
|
|
1803
3640
|
initiatorName: string | null | undefined;
|
|
1804
3641
|
initiatorUsername: string | null | undefined;
|
|
@@ -1809,7 +3646,7 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1809
3646
|
isRead: boolean;
|
|
1810
3647
|
createdAt: string;
|
|
1811
3648
|
} | {
|
|
1812
|
-
type: "comment-
|
|
3649
|
+
type: "comment-reaction";
|
|
1813
3650
|
action: "open-comment";
|
|
1814
3651
|
metadata: {
|
|
1815
3652
|
entityId: string;
|
|
@@ -1818,6 +3655,7 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1818
3655
|
entityContent: string | null | undefined;
|
|
1819
3656
|
commentId: string;
|
|
1820
3657
|
commentContent: string | null | undefined;
|
|
3658
|
+
reactionType: string;
|
|
1821
3659
|
initiatorId: string;
|
|
1822
3660
|
initiatorName: string | null | undefined;
|
|
1823
3661
|
initiatorUsername: string | null | undefined;
|
|
@@ -1828,24 +3666,51 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1828
3666
|
isRead: boolean;
|
|
1829
3667
|
createdAt: string;
|
|
1830
3668
|
} | {
|
|
1831
|
-
type: "entity-
|
|
3669
|
+
type: "entity-reaction-milestone-specific";
|
|
1832
3670
|
action: "open-entity";
|
|
1833
3671
|
metadata: {
|
|
1834
3672
|
entityId: string;
|
|
1835
3673
|
entityShortId: string;
|
|
1836
3674
|
entityTitle: string | null | undefined;
|
|
1837
3675
|
entityContent: string | null | undefined;
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
3676
|
+
reactionType: string;
|
|
3677
|
+
milestoneCount: number;
|
|
3678
|
+
lastThreeUsers: {
|
|
3679
|
+
id: string;
|
|
3680
|
+
name: string | null | undefined;
|
|
3681
|
+
username: string | null | undefined;
|
|
3682
|
+
avatar: string | null | undefined;
|
|
3683
|
+
}[];
|
|
1842
3684
|
};
|
|
1843
3685
|
id: string;
|
|
1844
3686
|
userId: string;
|
|
1845
3687
|
isRead: boolean;
|
|
1846
3688
|
createdAt: string;
|
|
1847
3689
|
} | {
|
|
1848
|
-
type: "
|
|
3690
|
+
type: "entity-reaction-milestone-total";
|
|
3691
|
+
action: "open-entity";
|
|
3692
|
+
metadata: {
|
|
3693
|
+
entityId: string;
|
|
3694
|
+
entityShortId: string;
|
|
3695
|
+
entityTitle: string | null | undefined;
|
|
3696
|
+
entityContent: string | null | undefined;
|
|
3697
|
+
milestoneCount: number;
|
|
3698
|
+
reactionCounts: {
|
|
3699
|
+
[x: string]: number;
|
|
3700
|
+
};
|
|
3701
|
+
lastThreeUsers: {
|
|
3702
|
+
id: string;
|
|
3703
|
+
name: string | null | undefined;
|
|
3704
|
+
username: string | null | undefined;
|
|
3705
|
+
avatar: string | null | undefined;
|
|
3706
|
+
}[];
|
|
3707
|
+
};
|
|
3708
|
+
id: string;
|
|
3709
|
+
userId: string;
|
|
3710
|
+
isRead: boolean;
|
|
3711
|
+
createdAt: string;
|
|
3712
|
+
} | {
|
|
3713
|
+
type: "comment-reaction-milestone-specific";
|
|
1849
3714
|
action: "open-comment";
|
|
1850
3715
|
metadata: {
|
|
1851
3716
|
entityId: string;
|
|
@@ -1854,10 +3719,39 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1854
3719
|
entityContent: string | null | undefined;
|
|
1855
3720
|
commentId: string;
|
|
1856
3721
|
commentContent: string | null | undefined;
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
3722
|
+
reactionType: string;
|
|
3723
|
+
milestoneCount: number;
|
|
3724
|
+
lastThreeUsers: {
|
|
3725
|
+
id: string;
|
|
3726
|
+
name: string | null | undefined;
|
|
3727
|
+
username: string | null | undefined;
|
|
3728
|
+
avatar: string | null | undefined;
|
|
3729
|
+
}[];
|
|
3730
|
+
};
|
|
3731
|
+
id: string;
|
|
3732
|
+
userId: string;
|
|
3733
|
+
isRead: boolean;
|
|
3734
|
+
createdAt: string;
|
|
3735
|
+
} | {
|
|
3736
|
+
type: "comment-reaction-milestone-total";
|
|
3737
|
+
action: "open-comment";
|
|
3738
|
+
metadata: {
|
|
3739
|
+
entityId: string;
|
|
3740
|
+
entityShortId: string;
|
|
3741
|
+
entityTitle: string | null | undefined;
|
|
3742
|
+
entityContent: string | null | undefined;
|
|
3743
|
+
commentId: string;
|
|
3744
|
+
commentContent: string | null | undefined;
|
|
3745
|
+
milestoneCount: number;
|
|
3746
|
+
reactionCounts: {
|
|
3747
|
+
[x: string]: number;
|
|
3748
|
+
};
|
|
3749
|
+
lastThreeUsers: {
|
|
3750
|
+
id: string;
|
|
3751
|
+
name: string | null | undefined;
|
|
3752
|
+
username: string | null | undefined;
|
|
3753
|
+
avatar: string | null | undefined;
|
|
3754
|
+
}[];
|
|
1861
3755
|
};
|
|
1862
3756
|
id: string;
|
|
1863
3757
|
userId: string;
|
|
@@ -1904,6 +3798,20 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1904
3798
|
userId: string;
|
|
1905
3799
|
isRead: boolean;
|
|
1906
3800
|
createdAt: string;
|
|
3801
|
+
} | {
|
|
3802
|
+
type: "space-membership-approved";
|
|
3803
|
+
action: "open-space";
|
|
3804
|
+
metadata: {
|
|
3805
|
+
spaceId: string;
|
|
3806
|
+
spaceName: string;
|
|
3807
|
+
spaceShortId: string;
|
|
3808
|
+
spaceSlug: string | null | undefined;
|
|
3809
|
+
spaceAvatar: string | null | undefined;
|
|
3810
|
+
};
|
|
3811
|
+
id: string;
|
|
3812
|
+
userId: string;
|
|
3813
|
+
isRead: boolean;
|
|
3814
|
+
createdAt: string;
|
|
1907
3815
|
})[];
|
|
1908
3816
|
unreadCount: number;
|
|
1909
3817
|
loading: boolean;
|
|
@@ -1912,45 +3820,73 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
1912
3820
|
limit: number;
|
|
1913
3821
|
notificationTemplates?: {
|
|
1914
3822
|
entityComment?: {
|
|
1915
|
-
title?:
|
|
1916
|
-
content?:
|
|
3823
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
3824
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
1917
3825
|
} | undefined;
|
|
1918
3826
|
commentReply?: {
|
|
1919
|
-
title?:
|
|
1920
|
-
content?:
|
|
3827
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
3828
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
1921
3829
|
} | undefined;
|
|
1922
3830
|
entityMention?: {
|
|
1923
|
-
title?:
|
|
1924
|
-
content?:
|
|
3831
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
3832
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
1925
3833
|
} | undefined;
|
|
1926
3834
|
commentMention?: {
|
|
1927
|
-
title?:
|
|
1928
|
-
content?:
|
|
3835
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
3836
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
1929
3837
|
} | undefined;
|
|
1930
3838
|
entityUpvote?: {
|
|
1931
|
-
title?:
|
|
1932
|
-
content?:
|
|
3839
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
3840
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
1933
3841
|
} | undefined;
|
|
1934
3842
|
commentUpvote?: {
|
|
1935
|
-
title?:
|
|
1936
|
-
content?:
|
|
3843
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
3844
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
3845
|
+
} | undefined;
|
|
3846
|
+
entityReaction?: {
|
|
3847
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
3848
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
3849
|
+
} | undefined;
|
|
3850
|
+
commentReaction?: {
|
|
3851
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
3852
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
3853
|
+
} | undefined;
|
|
3854
|
+
entityReactionMilestoneSpecific?: {
|
|
3855
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3856
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3857
|
+
} | undefined;
|
|
3858
|
+
entityReactionMilestoneTotal?: {
|
|
3859
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
3860
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
3861
|
+
} | undefined;
|
|
3862
|
+
commentReactionMilestoneSpecific?: {
|
|
3863
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3864
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
3865
|
+
} | undefined;
|
|
3866
|
+
commentReactionMilestoneTotal?: {
|
|
3867
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
3868
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
1937
3869
|
} | undefined;
|
|
1938
3870
|
newFollow?: {
|
|
1939
|
-
title?:
|
|
1940
|
-
content?:
|
|
3871
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
3872
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
1941
3873
|
} | undefined;
|
|
1942
3874
|
connectionRequest?: {
|
|
1943
|
-
title?:
|
|
1944
|
-
content?:
|
|
3875
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
3876
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
1945
3877
|
} | undefined;
|
|
1946
3878
|
connectionAccepted?: {
|
|
1947
|
-
title?:
|
|
1948
|
-
content?:
|
|
3879
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
3880
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
3881
|
+
} | undefined;
|
|
3882
|
+
spaceMembershipApproved?: {
|
|
3883
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
3884
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
1949
3885
|
} | undefined;
|
|
1950
3886
|
} | undefined;
|
|
1951
3887
|
currentProjectId?: string | undefined;
|
|
1952
|
-
}) => void;
|
|
1953
|
-
|
|
3888
|
+
}, action: PayloadAction<number>) => void;
|
|
3889
|
+
handleError: (state: {
|
|
1954
3890
|
notifications: ({
|
|
1955
3891
|
type: "system";
|
|
1956
3892
|
action: string;
|
|
@@ -2079,118 +4015,14 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
2079
4015
|
isRead: boolean;
|
|
2080
4016
|
createdAt: string;
|
|
2081
4017
|
} | {
|
|
2082
|
-
type: "
|
|
2083
|
-
action: "open-
|
|
2084
|
-
metadata: {
|
|
2085
|
-
initiatorId: string;
|
|
2086
|
-
initiatorName: string | null | undefined;
|
|
2087
|
-
initiatorUsername: string | null | undefined;
|
|
2088
|
-
initiatorAvatar: string | null | undefined;
|
|
2089
|
-
};
|
|
2090
|
-
id: string;
|
|
2091
|
-
userId: string;
|
|
2092
|
-
isRead: boolean;
|
|
2093
|
-
createdAt: string;
|
|
2094
|
-
} | {
|
|
2095
|
-
type: "connection-request";
|
|
2096
|
-
action: "open-profile";
|
|
2097
|
-
metadata: {
|
|
2098
|
-
connectionId: string;
|
|
2099
|
-
initiatorId: string;
|
|
2100
|
-
initiatorName: string | null | undefined;
|
|
2101
|
-
initiatorUsername: string | null | undefined;
|
|
2102
|
-
initiatorAvatar: string | null | undefined;
|
|
2103
|
-
};
|
|
2104
|
-
id: string;
|
|
2105
|
-
userId: string;
|
|
2106
|
-
isRead: boolean;
|
|
2107
|
-
createdAt: string;
|
|
2108
|
-
} | {
|
|
2109
|
-
type: "connection-accepted";
|
|
2110
|
-
action: "open-profile";
|
|
2111
|
-
metadata: {
|
|
2112
|
-
connectionId: string;
|
|
2113
|
-
initiatorId: string;
|
|
2114
|
-
initiatorName: string | null | undefined;
|
|
2115
|
-
initiatorUsername: string | null | undefined;
|
|
2116
|
-
initiatorAvatar: string | null | undefined;
|
|
2117
|
-
};
|
|
2118
|
-
id: string;
|
|
2119
|
-
userId: string;
|
|
2120
|
-
isRead: boolean;
|
|
2121
|
-
createdAt: string;
|
|
2122
|
-
})[];
|
|
2123
|
-
unreadCount: number;
|
|
2124
|
-
loading: boolean;
|
|
2125
|
-
hasMore: boolean;
|
|
2126
|
-
page: number;
|
|
2127
|
-
limit: number;
|
|
2128
|
-
notificationTemplates?: {
|
|
2129
|
-
entityComment?: {
|
|
2130
|
-
title?: string | undefined;
|
|
2131
|
-
content?: string | undefined;
|
|
2132
|
-
} | undefined;
|
|
2133
|
-
commentReply?: {
|
|
2134
|
-
title?: string | undefined;
|
|
2135
|
-
content?: string | undefined;
|
|
2136
|
-
} | undefined;
|
|
2137
|
-
entityMention?: {
|
|
2138
|
-
title?: string | undefined;
|
|
2139
|
-
content?: string | undefined;
|
|
2140
|
-
} | undefined;
|
|
2141
|
-
commentMention?: {
|
|
2142
|
-
title?: string | undefined;
|
|
2143
|
-
content?: string | undefined;
|
|
2144
|
-
} | undefined;
|
|
2145
|
-
entityUpvote?: {
|
|
2146
|
-
title?: string | undefined;
|
|
2147
|
-
content?: string | undefined;
|
|
2148
|
-
} | undefined;
|
|
2149
|
-
commentUpvote?: {
|
|
2150
|
-
title?: string | undefined;
|
|
2151
|
-
content?: string | undefined;
|
|
2152
|
-
} | undefined;
|
|
2153
|
-
newFollow?: {
|
|
2154
|
-
title?: string | undefined;
|
|
2155
|
-
content?: string | undefined;
|
|
2156
|
-
} | undefined;
|
|
2157
|
-
connectionRequest?: {
|
|
2158
|
-
title?: string | undefined;
|
|
2159
|
-
content?: string | undefined;
|
|
2160
|
-
} | undefined;
|
|
2161
|
-
connectionAccepted?: {
|
|
2162
|
-
title?: string | undefined;
|
|
2163
|
-
content?: string | undefined;
|
|
2164
|
-
} | undefined;
|
|
2165
|
-
} | undefined;
|
|
2166
|
-
currentProjectId?: string | undefined;
|
|
2167
|
-
}, action: PayloadAction<number>) => void;
|
|
2168
|
-
handleError: (state: {
|
|
2169
|
-
notifications: ({
|
|
2170
|
-
type: "system";
|
|
2171
|
-
action: string;
|
|
2172
|
-
metadata: {
|
|
2173
|
-
title?: string | undefined;
|
|
2174
|
-
content?: string | undefined;
|
|
2175
|
-
buttonData: {
|
|
2176
|
-
text: string;
|
|
2177
|
-
url: string;
|
|
2178
|
-
} | null;
|
|
2179
|
-
};
|
|
2180
|
-
id: string;
|
|
2181
|
-
userId: string;
|
|
2182
|
-
isRead: boolean;
|
|
2183
|
-
createdAt: string;
|
|
2184
|
-
} | {
|
|
2185
|
-
type: "entity-comment";
|
|
2186
|
-
action: "open-comment";
|
|
4018
|
+
type: "entity-reaction";
|
|
4019
|
+
action: "open-entity";
|
|
2187
4020
|
metadata: {
|
|
2188
4021
|
entityId: string;
|
|
2189
4022
|
entityShortId: string;
|
|
2190
4023
|
entityTitle: string | null | undefined;
|
|
2191
4024
|
entityContent: string | null | undefined;
|
|
2192
|
-
|
|
2193
|
-
commentContent: string | null | undefined;
|
|
4025
|
+
reactionType: string;
|
|
2194
4026
|
initiatorId: string;
|
|
2195
4027
|
initiatorName: string | null | undefined;
|
|
2196
4028
|
initiatorUsername: string | null | undefined;
|
|
@@ -2201,7 +4033,7 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
2201
4033
|
isRead: boolean;
|
|
2202
4034
|
createdAt: string;
|
|
2203
4035
|
} | {
|
|
2204
|
-
type: "comment-
|
|
4036
|
+
type: "comment-reaction";
|
|
2205
4037
|
action: "open-comment";
|
|
2206
4038
|
metadata: {
|
|
2207
4039
|
entityId: string;
|
|
@@ -2210,8 +4042,7 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
2210
4042
|
entityContent: string | null | undefined;
|
|
2211
4043
|
commentId: string;
|
|
2212
4044
|
commentContent: string | null | undefined;
|
|
2213
|
-
|
|
2214
|
-
replyContent: string | null | undefined;
|
|
4045
|
+
reactionType: string;
|
|
2215
4046
|
initiatorId: string;
|
|
2216
4047
|
initiatorName: string | null | undefined;
|
|
2217
4048
|
initiatorUsername: string | null | undefined;
|
|
@@ -2222,60 +4053,74 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
2222
4053
|
isRead: boolean;
|
|
2223
4054
|
createdAt: string;
|
|
2224
4055
|
} | {
|
|
2225
|
-
type: "entity-
|
|
4056
|
+
type: "entity-reaction-milestone-specific";
|
|
2226
4057
|
action: "open-entity";
|
|
2227
4058
|
metadata: {
|
|
2228
4059
|
entityId: string;
|
|
2229
4060
|
entityShortId: string;
|
|
2230
4061
|
entityTitle: string | null | undefined;
|
|
2231
4062
|
entityContent: string | null | undefined;
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
4063
|
+
reactionType: string;
|
|
4064
|
+
milestoneCount: number;
|
|
4065
|
+
lastThreeUsers: {
|
|
4066
|
+
id: string;
|
|
4067
|
+
name: string | null | undefined;
|
|
4068
|
+
username: string | null | undefined;
|
|
4069
|
+
avatar: string | null | undefined;
|
|
4070
|
+
}[];
|
|
2236
4071
|
};
|
|
2237
4072
|
id: string;
|
|
2238
4073
|
userId: string;
|
|
2239
4074
|
isRead: boolean;
|
|
2240
4075
|
createdAt: string;
|
|
2241
4076
|
} | {
|
|
2242
|
-
type: "
|
|
2243
|
-
action: "open-
|
|
4077
|
+
type: "entity-reaction-milestone-total";
|
|
4078
|
+
action: "open-entity";
|
|
2244
4079
|
metadata: {
|
|
2245
4080
|
entityId: string;
|
|
2246
4081
|
entityShortId: string;
|
|
2247
4082
|
entityTitle: string | null | undefined;
|
|
2248
4083
|
entityContent: string | null | undefined;
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
4084
|
+
milestoneCount: number;
|
|
4085
|
+
reactionCounts: {
|
|
4086
|
+
[x: string]: number;
|
|
4087
|
+
};
|
|
4088
|
+
lastThreeUsers: {
|
|
4089
|
+
id: string;
|
|
4090
|
+
name: string | null | undefined;
|
|
4091
|
+
username: string | null | undefined;
|
|
4092
|
+
avatar: string | null | undefined;
|
|
4093
|
+
}[];
|
|
2255
4094
|
};
|
|
2256
4095
|
id: string;
|
|
2257
4096
|
userId: string;
|
|
2258
4097
|
isRead: boolean;
|
|
2259
4098
|
createdAt: string;
|
|
2260
4099
|
} | {
|
|
2261
|
-
type: "
|
|
2262
|
-
action: "open-
|
|
4100
|
+
type: "comment-reaction-milestone-specific";
|
|
4101
|
+
action: "open-comment";
|
|
2263
4102
|
metadata: {
|
|
2264
4103
|
entityId: string;
|
|
2265
4104
|
entityShortId: string;
|
|
2266
4105
|
entityTitle: string | null | undefined;
|
|
2267
4106
|
entityContent: string | null | undefined;
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
4107
|
+
commentId: string;
|
|
4108
|
+
commentContent: string | null | undefined;
|
|
4109
|
+
reactionType: string;
|
|
4110
|
+
milestoneCount: number;
|
|
4111
|
+
lastThreeUsers: {
|
|
4112
|
+
id: string;
|
|
4113
|
+
name: string | null | undefined;
|
|
4114
|
+
username: string | null | undefined;
|
|
4115
|
+
avatar: string | null | undefined;
|
|
4116
|
+
}[];
|
|
2272
4117
|
};
|
|
2273
4118
|
id: string;
|
|
2274
4119
|
userId: string;
|
|
2275
4120
|
isRead: boolean;
|
|
2276
4121
|
createdAt: string;
|
|
2277
4122
|
} | {
|
|
2278
|
-
type: "comment-
|
|
4123
|
+
type: "comment-reaction-milestone-total";
|
|
2279
4124
|
action: "open-comment";
|
|
2280
4125
|
metadata: {
|
|
2281
4126
|
entityId: string;
|
|
@@ -2284,10 +4129,16 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
2284
4129
|
entityContent: string | null | undefined;
|
|
2285
4130
|
commentId: string;
|
|
2286
4131
|
commentContent: string | null | undefined;
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
4132
|
+
milestoneCount: number;
|
|
4133
|
+
reactionCounts: {
|
|
4134
|
+
[x: string]: number;
|
|
4135
|
+
};
|
|
4136
|
+
lastThreeUsers: {
|
|
4137
|
+
id: string;
|
|
4138
|
+
name: string | null | undefined;
|
|
4139
|
+
username: string | null | undefined;
|
|
4140
|
+
avatar: string | null | undefined;
|
|
4141
|
+
}[];
|
|
2291
4142
|
};
|
|
2292
4143
|
id: string;
|
|
2293
4144
|
userId: string;
|
|
@@ -2334,6 +4185,20 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
2334
4185
|
userId: string;
|
|
2335
4186
|
isRead: boolean;
|
|
2336
4187
|
createdAt: string;
|
|
4188
|
+
} | {
|
|
4189
|
+
type: "space-membership-approved";
|
|
4190
|
+
action: "open-space";
|
|
4191
|
+
metadata: {
|
|
4192
|
+
spaceId: string;
|
|
4193
|
+
spaceName: string;
|
|
4194
|
+
spaceShortId: string;
|
|
4195
|
+
spaceSlug: string | null | undefined;
|
|
4196
|
+
spaceAvatar: string | null | undefined;
|
|
4197
|
+
};
|
|
4198
|
+
id: string;
|
|
4199
|
+
userId: string;
|
|
4200
|
+
isRead: boolean;
|
|
4201
|
+
createdAt: string;
|
|
2337
4202
|
})[];
|
|
2338
4203
|
unreadCount: number;
|
|
2339
4204
|
loading: boolean;
|
|
@@ -2342,40 +4207,68 @@ export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice<App
|
|
|
2342
4207
|
limit: number;
|
|
2343
4208
|
notificationTemplates?: {
|
|
2344
4209
|
entityComment?: {
|
|
2345
|
-
title?:
|
|
2346
|
-
content?:
|
|
4210
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
4211
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityCommentTemplateVars> | undefined;
|
|
2347
4212
|
} | undefined;
|
|
2348
4213
|
commentReply?: {
|
|
2349
|
-
title?:
|
|
2350
|
-
content?:
|
|
4214
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
4215
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReplyTemplateVars> | undefined;
|
|
2351
4216
|
} | undefined;
|
|
2352
4217
|
entityMention?: {
|
|
2353
|
-
title?:
|
|
2354
|
-
content?:
|
|
4218
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
4219
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityMentionTemplateVars> | undefined;
|
|
2355
4220
|
} | undefined;
|
|
2356
4221
|
commentMention?: {
|
|
2357
|
-
title?:
|
|
2358
|
-
content?:
|
|
4222
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
4223
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentMentionTemplateVars> | undefined;
|
|
2359
4224
|
} | undefined;
|
|
2360
4225
|
entityUpvote?: {
|
|
2361
|
-
title?:
|
|
2362
|
-
content?:
|
|
4226
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
4227
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityUpvoteTemplateVars> | undefined;
|
|
2363
4228
|
} | undefined;
|
|
2364
4229
|
commentUpvote?: {
|
|
2365
|
-
title?:
|
|
2366
|
-
content?:
|
|
4230
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
4231
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentUpvoteTemplateVars> | undefined;
|
|
4232
|
+
} | undefined;
|
|
4233
|
+
entityReaction?: {
|
|
4234
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
4235
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionTemplateVars> | undefined;
|
|
4236
|
+
} | undefined;
|
|
4237
|
+
commentReaction?: {
|
|
4238
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
4239
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionTemplateVars> | undefined;
|
|
4240
|
+
} | undefined;
|
|
4241
|
+
entityReactionMilestoneSpecific?: {
|
|
4242
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
4243
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneSpecificTemplateVars> | undefined;
|
|
4244
|
+
} | undefined;
|
|
4245
|
+
entityReactionMilestoneTotal?: {
|
|
4246
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
4247
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").EntityReactionMilestoneTotalTemplateVars> | undefined;
|
|
4248
|
+
} | undefined;
|
|
4249
|
+
commentReactionMilestoneSpecific?: {
|
|
4250
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
4251
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneSpecificTemplateVars> | undefined;
|
|
4252
|
+
} | undefined;
|
|
4253
|
+
commentReactionMilestoneTotal?: {
|
|
4254
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
4255
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").CommentReactionMilestoneTotalTemplateVars> | undefined;
|
|
2367
4256
|
} | undefined;
|
|
2368
4257
|
newFollow?: {
|
|
2369
|
-
title?:
|
|
2370
|
-
content?:
|
|
4258
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
4259
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").NewFollowTemplateVars> | undefined;
|
|
2371
4260
|
} | undefined;
|
|
2372
4261
|
connectionRequest?: {
|
|
2373
|
-
title?:
|
|
2374
|
-
content?:
|
|
4262
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
4263
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionRequestTemplateVars> | undefined;
|
|
2375
4264
|
} | undefined;
|
|
2376
4265
|
connectionAccepted?: {
|
|
2377
|
-
title?:
|
|
2378
|
-
content?:
|
|
4266
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
4267
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").ConnectionAcceptedTemplateVars> | undefined;
|
|
4268
|
+
} | undefined;
|
|
4269
|
+
spaceMembershipApproved?: {
|
|
4270
|
+
title?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
4271
|
+
content?: import("../../interfaces/models/AppNotification").TemplateField<import("../../interfaces/models/AppNotification").SpaceMembershipApprovedTemplateVars> | undefined;
|
|
2379
4272
|
} | undefined;
|
|
2380
4273
|
} | undefined;
|
|
2381
4274
|
currentProjectId?: string | undefined;
|
|
@@ -2389,26 +4282,26 @@ export declare const setProjectContext: import("@reduxjs/toolkit").ActionCreator
|
|
|
2389
4282
|
declare const _default: import("@reduxjs/toolkit").Reducer<AppNotificationsState>;
|
|
2390
4283
|
export default _default;
|
|
2391
4284
|
export declare const selectAppNotifications: (state: {
|
|
2392
|
-
|
|
4285
|
+
replyke: ReplykeState;
|
|
2393
4286
|
}) => UnifiedAppNotification[];
|
|
2394
4287
|
export declare const selectUnreadCount: (state: {
|
|
2395
|
-
|
|
4288
|
+
replyke: ReplykeState;
|
|
2396
4289
|
}) => number;
|
|
2397
4290
|
export declare const selectAppNotificationsLoading: (state: {
|
|
2398
|
-
|
|
4291
|
+
replyke: ReplykeState;
|
|
2399
4292
|
}) => boolean;
|
|
2400
4293
|
export declare const selectAppNotificationsHasMore: (state: {
|
|
2401
|
-
|
|
4294
|
+
replyke: ReplykeState;
|
|
2402
4295
|
}) => boolean;
|
|
2403
4296
|
export declare const selectAppNotificationsPage: (state: {
|
|
2404
|
-
|
|
4297
|
+
replyke: ReplykeState;
|
|
2405
4298
|
}) => number;
|
|
2406
4299
|
export declare const selectAppNotificationsLimit: (state: {
|
|
2407
|
-
|
|
4300
|
+
replyke: ReplykeState;
|
|
2408
4301
|
}) => number;
|
|
2409
4302
|
export declare const selectNotificationTemplates: (state: {
|
|
2410
|
-
|
|
4303
|
+
replyke: ReplykeState;
|
|
2411
4304
|
}) => Partial<NotificationTemplates> | undefined;
|
|
2412
4305
|
export declare const selectCurrentProjectId: (state: {
|
|
2413
|
-
|
|
4306
|
+
replyke: ReplykeState;
|
|
2414
4307
|
}) => string | undefined;
|