@amityco/ts-sdk 7.5.0 → 7.5.1-12f08f0.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/.env +26 -26
- package/dist/@types/core/events.d.ts +7 -0
- package/dist/@types/core/events.d.ts.map +1 -1
- package/dist/@types/core/model.d.ts +5 -1
- package/dist/@types/core/model.d.ts.map +1 -1
- package/dist/@types/core/payload.d.ts +38 -5
- package/dist/@types/core/payload.d.ts.map +1 -1
- package/dist/@types/domains/client.d.ts +10 -0
- package/dist/@types/domains/client.d.ts.map +1 -1
- package/dist/@types/domains/community.d.ts +48 -1
- package/dist/@types/domains/community.d.ts.map +1 -1
- package/dist/@types/domains/invitation.d.ts +87 -0
- package/dist/@types/domains/invitation.d.ts.map +1 -0
- package/dist/@types/domains/joinRequest.d.ts +53 -0
- package/dist/@types/domains/joinRequest.d.ts.map +1 -0
- package/dist/@types/domains/notification.d.ts +4 -2
- package/dist/@types/domains/notification.d.ts.map +1 -1
- package/dist/@types/index.d.ts +3 -0
- package/dist/@types/index.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 +3 -1
- package/dist/communityRepository/api/getRecommendedCommunities.d.ts.map +1 -1
- package/dist/communityRepository/api/getTrendingCommunities.d.ts +3 -1
- package/dist/communityRepository/api/getTrendingCommunities.d.ts.map +1 -1
- package/dist/communityRepository/api/joinCommunity.d.ts +3 -0
- 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 +1 -0
- 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/onLocalCommunityJoin.d.ts +2 -0
- package/dist/communityRepository/communityMembership/events/onLocalCommunityJoin.d.ts.map +1 -0
- 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/internalAPI/getMyJoinRequest.d.ts +16 -0
- package/dist/communityRepository/internalAPI/getMyJoinRequest.d.ts.map +1 -0
- package/dist/communityRepository/internalAPI/joinCommunity.d.ts +16 -0
- package/dist/communityRepository/internalAPI/joinCommunity.d.ts.map +1 -0
- package/dist/communityRepository/joinRequest/events/index.d.ts +4 -0
- package/dist/communityRepository/joinRequest/events/index.d.ts.map +1 -0
- package/dist/communityRepository/joinRequest/events/onJoinRequestCreated.d.ts +17 -0
- package/dist/communityRepository/joinRequest/events/onJoinRequestCreated.d.ts.map +1 -0
- package/dist/communityRepository/joinRequest/events/onJoinRequestDeleted.d.ts +17 -0
- package/dist/communityRepository/joinRequest/events/onJoinRequestDeleted.d.ts.map +1 -0
- package/dist/communityRepository/joinRequest/events/onJoinRequestUpdated.d.ts +17 -0
- package/dist/communityRepository/joinRequest/events/onJoinRequestUpdated.d.ts.map +1 -0
- package/dist/communityRepository/joinRequest/internalAPI/approveJoinRequest.d.ts +16 -0
- package/dist/communityRepository/joinRequest/internalAPI/approveJoinRequest.d.ts.map +1 -0
- package/dist/communityRepository/joinRequest/internalAPI/cancelJoinRequest.d.ts +16 -0
- package/dist/communityRepository/joinRequest/internalAPI/cancelJoinRequest.d.ts.map +1 -0
- package/dist/communityRepository/joinRequest/internalAPI/rejectJoinRequest.d.ts +16 -0
- package/dist/communityRepository/joinRequest/internalAPI/rejectJoinRequest.d.ts.map +1 -0
- 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/getJoinRequestList/JoinRequestListLiveCollectionController.d.ts +14 -0
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListLiveCollectionController.d.ts.map +1 -0
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListPaginationController.d.ts +9 -0
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListPaginationController.d.ts.map +1 -0
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListQueryStreamController.d.ts +15 -0
- package/dist/communityRepository/observers/getJoinRequestList/JoinRequestListQueryStreamController.d.ts.map +1 -0
- package/dist/communityRepository/observers/getJoinRequestList/enum.d.ts +6 -0
- package/dist/communityRepository/observers/getJoinRequestList/enum.d.ts.map +1 -0
- package/dist/communityRepository/observers/getJoinRequestList.d.ts +12 -0
- package/dist/communityRepository/observers/getJoinRequestList.d.ts.map +1 -0
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsLiveCollectionController.d.ts +14 -0
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsLiveCollectionController.d.ts.map +1 -0
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsPaginationController.d.ts +9 -0
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsPaginationController.d.ts.map +1 -0
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsQueryStreamController.d.ts +15 -0
- package/dist/communityRepository/observers/getJoinRequests/JoinRequestsQueryStreamController.d.ts.map +1 -0
- package/dist/communityRepository/observers/getJoinRequests/enum.d.ts +6 -0
- package/dist/communityRepository/observers/getJoinRequests/enum.d.ts.map +1 -0
- package/dist/communityRepository/observers/getJoinRequests.d.ts +12 -0
- package/dist/communityRepository/observers/getJoinRequests.d.ts.map +1 -0
- 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 +1 -0
- 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 +2 -1
- 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 +2936 -1499
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +3113 -1677
- package/dist/index.umd.js +4 -4
- package/dist/invitationRepository/events/index.d.ts +4 -0
- package/dist/invitationRepository/events/index.d.ts.map +1 -0
- package/dist/invitationRepository/events/onLocalInvitationCreated.d.ts +17 -0
- package/dist/invitationRepository/events/onLocalInvitationCreated.d.ts.map +1 -0
- package/dist/invitationRepository/events/onLocalInvitationDeleted.d.ts +17 -0
- package/dist/invitationRepository/events/onLocalInvitationDeleted.d.ts.map +1 -0
- package/dist/invitationRepository/events/onLocalInvitationUpdated.d.ts +17 -0
- package/dist/invitationRepository/events/onLocalInvitationUpdated.d.ts.map +1 -0
- package/dist/invitationRepository/index.d.ts +3 -0
- package/dist/invitationRepository/index.d.ts.map +1 -0
- package/dist/invitationRepository/internalApi/acceptInvitation.d.ts +16 -0
- package/dist/invitationRepository/internalApi/acceptInvitation.d.ts.map +1 -0
- package/dist/invitationRepository/internalApi/createInvitations.d.ts +21 -0
- package/dist/invitationRepository/internalApi/createInvitations.d.ts.map +1 -0
- package/dist/invitationRepository/internalApi/getInvitation.d.ts +17 -0
- package/dist/invitationRepository/internalApi/getInvitation.d.ts.map +1 -0
- package/dist/invitationRepository/internalApi/index.d.ts +4 -0
- package/dist/invitationRepository/internalApi/index.d.ts.map +1 -0
- package/dist/invitationRepository/internalApi/rejectInvitation.d.ts +16 -0
- package/dist/invitationRepository/internalApi/rejectInvitation.d.ts.map +1 -0
- package/dist/invitationRepository/observers/getInvitations/InvitationsLiveCollectionController.d.ts +14 -0
- package/dist/invitationRepository/observers/getInvitations/InvitationsLiveCollectionController.d.ts.map +1 -0
- package/dist/invitationRepository/observers/getInvitations/InvitationsPaginationController.d.ts +5 -0
- package/dist/invitationRepository/observers/getInvitations/InvitationsPaginationController.d.ts.map +1 -0
- package/dist/invitationRepository/observers/getInvitations/InvitationsQueryStreamController.d.ts +15 -0
- package/dist/invitationRepository/observers/getInvitations/InvitationsQueryStreamController.d.ts.map +1 -0
- package/dist/invitationRepository/observers/getInvitations/enums.d.ts +6 -0
- package/dist/invitationRepository/observers/getInvitations/enums.d.ts.map +1 -0
- package/dist/invitationRepository/observers/getInvitations.d.ts +12 -0
- package/dist/invitationRepository/observers/getInvitations.d.ts.map +1 -0
- package/dist/invitationRepository/observers/getMyCommunityInvitations.d.ts +12 -0
- package/dist/invitationRepository/observers/getMyCommunityInvitations.d.ts.map +1 -0
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsLiveCollectionController.d.ts +14 -0
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsLiveCollectionController.d.ts.map +1 -0
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsPaginationController.d.ts +5 -0
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsPaginationController.d.ts.map +1 -0
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsQueryStreamController.d.ts +15 -0
- package/dist/invitationRepository/observers/getMyInvitations/MyInvitationsQueryStreamController.d.ts.map +1 -0
- package/dist/invitationRepository/observers/index.d.ts +2 -0
- package/dist/invitationRepository/observers/index.d.ts.map +1 -0
- package/dist/invitationRepository/utils/convertRawInvitationToInternalInvitation.d.ts +2 -0
- package/dist/invitationRepository/utils/convertRawInvitationToInternalInvitation.d.ts.map +1 -0
- package/dist/invitationRepository/utils/index.d.ts +2 -0
- package/dist/invitationRepository/utils/index.d.ts.map +1 -0
- package/dist/invitationRepository/utils/prepareInvitationPayload.d.ts +2 -0
- package/dist/invitationRepository/utils/prepareInvitationPayload.d.ts.map +1 -0
- package/dist/invitationRepository/utils/prepareMyInvitationsPayload.d.ts +2 -0
- package/dist/invitationRepository/utils/prepareMyInvitationsPayload.d.ts.map +1 -0
- package/dist/postRepository/observers/getGlobalPinnedPosts/GlobalPinnedPostQueryStreamController.d.ts.map +1 -1
- package/dist/postRepository/observers/getPinnedPosts/PinnedPostQueryStreamController.d.ts.map +1 -1
- package/dist/subChannelRepository/utils/prepareSubChannelPayload.d.ts.map +1 -1
- package/dist/utils/linkedObject/communityLinkedObject.d.ts +2 -0
- package/dist/utils/linkedObject/communityLinkedObject.d.ts.map +1 -0
- package/dist/utils/linkedObject/index.d.ts +3 -0
- package/dist/utils/linkedObject/index.d.ts.map +1 -1
- package/dist/utils/linkedObject/invitationLinkedObject.d.ts +2 -0
- package/dist/utils/linkedObject/invitationLinkedObject.d.ts.map +1 -0
- package/dist/utils/linkedObject/joinRequestLinkedObject.d.ts +2 -0
- package/dist/utils/linkedObject/joinRequestLinkedObject.d.ts.map +1 -0
- package/dist/utils/tests/dummy/post.d.ts +3 -3
- package/package.json +1 -1
- package/src/@types/core/events.ts +10 -0
- package/src/@types/core/model.ts +8 -1
- package/src/@types/core/payload.ts +48 -5
- package/src/@types/domains/client.ts +12 -0
- package/src/@types/domains/community.ts +73 -1
- package/src/@types/domains/invitation.ts +115 -0
- package/src/@types/domains/joinRequest.ts +66 -0
- package/src/@types/domains/notification.ts +2 -0
- package/src/@types/index.ts +3 -0
- package/src/communityRepository/api/createCommunity.ts +5 -2
- package/src/communityRepository/api/getCommunities.ts +9 -2
- package/src/communityRepository/api/getCommunity.ts +13 -2
- package/src/communityRepository/api/getRecommendedCommunities.ts +11 -4
- package/src/communityRepository/api/getTrendingCommunities.ts +11 -4
- package/src/communityRepository/api/joinCommunity.ts +4 -1
- package/src/communityRepository/api/queryCommunities.ts +6 -1
- package/src/communityRepository/api/updateCommunity.ts +13 -3
- package/src/communityRepository/communityMembership/events/index.ts +1 -0
- 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/onLocalCommunityJoin.ts +20 -0
- 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 +3 -1
- package/src/communityRepository/communityMembership/events/utils.ts +2 -2
- package/src/communityRepository/communityMembership/observers/getMembers/CommunityMembersQueryStreamController.ts +8 -2
- package/src/communityRepository/communityMembership/observers/searchMembers/SearchCommunityMembersQueryStreamController.ts +8 -2
- 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/internalAPI/getMyJoinRequest.ts +43 -0
- package/src/communityRepository/internalAPI/joinCommunity.ts +66 -0
- package/src/communityRepository/joinRequest/events/index.ts +3 -0
- package/src/communityRepository/joinRequest/events/onJoinRequestCreated.ts +33 -0
- package/src/communityRepository/joinRequest/events/onJoinRequestDeleted.ts +33 -0
- package/src/communityRepository/joinRequest/events/onJoinRequestUpdated.ts +33 -0
- package/src/communityRepository/joinRequest/internalAPI/approveJoinRequest.ts +52 -0
- package/src/communityRepository/joinRequest/internalAPI/cancelJoinRequest.ts +46 -0
- package/src/communityRepository/joinRequest/internalAPI/rejectJoinRequest.ts +52 -0
- package/src/communityRepository/observers/getCommunities/CommunitiesLiveCollectionController.ts +6 -0
- package/src/communityRepository/observers/getCommunities/CommunitiesQueryStreamController.ts +2 -2
- package/src/communityRepository/observers/getCommunity.ts +3 -0
- package/src/communityRepository/observers/getJoinRequestList/JoinRequestListLiveCollectionController.ts +130 -0
- package/src/communityRepository/observers/getJoinRequestList/JoinRequestListPaginationController.ts +30 -0
- package/src/communityRepository/observers/getJoinRequestList/JoinRequestListQueryStreamController.ts +112 -0
- package/src/communityRepository/observers/getJoinRequestList/enum.ts +5 -0
- package/src/communityRepository/observers/getJoinRequestList.ts +51 -0
- package/src/communityRepository/observers/getJoinRequests/JoinRequestsLiveCollectionController.ts +126 -0
- package/src/communityRepository/observers/getJoinRequests/JoinRequestsPaginationController.ts +26 -0
- package/src/communityRepository/observers/getJoinRequests/JoinRequestsQueryStreamController.ts +108 -0
- package/src/communityRepository/observers/getJoinRequests/enum.ts +5 -0
- package/src/communityRepository/observers/getJoinRequests.ts +44 -0
- package/src/communityRepository/observers/getRecommendedCommunities/RecommendedCommunitiesLiveCollectionController.ts +2 -1
- package/src/communityRepository/observers/getRecommendedCommunities/RecommendedCommunitiesQueryStreamController.ts +2 -2
- package/src/communityRepository/observers/getTrendingCommunities/TrendingCommunitiesLiveCollectionController.ts +2 -1
- package/src/communityRepository/observers/getTrendingCommunities/TrendingCommunitiesQueryStreamController.ts +2 -2
- package/src/communityRepository/observers/index.ts +1 -0
- package/src/communityRepository/observers/searchCommunities/SearchCommunitiesPaginationController.ts +1 -0
- package/src/communityRepository/observers/searchCommunities/SearchCommunitiesQueryStreamController.ts +2 -2
- package/src/communityRepository/observers/semanticSearch/SemanticSearchCommunityQueryStreamController.ts +2 -2
- package/src/communityRepository/utils/communityWithMembership.ts +9 -5
- package/src/communityRepository/utils/payload.ts +28 -2
- package/src/core/liveCollection/PaginationController.ts +1 -1
- package/src/core/liveCollection/PaginationNoPageController.ts +1 -1
- package/src/core/model/idResolvers.ts +3 -0
- package/src/core/model/index.ts +3 -0
- package/src/index.ts +2 -0
- package/src/invitationRepository/events/index.ts +3 -0
- package/src/invitationRepository/events/onLocalInvitationCreated.ts +33 -0
- package/src/invitationRepository/events/onLocalInvitationDeleted.ts +33 -0
- package/src/invitationRepository/events/onLocalInvitationUpdated.ts +33 -0
- package/src/invitationRepository/index.ts +2 -0
- package/src/invitationRepository/internalApi/acceptInvitation.ts +45 -0
- package/src/invitationRepository/internalApi/createInvitations.ts +52 -0
- package/src/invitationRepository/internalApi/getInvitation.ts +47 -0
- package/src/invitationRepository/internalApi/index.ts +3 -0
- package/src/invitationRepository/internalApi/rejectInvitation.ts +45 -0
- package/src/invitationRepository/observers/getInvitations/InvitationsLiveCollectionController.ts +148 -0
- package/src/invitationRepository/observers/getInvitations/InvitationsPaginationController.ts +19 -0
- package/src/invitationRepository/observers/getInvitations/InvitationsQueryStreamController.ts +97 -0
- package/src/invitationRepository/observers/getInvitations/enums.ts +5 -0
- package/src/invitationRepository/observers/getInvitations.ts +44 -0
- package/src/invitationRepository/observers/getMyCommunityInvitations.ts +48 -0
- package/src/invitationRepository/observers/getMyInvitations/MyInvitationsLiveCollectionController.ts +148 -0
- package/src/invitationRepository/observers/getMyInvitations/MyInvitationsPaginationController.ts +22 -0
- package/src/invitationRepository/observers/getMyInvitations/MyInvitationsQueryStreamController.ts +105 -0
- package/src/invitationRepository/observers/index.ts +1 -0
- package/src/invitationRepository/utils/convertRawInvitationToInternalInvitation.ts +8 -0
- package/src/invitationRepository/utils/index.ts +1 -0
- package/src/invitationRepository/utils/prepareInvitationPayload.ts +12 -0
- package/src/invitationRepository/utils/prepareMyInvitationsPayload.ts +12 -0
- package/src/messagePreview/utils/getChannelMessagePreviewWithUser.ts +3 -3
- package/src/postRepository/observers/getGlobalPinnedPosts/GlobalPinnedPostQueryStreamController.ts +7 -1
- package/src/postRepository/observers/getPinnedPosts/PinnedPostQueryStreamController.ts +7 -1
- package/src/subChannelRepository/utils/prepareSubChannelPayload.ts +4 -0
- package/src/utils/linkedObject/communityLinkedObject.ts +56 -0
- package/src/utils/linkedObject/index.ts +6 -0
- package/src/utils/linkedObject/invitationLinkedObject.ts +37 -0
- package/src/utils/linkedObject/joinRequestLinkedObject.ts +31 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
export declare const enum JoinRequestStatusEnum {
|
|
3
|
+
Pending = "pending",
|
|
4
|
+
Approved = "approved",
|
|
5
|
+
Rejected = "rejected",
|
|
6
|
+
Cancelled = "cancelled"
|
|
7
|
+
}
|
|
8
|
+
export declare const enum JoinResultStatusEnum {
|
|
9
|
+
Success = "success",
|
|
10
|
+
Pending = "pending"
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
namespace Amity {
|
|
14
|
+
type JoinRequestStatus = JoinRequestStatusEnum;
|
|
15
|
+
type JoinResultStatus = JoinResultStatusEnum;
|
|
16
|
+
type JoinRequestType = 'communityJoinRequest';
|
|
17
|
+
type JoinResult = {
|
|
18
|
+
status: Amity.JoinResultStatus;
|
|
19
|
+
request?: Amity.JoinRequest;
|
|
20
|
+
};
|
|
21
|
+
type RawJoinRequest = {
|
|
22
|
+
_id: string;
|
|
23
|
+
createdAt: Amity.timestamp;
|
|
24
|
+
joinRequestId: string;
|
|
25
|
+
networkId: string;
|
|
26
|
+
requestorId: string;
|
|
27
|
+
requestorInternalId: string;
|
|
28
|
+
requestorPublicId: string;
|
|
29
|
+
respondedAt: Amity.timestamp | null;
|
|
30
|
+
responderId: string | null;
|
|
31
|
+
responderInternalId: string | null;
|
|
32
|
+
responderPublicId: string | null;
|
|
33
|
+
status: Amity.JoinRequestStatus;
|
|
34
|
+
targetId: string;
|
|
35
|
+
targetType: string;
|
|
36
|
+
type: Amity.JoinRequestType;
|
|
37
|
+
updatedAt: Amity.timestamp;
|
|
38
|
+
userId: string;
|
|
39
|
+
};
|
|
40
|
+
type InternalJoinRequest = Omit<RawJoinRequest, '_id'>;
|
|
41
|
+
type JoinRequest = Omit<Amity.InternalJoinRequest, 'responderId'> & Amity.JoinRequestLinkedObject & {
|
|
42
|
+
user?: Amity.User;
|
|
43
|
+
feeds?: Amity.Feed[];
|
|
44
|
+
files?: Amity.File[];
|
|
45
|
+
};
|
|
46
|
+
type JoinRequestLinkedObject = {
|
|
47
|
+
cancel: () => Promise<void>;
|
|
48
|
+
approve: () => Promise<void>;
|
|
49
|
+
reject: () => Promise<void>;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=joinRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"joinRequest.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/joinRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,0BAAkB,qBAAqB;IACrC,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB;AAED,0BAAkB,oBAAoB;IACpC,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,KAAK,iBAAiB,GAAG,qBAAqB,CAAC;QAE/C,KAAK,gBAAgB,GAAG,oBAAoB,CAAC;QAE7C,KAAK,eAAe,GAAG,sBAAsB,CAAC;QAE9C,KAAK,UAAU,GAAG;YAChB,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC;YAC/B,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;SAC7B,CAAC;QAEF,KAAK,cAAc,GAAG;YACpB,GAAG,EAAE,MAAM,CAAC;YACZ,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;YAC3B,aAAa,EAAE,MAAM,CAAC;YACtB,SAAS,EAAE,MAAM,CAAC;YAElB,WAAW,EAAE,MAAM,CAAC;YACpB,mBAAmB,EAAE,MAAM,CAAC;YAC5B,iBAAiB,EAAE,MAAM,CAAC;YAE1B,WAAW,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;YACpC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;YAC3B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;YACnC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;YAEjC,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC;YAChC,QAAQ,EAAE,MAAM,CAAC;YACjB,UAAU,EAAE,MAAM,CAAC;YACnB,IAAI,EAAE,KAAK,CAAC,eAAe,CAAC;YAC5B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;YAC3B,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QAEF,KAAK,mBAAmB,GAAG,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;QAEvD,KAAK,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,mBAAmB,EAAE,aAAa,CAAC,GAC/D,KAAK,CAAC,uBAAuB,GAAG;YAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC;YAClB,KAAK,CAAC,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;YACrB,KAAK,CAAC,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;SACtB,CAAC;QAEJ,KAAK,uBAAuB,GAAG;YAC7B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;YAC5B,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;YAC7B,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;SAC7B,CAAC;KACH;CACF"}
|
|
@@ -8,7 +8,8 @@ declare global {
|
|
|
8
8
|
POLL_MENTION = "mention_in_poll",
|
|
9
9
|
POST_REACT = "reaction_on_post",
|
|
10
10
|
COMMENT_REACT = "reaction_on_comment",
|
|
11
|
-
REPLY_REACT = "reaction_on_reply"
|
|
11
|
+
REPLY_REACT = "reaction_on_reply",
|
|
12
|
+
RESPONSE_JOIN_REQUEST = "respond_on_join_request"
|
|
12
13
|
}
|
|
13
14
|
const enum TrayAction {
|
|
14
15
|
POST = "post",
|
|
@@ -16,7 +17,8 @@ declare global {
|
|
|
16
17
|
COMMENT = "comment",
|
|
17
18
|
REACTION = "reaction",
|
|
18
19
|
MENTION = "mention",
|
|
19
|
-
REPLY = "reply"
|
|
20
|
+
REPLY = "reply",
|
|
21
|
+
JOIN_REQUEST = "join_request"
|
|
20
22
|
}
|
|
21
23
|
type RawNotificationTrayItem = {
|
|
22
24
|
_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,WAAW,oBAAoB;YAC7B,YAAY,oBAAoB;YAChC,eAAe,uBAAuB;YACtC,aAAa,qBAAqB;YAClC,YAAY,oBAAoB;YAChC,UAAU,qBAAqB;YAC/B,aAAa,wBAAwB;YACrC,WAAW,sBAAsB;
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,WAAW,oBAAoB;YAC7B,YAAY,oBAAoB;YAChC,eAAe,uBAAuB;YACtC,aAAa,qBAAqB;YAClC,YAAY,oBAAoB;YAChC,UAAU,qBAAqB;YAC/B,aAAa,wBAAwB;YACrC,WAAW,sBAAsB;YACjC,qBAAqB,4BAA4B;SAClD;QAED,WAAW,UAAU;YACnB,IAAI,SAAS;YACb,IAAI,SAAS;YACb,OAAO,YAAY;YACnB,QAAQ,aAAa;YACrB,OAAO,YAAY;YACnB,KAAK,UAAU;YACf,YAAY,iBAAiB;SAC9B;QAED,KAAK,uBAAuB,GAAG;YAC7B,GAAG,EAAE,MAAM,CAAC;YACZ,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;YAC5B,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;YAChC,MAAM,EAAE;gBACN,GAAG,EAAE,MAAM,CAAC;gBACZ,QAAQ,EAAE,MAAM,CAAC;gBACjB,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;aAC9B,EAAE,CAAC;YACJ,WAAW,EAAE,MAAM,CAAC;YACpB,gBAAgB,CAAC,EAAE,oBAAoB,CAAC;YACxC,QAAQ,EAAE,MAAM,CAAC;YACjB,UAAU,EAAE,MAAM,CAAC;YACnB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,UAAU,EAAE,UAAU,CAAC;YACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;YAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,IAAI,EAAE,MAAM,CAAC;YACb,aAAa,EAAE,MAAM,CAAC;YACtB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;SAC7B,CAAC;QAEF,KAAK,4BAA4B,GAAG,uBAAuB,CAAC;QAE5D,KAAK,yBAAyB,GAAG;YAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC;YACpB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;SAClC,CAAC;QAEF,KAAK,kCAAkC,GAAG,KAAK,CAAC,oBAAoB,CAClE,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAC,CACzC,CAAC;QAEF,KAAK,uCAAuC,GAAG,KAAK,CAAC,mBAAmB,CACtE,KAAK,CAAC,4BAA4B,CAAC,KAAK,CAAC,EACzC,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAC,CACzC,CAAC;QAEF,KAAK,oBAAoB,GAAG,KAAK,CAAC,4BAA4B,GAAG;YAC/D,MAAM,EAAE,OAAO,CAAC;YAChB,QAAQ,EAAE,OAAO,CAAC;YAClB,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;SACrB,CAAC;QAEF,KAAK,uBAAuB,GAAG;YAC7B,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;YAChC,kBAAkB,EAAE,KAAK,CAAC,SAAS,CAAC;SACrC,CAAC;QAEF,KAAK,8BAA8B,GAAG;YACpC,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;SACjC,CAAC;QAEF,KAAK,4BAA4B,GAAG,uBAAuB,GAAG;YAC5D,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,OAAO,CAAC;SACjB,CAAC;QAEF,KAAK,oBAAoB,GAAG,uBAAuB,GAAG;YAAE,MAAM,EAAE,OAAO,CAAA;SAAE,CAAC;QAE1E,KAAK,uBAAuB,GAAG;YAC7B,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;SAC7B,CAAC;QAEF,KAAK,yBAAyB,GAAG;YAC/B,EAAE,EAAE,MAAM,CAAC;YACX,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;SAC7B,CAAC;KACH;CACF"}
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -29,4 +29,7 @@ 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';
|
|
32
35
|
//# 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;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,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', isDiscoverable: true, requiresJoinApproval: false })
|
|
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'> & Amity.CommunityStorySettings & {
|
|
15
|
+
export declare const createCommunity: (bundle: Pick<Amity.Community, 'displayName' | 'avatarFileId' | 'description' | 'isPublic' | 'isOfficial' | 'postSetting' | 'tags' | 'metadata' | 'isDiscoverable' | 'requiresJoinApproval'> & 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":"AAWA;;;;;;;;;;;;;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,GACV,gBAAgB,GAChB,sBAAsB,CACzB,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'][]): Promise<Amity.Cached<Amity.Community[]>>;
|
|
16
|
+
(communityIds: Amity.Community['communityId'][], includeDiscoverablePrivateCommunity?: boolean): 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":"AASA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc;mBACX,MAAM,SAAS,CAAC,aAAa,CAAC,EAAE,wCACR,OAAO,GAC5C,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,EAAE,CAAC,CAAC;IA+B3C;;;;;;;;;;;;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']): Promise<Amity.Cached<Amity.Community>>;
|
|
16
|
+
(communityId: Amity.Community['communityId'], type?: Amity.JoinRequestType, includeDiscoverablePrivateCommunity?: boolean): 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":"AASA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;kBACV,MAAM,SAAS,CAAC,aAAa,CAAC,SACpC,MAAM,eAAe,wCACU,OAAO,GAC5C,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,CAAC;IAiCzC;;;;;;;;;;;;OAYG;yBAEY,MAAM,SAAS,CAAC,aAAa,CAAC,GAC1C,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,GAAG,SAAS;CAjB3C,CAAC"}
|
|
@@ -13,5 +13,7 @@
|
|
|
13
13
|
* @async
|
|
14
14
|
* @private
|
|
15
15
|
*/
|
|
16
|
-
export declare const getRecommendedCommunities: (query?: Amity.PageLimit
|
|
16
|
+
export declare const getRecommendedCommunities: (query?: Amity.PageLimit & {
|
|
17
|
+
includeDiscoverablePrivateCommunity?: boolean;
|
|
18
|
+
}) => Promise<Amity.Cached<Amity.Community[]>>;
|
|
17
19
|
//# 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":"AAWA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,WAC5B,MAAM,SAAS,GAAG;IAAE,mCAAmC,CAAC,EAAE,OAAO,CAAA;CAAE,KAC1E,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,EAAE,CAAC,CA6BzC,CAAC"}
|
|
@@ -13,5 +13,7 @@
|
|
|
13
13
|
* @async
|
|
14
14
|
* @private
|
|
15
15
|
*/
|
|
16
|
-
export declare const getTrendingCommunities: (query?: Amity.PageLimit
|
|
16
|
+
export declare const getTrendingCommunities: (query?: Amity.PageLimit & {
|
|
17
|
+
includeDiscoverablePrivateCommunity?: boolean;
|
|
18
|
+
}) => Promise<Amity.Cached<Amity.Community[]>>;
|
|
17
19
|
//# 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":"AAQA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,WACzB,MAAM,SAAS,GAAG;IAAE,mCAAmC,CAAC,EAAE,OAAO,CAAA;CAAE,KAC1E,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,EAAE,CAAC,CA6BzC,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":"AAMA;;GAEG;AAIH;;;;;;;;;;;;;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":"AAUA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,WACnB,MAAM,gBAAgB,KAC7B,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,MAAM,SAAS,CAAC,CAAC,CAiDxD,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', isDiscoverable: true, requiresJoinApproval: false })
|
|
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'> & Amity.CommunityStorySettings) => Promise<Amity.Cached<Amity.Community>>;
|
|
16
|
+
export declare const updateCommunity: (communityId: Amity.Community['communityId'], patch: Patch<Amity.Community, 'displayName' | 'avatarFileId' | 'description' | 'postSetting' | 'tags' | 'metadata' | 'isDiscoverable' | 'requiresJoinApproval'> & 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":"AAYA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,gBACb,MAAM,SAAS,CAAC,aAAa,CAAC,SACpC,MACL,MAAM,SAAS,EACb,aAAa,GACb,cAAc,GACd,aAAa,GACb,aAAa,GACb,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,sBAAsB,CACzB,GACC,MAAM,sBAAsB,KAC7B,QAAQ,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC,CA2BvC,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;AACvC,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBAC1B,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBAC5B,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACvB,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACtB,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.InternalCommunity, 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,iBAAiB,WAAW,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACtB,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACrB,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACvB,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACrB,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onLocalCommunityJoin.d.ts","sourceRoot":"","sources":["../../../../src/communityRepository/communityMembership/events/onLocalCommunityJoin.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,2BACP,MAAM,mBAAmB,KAAK,IAAI,eAe3D,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const onLocalCommunityJoined: (callback: (community: Amity.
|
|
1
|
+
export declare const onLocalCommunityJoined: (callback: (community: Amity.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACf,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const onLocalCommunityLeft: (callback: (community: Amity.
|
|
1
|
+
export declare const onLocalCommunityLeft: (callback: (community: Amity.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACjB,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACZ,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBACV,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.InternalCommunity, 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,4BAEI,MAAM,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBAwChG,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.InternalCommunity, members: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
|
|
2
|
+
export declare const createLocalCommunityMemberEventSubscriber: (event: keyof Amity.LocalCommunityEvents, callback: (community: Amity.InternalCommunity, 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,iBAAiB,WAAW,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBA6CjG,CAAC;AAEF,eAAO,MAAM,yCAAyC,UAC7C,MAAM,MAAM,oBAAoB,wBACjB,MAAM,iBAAiB,WAAW,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,uBA6CjG,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.InternalCommunity, communityMembers: Amity.Membership<'community'>[]) => void;
|
|
10
10
|
subscribeRTE(createSubscriber: {
|
|
11
|
-
fn: (reactor: (channel: Amity.
|
|
11
|
+
fn: (reactor: (channel: Amity.InternalCommunity, 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,eAE3B,MAAM,iBAAiB,oBAChB,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE;IAyBrD,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CACF,OAAO,EAAE,CACP,OAAO,EAAE,KAAK,CAAC,iBAAiB,EAChC,aAAa,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,KAC3C,IAAI,KACN,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.InternalCommunity, communityMembers: Amity.Membership<'community'>[]) => void;
|
|
10
10
|
subscribeRTE(createSubscriber: {
|
|
11
|
-
fn: (reactor: (channel: Amity.
|
|
11
|
+
fn: (reactor: (channel: Amity.InternalCommunity, 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,eAE3B,MAAM,iBAAiB,oBAChB,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE;IAuBrD,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CACF,OAAO,EAAE,CACP,OAAO,EAAE,KAAK,CAAC,iBAAiB,EAChC,aAAa,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,KAC3C,IAAI,KACN,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,KAC9F,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.InternalCommunity, 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,iBAAiB,UAAU,MAAM,UAAU,CAAC,WAAW,CAAC,EAAE,KAAK,IAAI,KAC9F,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.InternalCommunity>) => 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,iBAAiB,CAAC,uBACrB,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.InternalCommunity>) => 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,iBAAiB,CAAC,uBACrB,CAAC"}
|