@replyke/core 7.0.0-beta.6 → 7.0.0-beta.61
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 -1
- package/dist/cjs/config/axios.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 +77 -0
- package/dist/cjs/context/replyke-integration-context.js.map +1 -0
- package/dist/cjs/context/replyke-store-context.js +2 -1
- package/dist/cjs/context/replyke-store-context.js.map +1 -1
- package/dist/cjs/hooks/app-notifications/useAppNotifications.js +9 -23
- package/dist/cjs/hooks/app-notifications/useAppNotifications.js.map +1 -1
- package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js +6 -14
- package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
- package/dist/cjs/hooks/auth/useAuth.d.ts +5 -1
- package/dist/cjs/hooks/auth/useAuth.js +6 -6
- 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 +211 -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 +265 -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 -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 +35 -12
- 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/crypto/useSignTestingJwt.d.ts +5 -2
- 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 +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 +20 -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/entities/useUpdateEntity.js +6 -2
- 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/useEntityList.d.ts +2 -2
- package/dist/cjs/hooks/entity-lists/useEntityList.js +42 -23
- package/dist/cjs/hooks/entity-lists/useEntityList.js.map +1 -1
- package/dist/cjs/hooks/entity-lists/useEntityListActions.d.ts +3 -3
- 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/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/reactions/useAddReaction.js +77 -0
- 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/useUpvoteEntity.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/useRemoveCommentUpvote.js → reactions/useRemoveReaction.js} +16 -13
- package/dist/cjs/hooks/reactions/useRemoveReaction.js.map +1 -0
- package/dist/cjs/hooks/space-lists/useSpaceList.js +10 -10
- package/dist/cjs/hooks/space-lists/useSpaceList.js.map +1 -1
- package/dist/cjs/hooks/space-lists/useSpaceListActions.js +2 -2
- package/dist/cjs/hooks/space-lists/useSpaceListActions.js.map +1 -1
- package/dist/cjs/hooks/spaces/index.d.ts +4 -0
- package/dist/cjs/hooks/spaces/index.js +12 -1
- package/dist/cjs/hooks/spaces/index.js.map +1 -1
- package/dist/cjs/hooks/spaces/rules/index.d.ts +10 -0
- package/dist/cjs/hooks/spaces/rules/index.js +17 -0
- package/dist/cjs/hooks/spaces/rules/index.js.map +1 -0
- package/dist/cjs/hooks/spaces/rules/useCreateRule.d.ts +9 -0
- package/dist/cjs/hooks/{users/useUpdateUser.js → spaces/rules/useCreateRule.js} +19 -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/{entities/useRemoveEntityUpvote.js → spaces/rules/useDeleteRule.js} +18 -15
- 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/{entities/useRemoveEntityDownvote.js → spaces/rules/useFetchRule.js} +18 -15
- package/dist/cjs/hooks/spaces/rules/useFetchRule.js.map +1 -0
- package/dist/cjs/hooks/spaces/rules/useUpdateRule.d.ts +12 -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/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/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/useFetchManySpaces.d.ts +2 -1
- package/dist/cjs/hooks/spaces/useFetchManySpaces.js +5 -0
- package/dist/cjs/hooks/spaces/useFetchManySpaces.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchMySpaces.d.ts +2 -1
- package/dist/cjs/hooks/spaces/useFetchMySpaces.js +30 -2
- package/dist/cjs/hooks/spaces/useFetchMySpaces.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpace.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useFetchSpace.js +10 -3
- package/dist/cjs/hooks/spaces/useFetchSpace.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js +21 -3
- package/dist/cjs/hooks/spaces/useFetchSpaceByShortId.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js +21 -3
- package/dist/cjs/hooks/spaces/useFetchSpaceBySlug.js.map +1 -1
- package/dist/cjs/hooks/spaces/useFetchSpaceChildren.d.ts +3 -2
- package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js +21 -3
- package/dist/cjs/hooks/spaces/useFetchSpaceChildren.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/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 +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 +159 -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 +21 -4
- package/dist/cjs/hooks/user/useUserActions.js.map +1 -1
- package/dist/cjs/hooks/users/index.d.ts +1 -1
- package/dist/cjs/hooks/users/index.js +3 -3
- package/dist/cjs/hooks/users/index.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUser.d.ts +3 -2
- package/dist/cjs/hooks/users/useFetchUser.js +10 -3
- package/dist/cjs/hooks/users/useFetchUser.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUserByForeignId.d.ts +3 -2
- package/dist/cjs/hooks/users/useFetchUserByForeignId.js +19 -3
- package/dist/cjs/hooks/users/useFetchUserByForeignId.js.map +1 -1
- package/dist/cjs/hooks/users/useFetchUserByUsername.d.ts +6 -0
- package/dist/cjs/hooks/users/useFetchUserByUsername.js +88 -0
- package/dist/cjs/hooks/users/useFetchUserByUsername.js.map +1 -0
- package/dist/cjs/index.d.ts +20 -15
- package/dist/cjs/index.js +30 -16
- 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 +8 -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 +23 -3
- package/dist/cjs/interfaces/models/SpaceMember.d.ts +3 -0
- package/dist/cjs/interfaces/models/User.d.ts +9 -1
- 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 -5
- 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 +109 -109
- 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 +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 +26 -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 +17 -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 +36 -0
- package/dist/cjs/store/replykeReducers.js +42 -0
- package/dist/cjs/store/replykeReducers.js.map +1 -0
- package/dist/cjs/store/rootReducer.d.ts +27 -14
- package/dist/cjs/store/rootReducer.js +6 -19
- package/dist/cjs/store/rootReducer.js.map +1 -1
- package/dist/cjs/store/slices/appNotificationsSlice.d.ts +9 -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 +20 -10
- package/dist/cjs/store/slices/authSlice.js +22 -16
- package/dist/cjs/store/slices/authSlice.js.map +1 -1
- package/dist/cjs/store/slices/authThunks.d.ts +4 -0
- package/dist/cjs/store/slices/authThunks.js +54 -16
- 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 +3818 -204
- package/dist/cjs/store/slices/entityListsSlice.js +43 -25
- package/dist/cjs/store/slices/entityListsSlice.js.map +1 -1
- package/dist/cjs/store/slices/spaceListsSlice.d.ts +1065 -48
- package/dist/cjs/store/slices/spaceListsSlice.js +2 -2
- 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 -1
- package/dist/esm/config/axios.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 +70 -0
- package/dist/esm/context/replyke-integration-context.js.map +1 -0
- package/dist/esm/context/replyke-store-context.js +3 -2
- package/dist/esm/context/replyke-store-context.js.map +1 -1
- package/dist/esm/hooks/app-notifications/useAppNotifications.js +9 -23
- package/dist/esm/hooks/app-notifications/useAppNotifications.js.map +1 -1
- package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js +6 -14
- package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
- package/dist/esm/hooks/auth/useAuth.d.ts +5 -1
- package/dist/esm/hooks/auth/useAuth.js +7 -7
- 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 +206 -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 +260 -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 -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 +35 -12
- 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/crypto/useSignTestingJwt.d.ts +5 -2
- 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 +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 +20 -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/entities/useUpdateEntity.js +6 -2
- 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/useEntityList.d.ts +2 -2
- package/dist/esm/hooks/entity-lists/useEntityList.js +43 -24
- package/dist/esm/hooks/entity-lists/useEntityList.js.map +1 -1
- package/dist/esm/hooks/entity-lists/useEntityListActions.d.ts +3 -3
- 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/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/reactions/useAddReaction.js +72 -0
- 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/useRemoveEntityUpvote.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/useRemoveCommentUpvote.js → reactions/useRemoveReaction.js} +16 -13
- package/dist/esm/hooks/reactions/useRemoveReaction.js.map +1 -0
- package/dist/esm/hooks/space-lists/useSpaceList.js +10 -10
- package/dist/esm/hooks/space-lists/useSpaceList.js.map +1 -1
- package/dist/esm/hooks/space-lists/useSpaceListActions.js +2 -2
- package/dist/esm/hooks/space-lists/useSpaceListActions.js.map +1 -1
- package/dist/esm/hooks/spaces/index.d.ts +4 -0
- package/dist/esm/hooks/spaces/index.js +4 -0
- package/dist/esm/hooks/spaces/index.js.map +1 -1
- package/dist/esm/hooks/spaces/rules/index.d.ts +10 -0
- package/dist/esm/hooks/spaces/rules/index.js +6 -0
- package/dist/esm/hooks/spaces/rules/index.js.map +1 -0
- package/dist/esm/hooks/spaces/rules/useCreateRule.d.ts +9 -0
- package/dist/esm/hooks/{entities/useUpvoteEntity.js → spaces/rules/useCreateRule.js} +22 -15
- 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/{entities/useRemoveEntityDownvote.js → spaces/rules/useDeleteRule.js} +18 -15
- 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/{comments/useRemoveCommentDownvote.js → spaces/rules/useFetchRule.js} +18 -15
- package/dist/esm/hooks/spaces/rules/useFetchRule.js.map +1 -0
- package/dist/esm/hooks/spaces/rules/useUpdateRule.d.ts +12 -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/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/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/useFetchManySpaces.d.ts +2 -1
- package/dist/esm/hooks/spaces/useFetchManySpaces.js +5 -0
- package/dist/esm/hooks/spaces/useFetchManySpaces.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchMySpaces.d.ts +2 -1
- package/dist/esm/hooks/spaces/useFetchMySpaces.js +30 -2
- package/dist/esm/hooks/spaces/useFetchMySpaces.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpace.d.ts +3 -2
- package/dist/esm/hooks/spaces/useFetchSpace.js +10 -3
- package/dist/esm/hooks/spaces/useFetchSpace.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceByShortId.d.ts +3 -2
- package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js +21 -3
- package/dist/esm/hooks/spaces/useFetchSpaceByShortId.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceBySlug.d.ts +3 -2
- package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js +21 -3
- package/dist/esm/hooks/spaces/useFetchSpaceBySlug.js.map +1 -1
- package/dist/esm/hooks/spaces/useFetchSpaceChildren.d.ts +3 -2
- package/dist/esm/hooks/spaces/useFetchSpaceChildren.js +21 -3
- package/dist/esm/hooks/spaces/useFetchSpaceChildren.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/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 +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 +154 -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 +21 -4
- package/dist/esm/hooks/user/useUserActions.js.map +1 -1
- package/dist/esm/hooks/users/index.d.ts +1 -1
- package/dist/esm/hooks/users/index.js +1 -1
- package/dist/esm/hooks/users/index.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUser.d.ts +3 -2
- package/dist/esm/hooks/users/useFetchUser.js +10 -3
- package/dist/esm/hooks/users/useFetchUser.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUserByForeignId.d.ts +3 -2
- package/dist/esm/hooks/users/useFetchUserByForeignId.js +19 -3
- package/dist/esm/hooks/users/useFetchUserByForeignId.js.map +1 -1
- package/dist/esm/hooks/users/useFetchUserByUsername.d.ts +6 -0
- package/dist/esm/hooks/users/useFetchUserByUsername.js +83 -0
- package/dist/esm/hooks/users/useFetchUserByUsername.js.map +1 -0
- package/dist/esm/index.d.ts +20 -15
- package/dist/esm/index.js +12 -8
- 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 +8 -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 +23 -3
- package/dist/esm/interfaces/models/SpaceMember.d.ts +3 -0
- package/dist/esm/interfaces/models/User.d.ts +9 -1
- 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 -4
- 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 +109 -109
- 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 +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 +26 -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 +17 -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 +36 -0
- package/dist/esm/store/replykeReducers.js +36 -0
- package/dist/esm/store/replykeReducers.js.map +1 -0
- package/dist/esm/store/rootReducer.d.ts +27 -14
- package/dist/esm/store/rootReducer.js +6 -16
- package/dist/esm/store/rootReducer.js.map +1 -1
- package/dist/esm/store/slices/appNotificationsSlice.d.ts +9 -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 +20 -10
- package/dist/esm/store/slices/authSlice.js +21 -14
- package/dist/esm/store/slices/authSlice.js.map +1 -1
- package/dist/esm/store/slices/authThunks.d.ts +4 -0
- package/dist/esm/store/slices/authThunks.js +55 -17
- 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 +3818 -204
- package/dist/esm/store/slices/entityListsSlice.js +42 -24
- package/dist/esm/store/slices/entityListsSlice.js.map +1 -1
- package/dist/esm/store/slices/spaceListsSlice.d.ts +1065 -48
- package/dist/esm/store/slices/spaceListsSlice.js +2 -2
- 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/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/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,4 +1,5 @@
|
|
|
1
1
|
import { PayloadAction } from "@reduxjs/toolkit";
|
|
2
|
+
import type { ReplykeState } from '../replykeReducers';
|
|
2
3
|
import { Entity, EntityIncludeParam } from "../../interfaces/models/Entity";
|
|
3
4
|
import { EntityListSortByOptions, SortDirection, SortType } from "../../interfaces/EntityListSortByOptions";
|
|
4
5
|
import { LocationFilters } from "../../interfaces/entity-filters/LocationFilters";
|
|
@@ -37,10 +38,12 @@ export interface EntityListsState {
|
|
|
37
38
|
[listId: string]: EntityListState;
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
|
-
export interface
|
|
41
|
-
sortBy
|
|
41
|
+
export interface EntityListSort {
|
|
42
|
+
sortBy: EntityListSortByOptions;
|
|
42
43
|
sortDir?: SortDirection | null;
|
|
43
44
|
sortType?: SortType;
|
|
45
|
+
}
|
|
46
|
+
export interface EntityListFilters {
|
|
44
47
|
timeFrame?: TimeFrame | null;
|
|
45
48
|
userId?: string | null;
|
|
46
49
|
followedOnly?: boolean;
|
|
@@ -58,13 +61,15 @@ export interface EntityListConfig {
|
|
|
58
61
|
include?: EntityIncludeParam | null;
|
|
59
62
|
}
|
|
60
63
|
export interface EntityListFetchOptions {
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
resetFilters?: boolean;
|
|
65
|
+
resetSort?: boolean;
|
|
66
|
+
fetchImmediately?: boolean;
|
|
63
67
|
clearImmediately?: boolean;
|
|
64
68
|
}
|
|
65
69
|
export interface FilterUpdatePayload {
|
|
66
70
|
listId: string;
|
|
67
71
|
filters: Partial<EntityListFilters>;
|
|
72
|
+
sort?: Partial<EntityListSort>;
|
|
68
73
|
config?: EntityListConfig;
|
|
69
74
|
options?: EntityListFetchOptions;
|
|
70
75
|
}
|
|
@@ -109,8 +114,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
109
114
|
slug: string | null;
|
|
110
115
|
name: string;
|
|
111
116
|
description: string | null;
|
|
112
|
-
|
|
113
|
-
|
|
117
|
+
avatarFileId: string | null;
|
|
118
|
+
bannerFileId: string | null;
|
|
114
119
|
userId: string;
|
|
115
120
|
readingPermission: import("../..").ReadingPermission;
|
|
116
121
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -126,6 +131,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
126
131
|
membersCount: number;
|
|
127
132
|
childSpacesCount: number;
|
|
128
133
|
isMember?: boolean | undefined;
|
|
134
|
+
avatarFile?: {
|
|
135
|
+
id: string;
|
|
136
|
+
projectId: string;
|
|
137
|
+
userId: string | null;
|
|
138
|
+
entityId: string | null;
|
|
139
|
+
commentId: string | null;
|
|
140
|
+
spaceId: string | null;
|
|
141
|
+
type: "image" | "video" | "document" | "other";
|
|
142
|
+
originalPath: string;
|
|
143
|
+
originalSize: number;
|
|
144
|
+
originalMimeType: string;
|
|
145
|
+
position: number;
|
|
146
|
+
metadata: {
|
|
147
|
+
[x: string]: any;
|
|
148
|
+
};
|
|
149
|
+
image?: {
|
|
150
|
+
fileId: string;
|
|
151
|
+
originalWidth: number;
|
|
152
|
+
originalHeight: number;
|
|
153
|
+
variants: {
|
|
154
|
+
[x: string]: {
|
|
155
|
+
path: string;
|
|
156
|
+
publicPath: string;
|
|
157
|
+
width: number;
|
|
158
|
+
height: number;
|
|
159
|
+
size: number;
|
|
160
|
+
format: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
processingStatus: "completed" | "failed";
|
|
164
|
+
processingError: string | null;
|
|
165
|
+
format: string;
|
|
166
|
+
quality: number;
|
|
167
|
+
exifStripped: boolean;
|
|
168
|
+
createdAt: Date;
|
|
169
|
+
updatedAt: Date;
|
|
170
|
+
} | undefined;
|
|
171
|
+
createdAt: Date;
|
|
172
|
+
updatedAt: Date;
|
|
173
|
+
} | undefined;
|
|
174
|
+
bannerFile?: {
|
|
175
|
+
id: string;
|
|
176
|
+
projectId: string;
|
|
177
|
+
userId: string | null;
|
|
178
|
+
entityId: string | null;
|
|
179
|
+
commentId: string | null;
|
|
180
|
+
spaceId: string | null;
|
|
181
|
+
type: "image" | "video" | "document" | "other";
|
|
182
|
+
originalPath: string;
|
|
183
|
+
originalSize: number;
|
|
184
|
+
originalMimeType: string;
|
|
185
|
+
position: number;
|
|
186
|
+
metadata: {
|
|
187
|
+
[x: string]: any;
|
|
188
|
+
};
|
|
189
|
+
image?: {
|
|
190
|
+
fileId: string;
|
|
191
|
+
originalWidth: number;
|
|
192
|
+
originalHeight: number;
|
|
193
|
+
variants: {
|
|
194
|
+
[x: string]: {
|
|
195
|
+
path: string;
|
|
196
|
+
publicPath: string;
|
|
197
|
+
width: number;
|
|
198
|
+
height: number;
|
|
199
|
+
size: number;
|
|
200
|
+
format: string;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
processingStatus: "completed" | "failed";
|
|
204
|
+
processingError: string | null;
|
|
205
|
+
format: string;
|
|
206
|
+
quality: number;
|
|
207
|
+
exifStripped: boolean;
|
|
208
|
+
createdAt: Date;
|
|
209
|
+
updatedAt: Date;
|
|
210
|
+
} | undefined;
|
|
211
|
+
createdAt: Date;
|
|
212
|
+
updatedAt: Date;
|
|
213
|
+
} | undefined;
|
|
129
214
|
} | null | undefined;
|
|
130
215
|
user?: {
|
|
131
216
|
id: string;
|
|
@@ -135,17 +220,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
135
220
|
name: string | null;
|
|
136
221
|
username: string | null;
|
|
137
222
|
avatar: string | null;
|
|
223
|
+
avatarFileId: string | null;
|
|
224
|
+
bannerFileId: string | null;
|
|
225
|
+
avatarFile?: {
|
|
226
|
+
id: string;
|
|
227
|
+
projectId: string;
|
|
228
|
+
userId: string | null;
|
|
229
|
+
entityId: string | null;
|
|
230
|
+
commentId: string | null;
|
|
231
|
+
spaceId: string | null;
|
|
232
|
+
type: "image" | "video" | "document" | "other";
|
|
233
|
+
originalPath: string;
|
|
234
|
+
originalSize: number;
|
|
235
|
+
originalMimeType: string;
|
|
236
|
+
position: number;
|
|
237
|
+
metadata: {
|
|
238
|
+
[x: string]: any;
|
|
239
|
+
};
|
|
240
|
+
image?: {
|
|
241
|
+
fileId: string;
|
|
242
|
+
originalWidth: number;
|
|
243
|
+
originalHeight: number;
|
|
244
|
+
variants: {
|
|
245
|
+
[x: string]: {
|
|
246
|
+
path: string;
|
|
247
|
+
publicPath: string;
|
|
248
|
+
width: number;
|
|
249
|
+
height: number;
|
|
250
|
+
size: number;
|
|
251
|
+
format: string;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
processingStatus: "completed" | "failed";
|
|
255
|
+
processingError: string | null;
|
|
256
|
+
format: string;
|
|
257
|
+
quality: number;
|
|
258
|
+
exifStripped: boolean;
|
|
259
|
+
createdAt: Date;
|
|
260
|
+
updatedAt: Date;
|
|
261
|
+
} | undefined;
|
|
262
|
+
createdAt: Date;
|
|
263
|
+
updatedAt: Date;
|
|
264
|
+
} | null | undefined;
|
|
265
|
+
bannerFile?: {
|
|
266
|
+
id: string;
|
|
267
|
+
projectId: string;
|
|
268
|
+
userId: string | null;
|
|
269
|
+
entityId: string | null;
|
|
270
|
+
commentId: string | null;
|
|
271
|
+
spaceId: string | null;
|
|
272
|
+
type: "image" | "video" | "document" | "other";
|
|
273
|
+
originalPath: string;
|
|
274
|
+
originalSize: number;
|
|
275
|
+
originalMimeType: string;
|
|
276
|
+
position: number;
|
|
277
|
+
metadata: {
|
|
278
|
+
[x: string]: any;
|
|
279
|
+
};
|
|
280
|
+
image?: {
|
|
281
|
+
fileId: string;
|
|
282
|
+
originalWidth: number;
|
|
283
|
+
originalHeight: number;
|
|
284
|
+
variants: {
|
|
285
|
+
[x: string]: {
|
|
286
|
+
path: string;
|
|
287
|
+
publicPath: string;
|
|
288
|
+
width: number;
|
|
289
|
+
height: number;
|
|
290
|
+
size: number;
|
|
291
|
+
format: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
processingStatus: "completed" | "failed";
|
|
295
|
+
processingError: string | null;
|
|
296
|
+
format: string;
|
|
297
|
+
quality: number;
|
|
298
|
+
exifStripped: boolean;
|
|
299
|
+
createdAt: Date;
|
|
300
|
+
updatedAt: Date;
|
|
301
|
+
} | undefined;
|
|
302
|
+
createdAt: Date;
|
|
303
|
+
updatedAt: Date;
|
|
304
|
+
} | null | undefined;
|
|
138
305
|
bio: string | null;
|
|
139
306
|
birthdate: Date | null;
|
|
307
|
+
location: {
|
|
308
|
+
type: "Point";
|
|
309
|
+
coordinates: [number, number];
|
|
310
|
+
} | null;
|
|
140
311
|
metadata: {
|
|
141
312
|
[x: string]: any;
|
|
142
313
|
};
|
|
143
314
|
reputation: number;
|
|
144
315
|
createdAt: Date;
|
|
145
|
-
location: {
|
|
146
|
-
type: "Point";
|
|
147
|
-
coordinates: [number, number];
|
|
148
|
-
} | null;
|
|
149
316
|
} | null | undefined;
|
|
150
317
|
title: string | null;
|
|
151
318
|
content: string | null;
|
|
@@ -157,9 +324,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
157
324
|
attachments: {
|
|
158
325
|
[x: string]: any;
|
|
159
326
|
}[];
|
|
327
|
+
files?: {
|
|
328
|
+
id: string;
|
|
329
|
+
projectId: string;
|
|
330
|
+
userId: string | null;
|
|
331
|
+
entityId: string | null;
|
|
332
|
+
commentId: string | null;
|
|
333
|
+
spaceId: string | null;
|
|
334
|
+
type: "image" | "video" | "document" | "other";
|
|
335
|
+
originalPath: string;
|
|
336
|
+
originalSize: number;
|
|
337
|
+
originalMimeType: string;
|
|
338
|
+
position: number;
|
|
339
|
+
metadata: {
|
|
340
|
+
[x: string]: any;
|
|
341
|
+
};
|
|
342
|
+
image?: {
|
|
343
|
+
fileId: string;
|
|
344
|
+
originalWidth: number;
|
|
345
|
+
originalHeight: number;
|
|
346
|
+
variants: {
|
|
347
|
+
[x: string]: {
|
|
348
|
+
path: string;
|
|
349
|
+
publicPath: string;
|
|
350
|
+
width: number;
|
|
351
|
+
height: number;
|
|
352
|
+
size: number;
|
|
353
|
+
format: string;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
processingStatus: "completed" | "failed";
|
|
357
|
+
processingError: string | null;
|
|
358
|
+
format: string;
|
|
359
|
+
quality: number;
|
|
360
|
+
exifStripped: boolean;
|
|
361
|
+
createdAt: Date;
|
|
362
|
+
updatedAt: Date;
|
|
363
|
+
} | undefined;
|
|
364
|
+
createdAt: Date;
|
|
365
|
+
updatedAt: Date;
|
|
366
|
+
}[] | undefined;
|
|
160
367
|
keywords: string[];
|
|
161
368
|
upvotes: string[];
|
|
162
369
|
downvotes: string[];
|
|
370
|
+
reactionCounts: {
|
|
371
|
+
upvote: number;
|
|
372
|
+
downvote: number;
|
|
373
|
+
like: number;
|
|
374
|
+
love: number;
|
|
375
|
+
wow: number;
|
|
376
|
+
sad: number;
|
|
377
|
+
angry: number;
|
|
378
|
+
funny: number;
|
|
379
|
+
};
|
|
380
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
163
381
|
repliesCount: number;
|
|
164
382
|
views: number;
|
|
165
383
|
score: number;
|
|
@@ -181,22 +399,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
181
399
|
name: string | null;
|
|
182
400
|
username: string | null;
|
|
183
401
|
avatar: string | null;
|
|
402
|
+
avatarFileId: string | null;
|
|
403
|
+
bannerFileId: string | null;
|
|
404
|
+
avatarFile?: {
|
|
405
|
+
id: string;
|
|
406
|
+
projectId: string;
|
|
407
|
+
userId: string | null;
|
|
408
|
+
entityId: string | null;
|
|
409
|
+
commentId: string | null;
|
|
410
|
+
spaceId: string | null;
|
|
411
|
+
type: "image" | "video" | "document" | "other";
|
|
412
|
+
originalPath: string;
|
|
413
|
+
originalSize: number;
|
|
414
|
+
originalMimeType: string;
|
|
415
|
+
position: number;
|
|
416
|
+
metadata: {
|
|
417
|
+
[x: string]: any;
|
|
418
|
+
};
|
|
419
|
+
image?: {
|
|
420
|
+
fileId: string;
|
|
421
|
+
originalWidth: number;
|
|
422
|
+
originalHeight: number;
|
|
423
|
+
variants: {
|
|
424
|
+
[x: string]: {
|
|
425
|
+
path: string;
|
|
426
|
+
publicPath: string;
|
|
427
|
+
width: number;
|
|
428
|
+
height: number;
|
|
429
|
+
size: number;
|
|
430
|
+
format: string;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
processingStatus: "completed" | "failed";
|
|
434
|
+
processingError: string | null;
|
|
435
|
+
format: string;
|
|
436
|
+
quality: number;
|
|
437
|
+
exifStripped: boolean;
|
|
438
|
+
createdAt: Date;
|
|
439
|
+
updatedAt: Date;
|
|
440
|
+
} | undefined;
|
|
441
|
+
createdAt: Date;
|
|
442
|
+
updatedAt: Date;
|
|
443
|
+
} | null | undefined;
|
|
444
|
+
bannerFile?: {
|
|
445
|
+
id: string;
|
|
446
|
+
projectId: string;
|
|
447
|
+
userId: string | null;
|
|
448
|
+
entityId: string | null;
|
|
449
|
+
commentId: string | null;
|
|
450
|
+
spaceId: string | null;
|
|
451
|
+
type: "image" | "video" | "document" | "other";
|
|
452
|
+
originalPath: string;
|
|
453
|
+
originalSize: number;
|
|
454
|
+
originalMimeType: string;
|
|
455
|
+
position: number;
|
|
456
|
+
metadata: {
|
|
457
|
+
[x: string]: any;
|
|
458
|
+
};
|
|
459
|
+
image?: {
|
|
460
|
+
fileId: string;
|
|
461
|
+
originalWidth: number;
|
|
462
|
+
originalHeight: number;
|
|
463
|
+
variants: {
|
|
464
|
+
[x: string]: {
|
|
465
|
+
path: string;
|
|
466
|
+
publicPath: string;
|
|
467
|
+
width: number;
|
|
468
|
+
height: number;
|
|
469
|
+
size: number;
|
|
470
|
+
format: string;
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
processingStatus: "completed" | "failed";
|
|
474
|
+
processingError: string | null;
|
|
475
|
+
format: string;
|
|
476
|
+
quality: number;
|
|
477
|
+
exifStripped: boolean;
|
|
478
|
+
createdAt: Date;
|
|
479
|
+
updatedAt: Date;
|
|
480
|
+
} | undefined;
|
|
481
|
+
createdAt: Date;
|
|
482
|
+
updatedAt: Date;
|
|
483
|
+
} | null | undefined;
|
|
184
484
|
bio: string | null;
|
|
185
485
|
birthdate: Date | null;
|
|
486
|
+
location: {
|
|
487
|
+
type: "Point";
|
|
488
|
+
coordinates: [number, number];
|
|
489
|
+
} | null;
|
|
186
490
|
metadata: {
|
|
187
491
|
[x: string]: any;
|
|
188
492
|
};
|
|
189
493
|
reputation: number;
|
|
190
494
|
createdAt: Date;
|
|
191
|
-
location: {
|
|
192
|
-
type: "Point";
|
|
193
|
-
coordinates: [number, number];
|
|
194
|
-
} | null;
|
|
195
495
|
};
|
|
196
496
|
upvotesCount: number;
|
|
197
497
|
content: string;
|
|
198
498
|
createdAt: string;
|
|
199
499
|
} | null;
|
|
500
|
+
isSaved?: boolean | undefined;
|
|
200
501
|
createdAt: Date;
|
|
201
502
|
updatedAt: Date;
|
|
202
503
|
deletedAt: Date | null;
|
|
@@ -254,7 +555,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
254
555
|
};
|
|
255
556
|
};
|
|
256
557
|
}, action: PayloadAction<InitializeListPayload>) => void;
|
|
257
|
-
|
|
558
|
+
updateFiltersAndSortConfig: (state: {
|
|
258
559
|
lists: {
|
|
259
560
|
[x: string]: {
|
|
260
561
|
entities: {
|
|
@@ -271,8 +572,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
271
572
|
slug: string | null;
|
|
272
573
|
name: string;
|
|
273
574
|
description: string | null;
|
|
274
|
-
|
|
275
|
-
|
|
575
|
+
avatarFileId: string | null;
|
|
576
|
+
bannerFileId: string | null;
|
|
276
577
|
userId: string;
|
|
277
578
|
readingPermission: import("../..").ReadingPermission;
|
|
278
579
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -288,6 +589,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
288
589
|
membersCount: number;
|
|
289
590
|
childSpacesCount: number;
|
|
290
591
|
isMember?: boolean | undefined;
|
|
592
|
+
avatarFile?: {
|
|
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: Date;
|
|
627
|
+
updatedAt: Date;
|
|
628
|
+
} | undefined;
|
|
629
|
+
createdAt: Date;
|
|
630
|
+
updatedAt: Date;
|
|
631
|
+
} | undefined;
|
|
632
|
+
bannerFile?: {
|
|
633
|
+
id: string;
|
|
634
|
+
projectId: string;
|
|
635
|
+
userId: string | null;
|
|
636
|
+
entityId: string | null;
|
|
637
|
+
commentId: string | null;
|
|
638
|
+
spaceId: string | null;
|
|
639
|
+
type: "image" | "video" | "document" | "other";
|
|
640
|
+
originalPath: string;
|
|
641
|
+
originalSize: number;
|
|
642
|
+
originalMimeType: string;
|
|
643
|
+
position: number;
|
|
644
|
+
metadata: {
|
|
645
|
+
[x: string]: any;
|
|
646
|
+
};
|
|
647
|
+
image?: {
|
|
648
|
+
fileId: string;
|
|
649
|
+
originalWidth: number;
|
|
650
|
+
originalHeight: number;
|
|
651
|
+
variants: {
|
|
652
|
+
[x: string]: {
|
|
653
|
+
path: string;
|
|
654
|
+
publicPath: string;
|
|
655
|
+
width: number;
|
|
656
|
+
height: number;
|
|
657
|
+
size: number;
|
|
658
|
+
format: string;
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
processingStatus: "completed" | "failed";
|
|
662
|
+
processingError: string | null;
|
|
663
|
+
format: string;
|
|
664
|
+
quality: number;
|
|
665
|
+
exifStripped: boolean;
|
|
666
|
+
createdAt: Date;
|
|
667
|
+
updatedAt: Date;
|
|
668
|
+
} | undefined;
|
|
669
|
+
createdAt: Date;
|
|
670
|
+
updatedAt: Date;
|
|
671
|
+
} | undefined;
|
|
291
672
|
} | null | undefined;
|
|
292
673
|
user?: {
|
|
293
674
|
id: string;
|
|
@@ -297,17 +678,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
297
678
|
name: string | null;
|
|
298
679
|
username: string | null;
|
|
299
680
|
avatar: string | null;
|
|
681
|
+
avatarFileId: string | null;
|
|
682
|
+
bannerFileId: string | null;
|
|
683
|
+
avatarFile?: {
|
|
684
|
+
id: string;
|
|
685
|
+
projectId: string;
|
|
686
|
+
userId: string | null;
|
|
687
|
+
entityId: string | null;
|
|
688
|
+
commentId: string | null;
|
|
689
|
+
spaceId: string | null;
|
|
690
|
+
type: "image" | "video" | "document" | "other";
|
|
691
|
+
originalPath: string;
|
|
692
|
+
originalSize: number;
|
|
693
|
+
originalMimeType: string;
|
|
694
|
+
position: number;
|
|
695
|
+
metadata: {
|
|
696
|
+
[x: string]: any;
|
|
697
|
+
};
|
|
698
|
+
image?: {
|
|
699
|
+
fileId: string;
|
|
700
|
+
originalWidth: number;
|
|
701
|
+
originalHeight: number;
|
|
702
|
+
variants: {
|
|
703
|
+
[x: string]: {
|
|
704
|
+
path: string;
|
|
705
|
+
publicPath: string;
|
|
706
|
+
width: number;
|
|
707
|
+
height: number;
|
|
708
|
+
size: number;
|
|
709
|
+
format: string;
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
processingStatus: "completed" | "failed";
|
|
713
|
+
processingError: string | null;
|
|
714
|
+
format: string;
|
|
715
|
+
quality: number;
|
|
716
|
+
exifStripped: boolean;
|
|
717
|
+
createdAt: Date;
|
|
718
|
+
updatedAt: Date;
|
|
719
|
+
} | undefined;
|
|
720
|
+
createdAt: Date;
|
|
721
|
+
updatedAt: Date;
|
|
722
|
+
} | null | undefined;
|
|
723
|
+
bannerFile?: {
|
|
724
|
+
id: string;
|
|
725
|
+
projectId: string;
|
|
726
|
+
userId: string | null;
|
|
727
|
+
entityId: string | null;
|
|
728
|
+
commentId: string | null;
|
|
729
|
+
spaceId: string | null;
|
|
730
|
+
type: "image" | "video" | "document" | "other";
|
|
731
|
+
originalPath: string;
|
|
732
|
+
originalSize: number;
|
|
733
|
+
originalMimeType: string;
|
|
734
|
+
position: number;
|
|
735
|
+
metadata: {
|
|
736
|
+
[x: string]: any;
|
|
737
|
+
};
|
|
738
|
+
image?: {
|
|
739
|
+
fileId: string;
|
|
740
|
+
originalWidth: number;
|
|
741
|
+
originalHeight: number;
|
|
742
|
+
variants: {
|
|
743
|
+
[x: string]: {
|
|
744
|
+
path: string;
|
|
745
|
+
publicPath: string;
|
|
746
|
+
width: number;
|
|
747
|
+
height: number;
|
|
748
|
+
size: number;
|
|
749
|
+
format: string;
|
|
750
|
+
};
|
|
751
|
+
};
|
|
752
|
+
processingStatus: "completed" | "failed";
|
|
753
|
+
processingError: string | null;
|
|
754
|
+
format: string;
|
|
755
|
+
quality: number;
|
|
756
|
+
exifStripped: boolean;
|
|
757
|
+
createdAt: Date;
|
|
758
|
+
updatedAt: Date;
|
|
759
|
+
} | undefined;
|
|
760
|
+
createdAt: Date;
|
|
761
|
+
updatedAt: Date;
|
|
762
|
+
} | null | undefined;
|
|
300
763
|
bio: string | null;
|
|
301
764
|
birthdate: Date | null;
|
|
765
|
+
location: {
|
|
766
|
+
type: "Point";
|
|
767
|
+
coordinates: [number, number];
|
|
768
|
+
} | null;
|
|
302
769
|
metadata: {
|
|
303
770
|
[x: string]: any;
|
|
304
771
|
};
|
|
305
772
|
reputation: number;
|
|
306
773
|
createdAt: Date;
|
|
307
|
-
location: {
|
|
308
|
-
type: "Point";
|
|
309
|
-
coordinates: [number, number];
|
|
310
|
-
} | null;
|
|
311
774
|
} | null | undefined;
|
|
312
775
|
title: string | null;
|
|
313
776
|
content: string | null;
|
|
@@ -319,9 +782,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
319
782
|
attachments: {
|
|
320
783
|
[x: string]: any;
|
|
321
784
|
}[];
|
|
785
|
+
files?: {
|
|
786
|
+
id: string;
|
|
787
|
+
projectId: string;
|
|
788
|
+
userId: string | null;
|
|
789
|
+
entityId: string | null;
|
|
790
|
+
commentId: string | null;
|
|
791
|
+
spaceId: string | null;
|
|
792
|
+
type: "image" | "video" | "document" | "other";
|
|
793
|
+
originalPath: string;
|
|
794
|
+
originalSize: number;
|
|
795
|
+
originalMimeType: string;
|
|
796
|
+
position: number;
|
|
797
|
+
metadata: {
|
|
798
|
+
[x: string]: any;
|
|
799
|
+
};
|
|
800
|
+
image?: {
|
|
801
|
+
fileId: string;
|
|
802
|
+
originalWidth: number;
|
|
803
|
+
originalHeight: number;
|
|
804
|
+
variants: {
|
|
805
|
+
[x: string]: {
|
|
806
|
+
path: string;
|
|
807
|
+
publicPath: string;
|
|
808
|
+
width: number;
|
|
809
|
+
height: number;
|
|
810
|
+
size: number;
|
|
811
|
+
format: string;
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
processingStatus: "completed" | "failed";
|
|
815
|
+
processingError: string | null;
|
|
816
|
+
format: string;
|
|
817
|
+
quality: number;
|
|
818
|
+
exifStripped: boolean;
|
|
819
|
+
createdAt: Date;
|
|
820
|
+
updatedAt: Date;
|
|
821
|
+
} | undefined;
|
|
822
|
+
createdAt: Date;
|
|
823
|
+
updatedAt: Date;
|
|
824
|
+
}[] | undefined;
|
|
322
825
|
keywords: string[];
|
|
323
826
|
upvotes: string[];
|
|
324
827
|
downvotes: string[];
|
|
828
|
+
reactionCounts: {
|
|
829
|
+
upvote: number;
|
|
830
|
+
downvote: number;
|
|
831
|
+
like: number;
|
|
832
|
+
love: number;
|
|
833
|
+
wow: number;
|
|
834
|
+
sad: number;
|
|
835
|
+
angry: number;
|
|
836
|
+
funny: number;
|
|
837
|
+
};
|
|
838
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
325
839
|
repliesCount: number;
|
|
326
840
|
views: number;
|
|
327
841
|
score: number;
|
|
@@ -343,22 +857,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
343
857
|
name: string | null;
|
|
344
858
|
username: string | null;
|
|
345
859
|
avatar: string | null;
|
|
860
|
+
avatarFileId: string | null;
|
|
861
|
+
bannerFileId: string | null;
|
|
862
|
+
avatarFile?: {
|
|
863
|
+
id: string;
|
|
864
|
+
projectId: string;
|
|
865
|
+
userId: string | null;
|
|
866
|
+
entityId: string | null;
|
|
867
|
+
commentId: string | null;
|
|
868
|
+
spaceId: string | null;
|
|
869
|
+
type: "image" | "video" | "document" | "other";
|
|
870
|
+
originalPath: string;
|
|
871
|
+
originalSize: number;
|
|
872
|
+
originalMimeType: string;
|
|
873
|
+
position: number;
|
|
874
|
+
metadata: {
|
|
875
|
+
[x: string]: any;
|
|
876
|
+
};
|
|
877
|
+
image?: {
|
|
878
|
+
fileId: string;
|
|
879
|
+
originalWidth: number;
|
|
880
|
+
originalHeight: number;
|
|
881
|
+
variants: {
|
|
882
|
+
[x: string]: {
|
|
883
|
+
path: string;
|
|
884
|
+
publicPath: string;
|
|
885
|
+
width: number;
|
|
886
|
+
height: number;
|
|
887
|
+
size: number;
|
|
888
|
+
format: string;
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
processingStatus: "completed" | "failed";
|
|
892
|
+
processingError: string | null;
|
|
893
|
+
format: string;
|
|
894
|
+
quality: number;
|
|
895
|
+
exifStripped: boolean;
|
|
896
|
+
createdAt: Date;
|
|
897
|
+
updatedAt: Date;
|
|
898
|
+
} | undefined;
|
|
899
|
+
createdAt: Date;
|
|
900
|
+
updatedAt: Date;
|
|
901
|
+
} | null | undefined;
|
|
902
|
+
bannerFile?: {
|
|
903
|
+
id: string;
|
|
904
|
+
projectId: string;
|
|
905
|
+
userId: string | null;
|
|
906
|
+
entityId: string | null;
|
|
907
|
+
commentId: string | null;
|
|
908
|
+
spaceId: string | null;
|
|
909
|
+
type: "image" | "video" | "document" | "other";
|
|
910
|
+
originalPath: string;
|
|
911
|
+
originalSize: number;
|
|
912
|
+
originalMimeType: string;
|
|
913
|
+
position: number;
|
|
914
|
+
metadata: {
|
|
915
|
+
[x: string]: any;
|
|
916
|
+
};
|
|
917
|
+
image?: {
|
|
918
|
+
fileId: string;
|
|
919
|
+
originalWidth: number;
|
|
920
|
+
originalHeight: number;
|
|
921
|
+
variants: {
|
|
922
|
+
[x: string]: {
|
|
923
|
+
path: string;
|
|
924
|
+
publicPath: string;
|
|
925
|
+
width: number;
|
|
926
|
+
height: number;
|
|
927
|
+
size: number;
|
|
928
|
+
format: string;
|
|
929
|
+
};
|
|
930
|
+
};
|
|
931
|
+
processingStatus: "completed" | "failed";
|
|
932
|
+
processingError: string | null;
|
|
933
|
+
format: string;
|
|
934
|
+
quality: number;
|
|
935
|
+
exifStripped: boolean;
|
|
936
|
+
createdAt: Date;
|
|
937
|
+
updatedAt: Date;
|
|
938
|
+
} | undefined;
|
|
939
|
+
createdAt: Date;
|
|
940
|
+
updatedAt: Date;
|
|
941
|
+
} | null | undefined;
|
|
346
942
|
bio: string | null;
|
|
347
943
|
birthdate: Date | null;
|
|
944
|
+
location: {
|
|
945
|
+
type: "Point";
|
|
946
|
+
coordinates: [number, number];
|
|
947
|
+
} | null;
|
|
348
948
|
metadata: {
|
|
349
949
|
[x: string]: any;
|
|
350
950
|
};
|
|
351
951
|
reputation: number;
|
|
352
952
|
createdAt: Date;
|
|
353
|
-
location: {
|
|
354
|
-
type: "Point";
|
|
355
|
-
coordinates: [number, number];
|
|
356
|
-
} | null;
|
|
357
953
|
};
|
|
358
954
|
upvotesCount: number;
|
|
359
955
|
content: string;
|
|
360
956
|
createdAt: string;
|
|
361
957
|
} | null;
|
|
958
|
+
isSaved?: boolean | undefined;
|
|
362
959
|
createdAt: Date;
|
|
363
960
|
updatedAt: Date;
|
|
364
961
|
deletedAt: Date | null;
|
|
@@ -433,8 +1030,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
433
1030
|
slug: string | null;
|
|
434
1031
|
name: string;
|
|
435
1032
|
description: string | null;
|
|
436
|
-
|
|
437
|
-
|
|
1033
|
+
avatarFileId: string | null;
|
|
1034
|
+
bannerFileId: string | null;
|
|
438
1035
|
userId: string;
|
|
439
1036
|
readingPermission: import("../..").ReadingPermission;
|
|
440
1037
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -450,6 +1047,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
450
1047
|
membersCount: number;
|
|
451
1048
|
childSpacesCount: number;
|
|
452
1049
|
isMember?: boolean | undefined;
|
|
1050
|
+
avatarFile?: {
|
|
1051
|
+
id: string;
|
|
1052
|
+
projectId: string;
|
|
1053
|
+
userId: string | null;
|
|
1054
|
+
entityId: string | null;
|
|
1055
|
+
commentId: string | null;
|
|
1056
|
+
spaceId: string | null;
|
|
1057
|
+
type: "image" | "video" | "document" | "other";
|
|
1058
|
+
originalPath: string;
|
|
1059
|
+
originalSize: number;
|
|
1060
|
+
originalMimeType: string;
|
|
1061
|
+
position: number;
|
|
1062
|
+
metadata: {
|
|
1063
|
+
[x: string]: any;
|
|
1064
|
+
};
|
|
1065
|
+
image?: {
|
|
1066
|
+
fileId: string;
|
|
1067
|
+
originalWidth: number;
|
|
1068
|
+
originalHeight: number;
|
|
1069
|
+
variants: {
|
|
1070
|
+
[x: string]: {
|
|
1071
|
+
path: string;
|
|
1072
|
+
publicPath: string;
|
|
1073
|
+
width: number;
|
|
1074
|
+
height: number;
|
|
1075
|
+
size: number;
|
|
1076
|
+
format: string;
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
processingStatus: "completed" | "failed";
|
|
1080
|
+
processingError: string | null;
|
|
1081
|
+
format: string;
|
|
1082
|
+
quality: number;
|
|
1083
|
+
exifStripped: boolean;
|
|
1084
|
+
createdAt: Date;
|
|
1085
|
+
updatedAt: Date;
|
|
1086
|
+
} | undefined;
|
|
1087
|
+
createdAt: Date;
|
|
1088
|
+
updatedAt: Date;
|
|
1089
|
+
} | undefined;
|
|
1090
|
+
bannerFile?: {
|
|
1091
|
+
id: string;
|
|
1092
|
+
projectId: string;
|
|
1093
|
+
userId: string | null;
|
|
1094
|
+
entityId: string | null;
|
|
1095
|
+
commentId: string | null;
|
|
1096
|
+
spaceId: string | null;
|
|
1097
|
+
type: "image" | "video" | "document" | "other";
|
|
1098
|
+
originalPath: string;
|
|
1099
|
+
originalSize: number;
|
|
1100
|
+
originalMimeType: string;
|
|
1101
|
+
position: number;
|
|
1102
|
+
metadata: {
|
|
1103
|
+
[x: string]: any;
|
|
1104
|
+
};
|
|
1105
|
+
image?: {
|
|
1106
|
+
fileId: string;
|
|
1107
|
+
originalWidth: number;
|
|
1108
|
+
originalHeight: number;
|
|
1109
|
+
variants: {
|
|
1110
|
+
[x: string]: {
|
|
1111
|
+
path: string;
|
|
1112
|
+
publicPath: string;
|
|
1113
|
+
width: number;
|
|
1114
|
+
height: number;
|
|
1115
|
+
size: number;
|
|
1116
|
+
format: string;
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
|
+
processingStatus: "completed" | "failed";
|
|
1120
|
+
processingError: string | null;
|
|
1121
|
+
format: string;
|
|
1122
|
+
quality: number;
|
|
1123
|
+
exifStripped: boolean;
|
|
1124
|
+
createdAt: Date;
|
|
1125
|
+
updatedAt: Date;
|
|
1126
|
+
} | undefined;
|
|
1127
|
+
createdAt: Date;
|
|
1128
|
+
updatedAt: Date;
|
|
1129
|
+
} | undefined;
|
|
453
1130
|
} | null | undefined;
|
|
454
1131
|
user?: {
|
|
455
1132
|
id: string;
|
|
@@ -459,17 +1136,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
459
1136
|
name: string | null;
|
|
460
1137
|
username: string | null;
|
|
461
1138
|
avatar: string | null;
|
|
1139
|
+
avatarFileId: string | null;
|
|
1140
|
+
bannerFileId: string | null;
|
|
1141
|
+
avatarFile?: {
|
|
1142
|
+
id: string;
|
|
1143
|
+
projectId: string;
|
|
1144
|
+
userId: string | null;
|
|
1145
|
+
entityId: string | null;
|
|
1146
|
+
commentId: string | null;
|
|
1147
|
+
spaceId: string | null;
|
|
1148
|
+
type: "image" | "video" | "document" | "other";
|
|
1149
|
+
originalPath: string;
|
|
1150
|
+
originalSize: number;
|
|
1151
|
+
originalMimeType: string;
|
|
1152
|
+
position: number;
|
|
1153
|
+
metadata: {
|
|
1154
|
+
[x: string]: any;
|
|
1155
|
+
};
|
|
1156
|
+
image?: {
|
|
1157
|
+
fileId: string;
|
|
1158
|
+
originalWidth: number;
|
|
1159
|
+
originalHeight: number;
|
|
1160
|
+
variants: {
|
|
1161
|
+
[x: string]: {
|
|
1162
|
+
path: string;
|
|
1163
|
+
publicPath: string;
|
|
1164
|
+
width: number;
|
|
1165
|
+
height: number;
|
|
1166
|
+
size: number;
|
|
1167
|
+
format: string;
|
|
1168
|
+
};
|
|
1169
|
+
};
|
|
1170
|
+
processingStatus: "completed" | "failed";
|
|
1171
|
+
processingError: string | null;
|
|
1172
|
+
format: string;
|
|
1173
|
+
quality: number;
|
|
1174
|
+
exifStripped: boolean;
|
|
1175
|
+
createdAt: Date;
|
|
1176
|
+
updatedAt: Date;
|
|
1177
|
+
} | undefined;
|
|
1178
|
+
createdAt: Date;
|
|
1179
|
+
updatedAt: Date;
|
|
1180
|
+
} | null | undefined;
|
|
1181
|
+
bannerFile?: {
|
|
1182
|
+
id: string;
|
|
1183
|
+
projectId: string;
|
|
1184
|
+
userId: string | null;
|
|
1185
|
+
entityId: string | null;
|
|
1186
|
+
commentId: string | null;
|
|
1187
|
+
spaceId: string | null;
|
|
1188
|
+
type: "image" | "video" | "document" | "other";
|
|
1189
|
+
originalPath: string;
|
|
1190
|
+
originalSize: number;
|
|
1191
|
+
originalMimeType: string;
|
|
1192
|
+
position: number;
|
|
1193
|
+
metadata: {
|
|
1194
|
+
[x: string]: any;
|
|
1195
|
+
};
|
|
1196
|
+
image?: {
|
|
1197
|
+
fileId: string;
|
|
1198
|
+
originalWidth: number;
|
|
1199
|
+
originalHeight: number;
|
|
1200
|
+
variants: {
|
|
1201
|
+
[x: string]: {
|
|
1202
|
+
path: string;
|
|
1203
|
+
publicPath: string;
|
|
1204
|
+
width: number;
|
|
1205
|
+
height: number;
|
|
1206
|
+
size: number;
|
|
1207
|
+
format: string;
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
processingStatus: "completed" | "failed";
|
|
1211
|
+
processingError: string | null;
|
|
1212
|
+
format: string;
|
|
1213
|
+
quality: number;
|
|
1214
|
+
exifStripped: boolean;
|
|
1215
|
+
createdAt: Date;
|
|
1216
|
+
updatedAt: Date;
|
|
1217
|
+
} | undefined;
|
|
1218
|
+
createdAt: Date;
|
|
1219
|
+
updatedAt: Date;
|
|
1220
|
+
} | null | undefined;
|
|
462
1221
|
bio: string | null;
|
|
463
1222
|
birthdate: Date | null;
|
|
1223
|
+
location: {
|
|
1224
|
+
type: "Point";
|
|
1225
|
+
coordinates: [number, number];
|
|
1226
|
+
} | null;
|
|
464
1227
|
metadata: {
|
|
465
1228
|
[x: string]: any;
|
|
466
1229
|
};
|
|
467
1230
|
reputation: number;
|
|
468
1231
|
createdAt: Date;
|
|
469
|
-
location: {
|
|
470
|
-
type: "Point";
|
|
471
|
-
coordinates: [number, number];
|
|
472
|
-
} | null;
|
|
473
1232
|
} | null | undefined;
|
|
474
1233
|
title: string | null;
|
|
475
1234
|
content: string | null;
|
|
@@ -481,9 +1240,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
481
1240
|
attachments: {
|
|
482
1241
|
[x: string]: any;
|
|
483
1242
|
}[];
|
|
1243
|
+
files?: {
|
|
1244
|
+
id: string;
|
|
1245
|
+
projectId: string;
|
|
1246
|
+
userId: string | null;
|
|
1247
|
+
entityId: string | null;
|
|
1248
|
+
commentId: string | null;
|
|
1249
|
+
spaceId: string | null;
|
|
1250
|
+
type: "image" | "video" | "document" | "other";
|
|
1251
|
+
originalPath: string;
|
|
1252
|
+
originalSize: number;
|
|
1253
|
+
originalMimeType: string;
|
|
1254
|
+
position: number;
|
|
1255
|
+
metadata: {
|
|
1256
|
+
[x: string]: any;
|
|
1257
|
+
};
|
|
1258
|
+
image?: {
|
|
1259
|
+
fileId: string;
|
|
1260
|
+
originalWidth: number;
|
|
1261
|
+
originalHeight: number;
|
|
1262
|
+
variants: {
|
|
1263
|
+
[x: string]: {
|
|
1264
|
+
path: string;
|
|
1265
|
+
publicPath: string;
|
|
1266
|
+
width: number;
|
|
1267
|
+
height: number;
|
|
1268
|
+
size: number;
|
|
1269
|
+
format: string;
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
processingStatus: "completed" | "failed";
|
|
1273
|
+
processingError: string | null;
|
|
1274
|
+
format: string;
|
|
1275
|
+
quality: number;
|
|
1276
|
+
exifStripped: boolean;
|
|
1277
|
+
createdAt: Date;
|
|
1278
|
+
updatedAt: Date;
|
|
1279
|
+
} | undefined;
|
|
1280
|
+
createdAt: Date;
|
|
1281
|
+
updatedAt: Date;
|
|
1282
|
+
}[] | undefined;
|
|
484
1283
|
keywords: string[];
|
|
485
1284
|
upvotes: string[];
|
|
486
1285
|
downvotes: string[];
|
|
1286
|
+
reactionCounts: {
|
|
1287
|
+
upvote: number;
|
|
1288
|
+
downvote: number;
|
|
1289
|
+
like: number;
|
|
1290
|
+
love: number;
|
|
1291
|
+
wow: number;
|
|
1292
|
+
sad: number;
|
|
1293
|
+
angry: number;
|
|
1294
|
+
funny: number;
|
|
1295
|
+
};
|
|
1296
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
487
1297
|
repliesCount: number;
|
|
488
1298
|
views: number;
|
|
489
1299
|
score: number;
|
|
@@ -505,22 +1315,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
505
1315
|
name: string | null;
|
|
506
1316
|
username: string | null;
|
|
507
1317
|
avatar: string | null;
|
|
1318
|
+
avatarFileId: string | null;
|
|
1319
|
+
bannerFileId: string | null;
|
|
1320
|
+
avatarFile?: {
|
|
1321
|
+
id: string;
|
|
1322
|
+
projectId: string;
|
|
1323
|
+
userId: string | null;
|
|
1324
|
+
entityId: string | null;
|
|
1325
|
+
commentId: string | null;
|
|
1326
|
+
spaceId: string | null;
|
|
1327
|
+
type: "image" | "video" | "document" | "other";
|
|
1328
|
+
originalPath: string;
|
|
1329
|
+
originalSize: number;
|
|
1330
|
+
originalMimeType: string;
|
|
1331
|
+
position: number;
|
|
1332
|
+
metadata: {
|
|
1333
|
+
[x: string]: any;
|
|
1334
|
+
};
|
|
1335
|
+
image?: {
|
|
1336
|
+
fileId: string;
|
|
1337
|
+
originalWidth: number;
|
|
1338
|
+
originalHeight: number;
|
|
1339
|
+
variants: {
|
|
1340
|
+
[x: string]: {
|
|
1341
|
+
path: string;
|
|
1342
|
+
publicPath: string;
|
|
1343
|
+
width: number;
|
|
1344
|
+
height: number;
|
|
1345
|
+
size: number;
|
|
1346
|
+
format: string;
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
1349
|
+
processingStatus: "completed" | "failed";
|
|
1350
|
+
processingError: string | null;
|
|
1351
|
+
format: string;
|
|
1352
|
+
quality: number;
|
|
1353
|
+
exifStripped: boolean;
|
|
1354
|
+
createdAt: Date;
|
|
1355
|
+
updatedAt: Date;
|
|
1356
|
+
} | undefined;
|
|
1357
|
+
createdAt: Date;
|
|
1358
|
+
updatedAt: Date;
|
|
1359
|
+
} | null | undefined;
|
|
1360
|
+
bannerFile?: {
|
|
1361
|
+
id: string;
|
|
1362
|
+
projectId: string;
|
|
1363
|
+
userId: string | null;
|
|
1364
|
+
entityId: string | null;
|
|
1365
|
+
commentId: string | null;
|
|
1366
|
+
spaceId: string | null;
|
|
1367
|
+
type: "image" | "video" | "document" | "other";
|
|
1368
|
+
originalPath: string;
|
|
1369
|
+
originalSize: number;
|
|
1370
|
+
originalMimeType: string;
|
|
1371
|
+
position: number;
|
|
1372
|
+
metadata: {
|
|
1373
|
+
[x: string]: any;
|
|
1374
|
+
};
|
|
1375
|
+
image?: {
|
|
1376
|
+
fileId: string;
|
|
1377
|
+
originalWidth: number;
|
|
1378
|
+
originalHeight: number;
|
|
1379
|
+
variants: {
|
|
1380
|
+
[x: string]: {
|
|
1381
|
+
path: string;
|
|
1382
|
+
publicPath: string;
|
|
1383
|
+
width: number;
|
|
1384
|
+
height: number;
|
|
1385
|
+
size: number;
|
|
1386
|
+
format: string;
|
|
1387
|
+
};
|
|
1388
|
+
};
|
|
1389
|
+
processingStatus: "completed" | "failed";
|
|
1390
|
+
processingError: string | null;
|
|
1391
|
+
format: string;
|
|
1392
|
+
quality: number;
|
|
1393
|
+
exifStripped: boolean;
|
|
1394
|
+
createdAt: Date;
|
|
1395
|
+
updatedAt: Date;
|
|
1396
|
+
} | undefined;
|
|
1397
|
+
createdAt: Date;
|
|
1398
|
+
updatedAt: Date;
|
|
1399
|
+
} | null | undefined;
|
|
508
1400
|
bio: string | null;
|
|
509
1401
|
birthdate: Date | null;
|
|
1402
|
+
location: {
|
|
1403
|
+
type: "Point";
|
|
1404
|
+
coordinates: [number, number];
|
|
1405
|
+
} | null;
|
|
510
1406
|
metadata: {
|
|
511
1407
|
[x: string]: any;
|
|
512
1408
|
};
|
|
513
1409
|
reputation: number;
|
|
514
1410
|
createdAt: Date;
|
|
515
|
-
location: {
|
|
516
|
-
type: "Point";
|
|
517
|
-
coordinates: [number, number];
|
|
518
|
-
} | null;
|
|
519
1411
|
};
|
|
520
1412
|
upvotesCount: number;
|
|
521
1413
|
content: string;
|
|
522
1414
|
createdAt: string;
|
|
523
1415
|
} | null;
|
|
1416
|
+
isSaved?: boolean | undefined;
|
|
524
1417
|
createdAt: Date;
|
|
525
1418
|
updatedAt: Date;
|
|
526
1419
|
deletedAt: Date | null;
|
|
@@ -598,8 +1491,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
598
1491
|
slug: string | null;
|
|
599
1492
|
name: string;
|
|
600
1493
|
description: string | null;
|
|
601
|
-
|
|
602
|
-
|
|
1494
|
+
avatarFileId: string | null;
|
|
1495
|
+
bannerFileId: string | null;
|
|
603
1496
|
userId: string;
|
|
604
1497
|
readingPermission: import("../..").ReadingPermission;
|
|
605
1498
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -615,6 +1508,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
615
1508
|
membersCount: number;
|
|
616
1509
|
childSpacesCount: number;
|
|
617
1510
|
isMember?: boolean | undefined;
|
|
1511
|
+
avatarFile?: {
|
|
1512
|
+
id: string;
|
|
1513
|
+
projectId: string;
|
|
1514
|
+
userId: string | null;
|
|
1515
|
+
entityId: string | null;
|
|
1516
|
+
commentId: string | null;
|
|
1517
|
+
spaceId: string | null;
|
|
1518
|
+
type: "image" | "video" | "document" | "other";
|
|
1519
|
+
originalPath: string;
|
|
1520
|
+
originalSize: number;
|
|
1521
|
+
originalMimeType: string;
|
|
1522
|
+
position: number;
|
|
1523
|
+
metadata: {
|
|
1524
|
+
[x: string]: any;
|
|
1525
|
+
};
|
|
1526
|
+
image?: {
|
|
1527
|
+
fileId: string;
|
|
1528
|
+
originalWidth: number;
|
|
1529
|
+
originalHeight: number;
|
|
1530
|
+
variants: {
|
|
1531
|
+
[x: string]: {
|
|
1532
|
+
path: string;
|
|
1533
|
+
publicPath: string;
|
|
1534
|
+
width: number;
|
|
1535
|
+
height: number;
|
|
1536
|
+
size: number;
|
|
1537
|
+
format: string;
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
processingStatus: "completed" | "failed";
|
|
1541
|
+
processingError: string | null;
|
|
1542
|
+
format: string;
|
|
1543
|
+
quality: number;
|
|
1544
|
+
exifStripped: boolean;
|
|
1545
|
+
createdAt: Date;
|
|
1546
|
+
updatedAt: Date;
|
|
1547
|
+
} | undefined;
|
|
1548
|
+
createdAt: Date;
|
|
1549
|
+
updatedAt: Date;
|
|
1550
|
+
} | undefined;
|
|
1551
|
+
bannerFile?: {
|
|
1552
|
+
id: string;
|
|
1553
|
+
projectId: string;
|
|
1554
|
+
userId: string | null;
|
|
1555
|
+
entityId: string | null;
|
|
1556
|
+
commentId: string | null;
|
|
1557
|
+
spaceId: string | null;
|
|
1558
|
+
type: "image" | "video" | "document" | "other";
|
|
1559
|
+
originalPath: string;
|
|
1560
|
+
originalSize: number;
|
|
1561
|
+
originalMimeType: string;
|
|
1562
|
+
position: number;
|
|
1563
|
+
metadata: {
|
|
1564
|
+
[x: string]: any;
|
|
1565
|
+
};
|
|
1566
|
+
image?: {
|
|
1567
|
+
fileId: string;
|
|
1568
|
+
originalWidth: number;
|
|
1569
|
+
originalHeight: number;
|
|
1570
|
+
variants: {
|
|
1571
|
+
[x: string]: {
|
|
1572
|
+
path: string;
|
|
1573
|
+
publicPath: string;
|
|
1574
|
+
width: number;
|
|
1575
|
+
height: number;
|
|
1576
|
+
size: number;
|
|
1577
|
+
format: string;
|
|
1578
|
+
};
|
|
1579
|
+
};
|
|
1580
|
+
processingStatus: "completed" | "failed";
|
|
1581
|
+
processingError: string | null;
|
|
1582
|
+
format: string;
|
|
1583
|
+
quality: number;
|
|
1584
|
+
exifStripped: boolean;
|
|
1585
|
+
createdAt: Date;
|
|
1586
|
+
updatedAt: Date;
|
|
1587
|
+
} | undefined;
|
|
1588
|
+
createdAt: Date;
|
|
1589
|
+
updatedAt: Date;
|
|
1590
|
+
} | undefined;
|
|
618
1591
|
} | null | undefined;
|
|
619
1592
|
user?: {
|
|
620
1593
|
id: string;
|
|
@@ -624,17 +1597,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
624
1597
|
name: string | null;
|
|
625
1598
|
username: string | null;
|
|
626
1599
|
avatar: string | null;
|
|
1600
|
+
avatarFileId: string | null;
|
|
1601
|
+
bannerFileId: string | null;
|
|
1602
|
+
avatarFile?: {
|
|
1603
|
+
id: string;
|
|
1604
|
+
projectId: string;
|
|
1605
|
+
userId: string | null;
|
|
1606
|
+
entityId: string | null;
|
|
1607
|
+
commentId: string | null;
|
|
1608
|
+
spaceId: string | null;
|
|
1609
|
+
type: "image" | "video" | "document" | "other";
|
|
1610
|
+
originalPath: string;
|
|
1611
|
+
originalSize: number;
|
|
1612
|
+
originalMimeType: string;
|
|
1613
|
+
position: number;
|
|
1614
|
+
metadata: {
|
|
1615
|
+
[x: string]: any;
|
|
1616
|
+
};
|
|
1617
|
+
image?: {
|
|
1618
|
+
fileId: string;
|
|
1619
|
+
originalWidth: number;
|
|
1620
|
+
originalHeight: number;
|
|
1621
|
+
variants: {
|
|
1622
|
+
[x: string]: {
|
|
1623
|
+
path: string;
|
|
1624
|
+
publicPath: string;
|
|
1625
|
+
width: number;
|
|
1626
|
+
height: number;
|
|
1627
|
+
size: number;
|
|
1628
|
+
format: string;
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
processingStatus: "completed" | "failed";
|
|
1632
|
+
processingError: string | null;
|
|
1633
|
+
format: string;
|
|
1634
|
+
quality: number;
|
|
1635
|
+
exifStripped: boolean;
|
|
1636
|
+
createdAt: Date;
|
|
1637
|
+
updatedAt: Date;
|
|
1638
|
+
} | undefined;
|
|
1639
|
+
createdAt: Date;
|
|
1640
|
+
updatedAt: Date;
|
|
1641
|
+
} | null | undefined;
|
|
1642
|
+
bannerFile?: {
|
|
1643
|
+
id: string;
|
|
1644
|
+
projectId: string;
|
|
1645
|
+
userId: string | null;
|
|
1646
|
+
entityId: string | null;
|
|
1647
|
+
commentId: string | null;
|
|
1648
|
+
spaceId: string | null;
|
|
1649
|
+
type: "image" | "video" | "document" | "other";
|
|
1650
|
+
originalPath: string;
|
|
1651
|
+
originalSize: number;
|
|
1652
|
+
originalMimeType: string;
|
|
1653
|
+
position: number;
|
|
1654
|
+
metadata: {
|
|
1655
|
+
[x: string]: any;
|
|
1656
|
+
};
|
|
1657
|
+
image?: {
|
|
1658
|
+
fileId: string;
|
|
1659
|
+
originalWidth: number;
|
|
1660
|
+
originalHeight: number;
|
|
1661
|
+
variants: {
|
|
1662
|
+
[x: string]: {
|
|
1663
|
+
path: string;
|
|
1664
|
+
publicPath: string;
|
|
1665
|
+
width: number;
|
|
1666
|
+
height: number;
|
|
1667
|
+
size: number;
|
|
1668
|
+
format: string;
|
|
1669
|
+
};
|
|
1670
|
+
};
|
|
1671
|
+
processingStatus: "completed" | "failed";
|
|
1672
|
+
processingError: string | null;
|
|
1673
|
+
format: string;
|
|
1674
|
+
quality: number;
|
|
1675
|
+
exifStripped: boolean;
|
|
1676
|
+
createdAt: Date;
|
|
1677
|
+
updatedAt: Date;
|
|
1678
|
+
} | undefined;
|
|
1679
|
+
createdAt: Date;
|
|
1680
|
+
updatedAt: Date;
|
|
1681
|
+
} | null | undefined;
|
|
627
1682
|
bio: string | null;
|
|
628
1683
|
birthdate: Date | null;
|
|
1684
|
+
location: {
|
|
1685
|
+
type: "Point";
|
|
1686
|
+
coordinates: [number, number];
|
|
1687
|
+
} | null;
|
|
629
1688
|
metadata: {
|
|
630
1689
|
[x: string]: any;
|
|
631
1690
|
};
|
|
632
1691
|
reputation: number;
|
|
633
1692
|
createdAt: Date;
|
|
634
|
-
location: {
|
|
635
|
-
type: "Point";
|
|
636
|
-
coordinates: [number, number];
|
|
637
|
-
} | null;
|
|
638
1693
|
} | null | undefined;
|
|
639
1694
|
title: string | null;
|
|
640
1695
|
content: string | null;
|
|
@@ -646,9 +1701,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
646
1701
|
attachments: {
|
|
647
1702
|
[x: string]: any;
|
|
648
1703
|
}[];
|
|
1704
|
+
files?: {
|
|
1705
|
+
id: string;
|
|
1706
|
+
projectId: string;
|
|
1707
|
+
userId: string | null;
|
|
1708
|
+
entityId: string | null;
|
|
1709
|
+
commentId: string | null;
|
|
1710
|
+
spaceId: string | null;
|
|
1711
|
+
type: "image" | "video" | "document" | "other";
|
|
1712
|
+
originalPath: string;
|
|
1713
|
+
originalSize: number;
|
|
1714
|
+
originalMimeType: string;
|
|
1715
|
+
position: number;
|
|
1716
|
+
metadata: {
|
|
1717
|
+
[x: string]: any;
|
|
1718
|
+
};
|
|
1719
|
+
image?: {
|
|
1720
|
+
fileId: string;
|
|
1721
|
+
originalWidth: number;
|
|
1722
|
+
originalHeight: number;
|
|
1723
|
+
variants: {
|
|
1724
|
+
[x: string]: {
|
|
1725
|
+
path: string;
|
|
1726
|
+
publicPath: string;
|
|
1727
|
+
width: number;
|
|
1728
|
+
height: number;
|
|
1729
|
+
size: number;
|
|
1730
|
+
format: string;
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
processingStatus: "completed" | "failed";
|
|
1734
|
+
processingError: string | null;
|
|
1735
|
+
format: string;
|
|
1736
|
+
quality: number;
|
|
1737
|
+
exifStripped: boolean;
|
|
1738
|
+
createdAt: Date;
|
|
1739
|
+
updatedAt: Date;
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
createdAt: Date;
|
|
1742
|
+
updatedAt: Date;
|
|
1743
|
+
}[] | undefined;
|
|
649
1744
|
keywords: string[];
|
|
650
1745
|
upvotes: string[];
|
|
651
1746
|
downvotes: string[];
|
|
1747
|
+
reactionCounts: {
|
|
1748
|
+
upvote: number;
|
|
1749
|
+
downvote: number;
|
|
1750
|
+
like: number;
|
|
1751
|
+
love: number;
|
|
1752
|
+
wow: number;
|
|
1753
|
+
sad: number;
|
|
1754
|
+
angry: number;
|
|
1755
|
+
funny: number;
|
|
1756
|
+
};
|
|
1757
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
652
1758
|
repliesCount: number;
|
|
653
1759
|
views: number;
|
|
654
1760
|
score: number;
|
|
@@ -670,22 +1776,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
670
1776
|
name: string | null;
|
|
671
1777
|
username: string | null;
|
|
672
1778
|
avatar: string | null;
|
|
1779
|
+
avatarFileId: string | null;
|
|
1780
|
+
bannerFileId: string | null;
|
|
1781
|
+
avatarFile?: {
|
|
1782
|
+
id: string;
|
|
1783
|
+
projectId: string;
|
|
1784
|
+
userId: string | null;
|
|
1785
|
+
entityId: string | null;
|
|
1786
|
+
commentId: string | null;
|
|
1787
|
+
spaceId: string | null;
|
|
1788
|
+
type: "image" | "video" | "document" | "other";
|
|
1789
|
+
originalPath: string;
|
|
1790
|
+
originalSize: number;
|
|
1791
|
+
originalMimeType: string;
|
|
1792
|
+
position: number;
|
|
1793
|
+
metadata: {
|
|
1794
|
+
[x: string]: any;
|
|
1795
|
+
};
|
|
1796
|
+
image?: {
|
|
1797
|
+
fileId: string;
|
|
1798
|
+
originalWidth: number;
|
|
1799
|
+
originalHeight: number;
|
|
1800
|
+
variants: {
|
|
1801
|
+
[x: string]: {
|
|
1802
|
+
path: string;
|
|
1803
|
+
publicPath: string;
|
|
1804
|
+
width: number;
|
|
1805
|
+
height: number;
|
|
1806
|
+
size: number;
|
|
1807
|
+
format: string;
|
|
1808
|
+
};
|
|
1809
|
+
};
|
|
1810
|
+
processingStatus: "completed" | "failed";
|
|
1811
|
+
processingError: string | null;
|
|
1812
|
+
format: string;
|
|
1813
|
+
quality: number;
|
|
1814
|
+
exifStripped: boolean;
|
|
1815
|
+
createdAt: Date;
|
|
1816
|
+
updatedAt: Date;
|
|
1817
|
+
} | undefined;
|
|
1818
|
+
createdAt: Date;
|
|
1819
|
+
updatedAt: Date;
|
|
1820
|
+
} | null | undefined;
|
|
1821
|
+
bannerFile?: {
|
|
1822
|
+
id: string;
|
|
1823
|
+
projectId: string;
|
|
1824
|
+
userId: string | null;
|
|
1825
|
+
entityId: string | null;
|
|
1826
|
+
commentId: string | null;
|
|
1827
|
+
spaceId: string | null;
|
|
1828
|
+
type: "image" | "video" | "document" | "other";
|
|
1829
|
+
originalPath: string;
|
|
1830
|
+
originalSize: number;
|
|
1831
|
+
originalMimeType: string;
|
|
1832
|
+
position: number;
|
|
1833
|
+
metadata: {
|
|
1834
|
+
[x: string]: any;
|
|
1835
|
+
};
|
|
1836
|
+
image?: {
|
|
1837
|
+
fileId: string;
|
|
1838
|
+
originalWidth: number;
|
|
1839
|
+
originalHeight: number;
|
|
1840
|
+
variants: {
|
|
1841
|
+
[x: string]: {
|
|
1842
|
+
path: string;
|
|
1843
|
+
publicPath: string;
|
|
1844
|
+
width: number;
|
|
1845
|
+
height: number;
|
|
1846
|
+
size: number;
|
|
1847
|
+
format: string;
|
|
1848
|
+
};
|
|
1849
|
+
};
|
|
1850
|
+
processingStatus: "completed" | "failed";
|
|
1851
|
+
processingError: string | null;
|
|
1852
|
+
format: string;
|
|
1853
|
+
quality: number;
|
|
1854
|
+
exifStripped: boolean;
|
|
1855
|
+
createdAt: Date;
|
|
1856
|
+
updatedAt: Date;
|
|
1857
|
+
} | undefined;
|
|
1858
|
+
createdAt: Date;
|
|
1859
|
+
updatedAt: Date;
|
|
1860
|
+
} | null | undefined;
|
|
673
1861
|
bio: string | null;
|
|
674
1862
|
birthdate: Date | null;
|
|
1863
|
+
location: {
|
|
1864
|
+
type: "Point";
|
|
1865
|
+
coordinates: [number, number];
|
|
1866
|
+
} | null;
|
|
675
1867
|
metadata: {
|
|
676
1868
|
[x: string]: any;
|
|
677
1869
|
};
|
|
678
1870
|
reputation: number;
|
|
679
1871
|
createdAt: Date;
|
|
680
|
-
location: {
|
|
681
|
-
type: "Point";
|
|
682
|
-
coordinates: [number, number];
|
|
683
|
-
} | null;
|
|
684
1872
|
};
|
|
685
1873
|
upvotesCount: number;
|
|
686
1874
|
content: string;
|
|
687
1875
|
createdAt: string;
|
|
688
1876
|
} | null;
|
|
1877
|
+
isSaved?: boolean | undefined;
|
|
689
1878
|
createdAt: Date;
|
|
690
1879
|
updatedAt: Date;
|
|
691
1880
|
deletedAt: Date | null;
|
|
@@ -760,8 +1949,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
760
1949
|
slug: string | null;
|
|
761
1950
|
name: string;
|
|
762
1951
|
description: string | null;
|
|
763
|
-
|
|
764
|
-
|
|
1952
|
+
avatarFileId: string | null;
|
|
1953
|
+
bannerFileId: string | null;
|
|
765
1954
|
userId: string;
|
|
766
1955
|
readingPermission: import("../..").ReadingPermission;
|
|
767
1956
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -777,6 +1966,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
777
1966
|
membersCount: number;
|
|
778
1967
|
childSpacesCount: number;
|
|
779
1968
|
isMember?: boolean | undefined;
|
|
1969
|
+
avatarFile?: {
|
|
1970
|
+
id: string;
|
|
1971
|
+
projectId: string;
|
|
1972
|
+
userId: string | null;
|
|
1973
|
+
entityId: string | null;
|
|
1974
|
+
commentId: string | null;
|
|
1975
|
+
spaceId: string | null;
|
|
1976
|
+
type: "image" | "video" | "document" | "other";
|
|
1977
|
+
originalPath: string;
|
|
1978
|
+
originalSize: number;
|
|
1979
|
+
originalMimeType: string;
|
|
1980
|
+
position: number;
|
|
1981
|
+
metadata: {
|
|
1982
|
+
[x: string]: any;
|
|
1983
|
+
};
|
|
1984
|
+
image?: {
|
|
1985
|
+
fileId: string;
|
|
1986
|
+
originalWidth: number;
|
|
1987
|
+
originalHeight: number;
|
|
1988
|
+
variants: {
|
|
1989
|
+
[x: string]: {
|
|
1990
|
+
path: string;
|
|
1991
|
+
publicPath: string;
|
|
1992
|
+
width: number;
|
|
1993
|
+
height: number;
|
|
1994
|
+
size: number;
|
|
1995
|
+
format: string;
|
|
1996
|
+
};
|
|
1997
|
+
};
|
|
1998
|
+
processingStatus: "completed" | "failed";
|
|
1999
|
+
processingError: string | null;
|
|
2000
|
+
format: string;
|
|
2001
|
+
quality: number;
|
|
2002
|
+
exifStripped: boolean;
|
|
2003
|
+
createdAt: Date;
|
|
2004
|
+
updatedAt: Date;
|
|
2005
|
+
} | undefined;
|
|
2006
|
+
createdAt: Date;
|
|
2007
|
+
updatedAt: Date;
|
|
2008
|
+
} | undefined;
|
|
2009
|
+
bannerFile?: {
|
|
2010
|
+
id: string;
|
|
2011
|
+
projectId: string;
|
|
2012
|
+
userId: string | null;
|
|
2013
|
+
entityId: string | null;
|
|
2014
|
+
commentId: string | null;
|
|
2015
|
+
spaceId: string | null;
|
|
2016
|
+
type: "image" | "video" | "document" | "other";
|
|
2017
|
+
originalPath: string;
|
|
2018
|
+
originalSize: number;
|
|
2019
|
+
originalMimeType: string;
|
|
2020
|
+
position: number;
|
|
2021
|
+
metadata: {
|
|
2022
|
+
[x: string]: any;
|
|
2023
|
+
};
|
|
2024
|
+
image?: {
|
|
2025
|
+
fileId: string;
|
|
2026
|
+
originalWidth: number;
|
|
2027
|
+
originalHeight: number;
|
|
2028
|
+
variants: {
|
|
2029
|
+
[x: string]: {
|
|
2030
|
+
path: string;
|
|
2031
|
+
publicPath: string;
|
|
2032
|
+
width: number;
|
|
2033
|
+
height: number;
|
|
2034
|
+
size: number;
|
|
2035
|
+
format: string;
|
|
2036
|
+
};
|
|
2037
|
+
};
|
|
2038
|
+
processingStatus: "completed" | "failed";
|
|
2039
|
+
processingError: string | null;
|
|
2040
|
+
format: string;
|
|
2041
|
+
quality: number;
|
|
2042
|
+
exifStripped: boolean;
|
|
2043
|
+
createdAt: Date;
|
|
2044
|
+
updatedAt: Date;
|
|
2045
|
+
} | undefined;
|
|
2046
|
+
createdAt: Date;
|
|
2047
|
+
updatedAt: Date;
|
|
2048
|
+
} | undefined;
|
|
780
2049
|
} | null | undefined;
|
|
781
2050
|
user?: {
|
|
782
2051
|
id: string;
|
|
@@ -786,17 +2055,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
786
2055
|
name: string | null;
|
|
787
2056
|
username: string | null;
|
|
788
2057
|
avatar: string | null;
|
|
2058
|
+
avatarFileId: string | null;
|
|
2059
|
+
bannerFileId: string | null;
|
|
2060
|
+
avatarFile?: {
|
|
2061
|
+
id: string;
|
|
2062
|
+
projectId: string;
|
|
2063
|
+
userId: string | null;
|
|
2064
|
+
entityId: string | null;
|
|
2065
|
+
commentId: string | null;
|
|
2066
|
+
spaceId: string | null;
|
|
2067
|
+
type: "image" | "video" | "document" | "other";
|
|
2068
|
+
originalPath: string;
|
|
2069
|
+
originalSize: number;
|
|
2070
|
+
originalMimeType: string;
|
|
2071
|
+
position: number;
|
|
2072
|
+
metadata: {
|
|
2073
|
+
[x: string]: any;
|
|
2074
|
+
};
|
|
2075
|
+
image?: {
|
|
2076
|
+
fileId: string;
|
|
2077
|
+
originalWidth: number;
|
|
2078
|
+
originalHeight: number;
|
|
2079
|
+
variants: {
|
|
2080
|
+
[x: string]: {
|
|
2081
|
+
path: string;
|
|
2082
|
+
publicPath: string;
|
|
2083
|
+
width: number;
|
|
2084
|
+
height: number;
|
|
2085
|
+
size: number;
|
|
2086
|
+
format: string;
|
|
2087
|
+
};
|
|
2088
|
+
};
|
|
2089
|
+
processingStatus: "completed" | "failed";
|
|
2090
|
+
processingError: string | null;
|
|
2091
|
+
format: string;
|
|
2092
|
+
quality: number;
|
|
2093
|
+
exifStripped: boolean;
|
|
2094
|
+
createdAt: Date;
|
|
2095
|
+
updatedAt: Date;
|
|
2096
|
+
} | undefined;
|
|
2097
|
+
createdAt: Date;
|
|
2098
|
+
updatedAt: Date;
|
|
2099
|
+
} | null | undefined;
|
|
2100
|
+
bannerFile?: {
|
|
2101
|
+
id: string;
|
|
2102
|
+
projectId: string;
|
|
2103
|
+
userId: string | null;
|
|
2104
|
+
entityId: string | null;
|
|
2105
|
+
commentId: string | null;
|
|
2106
|
+
spaceId: string | null;
|
|
2107
|
+
type: "image" | "video" | "document" | "other";
|
|
2108
|
+
originalPath: string;
|
|
2109
|
+
originalSize: number;
|
|
2110
|
+
originalMimeType: string;
|
|
2111
|
+
position: number;
|
|
2112
|
+
metadata: {
|
|
2113
|
+
[x: string]: any;
|
|
2114
|
+
};
|
|
2115
|
+
image?: {
|
|
2116
|
+
fileId: string;
|
|
2117
|
+
originalWidth: number;
|
|
2118
|
+
originalHeight: number;
|
|
2119
|
+
variants: {
|
|
2120
|
+
[x: string]: {
|
|
2121
|
+
path: string;
|
|
2122
|
+
publicPath: string;
|
|
2123
|
+
width: number;
|
|
2124
|
+
height: number;
|
|
2125
|
+
size: number;
|
|
2126
|
+
format: string;
|
|
2127
|
+
};
|
|
2128
|
+
};
|
|
2129
|
+
processingStatus: "completed" | "failed";
|
|
2130
|
+
processingError: string | null;
|
|
2131
|
+
format: string;
|
|
2132
|
+
quality: number;
|
|
2133
|
+
exifStripped: boolean;
|
|
2134
|
+
createdAt: Date;
|
|
2135
|
+
updatedAt: Date;
|
|
2136
|
+
} | undefined;
|
|
2137
|
+
createdAt: Date;
|
|
2138
|
+
updatedAt: Date;
|
|
2139
|
+
} | null | undefined;
|
|
789
2140
|
bio: string | null;
|
|
790
2141
|
birthdate: Date | null;
|
|
2142
|
+
location: {
|
|
2143
|
+
type: "Point";
|
|
2144
|
+
coordinates: [number, number];
|
|
2145
|
+
} | null;
|
|
791
2146
|
metadata: {
|
|
792
2147
|
[x: string]: any;
|
|
793
2148
|
};
|
|
794
2149
|
reputation: number;
|
|
795
2150
|
createdAt: Date;
|
|
796
|
-
location: {
|
|
797
|
-
type: "Point";
|
|
798
|
-
coordinates: [number, number];
|
|
799
|
-
} | null;
|
|
800
2151
|
} | null | undefined;
|
|
801
2152
|
title: string | null;
|
|
802
2153
|
content: string | null;
|
|
@@ -808,9 +2159,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
808
2159
|
attachments: {
|
|
809
2160
|
[x: string]: any;
|
|
810
2161
|
}[];
|
|
2162
|
+
files?: {
|
|
2163
|
+
id: string;
|
|
2164
|
+
projectId: string;
|
|
2165
|
+
userId: string | null;
|
|
2166
|
+
entityId: string | null;
|
|
2167
|
+
commentId: string | null;
|
|
2168
|
+
spaceId: string | null;
|
|
2169
|
+
type: "image" | "video" | "document" | "other";
|
|
2170
|
+
originalPath: string;
|
|
2171
|
+
originalSize: number;
|
|
2172
|
+
originalMimeType: string;
|
|
2173
|
+
position: number;
|
|
2174
|
+
metadata: {
|
|
2175
|
+
[x: string]: any;
|
|
2176
|
+
};
|
|
2177
|
+
image?: {
|
|
2178
|
+
fileId: string;
|
|
2179
|
+
originalWidth: number;
|
|
2180
|
+
originalHeight: number;
|
|
2181
|
+
variants: {
|
|
2182
|
+
[x: string]: {
|
|
2183
|
+
path: string;
|
|
2184
|
+
publicPath: string;
|
|
2185
|
+
width: number;
|
|
2186
|
+
height: number;
|
|
2187
|
+
size: number;
|
|
2188
|
+
format: string;
|
|
2189
|
+
};
|
|
2190
|
+
};
|
|
2191
|
+
processingStatus: "completed" | "failed";
|
|
2192
|
+
processingError: string | null;
|
|
2193
|
+
format: string;
|
|
2194
|
+
quality: number;
|
|
2195
|
+
exifStripped: boolean;
|
|
2196
|
+
createdAt: Date;
|
|
2197
|
+
updatedAt: Date;
|
|
2198
|
+
} | undefined;
|
|
2199
|
+
createdAt: Date;
|
|
2200
|
+
updatedAt: Date;
|
|
2201
|
+
}[] | undefined;
|
|
811
2202
|
keywords: string[];
|
|
812
2203
|
upvotes: string[];
|
|
813
2204
|
downvotes: string[];
|
|
2205
|
+
reactionCounts: {
|
|
2206
|
+
upvote: number;
|
|
2207
|
+
downvote: number;
|
|
2208
|
+
like: number;
|
|
2209
|
+
love: number;
|
|
2210
|
+
wow: number;
|
|
2211
|
+
sad: number;
|
|
2212
|
+
angry: number;
|
|
2213
|
+
funny: number;
|
|
2214
|
+
};
|
|
2215
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
814
2216
|
repliesCount: number;
|
|
815
2217
|
views: number;
|
|
816
2218
|
score: number;
|
|
@@ -832,22 +2234,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
832
2234
|
name: string | null;
|
|
833
2235
|
username: string | null;
|
|
834
2236
|
avatar: string | null;
|
|
2237
|
+
avatarFileId: string | null;
|
|
2238
|
+
bannerFileId: string | null;
|
|
2239
|
+
avatarFile?: {
|
|
2240
|
+
id: string;
|
|
2241
|
+
projectId: string;
|
|
2242
|
+
userId: string | null;
|
|
2243
|
+
entityId: string | null;
|
|
2244
|
+
commentId: string | null;
|
|
2245
|
+
spaceId: string | null;
|
|
2246
|
+
type: "image" | "video" | "document" | "other";
|
|
2247
|
+
originalPath: string;
|
|
2248
|
+
originalSize: number;
|
|
2249
|
+
originalMimeType: string;
|
|
2250
|
+
position: number;
|
|
2251
|
+
metadata: {
|
|
2252
|
+
[x: string]: any;
|
|
2253
|
+
};
|
|
2254
|
+
image?: {
|
|
2255
|
+
fileId: string;
|
|
2256
|
+
originalWidth: number;
|
|
2257
|
+
originalHeight: number;
|
|
2258
|
+
variants: {
|
|
2259
|
+
[x: string]: {
|
|
2260
|
+
path: string;
|
|
2261
|
+
publicPath: string;
|
|
2262
|
+
width: number;
|
|
2263
|
+
height: number;
|
|
2264
|
+
size: number;
|
|
2265
|
+
format: string;
|
|
2266
|
+
};
|
|
2267
|
+
};
|
|
2268
|
+
processingStatus: "completed" | "failed";
|
|
2269
|
+
processingError: string | null;
|
|
2270
|
+
format: string;
|
|
2271
|
+
quality: number;
|
|
2272
|
+
exifStripped: boolean;
|
|
2273
|
+
createdAt: Date;
|
|
2274
|
+
updatedAt: Date;
|
|
2275
|
+
} | undefined;
|
|
2276
|
+
createdAt: Date;
|
|
2277
|
+
updatedAt: Date;
|
|
2278
|
+
} | null | undefined;
|
|
2279
|
+
bannerFile?: {
|
|
2280
|
+
id: string;
|
|
2281
|
+
projectId: string;
|
|
2282
|
+
userId: string | null;
|
|
2283
|
+
entityId: string | null;
|
|
2284
|
+
commentId: string | null;
|
|
2285
|
+
spaceId: string | null;
|
|
2286
|
+
type: "image" | "video" | "document" | "other";
|
|
2287
|
+
originalPath: string;
|
|
2288
|
+
originalSize: number;
|
|
2289
|
+
originalMimeType: string;
|
|
2290
|
+
position: number;
|
|
2291
|
+
metadata: {
|
|
2292
|
+
[x: string]: any;
|
|
2293
|
+
};
|
|
2294
|
+
image?: {
|
|
2295
|
+
fileId: string;
|
|
2296
|
+
originalWidth: number;
|
|
2297
|
+
originalHeight: number;
|
|
2298
|
+
variants: {
|
|
2299
|
+
[x: string]: {
|
|
2300
|
+
path: string;
|
|
2301
|
+
publicPath: string;
|
|
2302
|
+
width: number;
|
|
2303
|
+
height: number;
|
|
2304
|
+
size: number;
|
|
2305
|
+
format: string;
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
processingStatus: "completed" | "failed";
|
|
2309
|
+
processingError: string | null;
|
|
2310
|
+
format: string;
|
|
2311
|
+
quality: number;
|
|
2312
|
+
exifStripped: boolean;
|
|
2313
|
+
createdAt: Date;
|
|
2314
|
+
updatedAt: Date;
|
|
2315
|
+
} | undefined;
|
|
2316
|
+
createdAt: Date;
|
|
2317
|
+
updatedAt: Date;
|
|
2318
|
+
} | null | undefined;
|
|
835
2319
|
bio: string | null;
|
|
836
2320
|
birthdate: Date | null;
|
|
2321
|
+
location: {
|
|
2322
|
+
type: "Point";
|
|
2323
|
+
coordinates: [number, number];
|
|
2324
|
+
} | null;
|
|
837
2325
|
metadata: {
|
|
838
2326
|
[x: string]: any;
|
|
839
2327
|
};
|
|
840
2328
|
reputation: number;
|
|
841
2329
|
createdAt: Date;
|
|
842
|
-
location: {
|
|
843
|
-
type: "Point";
|
|
844
|
-
coordinates: [number, number];
|
|
845
|
-
} | null;
|
|
846
2330
|
};
|
|
847
2331
|
upvotesCount: number;
|
|
848
2332
|
content: string;
|
|
849
2333
|
createdAt: string;
|
|
850
2334
|
} | null;
|
|
2335
|
+
isSaved?: boolean | undefined;
|
|
851
2336
|
createdAt: Date;
|
|
852
2337
|
updatedAt: Date;
|
|
853
2338
|
deletedAt: Date | null;
|
|
@@ -922,8 +2407,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
922
2407
|
slug: string | null;
|
|
923
2408
|
name: string;
|
|
924
2409
|
description: string | null;
|
|
925
|
-
|
|
926
|
-
|
|
2410
|
+
avatarFileId: string | null;
|
|
2411
|
+
bannerFileId: string | null;
|
|
927
2412
|
userId: string;
|
|
928
2413
|
readingPermission: import("../..").ReadingPermission;
|
|
929
2414
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -939,6 +2424,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
939
2424
|
membersCount: number;
|
|
940
2425
|
childSpacesCount: number;
|
|
941
2426
|
isMember?: boolean | undefined;
|
|
2427
|
+
avatarFile?: {
|
|
2428
|
+
id: string;
|
|
2429
|
+
projectId: string;
|
|
2430
|
+
userId: string | null;
|
|
2431
|
+
entityId: string | null;
|
|
2432
|
+
commentId: string | null;
|
|
2433
|
+
spaceId: string | null;
|
|
2434
|
+
type: "image" | "video" | "document" | "other";
|
|
2435
|
+
originalPath: string;
|
|
2436
|
+
originalSize: number;
|
|
2437
|
+
originalMimeType: string;
|
|
2438
|
+
position: number;
|
|
2439
|
+
metadata: {
|
|
2440
|
+
[x: string]: any;
|
|
2441
|
+
};
|
|
2442
|
+
image?: {
|
|
2443
|
+
fileId: string;
|
|
2444
|
+
originalWidth: number;
|
|
2445
|
+
originalHeight: number;
|
|
2446
|
+
variants: {
|
|
2447
|
+
[x: string]: {
|
|
2448
|
+
path: string;
|
|
2449
|
+
publicPath: string;
|
|
2450
|
+
width: number;
|
|
2451
|
+
height: number;
|
|
2452
|
+
size: number;
|
|
2453
|
+
format: string;
|
|
2454
|
+
};
|
|
2455
|
+
};
|
|
2456
|
+
processingStatus: "completed" | "failed";
|
|
2457
|
+
processingError: string | null;
|
|
2458
|
+
format: string;
|
|
2459
|
+
quality: number;
|
|
2460
|
+
exifStripped: boolean;
|
|
2461
|
+
createdAt: Date;
|
|
2462
|
+
updatedAt: Date;
|
|
2463
|
+
} | undefined;
|
|
2464
|
+
createdAt: Date;
|
|
2465
|
+
updatedAt: Date;
|
|
2466
|
+
} | undefined;
|
|
2467
|
+
bannerFile?: {
|
|
2468
|
+
id: string;
|
|
2469
|
+
projectId: string;
|
|
2470
|
+
userId: string | null;
|
|
2471
|
+
entityId: string | null;
|
|
2472
|
+
commentId: string | null;
|
|
2473
|
+
spaceId: string | null;
|
|
2474
|
+
type: "image" | "video" | "document" | "other";
|
|
2475
|
+
originalPath: string;
|
|
2476
|
+
originalSize: number;
|
|
2477
|
+
originalMimeType: string;
|
|
2478
|
+
position: number;
|
|
2479
|
+
metadata: {
|
|
2480
|
+
[x: string]: any;
|
|
2481
|
+
};
|
|
2482
|
+
image?: {
|
|
2483
|
+
fileId: string;
|
|
2484
|
+
originalWidth: number;
|
|
2485
|
+
originalHeight: number;
|
|
2486
|
+
variants: {
|
|
2487
|
+
[x: string]: {
|
|
2488
|
+
path: string;
|
|
2489
|
+
publicPath: string;
|
|
2490
|
+
width: number;
|
|
2491
|
+
height: number;
|
|
2492
|
+
size: number;
|
|
2493
|
+
format: string;
|
|
2494
|
+
};
|
|
2495
|
+
};
|
|
2496
|
+
processingStatus: "completed" | "failed";
|
|
2497
|
+
processingError: string | null;
|
|
2498
|
+
format: string;
|
|
2499
|
+
quality: number;
|
|
2500
|
+
exifStripped: boolean;
|
|
2501
|
+
createdAt: Date;
|
|
2502
|
+
updatedAt: Date;
|
|
2503
|
+
} | undefined;
|
|
2504
|
+
createdAt: Date;
|
|
2505
|
+
updatedAt: Date;
|
|
2506
|
+
} | undefined;
|
|
942
2507
|
} | null | undefined;
|
|
943
2508
|
user?: {
|
|
944
2509
|
id: string;
|
|
@@ -948,17 +2513,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
948
2513
|
name: string | null;
|
|
949
2514
|
username: string | null;
|
|
950
2515
|
avatar: string | null;
|
|
2516
|
+
avatarFileId: string | null;
|
|
2517
|
+
bannerFileId: string | null;
|
|
2518
|
+
avatarFile?: {
|
|
2519
|
+
id: string;
|
|
2520
|
+
projectId: string;
|
|
2521
|
+
userId: string | null;
|
|
2522
|
+
entityId: string | null;
|
|
2523
|
+
commentId: string | null;
|
|
2524
|
+
spaceId: string | null;
|
|
2525
|
+
type: "image" | "video" | "document" | "other";
|
|
2526
|
+
originalPath: string;
|
|
2527
|
+
originalSize: number;
|
|
2528
|
+
originalMimeType: string;
|
|
2529
|
+
position: number;
|
|
2530
|
+
metadata: {
|
|
2531
|
+
[x: string]: any;
|
|
2532
|
+
};
|
|
2533
|
+
image?: {
|
|
2534
|
+
fileId: string;
|
|
2535
|
+
originalWidth: number;
|
|
2536
|
+
originalHeight: number;
|
|
2537
|
+
variants: {
|
|
2538
|
+
[x: string]: {
|
|
2539
|
+
path: string;
|
|
2540
|
+
publicPath: string;
|
|
2541
|
+
width: number;
|
|
2542
|
+
height: number;
|
|
2543
|
+
size: number;
|
|
2544
|
+
format: string;
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2547
|
+
processingStatus: "completed" | "failed";
|
|
2548
|
+
processingError: string | null;
|
|
2549
|
+
format: string;
|
|
2550
|
+
quality: number;
|
|
2551
|
+
exifStripped: boolean;
|
|
2552
|
+
createdAt: Date;
|
|
2553
|
+
updatedAt: Date;
|
|
2554
|
+
} | undefined;
|
|
2555
|
+
createdAt: Date;
|
|
2556
|
+
updatedAt: Date;
|
|
2557
|
+
} | null | undefined;
|
|
2558
|
+
bannerFile?: {
|
|
2559
|
+
id: string;
|
|
2560
|
+
projectId: string;
|
|
2561
|
+
userId: string | null;
|
|
2562
|
+
entityId: string | null;
|
|
2563
|
+
commentId: string | null;
|
|
2564
|
+
spaceId: string | null;
|
|
2565
|
+
type: "image" | "video" | "document" | "other";
|
|
2566
|
+
originalPath: string;
|
|
2567
|
+
originalSize: number;
|
|
2568
|
+
originalMimeType: string;
|
|
2569
|
+
position: number;
|
|
2570
|
+
metadata: {
|
|
2571
|
+
[x: string]: any;
|
|
2572
|
+
};
|
|
2573
|
+
image?: {
|
|
2574
|
+
fileId: string;
|
|
2575
|
+
originalWidth: number;
|
|
2576
|
+
originalHeight: number;
|
|
2577
|
+
variants: {
|
|
2578
|
+
[x: string]: {
|
|
2579
|
+
path: string;
|
|
2580
|
+
publicPath: string;
|
|
2581
|
+
width: number;
|
|
2582
|
+
height: number;
|
|
2583
|
+
size: number;
|
|
2584
|
+
format: string;
|
|
2585
|
+
};
|
|
2586
|
+
};
|
|
2587
|
+
processingStatus: "completed" | "failed";
|
|
2588
|
+
processingError: string | null;
|
|
2589
|
+
format: string;
|
|
2590
|
+
quality: number;
|
|
2591
|
+
exifStripped: boolean;
|
|
2592
|
+
createdAt: Date;
|
|
2593
|
+
updatedAt: Date;
|
|
2594
|
+
} | undefined;
|
|
2595
|
+
createdAt: Date;
|
|
2596
|
+
updatedAt: Date;
|
|
2597
|
+
} | null | undefined;
|
|
951
2598
|
bio: string | null;
|
|
952
2599
|
birthdate: Date | null;
|
|
2600
|
+
location: {
|
|
2601
|
+
type: "Point";
|
|
2602
|
+
coordinates: [number, number];
|
|
2603
|
+
} | null;
|
|
953
2604
|
metadata: {
|
|
954
2605
|
[x: string]: any;
|
|
955
2606
|
};
|
|
956
2607
|
reputation: number;
|
|
957
2608
|
createdAt: Date;
|
|
958
|
-
location: {
|
|
959
|
-
type: "Point";
|
|
960
|
-
coordinates: [number, number];
|
|
961
|
-
} | null;
|
|
962
2609
|
} | null | undefined;
|
|
963
2610
|
title: string | null;
|
|
964
2611
|
content: string | null;
|
|
@@ -970,9 +2617,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
970
2617
|
attachments: {
|
|
971
2618
|
[x: string]: any;
|
|
972
2619
|
}[];
|
|
2620
|
+
files?: {
|
|
2621
|
+
id: string;
|
|
2622
|
+
projectId: string;
|
|
2623
|
+
userId: string | null;
|
|
2624
|
+
entityId: string | null;
|
|
2625
|
+
commentId: string | null;
|
|
2626
|
+
spaceId: string | null;
|
|
2627
|
+
type: "image" | "video" | "document" | "other";
|
|
2628
|
+
originalPath: string;
|
|
2629
|
+
originalSize: number;
|
|
2630
|
+
originalMimeType: string;
|
|
2631
|
+
position: number;
|
|
2632
|
+
metadata: {
|
|
2633
|
+
[x: string]: any;
|
|
2634
|
+
};
|
|
2635
|
+
image?: {
|
|
2636
|
+
fileId: string;
|
|
2637
|
+
originalWidth: number;
|
|
2638
|
+
originalHeight: number;
|
|
2639
|
+
variants: {
|
|
2640
|
+
[x: string]: {
|
|
2641
|
+
path: string;
|
|
2642
|
+
publicPath: string;
|
|
2643
|
+
width: number;
|
|
2644
|
+
height: number;
|
|
2645
|
+
size: number;
|
|
2646
|
+
format: string;
|
|
2647
|
+
};
|
|
2648
|
+
};
|
|
2649
|
+
processingStatus: "completed" | "failed";
|
|
2650
|
+
processingError: string | null;
|
|
2651
|
+
format: string;
|
|
2652
|
+
quality: number;
|
|
2653
|
+
exifStripped: boolean;
|
|
2654
|
+
createdAt: Date;
|
|
2655
|
+
updatedAt: Date;
|
|
2656
|
+
} | undefined;
|
|
2657
|
+
createdAt: Date;
|
|
2658
|
+
updatedAt: Date;
|
|
2659
|
+
}[] | undefined;
|
|
973
2660
|
keywords: string[];
|
|
974
2661
|
upvotes: string[];
|
|
975
2662
|
downvotes: string[];
|
|
2663
|
+
reactionCounts: {
|
|
2664
|
+
upvote: number;
|
|
2665
|
+
downvote: number;
|
|
2666
|
+
like: number;
|
|
2667
|
+
love: number;
|
|
2668
|
+
wow: number;
|
|
2669
|
+
sad: number;
|
|
2670
|
+
angry: number;
|
|
2671
|
+
funny: number;
|
|
2672
|
+
};
|
|
2673
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
976
2674
|
repliesCount: number;
|
|
977
2675
|
views: number;
|
|
978
2676
|
score: number;
|
|
@@ -994,22 +2692,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
994
2692
|
name: string | null;
|
|
995
2693
|
username: string | null;
|
|
996
2694
|
avatar: string | null;
|
|
2695
|
+
avatarFileId: string | null;
|
|
2696
|
+
bannerFileId: string | null;
|
|
2697
|
+
avatarFile?: {
|
|
2698
|
+
id: string;
|
|
2699
|
+
projectId: string;
|
|
2700
|
+
userId: string | null;
|
|
2701
|
+
entityId: string | null;
|
|
2702
|
+
commentId: string | null;
|
|
2703
|
+
spaceId: string | null;
|
|
2704
|
+
type: "image" | "video" | "document" | "other";
|
|
2705
|
+
originalPath: string;
|
|
2706
|
+
originalSize: number;
|
|
2707
|
+
originalMimeType: string;
|
|
2708
|
+
position: number;
|
|
2709
|
+
metadata: {
|
|
2710
|
+
[x: string]: any;
|
|
2711
|
+
};
|
|
2712
|
+
image?: {
|
|
2713
|
+
fileId: string;
|
|
2714
|
+
originalWidth: number;
|
|
2715
|
+
originalHeight: number;
|
|
2716
|
+
variants: {
|
|
2717
|
+
[x: string]: {
|
|
2718
|
+
path: string;
|
|
2719
|
+
publicPath: string;
|
|
2720
|
+
width: number;
|
|
2721
|
+
height: number;
|
|
2722
|
+
size: number;
|
|
2723
|
+
format: string;
|
|
2724
|
+
};
|
|
2725
|
+
};
|
|
2726
|
+
processingStatus: "completed" | "failed";
|
|
2727
|
+
processingError: string | null;
|
|
2728
|
+
format: string;
|
|
2729
|
+
quality: number;
|
|
2730
|
+
exifStripped: boolean;
|
|
2731
|
+
createdAt: Date;
|
|
2732
|
+
updatedAt: Date;
|
|
2733
|
+
} | undefined;
|
|
2734
|
+
createdAt: Date;
|
|
2735
|
+
updatedAt: Date;
|
|
2736
|
+
} | null | undefined;
|
|
2737
|
+
bannerFile?: {
|
|
2738
|
+
id: string;
|
|
2739
|
+
projectId: string;
|
|
2740
|
+
userId: string | null;
|
|
2741
|
+
entityId: string | null;
|
|
2742
|
+
commentId: string | null;
|
|
2743
|
+
spaceId: string | null;
|
|
2744
|
+
type: "image" | "video" | "document" | "other";
|
|
2745
|
+
originalPath: string;
|
|
2746
|
+
originalSize: number;
|
|
2747
|
+
originalMimeType: string;
|
|
2748
|
+
position: number;
|
|
2749
|
+
metadata: {
|
|
2750
|
+
[x: string]: any;
|
|
2751
|
+
};
|
|
2752
|
+
image?: {
|
|
2753
|
+
fileId: string;
|
|
2754
|
+
originalWidth: number;
|
|
2755
|
+
originalHeight: number;
|
|
2756
|
+
variants: {
|
|
2757
|
+
[x: string]: {
|
|
2758
|
+
path: string;
|
|
2759
|
+
publicPath: string;
|
|
2760
|
+
width: number;
|
|
2761
|
+
height: number;
|
|
2762
|
+
size: number;
|
|
2763
|
+
format: string;
|
|
2764
|
+
};
|
|
2765
|
+
};
|
|
2766
|
+
processingStatus: "completed" | "failed";
|
|
2767
|
+
processingError: string | null;
|
|
2768
|
+
format: string;
|
|
2769
|
+
quality: number;
|
|
2770
|
+
exifStripped: boolean;
|
|
2771
|
+
createdAt: Date;
|
|
2772
|
+
updatedAt: Date;
|
|
2773
|
+
} | undefined;
|
|
2774
|
+
createdAt: Date;
|
|
2775
|
+
updatedAt: Date;
|
|
2776
|
+
} | null | undefined;
|
|
997
2777
|
bio: string | null;
|
|
998
2778
|
birthdate: Date | null;
|
|
2779
|
+
location: {
|
|
2780
|
+
type: "Point";
|
|
2781
|
+
coordinates: [number, number];
|
|
2782
|
+
} | null;
|
|
999
2783
|
metadata: {
|
|
1000
2784
|
[x: string]: any;
|
|
1001
2785
|
};
|
|
1002
2786
|
reputation: number;
|
|
1003
2787
|
createdAt: Date;
|
|
1004
|
-
location: {
|
|
1005
|
-
type: "Point";
|
|
1006
|
-
coordinates: [number, number];
|
|
1007
|
-
} | null;
|
|
1008
2788
|
};
|
|
1009
2789
|
upvotesCount: number;
|
|
1010
2790
|
content: string;
|
|
1011
2791
|
createdAt: string;
|
|
1012
2792
|
} | null;
|
|
2793
|
+
isSaved?: boolean | undefined;
|
|
1013
2794
|
createdAt: Date;
|
|
1014
2795
|
updatedAt: Date;
|
|
1015
2796
|
deletedAt: Date | null;
|
|
@@ -1087,8 +2868,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1087
2868
|
slug: string | null;
|
|
1088
2869
|
name: string;
|
|
1089
2870
|
description: string | null;
|
|
1090
|
-
|
|
1091
|
-
|
|
2871
|
+
avatarFileId: string | null;
|
|
2872
|
+
bannerFileId: string | null;
|
|
1092
2873
|
userId: string;
|
|
1093
2874
|
readingPermission: import("../..").ReadingPermission;
|
|
1094
2875
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -1104,6 +2885,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1104
2885
|
membersCount: number;
|
|
1105
2886
|
childSpacesCount: number;
|
|
1106
2887
|
isMember?: boolean | undefined;
|
|
2888
|
+
avatarFile?: {
|
|
2889
|
+
id: string;
|
|
2890
|
+
projectId: string;
|
|
2891
|
+
userId: string | null;
|
|
2892
|
+
entityId: string | null;
|
|
2893
|
+
commentId: string | null;
|
|
2894
|
+
spaceId: string | null;
|
|
2895
|
+
type: "image" | "video" | "document" | "other";
|
|
2896
|
+
originalPath: string;
|
|
2897
|
+
originalSize: number;
|
|
2898
|
+
originalMimeType: string;
|
|
2899
|
+
position: number;
|
|
2900
|
+
metadata: {
|
|
2901
|
+
[x: string]: any;
|
|
2902
|
+
};
|
|
2903
|
+
image?: {
|
|
2904
|
+
fileId: string;
|
|
2905
|
+
originalWidth: number;
|
|
2906
|
+
originalHeight: number;
|
|
2907
|
+
variants: {
|
|
2908
|
+
[x: string]: {
|
|
2909
|
+
path: string;
|
|
2910
|
+
publicPath: string;
|
|
2911
|
+
width: number;
|
|
2912
|
+
height: number;
|
|
2913
|
+
size: number;
|
|
2914
|
+
format: string;
|
|
2915
|
+
};
|
|
2916
|
+
};
|
|
2917
|
+
processingStatus: "completed" | "failed";
|
|
2918
|
+
processingError: string | null;
|
|
2919
|
+
format: string;
|
|
2920
|
+
quality: number;
|
|
2921
|
+
exifStripped: boolean;
|
|
2922
|
+
createdAt: Date;
|
|
2923
|
+
updatedAt: Date;
|
|
2924
|
+
} | undefined;
|
|
2925
|
+
createdAt: Date;
|
|
2926
|
+
updatedAt: Date;
|
|
2927
|
+
} | undefined;
|
|
2928
|
+
bannerFile?: {
|
|
2929
|
+
id: string;
|
|
2930
|
+
projectId: string;
|
|
2931
|
+
userId: string | null;
|
|
2932
|
+
entityId: string | null;
|
|
2933
|
+
commentId: string | null;
|
|
2934
|
+
spaceId: string | null;
|
|
2935
|
+
type: "image" | "video" | "document" | "other";
|
|
2936
|
+
originalPath: string;
|
|
2937
|
+
originalSize: number;
|
|
2938
|
+
originalMimeType: string;
|
|
2939
|
+
position: number;
|
|
2940
|
+
metadata: {
|
|
2941
|
+
[x: string]: any;
|
|
2942
|
+
};
|
|
2943
|
+
image?: {
|
|
2944
|
+
fileId: string;
|
|
2945
|
+
originalWidth: number;
|
|
2946
|
+
originalHeight: number;
|
|
2947
|
+
variants: {
|
|
2948
|
+
[x: string]: {
|
|
2949
|
+
path: string;
|
|
2950
|
+
publicPath: string;
|
|
2951
|
+
width: number;
|
|
2952
|
+
height: number;
|
|
2953
|
+
size: number;
|
|
2954
|
+
format: string;
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
processingStatus: "completed" | "failed";
|
|
2958
|
+
processingError: string | null;
|
|
2959
|
+
format: string;
|
|
2960
|
+
quality: number;
|
|
2961
|
+
exifStripped: boolean;
|
|
2962
|
+
createdAt: Date;
|
|
2963
|
+
updatedAt: Date;
|
|
2964
|
+
} | undefined;
|
|
2965
|
+
createdAt: Date;
|
|
2966
|
+
updatedAt: Date;
|
|
2967
|
+
} | undefined;
|
|
1107
2968
|
} | null | undefined;
|
|
1108
2969
|
user?: {
|
|
1109
2970
|
id: string;
|
|
@@ -1113,17 +2974,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1113
2974
|
name: string | null;
|
|
1114
2975
|
username: string | null;
|
|
1115
2976
|
avatar: string | null;
|
|
2977
|
+
avatarFileId: string | null;
|
|
2978
|
+
bannerFileId: string | null;
|
|
2979
|
+
avatarFile?: {
|
|
2980
|
+
id: string;
|
|
2981
|
+
projectId: string;
|
|
2982
|
+
userId: string | null;
|
|
2983
|
+
entityId: string | null;
|
|
2984
|
+
commentId: string | null;
|
|
2985
|
+
spaceId: string | null;
|
|
2986
|
+
type: "image" | "video" | "document" | "other";
|
|
2987
|
+
originalPath: string;
|
|
2988
|
+
originalSize: number;
|
|
2989
|
+
originalMimeType: string;
|
|
2990
|
+
position: number;
|
|
2991
|
+
metadata: {
|
|
2992
|
+
[x: string]: any;
|
|
2993
|
+
};
|
|
2994
|
+
image?: {
|
|
2995
|
+
fileId: string;
|
|
2996
|
+
originalWidth: number;
|
|
2997
|
+
originalHeight: number;
|
|
2998
|
+
variants: {
|
|
2999
|
+
[x: string]: {
|
|
3000
|
+
path: string;
|
|
3001
|
+
publicPath: string;
|
|
3002
|
+
width: number;
|
|
3003
|
+
height: number;
|
|
3004
|
+
size: number;
|
|
3005
|
+
format: string;
|
|
3006
|
+
};
|
|
3007
|
+
};
|
|
3008
|
+
processingStatus: "completed" | "failed";
|
|
3009
|
+
processingError: string | null;
|
|
3010
|
+
format: string;
|
|
3011
|
+
quality: number;
|
|
3012
|
+
exifStripped: boolean;
|
|
3013
|
+
createdAt: Date;
|
|
3014
|
+
updatedAt: Date;
|
|
3015
|
+
} | undefined;
|
|
3016
|
+
createdAt: Date;
|
|
3017
|
+
updatedAt: Date;
|
|
3018
|
+
} | null | undefined;
|
|
3019
|
+
bannerFile?: {
|
|
3020
|
+
id: string;
|
|
3021
|
+
projectId: string;
|
|
3022
|
+
userId: string | null;
|
|
3023
|
+
entityId: string | null;
|
|
3024
|
+
commentId: string | null;
|
|
3025
|
+
spaceId: string | null;
|
|
3026
|
+
type: "image" | "video" | "document" | "other";
|
|
3027
|
+
originalPath: string;
|
|
3028
|
+
originalSize: number;
|
|
3029
|
+
originalMimeType: string;
|
|
3030
|
+
position: number;
|
|
3031
|
+
metadata: {
|
|
3032
|
+
[x: string]: any;
|
|
3033
|
+
};
|
|
3034
|
+
image?: {
|
|
3035
|
+
fileId: string;
|
|
3036
|
+
originalWidth: number;
|
|
3037
|
+
originalHeight: number;
|
|
3038
|
+
variants: {
|
|
3039
|
+
[x: string]: {
|
|
3040
|
+
path: string;
|
|
3041
|
+
publicPath: string;
|
|
3042
|
+
width: number;
|
|
3043
|
+
height: number;
|
|
3044
|
+
size: number;
|
|
3045
|
+
format: string;
|
|
3046
|
+
};
|
|
3047
|
+
};
|
|
3048
|
+
processingStatus: "completed" | "failed";
|
|
3049
|
+
processingError: string | null;
|
|
3050
|
+
format: string;
|
|
3051
|
+
quality: number;
|
|
3052
|
+
exifStripped: boolean;
|
|
3053
|
+
createdAt: Date;
|
|
3054
|
+
updatedAt: Date;
|
|
3055
|
+
} | undefined;
|
|
3056
|
+
createdAt: Date;
|
|
3057
|
+
updatedAt: Date;
|
|
3058
|
+
} | null | undefined;
|
|
1116
3059
|
bio: string | null;
|
|
1117
3060
|
birthdate: Date | null;
|
|
3061
|
+
location: {
|
|
3062
|
+
type: "Point";
|
|
3063
|
+
coordinates: [number, number];
|
|
3064
|
+
} | null;
|
|
1118
3065
|
metadata: {
|
|
1119
3066
|
[x: string]: any;
|
|
1120
3067
|
};
|
|
1121
3068
|
reputation: number;
|
|
1122
3069
|
createdAt: Date;
|
|
1123
|
-
location: {
|
|
1124
|
-
type: "Point";
|
|
1125
|
-
coordinates: [number, number];
|
|
1126
|
-
} | null;
|
|
1127
3070
|
} | null | undefined;
|
|
1128
3071
|
title: string | null;
|
|
1129
3072
|
content: string | null;
|
|
@@ -1135,9 +3078,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1135
3078
|
attachments: {
|
|
1136
3079
|
[x: string]: any;
|
|
1137
3080
|
}[];
|
|
3081
|
+
files?: {
|
|
3082
|
+
id: string;
|
|
3083
|
+
projectId: string;
|
|
3084
|
+
userId: string | null;
|
|
3085
|
+
entityId: string | null;
|
|
3086
|
+
commentId: string | null;
|
|
3087
|
+
spaceId: string | null;
|
|
3088
|
+
type: "image" | "video" | "document" | "other";
|
|
3089
|
+
originalPath: string;
|
|
3090
|
+
originalSize: number;
|
|
3091
|
+
originalMimeType: string;
|
|
3092
|
+
position: number;
|
|
3093
|
+
metadata: {
|
|
3094
|
+
[x: string]: any;
|
|
3095
|
+
};
|
|
3096
|
+
image?: {
|
|
3097
|
+
fileId: string;
|
|
3098
|
+
originalWidth: number;
|
|
3099
|
+
originalHeight: number;
|
|
3100
|
+
variants: {
|
|
3101
|
+
[x: string]: {
|
|
3102
|
+
path: string;
|
|
3103
|
+
publicPath: string;
|
|
3104
|
+
width: number;
|
|
3105
|
+
height: number;
|
|
3106
|
+
size: number;
|
|
3107
|
+
format: string;
|
|
3108
|
+
};
|
|
3109
|
+
};
|
|
3110
|
+
processingStatus: "completed" | "failed";
|
|
3111
|
+
processingError: string | null;
|
|
3112
|
+
format: string;
|
|
3113
|
+
quality: number;
|
|
3114
|
+
exifStripped: boolean;
|
|
3115
|
+
createdAt: Date;
|
|
3116
|
+
updatedAt: Date;
|
|
3117
|
+
} | undefined;
|
|
3118
|
+
createdAt: Date;
|
|
3119
|
+
updatedAt: Date;
|
|
3120
|
+
}[] | undefined;
|
|
1138
3121
|
keywords: string[];
|
|
1139
3122
|
upvotes: string[];
|
|
1140
3123
|
downvotes: string[];
|
|
3124
|
+
reactionCounts: {
|
|
3125
|
+
upvote: number;
|
|
3126
|
+
downvote: number;
|
|
3127
|
+
like: number;
|
|
3128
|
+
love: number;
|
|
3129
|
+
wow: number;
|
|
3130
|
+
sad: number;
|
|
3131
|
+
angry: number;
|
|
3132
|
+
funny: number;
|
|
3133
|
+
};
|
|
3134
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1141
3135
|
repliesCount: number;
|
|
1142
3136
|
views: number;
|
|
1143
3137
|
score: number;
|
|
@@ -1159,22 +3153,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1159
3153
|
name: string | null;
|
|
1160
3154
|
username: string | null;
|
|
1161
3155
|
avatar: string | null;
|
|
3156
|
+
avatarFileId: string | null;
|
|
3157
|
+
bannerFileId: string | null;
|
|
3158
|
+
avatarFile?: {
|
|
3159
|
+
id: string;
|
|
3160
|
+
projectId: string;
|
|
3161
|
+
userId: string | null;
|
|
3162
|
+
entityId: string | null;
|
|
3163
|
+
commentId: string | null;
|
|
3164
|
+
spaceId: string | null;
|
|
3165
|
+
type: "image" | "video" | "document" | "other";
|
|
3166
|
+
originalPath: string;
|
|
3167
|
+
originalSize: number;
|
|
3168
|
+
originalMimeType: string;
|
|
3169
|
+
position: number;
|
|
3170
|
+
metadata: {
|
|
3171
|
+
[x: string]: any;
|
|
3172
|
+
};
|
|
3173
|
+
image?: {
|
|
3174
|
+
fileId: string;
|
|
3175
|
+
originalWidth: number;
|
|
3176
|
+
originalHeight: number;
|
|
3177
|
+
variants: {
|
|
3178
|
+
[x: string]: {
|
|
3179
|
+
path: string;
|
|
3180
|
+
publicPath: string;
|
|
3181
|
+
width: number;
|
|
3182
|
+
height: number;
|
|
3183
|
+
size: number;
|
|
3184
|
+
format: string;
|
|
3185
|
+
};
|
|
3186
|
+
};
|
|
3187
|
+
processingStatus: "completed" | "failed";
|
|
3188
|
+
processingError: string | null;
|
|
3189
|
+
format: string;
|
|
3190
|
+
quality: number;
|
|
3191
|
+
exifStripped: boolean;
|
|
3192
|
+
createdAt: Date;
|
|
3193
|
+
updatedAt: Date;
|
|
3194
|
+
} | undefined;
|
|
3195
|
+
createdAt: Date;
|
|
3196
|
+
updatedAt: Date;
|
|
3197
|
+
} | null | undefined;
|
|
3198
|
+
bannerFile?: {
|
|
3199
|
+
id: string;
|
|
3200
|
+
projectId: string;
|
|
3201
|
+
userId: string | null;
|
|
3202
|
+
entityId: string | null;
|
|
3203
|
+
commentId: string | null;
|
|
3204
|
+
spaceId: string | null;
|
|
3205
|
+
type: "image" | "video" | "document" | "other";
|
|
3206
|
+
originalPath: string;
|
|
3207
|
+
originalSize: number;
|
|
3208
|
+
originalMimeType: string;
|
|
3209
|
+
position: number;
|
|
3210
|
+
metadata: {
|
|
3211
|
+
[x: string]: any;
|
|
3212
|
+
};
|
|
3213
|
+
image?: {
|
|
3214
|
+
fileId: string;
|
|
3215
|
+
originalWidth: number;
|
|
3216
|
+
originalHeight: number;
|
|
3217
|
+
variants: {
|
|
3218
|
+
[x: string]: {
|
|
3219
|
+
path: string;
|
|
3220
|
+
publicPath: string;
|
|
3221
|
+
width: number;
|
|
3222
|
+
height: number;
|
|
3223
|
+
size: number;
|
|
3224
|
+
format: string;
|
|
3225
|
+
};
|
|
3226
|
+
};
|
|
3227
|
+
processingStatus: "completed" | "failed";
|
|
3228
|
+
processingError: string | null;
|
|
3229
|
+
format: string;
|
|
3230
|
+
quality: number;
|
|
3231
|
+
exifStripped: boolean;
|
|
3232
|
+
createdAt: Date;
|
|
3233
|
+
updatedAt: Date;
|
|
3234
|
+
} | undefined;
|
|
3235
|
+
createdAt: Date;
|
|
3236
|
+
updatedAt: Date;
|
|
3237
|
+
} | null | undefined;
|
|
1162
3238
|
bio: string | null;
|
|
1163
3239
|
birthdate: Date | null;
|
|
3240
|
+
location: {
|
|
3241
|
+
type: "Point";
|
|
3242
|
+
coordinates: [number, number];
|
|
3243
|
+
} | null;
|
|
1164
3244
|
metadata: {
|
|
1165
3245
|
[x: string]: any;
|
|
1166
3246
|
};
|
|
1167
3247
|
reputation: number;
|
|
1168
3248
|
createdAt: Date;
|
|
1169
|
-
location: {
|
|
1170
|
-
type: "Point";
|
|
1171
|
-
coordinates: [number, number];
|
|
1172
|
-
} | null;
|
|
1173
3249
|
};
|
|
1174
3250
|
upvotesCount: number;
|
|
1175
3251
|
content: string;
|
|
1176
3252
|
createdAt: string;
|
|
1177
3253
|
} | null;
|
|
3254
|
+
isSaved?: boolean | undefined;
|
|
1178
3255
|
createdAt: Date;
|
|
1179
3256
|
updatedAt: Date;
|
|
1180
3257
|
deletedAt: Date | null;
|
|
@@ -1252,8 +3329,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1252
3329
|
slug: string | null;
|
|
1253
3330
|
name: string;
|
|
1254
3331
|
description: string | null;
|
|
1255
|
-
|
|
1256
|
-
|
|
3332
|
+
avatarFileId: string | null;
|
|
3333
|
+
bannerFileId: string | null;
|
|
1257
3334
|
userId: string;
|
|
1258
3335
|
readingPermission: import("../..").ReadingPermission;
|
|
1259
3336
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -1269,6 +3346,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1269
3346
|
membersCount: number;
|
|
1270
3347
|
childSpacesCount: number;
|
|
1271
3348
|
isMember?: boolean | undefined;
|
|
3349
|
+
avatarFile?: {
|
|
3350
|
+
id: string;
|
|
3351
|
+
projectId: string;
|
|
3352
|
+
userId: string | null;
|
|
3353
|
+
entityId: string | null;
|
|
3354
|
+
commentId: string | null;
|
|
3355
|
+
spaceId: string | null;
|
|
3356
|
+
type: "image" | "video" | "document" | "other";
|
|
3357
|
+
originalPath: string;
|
|
3358
|
+
originalSize: number;
|
|
3359
|
+
originalMimeType: string;
|
|
3360
|
+
position: number;
|
|
3361
|
+
metadata: {
|
|
3362
|
+
[x: string]: any;
|
|
3363
|
+
};
|
|
3364
|
+
image?: {
|
|
3365
|
+
fileId: string;
|
|
3366
|
+
originalWidth: number;
|
|
3367
|
+
originalHeight: number;
|
|
3368
|
+
variants: {
|
|
3369
|
+
[x: string]: {
|
|
3370
|
+
path: string;
|
|
3371
|
+
publicPath: string;
|
|
3372
|
+
width: number;
|
|
3373
|
+
height: number;
|
|
3374
|
+
size: number;
|
|
3375
|
+
format: string;
|
|
3376
|
+
};
|
|
3377
|
+
};
|
|
3378
|
+
processingStatus: "completed" | "failed";
|
|
3379
|
+
processingError: string | null;
|
|
3380
|
+
format: string;
|
|
3381
|
+
quality: number;
|
|
3382
|
+
exifStripped: boolean;
|
|
3383
|
+
createdAt: Date;
|
|
3384
|
+
updatedAt: Date;
|
|
3385
|
+
} | undefined;
|
|
3386
|
+
createdAt: Date;
|
|
3387
|
+
updatedAt: Date;
|
|
3388
|
+
} | undefined;
|
|
3389
|
+
bannerFile?: {
|
|
3390
|
+
id: string;
|
|
3391
|
+
projectId: string;
|
|
3392
|
+
userId: string | null;
|
|
3393
|
+
entityId: string | null;
|
|
3394
|
+
commentId: string | null;
|
|
3395
|
+
spaceId: string | null;
|
|
3396
|
+
type: "image" | "video" | "document" | "other";
|
|
3397
|
+
originalPath: string;
|
|
3398
|
+
originalSize: number;
|
|
3399
|
+
originalMimeType: string;
|
|
3400
|
+
position: number;
|
|
3401
|
+
metadata: {
|
|
3402
|
+
[x: string]: any;
|
|
3403
|
+
};
|
|
3404
|
+
image?: {
|
|
3405
|
+
fileId: string;
|
|
3406
|
+
originalWidth: number;
|
|
3407
|
+
originalHeight: number;
|
|
3408
|
+
variants: {
|
|
3409
|
+
[x: string]: {
|
|
3410
|
+
path: string;
|
|
3411
|
+
publicPath: string;
|
|
3412
|
+
width: number;
|
|
3413
|
+
height: number;
|
|
3414
|
+
size: number;
|
|
3415
|
+
format: string;
|
|
3416
|
+
};
|
|
3417
|
+
};
|
|
3418
|
+
processingStatus: "completed" | "failed";
|
|
3419
|
+
processingError: string | null;
|
|
3420
|
+
format: string;
|
|
3421
|
+
quality: number;
|
|
3422
|
+
exifStripped: boolean;
|
|
3423
|
+
createdAt: Date;
|
|
3424
|
+
updatedAt: Date;
|
|
3425
|
+
} | undefined;
|
|
3426
|
+
createdAt: Date;
|
|
3427
|
+
updatedAt: Date;
|
|
3428
|
+
} | undefined;
|
|
1272
3429
|
} | null | undefined;
|
|
1273
3430
|
user?: {
|
|
1274
3431
|
id: string;
|
|
@@ -1278,17 +3435,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1278
3435
|
name: string | null;
|
|
1279
3436
|
username: string | null;
|
|
1280
3437
|
avatar: string | null;
|
|
3438
|
+
avatarFileId: string | null;
|
|
3439
|
+
bannerFileId: string | null;
|
|
3440
|
+
avatarFile?: {
|
|
3441
|
+
id: string;
|
|
3442
|
+
projectId: string;
|
|
3443
|
+
userId: string | null;
|
|
3444
|
+
entityId: string | null;
|
|
3445
|
+
commentId: string | null;
|
|
3446
|
+
spaceId: string | null;
|
|
3447
|
+
type: "image" | "video" | "document" | "other";
|
|
3448
|
+
originalPath: string;
|
|
3449
|
+
originalSize: number;
|
|
3450
|
+
originalMimeType: string;
|
|
3451
|
+
position: number;
|
|
3452
|
+
metadata: {
|
|
3453
|
+
[x: string]: any;
|
|
3454
|
+
};
|
|
3455
|
+
image?: {
|
|
3456
|
+
fileId: string;
|
|
3457
|
+
originalWidth: number;
|
|
3458
|
+
originalHeight: number;
|
|
3459
|
+
variants: {
|
|
3460
|
+
[x: string]: {
|
|
3461
|
+
path: string;
|
|
3462
|
+
publicPath: string;
|
|
3463
|
+
width: number;
|
|
3464
|
+
height: number;
|
|
3465
|
+
size: number;
|
|
3466
|
+
format: string;
|
|
3467
|
+
};
|
|
3468
|
+
};
|
|
3469
|
+
processingStatus: "completed" | "failed";
|
|
3470
|
+
processingError: string | null;
|
|
3471
|
+
format: string;
|
|
3472
|
+
quality: number;
|
|
3473
|
+
exifStripped: boolean;
|
|
3474
|
+
createdAt: Date;
|
|
3475
|
+
updatedAt: Date;
|
|
3476
|
+
} | undefined;
|
|
3477
|
+
createdAt: Date;
|
|
3478
|
+
updatedAt: Date;
|
|
3479
|
+
} | null | undefined;
|
|
3480
|
+
bannerFile?: {
|
|
3481
|
+
id: string;
|
|
3482
|
+
projectId: string;
|
|
3483
|
+
userId: string | null;
|
|
3484
|
+
entityId: string | null;
|
|
3485
|
+
commentId: string | null;
|
|
3486
|
+
spaceId: string | null;
|
|
3487
|
+
type: "image" | "video" | "document" | "other";
|
|
3488
|
+
originalPath: string;
|
|
3489
|
+
originalSize: number;
|
|
3490
|
+
originalMimeType: string;
|
|
3491
|
+
position: number;
|
|
3492
|
+
metadata: {
|
|
3493
|
+
[x: string]: any;
|
|
3494
|
+
};
|
|
3495
|
+
image?: {
|
|
3496
|
+
fileId: string;
|
|
3497
|
+
originalWidth: number;
|
|
3498
|
+
originalHeight: number;
|
|
3499
|
+
variants: {
|
|
3500
|
+
[x: string]: {
|
|
3501
|
+
path: string;
|
|
3502
|
+
publicPath: string;
|
|
3503
|
+
width: number;
|
|
3504
|
+
height: number;
|
|
3505
|
+
size: number;
|
|
3506
|
+
format: string;
|
|
3507
|
+
};
|
|
3508
|
+
};
|
|
3509
|
+
processingStatus: "completed" | "failed";
|
|
3510
|
+
processingError: string | null;
|
|
3511
|
+
format: string;
|
|
3512
|
+
quality: number;
|
|
3513
|
+
exifStripped: boolean;
|
|
3514
|
+
createdAt: Date;
|
|
3515
|
+
updatedAt: Date;
|
|
3516
|
+
} | undefined;
|
|
3517
|
+
createdAt: Date;
|
|
3518
|
+
updatedAt: Date;
|
|
3519
|
+
} | null | undefined;
|
|
1281
3520
|
bio: string | null;
|
|
1282
3521
|
birthdate: Date | null;
|
|
3522
|
+
location: {
|
|
3523
|
+
type: "Point";
|
|
3524
|
+
coordinates: [number, number];
|
|
3525
|
+
} | null;
|
|
1283
3526
|
metadata: {
|
|
1284
3527
|
[x: string]: any;
|
|
1285
3528
|
};
|
|
1286
3529
|
reputation: number;
|
|
1287
3530
|
createdAt: Date;
|
|
1288
|
-
location: {
|
|
1289
|
-
type: "Point";
|
|
1290
|
-
coordinates: [number, number];
|
|
1291
|
-
} | null;
|
|
1292
3531
|
} | null | undefined;
|
|
1293
3532
|
title: string | null;
|
|
1294
3533
|
content: string | null;
|
|
@@ -1300,9 +3539,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1300
3539
|
attachments: {
|
|
1301
3540
|
[x: string]: any;
|
|
1302
3541
|
}[];
|
|
3542
|
+
files?: {
|
|
3543
|
+
id: string;
|
|
3544
|
+
projectId: string;
|
|
3545
|
+
userId: string | null;
|
|
3546
|
+
entityId: string | null;
|
|
3547
|
+
commentId: string | null;
|
|
3548
|
+
spaceId: string | null;
|
|
3549
|
+
type: "image" | "video" | "document" | "other";
|
|
3550
|
+
originalPath: string;
|
|
3551
|
+
originalSize: number;
|
|
3552
|
+
originalMimeType: string;
|
|
3553
|
+
position: number;
|
|
3554
|
+
metadata: {
|
|
3555
|
+
[x: string]: any;
|
|
3556
|
+
};
|
|
3557
|
+
image?: {
|
|
3558
|
+
fileId: string;
|
|
3559
|
+
originalWidth: number;
|
|
3560
|
+
originalHeight: number;
|
|
3561
|
+
variants: {
|
|
3562
|
+
[x: string]: {
|
|
3563
|
+
path: string;
|
|
3564
|
+
publicPath: string;
|
|
3565
|
+
width: number;
|
|
3566
|
+
height: number;
|
|
3567
|
+
size: number;
|
|
3568
|
+
format: string;
|
|
3569
|
+
};
|
|
3570
|
+
};
|
|
3571
|
+
processingStatus: "completed" | "failed";
|
|
3572
|
+
processingError: string | null;
|
|
3573
|
+
format: string;
|
|
3574
|
+
quality: number;
|
|
3575
|
+
exifStripped: boolean;
|
|
3576
|
+
createdAt: Date;
|
|
3577
|
+
updatedAt: Date;
|
|
3578
|
+
} | undefined;
|
|
3579
|
+
createdAt: Date;
|
|
3580
|
+
updatedAt: Date;
|
|
3581
|
+
}[] | undefined;
|
|
1303
3582
|
keywords: string[];
|
|
1304
3583
|
upvotes: string[];
|
|
1305
3584
|
downvotes: string[];
|
|
3585
|
+
reactionCounts: {
|
|
3586
|
+
upvote: number;
|
|
3587
|
+
downvote: number;
|
|
3588
|
+
like: number;
|
|
3589
|
+
love: number;
|
|
3590
|
+
wow: number;
|
|
3591
|
+
sad: number;
|
|
3592
|
+
angry: number;
|
|
3593
|
+
funny: number;
|
|
3594
|
+
};
|
|
3595
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1306
3596
|
repliesCount: number;
|
|
1307
3597
|
views: number;
|
|
1308
3598
|
score: number;
|
|
@@ -1324,22 +3614,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1324
3614
|
name: string | null;
|
|
1325
3615
|
username: string | null;
|
|
1326
3616
|
avatar: string | null;
|
|
3617
|
+
avatarFileId: string | null;
|
|
3618
|
+
bannerFileId: string | null;
|
|
3619
|
+
avatarFile?: {
|
|
3620
|
+
id: string;
|
|
3621
|
+
projectId: string;
|
|
3622
|
+
userId: string | null;
|
|
3623
|
+
entityId: string | null;
|
|
3624
|
+
commentId: string | null;
|
|
3625
|
+
spaceId: string | null;
|
|
3626
|
+
type: "image" | "video" | "document" | "other";
|
|
3627
|
+
originalPath: string;
|
|
3628
|
+
originalSize: number;
|
|
3629
|
+
originalMimeType: string;
|
|
3630
|
+
position: number;
|
|
3631
|
+
metadata: {
|
|
3632
|
+
[x: string]: any;
|
|
3633
|
+
};
|
|
3634
|
+
image?: {
|
|
3635
|
+
fileId: string;
|
|
3636
|
+
originalWidth: number;
|
|
3637
|
+
originalHeight: number;
|
|
3638
|
+
variants: {
|
|
3639
|
+
[x: string]: {
|
|
3640
|
+
path: string;
|
|
3641
|
+
publicPath: string;
|
|
3642
|
+
width: number;
|
|
3643
|
+
height: number;
|
|
3644
|
+
size: number;
|
|
3645
|
+
format: string;
|
|
3646
|
+
};
|
|
3647
|
+
};
|
|
3648
|
+
processingStatus: "completed" | "failed";
|
|
3649
|
+
processingError: string | null;
|
|
3650
|
+
format: string;
|
|
3651
|
+
quality: number;
|
|
3652
|
+
exifStripped: boolean;
|
|
3653
|
+
createdAt: Date;
|
|
3654
|
+
updatedAt: Date;
|
|
3655
|
+
} | undefined;
|
|
3656
|
+
createdAt: Date;
|
|
3657
|
+
updatedAt: Date;
|
|
3658
|
+
} | null | undefined;
|
|
3659
|
+
bannerFile?: {
|
|
3660
|
+
id: string;
|
|
3661
|
+
projectId: string;
|
|
3662
|
+
userId: string | null;
|
|
3663
|
+
entityId: string | null;
|
|
3664
|
+
commentId: string | null;
|
|
3665
|
+
spaceId: string | null;
|
|
3666
|
+
type: "image" | "video" | "document" | "other";
|
|
3667
|
+
originalPath: string;
|
|
3668
|
+
originalSize: number;
|
|
3669
|
+
originalMimeType: string;
|
|
3670
|
+
position: number;
|
|
3671
|
+
metadata: {
|
|
3672
|
+
[x: string]: any;
|
|
3673
|
+
};
|
|
3674
|
+
image?: {
|
|
3675
|
+
fileId: string;
|
|
3676
|
+
originalWidth: number;
|
|
3677
|
+
originalHeight: number;
|
|
3678
|
+
variants: {
|
|
3679
|
+
[x: string]: {
|
|
3680
|
+
path: string;
|
|
3681
|
+
publicPath: string;
|
|
3682
|
+
width: number;
|
|
3683
|
+
height: number;
|
|
3684
|
+
size: number;
|
|
3685
|
+
format: string;
|
|
3686
|
+
};
|
|
3687
|
+
};
|
|
3688
|
+
processingStatus: "completed" | "failed";
|
|
3689
|
+
processingError: string | null;
|
|
3690
|
+
format: string;
|
|
3691
|
+
quality: number;
|
|
3692
|
+
exifStripped: boolean;
|
|
3693
|
+
createdAt: Date;
|
|
3694
|
+
updatedAt: Date;
|
|
3695
|
+
} | undefined;
|
|
3696
|
+
createdAt: Date;
|
|
3697
|
+
updatedAt: Date;
|
|
3698
|
+
} | null | undefined;
|
|
1327
3699
|
bio: string | null;
|
|
1328
3700
|
birthdate: Date | null;
|
|
3701
|
+
location: {
|
|
3702
|
+
type: "Point";
|
|
3703
|
+
coordinates: [number, number];
|
|
3704
|
+
} | null;
|
|
1329
3705
|
metadata: {
|
|
1330
3706
|
[x: string]: any;
|
|
1331
3707
|
};
|
|
1332
3708
|
reputation: number;
|
|
1333
3709
|
createdAt: Date;
|
|
1334
|
-
location: {
|
|
1335
|
-
type: "Point";
|
|
1336
|
-
coordinates: [number, number];
|
|
1337
|
-
} | null;
|
|
1338
3710
|
};
|
|
1339
3711
|
upvotesCount: number;
|
|
1340
3712
|
content: string;
|
|
1341
3713
|
createdAt: string;
|
|
1342
3714
|
} | null;
|
|
3715
|
+
isSaved?: boolean | undefined;
|
|
1343
3716
|
createdAt: Date;
|
|
1344
3717
|
updatedAt: Date;
|
|
1345
3718
|
deletedAt: Date | null;
|
|
@@ -1414,8 +3787,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1414
3787
|
slug: string | null;
|
|
1415
3788
|
name: string;
|
|
1416
3789
|
description: string | null;
|
|
1417
|
-
|
|
1418
|
-
|
|
3790
|
+
avatarFileId: string | null;
|
|
3791
|
+
bannerFileId: string | null;
|
|
1419
3792
|
userId: string;
|
|
1420
3793
|
readingPermission: import("../..").ReadingPermission;
|
|
1421
3794
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -1431,6 +3804,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1431
3804
|
membersCount: number;
|
|
1432
3805
|
childSpacesCount: number;
|
|
1433
3806
|
isMember?: boolean | undefined;
|
|
3807
|
+
avatarFile?: {
|
|
3808
|
+
id: string;
|
|
3809
|
+
projectId: string;
|
|
3810
|
+
userId: string | null;
|
|
3811
|
+
entityId: string | null;
|
|
3812
|
+
commentId: string | null;
|
|
3813
|
+
spaceId: string | null;
|
|
3814
|
+
type: "image" | "video" | "document" | "other";
|
|
3815
|
+
originalPath: string;
|
|
3816
|
+
originalSize: number;
|
|
3817
|
+
originalMimeType: string;
|
|
3818
|
+
position: number;
|
|
3819
|
+
metadata: {
|
|
3820
|
+
[x: string]: any;
|
|
3821
|
+
};
|
|
3822
|
+
image?: {
|
|
3823
|
+
fileId: string;
|
|
3824
|
+
originalWidth: number;
|
|
3825
|
+
originalHeight: number;
|
|
3826
|
+
variants: {
|
|
3827
|
+
[x: string]: {
|
|
3828
|
+
path: string;
|
|
3829
|
+
publicPath: string;
|
|
3830
|
+
width: number;
|
|
3831
|
+
height: number;
|
|
3832
|
+
size: number;
|
|
3833
|
+
format: string;
|
|
3834
|
+
};
|
|
3835
|
+
};
|
|
3836
|
+
processingStatus: "completed" | "failed";
|
|
3837
|
+
processingError: string | null;
|
|
3838
|
+
format: string;
|
|
3839
|
+
quality: number;
|
|
3840
|
+
exifStripped: boolean;
|
|
3841
|
+
createdAt: Date;
|
|
3842
|
+
updatedAt: Date;
|
|
3843
|
+
} | undefined;
|
|
3844
|
+
createdAt: Date;
|
|
3845
|
+
updatedAt: Date;
|
|
3846
|
+
} | undefined;
|
|
3847
|
+
bannerFile?: {
|
|
3848
|
+
id: string;
|
|
3849
|
+
projectId: string;
|
|
3850
|
+
userId: string | null;
|
|
3851
|
+
entityId: string | null;
|
|
3852
|
+
commentId: string | null;
|
|
3853
|
+
spaceId: string | null;
|
|
3854
|
+
type: "image" | "video" | "document" | "other";
|
|
3855
|
+
originalPath: string;
|
|
3856
|
+
originalSize: number;
|
|
3857
|
+
originalMimeType: string;
|
|
3858
|
+
position: number;
|
|
3859
|
+
metadata: {
|
|
3860
|
+
[x: string]: any;
|
|
3861
|
+
};
|
|
3862
|
+
image?: {
|
|
3863
|
+
fileId: string;
|
|
3864
|
+
originalWidth: number;
|
|
3865
|
+
originalHeight: number;
|
|
3866
|
+
variants: {
|
|
3867
|
+
[x: string]: {
|
|
3868
|
+
path: string;
|
|
3869
|
+
publicPath: string;
|
|
3870
|
+
width: number;
|
|
3871
|
+
height: number;
|
|
3872
|
+
size: number;
|
|
3873
|
+
format: string;
|
|
3874
|
+
};
|
|
3875
|
+
};
|
|
3876
|
+
processingStatus: "completed" | "failed";
|
|
3877
|
+
processingError: string | null;
|
|
3878
|
+
format: string;
|
|
3879
|
+
quality: number;
|
|
3880
|
+
exifStripped: boolean;
|
|
3881
|
+
createdAt: Date;
|
|
3882
|
+
updatedAt: Date;
|
|
3883
|
+
} | undefined;
|
|
3884
|
+
createdAt: Date;
|
|
3885
|
+
updatedAt: Date;
|
|
3886
|
+
} | undefined;
|
|
1434
3887
|
} | null | undefined;
|
|
1435
3888
|
user?: {
|
|
1436
3889
|
id: string;
|
|
@@ -1440,17 +3893,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1440
3893
|
name: string | null;
|
|
1441
3894
|
username: string | null;
|
|
1442
3895
|
avatar: string | null;
|
|
3896
|
+
avatarFileId: string | null;
|
|
3897
|
+
bannerFileId: string | null;
|
|
3898
|
+
avatarFile?: {
|
|
3899
|
+
id: string;
|
|
3900
|
+
projectId: string;
|
|
3901
|
+
userId: string | null;
|
|
3902
|
+
entityId: string | null;
|
|
3903
|
+
commentId: string | null;
|
|
3904
|
+
spaceId: string | null;
|
|
3905
|
+
type: "image" | "video" | "document" | "other";
|
|
3906
|
+
originalPath: string;
|
|
3907
|
+
originalSize: number;
|
|
3908
|
+
originalMimeType: string;
|
|
3909
|
+
position: number;
|
|
3910
|
+
metadata: {
|
|
3911
|
+
[x: string]: any;
|
|
3912
|
+
};
|
|
3913
|
+
image?: {
|
|
3914
|
+
fileId: string;
|
|
3915
|
+
originalWidth: number;
|
|
3916
|
+
originalHeight: number;
|
|
3917
|
+
variants: {
|
|
3918
|
+
[x: string]: {
|
|
3919
|
+
path: string;
|
|
3920
|
+
publicPath: string;
|
|
3921
|
+
width: number;
|
|
3922
|
+
height: number;
|
|
3923
|
+
size: number;
|
|
3924
|
+
format: string;
|
|
3925
|
+
};
|
|
3926
|
+
};
|
|
3927
|
+
processingStatus: "completed" | "failed";
|
|
3928
|
+
processingError: string | null;
|
|
3929
|
+
format: string;
|
|
3930
|
+
quality: number;
|
|
3931
|
+
exifStripped: boolean;
|
|
3932
|
+
createdAt: Date;
|
|
3933
|
+
updatedAt: Date;
|
|
3934
|
+
} | undefined;
|
|
3935
|
+
createdAt: Date;
|
|
3936
|
+
updatedAt: Date;
|
|
3937
|
+
} | null | undefined;
|
|
3938
|
+
bannerFile?: {
|
|
3939
|
+
id: string;
|
|
3940
|
+
projectId: string;
|
|
3941
|
+
userId: string | null;
|
|
3942
|
+
entityId: string | null;
|
|
3943
|
+
commentId: string | null;
|
|
3944
|
+
spaceId: string | null;
|
|
3945
|
+
type: "image" | "video" | "document" | "other";
|
|
3946
|
+
originalPath: string;
|
|
3947
|
+
originalSize: number;
|
|
3948
|
+
originalMimeType: string;
|
|
3949
|
+
position: number;
|
|
3950
|
+
metadata: {
|
|
3951
|
+
[x: string]: any;
|
|
3952
|
+
};
|
|
3953
|
+
image?: {
|
|
3954
|
+
fileId: string;
|
|
3955
|
+
originalWidth: number;
|
|
3956
|
+
originalHeight: number;
|
|
3957
|
+
variants: {
|
|
3958
|
+
[x: string]: {
|
|
3959
|
+
path: string;
|
|
3960
|
+
publicPath: string;
|
|
3961
|
+
width: number;
|
|
3962
|
+
height: number;
|
|
3963
|
+
size: number;
|
|
3964
|
+
format: string;
|
|
3965
|
+
};
|
|
3966
|
+
};
|
|
3967
|
+
processingStatus: "completed" | "failed";
|
|
3968
|
+
processingError: string | null;
|
|
3969
|
+
format: string;
|
|
3970
|
+
quality: number;
|
|
3971
|
+
exifStripped: boolean;
|
|
3972
|
+
createdAt: Date;
|
|
3973
|
+
updatedAt: Date;
|
|
3974
|
+
} | undefined;
|
|
3975
|
+
createdAt: Date;
|
|
3976
|
+
updatedAt: Date;
|
|
3977
|
+
} | null | undefined;
|
|
1443
3978
|
bio: string | null;
|
|
1444
3979
|
birthdate: Date | null;
|
|
3980
|
+
location: {
|
|
3981
|
+
type: "Point";
|
|
3982
|
+
coordinates: [number, number];
|
|
3983
|
+
} | null;
|
|
1445
3984
|
metadata: {
|
|
1446
3985
|
[x: string]: any;
|
|
1447
3986
|
};
|
|
1448
3987
|
reputation: number;
|
|
1449
3988
|
createdAt: Date;
|
|
1450
|
-
location: {
|
|
1451
|
-
type: "Point";
|
|
1452
|
-
coordinates: [number, number];
|
|
1453
|
-
} | null;
|
|
1454
3989
|
} | null | undefined;
|
|
1455
3990
|
title: string | null;
|
|
1456
3991
|
content: string | null;
|
|
@@ -1462,9 +3997,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1462
3997
|
attachments: {
|
|
1463
3998
|
[x: string]: any;
|
|
1464
3999
|
}[];
|
|
4000
|
+
files?: {
|
|
4001
|
+
id: string;
|
|
4002
|
+
projectId: string;
|
|
4003
|
+
userId: string | null;
|
|
4004
|
+
entityId: string | null;
|
|
4005
|
+
commentId: string | null;
|
|
4006
|
+
spaceId: string | null;
|
|
4007
|
+
type: "image" | "video" | "document" | "other";
|
|
4008
|
+
originalPath: string;
|
|
4009
|
+
originalSize: number;
|
|
4010
|
+
originalMimeType: string;
|
|
4011
|
+
position: number;
|
|
4012
|
+
metadata: {
|
|
4013
|
+
[x: string]: any;
|
|
4014
|
+
};
|
|
4015
|
+
image?: {
|
|
4016
|
+
fileId: string;
|
|
4017
|
+
originalWidth: number;
|
|
4018
|
+
originalHeight: number;
|
|
4019
|
+
variants: {
|
|
4020
|
+
[x: string]: {
|
|
4021
|
+
path: string;
|
|
4022
|
+
publicPath: string;
|
|
4023
|
+
width: number;
|
|
4024
|
+
height: number;
|
|
4025
|
+
size: number;
|
|
4026
|
+
format: string;
|
|
4027
|
+
};
|
|
4028
|
+
};
|
|
4029
|
+
processingStatus: "completed" | "failed";
|
|
4030
|
+
processingError: string | null;
|
|
4031
|
+
format: string;
|
|
4032
|
+
quality: number;
|
|
4033
|
+
exifStripped: boolean;
|
|
4034
|
+
createdAt: Date;
|
|
4035
|
+
updatedAt: Date;
|
|
4036
|
+
} | undefined;
|
|
4037
|
+
createdAt: Date;
|
|
4038
|
+
updatedAt: Date;
|
|
4039
|
+
}[] | undefined;
|
|
1465
4040
|
keywords: string[];
|
|
1466
4041
|
upvotes: string[];
|
|
1467
4042
|
downvotes: string[];
|
|
4043
|
+
reactionCounts: {
|
|
4044
|
+
upvote: number;
|
|
4045
|
+
downvote: number;
|
|
4046
|
+
like: number;
|
|
4047
|
+
love: number;
|
|
4048
|
+
wow: number;
|
|
4049
|
+
sad: number;
|
|
4050
|
+
angry: number;
|
|
4051
|
+
funny: number;
|
|
4052
|
+
};
|
|
4053
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1468
4054
|
repliesCount: number;
|
|
1469
4055
|
views: number;
|
|
1470
4056
|
score: number;
|
|
@@ -1486,22 +4072,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1486
4072
|
name: string | null;
|
|
1487
4073
|
username: string | null;
|
|
1488
4074
|
avatar: string | null;
|
|
4075
|
+
avatarFileId: string | null;
|
|
4076
|
+
bannerFileId: string | null;
|
|
4077
|
+
avatarFile?: {
|
|
4078
|
+
id: string;
|
|
4079
|
+
projectId: string;
|
|
4080
|
+
userId: string | null;
|
|
4081
|
+
entityId: string | null;
|
|
4082
|
+
commentId: string | null;
|
|
4083
|
+
spaceId: string | null;
|
|
4084
|
+
type: "image" | "video" | "document" | "other";
|
|
4085
|
+
originalPath: string;
|
|
4086
|
+
originalSize: number;
|
|
4087
|
+
originalMimeType: string;
|
|
4088
|
+
position: number;
|
|
4089
|
+
metadata: {
|
|
4090
|
+
[x: string]: any;
|
|
4091
|
+
};
|
|
4092
|
+
image?: {
|
|
4093
|
+
fileId: string;
|
|
4094
|
+
originalWidth: number;
|
|
4095
|
+
originalHeight: number;
|
|
4096
|
+
variants: {
|
|
4097
|
+
[x: string]: {
|
|
4098
|
+
path: string;
|
|
4099
|
+
publicPath: string;
|
|
4100
|
+
width: number;
|
|
4101
|
+
height: number;
|
|
4102
|
+
size: number;
|
|
4103
|
+
format: string;
|
|
4104
|
+
};
|
|
4105
|
+
};
|
|
4106
|
+
processingStatus: "completed" | "failed";
|
|
4107
|
+
processingError: string | null;
|
|
4108
|
+
format: string;
|
|
4109
|
+
quality: number;
|
|
4110
|
+
exifStripped: boolean;
|
|
4111
|
+
createdAt: Date;
|
|
4112
|
+
updatedAt: Date;
|
|
4113
|
+
} | undefined;
|
|
4114
|
+
createdAt: Date;
|
|
4115
|
+
updatedAt: Date;
|
|
4116
|
+
} | null | undefined;
|
|
4117
|
+
bannerFile?: {
|
|
4118
|
+
id: string;
|
|
4119
|
+
projectId: string;
|
|
4120
|
+
userId: string | null;
|
|
4121
|
+
entityId: string | null;
|
|
4122
|
+
commentId: string | null;
|
|
4123
|
+
spaceId: string | null;
|
|
4124
|
+
type: "image" | "video" | "document" | "other";
|
|
4125
|
+
originalPath: string;
|
|
4126
|
+
originalSize: number;
|
|
4127
|
+
originalMimeType: string;
|
|
4128
|
+
position: number;
|
|
4129
|
+
metadata: {
|
|
4130
|
+
[x: string]: any;
|
|
4131
|
+
};
|
|
4132
|
+
image?: {
|
|
4133
|
+
fileId: string;
|
|
4134
|
+
originalWidth: number;
|
|
4135
|
+
originalHeight: number;
|
|
4136
|
+
variants: {
|
|
4137
|
+
[x: string]: {
|
|
4138
|
+
path: string;
|
|
4139
|
+
publicPath: string;
|
|
4140
|
+
width: number;
|
|
4141
|
+
height: number;
|
|
4142
|
+
size: number;
|
|
4143
|
+
format: string;
|
|
4144
|
+
};
|
|
4145
|
+
};
|
|
4146
|
+
processingStatus: "completed" | "failed";
|
|
4147
|
+
processingError: string | null;
|
|
4148
|
+
format: string;
|
|
4149
|
+
quality: number;
|
|
4150
|
+
exifStripped: boolean;
|
|
4151
|
+
createdAt: Date;
|
|
4152
|
+
updatedAt: Date;
|
|
4153
|
+
} | undefined;
|
|
4154
|
+
createdAt: Date;
|
|
4155
|
+
updatedAt: Date;
|
|
4156
|
+
} | null | undefined;
|
|
1489
4157
|
bio: string | null;
|
|
1490
4158
|
birthdate: Date | null;
|
|
4159
|
+
location: {
|
|
4160
|
+
type: "Point";
|
|
4161
|
+
coordinates: [number, number];
|
|
4162
|
+
} | null;
|
|
1491
4163
|
metadata: {
|
|
1492
4164
|
[x: string]: any;
|
|
1493
4165
|
};
|
|
1494
4166
|
reputation: number;
|
|
1495
4167
|
createdAt: Date;
|
|
1496
|
-
location: {
|
|
1497
|
-
type: "Point";
|
|
1498
|
-
coordinates: [number, number];
|
|
1499
|
-
} | null;
|
|
1500
4168
|
};
|
|
1501
4169
|
upvotesCount: number;
|
|
1502
4170
|
content: string;
|
|
1503
4171
|
createdAt: string;
|
|
1504
4172
|
} | null;
|
|
4173
|
+
isSaved?: boolean | undefined;
|
|
1505
4174
|
createdAt: Date;
|
|
1506
4175
|
updatedAt: Date;
|
|
1507
4176
|
deletedAt: Date | null;
|
|
@@ -1576,8 +4245,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1576
4245
|
slug: string | null;
|
|
1577
4246
|
name: string;
|
|
1578
4247
|
description: string | null;
|
|
1579
|
-
|
|
1580
|
-
|
|
4248
|
+
avatarFileId: string | null;
|
|
4249
|
+
bannerFileId: string | null;
|
|
1581
4250
|
userId: string;
|
|
1582
4251
|
readingPermission: import("../..").ReadingPermission;
|
|
1583
4252
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -1593,6 +4262,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1593
4262
|
membersCount: number;
|
|
1594
4263
|
childSpacesCount: number;
|
|
1595
4264
|
isMember?: boolean | undefined;
|
|
4265
|
+
avatarFile?: {
|
|
4266
|
+
id: string;
|
|
4267
|
+
projectId: string;
|
|
4268
|
+
userId: string | null;
|
|
4269
|
+
entityId: string | null;
|
|
4270
|
+
commentId: string | null;
|
|
4271
|
+
spaceId: string | null;
|
|
4272
|
+
type: "image" | "video" | "document" | "other";
|
|
4273
|
+
originalPath: string;
|
|
4274
|
+
originalSize: number;
|
|
4275
|
+
originalMimeType: string;
|
|
4276
|
+
position: number;
|
|
4277
|
+
metadata: {
|
|
4278
|
+
[x: string]: any;
|
|
4279
|
+
};
|
|
4280
|
+
image?: {
|
|
4281
|
+
fileId: string;
|
|
4282
|
+
originalWidth: number;
|
|
4283
|
+
originalHeight: number;
|
|
4284
|
+
variants: {
|
|
4285
|
+
[x: string]: {
|
|
4286
|
+
path: string;
|
|
4287
|
+
publicPath: string;
|
|
4288
|
+
width: number;
|
|
4289
|
+
height: number;
|
|
4290
|
+
size: number;
|
|
4291
|
+
format: string;
|
|
4292
|
+
};
|
|
4293
|
+
};
|
|
4294
|
+
processingStatus: "completed" | "failed";
|
|
4295
|
+
processingError: string | null;
|
|
4296
|
+
format: string;
|
|
4297
|
+
quality: number;
|
|
4298
|
+
exifStripped: boolean;
|
|
4299
|
+
createdAt: Date;
|
|
4300
|
+
updatedAt: Date;
|
|
4301
|
+
} | undefined;
|
|
4302
|
+
createdAt: Date;
|
|
4303
|
+
updatedAt: Date;
|
|
4304
|
+
} | undefined;
|
|
4305
|
+
bannerFile?: {
|
|
4306
|
+
id: string;
|
|
4307
|
+
projectId: string;
|
|
4308
|
+
userId: string | null;
|
|
4309
|
+
entityId: string | null;
|
|
4310
|
+
commentId: string | null;
|
|
4311
|
+
spaceId: string | null;
|
|
4312
|
+
type: "image" | "video" | "document" | "other";
|
|
4313
|
+
originalPath: string;
|
|
4314
|
+
originalSize: number;
|
|
4315
|
+
originalMimeType: string;
|
|
4316
|
+
position: number;
|
|
4317
|
+
metadata: {
|
|
4318
|
+
[x: string]: any;
|
|
4319
|
+
};
|
|
4320
|
+
image?: {
|
|
4321
|
+
fileId: string;
|
|
4322
|
+
originalWidth: number;
|
|
4323
|
+
originalHeight: number;
|
|
4324
|
+
variants: {
|
|
4325
|
+
[x: string]: {
|
|
4326
|
+
path: string;
|
|
4327
|
+
publicPath: string;
|
|
4328
|
+
width: number;
|
|
4329
|
+
height: number;
|
|
4330
|
+
size: number;
|
|
4331
|
+
format: string;
|
|
4332
|
+
};
|
|
4333
|
+
};
|
|
4334
|
+
processingStatus: "completed" | "failed";
|
|
4335
|
+
processingError: string | null;
|
|
4336
|
+
format: string;
|
|
4337
|
+
quality: number;
|
|
4338
|
+
exifStripped: boolean;
|
|
4339
|
+
createdAt: Date;
|
|
4340
|
+
updatedAt: Date;
|
|
4341
|
+
} | undefined;
|
|
4342
|
+
createdAt: Date;
|
|
4343
|
+
updatedAt: Date;
|
|
4344
|
+
} | undefined;
|
|
1596
4345
|
} | null | undefined;
|
|
1597
4346
|
user?: {
|
|
1598
4347
|
id: string;
|
|
@@ -1602,17 +4351,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1602
4351
|
name: string | null;
|
|
1603
4352
|
username: string | null;
|
|
1604
4353
|
avatar: string | null;
|
|
4354
|
+
avatarFileId: string | null;
|
|
4355
|
+
bannerFileId: string | null;
|
|
4356
|
+
avatarFile?: {
|
|
4357
|
+
id: string;
|
|
4358
|
+
projectId: string;
|
|
4359
|
+
userId: string | null;
|
|
4360
|
+
entityId: string | null;
|
|
4361
|
+
commentId: string | null;
|
|
4362
|
+
spaceId: string | null;
|
|
4363
|
+
type: "image" | "video" | "document" | "other";
|
|
4364
|
+
originalPath: string;
|
|
4365
|
+
originalSize: number;
|
|
4366
|
+
originalMimeType: string;
|
|
4367
|
+
position: number;
|
|
4368
|
+
metadata: {
|
|
4369
|
+
[x: string]: any;
|
|
4370
|
+
};
|
|
4371
|
+
image?: {
|
|
4372
|
+
fileId: string;
|
|
4373
|
+
originalWidth: number;
|
|
4374
|
+
originalHeight: number;
|
|
4375
|
+
variants: {
|
|
4376
|
+
[x: string]: {
|
|
4377
|
+
path: string;
|
|
4378
|
+
publicPath: string;
|
|
4379
|
+
width: number;
|
|
4380
|
+
height: number;
|
|
4381
|
+
size: number;
|
|
4382
|
+
format: string;
|
|
4383
|
+
};
|
|
4384
|
+
};
|
|
4385
|
+
processingStatus: "completed" | "failed";
|
|
4386
|
+
processingError: string | null;
|
|
4387
|
+
format: string;
|
|
4388
|
+
quality: number;
|
|
4389
|
+
exifStripped: boolean;
|
|
4390
|
+
createdAt: Date;
|
|
4391
|
+
updatedAt: Date;
|
|
4392
|
+
} | undefined;
|
|
4393
|
+
createdAt: Date;
|
|
4394
|
+
updatedAt: Date;
|
|
4395
|
+
} | null | undefined;
|
|
4396
|
+
bannerFile?: {
|
|
4397
|
+
id: string;
|
|
4398
|
+
projectId: string;
|
|
4399
|
+
userId: string | null;
|
|
4400
|
+
entityId: string | null;
|
|
4401
|
+
commentId: string | null;
|
|
4402
|
+
spaceId: string | null;
|
|
4403
|
+
type: "image" | "video" | "document" | "other";
|
|
4404
|
+
originalPath: string;
|
|
4405
|
+
originalSize: number;
|
|
4406
|
+
originalMimeType: string;
|
|
4407
|
+
position: number;
|
|
4408
|
+
metadata: {
|
|
4409
|
+
[x: string]: any;
|
|
4410
|
+
};
|
|
4411
|
+
image?: {
|
|
4412
|
+
fileId: string;
|
|
4413
|
+
originalWidth: number;
|
|
4414
|
+
originalHeight: number;
|
|
4415
|
+
variants: {
|
|
4416
|
+
[x: string]: {
|
|
4417
|
+
path: string;
|
|
4418
|
+
publicPath: string;
|
|
4419
|
+
width: number;
|
|
4420
|
+
height: number;
|
|
4421
|
+
size: number;
|
|
4422
|
+
format: string;
|
|
4423
|
+
};
|
|
4424
|
+
};
|
|
4425
|
+
processingStatus: "completed" | "failed";
|
|
4426
|
+
processingError: string | null;
|
|
4427
|
+
format: string;
|
|
4428
|
+
quality: number;
|
|
4429
|
+
exifStripped: boolean;
|
|
4430
|
+
createdAt: Date;
|
|
4431
|
+
updatedAt: Date;
|
|
4432
|
+
} | undefined;
|
|
4433
|
+
createdAt: Date;
|
|
4434
|
+
updatedAt: Date;
|
|
4435
|
+
} | null | undefined;
|
|
1605
4436
|
bio: string | null;
|
|
1606
4437
|
birthdate: Date | null;
|
|
4438
|
+
location: {
|
|
4439
|
+
type: "Point";
|
|
4440
|
+
coordinates: [number, number];
|
|
4441
|
+
} | null;
|
|
1607
4442
|
metadata: {
|
|
1608
4443
|
[x: string]: any;
|
|
1609
4444
|
};
|
|
1610
4445
|
reputation: number;
|
|
1611
4446
|
createdAt: Date;
|
|
1612
|
-
location: {
|
|
1613
|
-
type: "Point";
|
|
1614
|
-
coordinates: [number, number];
|
|
1615
|
-
} | null;
|
|
1616
4447
|
} | null | undefined;
|
|
1617
4448
|
title: string | null;
|
|
1618
4449
|
content: string | null;
|
|
@@ -1624,9 +4455,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1624
4455
|
attachments: {
|
|
1625
4456
|
[x: string]: any;
|
|
1626
4457
|
}[];
|
|
4458
|
+
files?: {
|
|
4459
|
+
id: string;
|
|
4460
|
+
projectId: string;
|
|
4461
|
+
userId: string | null;
|
|
4462
|
+
entityId: string | null;
|
|
4463
|
+
commentId: string | null;
|
|
4464
|
+
spaceId: string | null;
|
|
4465
|
+
type: "image" | "video" | "document" | "other";
|
|
4466
|
+
originalPath: string;
|
|
4467
|
+
originalSize: number;
|
|
4468
|
+
originalMimeType: string;
|
|
4469
|
+
position: number;
|
|
4470
|
+
metadata: {
|
|
4471
|
+
[x: string]: any;
|
|
4472
|
+
};
|
|
4473
|
+
image?: {
|
|
4474
|
+
fileId: string;
|
|
4475
|
+
originalWidth: number;
|
|
4476
|
+
originalHeight: number;
|
|
4477
|
+
variants: {
|
|
4478
|
+
[x: string]: {
|
|
4479
|
+
path: string;
|
|
4480
|
+
publicPath: string;
|
|
4481
|
+
width: number;
|
|
4482
|
+
height: number;
|
|
4483
|
+
size: number;
|
|
4484
|
+
format: string;
|
|
4485
|
+
};
|
|
4486
|
+
};
|
|
4487
|
+
processingStatus: "completed" | "failed";
|
|
4488
|
+
processingError: string | null;
|
|
4489
|
+
format: string;
|
|
4490
|
+
quality: number;
|
|
4491
|
+
exifStripped: boolean;
|
|
4492
|
+
createdAt: Date;
|
|
4493
|
+
updatedAt: Date;
|
|
4494
|
+
} | undefined;
|
|
4495
|
+
createdAt: Date;
|
|
4496
|
+
updatedAt: Date;
|
|
4497
|
+
}[] | undefined;
|
|
1627
4498
|
keywords: string[];
|
|
1628
4499
|
upvotes: string[];
|
|
1629
4500
|
downvotes: string[];
|
|
4501
|
+
reactionCounts: {
|
|
4502
|
+
upvote: number;
|
|
4503
|
+
downvote: number;
|
|
4504
|
+
like: number;
|
|
4505
|
+
love: number;
|
|
4506
|
+
wow: number;
|
|
4507
|
+
sad: number;
|
|
4508
|
+
angry: number;
|
|
4509
|
+
funny: number;
|
|
4510
|
+
};
|
|
4511
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1630
4512
|
repliesCount: number;
|
|
1631
4513
|
views: number;
|
|
1632
4514
|
score: number;
|
|
@@ -1648,22 +4530,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1648
4530
|
name: string | null;
|
|
1649
4531
|
username: string | null;
|
|
1650
4532
|
avatar: string | null;
|
|
4533
|
+
avatarFileId: string | null;
|
|
4534
|
+
bannerFileId: string | null;
|
|
4535
|
+
avatarFile?: {
|
|
4536
|
+
id: string;
|
|
4537
|
+
projectId: string;
|
|
4538
|
+
userId: string | null;
|
|
4539
|
+
entityId: string | null;
|
|
4540
|
+
commentId: string | null;
|
|
4541
|
+
spaceId: string | null;
|
|
4542
|
+
type: "image" | "video" | "document" | "other";
|
|
4543
|
+
originalPath: string;
|
|
4544
|
+
originalSize: number;
|
|
4545
|
+
originalMimeType: string;
|
|
4546
|
+
position: number;
|
|
4547
|
+
metadata: {
|
|
4548
|
+
[x: string]: any;
|
|
4549
|
+
};
|
|
4550
|
+
image?: {
|
|
4551
|
+
fileId: string;
|
|
4552
|
+
originalWidth: number;
|
|
4553
|
+
originalHeight: number;
|
|
4554
|
+
variants: {
|
|
4555
|
+
[x: string]: {
|
|
4556
|
+
path: string;
|
|
4557
|
+
publicPath: string;
|
|
4558
|
+
width: number;
|
|
4559
|
+
height: number;
|
|
4560
|
+
size: number;
|
|
4561
|
+
format: string;
|
|
4562
|
+
};
|
|
4563
|
+
};
|
|
4564
|
+
processingStatus: "completed" | "failed";
|
|
4565
|
+
processingError: string | null;
|
|
4566
|
+
format: string;
|
|
4567
|
+
quality: number;
|
|
4568
|
+
exifStripped: boolean;
|
|
4569
|
+
createdAt: Date;
|
|
4570
|
+
updatedAt: Date;
|
|
4571
|
+
} | undefined;
|
|
4572
|
+
createdAt: Date;
|
|
4573
|
+
updatedAt: Date;
|
|
4574
|
+
} | null | undefined;
|
|
4575
|
+
bannerFile?: {
|
|
4576
|
+
id: string;
|
|
4577
|
+
projectId: string;
|
|
4578
|
+
userId: string | null;
|
|
4579
|
+
entityId: string | null;
|
|
4580
|
+
commentId: string | null;
|
|
4581
|
+
spaceId: string | null;
|
|
4582
|
+
type: "image" | "video" | "document" | "other";
|
|
4583
|
+
originalPath: string;
|
|
4584
|
+
originalSize: number;
|
|
4585
|
+
originalMimeType: string;
|
|
4586
|
+
position: number;
|
|
4587
|
+
metadata: {
|
|
4588
|
+
[x: string]: any;
|
|
4589
|
+
};
|
|
4590
|
+
image?: {
|
|
4591
|
+
fileId: string;
|
|
4592
|
+
originalWidth: number;
|
|
4593
|
+
originalHeight: number;
|
|
4594
|
+
variants: {
|
|
4595
|
+
[x: string]: {
|
|
4596
|
+
path: string;
|
|
4597
|
+
publicPath: string;
|
|
4598
|
+
width: number;
|
|
4599
|
+
height: number;
|
|
4600
|
+
size: number;
|
|
4601
|
+
format: string;
|
|
4602
|
+
};
|
|
4603
|
+
};
|
|
4604
|
+
processingStatus: "completed" | "failed";
|
|
4605
|
+
processingError: string | null;
|
|
4606
|
+
format: string;
|
|
4607
|
+
quality: number;
|
|
4608
|
+
exifStripped: boolean;
|
|
4609
|
+
createdAt: Date;
|
|
4610
|
+
updatedAt: Date;
|
|
4611
|
+
} | undefined;
|
|
4612
|
+
createdAt: Date;
|
|
4613
|
+
updatedAt: Date;
|
|
4614
|
+
} | null | undefined;
|
|
1651
4615
|
bio: string | null;
|
|
1652
4616
|
birthdate: Date | null;
|
|
4617
|
+
location: {
|
|
4618
|
+
type: "Point";
|
|
4619
|
+
coordinates: [number, number];
|
|
4620
|
+
} | null;
|
|
1653
4621
|
metadata: {
|
|
1654
4622
|
[x: string]: any;
|
|
1655
4623
|
};
|
|
1656
4624
|
reputation: number;
|
|
1657
4625
|
createdAt: Date;
|
|
1658
|
-
location: {
|
|
1659
|
-
type: "Point";
|
|
1660
|
-
coordinates: [number, number];
|
|
1661
|
-
} | null;
|
|
1662
4626
|
};
|
|
1663
4627
|
upvotesCount: number;
|
|
1664
4628
|
content: string;
|
|
1665
4629
|
createdAt: string;
|
|
1666
4630
|
} | null;
|
|
4631
|
+
isSaved?: boolean | undefined;
|
|
1667
4632
|
createdAt: Date;
|
|
1668
4633
|
updatedAt: Date;
|
|
1669
4634
|
deletedAt: Date | null;
|
|
@@ -1738,8 +4703,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1738
4703
|
slug: string | null;
|
|
1739
4704
|
name: string;
|
|
1740
4705
|
description: string | null;
|
|
1741
|
-
|
|
1742
|
-
|
|
4706
|
+
avatarFileId: string | null;
|
|
4707
|
+
bannerFileId: string | null;
|
|
1743
4708
|
userId: string;
|
|
1744
4709
|
readingPermission: import("../..").ReadingPermission;
|
|
1745
4710
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -1755,6 +4720,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1755
4720
|
membersCount: number;
|
|
1756
4721
|
childSpacesCount: number;
|
|
1757
4722
|
isMember?: boolean | undefined;
|
|
4723
|
+
avatarFile?: {
|
|
4724
|
+
id: string;
|
|
4725
|
+
projectId: string;
|
|
4726
|
+
userId: string | null;
|
|
4727
|
+
entityId: string | null;
|
|
4728
|
+
commentId: string | null;
|
|
4729
|
+
spaceId: string | null;
|
|
4730
|
+
type: "image" | "video" | "document" | "other";
|
|
4731
|
+
originalPath: string;
|
|
4732
|
+
originalSize: number;
|
|
4733
|
+
originalMimeType: string;
|
|
4734
|
+
position: number;
|
|
4735
|
+
metadata: {
|
|
4736
|
+
[x: string]: any;
|
|
4737
|
+
};
|
|
4738
|
+
image?: {
|
|
4739
|
+
fileId: string;
|
|
4740
|
+
originalWidth: number;
|
|
4741
|
+
originalHeight: number;
|
|
4742
|
+
variants: {
|
|
4743
|
+
[x: string]: {
|
|
4744
|
+
path: string;
|
|
4745
|
+
publicPath: string;
|
|
4746
|
+
width: number;
|
|
4747
|
+
height: number;
|
|
4748
|
+
size: number;
|
|
4749
|
+
format: string;
|
|
4750
|
+
};
|
|
4751
|
+
};
|
|
4752
|
+
processingStatus: "completed" | "failed";
|
|
4753
|
+
processingError: string | null;
|
|
4754
|
+
format: string;
|
|
4755
|
+
quality: number;
|
|
4756
|
+
exifStripped: boolean;
|
|
4757
|
+
createdAt: Date;
|
|
4758
|
+
updatedAt: Date;
|
|
4759
|
+
} | undefined;
|
|
4760
|
+
createdAt: Date;
|
|
4761
|
+
updatedAt: Date;
|
|
4762
|
+
} | undefined;
|
|
4763
|
+
bannerFile?: {
|
|
4764
|
+
id: string;
|
|
4765
|
+
projectId: string;
|
|
4766
|
+
userId: string | null;
|
|
4767
|
+
entityId: string | null;
|
|
4768
|
+
commentId: string | null;
|
|
4769
|
+
spaceId: string | null;
|
|
4770
|
+
type: "image" | "video" | "document" | "other";
|
|
4771
|
+
originalPath: string;
|
|
4772
|
+
originalSize: number;
|
|
4773
|
+
originalMimeType: string;
|
|
4774
|
+
position: number;
|
|
4775
|
+
metadata: {
|
|
4776
|
+
[x: string]: any;
|
|
4777
|
+
};
|
|
4778
|
+
image?: {
|
|
4779
|
+
fileId: string;
|
|
4780
|
+
originalWidth: number;
|
|
4781
|
+
originalHeight: number;
|
|
4782
|
+
variants: {
|
|
4783
|
+
[x: string]: {
|
|
4784
|
+
path: string;
|
|
4785
|
+
publicPath: string;
|
|
4786
|
+
width: number;
|
|
4787
|
+
height: number;
|
|
4788
|
+
size: number;
|
|
4789
|
+
format: string;
|
|
4790
|
+
};
|
|
4791
|
+
};
|
|
4792
|
+
processingStatus: "completed" | "failed";
|
|
4793
|
+
processingError: string | null;
|
|
4794
|
+
format: string;
|
|
4795
|
+
quality: number;
|
|
4796
|
+
exifStripped: boolean;
|
|
4797
|
+
createdAt: Date;
|
|
4798
|
+
updatedAt: Date;
|
|
4799
|
+
} | undefined;
|
|
4800
|
+
createdAt: Date;
|
|
4801
|
+
updatedAt: Date;
|
|
4802
|
+
} | undefined;
|
|
1758
4803
|
} | null | undefined;
|
|
1759
4804
|
user?: {
|
|
1760
4805
|
id: string;
|
|
@@ -1764,17 +4809,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1764
4809
|
name: string | null;
|
|
1765
4810
|
username: string | null;
|
|
1766
4811
|
avatar: string | null;
|
|
4812
|
+
avatarFileId: string | null;
|
|
4813
|
+
bannerFileId: string | null;
|
|
4814
|
+
avatarFile?: {
|
|
4815
|
+
id: string;
|
|
4816
|
+
projectId: string;
|
|
4817
|
+
userId: string | null;
|
|
4818
|
+
entityId: string | null;
|
|
4819
|
+
commentId: string | null;
|
|
4820
|
+
spaceId: string | null;
|
|
4821
|
+
type: "image" | "video" | "document" | "other";
|
|
4822
|
+
originalPath: string;
|
|
4823
|
+
originalSize: number;
|
|
4824
|
+
originalMimeType: string;
|
|
4825
|
+
position: number;
|
|
4826
|
+
metadata: {
|
|
4827
|
+
[x: string]: any;
|
|
4828
|
+
};
|
|
4829
|
+
image?: {
|
|
4830
|
+
fileId: string;
|
|
4831
|
+
originalWidth: number;
|
|
4832
|
+
originalHeight: number;
|
|
4833
|
+
variants: {
|
|
4834
|
+
[x: string]: {
|
|
4835
|
+
path: string;
|
|
4836
|
+
publicPath: string;
|
|
4837
|
+
width: number;
|
|
4838
|
+
height: number;
|
|
4839
|
+
size: number;
|
|
4840
|
+
format: string;
|
|
4841
|
+
};
|
|
4842
|
+
};
|
|
4843
|
+
processingStatus: "completed" | "failed";
|
|
4844
|
+
processingError: string | null;
|
|
4845
|
+
format: string;
|
|
4846
|
+
quality: number;
|
|
4847
|
+
exifStripped: boolean;
|
|
4848
|
+
createdAt: Date;
|
|
4849
|
+
updatedAt: Date;
|
|
4850
|
+
} | undefined;
|
|
4851
|
+
createdAt: Date;
|
|
4852
|
+
updatedAt: Date;
|
|
4853
|
+
} | null | undefined;
|
|
4854
|
+
bannerFile?: {
|
|
4855
|
+
id: string;
|
|
4856
|
+
projectId: string;
|
|
4857
|
+
userId: string | null;
|
|
4858
|
+
entityId: string | null;
|
|
4859
|
+
commentId: string | null;
|
|
4860
|
+
spaceId: string | null;
|
|
4861
|
+
type: "image" | "video" | "document" | "other";
|
|
4862
|
+
originalPath: string;
|
|
4863
|
+
originalSize: number;
|
|
4864
|
+
originalMimeType: string;
|
|
4865
|
+
position: number;
|
|
4866
|
+
metadata: {
|
|
4867
|
+
[x: string]: any;
|
|
4868
|
+
};
|
|
4869
|
+
image?: {
|
|
4870
|
+
fileId: string;
|
|
4871
|
+
originalWidth: number;
|
|
4872
|
+
originalHeight: number;
|
|
4873
|
+
variants: {
|
|
4874
|
+
[x: string]: {
|
|
4875
|
+
path: string;
|
|
4876
|
+
publicPath: string;
|
|
4877
|
+
width: number;
|
|
4878
|
+
height: number;
|
|
4879
|
+
size: number;
|
|
4880
|
+
format: string;
|
|
4881
|
+
};
|
|
4882
|
+
};
|
|
4883
|
+
processingStatus: "completed" | "failed";
|
|
4884
|
+
processingError: string | null;
|
|
4885
|
+
format: string;
|
|
4886
|
+
quality: number;
|
|
4887
|
+
exifStripped: boolean;
|
|
4888
|
+
createdAt: Date;
|
|
4889
|
+
updatedAt: Date;
|
|
4890
|
+
} | undefined;
|
|
4891
|
+
createdAt: Date;
|
|
4892
|
+
updatedAt: Date;
|
|
4893
|
+
} | null | undefined;
|
|
1767
4894
|
bio: string | null;
|
|
1768
4895
|
birthdate: Date | null;
|
|
4896
|
+
location: {
|
|
4897
|
+
type: "Point";
|
|
4898
|
+
coordinates: [number, number];
|
|
4899
|
+
} | null;
|
|
1769
4900
|
metadata: {
|
|
1770
4901
|
[x: string]: any;
|
|
1771
4902
|
};
|
|
1772
4903
|
reputation: number;
|
|
1773
4904
|
createdAt: Date;
|
|
1774
|
-
location: {
|
|
1775
|
-
type: "Point";
|
|
1776
|
-
coordinates: [number, number];
|
|
1777
|
-
} | null;
|
|
1778
4905
|
} | null | undefined;
|
|
1779
4906
|
title: string | null;
|
|
1780
4907
|
content: string | null;
|
|
@@ -1786,9 +4913,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1786
4913
|
attachments: {
|
|
1787
4914
|
[x: string]: any;
|
|
1788
4915
|
}[];
|
|
4916
|
+
files?: {
|
|
4917
|
+
id: string;
|
|
4918
|
+
projectId: string;
|
|
4919
|
+
userId: string | null;
|
|
4920
|
+
entityId: string | null;
|
|
4921
|
+
commentId: string | null;
|
|
4922
|
+
spaceId: string | null;
|
|
4923
|
+
type: "image" | "video" | "document" | "other";
|
|
4924
|
+
originalPath: string;
|
|
4925
|
+
originalSize: number;
|
|
4926
|
+
originalMimeType: string;
|
|
4927
|
+
position: number;
|
|
4928
|
+
metadata: {
|
|
4929
|
+
[x: string]: any;
|
|
4930
|
+
};
|
|
4931
|
+
image?: {
|
|
4932
|
+
fileId: string;
|
|
4933
|
+
originalWidth: number;
|
|
4934
|
+
originalHeight: number;
|
|
4935
|
+
variants: {
|
|
4936
|
+
[x: string]: {
|
|
4937
|
+
path: string;
|
|
4938
|
+
publicPath: string;
|
|
4939
|
+
width: number;
|
|
4940
|
+
height: number;
|
|
4941
|
+
size: number;
|
|
4942
|
+
format: string;
|
|
4943
|
+
};
|
|
4944
|
+
};
|
|
4945
|
+
processingStatus: "completed" | "failed";
|
|
4946
|
+
processingError: string | null;
|
|
4947
|
+
format: string;
|
|
4948
|
+
quality: number;
|
|
4949
|
+
exifStripped: boolean;
|
|
4950
|
+
createdAt: Date;
|
|
4951
|
+
updatedAt: Date;
|
|
4952
|
+
} | undefined;
|
|
4953
|
+
createdAt: Date;
|
|
4954
|
+
updatedAt: Date;
|
|
4955
|
+
}[] | undefined;
|
|
1789
4956
|
keywords: string[];
|
|
1790
4957
|
upvotes: string[];
|
|
1791
4958
|
downvotes: string[];
|
|
4959
|
+
reactionCounts: {
|
|
4960
|
+
upvote: number;
|
|
4961
|
+
downvote: number;
|
|
4962
|
+
like: number;
|
|
4963
|
+
love: number;
|
|
4964
|
+
wow: number;
|
|
4965
|
+
sad: number;
|
|
4966
|
+
angry: number;
|
|
4967
|
+
funny: number;
|
|
4968
|
+
};
|
|
4969
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1792
4970
|
repliesCount: number;
|
|
1793
4971
|
views: number;
|
|
1794
4972
|
score: number;
|
|
@@ -1810,22 +4988,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1810
4988
|
name: string | null;
|
|
1811
4989
|
username: string | null;
|
|
1812
4990
|
avatar: string | null;
|
|
4991
|
+
avatarFileId: string | null;
|
|
4992
|
+
bannerFileId: string | null;
|
|
4993
|
+
avatarFile?: {
|
|
4994
|
+
id: string;
|
|
4995
|
+
projectId: string;
|
|
4996
|
+
userId: string | null;
|
|
4997
|
+
entityId: string | null;
|
|
4998
|
+
commentId: string | null;
|
|
4999
|
+
spaceId: string | null;
|
|
5000
|
+
type: "image" | "video" | "document" | "other";
|
|
5001
|
+
originalPath: string;
|
|
5002
|
+
originalSize: number;
|
|
5003
|
+
originalMimeType: string;
|
|
5004
|
+
position: number;
|
|
5005
|
+
metadata: {
|
|
5006
|
+
[x: string]: any;
|
|
5007
|
+
};
|
|
5008
|
+
image?: {
|
|
5009
|
+
fileId: string;
|
|
5010
|
+
originalWidth: number;
|
|
5011
|
+
originalHeight: number;
|
|
5012
|
+
variants: {
|
|
5013
|
+
[x: string]: {
|
|
5014
|
+
path: string;
|
|
5015
|
+
publicPath: string;
|
|
5016
|
+
width: number;
|
|
5017
|
+
height: number;
|
|
5018
|
+
size: number;
|
|
5019
|
+
format: string;
|
|
5020
|
+
};
|
|
5021
|
+
};
|
|
5022
|
+
processingStatus: "completed" | "failed";
|
|
5023
|
+
processingError: string | null;
|
|
5024
|
+
format: string;
|
|
5025
|
+
quality: number;
|
|
5026
|
+
exifStripped: boolean;
|
|
5027
|
+
createdAt: Date;
|
|
5028
|
+
updatedAt: Date;
|
|
5029
|
+
} | undefined;
|
|
5030
|
+
createdAt: Date;
|
|
5031
|
+
updatedAt: Date;
|
|
5032
|
+
} | null | undefined;
|
|
5033
|
+
bannerFile?: {
|
|
5034
|
+
id: string;
|
|
5035
|
+
projectId: string;
|
|
5036
|
+
userId: string | null;
|
|
5037
|
+
entityId: string | null;
|
|
5038
|
+
commentId: string | null;
|
|
5039
|
+
spaceId: string | null;
|
|
5040
|
+
type: "image" | "video" | "document" | "other";
|
|
5041
|
+
originalPath: string;
|
|
5042
|
+
originalSize: number;
|
|
5043
|
+
originalMimeType: string;
|
|
5044
|
+
position: number;
|
|
5045
|
+
metadata: {
|
|
5046
|
+
[x: string]: any;
|
|
5047
|
+
};
|
|
5048
|
+
image?: {
|
|
5049
|
+
fileId: string;
|
|
5050
|
+
originalWidth: number;
|
|
5051
|
+
originalHeight: number;
|
|
5052
|
+
variants: {
|
|
5053
|
+
[x: string]: {
|
|
5054
|
+
path: string;
|
|
5055
|
+
publicPath: string;
|
|
5056
|
+
width: number;
|
|
5057
|
+
height: number;
|
|
5058
|
+
size: number;
|
|
5059
|
+
format: string;
|
|
5060
|
+
};
|
|
5061
|
+
};
|
|
5062
|
+
processingStatus: "completed" | "failed";
|
|
5063
|
+
processingError: string | null;
|
|
5064
|
+
format: string;
|
|
5065
|
+
quality: number;
|
|
5066
|
+
exifStripped: boolean;
|
|
5067
|
+
createdAt: Date;
|
|
5068
|
+
updatedAt: Date;
|
|
5069
|
+
} | undefined;
|
|
5070
|
+
createdAt: Date;
|
|
5071
|
+
updatedAt: Date;
|
|
5072
|
+
} | null | undefined;
|
|
1813
5073
|
bio: string | null;
|
|
1814
5074
|
birthdate: Date | null;
|
|
5075
|
+
location: {
|
|
5076
|
+
type: "Point";
|
|
5077
|
+
coordinates: [number, number];
|
|
5078
|
+
} | null;
|
|
1815
5079
|
metadata: {
|
|
1816
5080
|
[x: string]: any;
|
|
1817
5081
|
};
|
|
1818
5082
|
reputation: number;
|
|
1819
5083
|
createdAt: Date;
|
|
1820
|
-
location: {
|
|
1821
|
-
type: "Point";
|
|
1822
|
-
coordinates: [number, number];
|
|
1823
|
-
} | null;
|
|
1824
5084
|
};
|
|
1825
5085
|
upvotesCount: number;
|
|
1826
5086
|
content: string;
|
|
1827
5087
|
createdAt: string;
|
|
1828
5088
|
} | null;
|
|
5089
|
+
isSaved?: boolean | undefined;
|
|
1829
5090
|
createdAt: Date;
|
|
1830
5091
|
updatedAt: Date;
|
|
1831
5092
|
deletedAt: Date | null;
|
|
@@ -1900,8 +5161,8 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1900
5161
|
slug: string | null;
|
|
1901
5162
|
name: string;
|
|
1902
5163
|
description: string | null;
|
|
1903
|
-
|
|
1904
|
-
|
|
5164
|
+
avatarFileId: string | null;
|
|
5165
|
+
bannerFileId: string | null;
|
|
1905
5166
|
userId: string;
|
|
1906
5167
|
readingPermission: import("../..").ReadingPermission;
|
|
1907
5168
|
postingPermission: import("../..").PostingPermission;
|
|
@@ -1917,6 +5178,86 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1917
5178
|
membersCount: number;
|
|
1918
5179
|
childSpacesCount: number;
|
|
1919
5180
|
isMember?: boolean | undefined;
|
|
5181
|
+
avatarFile?: {
|
|
5182
|
+
id: string;
|
|
5183
|
+
projectId: string;
|
|
5184
|
+
userId: string | null;
|
|
5185
|
+
entityId: string | null;
|
|
5186
|
+
commentId: string | null;
|
|
5187
|
+
spaceId: string | null;
|
|
5188
|
+
type: "image" | "video" | "document" | "other";
|
|
5189
|
+
originalPath: string;
|
|
5190
|
+
originalSize: number;
|
|
5191
|
+
originalMimeType: string;
|
|
5192
|
+
position: number;
|
|
5193
|
+
metadata: {
|
|
5194
|
+
[x: string]: any;
|
|
5195
|
+
};
|
|
5196
|
+
image?: {
|
|
5197
|
+
fileId: string;
|
|
5198
|
+
originalWidth: number;
|
|
5199
|
+
originalHeight: number;
|
|
5200
|
+
variants: {
|
|
5201
|
+
[x: string]: {
|
|
5202
|
+
path: string;
|
|
5203
|
+
publicPath: string;
|
|
5204
|
+
width: number;
|
|
5205
|
+
height: number;
|
|
5206
|
+
size: number;
|
|
5207
|
+
format: string;
|
|
5208
|
+
};
|
|
5209
|
+
};
|
|
5210
|
+
processingStatus: "completed" | "failed";
|
|
5211
|
+
processingError: string | null;
|
|
5212
|
+
format: string;
|
|
5213
|
+
quality: number;
|
|
5214
|
+
exifStripped: boolean;
|
|
5215
|
+
createdAt: Date;
|
|
5216
|
+
updatedAt: Date;
|
|
5217
|
+
} | undefined;
|
|
5218
|
+
createdAt: Date;
|
|
5219
|
+
updatedAt: Date;
|
|
5220
|
+
} | undefined;
|
|
5221
|
+
bannerFile?: {
|
|
5222
|
+
id: string;
|
|
5223
|
+
projectId: string;
|
|
5224
|
+
userId: string | null;
|
|
5225
|
+
entityId: string | null;
|
|
5226
|
+
commentId: string | null;
|
|
5227
|
+
spaceId: string | null;
|
|
5228
|
+
type: "image" | "video" | "document" | "other";
|
|
5229
|
+
originalPath: string;
|
|
5230
|
+
originalSize: number;
|
|
5231
|
+
originalMimeType: string;
|
|
5232
|
+
position: number;
|
|
5233
|
+
metadata: {
|
|
5234
|
+
[x: string]: any;
|
|
5235
|
+
};
|
|
5236
|
+
image?: {
|
|
5237
|
+
fileId: string;
|
|
5238
|
+
originalWidth: number;
|
|
5239
|
+
originalHeight: number;
|
|
5240
|
+
variants: {
|
|
5241
|
+
[x: string]: {
|
|
5242
|
+
path: string;
|
|
5243
|
+
publicPath: string;
|
|
5244
|
+
width: number;
|
|
5245
|
+
height: number;
|
|
5246
|
+
size: number;
|
|
5247
|
+
format: string;
|
|
5248
|
+
};
|
|
5249
|
+
};
|
|
5250
|
+
processingStatus: "completed" | "failed";
|
|
5251
|
+
processingError: string | null;
|
|
5252
|
+
format: string;
|
|
5253
|
+
quality: number;
|
|
5254
|
+
exifStripped: boolean;
|
|
5255
|
+
createdAt: Date;
|
|
5256
|
+
updatedAt: Date;
|
|
5257
|
+
} | undefined;
|
|
5258
|
+
createdAt: Date;
|
|
5259
|
+
updatedAt: Date;
|
|
5260
|
+
} | undefined;
|
|
1920
5261
|
} | null | undefined;
|
|
1921
5262
|
user?: {
|
|
1922
5263
|
id: string;
|
|
@@ -1926,17 +5267,99 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1926
5267
|
name: string | null;
|
|
1927
5268
|
username: string | null;
|
|
1928
5269
|
avatar: string | null;
|
|
5270
|
+
avatarFileId: string | null;
|
|
5271
|
+
bannerFileId: string | null;
|
|
5272
|
+
avatarFile?: {
|
|
5273
|
+
id: string;
|
|
5274
|
+
projectId: string;
|
|
5275
|
+
userId: string | null;
|
|
5276
|
+
entityId: string | null;
|
|
5277
|
+
commentId: string | null;
|
|
5278
|
+
spaceId: string | null;
|
|
5279
|
+
type: "image" | "video" | "document" | "other";
|
|
5280
|
+
originalPath: string;
|
|
5281
|
+
originalSize: number;
|
|
5282
|
+
originalMimeType: string;
|
|
5283
|
+
position: number;
|
|
5284
|
+
metadata: {
|
|
5285
|
+
[x: string]: any;
|
|
5286
|
+
};
|
|
5287
|
+
image?: {
|
|
5288
|
+
fileId: string;
|
|
5289
|
+
originalWidth: number;
|
|
5290
|
+
originalHeight: number;
|
|
5291
|
+
variants: {
|
|
5292
|
+
[x: string]: {
|
|
5293
|
+
path: string;
|
|
5294
|
+
publicPath: string;
|
|
5295
|
+
width: number;
|
|
5296
|
+
height: number;
|
|
5297
|
+
size: number;
|
|
5298
|
+
format: string;
|
|
5299
|
+
};
|
|
5300
|
+
};
|
|
5301
|
+
processingStatus: "completed" | "failed";
|
|
5302
|
+
processingError: string | null;
|
|
5303
|
+
format: string;
|
|
5304
|
+
quality: number;
|
|
5305
|
+
exifStripped: boolean;
|
|
5306
|
+
createdAt: Date;
|
|
5307
|
+
updatedAt: Date;
|
|
5308
|
+
} | undefined;
|
|
5309
|
+
createdAt: Date;
|
|
5310
|
+
updatedAt: Date;
|
|
5311
|
+
} | null | undefined;
|
|
5312
|
+
bannerFile?: {
|
|
5313
|
+
id: string;
|
|
5314
|
+
projectId: string;
|
|
5315
|
+
userId: string | null;
|
|
5316
|
+
entityId: string | null;
|
|
5317
|
+
commentId: string | null;
|
|
5318
|
+
spaceId: string | null;
|
|
5319
|
+
type: "image" | "video" | "document" | "other";
|
|
5320
|
+
originalPath: string;
|
|
5321
|
+
originalSize: number;
|
|
5322
|
+
originalMimeType: string;
|
|
5323
|
+
position: number;
|
|
5324
|
+
metadata: {
|
|
5325
|
+
[x: string]: any;
|
|
5326
|
+
};
|
|
5327
|
+
image?: {
|
|
5328
|
+
fileId: string;
|
|
5329
|
+
originalWidth: number;
|
|
5330
|
+
originalHeight: number;
|
|
5331
|
+
variants: {
|
|
5332
|
+
[x: string]: {
|
|
5333
|
+
path: string;
|
|
5334
|
+
publicPath: string;
|
|
5335
|
+
width: number;
|
|
5336
|
+
height: number;
|
|
5337
|
+
size: number;
|
|
5338
|
+
format: string;
|
|
5339
|
+
};
|
|
5340
|
+
};
|
|
5341
|
+
processingStatus: "completed" | "failed";
|
|
5342
|
+
processingError: string | null;
|
|
5343
|
+
format: string;
|
|
5344
|
+
quality: number;
|
|
5345
|
+
exifStripped: boolean;
|
|
5346
|
+
createdAt: Date;
|
|
5347
|
+
updatedAt: Date;
|
|
5348
|
+
} | undefined;
|
|
5349
|
+
createdAt: Date;
|
|
5350
|
+
updatedAt: Date;
|
|
5351
|
+
} | null | undefined;
|
|
1929
5352
|
bio: string | null;
|
|
1930
5353
|
birthdate: Date | null;
|
|
5354
|
+
location: {
|
|
5355
|
+
type: "Point";
|
|
5356
|
+
coordinates: [number, number];
|
|
5357
|
+
} | null;
|
|
1931
5358
|
metadata: {
|
|
1932
5359
|
[x: string]: any;
|
|
1933
5360
|
};
|
|
1934
5361
|
reputation: number;
|
|
1935
5362
|
createdAt: Date;
|
|
1936
|
-
location: {
|
|
1937
|
-
type: "Point";
|
|
1938
|
-
coordinates: [number, number];
|
|
1939
|
-
} | null;
|
|
1940
5363
|
} | null | undefined;
|
|
1941
5364
|
title: string | null;
|
|
1942
5365
|
content: string | null;
|
|
@@ -1948,9 +5371,60 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1948
5371
|
attachments: {
|
|
1949
5372
|
[x: string]: any;
|
|
1950
5373
|
}[];
|
|
5374
|
+
files?: {
|
|
5375
|
+
id: string;
|
|
5376
|
+
projectId: string;
|
|
5377
|
+
userId: string | null;
|
|
5378
|
+
entityId: string | null;
|
|
5379
|
+
commentId: string | null;
|
|
5380
|
+
spaceId: string | null;
|
|
5381
|
+
type: "image" | "video" | "document" | "other";
|
|
5382
|
+
originalPath: string;
|
|
5383
|
+
originalSize: number;
|
|
5384
|
+
originalMimeType: string;
|
|
5385
|
+
position: number;
|
|
5386
|
+
metadata: {
|
|
5387
|
+
[x: string]: any;
|
|
5388
|
+
};
|
|
5389
|
+
image?: {
|
|
5390
|
+
fileId: string;
|
|
5391
|
+
originalWidth: number;
|
|
5392
|
+
originalHeight: number;
|
|
5393
|
+
variants: {
|
|
5394
|
+
[x: string]: {
|
|
5395
|
+
path: string;
|
|
5396
|
+
publicPath: string;
|
|
5397
|
+
width: number;
|
|
5398
|
+
height: number;
|
|
5399
|
+
size: number;
|
|
5400
|
+
format: string;
|
|
5401
|
+
};
|
|
5402
|
+
};
|
|
5403
|
+
processingStatus: "completed" | "failed";
|
|
5404
|
+
processingError: string | null;
|
|
5405
|
+
format: string;
|
|
5406
|
+
quality: number;
|
|
5407
|
+
exifStripped: boolean;
|
|
5408
|
+
createdAt: Date;
|
|
5409
|
+
updatedAt: Date;
|
|
5410
|
+
} | undefined;
|
|
5411
|
+
createdAt: Date;
|
|
5412
|
+
updatedAt: Date;
|
|
5413
|
+
}[] | undefined;
|
|
1951
5414
|
keywords: string[];
|
|
1952
5415
|
upvotes: string[];
|
|
1953
5416
|
downvotes: string[];
|
|
5417
|
+
reactionCounts: {
|
|
5418
|
+
upvote: number;
|
|
5419
|
+
downvote: number;
|
|
5420
|
+
like: number;
|
|
5421
|
+
love: number;
|
|
5422
|
+
wow: number;
|
|
5423
|
+
sad: number;
|
|
5424
|
+
angry: number;
|
|
5425
|
+
funny: number;
|
|
5426
|
+
};
|
|
5427
|
+
userReaction?: (import("../..").ReactionType | null) | undefined;
|
|
1954
5428
|
repliesCount: number;
|
|
1955
5429
|
views: number;
|
|
1956
5430
|
score: number;
|
|
@@ -1972,22 +5446,105 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
1972
5446
|
name: string | null;
|
|
1973
5447
|
username: string | null;
|
|
1974
5448
|
avatar: string | null;
|
|
5449
|
+
avatarFileId: string | null;
|
|
5450
|
+
bannerFileId: string | null;
|
|
5451
|
+
avatarFile?: {
|
|
5452
|
+
id: string;
|
|
5453
|
+
projectId: string;
|
|
5454
|
+
userId: string | null;
|
|
5455
|
+
entityId: string | null;
|
|
5456
|
+
commentId: string | null;
|
|
5457
|
+
spaceId: string | null;
|
|
5458
|
+
type: "image" | "video" | "document" | "other";
|
|
5459
|
+
originalPath: string;
|
|
5460
|
+
originalSize: number;
|
|
5461
|
+
originalMimeType: string;
|
|
5462
|
+
position: number;
|
|
5463
|
+
metadata: {
|
|
5464
|
+
[x: string]: any;
|
|
5465
|
+
};
|
|
5466
|
+
image?: {
|
|
5467
|
+
fileId: string;
|
|
5468
|
+
originalWidth: number;
|
|
5469
|
+
originalHeight: number;
|
|
5470
|
+
variants: {
|
|
5471
|
+
[x: string]: {
|
|
5472
|
+
path: string;
|
|
5473
|
+
publicPath: string;
|
|
5474
|
+
width: number;
|
|
5475
|
+
height: number;
|
|
5476
|
+
size: number;
|
|
5477
|
+
format: string;
|
|
5478
|
+
};
|
|
5479
|
+
};
|
|
5480
|
+
processingStatus: "completed" | "failed";
|
|
5481
|
+
processingError: string | null;
|
|
5482
|
+
format: string;
|
|
5483
|
+
quality: number;
|
|
5484
|
+
exifStripped: boolean;
|
|
5485
|
+
createdAt: Date;
|
|
5486
|
+
updatedAt: Date;
|
|
5487
|
+
} | undefined;
|
|
5488
|
+
createdAt: Date;
|
|
5489
|
+
updatedAt: Date;
|
|
5490
|
+
} | null | undefined;
|
|
5491
|
+
bannerFile?: {
|
|
5492
|
+
id: string;
|
|
5493
|
+
projectId: string;
|
|
5494
|
+
userId: string | null;
|
|
5495
|
+
entityId: string | null;
|
|
5496
|
+
commentId: string | null;
|
|
5497
|
+
spaceId: string | null;
|
|
5498
|
+
type: "image" | "video" | "document" | "other";
|
|
5499
|
+
originalPath: string;
|
|
5500
|
+
originalSize: number;
|
|
5501
|
+
originalMimeType: string;
|
|
5502
|
+
position: number;
|
|
5503
|
+
metadata: {
|
|
5504
|
+
[x: string]: any;
|
|
5505
|
+
};
|
|
5506
|
+
image?: {
|
|
5507
|
+
fileId: string;
|
|
5508
|
+
originalWidth: number;
|
|
5509
|
+
originalHeight: number;
|
|
5510
|
+
variants: {
|
|
5511
|
+
[x: string]: {
|
|
5512
|
+
path: string;
|
|
5513
|
+
publicPath: string;
|
|
5514
|
+
width: number;
|
|
5515
|
+
height: number;
|
|
5516
|
+
size: number;
|
|
5517
|
+
format: string;
|
|
5518
|
+
};
|
|
5519
|
+
};
|
|
5520
|
+
processingStatus: "completed" | "failed";
|
|
5521
|
+
processingError: string | null;
|
|
5522
|
+
format: string;
|
|
5523
|
+
quality: number;
|
|
5524
|
+
exifStripped: boolean;
|
|
5525
|
+
createdAt: Date;
|
|
5526
|
+
updatedAt: Date;
|
|
5527
|
+
} | undefined;
|
|
5528
|
+
createdAt: Date;
|
|
5529
|
+
updatedAt: Date;
|
|
5530
|
+
} | null | undefined;
|
|
1975
5531
|
bio: string | null;
|
|
1976
5532
|
birthdate: Date | null;
|
|
5533
|
+
location: {
|
|
5534
|
+
type: "Point";
|
|
5535
|
+
coordinates: [number, number];
|
|
5536
|
+
} | null;
|
|
1977
5537
|
metadata: {
|
|
1978
5538
|
[x: string]: any;
|
|
1979
5539
|
};
|
|
1980
5540
|
reputation: number;
|
|
1981
5541
|
createdAt: Date;
|
|
1982
|
-
location: {
|
|
1983
|
-
type: "Point";
|
|
1984
|
-
coordinates: [number, number];
|
|
1985
|
-
} | null;
|
|
1986
5542
|
};
|
|
1987
5543
|
upvotesCount: number;
|
|
1988
5544
|
content: string;
|
|
1989
5545
|
createdAt: string;
|
|
1990
5546
|
} | null;
|
|
5547
|
+
isSaved?: boolean | undefined;
|
|
1991
5548
|
createdAt: Date;
|
|
1992
5549
|
updatedAt: Date;
|
|
1993
5550
|
deletedAt: Date | null;
|
|
@@ -2046,7 +5603,7 @@ export declare const entityListsSlice: import("@reduxjs/toolkit").Slice<EntityLi
|
|
|
2046
5603
|
};
|
|
2047
5604
|
}, action: PayloadAction<number>) => void;
|
|
2048
5605
|
}, "entityLists", "entityLists", import("@reduxjs/toolkit").SliceSelectors<EntityListsState>>;
|
|
2049
|
-
export declare const initializeList: import("@reduxjs/toolkit").ActionCreatorWithPayload<InitializeListPayload, "entityLists/initializeList">,
|
|
5606
|
+
export declare const initializeList: import("@reduxjs/toolkit").ActionCreatorWithPayload<InitializeListPayload, "entityLists/initializeList">, updateFiltersAndSortConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<FilterUpdatePayload, "entityLists/updateFiltersAndSortConfig">, setEntityListLoading: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
2050
5607
|
listId: string;
|
|
2051
5608
|
loading: boolean;
|
|
2052
5609
|
}, "entityLists/setEntityListLoading">, setEntityListEntities: import("@reduxjs/toolkit").ActionCreatorWithPayload<EntitiesSetPayload, "entityLists/setEntityListEntities">, incrementPage: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "entityLists/incrementPage">, setEntityListHasMore: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
@@ -2056,7 +5613,11 @@ export declare const initializeList: import("@reduxjs/toolkit").ActionCreatorWit
|
|
|
2056
5613
|
listId: string;
|
|
2057
5614
|
error: string | null;
|
|
2058
5615
|
}, "entityLists/setEntityListError">, addEntity: import("@reduxjs/toolkit").ActionCreatorWithPayload<EntityAddPayload, "entityLists/addEntity">, removeEntity: import("@reduxjs/toolkit").ActionCreatorWithPayload<EntityRemovePayload, "entityLists/removeEntity">, updateKeywordsFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<KeywordsUpdatePayload, "entityLists/updateKeywordsFilters">, cleanupList: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "entityLists/cleanupList">, cleanupOldLists: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "entityLists/cleanupOldLists">;
|
|
2059
|
-
export declare const selectEntityList: ((state:
|
|
5616
|
+
export declare const selectEntityList: ((state: {
|
|
5617
|
+
replyke: ReplykeState;
|
|
5618
|
+
} & {
|
|
5619
|
+
replyke: ReplykeState;
|
|
5620
|
+
}, listId: string) => EntityListState | undefined) & {
|
|
2060
5621
|
clearCache: () => void;
|
|
2061
5622
|
resultsCount: () => number;
|
|
2062
5623
|
resetResultsCount: () => void;
|
|
@@ -2069,8 +5630,10 @@ export declare const selectEntityList: ((state: any, listId: string) => EntityLi
|
|
|
2069
5630
|
};
|
|
2070
5631
|
lastResult: () => EntityListState | undefined;
|
|
2071
5632
|
dependencies: [(state: {
|
|
2072
|
-
|
|
2073
|
-
}) => EntityListsState, (_:
|
|
5633
|
+
replyke: ReplykeState;
|
|
5634
|
+
}) => EntityListsState, (_: {
|
|
5635
|
+
replyke: ReplykeState;
|
|
5636
|
+
}, listId: string) => string];
|
|
2074
5637
|
recomputations: () => number;
|
|
2075
5638
|
resetRecomputations: () => void;
|
|
2076
5639
|
dependencyRecomputations: () => number;
|
|
@@ -2079,7 +5642,11 @@ export declare const selectEntityList: ((state: any, listId: string) => EntityLi
|
|
|
2079
5642
|
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2080
5643
|
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2081
5644
|
};
|
|
2082
|
-
export declare const selectEntityListEntities: ((state:
|
|
5645
|
+
export declare const selectEntityListEntities: ((state: {
|
|
5646
|
+
replyke: ReplykeState;
|
|
5647
|
+
} & {
|
|
5648
|
+
replyke: ReplykeState;
|
|
5649
|
+
}, listId: string) => Entity[]) & {
|
|
2083
5650
|
clearCache: () => void;
|
|
2084
5651
|
resultsCount: () => number;
|
|
2085
5652
|
resetResultsCount: () => void;
|
|
@@ -2091,7 +5658,11 @@ export declare const selectEntityListEntities: ((state: any, listId: string) =>
|
|
|
2091
5658
|
resetResultsCount: () => void;
|
|
2092
5659
|
};
|
|
2093
5660
|
lastResult: () => Entity[];
|
|
2094
|
-
dependencies: [((state:
|
|
5661
|
+
dependencies: [((state: {
|
|
5662
|
+
replyke: ReplykeState;
|
|
5663
|
+
} & {
|
|
5664
|
+
replyke: ReplykeState;
|
|
5665
|
+
}, listId: string) => EntityListState | undefined) & {
|
|
2095
5666
|
clearCache: () => void;
|
|
2096
5667
|
resultsCount: () => number;
|
|
2097
5668
|
resetResultsCount: () => void;
|
|
@@ -2104,8 +5675,10 @@ export declare const selectEntityListEntities: ((state: any, listId: string) =>
|
|
|
2104
5675
|
};
|
|
2105
5676
|
lastResult: () => EntityListState | undefined;
|
|
2106
5677
|
dependencies: [(state: {
|
|
2107
|
-
|
|
2108
|
-
}) => EntityListsState, (_:
|
|
5678
|
+
replyke: ReplykeState;
|
|
5679
|
+
}) => EntityListsState, (_: {
|
|
5680
|
+
replyke: ReplykeState;
|
|
5681
|
+
}, listId: string) => string];
|
|
2109
5682
|
recomputations: () => number;
|
|
2110
5683
|
resetRecomputations: () => void;
|
|
2111
5684
|
dependencyRecomputations: () => number;
|
|
@@ -2122,7 +5695,11 @@ export declare const selectEntityListEntities: ((state: any, listId: string) =>
|
|
|
2122
5695
|
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2123
5696
|
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2124
5697
|
};
|
|
2125
|
-
export declare const selectEntityListLoading: ((state:
|
|
5698
|
+
export declare const selectEntityListLoading: ((state: {
|
|
5699
|
+
replyke: ReplykeState;
|
|
5700
|
+
} & {
|
|
5701
|
+
replyke: ReplykeState;
|
|
5702
|
+
}, listId: string) => boolean) & {
|
|
2126
5703
|
clearCache: () => void;
|
|
2127
5704
|
resultsCount: () => number;
|
|
2128
5705
|
resetResultsCount: () => void;
|
|
@@ -2134,7 +5711,11 @@ export declare const selectEntityListLoading: ((state: any, listId: string) => b
|
|
|
2134
5711
|
resetResultsCount: () => void;
|
|
2135
5712
|
};
|
|
2136
5713
|
lastResult: () => boolean;
|
|
2137
|
-
dependencies: [((state:
|
|
5714
|
+
dependencies: [((state: {
|
|
5715
|
+
replyke: ReplykeState;
|
|
5716
|
+
} & {
|
|
5717
|
+
replyke: ReplykeState;
|
|
5718
|
+
}, listId: string) => EntityListState | undefined) & {
|
|
2138
5719
|
clearCache: () => void;
|
|
2139
5720
|
resultsCount: () => number;
|
|
2140
5721
|
resetResultsCount: () => void;
|
|
@@ -2147,8 +5728,10 @@ export declare const selectEntityListLoading: ((state: any, listId: string) => b
|
|
|
2147
5728
|
};
|
|
2148
5729
|
lastResult: () => EntityListState | undefined;
|
|
2149
5730
|
dependencies: [(state: {
|
|
2150
|
-
|
|
2151
|
-
}) => EntityListsState, (_:
|
|
5731
|
+
replyke: ReplykeState;
|
|
5732
|
+
}) => EntityListsState, (_: {
|
|
5733
|
+
replyke: ReplykeState;
|
|
5734
|
+
}, listId: string) => string];
|
|
2152
5735
|
recomputations: () => number;
|
|
2153
5736
|
resetRecomputations: () => void;
|
|
2154
5737
|
dependencyRecomputations: () => number;
|
|
@@ -2165,7 +5748,11 @@ export declare const selectEntityListLoading: ((state: any, listId: string) => b
|
|
|
2165
5748
|
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2166
5749
|
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2167
5750
|
};
|
|
2168
|
-
export declare const selectEntityListHasMore: ((state:
|
|
5751
|
+
export declare const selectEntityListHasMore: ((state: {
|
|
5752
|
+
replyke: ReplykeState;
|
|
5753
|
+
} & {
|
|
5754
|
+
replyke: ReplykeState;
|
|
5755
|
+
}, listId: string) => boolean) & {
|
|
2169
5756
|
clearCache: () => void;
|
|
2170
5757
|
resultsCount: () => number;
|
|
2171
5758
|
resetResultsCount: () => void;
|
|
@@ -2177,7 +5764,11 @@ export declare const selectEntityListHasMore: ((state: any, listId: string) => b
|
|
|
2177
5764
|
resetResultsCount: () => void;
|
|
2178
5765
|
};
|
|
2179
5766
|
lastResult: () => boolean;
|
|
2180
|
-
dependencies: [((state:
|
|
5767
|
+
dependencies: [((state: {
|
|
5768
|
+
replyke: ReplykeState;
|
|
5769
|
+
} & {
|
|
5770
|
+
replyke: ReplykeState;
|
|
5771
|
+
}, listId: string) => EntityListState | undefined) & {
|
|
2181
5772
|
clearCache: () => void;
|
|
2182
5773
|
resultsCount: () => number;
|
|
2183
5774
|
resetResultsCount: () => void;
|
|
@@ -2190,8 +5781,10 @@ export declare const selectEntityListHasMore: ((state: any, listId: string) => b
|
|
|
2190
5781
|
};
|
|
2191
5782
|
lastResult: () => EntityListState | undefined;
|
|
2192
5783
|
dependencies: [(state: {
|
|
2193
|
-
|
|
2194
|
-
}) => EntityListsState, (_:
|
|
5784
|
+
replyke: ReplykeState;
|
|
5785
|
+
}) => EntityListsState, (_: {
|
|
5786
|
+
replyke: ReplykeState;
|
|
5787
|
+
}, listId: string) => string];
|
|
2195
5788
|
recomputations: () => number;
|
|
2196
5789
|
resetRecomputations: () => void;
|
|
2197
5790
|
dependencyRecomputations: () => number;
|
|
@@ -2208,71 +5801,80 @@ export declare const selectEntityListHasMore: ((state: any, listId: string) => b
|
|
|
2208
5801
|
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2209
5802
|
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2210
5803
|
};
|
|
2211
|
-
export declare const
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
userId: string | null;
|
|
2217
|
-
followedOnly: boolean;
|
|
2218
|
-
keywordsFilters: KeywordsFilters | null;
|
|
2219
|
-
titleFilters: TitleFilters | null;
|
|
2220
|
-
contentFilters: ContentFilters | null;
|
|
2221
|
-
attachmentsFilters: AttachmentsFilters | null;
|
|
2222
|
-
locationFilters: LocationFilters | null;
|
|
2223
|
-
metadataFilters: MetadataFilters | null;
|
|
2224
|
-
} | null) & {
|
|
5804
|
+
export declare const selectEntityListSort: ((state: {
|
|
5805
|
+
replyke: ReplykeState;
|
|
5806
|
+
} & {
|
|
5807
|
+
replyke: ReplykeState;
|
|
5808
|
+
}, listId: string) => EntityListSort | null) & {
|
|
2225
5809
|
clearCache: () => void;
|
|
2226
5810
|
resultsCount: () => number;
|
|
2227
5811
|
resetResultsCount: () => void;
|
|
2228
5812
|
} & {
|
|
2229
|
-
resultFunc: (resultFuncArgs_0: EntityListState | undefined) =>
|
|
2230
|
-
|
|
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;
|
|
2243
|
-
memoizedResultFunc: ((resultFuncArgs_0: EntityListState | undefined) => {
|
|
2244
|
-
sortBy: EntityListSortByOptions;
|
|
2245
|
-
sortDir: SortDirection | null;
|
|
2246
|
-
sortType: SortType;
|
|
2247
|
-
timeFrame: TimeFrame | null;
|
|
2248
|
-
userId: string | null;
|
|
2249
|
-
followedOnly: boolean;
|
|
2250
|
-
keywordsFilters: KeywordsFilters | null;
|
|
2251
|
-
titleFilters: TitleFilters | null;
|
|
2252
|
-
contentFilters: ContentFilters | null;
|
|
2253
|
-
attachmentsFilters: AttachmentsFilters | null;
|
|
2254
|
-
locationFilters: LocationFilters | null;
|
|
2255
|
-
metadataFilters: MetadataFilters | null;
|
|
2256
|
-
} | null) & {
|
|
5813
|
+
resultFunc: (resultFuncArgs_0: EntityListState | undefined) => EntityListSort | null;
|
|
5814
|
+
memoizedResultFunc: ((resultFuncArgs_0: EntityListState | undefined) => EntityListSort | null) & {
|
|
2257
5815
|
clearCache: () => void;
|
|
2258
5816
|
resultsCount: () => number;
|
|
2259
5817
|
resetResultsCount: () => void;
|
|
2260
5818
|
};
|
|
2261
|
-
lastResult: () =>
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
5819
|
+
lastResult: () => EntityListSort | null;
|
|
5820
|
+
dependencies: [((state: {
|
|
5821
|
+
replyke: ReplykeState;
|
|
5822
|
+
} & {
|
|
5823
|
+
replyke: ReplykeState;
|
|
5824
|
+
}, listId: string) => EntityListState | undefined) & {
|
|
5825
|
+
clearCache: () => void;
|
|
5826
|
+
resultsCount: () => number;
|
|
5827
|
+
resetResultsCount: () => void;
|
|
5828
|
+
} & {
|
|
5829
|
+
resultFunc: (resultFuncArgs_0: EntityListsState, resultFuncArgs_1: string) => EntityListState | undefined;
|
|
5830
|
+
memoizedResultFunc: ((resultFuncArgs_0: EntityListsState, resultFuncArgs_1: string) => EntityListState | undefined) & {
|
|
5831
|
+
clearCache: () => void;
|
|
5832
|
+
resultsCount: () => number;
|
|
5833
|
+
resetResultsCount: () => void;
|
|
5834
|
+
};
|
|
5835
|
+
lastResult: () => EntityListState | undefined;
|
|
5836
|
+
dependencies: [(state: {
|
|
5837
|
+
replyke: ReplykeState;
|
|
5838
|
+
}) => EntityListsState, (_: {
|
|
5839
|
+
replyke: ReplykeState;
|
|
5840
|
+
}, listId: string) => string];
|
|
5841
|
+
recomputations: () => number;
|
|
5842
|
+
resetRecomputations: () => void;
|
|
5843
|
+
dependencyRecomputations: () => number;
|
|
5844
|
+
resetDependencyRecomputations: () => void;
|
|
5845
|
+
} & {
|
|
5846
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
5847
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
5848
|
+
}];
|
|
5849
|
+
recomputations: () => number;
|
|
5850
|
+
resetRecomputations: () => void;
|
|
5851
|
+
dependencyRecomputations: () => number;
|
|
5852
|
+
resetDependencyRecomputations: () => void;
|
|
5853
|
+
} & {
|
|
5854
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
5855
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
5856
|
+
};
|
|
5857
|
+
export declare const selectEntityListFilters: ((state: {
|
|
5858
|
+
replyke: ReplykeState;
|
|
5859
|
+
} & {
|
|
5860
|
+
replyke: ReplykeState;
|
|
5861
|
+
}, listId: string) => EntityListFilters | null) & {
|
|
5862
|
+
clearCache: () => void;
|
|
5863
|
+
resultsCount: () => number;
|
|
5864
|
+
resetResultsCount: () => void;
|
|
5865
|
+
} & {
|
|
5866
|
+
resultFunc: (resultFuncArgs_0: EntityListState | undefined) => EntityListFilters | null;
|
|
5867
|
+
memoizedResultFunc: ((resultFuncArgs_0: EntityListState | undefined) => EntityListFilters | null) & {
|
|
5868
|
+
clearCache: () => void;
|
|
5869
|
+
resultsCount: () => number;
|
|
5870
|
+
resetResultsCount: () => void;
|
|
5871
|
+
};
|
|
5872
|
+
lastResult: () => EntityListFilters | null;
|
|
5873
|
+
dependencies: [((state: {
|
|
5874
|
+
replyke: ReplykeState;
|
|
5875
|
+
} & {
|
|
5876
|
+
replyke: ReplykeState;
|
|
5877
|
+
}, listId: string) => EntityListState | undefined) & {
|
|
2276
5878
|
clearCache: () => void;
|
|
2277
5879
|
resultsCount: () => number;
|
|
2278
5880
|
resetResultsCount: () => void;
|
|
@@ -2285,8 +5887,10 @@ export declare const selectEntityListFilters: ((state: any, listId: string) => {
|
|
|
2285
5887
|
};
|
|
2286
5888
|
lastResult: () => EntityListState | undefined;
|
|
2287
5889
|
dependencies: [(state: {
|
|
2288
|
-
|
|
2289
|
-
}) => EntityListsState, (_:
|
|
5890
|
+
replyke: ReplykeState;
|
|
5891
|
+
}) => EntityListsState, (_: {
|
|
5892
|
+
replyke: ReplykeState;
|
|
5893
|
+
}, listId: string) => string];
|
|
2290
5894
|
recomputations: () => number;
|
|
2291
5895
|
resetRecomputations: () => void;
|
|
2292
5896
|
dependencyRecomputations: () => number;
|
|
@@ -2303,7 +5907,11 @@ export declare const selectEntityListFilters: ((state: any, listId: string) => {
|
|
|
2303
5907
|
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2304
5908
|
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
2305
5909
|
};
|
|
2306
|
-
export declare const selectEntityListConfig: ((state:
|
|
5910
|
+
export declare const selectEntityListConfig: ((state: {
|
|
5911
|
+
replyke: ReplykeState;
|
|
5912
|
+
} & {
|
|
5913
|
+
replyke: ReplykeState;
|
|
5914
|
+
}, listId: string) => {
|
|
2307
5915
|
sourceId: string | null;
|
|
2308
5916
|
spaceId: string | null;
|
|
2309
5917
|
limit: number;
|
|
@@ -2335,7 +5943,11 @@ export declare const selectEntityListConfig: ((state: any, listId: string) => {
|
|
|
2335
5943
|
limit: number;
|
|
2336
5944
|
include: EntityIncludeParam | null;
|
|
2337
5945
|
} | null;
|
|
2338
|
-
dependencies: [((state:
|
|
5946
|
+
dependencies: [((state: {
|
|
5947
|
+
replyke: ReplykeState;
|
|
5948
|
+
} & {
|
|
5949
|
+
replyke: ReplykeState;
|
|
5950
|
+
}, listId: string) => EntityListState | undefined) & {
|
|
2339
5951
|
clearCache: () => void;
|
|
2340
5952
|
resultsCount: () => number;
|
|
2341
5953
|
resetResultsCount: () => void;
|
|
@@ -2348,8 +5960,10 @@ export declare const selectEntityListConfig: ((state: any, listId: string) => {
|
|
|
2348
5960
|
};
|
|
2349
5961
|
lastResult: () => EntityListState | undefined;
|
|
2350
5962
|
dependencies: [(state: {
|
|
2351
|
-
|
|
2352
|
-
}) => EntityListsState, (_:
|
|
5963
|
+
replyke: ReplykeState;
|
|
5964
|
+
}) => EntityListsState, (_: {
|
|
5965
|
+
replyke: ReplykeState;
|
|
5966
|
+
}, listId: string) => string];
|
|
2353
5967
|
recomputations: () => number;
|
|
2354
5968
|
resetRecomputations: () => void;
|
|
2355
5969
|
dependencyRecomputations: () => number;
|