@replyke/core 7.0.0-beta.3 → 7.0.0-beta.30
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/hooks/auth/useAuth.d.ts +1 -1
- package/dist/cjs/hooks/auth/useAuth.js +2 -2
- package/dist/cjs/hooks/auth/useAuth.js.map +1 -1
- 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 +209 -0
- package/dist/cjs/hooks/collections/useCollectionEntitiesWrapper.js.map +1 -0
- package/dist/cjs/hooks/collections/useCollections.d.ts +43 -0
- package/dist/cjs/hooks/collections/useCollections.js +277 -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} +112 -118
- 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 -3
- package/dist/cjs/hooks/collections/useIsEntitySaved.js.map +1 -0
- package/dist/cjs/hooks/comments/index.d.ts +2 -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.js +34 -11
- package/dist/cjs/hooks/comments/useCommentSectionData.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 +3 -4
- 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 +3 -4
- 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 +2 -2
- package/dist/cjs/hooks/comments/useFetchManyComments.js +5 -7
- 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.js +1 -0
- package/dist/cjs/hooks/comments/useReplies.js.map +1 -1
- package/dist/cjs/hooks/entities/index.d.ts +2 -5
- package/dist/cjs/hooks/entities/index.js +3 -11
- package/dist/cjs/hooks/entities/index.js.map +1 -1
- package/dist/cjs/hooks/entities/useCreateEntity.d.ts +27 -0
- package/dist/cjs/hooks/entities/useCreateEntity.js +88 -15
- package/dist/cjs/hooks/entities/useCreateEntity.js.map +1 -1
- package/dist/cjs/hooks/entities/useEntityData.d.ts +0 -6
- package/dist/cjs/hooks/entities/useEntityData.js +0 -19
- package/dist/cjs/hooks/entities/useEntityData.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/entity-lists/index.d.ts +1 -1
- package/dist/cjs/hooks/entity-lists/useEntityList.d.ts +2 -2
- package/dist/cjs/hooks/entity-lists/useEntityList.js +45 -17
- package/dist/cjs/hooks/entity-lists/useEntityList.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/useEntityListActions.d.ts +6 -3
- package/dist/cjs/hooks/entity-lists/useEntityListActions.js +3 -0
- package/dist/cjs/hooks/entity-lists/useEntityListActions.js.map +1 -1
- package/dist/cjs/hooks/reactions/index.d.ts +10 -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 +9 -0
- package/dist/cjs/hooks/{comments/useUpvoteComment.js → reactions/useAddReaction.js} +19 -13
- package/dist/cjs/hooks/reactions/useAddReaction.js.map +1 -0
- package/dist/cjs/hooks/reactions/useFetchCommentReactions.d.ts +10 -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 +10 -0
- package/dist/cjs/hooks/{entities/useDownvoteEntity.js → reactions/useFetchEntityReactions.js} +26 -13
- 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 +19 -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 +7 -0
- package/dist/cjs/hooks/{comments/useRemoveCommentDownvote.js → reactions/useRemoveReaction.js} +16 -13
- package/dist/cjs/hooks/reactions/useRemoveReaction.js.map +1 -0
- package/dist/cjs/hooks/space-lists/useSpaceList.js +1 -1
- package/dist/cjs/hooks/space-lists/useSpaceList.js.map +1 -1
- package/dist/cjs/hooks/spaces/index.d.ts +1 -0
- package/dist/cjs/hooks/spaces/index.js +3 -1
- package/dist/cjs/hooks/spaces/index.js.map +1 -1
- package/dist/cjs/hooks/spaces/useCheckMyMembership.d.ts +5 -0
- package/dist/cjs/hooks/{comments/useDownvoteComment.js → spaces/useCheckMyMembership.js} +14 -14
- package/dist/cjs/hooks/spaces/useCheckMyMembership.js.map +1 -0
- package/dist/cjs/hooks/storage/index.d.ts +1 -0
- 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 +12 -1
- package/dist/cjs/hooks/storage/useUploadFile.js +22 -8
- 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 +161 -0
- package/dist/cjs/hooks/storage/useUploadImage.js.map +1 -0
- package/dist/cjs/hooks/users/index.d.ts +1 -0
- package/dist/cjs/hooks/users/index.js +3 -1
- package/dist/cjs/hooks/users/index.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUserByUsername.d.ts +5 -0
- package/dist/cjs/hooks/{comments/useRemoveCommentUpvote.js → users/useFetchUserByUsername.js} +14 -13
- package/dist/cjs/hooks/users/useFetchUserByUsername.js.map +1 -0
- package/dist/cjs/index.d.ts +12 -9
- package/dist/cjs/index.js +22 -15
- package/dist/cjs/index.js.map +1 -1
- 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 +8 -1
- package/dist/cjs/interfaces/models/Entity.d.ts +44 -1
- package/dist/cjs/interfaces/models/Image.d.ts +35 -0
- package/dist/cjs/interfaces/models/{List.js → Image.js} +1 -1
- 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/Space.d.ts +13 -0
- package/dist/cjs/store/api/appNotificationsApi.d.ts +181 -181
- package/dist/cjs/store/api/baseApi.d.ts +1 -1
- package/dist/cjs/store/api/baseApi.js +2 -1
- 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 +111 -110
- package/dist/cjs/store/api/entityListsApi.js +13 -8
- package/dist/cjs/store/api/entityListsApi.js.map +1 -1
- package/dist/cjs/store/api/index.d.ts +1 -1
- package/dist/cjs/store/api/index.js +2 -2
- package/dist/cjs/store/api/index.js.map +1 -1
- package/dist/cjs/store/api/spacesApi.d.ts +950 -950
- package/dist/cjs/store/api/userApi.d.ts +3 -3
- package/dist/cjs/store/index.d.ts +4 -4
- package/dist/cjs/store/rootReducer.d.ts +4 -4
- package/dist/cjs/store/rootReducer.js +2 -2
- package/dist/cjs/store/rootReducer.js.map +1 -1
- package/dist/cjs/store/slices/authSlice.d.ts +1 -3
- package/dist/cjs/store/slices/authSlice.js +3 -9
- package/dist/cjs/store/slices/authSlice.js.map +1 -1
- package/dist/cjs/store/slices/authThunks.js +0 -3
- package/dist/cjs/store/slices/authThunks.js.map +1 -1
- package/dist/cjs/store/slices/collectionsSlice.d.ts +427 -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 +704 -63
- package/dist/cjs/store/slices/entityListsSlice.js +45 -21
- package/dist/cjs/store/slices/entityListsSlice.js.map +1 -1
- package/dist/cjs/store/slices/spaceListsSlice.d.ts +1 -1
- package/dist/esm/hooks/auth/useAuth.d.ts +1 -1
- package/dist/esm/hooks/auth/useAuth.js +3 -3
- package/dist/esm/hooks/auth/useAuth.js.map +1 -1
- 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 +204 -0
- package/dist/esm/hooks/collections/useCollectionEntitiesWrapper.js.map +1 -0
- package/dist/esm/hooks/collections/useCollections.d.ts +43 -0
- package/dist/esm/hooks/collections/useCollections.js +272 -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} +103 -109
- 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 -3
- package/dist/esm/hooks/collections/useIsEntitySaved.js.map +1 -0
- package/dist/esm/hooks/comments/index.d.ts +2 -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.js +34 -11
- package/dist/esm/hooks/comments/useCommentSectionData.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 +3 -4
- 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 +3 -4
- 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 +2 -2
- package/dist/esm/hooks/comments/useFetchManyComments.js +5 -7
- 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.js +1 -0
- package/dist/esm/hooks/comments/useReplies.js.map +1 -1
- package/dist/esm/hooks/entities/index.d.ts +2 -5
- package/dist/esm/hooks/entities/index.js +1 -5
- package/dist/esm/hooks/entities/index.js.map +1 -1
- package/dist/esm/hooks/entities/useCreateEntity.d.ts +27 -0
- package/dist/esm/hooks/entities/useCreateEntity.js +88 -15
- package/dist/esm/hooks/entities/useCreateEntity.js.map +1 -1
- package/dist/esm/hooks/entities/useEntityData.d.ts +0 -6
- package/dist/esm/hooks/entities/useEntityData.js +0 -19
- package/dist/esm/hooks/entities/useEntityData.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/entity-lists/index.d.ts +1 -1
- package/dist/esm/hooks/entity-lists/useEntityList.d.ts +2 -2
- package/dist/esm/hooks/entity-lists/useEntityList.js +46 -18
- package/dist/esm/hooks/entity-lists/useEntityList.js.map +1 -1
- package/dist/esm/hooks/entity-lists/useEntityListActions.d.ts +6 -3
- package/dist/esm/hooks/entity-lists/useEntityListActions.js +3 -0
- package/dist/esm/hooks/entity-lists/useEntityListActions.js.map +1 -1
- package/dist/esm/hooks/reactions/index.d.ts +10 -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 +9 -0
- package/dist/esm/hooks/{comments/useUpvoteComment.js → reactions/useAddReaction.js} +19 -13
- package/dist/esm/hooks/reactions/useAddReaction.js.map +1 -0
- package/dist/esm/hooks/reactions/useFetchCommentReactions.d.ts +10 -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 +10 -0
- package/dist/esm/hooks/{entities/useDownvoteEntity.js → reactions/useFetchEntityReactions.js} +26 -13
- 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 +19 -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 +7 -0
- package/dist/esm/hooks/{comments/useRemoveCommentDownvote.js → reactions/useRemoveReaction.js} +16 -13
- package/dist/esm/hooks/reactions/useRemoveReaction.js.map +1 -0
- package/dist/esm/hooks/space-lists/useSpaceList.js +1 -1
- package/dist/esm/hooks/space-lists/useSpaceList.js.map +1 -1
- package/dist/esm/hooks/spaces/index.d.ts +1 -0
- package/dist/esm/hooks/spaces/index.js +1 -0
- package/dist/esm/hooks/spaces/index.js.map +1 -1
- package/dist/esm/hooks/spaces/useCheckMyMembership.d.ts +5 -0
- package/dist/esm/hooks/{comments/useDownvoteComment.js → spaces/useCheckMyMembership.js} +14 -14
- package/dist/esm/hooks/spaces/useCheckMyMembership.js.map +1 -0
- package/dist/esm/hooks/storage/index.d.ts +1 -0
- package/dist/esm/hooks/storage/index.js +1 -0
- package/dist/esm/hooks/storage/index.js.map +1 -1
- package/dist/esm/hooks/storage/useUploadFile.d.ts +12 -1
- package/dist/esm/hooks/storage/useUploadFile.js +22 -8
- 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 +156 -0
- package/dist/esm/hooks/storage/useUploadImage.js.map +1 -0
- package/dist/esm/hooks/users/index.d.ts +1 -0
- package/dist/esm/hooks/users/index.js +1 -0
- package/dist/esm/hooks/users/index.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUserByUsername.d.ts +5 -0
- package/dist/esm/hooks/{comments/useRemoveCommentUpvote.js → users/useFetchUserByUsername.js} +14 -13
- package/dist/esm/hooks/users/useFetchUserByUsername.js.map +1 -0
- package/dist/esm/index.d.ts +12 -9
- package/dist/esm/index.js +8 -6
- package/dist/esm/index.js.map +1 -1
- 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 +8 -1
- package/dist/esm/interfaces/models/Entity.d.ts +44 -1
- package/dist/esm/interfaces/models/Image.d.ts +35 -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/Space.d.ts +13 -0
- package/dist/esm/store/api/appNotificationsApi.d.ts +181 -181
- package/dist/esm/store/api/baseApi.d.ts +1 -1
- package/dist/esm/store/api/baseApi.js +2 -1
- 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 +111 -110
- package/dist/esm/store/api/entityListsApi.js +13 -8
- package/dist/esm/store/api/entityListsApi.js.map +1 -1
- package/dist/esm/store/api/index.d.ts +1 -1
- package/dist/esm/store/api/index.js +2 -2
- package/dist/esm/store/api/index.js.map +1 -1
- package/dist/esm/store/api/spacesApi.d.ts +950 -950
- package/dist/esm/store/api/userApi.d.ts +3 -3
- package/dist/esm/store/index.d.ts +4 -4
- package/dist/esm/store/rootReducer.d.ts +4 -4
- package/dist/esm/store/rootReducer.js +2 -2
- package/dist/esm/store/rootReducer.js.map +1 -1
- package/dist/esm/store/slices/authSlice.d.ts +1 -3
- package/dist/esm/store/slices/authSlice.js +2 -7
- package/dist/esm/store/slices/authSlice.js.map +1 -1
- package/dist/esm/store/slices/authThunks.js +1 -4
- package/dist/esm/store/slices/authThunks.js.map +1 -1
- package/dist/esm/store/slices/collectionsSlice.d.ts +427 -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 +704 -63
- package/dist/esm/store/slices/entityListsSlice.js +44 -20
- package/dist/esm/store/slices/entityListsSlice.js.map +1 -1
- package/dist/esm/store/slices/spaceListsSlice.d.ts +1 -1
- package/package.json +1 -1
- 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 +0 -71
- package/dist/cjs/hooks/entities/useRemoveEntityDownvote.js.map +0 -1
- package/dist/cjs/hooks/entities/useRemoveEntityUpvote.d.ts +0 -5
- package/dist/cjs/hooks/entities/useRemoveEntityUpvote.js +0 -71
- package/dist/cjs/hooks/entities/useRemoveEntityUpvote.js.map +0 -1
- package/dist/cjs/hooks/entities/useUpvoteEntity.d.ts +0 -5
- package/dist/cjs/hooks/entities/useUpvoteEntity.js +0 -71
- package/dist/cjs/hooks/entities/useUpvoteEntity.js.map +0 -1
- package/dist/cjs/hooks/lists/index.d.ts +0 -3
- package/dist/cjs/hooks/lists/index.js +0 -14
- package/dist/cjs/hooks/lists/index.js.map +0 -1
- package/dist/cjs/hooks/lists/useIsEntitySaved.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/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 +0 -66
- package/dist/esm/hooks/entities/useRemoveEntityDownvote.js.map +0 -1
- package/dist/esm/hooks/entities/useRemoveEntityUpvote.d.ts +0 -5
- package/dist/esm/hooks/entities/useRemoveEntityUpvote.js +0 -66
- package/dist/esm/hooks/entities/useRemoveEntityUpvote.js.map +0 -1
- package/dist/esm/hooks/entities/useUpvoteEntity.d.ts +0 -5
- package/dist/esm/hooks/entities/useUpvoteEntity.js +0 -66
- package/dist/esm/hooks/entities/useUpvoteEntity.js.map +0 -1
- package/dist/esm/hooks/lists/index.d.ts +0 -3
- package/dist/esm/hooks/lists/index.js +0 -5
- package/dist/esm/hooks/lists/index.js.map +0 -1
- package/dist/esm/hooks/lists/useIsEntitySaved.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/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 { Entity } from "../../interfaces/models/Entity";
|
|
2
|
+
import { Entity, EntityIncludeParam } from "../../interfaces/models/Entity";
|
|
3
3
|
import { EntityListSortByOptions, SortDirection, SortType } from "../../interfaces/EntityListSortByOptions";
|
|
4
4
|
import { LocationFilters } from "../../interfaces/entity-filters/LocationFilters";
|
|
5
5
|
import { TimeFrame } from "../../interfaces/TimeFrame";
|
|
@@ -18,6 +18,7 @@ export interface EntityListState {
|
|
|
18
18
|
sourceId: string | null;
|
|
19
19
|
spaceId: string | null;
|
|
20
20
|
limit: number;
|
|
21
|
+
include: EntityIncludeParam | null;
|
|
21
22
|
sortBy: EntityListSortByOptions;
|
|
22
23
|
sortDir: SortDirection | null;
|
|
23
24
|
sortType: SortType;
|
|
@@ -36,10 +37,12 @@ export interface EntityListsState {
|
|
|
36
37
|
[listId: string]: EntityListState;
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
|
-
export interface
|
|
40
|
-
sortBy
|
|
40
|
+
export interface EntityListSort {
|
|
41
|
+
sortBy: EntityListSortByOptions;
|
|
41
42
|
sortDir?: SortDirection | null;
|
|
42
43
|
sortType?: SortType;
|
|
44
|
+
}
|
|
45
|
+
export interface EntityListFilters {
|
|
43
46
|
timeFrame?: TimeFrame | null;
|
|
44
47
|
userId?: string | null;
|
|
45
48
|
followedOnly?: boolean;
|
|
@@ -54,15 +57,18 @@ export interface EntityListConfig {
|
|
|
54
57
|
sourceId?: string | null;
|
|
55
58
|
spaceId?: string | null;
|
|
56
59
|
limit?: number;
|
|
60
|
+
include?: EntityIncludeParam | null;
|
|
57
61
|
}
|
|
58
62
|
export interface EntityListFetchOptions {
|
|
59
|
-
|
|
60
|
-
|
|
63
|
+
resetFilters?: boolean;
|
|
64
|
+
resetSort?: boolean;
|
|
65
|
+
fetchImmediately?: boolean;
|
|
61
66
|
clearImmediately?: boolean;
|
|
62
67
|
}
|
|
63
68
|
export interface FilterUpdatePayload {
|
|
64
69
|
listId: string;
|
|
65
70
|
filters: Partial<EntityListFilters>;
|
|
71
|
+
sort?: Partial<EntityListSort>;
|
|
66
72
|
config?: EntityListConfig;
|
|
67
73
|
options?: EntityListFetchOptions;
|
|
68
74
|
}
|
|
@@ -155,9 +161,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
155
161
|
attachments: {
|
|
156
162
|
[x: string]: any;
|
|
157
163
|
}[];
|
|
164
|
+
files?: {
|
|
165
|
+
id: string;
|
|
166
|
+
projectId: string;
|
|
167
|
+
userId: string | null;
|
|
168
|
+
entityId: string | null;
|
|
169
|
+
commentId: string | null;
|
|
170
|
+
spaceId: string | null;
|
|
171
|
+
type: "image" | "video" | "document" | "other";
|
|
172
|
+
originalPath: string;
|
|
173
|
+
originalSize: number;
|
|
174
|
+
originalMimeType: string;
|
|
175
|
+
position: number;
|
|
176
|
+
metadata: {
|
|
177
|
+
[x: string]: any;
|
|
178
|
+
};
|
|
179
|
+
image?: {
|
|
180
|
+
fileId: string;
|
|
181
|
+
originalWidth: number;
|
|
182
|
+
originalHeight: number;
|
|
183
|
+
variants: {
|
|
184
|
+
[x: string]: {
|
|
185
|
+
path: string;
|
|
186
|
+
publicPath: string;
|
|
187
|
+
width: number;
|
|
188
|
+
height: number;
|
|
189
|
+
size: number;
|
|
190
|
+
format: string;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
processingStatus: "completed" | "failed";
|
|
194
|
+
processingError: string | null;
|
|
195
|
+
format: string;
|
|
196
|
+
quality: number;
|
|
197
|
+
exifStripped: boolean;
|
|
198
|
+
createdAt: string;
|
|
199
|
+
updatedAt: string;
|
|
200
|
+
} | undefined;
|
|
201
|
+
createdAt: string;
|
|
202
|
+
updatedAt: string;
|
|
203
|
+
}[] | undefined;
|
|
158
204
|
keywords: string[];
|
|
159
205
|
upvotes: string[];
|
|
160
206
|
downvotes: string[];
|
|
207
|
+
reactionCounts: {
|
|
208
|
+
upvote: number;
|
|
209
|
+
downvote: number;
|
|
210
|
+
like: number;
|
|
211
|
+
love: number;
|
|
212
|
+
wow: number;
|
|
213
|
+
sad: number;
|
|
214
|
+
angry: number;
|
|
215
|
+
funny: number;
|
|
216
|
+
};
|
|
217
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
161
218
|
repliesCount: number;
|
|
162
219
|
views: number;
|
|
163
220
|
score: number;
|
|
@@ -195,6 +252,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
195
252
|
content: string;
|
|
196
253
|
createdAt: string;
|
|
197
254
|
} | null;
|
|
255
|
+
isSaved?: boolean | undefined;
|
|
198
256
|
createdAt: Date;
|
|
199
257
|
updatedAt: Date;
|
|
200
258
|
deletedAt: Date | null;
|
|
@@ -207,6 +265,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
207
265
|
sourceId: string | null;
|
|
208
266
|
spaceId: string | null;
|
|
209
267
|
limit: number;
|
|
268
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
210
269
|
sortBy: EntityListSortByOptions;
|
|
211
270
|
sortDir: SortDirection | null;
|
|
212
271
|
sortType: SortType;
|
|
@@ -251,7 +310,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
251
310
|
};
|
|
252
311
|
};
|
|
253
312
|
}, action: PayloadAction<InitializeListPayload>) => void;
|
|
254
|
-
|
|
313
|
+
updateFiltersAndSortConfig: (state: {
|
|
255
314
|
lists: {
|
|
256
315
|
[x: string]: {
|
|
257
316
|
entities: {
|
|
@@ -316,9 +375,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
316
375
|
attachments: {
|
|
317
376
|
[x: string]: any;
|
|
318
377
|
}[];
|
|
378
|
+
files?: {
|
|
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: string;
|
|
413
|
+
updatedAt: string;
|
|
414
|
+
} | undefined;
|
|
415
|
+
createdAt: string;
|
|
416
|
+
updatedAt: string;
|
|
417
|
+
}[] | undefined;
|
|
319
418
|
keywords: string[];
|
|
320
419
|
upvotes: string[];
|
|
321
420
|
downvotes: string[];
|
|
421
|
+
reactionCounts: {
|
|
422
|
+
upvote: number;
|
|
423
|
+
downvote: number;
|
|
424
|
+
like: number;
|
|
425
|
+
love: number;
|
|
426
|
+
wow: number;
|
|
427
|
+
sad: number;
|
|
428
|
+
angry: number;
|
|
429
|
+
funny: number;
|
|
430
|
+
};
|
|
431
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
322
432
|
repliesCount: number;
|
|
323
433
|
views: number;
|
|
324
434
|
score: number;
|
|
@@ -356,6 +466,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
356
466
|
content: string;
|
|
357
467
|
createdAt: string;
|
|
358
468
|
} | null;
|
|
469
|
+
isSaved?: boolean | undefined;
|
|
359
470
|
createdAt: Date;
|
|
360
471
|
updatedAt: Date;
|
|
361
472
|
deletedAt: Date | null;
|
|
@@ -368,6 +479,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
368
479
|
sourceId: string | null;
|
|
369
480
|
spaceId: string | null;
|
|
370
481
|
limit: number;
|
|
482
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
371
483
|
sortBy: EntityListSortByOptions;
|
|
372
484
|
sortDir: SortDirection | null;
|
|
373
485
|
sortType: SortType;
|
|
@@ -477,9 +589,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
477
589
|
attachments: {
|
|
478
590
|
[x: string]: any;
|
|
479
591
|
}[];
|
|
592
|
+
files?: {
|
|
593
|
+
id: string;
|
|
594
|
+
projectId: string;
|
|
595
|
+
userId: string | null;
|
|
596
|
+
entityId: string | null;
|
|
597
|
+
commentId: string | null;
|
|
598
|
+
spaceId: string | null;
|
|
599
|
+
type: "image" | "video" | "document" | "other";
|
|
600
|
+
originalPath: string;
|
|
601
|
+
originalSize: number;
|
|
602
|
+
originalMimeType: string;
|
|
603
|
+
position: number;
|
|
604
|
+
metadata: {
|
|
605
|
+
[x: string]: any;
|
|
606
|
+
};
|
|
607
|
+
image?: {
|
|
608
|
+
fileId: string;
|
|
609
|
+
originalWidth: number;
|
|
610
|
+
originalHeight: number;
|
|
611
|
+
variants: {
|
|
612
|
+
[x: string]: {
|
|
613
|
+
path: string;
|
|
614
|
+
publicPath: string;
|
|
615
|
+
width: number;
|
|
616
|
+
height: number;
|
|
617
|
+
size: number;
|
|
618
|
+
format: string;
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
processingStatus: "completed" | "failed";
|
|
622
|
+
processingError: string | null;
|
|
623
|
+
format: string;
|
|
624
|
+
quality: number;
|
|
625
|
+
exifStripped: boolean;
|
|
626
|
+
createdAt: string;
|
|
627
|
+
updatedAt: string;
|
|
628
|
+
} | undefined;
|
|
629
|
+
createdAt: string;
|
|
630
|
+
updatedAt: string;
|
|
631
|
+
}[] | undefined;
|
|
480
632
|
keywords: string[];
|
|
481
633
|
upvotes: string[];
|
|
482
634
|
downvotes: string[];
|
|
635
|
+
reactionCounts: {
|
|
636
|
+
upvote: number;
|
|
637
|
+
downvote: number;
|
|
638
|
+
like: number;
|
|
639
|
+
love: number;
|
|
640
|
+
wow: number;
|
|
641
|
+
sad: number;
|
|
642
|
+
angry: number;
|
|
643
|
+
funny: number;
|
|
644
|
+
};
|
|
645
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
483
646
|
repliesCount: number;
|
|
484
647
|
views: number;
|
|
485
648
|
score: number;
|
|
@@ -517,6 +680,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
517
680
|
content: string;
|
|
518
681
|
createdAt: string;
|
|
519
682
|
} | null;
|
|
683
|
+
isSaved?: boolean | undefined;
|
|
520
684
|
createdAt: Date;
|
|
521
685
|
updatedAt: Date;
|
|
522
686
|
deletedAt: Date | null;
|
|
@@ -529,6 +693,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
529
693
|
sourceId: string | null;
|
|
530
694
|
spaceId: string | null;
|
|
531
695
|
limit: number;
|
|
696
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
532
697
|
sortBy: EntityListSortByOptions;
|
|
533
698
|
sortDir: SortDirection | null;
|
|
534
699
|
sortType: SortType;
|
|
@@ -641,9 +806,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
641
806
|
attachments: {
|
|
642
807
|
[x: string]: any;
|
|
643
808
|
}[];
|
|
809
|
+
files?: {
|
|
810
|
+
id: string;
|
|
811
|
+
projectId: string;
|
|
812
|
+
userId: string | null;
|
|
813
|
+
entityId: string | null;
|
|
814
|
+
commentId: string | null;
|
|
815
|
+
spaceId: string | null;
|
|
816
|
+
type: "image" | "video" | "document" | "other";
|
|
817
|
+
originalPath: string;
|
|
818
|
+
originalSize: number;
|
|
819
|
+
originalMimeType: string;
|
|
820
|
+
position: number;
|
|
821
|
+
metadata: {
|
|
822
|
+
[x: string]: any;
|
|
823
|
+
};
|
|
824
|
+
image?: {
|
|
825
|
+
fileId: string;
|
|
826
|
+
originalWidth: number;
|
|
827
|
+
originalHeight: number;
|
|
828
|
+
variants: {
|
|
829
|
+
[x: string]: {
|
|
830
|
+
path: string;
|
|
831
|
+
publicPath: string;
|
|
832
|
+
width: number;
|
|
833
|
+
height: number;
|
|
834
|
+
size: number;
|
|
835
|
+
format: string;
|
|
836
|
+
};
|
|
837
|
+
};
|
|
838
|
+
processingStatus: "completed" | "failed";
|
|
839
|
+
processingError: string | null;
|
|
840
|
+
format: string;
|
|
841
|
+
quality: number;
|
|
842
|
+
exifStripped: boolean;
|
|
843
|
+
createdAt: string;
|
|
844
|
+
updatedAt: string;
|
|
845
|
+
} | undefined;
|
|
846
|
+
createdAt: string;
|
|
847
|
+
updatedAt: string;
|
|
848
|
+
}[] | undefined;
|
|
644
849
|
keywords: string[];
|
|
645
850
|
upvotes: string[];
|
|
646
851
|
downvotes: string[];
|
|
852
|
+
reactionCounts: {
|
|
853
|
+
upvote: number;
|
|
854
|
+
downvote: number;
|
|
855
|
+
like: number;
|
|
856
|
+
love: number;
|
|
857
|
+
wow: number;
|
|
858
|
+
sad: number;
|
|
859
|
+
angry: number;
|
|
860
|
+
funny: number;
|
|
861
|
+
};
|
|
862
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
647
863
|
repliesCount: number;
|
|
648
864
|
views: number;
|
|
649
865
|
score: number;
|
|
@@ -681,6 +897,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
681
897
|
content: string;
|
|
682
898
|
createdAt: string;
|
|
683
899
|
} | null;
|
|
900
|
+
isSaved?: boolean | undefined;
|
|
684
901
|
createdAt: Date;
|
|
685
902
|
updatedAt: Date;
|
|
686
903
|
deletedAt: Date | null;
|
|
@@ -693,6 +910,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
693
910
|
sourceId: string | null;
|
|
694
911
|
spaceId: string | null;
|
|
695
912
|
limit: number;
|
|
913
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
696
914
|
sortBy: EntityListSortByOptions;
|
|
697
915
|
sortDir: SortDirection | null;
|
|
698
916
|
sortType: SortType;
|
|
@@ -802,9 +1020,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
802
1020
|
attachments: {
|
|
803
1021
|
[x: string]: any;
|
|
804
1022
|
}[];
|
|
1023
|
+
files?: {
|
|
1024
|
+
id: string;
|
|
1025
|
+
projectId: string;
|
|
1026
|
+
userId: string | null;
|
|
1027
|
+
entityId: string | null;
|
|
1028
|
+
commentId: string | null;
|
|
1029
|
+
spaceId: string | null;
|
|
1030
|
+
type: "image" | "video" | "document" | "other";
|
|
1031
|
+
originalPath: string;
|
|
1032
|
+
originalSize: number;
|
|
1033
|
+
originalMimeType: string;
|
|
1034
|
+
position: number;
|
|
1035
|
+
metadata: {
|
|
1036
|
+
[x: string]: any;
|
|
1037
|
+
};
|
|
1038
|
+
image?: {
|
|
1039
|
+
fileId: string;
|
|
1040
|
+
originalWidth: number;
|
|
1041
|
+
originalHeight: number;
|
|
1042
|
+
variants: {
|
|
1043
|
+
[x: string]: {
|
|
1044
|
+
path: string;
|
|
1045
|
+
publicPath: string;
|
|
1046
|
+
width: number;
|
|
1047
|
+
height: number;
|
|
1048
|
+
size: number;
|
|
1049
|
+
format: string;
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
processingStatus: "completed" | "failed";
|
|
1053
|
+
processingError: string | null;
|
|
1054
|
+
format: string;
|
|
1055
|
+
quality: number;
|
|
1056
|
+
exifStripped: boolean;
|
|
1057
|
+
createdAt: string;
|
|
1058
|
+
updatedAt: string;
|
|
1059
|
+
} | undefined;
|
|
1060
|
+
createdAt: string;
|
|
1061
|
+
updatedAt: string;
|
|
1062
|
+
}[] | undefined;
|
|
805
1063
|
keywords: string[];
|
|
806
1064
|
upvotes: string[];
|
|
807
1065
|
downvotes: string[];
|
|
1066
|
+
reactionCounts: {
|
|
1067
|
+
upvote: number;
|
|
1068
|
+
downvote: number;
|
|
1069
|
+
like: number;
|
|
1070
|
+
love: number;
|
|
1071
|
+
wow: number;
|
|
1072
|
+
sad: number;
|
|
1073
|
+
angry: number;
|
|
1074
|
+
funny: number;
|
|
1075
|
+
};
|
|
1076
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
808
1077
|
repliesCount: number;
|
|
809
1078
|
views: number;
|
|
810
1079
|
score: number;
|
|
@@ -842,6 +1111,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
842
1111
|
content: string;
|
|
843
1112
|
createdAt: string;
|
|
844
1113
|
} | null;
|
|
1114
|
+
isSaved?: boolean | undefined;
|
|
845
1115
|
createdAt: Date;
|
|
846
1116
|
updatedAt: Date;
|
|
847
1117
|
deletedAt: Date | null;
|
|
@@ -854,6 +1124,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
854
1124
|
sourceId: string | null;
|
|
855
1125
|
spaceId: string | null;
|
|
856
1126
|
limit: number;
|
|
1127
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
857
1128
|
sortBy: EntityListSortByOptions;
|
|
858
1129
|
sortDir: SortDirection | null;
|
|
859
1130
|
sortType: SortType;
|
|
@@ -963,9 +1234,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
963
1234
|
attachments: {
|
|
964
1235
|
[x: string]: any;
|
|
965
1236
|
}[];
|
|
1237
|
+
files?: {
|
|
1238
|
+
id: string;
|
|
1239
|
+
projectId: string;
|
|
1240
|
+
userId: string | null;
|
|
1241
|
+
entityId: string | null;
|
|
1242
|
+
commentId: string | null;
|
|
1243
|
+
spaceId: string | null;
|
|
1244
|
+
type: "image" | "video" | "document" | "other";
|
|
1245
|
+
originalPath: string;
|
|
1246
|
+
originalSize: number;
|
|
1247
|
+
originalMimeType: string;
|
|
1248
|
+
position: number;
|
|
1249
|
+
metadata: {
|
|
1250
|
+
[x: string]: any;
|
|
1251
|
+
};
|
|
1252
|
+
image?: {
|
|
1253
|
+
fileId: string;
|
|
1254
|
+
originalWidth: number;
|
|
1255
|
+
originalHeight: number;
|
|
1256
|
+
variants: {
|
|
1257
|
+
[x: string]: {
|
|
1258
|
+
path: string;
|
|
1259
|
+
publicPath: string;
|
|
1260
|
+
width: number;
|
|
1261
|
+
height: number;
|
|
1262
|
+
size: number;
|
|
1263
|
+
format: string;
|
|
1264
|
+
};
|
|
1265
|
+
};
|
|
1266
|
+
processingStatus: "completed" | "failed";
|
|
1267
|
+
processingError: string | null;
|
|
1268
|
+
format: string;
|
|
1269
|
+
quality: number;
|
|
1270
|
+
exifStripped: boolean;
|
|
1271
|
+
createdAt: string;
|
|
1272
|
+
updatedAt: string;
|
|
1273
|
+
} | undefined;
|
|
1274
|
+
createdAt: string;
|
|
1275
|
+
updatedAt: string;
|
|
1276
|
+
}[] | undefined;
|
|
966
1277
|
keywords: string[];
|
|
967
1278
|
upvotes: string[];
|
|
968
1279
|
downvotes: string[];
|
|
1280
|
+
reactionCounts: {
|
|
1281
|
+
upvote: number;
|
|
1282
|
+
downvote: number;
|
|
1283
|
+
like: number;
|
|
1284
|
+
love: number;
|
|
1285
|
+
wow: number;
|
|
1286
|
+
sad: number;
|
|
1287
|
+
angry: number;
|
|
1288
|
+
funny: number;
|
|
1289
|
+
};
|
|
1290
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
969
1291
|
repliesCount: number;
|
|
970
1292
|
views: number;
|
|
971
1293
|
score: number;
|
|
@@ -1003,6 +1325,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1003
1325
|
content: string;
|
|
1004
1326
|
createdAt: string;
|
|
1005
1327
|
} | null;
|
|
1328
|
+
isSaved?: boolean | undefined;
|
|
1006
1329
|
createdAt: Date;
|
|
1007
1330
|
updatedAt: Date;
|
|
1008
1331
|
deletedAt: Date | null;
|
|
@@ -1015,6 +1338,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1015
1338
|
sourceId: string | null;
|
|
1016
1339
|
spaceId: string | null;
|
|
1017
1340
|
limit: number;
|
|
1341
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
1018
1342
|
sortBy: EntityListSortByOptions;
|
|
1019
1343
|
sortDir: SortDirection | null;
|
|
1020
1344
|
sortType: SortType;
|
|
@@ -1127,9 +1451,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1127
1451
|
attachments: {
|
|
1128
1452
|
[x: string]: any;
|
|
1129
1453
|
}[];
|
|
1454
|
+
files?: {
|
|
1455
|
+
id: string;
|
|
1456
|
+
projectId: string;
|
|
1457
|
+
userId: string | null;
|
|
1458
|
+
entityId: string | null;
|
|
1459
|
+
commentId: string | null;
|
|
1460
|
+
spaceId: string | null;
|
|
1461
|
+
type: "image" | "video" | "document" | "other";
|
|
1462
|
+
originalPath: string;
|
|
1463
|
+
originalSize: number;
|
|
1464
|
+
originalMimeType: string;
|
|
1465
|
+
position: number;
|
|
1466
|
+
metadata: {
|
|
1467
|
+
[x: string]: any;
|
|
1468
|
+
};
|
|
1469
|
+
image?: {
|
|
1470
|
+
fileId: string;
|
|
1471
|
+
originalWidth: number;
|
|
1472
|
+
originalHeight: number;
|
|
1473
|
+
variants: {
|
|
1474
|
+
[x: string]: {
|
|
1475
|
+
path: string;
|
|
1476
|
+
publicPath: string;
|
|
1477
|
+
width: number;
|
|
1478
|
+
height: number;
|
|
1479
|
+
size: number;
|
|
1480
|
+
format: string;
|
|
1481
|
+
};
|
|
1482
|
+
};
|
|
1483
|
+
processingStatus: "completed" | "failed";
|
|
1484
|
+
processingError: string | null;
|
|
1485
|
+
format: string;
|
|
1486
|
+
quality: number;
|
|
1487
|
+
exifStripped: boolean;
|
|
1488
|
+
createdAt: string;
|
|
1489
|
+
updatedAt: string;
|
|
1490
|
+
} | undefined;
|
|
1491
|
+
createdAt: string;
|
|
1492
|
+
updatedAt: string;
|
|
1493
|
+
}[] | undefined;
|
|
1130
1494
|
keywords: string[];
|
|
1131
1495
|
upvotes: string[];
|
|
1132
1496
|
downvotes: string[];
|
|
1497
|
+
reactionCounts: {
|
|
1498
|
+
upvote: number;
|
|
1499
|
+
downvote: number;
|
|
1500
|
+
like: number;
|
|
1501
|
+
love: number;
|
|
1502
|
+
wow: number;
|
|
1503
|
+
sad: number;
|
|
1504
|
+
angry: number;
|
|
1505
|
+
funny: number;
|
|
1506
|
+
};
|
|
1507
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1133
1508
|
repliesCount: number;
|
|
1134
1509
|
views: number;
|
|
1135
1510
|
score: number;
|
|
@@ -1167,6 +1542,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1167
1542
|
content: string;
|
|
1168
1543
|
createdAt: string;
|
|
1169
1544
|
} | null;
|
|
1545
|
+
isSaved?: boolean | undefined;
|
|
1170
1546
|
createdAt: Date;
|
|
1171
1547
|
updatedAt: Date;
|
|
1172
1548
|
deletedAt: Date | null;
|
|
@@ -1179,6 +1555,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1179
1555
|
sourceId: string | null;
|
|
1180
1556
|
spaceId: string | null;
|
|
1181
1557
|
limit: number;
|
|
1558
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
1182
1559
|
sortBy: EntityListSortByOptions;
|
|
1183
1560
|
sortDir: SortDirection | null;
|
|
1184
1561
|
sortType: SortType;
|
|
@@ -1291,9 +1668,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1291
1668
|
attachments: {
|
|
1292
1669
|
[x: string]: any;
|
|
1293
1670
|
}[];
|
|
1671
|
+
files?: {
|
|
1672
|
+
id: string;
|
|
1673
|
+
projectId: string;
|
|
1674
|
+
userId: string | null;
|
|
1675
|
+
entityId: string | null;
|
|
1676
|
+
commentId: string | null;
|
|
1677
|
+
spaceId: string | null;
|
|
1678
|
+
type: "image" | "video" | "document" | "other";
|
|
1679
|
+
originalPath: string;
|
|
1680
|
+
originalSize: number;
|
|
1681
|
+
originalMimeType: string;
|
|
1682
|
+
position: number;
|
|
1683
|
+
metadata: {
|
|
1684
|
+
[x: string]: any;
|
|
1685
|
+
};
|
|
1686
|
+
image?: {
|
|
1687
|
+
fileId: string;
|
|
1688
|
+
originalWidth: number;
|
|
1689
|
+
originalHeight: number;
|
|
1690
|
+
variants: {
|
|
1691
|
+
[x: string]: {
|
|
1692
|
+
path: string;
|
|
1693
|
+
publicPath: string;
|
|
1694
|
+
width: number;
|
|
1695
|
+
height: number;
|
|
1696
|
+
size: number;
|
|
1697
|
+
format: string;
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1700
|
+
processingStatus: "completed" | "failed";
|
|
1701
|
+
processingError: string | null;
|
|
1702
|
+
format: string;
|
|
1703
|
+
quality: number;
|
|
1704
|
+
exifStripped: boolean;
|
|
1705
|
+
createdAt: string;
|
|
1706
|
+
updatedAt: string;
|
|
1707
|
+
} | undefined;
|
|
1708
|
+
createdAt: string;
|
|
1709
|
+
updatedAt: string;
|
|
1710
|
+
}[] | undefined;
|
|
1294
1711
|
keywords: string[];
|
|
1295
1712
|
upvotes: string[];
|
|
1296
1713
|
downvotes: string[];
|
|
1714
|
+
reactionCounts: {
|
|
1715
|
+
upvote: number;
|
|
1716
|
+
downvote: number;
|
|
1717
|
+
like: number;
|
|
1718
|
+
love: number;
|
|
1719
|
+
wow: number;
|
|
1720
|
+
sad: number;
|
|
1721
|
+
angry: number;
|
|
1722
|
+
funny: number;
|
|
1723
|
+
};
|
|
1724
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1297
1725
|
repliesCount: number;
|
|
1298
1726
|
views: number;
|
|
1299
1727
|
score: number;
|
|
@@ -1331,6 +1759,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1331
1759
|
content: string;
|
|
1332
1760
|
createdAt: string;
|
|
1333
1761
|
} | null;
|
|
1762
|
+
isSaved?: boolean | undefined;
|
|
1334
1763
|
createdAt: Date;
|
|
1335
1764
|
updatedAt: Date;
|
|
1336
1765
|
deletedAt: Date | null;
|
|
@@ -1343,6 +1772,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1343
1772
|
sourceId: string | null;
|
|
1344
1773
|
spaceId: string | null;
|
|
1345
1774
|
limit: number;
|
|
1775
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
1346
1776
|
sortBy: EntityListSortByOptions;
|
|
1347
1777
|
sortDir: SortDirection | null;
|
|
1348
1778
|
sortType: SortType;
|
|
@@ -1452,9 +1882,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1452
1882
|
attachments: {
|
|
1453
1883
|
[x: string]: any;
|
|
1454
1884
|
}[];
|
|
1885
|
+
files?: {
|
|
1886
|
+
id: string;
|
|
1887
|
+
projectId: string;
|
|
1888
|
+
userId: string | null;
|
|
1889
|
+
entityId: string | null;
|
|
1890
|
+
commentId: string | null;
|
|
1891
|
+
spaceId: string | null;
|
|
1892
|
+
type: "image" | "video" | "document" | "other";
|
|
1893
|
+
originalPath: string;
|
|
1894
|
+
originalSize: number;
|
|
1895
|
+
originalMimeType: string;
|
|
1896
|
+
position: number;
|
|
1897
|
+
metadata: {
|
|
1898
|
+
[x: string]: any;
|
|
1899
|
+
};
|
|
1900
|
+
image?: {
|
|
1901
|
+
fileId: string;
|
|
1902
|
+
originalWidth: number;
|
|
1903
|
+
originalHeight: number;
|
|
1904
|
+
variants: {
|
|
1905
|
+
[x: string]: {
|
|
1906
|
+
path: string;
|
|
1907
|
+
publicPath: string;
|
|
1908
|
+
width: number;
|
|
1909
|
+
height: number;
|
|
1910
|
+
size: number;
|
|
1911
|
+
format: string;
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1914
|
+
processingStatus: "completed" | "failed";
|
|
1915
|
+
processingError: string | null;
|
|
1916
|
+
format: string;
|
|
1917
|
+
quality: number;
|
|
1918
|
+
exifStripped: boolean;
|
|
1919
|
+
createdAt: string;
|
|
1920
|
+
updatedAt: string;
|
|
1921
|
+
} | undefined;
|
|
1922
|
+
createdAt: string;
|
|
1923
|
+
updatedAt: string;
|
|
1924
|
+
}[] | undefined;
|
|
1455
1925
|
keywords: string[];
|
|
1456
1926
|
upvotes: string[];
|
|
1457
1927
|
downvotes: string[];
|
|
1928
|
+
reactionCounts: {
|
|
1929
|
+
upvote: number;
|
|
1930
|
+
downvote: number;
|
|
1931
|
+
like: number;
|
|
1932
|
+
love: number;
|
|
1933
|
+
wow: number;
|
|
1934
|
+
sad: number;
|
|
1935
|
+
angry: number;
|
|
1936
|
+
funny: number;
|
|
1937
|
+
};
|
|
1938
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1458
1939
|
repliesCount: number;
|
|
1459
1940
|
views: number;
|
|
1460
1941
|
score: number;
|
|
@@ -1492,6 +1973,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1492
1973
|
content: string;
|
|
1493
1974
|
createdAt: string;
|
|
1494
1975
|
} | null;
|
|
1976
|
+
isSaved?: boolean | undefined;
|
|
1495
1977
|
createdAt: Date;
|
|
1496
1978
|
updatedAt: Date;
|
|
1497
1979
|
deletedAt: Date | null;
|
|
@@ -1504,6 +1986,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1504
1986
|
sourceId: string | null;
|
|
1505
1987
|
spaceId: string | null;
|
|
1506
1988
|
limit: number;
|
|
1989
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
1507
1990
|
sortBy: EntityListSortByOptions;
|
|
1508
1991
|
sortDir: SortDirection | null;
|
|
1509
1992
|
sortType: SortType;
|
|
@@ -1613,9 +2096,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1613
2096
|
attachments: {
|
|
1614
2097
|
[x: string]: any;
|
|
1615
2098
|
}[];
|
|
2099
|
+
files?: {
|
|
2100
|
+
id: string;
|
|
2101
|
+
projectId: string;
|
|
2102
|
+
userId: string | null;
|
|
2103
|
+
entityId: string | null;
|
|
2104
|
+
commentId: string | null;
|
|
2105
|
+
spaceId: string | null;
|
|
2106
|
+
type: "image" | "video" | "document" | "other";
|
|
2107
|
+
originalPath: string;
|
|
2108
|
+
originalSize: number;
|
|
2109
|
+
originalMimeType: string;
|
|
2110
|
+
position: number;
|
|
2111
|
+
metadata: {
|
|
2112
|
+
[x: string]: any;
|
|
2113
|
+
};
|
|
2114
|
+
image?: {
|
|
2115
|
+
fileId: string;
|
|
2116
|
+
originalWidth: number;
|
|
2117
|
+
originalHeight: number;
|
|
2118
|
+
variants: {
|
|
2119
|
+
[x: string]: {
|
|
2120
|
+
path: string;
|
|
2121
|
+
publicPath: string;
|
|
2122
|
+
width: number;
|
|
2123
|
+
height: number;
|
|
2124
|
+
size: number;
|
|
2125
|
+
format: string;
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2128
|
+
processingStatus: "completed" | "failed";
|
|
2129
|
+
processingError: string | null;
|
|
2130
|
+
format: string;
|
|
2131
|
+
quality: number;
|
|
2132
|
+
exifStripped: boolean;
|
|
2133
|
+
createdAt: string;
|
|
2134
|
+
updatedAt: string;
|
|
2135
|
+
} | undefined;
|
|
2136
|
+
createdAt: string;
|
|
2137
|
+
updatedAt: string;
|
|
2138
|
+
}[] | undefined;
|
|
1616
2139
|
keywords: string[];
|
|
1617
2140
|
upvotes: string[];
|
|
1618
2141
|
downvotes: string[];
|
|
2142
|
+
reactionCounts: {
|
|
2143
|
+
upvote: number;
|
|
2144
|
+
downvote: number;
|
|
2145
|
+
like: number;
|
|
2146
|
+
love: number;
|
|
2147
|
+
wow: number;
|
|
2148
|
+
sad: number;
|
|
2149
|
+
angry: number;
|
|
2150
|
+
funny: number;
|
|
2151
|
+
};
|
|
2152
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1619
2153
|
repliesCount: number;
|
|
1620
2154
|
views: number;
|
|
1621
2155
|
score: number;
|
|
@@ -1653,6 +2187,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1653
2187
|
content: string;
|
|
1654
2188
|
createdAt: string;
|
|
1655
2189
|
} | null;
|
|
2190
|
+
isSaved?: boolean | undefined;
|
|
1656
2191
|
createdAt: Date;
|
|
1657
2192
|
updatedAt: Date;
|
|
1658
2193
|
deletedAt: Date | null;
|
|
@@ -1665,6 +2200,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1665
2200
|
sourceId: string | null;
|
|
1666
2201
|
spaceId: string | null;
|
|
1667
2202
|
limit: number;
|
|
2203
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
1668
2204
|
sortBy: EntityListSortByOptions;
|
|
1669
2205
|
sortDir: SortDirection | null;
|
|
1670
2206
|
sortType: SortType;
|
|
@@ -1774,9 +2310,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1774
2310
|
attachments: {
|
|
1775
2311
|
[x: string]: any;
|
|
1776
2312
|
}[];
|
|
2313
|
+
files?: {
|
|
2314
|
+
id: string;
|
|
2315
|
+
projectId: string;
|
|
2316
|
+
userId: string | null;
|
|
2317
|
+
entityId: string | null;
|
|
2318
|
+
commentId: string | null;
|
|
2319
|
+
spaceId: string | null;
|
|
2320
|
+
type: "image" | "video" | "document" | "other";
|
|
2321
|
+
originalPath: string;
|
|
2322
|
+
originalSize: number;
|
|
2323
|
+
originalMimeType: string;
|
|
2324
|
+
position: number;
|
|
2325
|
+
metadata: {
|
|
2326
|
+
[x: string]: any;
|
|
2327
|
+
};
|
|
2328
|
+
image?: {
|
|
2329
|
+
fileId: string;
|
|
2330
|
+
originalWidth: number;
|
|
2331
|
+
originalHeight: number;
|
|
2332
|
+
variants: {
|
|
2333
|
+
[x: string]: {
|
|
2334
|
+
path: string;
|
|
2335
|
+
publicPath: string;
|
|
2336
|
+
width: number;
|
|
2337
|
+
height: number;
|
|
2338
|
+
size: number;
|
|
2339
|
+
format: string;
|
|
2340
|
+
};
|
|
2341
|
+
};
|
|
2342
|
+
processingStatus: "completed" | "failed";
|
|
2343
|
+
processingError: string | null;
|
|
2344
|
+
format: string;
|
|
2345
|
+
quality: number;
|
|
2346
|
+
exifStripped: boolean;
|
|
2347
|
+
createdAt: string;
|
|
2348
|
+
updatedAt: string;
|
|
2349
|
+
} | undefined;
|
|
2350
|
+
createdAt: string;
|
|
2351
|
+
updatedAt: string;
|
|
2352
|
+
}[] | undefined;
|
|
1777
2353
|
keywords: string[];
|
|
1778
2354
|
upvotes: string[];
|
|
1779
2355
|
downvotes: string[];
|
|
2356
|
+
reactionCounts: {
|
|
2357
|
+
upvote: number;
|
|
2358
|
+
downvote: number;
|
|
2359
|
+
like: number;
|
|
2360
|
+
love: number;
|
|
2361
|
+
wow: number;
|
|
2362
|
+
sad: number;
|
|
2363
|
+
angry: number;
|
|
2364
|
+
funny: number;
|
|
2365
|
+
};
|
|
2366
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1780
2367
|
repliesCount: number;
|
|
1781
2368
|
views: number;
|
|
1782
2369
|
score: number;
|
|
@@ -1814,6 +2401,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1814
2401
|
content: string;
|
|
1815
2402
|
createdAt: string;
|
|
1816
2403
|
} | null;
|
|
2404
|
+
isSaved?: boolean | undefined;
|
|
1817
2405
|
createdAt: Date;
|
|
1818
2406
|
updatedAt: Date;
|
|
1819
2407
|
deletedAt: Date | null;
|
|
@@ -1826,6 +2414,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1826
2414
|
sourceId: string | null;
|
|
1827
2415
|
spaceId: string | null;
|
|
1828
2416
|
limit: number;
|
|
2417
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
1829
2418
|
sortBy: EntityListSortByOptions;
|
|
1830
2419
|
sortDir: SortDirection | null;
|
|
1831
2420
|
sortType: SortType;
|
|
@@ -1935,9 +2524,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1935
2524
|
attachments: {
|
|
1936
2525
|
[x: string]: any;
|
|
1937
2526
|
}[];
|
|
2527
|
+
files?: {
|
|
2528
|
+
id: string;
|
|
2529
|
+
projectId: string;
|
|
2530
|
+
userId: string | null;
|
|
2531
|
+
entityId: string | null;
|
|
2532
|
+
commentId: string | null;
|
|
2533
|
+
spaceId: string | null;
|
|
2534
|
+
type: "image" | "video" | "document" | "other";
|
|
2535
|
+
originalPath: string;
|
|
2536
|
+
originalSize: number;
|
|
2537
|
+
originalMimeType: string;
|
|
2538
|
+
position: number;
|
|
2539
|
+
metadata: {
|
|
2540
|
+
[x: string]: any;
|
|
2541
|
+
};
|
|
2542
|
+
image?: {
|
|
2543
|
+
fileId: string;
|
|
2544
|
+
originalWidth: number;
|
|
2545
|
+
originalHeight: number;
|
|
2546
|
+
variants: {
|
|
2547
|
+
[x: string]: {
|
|
2548
|
+
path: string;
|
|
2549
|
+
publicPath: string;
|
|
2550
|
+
width: number;
|
|
2551
|
+
height: number;
|
|
2552
|
+
size: number;
|
|
2553
|
+
format: string;
|
|
2554
|
+
};
|
|
2555
|
+
};
|
|
2556
|
+
processingStatus: "completed" | "failed";
|
|
2557
|
+
processingError: string | null;
|
|
2558
|
+
format: string;
|
|
2559
|
+
quality: number;
|
|
2560
|
+
exifStripped: boolean;
|
|
2561
|
+
createdAt: string;
|
|
2562
|
+
updatedAt: string;
|
|
2563
|
+
} | undefined;
|
|
2564
|
+
createdAt: string;
|
|
2565
|
+
updatedAt: string;
|
|
2566
|
+
}[] | undefined;
|
|
1938
2567
|
keywords: string[];
|
|
1939
2568
|
upvotes: string[];
|
|
1940
2569
|
downvotes: string[];
|
|
2570
|
+
reactionCounts: {
|
|
2571
|
+
upvote: number;
|
|
2572
|
+
downvote: number;
|
|
2573
|
+
like: number;
|
|
2574
|
+
love: number;
|
|
2575
|
+
wow: number;
|
|
2576
|
+
sad: number;
|
|
2577
|
+
angry: number;
|
|
2578
|
+
funny: number;
|
|
2579
|
+
};
|
|
2580
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1941
2581
|
repliesCount: number;
|
|
1942
2582
|
views: number;
|
|
1943
2583
|
score: number;
|
|
@@ -1975,6 +2615,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1975
2615
|
content: string;
|
|
1976
2616
|
createdAt: string;
|
|
1977
2617
|
} | null;
|
|
2618
|
+
isSaved?: boolean | undefined;
|
|
1978
2619
|
createdAt: Date;
|
|
1979
2620
|
updatedAt: Date;
|
|
1980
2621
|
deletedAt: Date | null;
|
|
@@ -1987,6 +2628,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1987
2628
|
sourceId: string | null;
|
|
1988
2629
|
spaceId: string | null;
|
|
1989
2630
|
limit: number;
|
|
2631
|
+
include: string | import("../../interfaces/models/Entity").EntityInclude[] | null;
|
|
1990
2632
|
sortBy: EntityListSortByOptions;
|
|
1991
2633
|
sortDir: SortDirection | null;
|
|
1992
2634
|
sortType: SortType;
|
|
@@ -2032,7 +2674,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
2032
2674
|
};
|
|
2033
2675
|
}, action: PayloadAction<number>) => void;
|
|
2034
2676
|
}, "entityLists", "entityLists", import("@reduxjs/toolkit").SliceSelectors<EntityListsState>>;
|
|
2035
|
-
export declare const initializeList: import("@reduxjs/toolkit").ActionCreatorWithPayload<InitializeListPayload, "entityLists/initializeList">,
|
|
2677
|
+
export declare const initializeList: import("@reduxjs/toolkit").ActionCreatorWithPayload<InitializeListPayload, "entityLists/initializeList">, updateFiltersAndSortConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<FilterUpdatePayload, "entityLists/updateFiltersAndSortConfig">, setEntityListLoading: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
2036
2678
|
listId: string;
|
|
2037
2679
|
loading: boolean;
|
|
2038
2680
|
}, "entityLists/setEntityListLoading">, setEntityListEntities: import("@reduxjs/toolkit").ActionCreatorWithPayload<EntitiesSetPayload, "entityLists/setEntityListEntities">, incrementPage: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "entityLists/incrementPage">, setEntityListHasMore: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
@@ -2194,70 +2836,61 @@ export declare const selectEntityListHasMore: ((state: any, listId: string) => b
|
|
|
2194
2836
|
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2195
2837
|
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2196
2838
|
};
|
|
2197
|
-
export declare const
|
|
2198
|
-
sortBy: EntityListSortByOptions;
|
|
2199
|
-
sortDir: SortDirection | null;
|
|
2200
|
-
sortType: SortType;
|
|
2201
|
-
timeFrame: TimeFrame | null;
|
|
2202
|
-
userId: string | null;
|
|
2203
|
-
followedOnly: boolean;
|
|
2204
|
-
keywordsFilters: KeywordsFilters | null;
|
|
2205
|
-
titleFilters: TitleFilters | null;
|
|
2206
|
-
contentFilters: ContentFilters | null;
|
|
2207
|
-
attachmentsFilters: AttachmentsFilters | null;
|
|
2208
|
-
locationFilters: LocationFilters | null;
|
|
2209
|
-
metadataFilters: MetadataFilters | null;
|
|
2210
|
-
} | null) & {
|
|
2839
|
+
export declare const selectEntityListSort: ((state: any, listId: string) => EntityListSort | null) & {
|
|
2211
2840
|
clearCache: () => void;
|
|
2212
2841
|
resultsCount: () => number;
|
|
2213
2842
|
resetResultsCount: () => void;
|
|
2214
2843
|
} & {
|
|
2215
|
-
resultFunc: (resultFuncArgs_0: EntityListState | undefined) =>
|
|
2216
|
-
|
|
2217
|
-
sortDir: SortDirection | null;
|
|
2218
|
-
sortType: SortType;
|
|
2219
|
-
timeFrame: TimeFrame | null;
|
|
2220
|
-
userId: string | null;
|
|
2221
|
-
followedOnly: boolean;
|
|
2222
|
-
keywordsFilters: KeywordsFilters | null;
|
|
2223
|
-
titleFilters: TitleFilters | null;
|
|
2224
|
-
contentFilters: ContentFilters | null;
|
|
2225
|
-
attachmentsFilters: AttachmentsFilters | null;
|
|
2226
|
-
locationFilters: LocationFilters | null;
|
|
2227
|
-
metadataFilters: MetadataFilters | null;
|
|
2228
|
-
} | null;
|
|
2229
|
-
memoizedResultFunc: ((resultFuncArgs_0: EntityListState | undefined) => {
|
|
2230
|
-
sortBy: EntityListSortByOptions;
|
|
2231
|
-
sortDir: SortDirection | null;
|
|
2232
|
-
sortType: SortType;
|
|
2233
|
-
timeFrame: TimeFrame | null;
|
|
2234
|
-
userId: string | null;
|
|
2235
|
-
followedOnly: boolean;
|
|
2236
|
-
keywordsFilters: KeywordsFilters | null;
|
|
2237
|
-
titleFilters: TitleFilters | null;
|
|
2238
|
-
contentFilters: ContentFilters | null;
|
|
2239
|
-
attachmentsFilters: AttachmentsFilters | null;
|
|
2240
|
-
locationFilters: LocationFilters | null;
|
|
2241
|
-
metadataFilters: MetadataFilters | null;
|
|
2242
|
-
} | null) & {
|
|
2844
|
+
resultFunc: (resultFuncArgs_0: EntityListState | undefined) => EntityListSort | null;
|
|
2845
|
+
memoizedResultFunc: ((resultFuncArgs_0: EntityListState | undefined) => EntityListSort | null) & {
|
|
2243
2846
|
clearCache: () => void;
|
|
2244
2847
|
resultsCount: () => number;
|
|
2245
2848
|
resetResultsCount: () => void;
|
|
2246
2849
|
};
|
|
2247
|
-
lastResult: () =>
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2850
|
+
lastResult: () => EntityListSort | null;
|
|
2851
|
+
dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
|
|
2852
|
+
clearCache: () => void;
|
|
2853
|
+
resultsCount: () => number;
|
|
2854
|
+
resetResultsCount: () => void;
|
|
2855
|
+
} & {
|
|
2856
|
+
resultFunc: (resultFuncArgs_0: EntityListsState, resultFuncArgs_1: string) => EntityListState | undefined;
|
|
2857
|
+
memoizedResultFunc: ((resultFuncArgs_0: EntityListsState, resultFuncArgs_1: string) => EntityListState | undefined) & {
|
|
2858
|
+
clearCache: () => void;
|
|
2859
|
+
resultsCount: () => number;
|
|
2860
|
+
resetResultsCount: () => void;
|
|
2861
|
+
};
|
|
2862
|
+
lastResult: () => EntityListState | undefined;
|
|
2863
|
+
dependencies: [(state: {
|
|
2864
|
+
entityLists: EntityListsState;
|
|
2865
|
+
}) => EntityListsState, (_: any, listId: string) => string];
|
|
2866
|
+
recomputations: () => number;
|
|
2867
|
+
resetRecomputations: () => void;
|
|
2868
|
+
dependencyRecomputations: () => number;
|
|
2869
|
+
resetDependencyRecomputations: () => void;
|
|
2870
|
+
} & {
|
|
2871
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2872
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2873
|
+
}];
|
|
2874
|
+
recomputations: () => number;
|
|
2875
|
+
resetRecomputations: () => void;
|
|
2876
|
+
dependencyRecomputations: () => number;
|
|
2877
|
+
resetDependencyRecomputations: () => void;
|
|
2878
|
+
} & {
|
|
2879
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2880
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2881
|
+
};
|
|
2882
|
+
export declare const selectEntityListFilters: ((state: any, listId: string) => EntityListFilters | null) & {
|
|
2883
|
+
clearCache: () => void;
|
|
2884
|
+
resultsCount: () => number;
|
|
2885
|
+
resetResultsCount: () => void;
|
|
2886
|
+
} & {
|
|
2887
|
+
resultFunc: (resultFuncArgs_0: EntityListState | undefined) => EntityListFilters | null;
|
|
2888
|
+
memoizedResultFunc: ((resultFuncArgs_0: EntityListState | undefined) => EntityListFilters | null) & {
|
|
2889
|
+
clearCache: () => void;
|
|
2890
|
+
resultsCount: () => number;
|
|
2891
|
+
resetResultsCount: () => void;
|
|
2892
|
+
};
|
|
2893
|
+
lastResult: () => EntityListFilters | null;
|
|
2261
2894
|
dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
|
|
2262
2895
|
clearCache: () => void;
|
|
2263
2896
|
resultsCount: () => number;
|
|
@@ -2291,7 +2924,9 @@ export declare const selectEntityListFilters: ((state: any, listId: string) => {
|
|
|
2291
2924
|
};
|
|
2292
2925
|
export declare const selectEntityListConfig: ((state: any, listId: string) => {
|
|
2293
2926
|
sourceId: string | null;
|
|
2927
|
+
spaceId: string | null;
|
|
2294
2928
|
limit: number;
|
|
2929
|
+
include: EntityIncludeParam | null;
|
|
2295
2930
|
} | null) & {
|
|
2296
2931
|
clearCache: () => void;
|
|
2297
2932
|
resultsCount: () => number;
|
|
@@ -2299,11 +2934,15 @@ export declare const selectEntityListConfig: ((state: any, listId: string) => {
|
|
|
2299
2934
|
} & {
|
|
2300
2935
|
resultFunc: (resultFuncArgs_0: EntityListState | undefined) => {
|
|
2301
2936
|
sourceId: string | null;
|
|
2937
|
+
spaceId: string | null;
|
|
2302
2938
|
limit: number;
|
|
2939
|
+
include: EntityIncludeParam | null;
|
|
2303
2940
|
} | null;
|
|
2304
2941
|
memoizedResultFunc: ((resultFuncArgs_0: EntityListState | undefined) => {
|
|
2305
2942
|
sourceId: string | null;
|
|
2943
|
+
spaceId: string | null;
|
|
2306
2944
|
limit: number;
|
|
2945
|
+
include: EntityIncludeParam | null;
|
|
2307
2946
|
} | null) & {
|
|
2308
2947
|
clearCache: () => void;
|
|
2309
2948
|
resultsCount: () => number;
|
|
@@ -2311,7 +2950,9 @@ export declare const selectEntityListConfig: ((state: any, listId: string) => {
|
|
|
2311
2950
|
};
|
|
2312
2951
|
lastResult: () => {
|
|
2313
2952
|
sourceId: string | null;
|
|
2953
|
+
spaceId: string | null;
|
|
2314
2954
|
limit: number;
|
|
2955
|
+
include: EntityIncludeParam | null;
|
|
2315
2956
|
} | null;
|
|
2316
2957
|
dependencies: [((state: any, listId: string) => EntityListState | undefined) & {
|
|
2317
2958
|
clearCache: () => void;
|