@amityco/ts-sdk 7.5.1-37cf937.0 → 7.5.1-3eaba4ad.0
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/@types/core/events.d.ts +0 -7
- package/dist/@types/core/events.d.ts.map +1 -1
- package/dist/@types/core/model.d.ts +1 -5
- package/dist/@types/core/model.d.ts.map +1 -1
- package/dist/@types/core/payload.d.ts +5 -38
- package/dist/@types/core/payload.d.ts.map +1 -1
- package/dist/@types/domains/channel.d.ts +2 -0
- package/dist/@types/domains/channel.d.ts.map +1 -1
- package/dist/@types/domains/client.d.ts +0 -10
- package/dist/@types/domains/client.d.ts.map +1 -1
- package/dist/@types/domains/community.d.ts +1 -48
- package/dist/@types/domains/community.d.ts.map +1 -1
- package/dist/@types/domains/content.d.ts +4 -1
- package/dist/@types/domains/content.d.ts.map +1 -1
- package/dist/@types/domains/notification.d.ts +2 -4
- package/dist/@types/domains/notification.d.ts.map +1 -1
- package/dist/@types/domains/post.d.ts +2 -0
- package/dist/@types/domains/post.d.ts.map +1 -1
- package/dist/@types/domains/stream.d.ts +4 -0
- package/dist/@types/domains/stream.d.ts.map +1 -1
- package/dist/@types/index.d.ts +0 -3
- package/dist/@types/index.d.ts.map +1 -1
- package/dist/channelRepository/api/createChannel.d.ts +3 -1
- package/dist/channelRepository/api/createChannel.d.ts.map +1 -1
- package/dist/channelRepository/internalApi/getChannel.d.ts.map +1 -1
- package/dist/communityRepository/api/createCommunity.d.ts +2 -2
- package/dist/communityRepository/api/createCommunity.d.ts.map +1 -1
- package/dist/communityRepository/api/getCommunities.d.ts +1 -1
- package/dist/communityRepository/api/getCommunities.d.ts.map +1 -1
- package/dist/communityRepository/api/getCommunity.d.ts +1 -1
- package/dist/communityRepository/api/getCommunity.d.ts.map +1 -1
- package/dist/communityRepository/api/getRecommendedCommunities.d.ts +1 -3
- package/dist/communityRepository/api/getRecommendedCommunities.d.ts.map +1 -1
- package/dist/communityRepository/api/getTrendingCommunities.d.ts +1 -3
- package/dist/communityRepository/api/getTrendingCommunities.d.ts.map +1 -1
- package/dist/communityRepository/api/joinCommunity.d.ts +0 -3
- package/dist/communityRepository/api/joinCommunity.d.ts.map +1 -1
- package/dist/communityRepository/api/queryCommunities.d.ts.map +1 -1
- package/dist/communityRepository/api/updateCommunity.d.ts +2 -2
- package/dist/communityRepository/api/updateCommunity.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/index.d.ts +0 -1
- package/dist/communityRepository/communityMembership/events/index.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityJoined.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityJoined.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityLeft.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityLeft.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserAdded.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserAdded.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserBanned.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserBanned.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserChanged.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserChanged.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserRemoved.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserRemoved.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserRoleAdded.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserRoleAdded.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserRoleRemoved.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserRoleRemoved.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserUnbanned.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onCommunityUserUnbanned.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onLocalCommunityJoined.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onLocalCommunityJoined.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onLocalCommunityLeft.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onLocalCommunityLeft.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onLocalCommunityUserAdded.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onLocalCommunityUserAdded.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onLocalCommunityUserRemoved.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onLocalCommunityUserRemoved.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/onUserDeleted.d.ts +1 -1
- package/dist/communityRepository/communityMembership/events/onUserDeleted.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/events/utils.d.ts +2 -2
- package/dist/communityRepository/communityMembership/events/utils.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/observers/getMembers/CommunityMembersQueryStreamController.d.ts +2 -2
- package/dist/communityRepository/communityMembership/observers/getMembers/CommunityMembersQueryStreamController.d.ts.map +1 -1
- package/dist/communityRepository/communityMembership/observers/searchMembers/SearchCommunityMembersQueryStreamController.d.ts +2 -2
- package/dist/communityRepository/communityMembership/observers/searchMembers/SearchCommunityMembersQueryStreamController.d.ts.map +1 -1
- package/dist/communityRepository/communityModeration/events/onLocalCommunityRoleAdded.d.ts +1 -1
- package/dist/communityRepository/communityModeration/events/onLocalCommunityRoleAdded.d.ts.map +1 -1
- package/dist/communityRepository/communityModeration/events/onLocalCommunityRoleRemoved.d.ts +1 -1
- package/dist/communityRepository/communityModeration/events/onLocalCommunityRoleRemoved.d.ts.map +1 -1
- package/dist/communityRepository/events/onCommunityCreated.d.ts +1 -1
- package/dist/communityRepository/events/onCommunityCreated.d.ts.map +1 -1
- package/dist/communityRepository/events/onCommunityDeleted.d.ts +1 -1
- package/dist/communityRepository/events/onCommunityDeleted.d.ts.map +1 -1
- package/dist/communityRepository/events/onCommunityUpdated.d.ts +1 -1
- package/dist/communityRepository/events/onCommunityUpdated.d.ts.map +1 -1
- package/dist/communityRepository/events/utils.d.ts +1 -1
- package/dist/communityRepository/events/utils.d.ts.map +1 -1
- package/dist/communityRepository/observers/getCommunities/CommunitiesLiveCollectionController.d.ts.map +1 -1
- package/dist/communityRepository/observers/getCommunities/CommunitiesQueryStreamController.d.ts +2 -2
- package/dist/communityRepository/observers/getCommunities/CommunitiesQueryStreamController.d.ts.map +1 -1
- package/dist/communityRepository/observers/getCommunity.d.ts.map +1 -1
- package/dist/communityRepository/observers/getRecommendedCommunities/RecommendedCommunitiesLiveCollectionController.d.ts.map +1 -1
- package/dist/communityRepository/observers/getRecommendedCommunities/RecommendedCommunitiesQueryStreamController.d.ts +2 -2
- package/dist/communityRepository/observers/getRecommendedCommunities/RecommendedCommunitiesQueryStreamController.d.ts.map +1 -1
- package/dist/communityRepository/observers/getTrendingCommunities/TrendingCommunitiesLiveCollectionController.d.ts.map +1 -1
- package/dist/communityRepository/observers/getTrendingCommunities/TrendingCommunitiesQueryStreamController.d.ts +2 -2
- package/dist/communityRepository/observers/getTrendingCommunities/TrendingCommunitiesQueryStreamController.d.ts.map +1 -1
- package/dist/communityRepository/observers/index.d.ts +0 -1
- package/dist/communityRepository/observers/index.d.ts.map +1 -1
- package/dist/communityRepository/observers/searchCommunities/SearchCommunitiesPaginationController.d.ts.map +1 -1
- package/dist/communityRepository/observers/searchCommunities/SearchCommunitiesQueryStreamController.d.ts +2 -2
- package/dist/communityRepository/observers/searchCommunities/SearchCommunitiesQueryStreamController.d.ts.map +1 -1
- package/dist/communityRepository/observers/semanticSearch/SemanticSearchCommunityQueryStreamController.d.ts +2 -2
- package/dist/communityRepository/observers/semanticSearch/SemanticSearchCommunityQueryStreamController.d.ts.map +1 -1
- package/dist/communityRepository/utils/communityWithMembership.d.ts +1 -1
- package/dist/communityRepository/utils/communityWithMembership.d.ts.map +1 -1
- package/dist/communityRepository/utils/payload.d.ts +1 -2
- package/dist/communityRepository/utils/payload.d.ts.map +1 -1
- package/dist/core/events.d.ts +3 -3
- package/dist/core/events.d.ts.map +1 -1
- package/dist/core/model/idResolvers.d.ts.map +1 -1
- package/dist/core/model/index.d.ts.map +1 -1
- package/dist/index.cjs.js +5109 -6403
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +2578 -3871
- package/dist/index.umd.js +4 -4
- package/dist/messagePreview/utils/getChannelMessagePreviewWithUser.d.ts +2 -0
- package/dist/messagePreview/utils/getChannelMessagePreviewWithUser.d.ts.map +1 -1
- package/dist/messagePreview/utils/getSubChannelMessagePreviewWithUser.d.ts +1 -1
- package/dist/messageRepository/api/deleteMessage.d.ts.map +1 -1
- package/dist/messageRepository/observers/getMessages/MessageQueryStreamController.d.ts.map +1 -1
- package/dist/postRepository/api/createPost.d.ts.map +1 -1
- package/dist/postRepository/observers/getGlobalPinnedPosts/GlobalPinnedPostQueryStreamController.d.ts.map +1 -1
- package/dist/postRepository/observers/getPinnedPosts/PinnedPostQueryStreamController.d.ts.map +1 -1
- package/dist/postRepository/utils/payload.d.ts.map +1 -1
- package/dist/streamRepository/api/createStream.d.ts +1 -1
- package/dist/streamRepository/api/createStream.d.ts.map +1 -1
- package/dist/streamRepository/api/editStream.d.ts +18 -0
- package/dist/streamRepository/api/editStream.d.ts.map +1 -0
- package/dist/streamRepository/api/index.d.ts +1 -0
- package/dist/streamRepository/api/index.d.ts.map +1 -1
- package/dist/streamRepository/api/updateStream.d.ts +4 -1
- package/dist/streamRepository/api/updateStream.d.ts.map +1 -1
- package/dist/streamRepository/internalApi/getLiveChat.d.ts +16 -0
- package/dist/streamRepository/internalApi/getLiveChat.d.ts.map +1 -0
- package/dist/streamRepository/internalApi/getStream.d.ts +2 -2
- package/dist/streamRepository/internalApi/getStream.d.ts.map +1 -1
- package/dist/subChannelRepository/utils/prepareSubChannelPayload.d.ts.map +1 -1
- package/dist/utils/linkedObject/index.d.ts +0 -3
- package/dist/utils/linkedObject/index.d.ts.map +1 -1
- package/dist/utils/linkedObject/postLinkedObject.d.ts.map +1 -1
- package/dist/utils/linkedObject/streamLinkedObject.d.ts.map +1 -1
- package/dist/utils/postTypePredicate.d.ts +4 -3
- package/dist/utils/postTypePredicate.d.ts.map +1 -1
- package/dist/utils/tests/dummy/comment.d.ts +1 -1
- package/dist/utils/tests/dummy/post.d.ts +3 -3
- package/package.json +1 -1
- package/src/@types/core/events.ts +0 -10
- package/src/@types/core/model.ts +1 -8
- package/src/@types/core/payload.ts +5 -48
- package/src/@types/domains/channel.ts +3 -0
- package/src/@types/domains/client.ts +0 -12
- package/src/@types/domains/community.ts +1 -73
- package/src/@types/domains/content.ts +6 -0
- package/src/@types/domains/notification.ts +0 -2
- package/src/@types/domains/post.ts +2 -0
- package/src/@types/domains/stream.ts +4 -0
- package/src/@types/index.ts +0 -3
- package/src/channelRepository/api/createChannel.ts +12 -9
- package/src/channelRepository/internalApi/getChannel.ts +0 -1
- package/src/channelRepository/utils/constructChannelObject.ts +2 -2
- package/src/communityRepository/api/createCommunity.ts +2 -5
- package/src/communityRepository/api/getCommunities.ts +2 -9
- package/src/communityRepository/api/getCommunity.ts +2 -13
- package/src/communityRepository/api/getRecommendedCommunities.ts +4 -11
- package/src/communityRepository/api/getTrendingCommunities.ts +4 -11
- package/src/communityRepository/api/joinCommunity.ts +1 -4
- package/src/communityRepository/api/queryCommunities.ts +1 -6
- package/src/communityRepository/api/updateCommunity.ts +3 -13
- package/src/communityRepository/communityMembership/events/index.ts +0 -1
- package/src/communityRepository/communityMembership/events/onCommunityJoined.ts +1 -1
- package/src/communityRepository/communityMembership/events/onCommunityLeft.ts +1 -1
- package/src/communityRepository/communityMembership/events/onCommunityUserAdded.ts +1 -1
- package/src/communityRepository/communityMembership/events/onCommunityUserBanned.ts +1 -1
- package/src/communityRepository/communityMembership/events/onCommunityUserChanged.ts +1 -1
- package/src/communityRepository/communityMembership/events/onCommunityUserRemoved.ts +1 -1
- package/src/communityRepository/communityMembership/events/onCommunityUserRoleAdded.ts +1 -1
- package/src/communityRepository/communityMembership/events/onCommunityUserRoleRemoved.ts +1 -1
- package/src/communityRepository/communityMembership/events/onCommunityUserUnbanned.ts +1 -1
- package/src/communityRepository/communityMembership/events/onLocalCommunityJoined.ts +1 -1
- package/src/communityRepository/communityMembership/events/onLocalCommunityLeft.ts +1 -1
- package/src/communityRepository/communityMembership/events/onLocalCommunityUserAdded.ts +1 -1
- package/src/communityRepository/communityMembership/events/onLocalCommunityUserRemoved.ts +1 -1
- package/src/communityRepository/communityMembership/events/onUserDeleted.ts +1 -3
- package/src/communityRepository/communityMembership/events/utils.ts +2 -2
- package/src/communityRepository/communityMembership/observers/getMembers/CommunityMembersQueryStreamController.ts +2 -8
- package/src/communityRepository/communityMembership/observers/searchMembers/SearchCommunityMembersQueryStreamController.ts +2 -8
- package/src/communityRepository/communityModeration/events/onLocalCommunityRoleAdded.ts +1 -1
- package/src/communityRepository/communityModeration/events/onLocalCommunityRoleRemoved.ts +1 -1
- package/src/communityRepository/events/onCommunityCreated.ts +1 -1
- package/src/communityRepository/events/onCommunityDeleted.ts +1 -1
- package/src/communityRepository/events/onCommunityUpdated.ts +1 -1
- package/src/communityRepository/events/utils.ts +1 -1
- package/src/communityRepository/observers/getCommunities/CommunitiesLiveCollectionController.ts +0 -6
- package/src/communityRepository/observers/getCommunities/CommunitiesQueryStreamController.ts +2 -2
- package/src/communityRepository/observers/getCommunity.ts +0 -3
- package/src/communityRepository/observers/getRecommendedCommunities/RecommendedCommunitiesLiveCollectionController.ts +1 -2
- package/src/communityRepository/observers/getRecommendedCommunities/RecommendedCommunitiesQueryStreamController.ts +2 -2
- package/src/communityRepository/observers/getTrendingCommunities/TrendingCommunitiesLiveCollectionController.ts +1 -2
- package/src/communityRepository/observers/getTrendingCommunities/TrendingCommunitiesQueryStreamController.ts +2 -2
- package/src/communityRepository/observers/index.ts +0 -1
- package/src/communityRepository/observers/searchCommunities/SearchCommunitiesPaginationController.ts +0 -1
- package/src/communityRepository/observers/searchCommunities/SearchCommunitiesQueryStreamController.ts +2 -2
- package/src/communityRepository/observers/semanticSearch/SemanticSearchCommunityQueryStreamController.ts +2 -2
- package/src/communityRepository/utils/communityWithMembership.ts +5 -9
- package/src/communityRepository/utils/payload.ts +2 -28
- package/src/core/liveCollection/PaginationController.ts +1 -1
- package/src/core/liveCollection/PaginationNoPageController.ts +1 -1
- package/src/core/model/idResolvers.ts +0 -3
- package/src/core/model/index.ts +0 -3
- package/src/index.ts +0 -2
- package/src/messagePreview/utils/getChannelMessagePreviewWithUser.ts +1 -1
- package/src/messageRepository/api/deleteMessage.ts +16 -0
- package/src/messageRepository/observers/getMessages/MessageQueryStreamController.ts +13 -0
- package/src/postRepository/api/createPost.ts +3 -2
- package/src/postRepository/observers/getGlobalPinnedPosts/GlobalPinnedPostQueryStreamController.ts +1 -7
- package/src/postRepository/observers/getPinnedPosts/PinnedPostQueryStreamController.ts +1 -7
- package/src/postRepository/utils/payload.ts +35 -1
- package/src/streamRepository/api/createStream.ts +4 -1
- package/src/streamRepository/api/editStream.ts +51 -0
- package/src/streamRepository/api/index.ts +1 -0
- package/src/streamRepository/api/updateStream.ts +8 -1
- package/src/streamRepository/internalApi/getLiveChat.ts +59 -0
- package/src/streamRepository/internalApi/getStream.ts +3 -3
- package/src/streamRepository/observers/getStreams/GetStreamsLiveCollectionController.ts +1 -1
- package/src/subChannelRepository/utils/prepareSubChannelPayload.ts +0 -4
- package/src/utils/linkedObject/index.ts +0 -6
- package/src/utils/linkedObject/postLinkedObject.ts +34 -11
- package/src/utils/linkedObject/streamLinkedObject.ts +2 -0
- package/src/utils/postTypePredicate.ts +16 -3
- package/dist/@types/domains/invitation.d.ts +0 -87
- package/dist/@types/domains/invitation.d.ts.map +0 -1
- package/dist/@types/domains/joinRequest.d.ts +0 -53
- package/dist/@types/domains/joinRequest.d.ts.map +0 -1
- package/dist/communityRepository/communityMembership/events/onLocalCommunityJoin.d.ts +0 -2
- package/dist/communityRepository/communityMembership/events/onLocalCommunityJoin.d.ts.map +0 -1
- package/dist/communityRepository/internalAPI/getMyJoinRequest.d.ts +0 -16
- package/dist/communityRepository/internalAPI/getMyJoinRequest.d.ts.map +0 -1
- package/dist/communityRepository/internalAPI/joinCommunity.d.ts +0 -16
- package/dist/communityRepository/internalAPI/joinCommunity.d.ts.map +0 -1
- package/dist/communityRepository/joinRequest/events/index.d.ts +0 -4
- package/dist/communityRepository/joinRequest/events/index.d.ts.map +0 -1
- package/dist/communityRepository/joinRequest/events/onJoinRequestCreated.d.ts +0 -17
- package/dist/communityRepository/joinRequest/events/onJoinRequestCreated.d.ts.map +0 -1
- package/dist/communityRepository/joinRequest/events/onJoinRequestDeleted.d.ts +0 -17
- package/dist/communityRepository/joinRequest/events/onJoinRequestDeleted.d.ts.map +0 -1
- package/dist/communityRepository/joinRequest/events/onJoinRequestUpdated.d.ts +0 -17
- package/dist/communityRepository/joinRequest/events/onJoinRequestUpdated.d.ts.map +0 -1
- package/dist/communityRepository/joinRequest/internalAPI/approveJoinRequest.d.ts +0 -16
- package/dist/communityRepository/joinRequest/internalAPI/approveJoinRequest.d.ts.map +0 -1
- package/dist/communityRepository/joinRequest/internalAPI/cancelJoinRequest.d.ts +0 -16
- package/dist/communityRepository/joinRequest/internalAPI/cancelJoinRequest.d.ts.map +0 -1
- package/dist/communityRepository/joinRequest/internalAPI/rejectJoinRequest.d.ts +0 -16
- package/dist/communityRepository/joinRequest/internalAPI/rejectJoinRequest.d.ts.map +0 -1
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListLiveCollectionController.d.ts +0 -14
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListLiveCollectionController.d.ts.map +0 -1
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListPaginationController.d.ts +0 -9
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListPaginationController.d.ts.map +0 -1
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListQueryStreamController.d.ts +0 -15
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListQueryStreamController.d.ts.map +0 -1
- package/dist/communityRepository/observers/getJoinRequestList/enum.d.ts +0 -6
- package/dist/communityRepository/observers/getJoinRequestList/enum.d.ts.map +0 -1
- package/dist/communityRepository/observers/getJoinRequestList.d.ts +0 -12
- package/dist/communityRepository/observers/getJoinRequestList.d.ts.map +0 -1
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsLiveCollectionController.d.ts +0 -14
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsLiveCollectionController.d.ts.map +0 -1
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsPaginationController.d.ts +0 -9
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsPaginationController.d.ts.map +0 -1
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsQueryStreamController.d.ts +0 -15
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsQueryStreamController.d.ts.map +0 -1
- package/dist/communityRepository/observers/getJoinRequests/enum.d.ts +0 -6
- package/dist/communityRepository/observers/getJoinRequests/enum.d.ts.map +0 -1
- package/dist/communityRepository/observers/getJoinRequests.d.ts +0 -12
- package/dist/communityRepository/observers/getJoinRequests.d.ts.map +0 -1
- package/dist/invitationRepository/events/index.d.ts +0 -4
- package/dist/invitationRepository/events/index.d.ts.map +0 -1
- package/dist/invitationRepository/events/onLocalInvitationCreated.d.ts +0 -17
- package/dist/invitationRepository/events/onLocalInvitationCreated.d.ts.map +0 -1
- package/dist/invitationRepository/events/onLocalInvitationDeleted.d.ts +0 -17
- package/dist/invitationRepository/events/onLocalInvitationDeleted.d.ts.map +0 -1
- package/dist/invitationRepository/events/onLocalInvitationUpdated.d.ts +0 -17
- package/dist/invitationRepository/events/onLocalInvitationUpdated.d.ts.map +0 -1
- package/dist/invitationRepository/index.d.ts +0 -3
- package/dist/invitationRepository/index.d.ts.map +0 -1
- package/dist/invitationRepository/internalApi/acceptInvitation.d.ts +0 -16
- package/dist/invitationRepository/internalApi/acceptInvitation.d.ts.map +0 -1
- package/dist/invitationRepository/internalApi/createInvitations.d.ts +0 -21
- package/dist/invitationRepository/internalApi/createInvitations.d.ts.map +0 -1
- package/dist/invitationRepository/internalApi/getInvitation.d.ts +0 -17
- package/dist/invitationRepository/internalApi/getInvitation.d.ts.map +0 -1
- package/dist/invitationRepository/internalApi/index.d.ts +0 -4
- package/dist/invitationRepository/internalApi/index.d.ts.map +0 -1
- package/dist/invitationRepository/internalApi/rejectInvitation.d.ts +0 -16
- package/dist/invitationRepository/internalApi/rejectInvitation.d.ts.map +0 -1
- package/dist/invitationRepository/observers/getInvitations/InvitationsLiveCollectionController.d.ts +0 -14
- package/dist/invitationRepository/observers/getInvitations/InvitationsLiveCollectionController.d.ts.map +0 -1
- package/dist/invitationRepository/observers/getInvitations/InvitationsPaginationController.d.ts +0 -5
- package/dist/invitationRepository/observers/getInvitations/InvitationsPaginationController.d.ts.map +0 -1
- package/dist/invitationRepository/observers/getInvitations/InvitationsQueryStreamController.d.ts +0 -15
- package/dist/invitationRepository/observers/getInvitations/InvitationsQueryStreamController.d.ts.map +0 -1
- package/dist/invitationRepository/observers/getInvitations/enums.d.ts +0 -6
- package/dist/invitationRepository/observers/getInvitations/enums.d.ts.map +0 -1
- package/dist/invitationRepository/observers/getInvitations.d.ts +0 -12
- package/dist/invitationRepository/observers/getInvitations.d.ts.map +0 -1
- package/dist/invitationRepository/observers/getMyCommunityInvitations.d.ts +0 -12
- package/dist/invitationRepository/observers/getMyCommunityInvitations.d.ts.map +0 -1
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsLiveCollectionController.d.ts +0 -14
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsLiveCollectionController.d.ts.map +0 -1
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsPaginationController.d.ts +0 -5
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsPaginationController.d.ts.map +0 -1
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsQueryStreamController.d.ts +0 -15
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsQueryStreamController.d.ts.map +0 -1
- package/dist/invitationRepository/observers/index.d.ts +0 -2
- package/dist/invitationRepository/observers/index.d.ts.map +0 -1
- package/dist/invitationRepository/utils/convertRawInvitationToInternalInvitation.d.ts +0 -2
- package/dist/invitationRepository/utils/convertRawInvitationToInternalInvitation.d.ts.map +0 -1
- package/dist/invitationRepository/utils/index.d.ts +0 -2
- package/dist/invitationRepository/utils/index.d.ts.map +0 -1
- package/dist/invitationRepository/utils/prepareInvitationPayload.d.ts +0 -2
- package/dist/invitationRepository/utils/prepareInvitationPayload.d.ts.map +0 -1
- package/dist/invitationRepository/utils/prepareMyInvitationsPayload.d.ts +0 -2
- package/dist/invitationRepository/utils/prepareMyInvitationsPayload.d.ts.map +0 -1
- package/dist/utils/linkedObject/communityLinkedObject.d.ts +0 -2
- package/dist/utils/linkedObject/communityLinkedObject.d.ts.map +0 -1
- package/dist/utils/linkedObject/invitationLinkedObject.d.ts +0 -2
- package/dist/utils/linkedObject/invitationLinkedObject.d.ts.map +0 -1
- package/dist/utils/linkedObject/joinRequestLinkedObject.d.ts +0 -2
- package/dist/utils/linkedObject/joinRequestLinkedObject.d.ts.map +0 -1
- package/src/@types/domains/invitation.ts +0 -115
- package/src/@types/domains/joinRequest.ts +0 -66
- package/src/communityRepository/communityMembership/events/onLocalCommunityJoin.ts +0 -20
- package/src/communityRepository/internalAPI/getMyJoinRequest.ts +0 -43
- package/src/communityRepository/internalAPI/joinCommunity.ts +0 -66
- package/src/communityRepository/joinRequest/events/index.ts +0 -3
- package/src/communityRepository/joinRequest/events/onJoinRequestCreated.ts +0 -33
- package/src/communityRepository/joinRequest/events/onJoinRequestDeleted.ts +0 -33
- package/src/communityRepository/joinRequest/events/onJoinRequestUpdated.ts +0 -33
- package/src/communityRepository/joinRequest/internalAPI/approveJoinRequest.ts +0 -52
- package/src/communityRepository/joinRequest/internalAPI/cancelJoinRequest.ts +0 -46
- package/src/communityRepository/joinRequest/internalAPI/rejectJoinRequest.ts +0 -52
- package/src/communityRepository/observers/getJoinRequestList/JoinRequestListLiveCollectionController.ts +0 -130
- package/src/communityRepository/observers/getJoinRequestList/JoinRequestListPaginationController.ts +0 -30
- package/src/communityRepository/observers/getJoinRequestList/JoinRequestListQueryStreamController.ts +0 -112
- package/src/communityRepository/observers/getJoinRequestList/enum.ts +0 -5
- package/src/communityRepository/observers/getJoinRequestList.ts +0 -51
- package/src/communityRepository/observers/getJoinRequests/JoinRequestsLiveCollectionController.ts +0 -126
- package/src/communityRepository/observers/getJoinRequests/JoinRequestsPaginationController.ts +0 -26
- package/src/communityRepository/observers/getJoinRequests/JoinRequestsQueryStreamController.ts +0 -108
- package/src/communityRepository/observers/getJoinRequests/enum.ts +0 -5
- package/src/communityRepository/observers/getJoinRequests.ts +0 -44
- package/src/invitationRepository/events/index.ts +0 -3
- package/src/invitationRepository/events/onLocalInvitationCreated.ts +0 -33
- package/src/invitationRepository/events/onLocalInvitationDeleted.ts +0 -33
- package/src/invitationRepository/events/onLocalInvitationUpdated.ts +0 -33
- package/src/invitationRepository/index.ts +0 -2
- package/src/invitationRepository/internalApi/acceptInvitation.ts +0 -45
- package/src/invitationRepository/internalApi/createInvitations.ts +0 -52
- package/src/invitationRepository/internalApi/getInvitation.ts +0 -47
- package/src/invitationRepository/internalApi/index.ts +0 -3
- package/src/invitationRepository/internalApi/rejectInvitation.ts +0 -45
- package/src/invitationRepository/observers/getInvitations/InvitationsLiveCollectionController.ts +0 -148
- package/src/invitationRepository/observers/getInvitations/InvitationsPaginationController.ts +0 -19
- package/src/invitationRepository/observers/getInvitations/InvitationsQueryStreamController.ts +0 -97
- package/src/invitationRepository/observers/getInvitations/enums.ts +0 -5
- package/src/invitationRepository/observers/getInvitations.ts +0 -44
- package/src/invitationRepository/observers/getMyCommunityInvitations.ts +0 -48
- package/src/invitationRepository/observers/getMyInvitations/MyInvitationsLiveCollectionController.ts +0 -148
- package/src/invitationRepository/observers/getMyInvitations/MyInvitationsPaginationController.ts +0 -22
- package/src/invitationRepository/observers/getMyInvitations/MyInvitationsQueryStreamController.ts +0 -105
- package/src/invitationRepository/observers/index.ts +0 -1
- package/src/invitationRepository/utils/convertRawInvitationToInternalInvitation.ts +0 -8
- package/src/invitationRepository/utils/index.ts +0 -1
- package/src/invitationRepository/utils/prepareInvitationPayload.ts +0 -12
- package/src/invitationRepository/utils/prepareMyInvitationsPayload.ts +0 -12
- package/src/utils/linkedObject/communityLinkedObject.ts +0 -58
- package/src/utils/linkedObject/invitationLinkedObject.ts +0 -37
- package/src/utils/linkedObject/joinRequestLinkedObject.ts +0 -31
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,WAAW,YAAY;YACrB,IAAI,SAAS;YACb,IAAI,SAAS;YACb,KAAK,UAAU;YACf,QAAQ,aAAa;SACtB;QAED,WAAW,gBAAgB;YACzB,EAAE,OAAO;YACT,EAAE,OAAO;YACT,GAAG,QAAQ;SACZ;QAED,KAAK,WAAW,CAAC,CAAC,IAAI;YACpB,GAAG,CAAC,EAAE,CAAC,CAAC;YACR,GAAG,CAAC,EAAE,CAAC,CAAC;YACR,GAAG,CAAC,EAAE,CAAC,CAAC;YACR,IAAI,CAAC,EAAE,CAAC,CAAC;SACV,CAAC;QAEF,KAAK,cAAc,GAAG;YACpB,IAAI,EAAE,MAAM,CAAC;YACb,OAAO,EAAE,MAAM,CAAC;SACjB,CAAC;QAEF,KAAK,cAAc,GAAG;YACpB,GAAG,EAAE,MAAM,CAAC;YACZ,UAAU,EAAE;gBACV,MAAM,EAAE,MAAM,CAAC;gBACf,OAAO,EAAE,MAAM,CAAC;gBAChB,UAAU,EAAE,MAAM,CAAC;gBACnB,KAAK,EAAE,MAAM,CAAC;aACf,CAAC;SACH,CAAC;QAEF,KAAK,eAAe,GAAG;YACrB,GAAG,EAAE,MAAM,CAAC;YACZ,QAAQ,EAAE,MAAM,CAAC;YACjB,SAAS,EAAE,MAAM,CAAC;YAClB,QAAQ,EAAE,MAAM,CAAC;SAClB,CAAC;QAEF,KAAK,SAAS,GAAG;YACf,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,EAAE,MAAM,CAAC;YACd,eAAe,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC;YAChD,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,MAAM,EAAE,YAAY,CAAC;YACrB,QAAQ,EAAE,cAAc,CAAC;YAEzB,MAAM,CAAC,EAAE,OAAO,CAAC;YACjB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;YACzB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;YAC3B,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YACrC,UAAU,EAAE,gBAAgB,CAAC;YAE7B,WAAW,EAAE,cAAc,CAAC;YAC5B,UAAU,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;YACxC,UAAU,EAAE,WAAW,CAAC,eAAe,CAAC,EAAE,CAAC;YAM3C,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,aAAa,CAAC,EAAE,MAAM,CAAC;YAIvB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,WAAW,YAAY;YACrB,IAAI,SAAS;YACb,IAAI,SAAS;YACb,KAAK,UAAU;YACf,QAAQ,aAAa;SACtB;QAED,WAAW,gBAAgB;YACzB,EAAE,OAAO;YACT,EAAE,OAAO;YACT,GAAG,QAAQ;SACZ;QAED,KAAK,WAAW,CAAC,CAAC,IAAI;YACpB,GAAG,CAAC,EAAE,CAAC,CAAC;YACR,GAAG,CAAC,EAAE,CAAC,CAAC;YACR,GAAG,CAAC,EAAE,CAAC,CAAC;YACR,IAAI,CAAC,EAAE,CAAC,CAAC;SACV,CAAC;QAEF,KAAK,cAAc,GAAG;YACpB,IAAI,EAAE,MAAM,CAAC;YACb,OAAO,EAAE,MAAM,CAAC;SACjB,CAAC;QAEF,KAAK,cAAc,GAAG;YACpB,GAAG,EAAE,MAAM,CAAC;YACZ,UAAU,EAAE;gBACV,MAAM,EAAE,MAAM,CAAC;gBACf,OAAO,EAAE,MAAM,CAAC;gBAChB,UAAU,EAAE,MAAM,CAAC;gBACnB,KAAK,EAAE,MAAM,CAAC;aACf,CAAC;SACH,CAAC;QAEF,KAAK,eAAe,GAAG;YACrB,GAAG,EAAE,MAAM,CAAC;YACZ,QAAQ,EAAE,MAAM,CAAC;YACjB,SAAS,EAAE,MAAM,CAAC;YAClB,QAAQ,EAAE,MAAM,CAAC;SAClB,CAAC;QAEF,KAAK,SAAS,GAAG;YACf,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,EAAE,MAAM,CAAC;YACd,eAAe,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC;YAChD,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,MAAM,EAAE,YAAY,CAAC;YACrB,QAAQ,EAAE,cAAc,CAAC;YAEzB,MAAM,CAAC,EAAE,OAAO,CAAC;YACjB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;YACzB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;YAC3B,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YACrC,UAAU,EAAE,gBAAgB,CAAC;YAE7B,WAAW,EAAE,cAAc,CAAC;YAC5B,UAAU,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;YACxC,UAAU,EAAE,WAAW,CAAC,eAAe,CAAC,EAAE,CAAC;YAM3C,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,aAAa,CAAC,EAAE,MAAM,CAAC;YAIvB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,cAAc,CAAC,EAAE,OAAO,CAAC;SAC1B,GAAG,KAAK,CAAC,QAAQ,GAChB,KAAK,CAAC,UAAU,GAChB,KAAK,CAAC,UAAU,CAAC;QAEnB,KAAK,cAAc,GAAG,SAAS,CAAC;QAEhC,KAAK,kBAAkB,GAAG;YACxB,UAAU,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC;YACpC,WAAW,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC;SAC/D,CAAC;QAEF,KAAK,MAAM,GAAG,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,kBAAkB,CAAC;QAE9D,KAAK,YAAY,GAAG;YAClB,MAAM,CAAC,EAAE,OAAO,CAAC;YACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC;YAChC,aAAa,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC/C,MAAM,CAAC,EAAE,aAAa,GAAG,cAAc,CAAC;YACxC,SAAS,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;YAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB,CAAC;QAEF,KAAK,qBAAqB,GAAG;YAC3B,UAAU,EAAE,MAAM,CAAC;YACnB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;SAC7B,CAAC;QAEF,KAAK,gBAAgB,GAAG;YACtB,YAAY,EAAE,MAAM,CAAC;YACrB,QAAQ,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;YAC3C,UAAU,EAAE,KAAK,CAAC,qBAAqB,EAAE,CAAC;YAC1C,eAAe,EAAE,KAAK,CAAC,qBAAqB,EAAE,CAAC;YAC/C,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;YAC3B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;SAC5B,CAAC;QAEF,KAAK,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;QAEnF,KAAK,yBAAyB,GAAG,KAAK,CAAC,mBAAmB,CACxD,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,EAChC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAC3B,CAAC;QAEF,KAAK,gBAAgB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;KACpF;CACF"}
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -29,7 +29,4 @@ export * from './domains/post';
|
|
|
29
29
|
export * from './domains/story';
|
|
30
30
|
export * from './domains/ad';
|
|
31
31
|
export * from './domains/notification';
|
|
32
|
-
export * from './domains/client';
|
|
33
|
-
export * from './domains/invitation';
|
|
34
|
-
export * from './domains/joinRequest';
|
|
35
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/@types/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,eAAe,CAAC;AACvB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,gBAAgB,CAAC;AACxB,OAAO,eAAe,CAAC;AACvB,OAAO,eAAe,CAAC;AACvB,OAAO,cAAc,CAAC;AACtB,OAAO,cAAc,CAAC;AACtB,OAAO,aAAa,CAAC;AAGrB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,kBAAkB,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAE5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,sBAAsB,CAAC;AAE9B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,mBAAmB,CAAC;AAE3B,OAAO,kBAAkB,CAAC;AAE1B,OAAO,mBAAmB,CAAC;AAE3B,OAAO,gBAAgB,CAAC;AACxB,OAAO,iBAAiB,CAAC;AAEzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/@types/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,eAAe,CAAC;AACvB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,gBAAgB,CAAC;AACxB,OAAO,eAAe,CAAC;AACvB,OAAO,eAAe,CAAC;AACvB,OAAO,cAAc,CAAC;AACtB,OAAO,cAAc,CAAC;AACtB,OAAO,aAAa,CAAC;AAGrB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,kBAAkB,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAE5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,sBAAsB,CAAC;AAE9B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,mBAAmB,CAAC;AAE3B,OAAO,kBAAkB,CAAC;AAE1B,OAAO,mBAAmB,CAAC;AAE3B,OAAO,gBAAgB,CAAC;AACxB,OAAO,iBAAiB,CAAC;AAEzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC"}
|
|
@@ -15,5 +15,7 @@
|
|
|
15
15
|
export declare const createChannel: <T extends Amity.ChannelType>(bundle: {
|
|
16
16
|
type: T;
|
|
17
17
|
userIds?: string[] | undefined;
|
|
18
|
-
|
|
18
|
+
videoStreamId?: string | undefined;
|
|
19
|
+
postId?: string | undefined;
|
|
20
|
+
} & Pick<Amity.Channel<T>, "displayName" | "avatarFileId" | "isPublic" | "metadata" | "tags">) => Promise<Amity.Cached<Amity.Channel<T>>>;
|
|
19
21
|
//# sourceMappingURL=createChannel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createChannel.d.ts","sourceRoot":"","sources":["../../../src/channelRepository/api/createChannel.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"createChannel.d.ts","sourceRoot":"","sources":["../../../src/channelRepository/api/createChannel.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa;;;;;yIAqCzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getChannel.d.ts","sourceRoot":"","sources":["../../../src/channelRepository/internalApi/getChannel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getChannel.d.ts","sourceRoot":"","sources":["../../../src/channelRepository/internalApi/getChannel.ts"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU;gBACV,MAAM,OAAO,CAAC,iBAAiB,CAAC,GAC1C,QAAQ,MAAM,MAAM,CAAC,MAAM,qBAAqB,CAAC,CAAC;IAsCrD;;;;;;;;;;;;OAYG;uBAEU,MAAM,OAAO,CAAC,iBAAiB,CAAC,GAC1C,MAAM,MAAM,CAAC,MAAM,qBAAqB,CAAC,GAAG,SAAS;CAjBvD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ```js
|
|
3
3
|
* import { createCommunity } from '@amityco/ts-sdk'
|
|
4
|
-
* const created = await createCommunity({ communityId: 'foobar', displayName: 'foobar'
|
|
4
|
+
* const created = await createCommunity({ communityId: 'foobar', displayName: 'foobar' })
|
|
5
5
|
* ```
|
|
6
6
|
*
|
|
7
7
|
* Creates an {@link Amity.Community}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* @category Community API
|
|
13
13
|
* @async
|
|
14
14
|
*/
|
|
15
|
-
export declare const createCommunity: (bundle: Pick<Amity.Community, 'displayName' | 'avatarFileId' | 'description' | 'isPublic' | 'isOfficial' | 'postSetting' | 'tags' | 'metadata'
|
|
15
|
+
export declare const createCommunity: (bundle: Pick<Amity.Community, 'displayName' | 'avatarFileId' | 'description' | 'isPublic' | 'isOfficial' | 'postSetting' | 'tags' | 'metadata'> & Amity.CommunityStorySettings & {
|
|
16
16
|
userIds?: string[];
|
|
17
17
|
categoryIds?: string[];
|
|
18
18
|
isUniqueDisplayName?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/createCommunity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/createCommunity.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe,WAClB,KACN,MAAM,SAAS,EACb,aAAa,GACb,cAAc,GACd,aAAa,GACb,UAAU,GACV,YAAY,GACZ,aAAa,GACb,MAAM,GACN,UAAU,CACb,GACC,MAAM,sBAAsB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,KACF,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,CAwBvC,CAAC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* @async
|
|
14
14
|
*/
|
|
15
15
|
export declare const getCommunities: {
|
|
16
|
-
(communityIds: Amity.Community['communityId'][]
|
|
16
|
+
(communityIds: Amity.Community['communityId'][]): Promise<Amity.Cached<Amity.Community[]>>;
|
|
17
17
|
/**
|
|
18
18
|
* ```js
|
|
19
19
|
* import { getCommunities } from '@amityco/ts-sdk'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCommunities.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/getCommunities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getCommunities.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/getCommunities.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc;mBACX,MAAM,SAAS,CAAC,aAAa,CAAC,EAAE,GAC7C,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,EAAE,CAAC,CAAC;IA0B3C;;;;;;;;;;;;OAYG;0BAEa,MAAM,SAAS,CAAC,aAAa,CAAC,EAAE,GAC7C,MAAM,MAAM,CAAC,MAAM,SAAS,EAAE,CAAC,GAAG,SAAS;CAjB7C,CAAC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* @async
|
|
14
14
|
*/
|
|
15
15
|
export declare const getCommunity: {
|
|
16
|
-
(communityId: Amity.Community['communityId']
|
|
16
|
+
(communityId: Amity.Community['communityId']): Promise<Amity.Cached<Amity.Community>>;
|
|
17
17
|
/**
|
|
18
18
|
* ```js
|
|
19
19
|
* import { CommunityRepository } from '@amityco/ts-sdk'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/getCommunity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/getCommunity.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;kBACV,MAAM,SAAS,CAAC,aAAa,CAAC,GAC1C,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,CAAC;IAyBzC;;;;;;;;;;;;OAYG;yBAEY,MAAM,SAAS,CAAC,aAAa,CAAC,GAC1C,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,GAAG,SAAS;CAjB3C,CAAC"}
|
|
@@ -13,7 +13,5 @@
|
|
|
13
13
|
* @async
|
|
14
14
|
* @private
|
|
15
15
|
*/
|
|
16
|
-
export declare const getRecommendedCommunities: (query?: Amity.PageLimit
|
|
17
|
-
includeDiscoverablePrivateCommunity?: boolean;
|
|
18
|
-
}) => Promise<Amity.Cached<Amity.Community[]>>;
|
|
16
|
+
export declare const getRecommendedCommunities: (query?: Amity.PageLimit) => Promise<Amity.Cached<Amity.Community[]>>;
|
|
19
17
|
//# sourceMappingURL=getRecommendedCommunities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRecommendedCommunities.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/getRecommendedCommunities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getRecommendedCommunities.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/getRecommendedCommunities.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,WAC5B,MAAM,SAAS,KACtB,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,EAAE,CAAC,CAuBzC,CAAC"}
|
|
@@ -13,7 +13,5 @@
|
|
|
13
13
|
* @async
|
|
14
14
|
* @private
|
|
15
15
|
*/
|
|
16
|
-
export declare const getTrendingCommunities: (query?: Amity.PageLimit
|
|
17
|
-
includeDiscoverablePrivateCommunity?: boolean;
|
|
18
|
-
}) => Promise<Amity.Cached<Amity.Community[]>>;
|
|
16
|
+
export declare const getTrendingCommunities: (query?: Amity.PageLimit) => Promise<Amity.Cached<Amity.Community[]>>;
|
|
19
17
|
//# sourceMappingURL=getTrendingCommunities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTrendingCommunities.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/getTrendingCommunities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getTrendingCommunities.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/getTrendingCommunities.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,WACzB,MAAM,SAAS,KACtB,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,EAAE,CAAC,CAuBzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"joinCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/joinCommunity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"joinCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/joinCommunity.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,gBACX,MAAM,SAAS,CAAC,aAAa,CAAC,KAC1C,QAAQ,OAAO,CAqBjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryCommunities.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/queryCommunities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"queryCommunities.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/queryCommunities.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,WACnB,MAAM,gBAAgB,KAC7B,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,MAAM,SAAS,CAAC,CAAC,CA6CxD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ```js
|
|
3
3
|
* import { updateCommunity } from '@amityco/ts-sdk'
|
|
4
|
-
* const updated = await updateCommunity(communityId, { displayName: 'foobar'
|
|
4
|
+
* const updated = await updateCommunity(communityId, { displayName: 'foobar' })
|
|
5
5
|
* ```
|
|
6
6
|
*
|
|
7
7
|
* Updates an {@link Amity.Community}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
* @category Community API
|
|
14
14
|
* @async
|
|
15
15
|
*/
|
|
16
|
-
export declare const updateCommunity: (communityId: Amity.Community['communityId'], patch: Patch<Amity.Community, 'displayName' | 'avatarFileId' | 'description' | 'postSetting' | 'tags' | 'metadata'
|
|
16
|
+
export declare const updateCommunity: (communityId: Amity.Community['communityId'], patch: Patch<Amity.Community, 'displayName' | 'avatarFileId' | 'description' | 'postSetting' | 'tags' | 'metadata'> & Amity.CommunityStorySettings) => Promise<Amity.Cached<Amity.Community>>;
|
|
17
17
|
//# sourceMappingURL=updateCommunity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/updateCommunity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"updateCommunity.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/api/updateCommunity.ts"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,gBACb,MAAM,SAAS,CAAC,aAAa,CAAC,SACpC,MACL,MAAM,SAAS,EACf,aAAa,GAAG,cAAc,GAAG,aAAa,GAAG,aAAa,GAAG,MAAM,GAAG,UAAU,CACrF,GACC,MAAM,sBAAsB,KAC7B,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,CAyBvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityJoined: (callback: (community: Amity.
|
|
16
|
+
export declare const onCommunityJoined: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityJoined.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityJoined.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityJoined.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iBAAiB,yBACN,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityJoined.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityJoined.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iBAAiB,yBACN,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBAClB,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityLeft: (callback: (community: Amity.
|
|
16
|
+
export declare const onCommunityLeft: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityLeft.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityLeft.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityLeft.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,yBACJ,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityLeft.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityLeft.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,yBACJ,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACpB,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityUserAdded: (callback: (community: Amity.
|
|
16
|
+
export declare const onCommunityUserAdded: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityUserAdded.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityUserAdded.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserAdded.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,oBAAoB,yBACT,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityUserAdded.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserAdded.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,oBAAoB,yBACT,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACf,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityUserBanned: (callback: (community: Amity.
|
|
16
|
+
export declare const onCommunityUserBanned: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityUserBanned.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityUserBanned.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserBanned.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB,yBACV,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityUserBanned.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserBanned.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB,yBACV,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACd,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityUserChanged: (callback: (community: Amity.
|
|
16
|
+
export declare const onCommunityUserChanged: (callback: (community: Amity.Community, members: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityUserChanged.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityUserChanged.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserChanged.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,yBACX,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityUserChanged.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserChanged.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,yBACX,MAAM,SAAS,WAAW,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACd,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityUserRemoved: (callback: (community: Amity.
|
|
16
|
+
export declare const onCommunityUserRemoved: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityUserRemoved.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityUserRemoved.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserRemoved.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,yBACX,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityUserRemoved.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserRemoved.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,yBACX,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACb,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityUserRoleAdded: (callback: (community: Amity.
|
|
16
|
+
export declare const onCommunityUserRoleAdded: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityUserRoleAdded.d.ts.map
|
package/dist/communityRepository/communityMembership/events/onCommunityUserRoleAdded.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityUserRoleAdded.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserRoleAdded.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,wBAAwB,yBACb,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityUserRoleAdded.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserRoleAdded.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,wBAAwB,yBACb,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACf,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityUserRoleRemoved: (callback: (community: Amity.
|
|
16
|
+
export declare const onCommunityUserRoleRemoved: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityUserRoleRemoved.d.ts.map
|
package/dist/communityRepository/communityMembership/events/onCommunityUserRoleRemoved.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityUserRoleRemoved.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserRoleRemoved.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,0BAA0B,yBACf,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityUserRoleRemoved.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserRoleRemoved.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,0BAA0B,yBACf,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACb,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityUserUnbanned: (callback: (community: Amity.
|
|
16
|
+
export declare const onCommunityUserUnbanned: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityUserUnbanned.d.ts.map
|
package/dist/communityRepository/communityMembership/events/onCommunityUserUnbanned.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityUserUnbanned.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserUnbanned.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,yBACZ,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityUserUnbanned.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onCommunityUserUnbanned.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,yBACZ,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACZ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const onLocalCommunityJoined: (callback: (community: Amity.
|
|
1
|
+
export declare const onLocalCommunityJoined: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
2
2
|
//# sourceMappingURL=onLocalCommunityJoined.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onLocalCommunityJoined.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onLocalCommunityJoined.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,yBACX,MAAM,
|
|
1
|
+
{"version":3,"file":"onLocalCommunityJoined.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onLocalCommunityJoined.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,yBACX,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACP,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const onLocalCommunityLeft: (callback: (community: Amity.
|
|
1
|
+
export declare const onLocalCommunityLeft: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
2
2
|
//# sourceMappingURL=onLocalCommunityLeft.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onLocalCommunityLeft.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onLocalCommunityLeft.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,yBACT,MAAM,
|
|
1
|
+
{"version":3,"file":"onLocalCommunityLeft.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onLocalCommunityLeft.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,yBACT,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACT,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onLocalCommunityUserAdded: (callback: (community: Amity.
|
|
16
|
+
export declare const onLocalCommunityUserAdded: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onLocalCommunityUserAdded.d.ts.map
|
package/dist/communityRepository/communityMembership/events/onLocalCommunityUserAdded.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onLocalCommunityUserAdded.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onLocalCommunityUserAdded.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,yBACd,MAAM,
|
|
1
|
+
{"version":3,"file":"onLocalCommunityUserAdded.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onLocalCommunityUserAdded.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,yBACd,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACJ,CAAC"}
|
package/dist/communityRepository/communityMembership/events/onLocalCommunityUserRemoved.d.ts
CHANGED
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onLocalCommunityUserRemoved: (callback: (community: Amity.
|
|
16
|
+
export declare const onLocalCommunityUserRemoved: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onLocalCommunityUserRemoved.d.ts.map
|
package/dist/communityRepository/communityMembership/events/onLocalCommunityUserRemoved.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onLocalCommunityUserRemoved.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onLocalCommunityUserRemoved.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,2BAA2B,yBAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"onLocalCommunityUserRemoved.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onLocalCommunityUserRemoved.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,2BAA2B,yBAChB,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACF,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onUserDeleted: (communityId: string) => (callback: (community: Amity.
|
|
16
|
+
export declare const onUserDeleted: (communityId: string) => (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onUserDeleted.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onUserDeleted.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onUserDeleted.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,gBACV,MAAM,
|
|
1
|
+
{"version":3,"file":"onUserDeleted.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onUserDeleted.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,gBACV,MAAM,4BACG,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBAuCvF,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const createCommunityMemberEventSubscriber: (event: keyof Amity.MqttCommunityUserEvents, callback: (community: Amity.
|
|
2
|
-
export declare const createLocalCommunityMemberEventSubscriber: (event: keyof Amity.LocalCommunityEvents, callback: (community: Amity.
|
|
1
|
+
export declare const createCommunityMemberEventSubscriber: (event: keyof Amity.MqttCommunityUserEvents, callback: (community: Amity.Community, members: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
2
|
+
export declare const createLocalCommunityMemberEventSubscriber: (event: keyof Amity.LocalCommunityEvents, callback: (community: Amity.Community, members: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
3
3
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/utils.ts"],"names":[],"mappings":"AAqDA,eAAO,MAAM,oCAAoC,UACxC,MAAM,MAAM,uBAAuB,wBACpB,MAAM,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/utils.ts"],"names":[],"mappings":"AAqDA,eAAO,MAAM,oCAAoC,UACxC,MAAM,MAAM,uBAAuB,wBACpB,MAAM,SAAS,WAAW,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBA6CzF,CAAC;AAEF,eAAO,MAAM,yCAAyC,UAC7C,MAAM,MAAM,oBAAoB,wBACjB,MAAM,SAAS,WAAW,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBA6CzF,CAAC"}
|
|
@@ -6,9 +6,9 @@ export declare class CommunityMembersQueryStreamController extends QueryStreamCo
|
|
|
6
6
|
constructor(query: Amity.CommunityMemberLiveCollection, cacheKey: string[], notifyChange: (params: Amity.LiveCollectionNotifyParams) => void, preparePayload: (response: Amity.CommunityMembershipPayload) => Amity.ProcessedCommunityMembershipPayload);
|
|
7
7
|
saveToMainDB(response: Amity.CommunityMembershipPayload): Promise<void>;
|
|
8
8
|
appendToQueryStream(response: Amity.CommunityMembershipPayload & Partial<Amity.Pagination>, direction: Amity.LiveCollectionPageDirection, refresh?: boolean): void;
|
|
9
|
-
reactor(action: EnumCommunityMemberActions): (community: Amity.
|
|
9
|
+
reactor(action: EnumCommunityMemberActions): (community: Amity.Community, communityMembers: Amity.Membership<'community'>[]) => void;
|
|
10
10
|
subscribeRTE(createSubscriber: {
|
|
11
|
-
fn: (reactor: (channel: Amity.
|
|
11
|
+
fn: (reactor: (channel: Amity.Community, communityUser: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
12
12
|
action: EnumCommunityMemberActions;
|
|
13
13
|
}[]): Amity.Unsubscriber[];
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommunityMembersQueryStreamController.d.ts","sourceRoot":"","sources":["../../../../../src/communityRepository/communityMembership/observers/getMembers/CommunityMembersQueryStreamController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAKpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD,qBAAa,qCAAsC,SAAQ,qBAAqB,CAC9E,KAAK,CAAC,0BAA0B,EAChC,KAAK,CAAC,6BAA6B,CACpC;IACC,OAAO,CAAC,YAAY,CAAqD;IAEzE,OAAO,CAAC,cAAc,CAEyB;gBAG7C,KAAK,EAAE,KAAK,CAAC,6BAA6B,EAC1C,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI,EAChE,cAAc,EAAE,CACd,QAAQ,EAAE,KAAK,CAAC,0BAA0B,KACvC,KAAK,CAAC,mCAAmC;IAO1C,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,0BAA0B;IAW7D,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,0BAA0B,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EACtE,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IA2BjB,OAAO,CAAC,MAAM,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"CommunityMembersQueryStreamController.d.ts","sourceRoot":"","sources":["../../../../../src/communityRepository/communityMembership/observers/getMembers/CommunityMembersQueryStreamController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAKpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD,qBAAa,qCAAsC,SAAQ,qBAAqB,CAC9E,KAAK,CAAC,0BAA0B,EAChC,KAAK,CAAC,6BAA6B,CACpC;IACC,OAAO,CAAC,YAAY,CAAqD;IAEzE,OAAO,CAAC,cAAc,CAEyB;gBAG7C,KAAK,EAAE,KAAK,CAAC,6BAA6B,EAC1C,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI,EAChE,cAAc,EAAE,CACd,QAAQ,EAAE,KAAK,CAAC,0BAA0B,KACvC,KAAK,CAAC,mCAAmC;IAO1C,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,0BAA0B;IAW7D,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,0BAA0B,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EACtE,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IA2BjB,OAAO,CAAC,MAAM,EAAE,0BAA0B,eACrB,MAAM,SAAS,oBAAoB,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE;IAwBvF,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CACF,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,aAAa,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,KACxF,KAAK,CAAC,YAAY,CAAC;QACxB,MAAM,EAAE,0BAA0B,CAAC;KACpC,EAAE;CAIN"}
|
|
@@ -6,9 +6,9 @@ export declare class SearchCommunityMembersQueryStreamController extends QuerySt
|
|
|
6
6
|
constructor(query: Amity.SearchCommunityMemberLiveCollection, cacheKey: string[], notifyChange: (params: Amity.LiveCollectionNotifyParams) => void, preparePayload: (response: Amity.CommunityMembershipPayload) => Amity.ProcessedCommunityMembershipPayload);
|
|
7
7
|
saveToMainDB(response: Amity.CommunityMembershipPayload): Promise<void>;
|
|
8
8
|
appendToQueryStream(response: Amity.CommunityMembershipPayload & Partial<Amity.Pagination>, direction: Amity.LiveCollectionPageDirection, refresh?: boolean): void;
|
|
9
|
-
reactor(action: EnumCommunityMemberActions): (community: Amity.
|
|
9
|
+
reactor(action: EnumCommunityMemberActions): (community: Amity.Community, communityMembers: Amity.Membership<'community'>[]) => void;
|
|
10
10
|
subscribeRTE(createSubscriber: {
|
|
11
|
-
fn: (reactor: (channel: Amity.
|
|
11
|
+
fn: (reactor: (channel: Amity.Community, communityUser: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
12
12
|
action: EnumCommunityMemberActions;
|
|
13
13
|
}[]): Amity.Unsubscriber[];
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchCommunityMembersQueryStreamController.d.ts","sourceRoot":"","sources":["../../../../../src/communityRepository/communityMembership/observers/searchMembers/SearchCommunityMembersQueryStreamController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAKpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD,qBAAa,2CAA4C,SAAQ,qBAAqB,CACpF,KAAK,CAAC,0BAA0B,EAChC,KAAK,CAAC,mCAAmC,CAC1C;IACC,OAAO,CAAC,YAAY,CAAqD;IAEzE,OAAO,CAAC,cAAc,CAEyB;gBAG7C,KAAK,EAAE,KAAK,CAAC,mCAAmC,EAChD,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI,EAChE,cAAc,EAAE,CACd,QAAQ,EAAE,KAAK,CAAC,0BAA0B,KACvC,KAAK,CAAC,mCAAmC;IAO1C,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,0BAA0B;IAW7D,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,0BAA0B,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EACtE,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IA2BjB,OAAO,CAAC,MAAM,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"SearchCommunityMembersQueryStreamController.d.ts","sourceRoot":"","sources":["../../../../../src/communityRepository/communityMembership/observers/searchMembers/SearchCommunityMembersQueryStreamController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAKpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD,qBAAa,2CAA4C,SAAQ,qBAAqB,CACpF,KAAK,CAAC,0BAA0B,EAChC,KAAK,CAAC,mCAAmC,CAC1C;IACC,OAAO,CAAC,YAAY,CAAqD;IAEzE,OAAO,CAAC,cAAc,CAEyB;gBAG7C,KAAK,EAAE,KAAK,CAAC,mCAAmC,EAChD,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI,EAChE,cAAc,EAAE,CACd,QAAQ,EAAE,KAAK,CAAC,0BAA0B,KACvC,KAAK,CAAC,mCAAmC;IAO1C,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,0BAA0B;IAW7D,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,0BAA0B,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EACtE,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IA2BjB,OAAO,CAAC,MAAM,EAAE,0BAA0B,eACrB,MAAM,SAAS,oBAAoB,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE;IAsBvF,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CACF,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,aAAa,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,KACxF,KAAK,CAAC,YAAY,CAAC;QACxB,MAAM,EAAE,0BAA0B,CAAC;KACpC,EAAE;CAIN"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onLocalCommunityRoleAdded: (callback: (community: Amity.
|
|
16
|
+
export declare const onLocalCommunityRoleAdded: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onLocalCommunityRoleAdded.d.ts.map
|
package/dist/communityRepository/communityModeration/events/onLocalCommunityRoleAdded.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onLocalCommunityRoleAdded.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityModeration/events/onLocalCommunityRoleAdded.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,yBACd,MAAM,
|
|
1
|
+
{"version":3,"file":"onLocalCommunityRoleAdded.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityModeration/events/onLocalCommunityRoleAdded.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,yBACd,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,KACtF,MAAM,YAiBR,CAAC"}
|
package/dist/communityRepository/communityModeration/events/onLocalCommunityRoleRemoved.d.ts
CHANGED
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onLocalCommunityRoleRemoved: (callback: (community: Amity.
|
|
16
|
+
export declare const onLocalCommunityRoleRemoved: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onLocalCommunityRoleRemoved.d.ts.map
|
package/dist/communityRepository/communityModeration/events/onLocalCommunityRoleRemoved.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onLocalCommunityRoleRemoved.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityModeration/events/onLocalCommunityRoleRemoved.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,2BAA2B,yBAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"onLocalCommunityRoleRemoved.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityModeration/events/onLocalCommunityRoleRemoved.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,2BAA2B,yBAChB,MAAM,SAAS,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,KACtF,MAAM,YAiBR,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityCreated: (callback: Amity.Listener<Amity.
|
|
16
|
+
export declare const onCommunityCreated: (callback: Amity.Listener<Amity.Community>) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityCreated.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityCreated.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/events/onCommunityCreated.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,aAAc,MAAM,QAAQ,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityCreated.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/events/onCommunityCreated.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,aAAc,MAAM,QAAQ,CAAC,MAAM,SAAS,CAAC,uBACb,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityDeleted: (callback: Amity.Listener<Amity.
|
|
16
|
+
export declare const onCommunityDeleted: (callback: Amity.Listener<Amity.Community>) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityDeleted.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityDeleted.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/events/onCommunityDeleted.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,aAAc,MAAM,QAAQ,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityDeleted.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/events/onCommunityDeleted.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,aAAc,MAAM,QAAQ,CAAC,MAAM,SAAS,CAAC,uBACb,CAAC"}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @category Community Events
|
|
15
15
|
*/
|
|
16
|
-
export declare const onCommunityUpdated: (callback: Amity.Listener<Amity.
|
|
16
|
+
export declare const onCommunityUpdated: (callback: Amity.Listener<Amity.Community>) => Amity.Unsubscriber;
|
|
17
17
|
//# sourceMappingURL=onCommunityUpdated.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCommunityUpdated.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/events/onCommunityUpdated.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,aAAc,MAAM,QAAQ,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"onCommunityUpdated.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/events/onCommunityUpdated.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,aAAc,MAAM,QAAQ,CAAC,MAAM,SAAS,CAAC,uBACb,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const createCommunityEventSubscriber: (event: keyof Amity.MqttCommunityEvents, callback: Amity.Listener<Amity.
|
|
1
|
+
export declare const createCommunityEventSubscriber: (event: keyof Amity.MqttCommunityEvents, callback: Amity.Listener<Amity.Community>) => Amity.Unsubscriber;
|
|
2
2
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/events/utils.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,8BAA8B,UAClC,MAAM,MAAM,mBAAmB,YAC5B,MAAM,QAAQ,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/communityRepository/events/utils.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,8BAA8B,UAClC,MAAM,MAAM,mBAAmB,YAC5B,MAAM,QAAQ,CAAC,MAAM,SAAS,CAAC,uBAwB1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommunitiesLiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/observers/getCommunities/CommunitiesLiveCollectionController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAEpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"CommunitiesLiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/observers/getCommunities/CommunitiesLiveCollectionController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAEpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AA0B1F,qBAAa,iCAAkC,SAAQ,wBAAwB,CAC7E,WAAW,EACX,KAAK,CAAC,uBAAuB,EAC7B,KAAK,CAAC,SAAS,EACf,+BAA+B,CAChC;IACC,OAAO,CAAC,qBAAqB,CAAmC;IAEhE,OAAO,CAAC,KAAK,CAAgC;gBAG3C,KAAK,EAAE,KAAK,CAAC,uBAAuB,EACpC,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,SAAS,CAAC;IAoBzD,SAAS,CAAC,KAAK;cAUC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,gBAAgB,GAAG,KAAK,CAAC,UAAU;IAIpF,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,WAAW,CAAC;IAI5D,iBAAiB;IAajB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;IAsBzE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,EAAE;CAoCpC"}
|
package/dist/communityRepository/observers/getCommunities/CommunitiesQueryStreamController.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ export declare class CommunitiesQueryStreamController extends QueryStreamControl
|
|
|
7
7
|
constructor(query: Amity.CommunityLiveCollection, cacheKey: string[], notifyChange: (params: Amity.LiveCollectionNotifyParams) => void, preparePayload: (response: Amity.CommunityPayload) => Amity.ProcessedCommunityPayload);
|
|
8
8
|
saveToMainDB(response: Amity.CommunityPayload): Promise<void>;
|
|
9
9
|
appendToQueryStream(response: Amity.CommunityPayload & Partial<Amity.Pagination>, direction: Amity.LiveCollectionPageDirection, refresh?: boolean): void;
|
|
10
|
-
reactor(action: EnumCommunityActions | EnumCommunityMemberActions): (community: Amity.
|
|
10
|
+
reactor(action: EnumCommunityActions | EnumCommunityMemberActions): (community: Amity.Community) => void;
|
|
11
11
|
subscribeRTE(createSubscriber: {
|
|
12
|
-
fn: (reactor: (channel: Amity.
|
|
12
|
+
fn: (reactor: (channel: Amity.Community) => void) => Amity.Unsubscriber;
|
|
13
13
|
action: EnumCommunityActions | EnumCommunityMemberActions;
|
|
14
14
|
}[]): Amity.Unsubscriber[];
|
|
15
15
|
}
|