@replyke/core 7.0.0-beta.9 → 7.0.0-beta.91
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.js +1 -2
- package/dist/cjs/config/axios.js.map +1 -1
- package/dist/cjs/config/useAxiosPrivate.js +16 -10
- package/dist/cjs/config/useAxiosPrivate.js.map +1 -1
- package/dist/cjs/context/entity-context.d.ts +2 -2
- package/dist/cjs/context/entity-context.js +4 -4
- package/dist/cjs/context/entity-context.js.map +1 -1
- package/dist/cjs/context/index.d.ts +1 -0
- package/dist/cjs/context/index.js +3 -1
- package/dist/cjs/context/index.js.map +1 -1
- package/dist/cjs/context/replyke-integration-context.d.ts +52 -0
- package/dist/cjs/context/replyke-integration-context.js +92 -0
- package/dist/cjs/context/replyke-integration-context.js.map +1 -0
- package/dist/cjs/context/replyke-store-context.js +19 -7
- package/dist/cjs/context/replyke-store-context.js.map +1 -1
- package/dist/cjs/helpers/addNotificationsMessages.js +14 -1
- package/dist/cjs/helpers/addNotificationsMessages.js.map +1 -1
- package/dist/cjs/hooks/app-notifications/useAppNotifications.js +15 -39
- package/dist/cjs/hooks/app-notifications/useAppNotifications.js.map +1 -1
- package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.d.ts +3 -0
- package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js +14 -23
- package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
- package/dist/cjs/hooks/auth/index.d.ts +9 -1
- package/dist/cjs/hooks/auth/index.js +17 -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 +170 -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 +23 -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 +5 -5
- package/dist/cjs/hooks/auth/useAuth.js.map +1 -1
- package/dist/cjs/hooks/auth/useOAuthIdentities.d.ts +19 -0
- package/dist/cjs/hooks/{reports/useFetchSpaceReports.js → auth/useOAuthIdentities.js} +58 -41
- package/dist/cjs/hooks/auth/useOAuthIdentities.js.map +1 -0
- package/dist/cjs/hooks/auth/useRemoveAccount.d.ts +6 -0
- package/dist/cjs/hooks/auth/useRemoveAccount.js +128 -0
- package/dist/cjs/hooks/auth/useRemoveAccount.js.map +1 -0
- package/dist/cjs/hooks/auth/useRequestPasswordReset.d.ts +5 -0
- package/dist/cjs/hooks/{entities/useRemoveEntityDownvote.js → auth/useRequestPasswordReset.js} +13 -14
- package/dist/cjs/hooks/auth/useRequestPasswordReset.js.map +1 -0
- package/dist/cjs/hooks/auth/useSignOutAll.d.ts +4 -0
- package/dist/cjs/hooks/auth/useSignOutAll.js +71 -0
- package/dist/cjs/hooks/auth/useSignOutAll.js.map +1 -0
- package/dist/cjs/hooks/auth/useSwitchAccount.d.ts +6 -0
- package/dist/cjs/hooks/auth/useSwitchAccount.js +103 -0
- package/dist/cjs/hooks/auth/useSwitchAccount.js.map +1 -0
- package/dist/cjs/hooks/collections/index.d.ts +4 -0
- package/dist/cjs/hooks/collections/index.js +16 -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 +211 -0
- package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.js.map +1 -0
- package/dist/cjs/hooks/collections/useCollections.d.ts +48 -0
- package/dist/cjs/hooks/collections/useCollections.js +264 -0
- package/dist/cjs/hooks/collections/useCollections.js.map +1 -0
- package/dist/cjs/hooks/collections/useCollectionsActions.d.ts +21 -0
- package/dist/cjs/hooks/{lists/useListsActions.js → collections/useCollectionsActions.js} +114 -120
- package/dist/cjs/hooks/collections/useCollectionsActions.js.map +1 -0
- package/dist/cjs/hooks/{lists → collections}/useIsEntitySaved.d.ts +2 -2
- package/dist/cjs/hooks/{lists → collections}/useIsEntitySaved.js +3 -4
- package/dist/cjs/hooks/collections/useIsEntitySaved.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/useCommentSectionData.d.ts +16 -13
- package/dist/cjs/hooks/comments/useCommentSectionData.js +40 -12
- 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.map +1 -1
- package/dist/cjs/hooks/comments/useDeleteComment.d.ts +3 -2
- package/dist/cjs/hooks/comments/useDeleteComment.js.map +1 -1
- package/dist/cjs/hooks/comments/useEntityComments.d.ts +2 -1
- package/dist/cjs/hooks/comments/useEntityComments.js +2 -1
- 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 +7 -5
- 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 +9 -6
- package/dist/cjs/hooks/comments/useFetchCommentByForeignId.js.map +1 -1
- package/dist/cjs/hooks/comments/useFetchManyComments.d.ts +5 -4
- package/dist/cjs/hooks/comments/useFetchManyComments.js +9 -10
- 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/{useProfileComments.js → useFetchManyCommentsWrapper.js} +40 -18
- package/dist/cjs/hooks/comments/useFetchManyCommentsWrapper.js.map +1 -0
- package/dist/cjs/hooks/comments/useReplies.d.ts +3 -2
- package/dist/cjs/hooks/comments/useReplies.js +1 -0
- 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.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 +11 -14
- package/dist/cjs/hooks/crypto/useSignTestingJwt.js.map +1 -1
- package/dist/cjs/hooks/entities/index.d.ts +10 -5
- package/dist/cjs/hooks/entities/index.js +7 -11
- 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 +93 -15
- 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 +1 -3
- package/dist/cjs/hooks/entities/useDeleteEntity.js.map +1 -1
- package/dist/cjs/hooks/entities/useEntityData.d.ts +24 -12
- package/dist/cjs/hooks/entities/useEntityData.js +0 -19
- 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 +81 -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 +7 -7
- 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 +9 -18
- 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 +8 -18
- package/dist/cjs/hooks/entities/useFetchEntityByShortId.js.map +1 -1
- package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.d.ts +41 -0
- package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.js +241 -0
- package/dist/cjs/hooks/entities/useFetchManyEntitiesWrapper.js.map +1 -0
- package/dist/cjs/hooks/entities/usePublishDraft.d.ts +6 -0
- package/dist/cjs/hooks/entities/{useUpvoteEntity.js → usePublishDraft.js} +11 -11
- package/dist/cjs/hooks/entities/usePublishDraft.js.map +1 -0
- package/dist/cjs/hooks/entities/useUpdateEntity.js +7 -3
- package/dist/cjs/hooks/entities/useUpdateEntity.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/index.d.ts +1 -1
- package/dist/cjs/hooks/entity-lists/index.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/useEntityList.d.ts +18 -16
- package/dist/cjs/hooks/entity-lists/useEntityList.js +10 -10
- package/dist/cjs/hooks/entity-lists/useEntityList.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/useEntityListActions.js +2 -2
- 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 +0 -1
- package/dist/cjs/hooks/entity-lists/useInfusedData.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 +77 -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 +84 -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 +170 -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 +84 -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 +170 -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 +146 -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/{comments/useDownvoteComment.js → reactions/useRemoveReaction.js} +16 -13
- 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 +1 -1
- package/dist/cjs/hooks/relationships/connections/useAcceptConnection.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useConnectionManager.d.ts +2 -2
- package/dist/cjs/hooks/relationships/connections/useDeclineConnection.d.ts +3 -2
- package/dist/cjs/hooks/relationships/connections/useDeclineConnection.js +1 -1
- 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 +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionStatus.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnections.d.ts +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnections.js +0 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnections.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsByUserId.d.ts +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchConnectionsCount.js +1 -1
- 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/useFetchReceivedPendingConnections.d.ts +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchReceivedPendingConnections.js +0 -1
- package/dist/cjs/hooks/relationships/connections/useFetchReceivedPendingConnections.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchSentPendingConnections.d.ts +1 -1
- package/dist/cjs/hooks/relationships/connections/useFetchSentPendingConnections.js +0 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/hooks/relationships/connections/useRemoveConnectionByUserId.js.map +1 -1
- package/dist/cjs/hooks/relationships/connections/useRequestConnection.js +1 -1
- 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 +1 -3
- package/dist/cjs/hooks/relationships/follows/useFetchFollowStatus.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowers.js +0 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowers.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowersCount.js +1 -1
- 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.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowing.js +0 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowing.js.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFetchFollowingCount.js +1 -1
- 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.map +1 -1
- package/dist/cjs/hooks/relationships/follows/useFollowManager.d.ts +1 -1
- package/dist/cjs/hooks/relationships/follows/useFollowUser.d.ts +3 -2
- package/dist/cjs/hooks/relationships/follows/useFollowUser.js +1 -1
- 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 +1 -3
- 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 +1 -3
- 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 +3 -3
- 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 +91 -0
- package/dist/cjs/hooks/reports/useFetchModeratedReports.js.map +1 -0
- package/dist/cjs/hooks/reports/useHandleSpaceCommentReport.d.ts +5 -5
- package/dist/cjs/hooks/reports/useHandleSpaceCommentReport.js +2 -2
- package/dist/cjs/hooks/reports/useHandleSpaceEntityReport.d.ts +5 -5
- package/dist/cjs/hooks/reports/useHandleSpaceEntityReport.js +2 -2
- 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 +29 -14
- 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 +6 -3
- package/dist/cjs/hooks/space-lists/useSpaceListActions.js.map +1 -1
- package/dist/cjs/hooks/spaces/index.d.ts +27 -1
- package/dist/cjs/hooks/spaces/index.js +18 -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/{users/useUpdateUser.js → spaces/rules/useCreateRule.js} +18 -19
- 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 +74 -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/{comments/useUpvoteComment.js → spaces/rules/useFetchManyRules.js} +15 -15
- 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 +74 -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/{entities/useRemoveEntityUpvote.js → spaces/rules/useReorderRules.js} +18 -15
- 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/{comments/useRemoveCommentDownvote.js → spaces/rules/useUpdateRule.js} +18 -15
- 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.map +1 -1
- package/dist/cjs/hooks/spaces/useCheckMyMembership.d.ts +3 -2
- 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.map +1 -1
- package/dist/cjs/hooks/spaces/useCreateSpace.d.ts +7 -2
- package/dist/cjs/hooks/spaces/useCreateSpace.js +54 -3
- 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.map +1 -1
- package/dist/cjs/hooks/spaces/useDeleteSpace.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useDeleteSpace.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchManySpaces.d.ts +8 -4
- package/dist/cjs/hooks/spaces/useFetchManySpaces.js +13 -2
- 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 +6 -2
- 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.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.d.ts +5 -3
- package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js +7 -2
- 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 +7 -2
- package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceChildren.d.ts +4 -3
- package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js +8 -2
- 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 +2 -13
- package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceTeam.d.ts +6 -0
- package/dist/cjs/hooks/{entities/useDownvoteEntity.js → spaces/useFetchSpaceTeam.js} +17 -15
- 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/{useFetchMySpaces.js → useFetchUserSpaces.js} +31 -8
- 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.map +1 -1
- package/dist/cjs/hooks/spaces/useLeaveSpace.d.ts +3 -2
- 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 +85 -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 +85 -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.map +1 -1
- package/dist/cjs/hooks/spaces/useSpaceData.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useSpaceData.js +9 -4
- package/dist/cjs/hooks/spaces/useSpaceData.js.map +1 -1
- package/dist/cjs/hooks/spaces/useSpacePermissions.d.ts +2 -2
- package/dist/cjs/hooks/spaces/useUpdateMemberRole.d.ts +2 -2
- package/dist/cjs/hooks/spaces/useUpdateMemberRole.js.map +1 -1
- package/dist/cjs/hooks/spaces/useUpdateSpace.d.ts +7 -2
- package/dist/cjs/hooks/spaces/useUpdateSpace.js +49 -4
- 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 +22 -9
- package/dist/cjs/hooks/storage/useUploadFile.js.map +1 -1
- package/dist/cjs/hooks/storage/useUploadImage.d.ts +14 -0
- package/dist/cjs/hooks/storage/useUploadImage.js +158 -0
- package/dist/cjs/hooks/storage/useUploadImage.js.map +1 -0
- package/dist/cjs/hooks/user/index.d.ts +1 -0
- package/dist/cjs/hooks/user/useUser.js +8 -8
- package/dist/cjs/hooks/user/useUser.js.map +1 -1
- package/dist/cjs/hooks/user/useUserActions.js +18 -5
- package/dist/cjs/hooks/user/useUserActions.js.map +1 -1
- package/dist/cjs/hooks/users/index.d.ts +6 -6
- package/dist/cjs/hooks/users/index.js +3 -3
- 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.map +1 -1
- package/dist/cjs/hooks/users/useFetchUser.d.ts +5 -3
- package/dist/cjs/hooks/users/useFetchUser.js +6 -2
- 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 +5 -2
- package/dist/cjs/hooks/users/useFetchUserByForeignId.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUserByUsername.d.ts +7 -0
- package/dist/cjs/hooks/{comments/useRemoveCommentUpvote.js → users/useFetchUserByUsername.js} +17 -13
- package/dist/cjs/hooks/users/useFetchUserByUsername.js.map +1 -0
- package/dist/cjs/hooks/users/useFetchUserSuggestions.d.ts +3 -2
- package/dist/cjs/hooks/users/useFetchUserSuggestions.js.map +1 -1
- package/dist/cjs/hooks/users/useMentions.d.ts +3 -2
- package/dist/cjs/hooks/users/useMentions.js.map +1 -1
- 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 +4 -3
- package/dist/cjs/hooks/utils/useGetMetadata.js.map +1 -1
- package/dist/cjs/index.d.ts +36 -25
- package/dist/cjs/index.js +70 -23
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/IAccountStorage.d.ts +6 -0
- package/dist/cjs/interfaces/IAccountStorage.js +3 -0
- package/dist/cjs/interfaces/IAccountStorage.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 +36 -2
- package/dist/cjs/interfaces/models/{List.d.ts → 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 +13 -1
- package/dist/cjs/interfaces/models/Entity.d.ts +14 -1
- package/dist/cjs/interfaces/models/File.d.ts +38 -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/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 +12 -5
- package/dist/cjs/interfaces/models/SpaceMember.d.ts +3 -0
- package/dist/cjs/interfaces/models/User.d.ts +10 -3
- package/dist/cjs/store/api/appNotificationsApi.d.ts +181 -181
- package/dist/cjs/store/api/baseApi.d.ts +3 -1
- package/dist/cjs/store/api/baseApi.js +10 -6
- 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 +244 -0
- package/dist/cjs/store/api/collectionsApi.js.map +1 -0
- package/dist/cjs/store/api/entityListsApi.d.ts +107 -107
- 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 +968 -960
- package/dist/cjs/store/api/spacesApi.js +30 -12
- 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 +62 -11
- package/dist/cjs/store/api/userApi.js.map +1 -1
- package/dist/cjs/store/hooks.d.ts +27 -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 +19 -11
- package/dist/cjs/store/index.js +4 -1
- package/dist/cjs/store/index.js.map +1 -1
- package/dist/cjs/store/integration.d.ts +35 -0
- package/dist/cjs/store/integration.js +61 -0
- package/dist/cjs/store/integration.js.map +1 -0
- package/dist/cjs/store/replykeReducers.d.ts +38 -0
- package/dist/cjs/store/replykeReducers.js +44 -0
- package/dist/cjs/store/replykeReducers.js.map +1 -0
- package/dist/cjs/store/rootReducer.d.ts +30 -14
- package/dist/cjs/store/rootReducer.js +6 -19
- 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 +71 -0
- package/dist/cjs/store/slices/accountsSlice.js.map +1 -0
- package/dist/cjs/store/slices/appNotificationsSlice.d.ts +515 -8
- package/dist/cjs/store/slices/appNotificationsSlice.js +9 -9
- 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 +19 -7
- 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 +168 -58
- package/dist/cjs/store/slices/authThunks.js.map +1 -1
- package/dist/cjs/store/slices/collectionsSlice.d.ts +428 -0
- package/dist/cjs/store/slices/collectionsSlice.js +211 -0
- package/dist/cjs/store/slices/collectionsSlice.js.map +1 -0
- package/dist/cjs/store/slices/entityListsSlice.d.ts +3838 -147
- package/dist/cjs/store/slices/entityListsSlice.js +2 -2
- package/dist/cjs/store/slices/entityListsSlice.js.map +1 -1
- package/dist/cjs/store/slices/spaceListsSlice.d.ts +1136 -65
- package/dist/cjs/store/slices/spaceListsSlice.js +14 -5
- package/dist/cjs/store/slices/spaceListsSlice.js.map +1 -1
- package/dist/cjs/store/slices/userSlice.d.ts +715 -7
- package/dist/cjs/store/slices/userSlice.js +22 -10
- package/dist/cjs/store/slices/userSlice.js.map +1 -1
- package/dist/cjs/store/types/index.d.ts +5 -1
- package/dist/cjs/utils/env.js +3 -3
- package/dist/cjs/utils/env.js.map +1 -1
- package/dist/esm/config/axios.js +1 -2
- package/dist/esm/config/axios.js.map +1 -1
- package/dist/esm/config/useAxiosPrivate.js +16 -10
- package/dist/esm/config/useAxiosPrivate.js.map +1 -1
- package/dist/esm/context/entity-context.d.ts +2 -2
- package/dist/esm/context/entity-context.js +4 -4
- package/dist/esm/context/entity-context.js.map +1 -1
- package/dist/esm/context/index.d.ts +1 -0
- package/dist/esm/context/index.js +1 -0
- package/dist/esm/context/index.js.map +1 -1
- package/dist/esm/context/replyke-integration-context.d.ts +52 -0
- package/dist/esm/context/replyke-integration-context.js +85 -0
- package/dist/esm/context/replyke-integration-context.js.map +1 -0
- package/dist/esm/context/replyke-store-context.js +21 -9
- package/dist/esm/context/replyke-store-context.js.map +1 -1
- package/dist/esm/helpers/addNotificationsMessages.js +14 -1
- package/dist/esm/helpers/addNotificationsMessages.js.map +1 -1
- package/dist/esm/hooks/app-notifications/useAppNotifications.js +16 -40
- package/dist/esm/hooks/app-notifications/useAppNotifications.js.map +1 -1
- package/dist/esm/hooks/app-notifications/useAppNotificationsActions.d.ts +3 -0
- package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js +15 -24
- package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
- package/dist/esm/hooks/auth/index.d.ts +9 -1
- package/dist/esm/hooks/auth/index.js +8 -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 +167 -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 +20 -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 +5 -5
- package/dist/esm/hooks/auth/useAuth.js.map +1 -1
- package/dist/esm/hooks/auth/useOAuthIdentities.d.ts +19 -0
- package/dist/esm/hooks/{reports/useFetchSpaceReports.js → auth/useOAuthIdentities.js} +59 -42
- package/dist/esm/hooks/auth/useOAuthIdentities.js.map +1 -0
- package/dist/esm/hooks/auth/useRemoveAccount.d.ts +6 -0
- package/dist/esm/hooks/auth/useRemoveAccount.js +122 -0
- package/dist/esm/hooks/auth/useRemoveAccount.js.map +1 -0
- package/dist/esm/hooks/auth/useRequestPasswordReset.d.ts +5 -0
- package/dist/esm/hooks/{entities/useRemoveEntityDownvote.js → auth/useRequestPasswordReset.js} +13 -14
- package/dist/esm/hooks/auth/useRequestPasswordReset.js.map +1 -0
- package/dist/esm/hooks/auth/useSignOutAll.d.ts +4 -0
- package/dist/esm/hooks/auth/useSignOutAll.js +65 -0
- package/dist/esm/hooks/auth/useSignOutAll.js.map +1 -0
- package/dist/esm/hooks/auth/useSwitchAccount.d.ts +6 -0
- package/dist/esm/hooks/auth/useSwitchAccount.js +97 -0
- package/dist/esm/hooks/auth/useSwitchAccount.js.map +1 -0
- package/dist/esm/hooks/collections/index.d.ts +4 -0
- package/dist/esm/hooks/collections/index.js +6 -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 +206 -0
- package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.js.map +1 -0
- package/dist/esm/hooks/collections/useCollections.d.ts +48 -0
- package/dist/esm/hooks/collections/useCollections.js +259 -0
- package/dist/esm/hooks/collections/useCollections.js.map +1 -0
- package/dist/esm/hooks/collections/useCollectionsActions.d.ts +21 -0
- package/dist/esm/hooks/{lists/useListsActions.js → collections/useCollectionsActions.js} +105 -111
- package/dist/esm/hooks/collections/useCollectionsActions.js.map +1 -0
- package/dist/esm/hooks/{lists → collections}/useIsEntitySaved.d.ts +2 -2
- package/dist/esm/hooks/{lists → collections}/useIsEntitySaved.js +3 -4
- package/dist/esm/hooks/collections/useIsEntitySaved.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 +16 -13
- package/dist/esm/hooks/comments/useCommentSectionData.js +40 -12
- 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.map +1 -1
- package/dist/esm/hooks/comments/useDeleteComment.d.ts +3 -2
- package/dist/esm/hooks/comments/useDeleteComment.js.map +1 -1
- package/dist/esm/hooks/comments/useEntityComments.d.ts +2 -1
- package/dist/esm/hooks/comments/useEntityComments.js +2 -1
- 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 +7 -5
- 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 +9 -6
- package/dist/esm/hooks/comments/useFetchCommentByForeignId.js.map +1 -1
- package/dist/esm/hooks/comments/useFetchManyComments.d.ts +5 -4
- package/dist/esm/hooks/comments/useFetchManyComments.js +8 -9
- 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/{useProfileComments.js → useFetchManyCommentsWrapper.js} +40 -18
- package/dist/esm/hooks/comments/useFetchManyCommentsWrapper.js.map +1 -0
- package/dist/esm/hooks/comments/useReplies.d.ts +3 -2
- package/dist/esm/hooks/comments/useReplies.js +1 -0
- 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.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 +11 -14
- package/dist/esm/hooks/crypto/useSignTestingJwt.js.map +1 -1
- package/dist/esm/hooks/entities/index.d.ts +10 -5
- package/dist/esm/hooks/entities/index.js +3 -5
- 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 +93 -15
- 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 +1 -3
- package/dist/esm/hooks/entities/useDeleteEntity.js.map +1 -1
- package/dist/esm/hooks/entities/useEntityData.d.ts +24 -12
- package/dist/esm/hooks/entities/useEntityData.js +0 -19
- 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 +76 -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 +6 -6
- 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 +8 -17
- 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 +7 -17
- package/dist/esm/hooks/entities/useFetchEntityByShortId.js.map +1 -1
- package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.d.ts +41 -0
- package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.js +236 -0
- package/dist/esm/hooks/entities/useFetchManyEntitiesWrapper.js.map +1 -0
- package/dist/esm/hooks/entities/usePublishDraft.d.ts +6 -0
- package/dist/esm/hooks/entities/{useUpvoteEntity.js → usePublishDraft.js} +11 -11
- package/dist/esm/hooks/entities/usePublishDraft.js.map +1 -0
- package/dist/esm/hooks/entities/useUpdateEntity.js +7 -3
- package/dist/esm/hooks/entities/useUpdateEntity.js.map +1 -1
- package/dist/esm/hooks/entity-lists/index.d.ts +1 -1
- package/dist/esm/hooks/entity-lists/index.js.map +1 -1
- package/dist/esm/hooks/entity-lists/useEntityList.d.ts +18 -16
- package/dist/esm/hooks/entity-lists/useEntityList.js +10 -10
- package/dist/esm/hooks/entity-lists/useEntityList.js.map +1 -1
- package/dist/esm/hooks/entity-lists/useEntityListActions.js +2 -2
- 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 +0 -1
- package/dist/esm/hooks/entity-lists/useInfusedData.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 +72 -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 +79 -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 +165 -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 +79 -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 +165 -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 +141 -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/{comments/useDownvoteComment.js → reactions/useRemoveReaction.js} +16 -13
- 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 +1 -1
- package/dist/esm/hooks/relationships/connections/useAcceptConnection.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useConnectionManager.d.ts +2 -2
- package/dist/esm/hooks/relationships/connections/useDeclineConnection.d.ts +3 -2
- package/dist/esm/hooks/relationships/connections/useDeclineConnection.js +1 -1
- 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 +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnectionStatus.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnections.d.ts +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnections.js +0 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnections.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsByUserId.d.ts +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchConnectionsCount.js +1 -1
- 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/useFetchReceivedPendingConnections.d.ts +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchReceivedPendingConnections.js +0 -1
- package/dist/esm/hooks/relationships/connections/useFetchReceivedPendingConnections.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchSentPendingConnections.d.ts +1 -1
- package/dist/esm/hooks/relationships/connections/useFetchSentPendingConnections.js +0 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/hooks/relationships/connections/useRemoveConnectionByUserId.js.map +1 -1
- package/dist/esm/hooks/relationships/connections/useRequestConnection.js +1 -1
- 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 +1 -3
- package/dist/esm/hooks/relationships/follows/useFetchFollowStatus.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowers.js +0 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowers.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowersCount.js +1 -1
- 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.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowing.js +0 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowing.js.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFetchFollowingCount.js +1 -1
- 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.map +1 -1
- package/dist/esm/hooks/relationships/follows/useFollowManager.d.ts +1 -1
- package/dist/esm/hooks/relationships/follows/useFollowUser.d.ts +3 -2
- package/dist/esm/hooks/relationships/follows/useFollowUser.js +1 -1
- 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 +1 -3
- 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 +1 -3
- 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 +3 -3
- 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 +86 -0
- package/dist/esm/hooks/reports/useFetchModeratedReports.js.map +1 -0
- package/dist/esm/hooks/reports/useHandleSpaceCommentReport.d.ts +5 -5
- package/dist/esm/hooks/reports/useHandleSpaceCommentReport.js +2 -2
- package/dist/esm/hooks/reports/useHandleSpaceEntityReport.d.ts +5 -5
- package/dist/esm/hooks/reports/useHandleSpaceEntityReport.js +2 -2
- 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 +29 -14
- 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 +6 -3
- package/dist/esm/hooks/space-lists/useSpaceListActions.js.map +1 -1
- package/dist/esm/hooks/spaces/index.d.ts +27 -1
- package/dist/esm/hooks/spaces/index.js +7 -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 +72 -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 +69 -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/{comments/useUpvoteComment.js → spaces/rules/useFetchManyRules.js} +15 -15
- 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/{entities/useRemoveEntityUpvote.js → spaces/rules/useFetchRule.js} +18 -15
- 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/{comments/useRemoveCommentDownvote.js → spaces/rules/useReorderRules.js} +18 -15
- 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/{users/useUpdateUser.js → spaces/rules/useUpdateRule.js} +15 -19
- 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.map +1 -1
- package/dist/esm/hooks/spaces/useCheckMyMembership.d.ts +3 -2
- 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.map +1 -1
- package/dist/esm/hooks/spaces/useCreateSpace.d.ts +7 -2
- package/dist/esm/hooks/spaces/useCreateSpace.js +54 -3
- 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.map +1 -1
- package/dist/esm/hooks/spaces/useDeleteSpace.d.ts +3 -2
- package/dist/esm/hooks/spaces/useDeleteSpace.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchManySpaces.d.ts +8 -4
- package/dist/esm/hooks/spaces/useFetchManySpaces.js +13 -2
- 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 +6 -2
- 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.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceByShortId.d.ts +5 -3
- package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js +7 -2
- 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 +7 -2
- package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceChildren.d.ts +4 -3
- package/dist/esm/hooks/spaces/useFetchSpaceChildren.js +8 -2
- 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 +2 -13
- package/dist/esm/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceTeam.d.ts +6 -0
- package/dist/esm/hooks/{entities/useDownvoteEntity.js → spaces/useFetchSpaceTeam.js} +17 -15
- 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/{useFetchMySpaces.js → useFetchUserSpaces.js} +31 -8
- 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.map +1 -1
- package/dist/esm/hooks/spaces/useLeaveSpace.d.ts +3 -2
- 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 +80 -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 +80 -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.map +1 -1
- package/dist/esm/hooks/spaces/useSpaceData.d.ts +3 -2
- package/dist/esm/hooks/spaces/useSpaceData.js +10 -5
- package/dist/esm/hooks/spaces/useSpaceData.js.map +1 -1
- package/dist/esm/hooks/spaces/useSpacePermissions.d.ts +2 -2
- package/dist/esm/hooks/spaces/useUpdateMemberRole.d.ts +2 -2
- package/dist/esm/hooks/spaces/useUpdateMemberRole.js.map +1 -1
- package/dist/esm/hooks/spaces/useUpdateSpace.d.ts +7 -2
- package/dist/esm/hooks/spaces/useUpdateSpace.js +49 -4
- 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 +22 -9
- package/dist/esm/hooks/storage/useUploadFile.js.map +1 -1
- package/dist/esm/hooks/storage/useUploadImage.d.ts +14 -0
- package/dist/esm/hooks/storage/useUploadImage.js +153 -0
- package/dist/esm/hooks/storage/useUploadImage.js.map +1 -0
- package/dist/esm/hooks/user/index.d.ts +1 -0
- package/dist/esm/hooks/user/useUser.js +8 -8
- package/dist/esm/hooks/user/useUser.js.map +1 -1
- package/dist/esm/hooks/user/useUserActions.js +19 -6
- package/dist/esm/hooks/user/useUserActions.js.map +1 -1
- package/dist/esm/hooks/users/index.d.ts +6 -6
- package/dist/esm/hooks/users/index.js +6 -6
- 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.map +1 -1
- package/dist/esm/hooks/users/useFetchUser.d.ts +5 -3
- package/dist/esm/hooks/users/useFetchUser.js +6 -2
- 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 +5 -2
- package/dist/esm/hooks/users/useFetchUserByForeignId.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUserByUsername.d.ts +7 -0
- package/dist/esm/hooks/{comments/useRemoveCommentUpvote.js → users/useFetchUserByUsername.js} +17 -13
- package/dist/esm/hooks/users/useFetchUserByUsername.js.map +1 -0
- package/dist/esm/hooks/users/useFetchUserSuggestions.d.ts +3 -2
- package/dist/esm/hooks/users/useFetchUserSuggestions.js.map +1 -1
- package/dist/esm/hooks/users/useMentions.d.ts +3 -2
- package/dist/esm/hooks/users/useMentions.js.map +1 -1
- 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 +3 -2
- package/dist/esm/hooks/utils/useGetMetadata.js.map +1 -1
- package/dist/esm/index.d.ts +36 -25
- package/dist/esm/index.js +25 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/IAccountStorage.d.ts +6 -0
- package/dist/esm/interfaces/IAccountStorage.js +2 -0
- package/dist/esm/interfaces/IAccountStorage.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 +36 -2
- package/dist/esm/interfaces/models/{List.d.ts → 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 +13 -1
- package/dist/esm/interfaces/models/Entity.d.ts +14 -1
- package/dist/esm/interfaces/models/File.d.ts +38 -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/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 +12 -5
- package/dist/esm/interfaces/models/SpaceMember.d.ts +3 -0
- package/dist/esm/interfaces/models/User.d.ts +10 -3
- package/dist/esm/store/api/appNotificationsApi.d.ts +181 -181
- package/dist/esm/store/api/baseApi.d.ts +3 -1
- package/dist/esm/store/api/baseApi.js +9 -5
- 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 +241 -0
- package/dist/esm/store/api/collectionsApi.js.map +1 -0
- package/dist/esm/store/api/entityListsApi.d.ts +107 -107
- 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 +968 -960
- package/dist/esm/store/api/spacesApi.js +29 -11
- 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 +62 -11
- package/dist/esm/store/api/userApi.js.map +1 -1
- package/dist/esm/store/hooks.d.ts +27 -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 +19 -11
- package/dist/esm/store/index.js +4 -1
- package/dist/esm/store/index.js.map +1 -1
- package/dist/esm/store/integration.d.ts +35 -0
- package/dist/esm/store/integration.js +53 -0
- package/dist/esm/store/integration.js.map +1 -0
- package/dist/esm/store/replykeReducers.d.ts +38 -0
- package/dist/esm/store/replykeReducers.js +38 -0
- package/dist/esm/store/replykeReducers.js.map +1 -0
- package/dist/esm/store/rootReducer.d.ts +30 -14
- package/dist/esm/store/rootReducer.js +6 -16
- 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 +64 -0
- package/dist/esm/store/slices/accountsSlice.js.map +1 -0
- package/dist/esm/store/slices/appNotificationsSlice.d.ts +515 -8
- package/dist/esm/store/slices/appNotificationsSlice.js +9 -9
- 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 -7
- 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 +167 -57
- package/dist/esm/store/slices/authThunks.js.map +1 -1
- package/dist/esm/store/slices/collectionsSlice.d.ts +428 -0
- package/dist/esm/store/slices/collectionsSlice.js +202 -0
- package/dist/esm/store/slices/collectionsSlice.js.map +1 -0
- package/dist/esm/store/slices/entityListsSlice.d.ts +3838 -147
- package/dist/esm/store/slices/entityListsSlice.js +2 -2
- package/dist/esm/store/slices/entityListsSlice.js.map +1 -1
- package/dist/esm/store/slices/spaceListsSlice.d.ts +1136 -65
- package/dist/esm/store/slices/spaceListsSlice.js +14 -5
- package/dist/esm/store/slices/spaceListsSlice.js.map +1 -1
- package/dist/esm/store/slices/userSlice.d.ts +715 -7
- package/dist/esm/store/slices/userSlice.js +22 -10
- package/dist/esm/store/slices/userSlice.js.map +1 -1
- package/dist/esm/store/types/index.d.ts +5 -1
- package/dist/esm/utils/env.js +3 -3
- package/dist/esm/utils/env.js.map +1 -1
- package/package.json +7 -5
- 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.map +0 -1
- package/dist/cjs/hooks/comments/useProfileComments.d.ts +0 -18
- 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.map +0 -1
- package/dist/cjs/hooks/comments/useRemoveCommentUpvote.d.ts +0 -5
- 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.map +0 -1
- package/dist/cjs/hooks/entities/useDownvoteEntity.d.ts +0 -5
- 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/useRemoveEntityDownvote.d.ts +0 -5
- 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.map +0 -1
- package/dist/cjs/hooks/entities/useUpvoteEntity.d.ts +0 -5
- 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.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.map +0 -1
- package/dist/cjs/hooks/reports/useFetchSpaceReports.d.ts +0 -39
- 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.map +0 -1
- package/dist/cjs/hooks/users/useUpdateUser.d.ts +0 -18
- package/dist/cjs/hooks/users/useUpdateUser.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.map +0 -1
- package/dist/esm/hooks/comments/useProfileComments.d.ts +0 -18
- 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.map +0 -1
- package/dist/esm/hooks/comments/useRemoveCommentUpvote.d.ts +0 -5
- 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.map +0 -1
- package/dist/esm/hooks/entities/useDownvoteEntity.d.ts +0 -5
- 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/useRemoveEntityDownvote.d.ts +0 -5
- 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.map +0 -1
- package/dist/esm/hooks/entities/useUpvoteEntity.d.ts +0 -5
- 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.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.map +0 -1
- package/dist/esm/hooks/reports/useFetchSpaceReports.d.ts +0 -39
- 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.map +0 -1
- package/dist/esm/hooks/users/useUpdateUser.d.ts +0 -18
- package/dist/esm/hooks/users/useUpdateUser.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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ReplykeState } from '../replykeReducers';
|
|
3
3
|
import type { AuthUser } from '../../interfaces/models/User';
|
|
4
4
|
export interface UserState {
|
|
5
5
|
user: AuthUser | null;
|
|
@@ -19,8 +19,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
19
19
|
name: string | null;
|
|
20
20
|
username: string | null;
|
|
21
21
|
avatar: string | null;
|
|
22
|
+
avatarFileId: string | null;
|
|
23
|
+
bannerFileId: string | null;
|
|
24
|
+
avatarFile?: {
|
|
25
|
+
id: string;
|
|
26
|
+
projectId: string;
|
|
27
|
+
userId: string | null;
|
|
28
|
+
entityId: string | null;
|
|
29
|
+
commentId: string | null;
|
|
30
|
+
spaceId: string | null;
|
|
31
|
+
type: "image" | "video" | "document" | "other";
|
|
32
|
+
originalPath: string;
|
|
33
|
+
originalSize: number;
|
|
34
|
+
originalMimeType: string;
|
|
35
|
+
position: number;
|
|
36
|
+
metadata: {
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
};
|
|
39
|
+
image?: {
|
|
40
|
+
fileId: string;
|
|
41
|
+
originalWidth: number;
|
|
42
|
+
originalHeight: number;
|
|
43
|
+
variants: {
|
|
44
|
+
[x: string]: {
|
|
45
|
+
path: string;
|
|
46
|
+
publicPath: string;
|
|
47
|
+
width: number;
|
|
48
|
+
height: number;
|
|
49
|
+
size: number;
|
|
50
|
+
format: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
processingStatus: "completed" | "failed";
|
|
54
|
+
processingError: string | null;
|
|
55
|
+
format: string;
|
|
56
|
+
quality: number;
|
|
57
|
+
exifStripped: boolean;
|
|
58
|
+
createdAt: Date;
|
|
59
|
+
updatedAt: Date;
|
|
60
|
+
} | undefined;
|
|
61
|
+
createdAt: Date;
|
|
62
|
+
updatedAt: Date;
|
|
63
|
+
} | null | undefined;
|
|
64
|
+
bannerFile?: {
|
|
65
|
+
id: string;
|
|
66
|
+
projectId: string;
|
|
67
|
+
userId: string | null;
|
|
68
|
+
entityId: string | null;
|
|
69
|
+
commentId: string | null;
|
|
70
|
+
spaceId: string | null;
|
|
71
|
+
type: "image" | "video" | "document" | "other";
|
|
72
|
+
originalPath: string;
|
|
73
|
+
originalSize: number;
|
|
74
|
+
originalMimeType: string;
|
|
75
|
+
position: number;
|
|
76
|
+
metadata: {
|
|
77
|
+
[x: string]: any;
|
|
78
|
+
};
|
|
79
|
+
image?: {
|
|
80
|
+
fileId: string;
|
|
81
|
+
originalWidth: number;
|
|
82
|
+
originalHeight: number;
|
|
83
|
+
variants: {
|
|
84
|
+
[x: string]: {
|
|
85
|
+
path: string;
|
|
86
|
+
publicPath: string;
|
|
87
|
+
width: number;
|
|
88
|
+
height: number;
|
|
89
|
+
size: number;
|
|
90
|
+
format: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
processingStatus: "completed" | "failed";
|
|
94
|
+
processingError: string | null;
|
|
95
|
+
format: string;
|
|
96
|
+
quality: number;
|
|
97
|
+
exifStripped: boolean;
|
|
98
|
+
createdAt: Date;
|
|
99
|
+
updatedAt: Date;
|
|
100
|
+
} | undefined;
|
|
101
|
+
createdAt: Date;
|
|
102
|
+
updatedAt: Date;
|
|
103
|
+
} | null | undefined;
|
|
22
104
|
bio: string | null;
|
|
23
105
|
birthdate: Date | null;
|
|
106
|
+
location: {
|
|
107
|
+
type: "Point";
|
|
108
|
+
coordinates: [number, number];
|
|
109
|
+
} | null;
|
|
24
110
|
metadata: {
|
|
25
111
|
[x: string]: any;
|
|
26
112
|
};
|
|
@@ -29,6 +115,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
29
115
|
isActive: boolean;
|
|
30
116
|
lastActive: Date;
|
|
31
117
|
createdAt: Date;
|
|
118
|
+
updatedAt: Date;
|
|
32
119
|
suspensions: {
|
|
33
120
|
reason: string | null;
|
|
34
121
|
startDate: Date;
|
|
@@ -50,8 +137,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
50
137
|
name: string | null;
|
|
51
138
|
username: string | null;
|
|
52
139
|
avatar: string | null;
|
|
140
|
+
avatarFileId: string | null;
|
|
141
|
+
bannerFileId: string | null;
|
|
142
|
+
avatarFile?: {
|
|
143
|
+
id: string;
|
|
144
|
+
projectId: string;
|
|
145
|
+
userId: string | null;
|
|
146
|
+
entityId: string | null;
|
|
147
|
+
commentId: string | null;
|
|
148
|
+
spaceId: string | null;
|
|
149
|
+
type: "image" | "video" | "document" | "other";
|
|
150
|
+
originalPath: string;
|
|
151
|
+
originalSize: number;
|
|
152
|
+
originalMimeType: string;
|
|
153
|
+
position: number;
|
|
154
|
+
metadata: {
|
|
155
|
+
[x: string]: any;
|
|
156
|
+
};
|
|
157
|
+
image?: {
|
|
158
|
+
fileId: string;
|
|
159
|
+
originalWidth: number;
|
|
160
|
+
originalHeight: number;
|
|
161
|
+
variants: {
|
|
162
|
+
[x: string]: {
|
|
163
|
+
path: string;
|
|
164
|
+
publicPath: string;
|
|
165
|
+
width: number;
|
|
166
|
+
height: number;
|
|
167
|
+
size: number;
|
|
168
|
+
format: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
processingStatus: "completed" | "failed";
|
|
172
|
+
processingError: string | null;
|
|
173
|
+
format: string;
|
|
174
|
+
quality: number;
|
|
175
|
+
exifStripped: boolean;
|
|
176
|
+
createdAt: Date;
|
|
177
|
+
updatedAt: Date;
|
|
178
|
+
} | undefined;
|
|
179
|
+
createdAt: Date;
|
|
180
|
+
updatedAt: Date;
|
|
181
|
+
} | null | undefined;
|
|
182
|
+
bannerFile?: {
|
|
183
|
+
id: string;
|
|
184
|
+
projectId: string;
|
|
185
|
+
userId: string | null;
|
|
186
|
+
entityId: string | null;
|
|
187
|
+
commentId: string | null;
|
|
188
|
+
spaceId: string | null;
|
|
189
|
+
type: "image" | "video" | "document" | "other";
|
|
190
|
+
originalPath: string;
|
|
191
|
+
originalSize: number;
|
|
192
|
+
originalMimeType: string;
|
|
193
|
+
position: number;
|
|
194
|
+
metadata: {
|
|
195
|
+
[x: string]: any;
|
|
196
|
+
};
|
|
197
|
+
image?: {
|
|
198
|
+
fileId: string;
|
|
199
|
+
originalWidth: number;
|
|
200
|
+
originalHeight: number;
|
|
201
|
+
variants: {
|
|
202
|
+
[x: string]: {
|
|
203
|
+
path: string;
|
|
204
|
+
publicPath: string;
|
|
205
|
+
width: number;
|
|
206
|
+
height: number;
|
|
207
|
+
size: number;
|
|
208
|
+
format: string;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
processingStatus: "completed" | "failed";
|
|
212
|
+
processingError: string | null;
|
|
213
|
+
format: string;
|
|
214
|
+
quality: number;
|
|
215
|
+
exifStripped: boolean;
|
|
216
|
+
createdAt: Date;
|
|
217
|
+
updatedAt: Date;
|
|
218
|
+
} | undefined;
|
|
219
|
+
createdAt: Date;
|
|
220
|
+
updatedAt: Date;
|
|
221
|
+
} | null | undefined;
|
|
53
222
|
bio: string | null;
|
|
54
223
|
birthdate: Date | null;
|
|
224
|
+
location: {
|
|
225
|
+
type: "Point";
|
|
226
|
+
coordinates: [number, number];
|
|
227
|
+
} | null;
|
|
55
228
|
metadata: {
|
|
56
229
|
[x: string]: any;
|
|
57
230
|
};
|
|
@@ -60,6 +233,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
60
233
|
isActive: boolean;
|
|
61
234
|
lastActive: Date;
|
|
62
235
|
createdAt: Date;
|
|
236
|
+
updatedAt: Date;
|
|
63
237
|
suspensions: {
|
|
64
238
|
reason: string | null;
|
|
65
239
|
startDate: Date;
|
|
@@ -81,8 +255,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
81
255
|
name: string | null;
|
|
82
256
|
username: string | null;
|
|
83
257
|
avatar: string | null;
|
|
258
|
+
avatarFileId: string | null;
|
|
259
|
+
bannerFileId: string | null;
|
|
260
|
+
avatarFile?: {
|
|
261
|
+
id: string;
|
|
262
|
+
projectId: string;
|
|
263
|
+
userId: string | null;
|
|
264
|
+
entityId: string | null;
|
|
265
|
+
commentId: string | null;
|
|
266
|
+
spaceId: string | null;
|
|
267
|
+
type: "image" | "video" | "document" | "other";
|
|
268
|
+
originalPath: string;
|
|
269
|
+
originalSize: number;
|
|
270
|
+
originalMimeType: string;
|
|
271
|
+
position: number;
|
|
272
|
+
metadata: {
|
|
273
|
+
[x: string]: any;
|
|
274
|
+
};
|
|
275
|
+
image?: {
|
|
276
|
+
fileId: string;
|
|
277
|
+
originalWidth: number;
|
|
278
|
+
originalHeight: number;
|
|
279
|
+
variants: {
|
|
280
|
+
[x: string]: {
|
|
281
|
+
path: string;
|
|
282
|
+
publicPath: string;
|
|
283
|
+
width: number;
|
|
284
|
+
height: number;
|
|
285
|
+
size: number;
|
|
286
|
+
format: string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
processingStatus: "completed" | "failed";
|
|
290
|
+
processingError: string | null;
|
|
291
|
+
format: string;
|
|
292
|
+
quality: number;
|
|
293
|
+
exifStripped: boolean;
|
|
294
|
+
createdAt: Date;
|
|
295
|
+
updatedAt: Date;
|
|
296
|
+
} | undefined;
|
|
297
|
+
createdAt: Date;
|
|
298
|
+
updatedAt: Date;
|
|
299
|
+
} | null | undefined;
|
|
300
|
+
bannerFile?: {
|
|
301
|
+
id: string;
|
|
302
|
+
projectId: string;
|
|
303
|
+
userId: string | null;
|
|
304
|
+
entityId: string | null;
|
|
305
|
+
commentId: string | null;
|
|
306
|
+
spaceId: string | null;
|
|
307
|
+
type: "image" | "video" | "document" | "other";
|
|
308
|
+
originalPath: string;
|
|
309
|
+
originalSize: number;
|
|
310
|
+
originalMimeType: string;
|
|
311
|
+
position: number;
|
|
312
|
+
metadata: {
|
|
313
|
+
[x: string]: any;
|
|
314
|
+
};
|
|
315
|
+
image?: {
|
|
316
|
+
fileId: string;
|
|
317
|
+
originalWidth: number;
|
|
318
|
+
originalHeight: number;
|
|
319
|
+
variants: {
|
|
320
|
+
[x: string]: {
|
|
321
|
+
path: string;
|
|
322
|
+
publicPath: string;
|
|
323
|
+
width: number;
|
|
324
|
+
height: number;
|
|
325
|
+
size: number;
|
|
326
|
+
format: string;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
processingStatus: "completed" | "failed";
|
|
330
|
+
processingError: string | null;
|
|
331
|
+
format: string;
|
|
332
|
+
quality: number;
|
|
333
|
+
exifStripped: boolean;
|
|
334
|
+
createdAt: Date;
|
|
335
|
+
updatedAt: Date;
|
|
336
|
+
} | undefined;
|
|
337
|
+
createdAt: Date;
|
|
338
|
+
updatedAt: Date;
|
|
339
|
+
} | null | undefined;
|
|
84
340
|
bio: string | null;
|
|
85
341
|
birthdate: Date | null;
|
|
342
|
+
location: {
|
|
343
|
+
type: "Point";
|
|
344
|
+
coordinates: [number, number];
|
|
345
|
+
} | null;
|
|
86
346
|
metadata: {
|
|
87
347
|
[x: string]: any;
|
|
88
348
|
};
|
|
@@ -91,6 +351,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
91
351
|
isActive: boolean;
|
|
92
352
|
lastActive: Date;
|
|
93
353
|
createdAt: Date;
|
|
354
|
+
updatedAt: Date;
|
|
94
355
|
suspensions: {
|
|
95
356
|
reason: string | null;
|
|
96
357
|
startDate: Date;
|
|
@@ -112,8 +373,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
112
373
|
name: string | null;
|
|
113
374
|
username: string | null;
|
|
114
375
|
avatar: string | null;
|
|
376
|
+
avatarFileId: string | null;
|
|
377
|
+
bannerFileId: string | null;
|
|
378
|
+
avatarFile?: {
|
|
379
|
+
id: string;
|
|
380
|
+
projectId: string;
|
|
381
|
+
userId: string | null;
|
|
382
|
+
entityId: string | null;
|
|
383
|
+
commentId: string | null;
|
|
384
|
+
spaceId: string | null;
|
|
385
|
+
type: "image" | "video" | "document" | "other";
|
|
386
|
+
originalPath: string;
|
|
387
|
+
originalSize: number;
|
|
388
|
+
originalMimeType: string;
|
|
389
|
+
position: number;
|
|
390
|
+
metadata: {
|
|
391
|
+
[x: string]: any;
|
|
392
|
+
};
|
|
393
|
+
image?: {
|
|
394
|
+
fileId: string;
|
|
395
|
+
originalWidth: number;
|
|
396
|
+
originalHeight: number;
|
|
397
|
+
variants: {
|
|
398
|
+
[x: string]: {
|
|
399
|
+
path: string;
|
|
400
|
+
publicPath: string;
|
|
401
|
+
width: number;
|
|
402
|
+
height: number;
|
|
403
|
+
size: number;
|
|
404
|
+
format: string;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
processingStatus: "completed" | "failed";
|
|
408
|
+
processingError: string | null;
|
|
409
|
+
format: string;
|
|
410
|
+
quality: number;
|
|
411
|
+
exifStripped: boolean;
|
|
412
|
+
createdAt: Date;
|
|
413
|
+
updatedAt: Date;
|
|
414
|
+
} | undefined;
|
|
415
|
+
createdAt: Date;
|
|
416
|
+
updatedAt: Date;
|
|
417
|
+
} | null | undefined;
|
|
418
|
+
bannerFile?: {
|
|
419
|
+
id: string;
|
|
420
|
+
projectId: string;
|
|
421
|
+
userId: string | null;
|
|
422
|
+
entityId: string | null;
|
|
423
|
+
commentId: string | null;
|
|
424
|
+
spaceId: string | null;
|
|
425
|
+
type: "image" | "video" | "document" | "other";
|
|
426
|
+
originalPath: string;
|
|
427
|
+
originalSize: number;
|
|
428
|
+
originalMimeType: string;
|
|
429
|
+
position: number;
|
|
430
|
+
metadata: {
|
|
431
|
+
[x: string]: any;
|
|
432
|
+
};
|
|
433
|
+
image?: {
|
|
434
|
+
fileId: string;
|
|
435
|
+
originalWidth: number;
|
|
436
|
+
originalHeight: number;
|
|
437
|
+
variants: {
|
|
438
|
+
[x: string]: {
|
|
439
|
+
path: string;
|
|
440
|
+
publicPath: string;
|
|
441
|
+
width: number;
|
|
442
|
+
height: number;
|
|
443
|
+
size: number;
|
|
444
|
+
format: string;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
processingStatus: "completed" | "failed";
|
|
448
|
+
processingError: string | null;
|
|
449
|
+
format: string;
|
|
450
|
+
quality: number;
|
|
451
|
+
exifStripped: boolean;
|
|
452
|
+
createdAt: Date;
|
|
453
|
+
updatedAt: Date;
|
|
454
|
+
} | undefined;
|
|
455
|
+
createdAt: Date;
|
|
456
|
+
updatedAt: Date;
|
|
457
|
+
} | null | undefined;
|
|
115
458
|
bio: string | null;
|
|
116
459
|
birthdate: Date | null;
|
|
460
|
+
location: {
|
|
461
|
+
type: "Point";
|
|
462
|
+
coordinates: [number, number];
|
|
463
|
+
} | null;
|
|
117
464
|
metadata: {
|
|
118
465
|
[x: string]: any;
|
|
119
466
|
};
|
|
@@ -122,6 +469,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
122
469
|
isActive: boolean;
|
|
123
470
|
lastActive: Date;
|
|
124
471
|
createdAt: Date;
|
|
472
|
+
updatedAt: Date;
|
|
125
473
|
suspensions: {
|
|
126
474
|
reason: string | null;
|
|
127
475
|
startDate: Date;
|
|
@@ -143,8 +491,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
143
491
|
name: string | null;
|
|
144
492
|
username: string | null;
|
|
145
493
|
avatar: string | null;
|
|
494
|
+
avatarFileId: string | null;
|
|
495
|
+
bannerFileId: string | null;
|
|
496
|
+
avatarFile?: {
|
|
497
|
+
id: string;
|
|
498
|
+
projectId: string;
|
|
499
|
+
userId: string | null;
|
|
500
|
+
entityId: string | null;
|
|
501
|
+
commentId: string | null;
|
|
502
|
+
spaceId: string | null;
|
|
503
|
+
type: "image" | "video" | "document" | "other";
|
|
504
|
+
originalPath: string;
|
|
505
|
+
originalSize: number;
|
|
506
|
+
originalMimeType: string;
|
|
507
|
+
position: number;
|
|
508
|
+
metadata: {
|
|
509
|
+
[x: string]: any;
|
|
510
|
+
};
|
|
511
|
+
image?: {
|
|
512
|
+
fileId: string;
|
|
513
|
+
originalWidth: number;
|
|
514
|
+
originalHeight: number;
|
|
515
|
+
variants: {
|
|
516
|
+
[x: string]: {
|
|
517
|
+
path: string;
|
|
518
|
+
publicPath: string;
|
|
519
|
+
width: number;
|
|
520
|
+
height: number;
|
|
521
|
+
size: number;
|
|
522
|
+
format: string;
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
processingStatus: "completed" | "failed";
|
|
526
|
+
processingError: string | null;
|
|
527
|
+
format: string;
|
|
528
|
+
quality: number;
|
|
529
|
+
exifStripped: boolean;
|
|
530
|
+
createdAt: Date;
|
|
531
|
+
updatedAt: Date;
|
|
532
|
+
} | undefined;
|
|
533
|
+
createdAt: Date;
|
|
534
|
+
updatedAt: Date;
|
|
535
|
+
} | null | undefined;
|
|
536
|
+
bannerFile?: {
|
|
537
|
+
id: string;
|
|
538
|
+
projectId: string;
|
|
539
|
+
userId: string | null;
|
|
540
|
+
entityId: string | null;
|
|
541
|
+
commentId: string | null;
|
|
542
|
+
spaceId: string | null;
|
|
543
|
+
type: "image" | "video" | "document" | "other";
|
|
544
|
+
originalPath: string;
|
|
545
|
+
originalSize: number;
|
|
546
|
+
originalMimeType: string;
|
|
547
|
+
position: number;
|
|
548
|
+
metadata: {
|
|
549
|
+
[x: string]: any;
|
|
550
|
+
};
|
|
551
|
+
image?: {
|
|
552
|
+
fileId: string;
|
|
553
|
+
originalWidth: number;
|
|
554
|
+
originalHeight: number;
|
|
555
|
+
variants: {
|
|
556
|
+
[x: string]: {
|
|
557
|
+
path: string;
|
|
558
|
+
publicPath: string;
|
|
559
|
+
width: number;
|
|
560
|
+
height: number;
|
|
561
|
+
size: number;
|
|
562
|
+
format: string;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
processingStatus: "completed" | "failed";
|
|
566
|
+
processingError: string | null;
|
|
567
|
+
format: string;
|
|
568
|
+
quality: number;
|
|
569
|
+
exifStripped: boolean;
|
|
570
|
+
createdAt: Date;
|
|
571
|
+
updatedAt: Date;
|
|
572
|
+
} | undefined;
|
|
573
|
+
createdAt: Date;
|
|
574
|
+
updatedAt: Date;
|
|
575
|
+
} | null | undefined;
|
|
146
576
|
bio: string | null;
|
|
147
577
|
birthdate: Date | null;
|
|
578
|
+
location: {
|
|
579
|
+
type: "Point";
|
|
580
|
+
coordinates: [number, number];
|
|
581
|
+
} | null;
|
|
148
582
|
metadata: {
|
|
149
583
|
[x: string]: any;
|
|
150
584
|
};
|
|
@@ -153,6 +587,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
153
587
|
isActive: boolean;
|
|
154
588
|
lastActive: Date;
|
|
155
589
|
createdAt: Date;
|
|
590
|
+
updatedAt: Date;
|
|
156
591
|
suspensions: {
|
|
157
592
|
reason: string | null;
|
|
158
593
|
startDate: Date;
|
|
@@ -174,8 +609,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
174
609
|
name: string | null;
|
|
175
610
|
username: string | null;
|
|
176
611
|
avatar: string | null;
|
|
612
|
+
avatarFileId: string | null;
|
|
613
|
+
bannerFileId: string | null;
|
|
614
|
+
avatarFile?: {
|
|
615
|
+
id: string;
|
|
616
|
+
projectId: string;
|
|
617
|
+
userId: string | null;
|
|
618
|
+
entityId: string | null;
|
|
619
|
+
commentId: string | null;
|
|
620
|
+
spaceId: string | null;
|
|
621
|
+
type: "image" | "video" | "document" | "other";
|
|
622
|
+
originalPath: string;
|
|
623
|
+
originalSize: number;
|
|
624
|
+
originalMimeType: string;
|
|
625
|
+
position: number;
|
|
626
|
+
metadata: {
|
|
627
|
+
[x: string]: any;
|
|
628
|
+
};
|
|
629
|
+
image?: {
|
|
630
|
+
fileId: string;
|
|
631
|
+
originalWidth: number;
|
|
632
|
+
originalHeight: number;
|
|
633
|
+
variants: {
|
|
634
|
+
[x: string]: {
|
|
635
|
+
path: string;
|
|
636
|
+
publicPath: string;
|
|
637
|
+
width: number;
|
|
638
|
+
height: number;
|
|
639
|
+
size: number;
|
|
640
|
+
format: string;
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
processingStatus: "completed" | "failed";
|
|
644
|
+
processingError: string | null;
|
|
645
|
+
format: string;
|
|
646
|
+
quality: number;
|
|
647
|
+
exifStripped: boolean;
|
|
648
|
+
createdAt: Date;
|
|
649
|
+
updatedAt: Date;
|
|
650
|
+
} | undefined;
|
|
651
|
+
createdAt: Date;
|
|
652
|
+
updatedAt: Date;
|
|
653
|
+
} | null | undefined;
|
|
654
|
+
bannerFile?: {
|
|
655
|
+
id: string;
|
|
656
|
+
projectId: string;
|
|
657
|
+
userId: string | null;
|
|
658
|
+
entityId: string | null;
|
|
659
|
+
commentId: string | null;
|
|
660
|
+
spaceId: string | null;
|
|
661
|
+
type: "image" | "video" | "document" | "other";
|
|
662
|
+
originalPath: string;
|
|
663
|
+
originalSize: number;
|
|
664
|
+
originalMimeType: string;
|
|
665
|
+
position: number;
|
|
666
|
+
metadata: {
|
|
667
|
+
[x: string]: any;
|
|
668
|
+
};
|
|
669
|
+
image?: {
|
|
670
|
+
fileId: string;
|
|
671
|
+
originalWidth: number;
|
|
672
|
+
originalHeight: number;
|
|
673
|
+
variants: {
|
|
674
|
+
[x: string]: {
|
|
675
|
+
path: string;
|
|
676
|
+
publicPath: string;
|
|
677
|
+
width: number;
|
|
678
|
+
height: number;
|
|
679
|
+
size: number;
|
|
680
|
+
format: string;
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
processingStatus: "completed" | "failed";
|
|
684
|
+
processingError: string | null;
|
|
685
|
+
format: string;
|
|
686
|
+
quality: number;
|
|
687
|
+
exifStripped: boolean;
|
|
688
|
+
createdAt: Date;
|
|
689
|
+
updatedAt: Date;
|
|
690
|
+
} | undefined;
|
|
691
|
+
createdAt: Date;
|
|
692
|
+
updatedAt: Date;
|
|
693
|
+
} | null | undefined;
|
|
177
694
|
bio: string | null;
|
|
178
695
|
birthdate: Date | null;
|
|
696
|
+
location: {
|
|
697
|
+
type: "Point";
|
|
698
|
+
coordinates: [number, number];
|
|
699
|
+
} | null;
|
|
179
700
|
metadata: {
|
|
180
701
|
[x: string]: any;
|
|
181
702
|
};
|
|
@@ -184,6 +705,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
184
705
|
isActive: boolean;
|
|
185
706
|
lastActive: Date;
|
|
186
707
|
createdAt: Date;
|
|
708
|
+
updatedAt: Date;
|
|
187
709
|
suspensions: {
|
|
188
710
|
reason: string | null;
|
|
189
711
|
startDate: Date;
|
|
@@ -205,8 +727,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
205
727
|
name: string | null;
|
|
206
728
|
username: string | null;
|
|
207
729
|
avatar: string | null;
|
|
730
|
+
avatarFileId: string | null;
|
|
731
|
+
bannerFileId: string | null;
|
|
732
|
+
avatarFile?: {
|
|
733
|
+
id: string;
|
|
734
|
+
projectId: string;
|
|
735
|
+
userId: string | null;
|
|
736
|
+
entityId: string | null;
|
|
737
|
+
commentId: string | null;
|
|
738
|
+
spaceId: string | null;
|
|
739
|
+
type: "image" | "video" | "document" | "other";
|
|
740
|
+
originalPath: string;
|
|
741
|
+
originalSize: number;
|
|
742
|
+
originalMimeType: string;
|
|
743
|
+
position: number;
|
|
744
|
+
metadata: {
|
|
745
|
+
[x: string]: any;
|
|
746
|
+
};
|
|
747
|
+
image?: {
|
|
748
|
+
fileId: string;
|
|
749
|
+
originalWidth: number;
|
|
750
|
+
originalHeight: number;
|
|
751
|
+
variants: {
|
|
752
|
+
[x: string]: {
|
|
753
|
+
path: string;
|
|
754
|
+
publicPath: string;
|
|
755
|
+
width: number;
|
|
756
|
+
height: number;
|
|
757
|
+
size: number;
|
|
758
|
+
format: string;
|
|
759
|
+
};
|
|
760
|
+
};
|
|
761
|
+
processingStatus: "completed" | "failed";
|
|
762
|
+
processingError: string | null;
|
|
763
|
+
format: string;
|
|
764
|
+
quality: number;
|
|
765
|
+
exifStripped: boolean;
|
|
766
|
+
createdAt: Date;
|
|
767
|
+
updatedAt: Date;
|
|
768
|
+
} | undefined;
|
|
769
|
+
createdAt: Date;
|
|
770
|
+
updatedAt: Date;
|
|
771
|
+
} | null | undefined;
|
|
772
|
+
bannerFile?: {
|
|
773
|
+
id: string;
|
|
774
|
+
projectId: string;
|
|
775
|
+
userId: string | null;
|
|
776
|
+
entityId: string | null;
|
|
777
|
+
commentId: string | null;
|
|
778
|
+
spaceId: string | null;
|
|
779
|
+
type: "image" | "video" | "document" | "other";
|
|
780
|
+
originalPath: string;
|
|
781
|
+
originalSize: number;
|
|
782
|
+
originalMimeType: string;
|
|
783
|
+
position: number;
|
|
784
|
+
metadata: {
|
|
785
|
+
[x: string]: any;
|
|
786
|
+
};
|
|
787
|
+
image?: {
|
|
788
|
+
fileId: string;
|
|
789
|
+
originalWidth: number;
|
|
790
|
+
originalHeight: number;
|
|
791
|
+
variants: {
|
|
792
|
+
[x: string]: {
|
|
793
|
+
path: string;
|
|
794
|
+
publicPath: string;
|
|
795
|
+
width: number;
|
|
796
|
+
height: number;
|
|
797
|
+
size: number;
|
|
798
|
+
format: string;
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
processingStatus: "completed" | "failed";
|
|
802
|
+
processingError: string | null;
|
|
803
|
+
format: string;
|
|
804
|
+
quality: number;
|
|
805
|
+
exifStripped: boolean;
|
|
806
|
+
createdAt: Date;
|
|
807
|
+
updatedAt: Date;
|
|
808
|
+
} | undefined;
|
|
809
|
+
createdAt: Date;
|
|
810
|
+
updatedAt: Date;
|
|
811
|
+
} | null | undefined;
|
|
208
812
|
bio: string | null;
|
|
209
813
|
birthdate: Date | null;
|
|
814
|
+
location: {
|
|
815
|
+
type: "Point";
|
|
816
|
+
coordinates: [number, number];
|
|
817
|
+
} | null;
|
|
210
818
|
metadata: {
|
|
211
819
|
[x: string]: any;
|
|
212
820
|
};
|
|
@@ -215,6 +823,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
215
823
|
isActive: boolean;
|
|
216
824
|
lastActive: Date;
|
|
217
825
|
createdAt: Date;
|
|
826
|
+
updatedAt: Date;
|
|
218
827
|
suspensions: {
|
|
219
828
|
reason: string | null;
|
|
220
829
|
startDate: Date;
|
|
@@ -236,8 +845,94 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
236
845
|
name: string | null;
|
|
237
846
|
username: string | null;
|
|
238
847
|
avatar: string | null;
|
|
848
|
+
avatarFileId: string | null;
|
|
849
|
+
bannerFileId: string | null;
|
|
850
|
+
avatarFile?: {
|
|
851
|
+
id: string;
|
|
852
|
+
projectId: string;
|
|
853
|
+
userId: string | null;
|
|
854
|
+
entityId: string | null;
|
|
855
|
+
commentId: string | null;
|
|
856
|
+
spaceId: string | null;
|
|
857
|
+
type: "image" | "video" | "document" | "other";
|
|
858
|
+
originalPath: string;
|
|
859
|
+
originalSize: number;
|
|
860
|
+
originalMimeType: string;
|
|
861
|
+
position: number;
|
|
862
|
+
metadata: {
|
|
863
|
+
[x: string]: any;
|
|
864
|
+
};
|
|
865
|
+
image?: {
|
|
866
|
+
fileId: string;
|
|
867
|
+
originalWidth: number;
|
|
868
|
+
originalHeight: number;
|
|
869
|
+
variants: {
|
|
870
|
+
[x: string]: {
|
|
871
|
+
path: string;
|
|
872
|
+
publicPath: string;
|
|
873
|
+
width: number;
|
|
874
|
+
height: number;
|
|
875
|
+
size: number;
|
|
876
|
+
format: string;
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
processingStatus: "completed" | "failed";
|
|
880
|
+
processingError: string | null;
|
|
881
|
+
format: string;
|
|
882
|
+
quality: number;
|
|
883
|
+
exifStripped: boolean;
|
|
884
|
+
createdAt: Date;
|
|
885
|
+
updatedAt: Date;
|
|
886
|
+
} | undefined;
|
|
887
|
+
createdAt: Date;
|
|
888
|
+
updatedAt: Date;
|
|
889
|
+
} | null | undefined;
|
|
890
|
+
bannerFile?: {
|
|
891
|
+
id: string;
|
|
892
|
+
projectId: string;
|
|
893
|
+
userId: string | null;
|
|
894
|
+
entityId: string | null;
|
|
895
|
+
commentId: string | null;
|
|
896
|
+
spaceId: string | null;
|
|
897
|
+
type: "image" | "video" | "document" | "other";
|
|
898
|
+
originalPath: string;
|
|
899
|
+
originalSize: number;
|
|
900
|
+
originalMimeType: string;
|
|
901
|
+
position: number;
|
|
902
|
+
metadata: {
|
|
903
|
+
[x: string]: any;
|
|
904
|
+
};
|
|
905
|
+
image?: {
|
|
906
|
+
fileId: string;
|
|
907
|
+
originalWidth: number;
|
|
908
|
+
originalHeight: number;
|
|
909
|
+
variants: {
|
|
910
|
+
[x: string]: {
|
|
911
|
+
path: string;
|
|
912
|
+
publicPath: string;
|
|
913
|
+
width: number;
|
|
914
|
+
height: number;
|
|
915
|
+
size: number;
|
|
916
|
+
format: string;
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
processingStatus: "completed" | "failed";
|
|
920
|
+
processingError: string | null;
|
|
921
|
+
format: string;
|
|
922
|
+
quality: number;
|
|
923
|
+
exifStripped: boolean;
|
|
924
|
+
createdAt: Date;
|
|
925
|
+
updatedAt: Date;
|
|
926
|
+
} | undefined;
|
|
927
|
+
createdAt: Date;
|
|
928
|
+
updatedAt: Date;
|
|
929
|
+
} | null | undefined;
|
|
239
930
|
bio: string | null;
|
|
240
931
|
birthdate: Date | null;
|
|
932
|
+
location: {
|
|
933
|
+
type: "Point";
|
|
934
|
+
coordinates: [number, number];
|
|
935
|
+
} | null;
|
|
241
936
|
metadata: {
|
|
242
937
|
[x: string]: any;
|
|
243
938
|
};
|
|
@@ -246,6 +941,7 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
246
941
|
isActive: boolean;
|
|
247
942
|
lastActive: Date;
|
|
248
943
|
createdAt: Date;
|
|
944
|
+
updatedAt: Date;
|
|
249
945
|
suspensions: {
|
|
250
946
|
reason: string | null;
|
|
251
947
|
startDate: Date;
|
|
@@ -259,11 +955,23 @@ declare const userSlice: import("@reduxjs/toolkit").Slice<UserState, {
|
|
|
259
955
|
}, action: PayloadAction<Partial<AuthUser>>) => void;
|
|
260
956
|
}, "user", "user", import("@reduxjs/toolkit").SliceSelectors<UserState>>;
|
|
261
957
|
export declare const setUser: import("@reduxjs/toolkit").ActionCreatorWithPayload<AuthUser | null, "user/setUser">, clearUser: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/clearUser">, setProjectContext: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/setProjectContext">, setLoading: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "user/setLoading">, setUpdating: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "user/setUpdating">, setError: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "user/setError">, clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/clearError">, updateUserOptimistic: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<AuthUser>, "user/updateUserOptimistic">;
|
|
262
|
-
export declare const selectUser: (state:
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
export declare const
|
|
266
|
-
|
|
267
|
-
|
|
958
|
+
export declare const selectUser: (state: {
|
|
959
|
+
replyke: ReplykeState;
|
|
960
|
+
}) => AuthUser | null;
|
|
961
|
+
export declare const selectUserLoading: (state: {
|
|
962
|
+
replyke: ReplykeState;
|
|
963
|
+
}) => boolean;
|
|
964
|
+
export declare const selectUserUpdating: (state: {
|
|
965
|
+
replyke: ReplykeState;
|
|
966
|
+
}) => boolean;
|
|
967
|
+
export declare const selectCurrentProjectId: (state: {
|
|
968
|
+
replyke: ReplykeState;
|
|
969
|
+
}) => string | undefined;
|
|
970
|
+
export declare const selectUserError: (state: {
|
|
971
|
+
replyke: ReplykeState;
|
|
972
|
+
}) => string | null;
|
|
973
|
+
export declare const selectUserById: (userId: string) => (state: {
|
|
974
|
+
replyke: ReplykeState;
|
|
975
|
+
}) => AuthUser | null;
|
|
268
976
|
export declare const userReducer: import("@reduxjs/toolkit").Reducer<UserState>;
|
|
269
977
|
export default userSlice;
|