@atproto/pds 0.4.219 → 0.4.221
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/CHANGELOG.md +18 -0
- package/dist/account-manager/account-manager.d.ts +17 -0
- package/dist/account-manager/account-manager.d.ts.map +1 -1
- package/dist/account-manager/account-manager.js +27 -3
- package/dist/account-manager/account-manager.js.map +1 -1
- package/dist/account-manager/oauth-store.d.ts.map +1 -1
- package/dist/account-manager/oauth-store.js +9 -1
- package/dist/account-manager/oauth-store.js.map +1 -1
- package/dist/auth-verifier.d.ts +1 -0
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/auth-verifier.js +7 -13
- package/dist/auth-verifier.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/lexicons/app/bsky/actor/defs.defs.d.ts +1 -0
- package/dist/lexicons/app/bsky/actor/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor/defs.defs.js +1 -0
- package/dist/lexicons/app/bsky/actor/defs.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts +14 -0
- package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/actor/declaration.defs.js +1 -0
- package/dist/lexicons/chat/bsky/actor/declaration.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/actor/defs.defs.d.ts +43 -0
- package/dist/lexicons/chat/bsky/actor/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/actor/defs.defs.js +21 -1
- package/dist/lexicons/chat/bsky/actor/defs.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/authFullChatClient.defs.js +1 -1
- package/dist/lexicons/chat/bsky/authFullChatClient.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.d.ts +2 -1
- package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.js +2 -1
- package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/addReaction.defs.d.ts +1 -1
- package/dist/lexicons/chat/bsky/convo/addReaction.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/addReaction.defs.js +7 -1
- package/dist/lexicons/chat/bsky/convo/addReaction.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts +505 -3
- package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/defs.defs.js +244 -2
- package/dist/lexicons/chat/bsky/convo/defs.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.d.ts +2 -1
- package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.js +2 -1
- package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getConvo.defs.d.ts +2 -1
- package/dist/lexicons/chat/bsky/convo/getConvo.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getConvo.defs.js +2 -1
- package/dist/lexicons/chat/bsky/convo/getConvo.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.d.ts +1 -1
- package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.js +1 -1
- package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.d.ts +2 -1
- package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.js +8 -1
- package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getConvoMembers.d.ts +3 -0
- package/dist/lexicons/chat/bsky/convo/getConvoMembers.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.d.ts +26 -0
- package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.js +55 -0
- package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/convo/getConvoMembers.js +45 -0
- package/dist/lexicons/chat/bsky/convo/getConvoMembers.js.map +1 -0
- package/dist/lexicons/chat/bsky/convo/getLog.defs.d.ts +2 -2
- package/dist/lexicons/chat/bsky/convo/getLog.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getLog.defs.js +17 -0
- package/dist/lexicons/chat/bsky/convo/getLog.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getMessages.defs.d.ts +7 -3
- package/dist/lexicons/chat/bsky/convo/getMessages.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/getMessages.defs.js +5 -1
- package/dist/lexicons/chat/bsky/convo/getMessages.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.d.ts +2 -1
- package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.js +2 -1
- package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/listConvoRequests.d.ts +3 -0
- package/dist/lexicons/chat/bsky/convo/listConvoRequests.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.d.ts +25 -0
- package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.js +58 -0
- package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/convo/listConvoRequests.js +45 -0
- package/dist/lexicons/chat/bsky/convo/listConvoRequests.js.map +1 -0
- package/dist/lexicons/chat/bsky/convo/listConvos.defs.d.ts +7 -0
- package/dist/lexicons/chat/bsky/convo/listConvos.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/listConvos.defs.js +2 -0
- package/dist/lexicons/chat/bsky/convo/listConvos.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/lockConvo.d.ts +3 -0
- package/dist/lexicons/chat/bsky/convo/lockConvo.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/convo/lockConvo.defs.d.ts +22 -0
- package/dist/lexicons/chat/bsky/convo/lockConvo.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/convo/lockConvo.defs.js +50 -0
- package/dist/lexicons/chat/bsky/convo/lockConvo.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/convo/lockConvo.js +45 -0
- package/dist/lexicons/chat/bsky/convo/lockConvo.js.map +1 -0
- package/dist/lexicons/chat/bsky/convo/muteConvo.defs.d.ts +2 -1
- package/dist/lexicons/chat/bsky/convo/muteConvo.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/muteConvo.defs.js +2 -1
- package/dist/lexicons/chat/bsky/convo/muteConvo.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/removeReaction.defs.d.ts +1 -1
- package/dist/lexicons/chat/bsky/convo/removeReaction.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/removeReaction.defs.js +6 -1
- package/dist/lexicons/chat/bsky/convo/removeReaction.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/sendMessage.defs.d.ts +2 -1
- package/dist/lexicons/chat/bsky/convo/sendMessage.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/sendMessage.defs.js +2 -1
- package/dist/lexicons/chat/bsky/convo/sendMessage.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.d.ts +2 -1
- package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.js +2 -1
- package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/unlockConvo.d.ts +3 -0
- package/dist/lexicons/chat/bsky/convo/unlockConvo.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.d.ts +22 -0
- package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.js +50 -0
- package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/convo/unlockConvo.js +45 -0
- package/dist/lexicons/chat/bsky/convo/unlockConvo.js.map +1 -0
- package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.d.ts +2 -1
- package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.js +2 -1
- package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.d.ts +1 -0
- package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.js +1 -0
- package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/updateRead.defs.d.ts +2 -1
- package/dist/lexicons/chat/bsky/convo/updateRead.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/updateRead.defs.js +2 -1
- package/dist/lexicons/chat/bsky/convo/updateRead.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo.d.ts +4 -0
- package/dist/lexicons/chat/bsky/convo.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo.js +5 -1
- package/dist/lexicons/chat/bsky/convo.js.map +1 -1
- package/dist/lexicons/chat/bsky/group/addMembers.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/addMembers.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/addMembers.defs.d.ts +31 -0
- package/dist/lexicons/chat/bsky/group/addMembers.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/addMembers.defs.js +65 -0
- package/dist/lexicons/chat/bsky/group/addMembers.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/addMembers.js +45 -0
- package/dist/lexicons/chat/bsky/group/addMembers.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/approveJoinRequest.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/approveJoinRequest.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.d.ts +28 -0
- package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.js +50 -0
- package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/approveJoinRequest.js +45 -0
- package/dist/lexicons/chat/bsky/group/approveJoinRequest.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/createGroup.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/createGroup.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/createGroup.defs.d.ts +36 -0
- package/dist/lexicons/chat/bsky/group/createGroup.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/createGroup.defs.js +59 -0
- package/dist/lexicons/chat/bsky/group/createGroup.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/createGroup.js +45 -0
- package/dist/lexicons/chat/bsky/group/createGroup.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/createJoinLink.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/createJoinLink.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/createJoinLink.defs.d.ts +26 -0
- package/dist/lexicons/chat/bsky/group/createJoinLink.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/createJoinLink.defs.js +54 -0
- package/dist/lexicons/chat/bsky/group/createJoinLink.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/createJoinLink.js +45 -0
- package/dist/lexicons/chat/bsky/group/createJoinLink.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/defs.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/defs.defs.d.ts +47 -0
- package/dist/lexicons/chat/bsky/group/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/defs.defs.js +69 -0
- package/dist/lexicons/chat/bsky/group/defs.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/defs.js +45 -0
- package/dist/lexicons/chat/bsky/group/defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/disableJoinLink.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/disableJoinLink.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.d.ts +22 -0
- package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.js +50 -0
- package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/disableJoinLink.js +45 -0
- package/dist/lexicons/chat/bsky/group/disableJoinLink.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/editGroup.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/editGroup.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/editGroup.defs.d.ts +32 -0
- package/dist/lexicons/chat/bsky/group/editGroup.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/editGroup.defs.js +53 -0
- package/dist/lexicons/chat/bsky/group/editGroup.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/editGroup.js +45 -0
- package/dist/lexicons/chat/bsky/group/editGroup.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/editJoinLink.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/editJoinLink.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/editJoinLink.defs.d.ts +26 -0
- package/dist/lexicons/chat/bsky/group/editJoinLink.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/editJoinLink.defs.js +54 -0
- package/dist/lexicons/chat/bsky/group/editJoinLink.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/editJoinLink.js +45 -0
- package/dist/lexicons/chat/bsky/group/editJoinLink.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/enableJoinLink.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/enableJoinLink.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.d.ts +22 -0
- package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.js +50 -0
- package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/enableJoinLink.js +45 -0
- package/dist/lexicons/chat/bsky/group/enableJoinLink.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.d.ts +20 -0
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.js +50 -0
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.js +45 -0
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/listJoinRequests.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/listJoinRequests.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.d.ts +26 -0
- package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.js +55 -0
- package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/listJoinRequests.js +45 -0
- package/dist/lexicons/chat/bsky/group/listJoinRequests.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/rejectJoinRequest.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/rejectJoinRequest.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.d.ts +23 -0
- package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.js +14 -0
- package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/rejectJoinRequest.js +45 -0
- package/dist/lexicons/chat/bsky/group/rejectJoinRequest.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/removeMembers.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/removeMembers.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/removeMembers.defs.d.ts +28 -0
- package/dist/lexicons/chat/bsky/group/removeMembers.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/removeMembers.defs.js +53 -0
- package/dist/lexicons/chat/bsky/group/removeMembers.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/removeMembers.js +45 -0
- package/dist/lexicons/chat/bsky/group/removeMembers.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/requestJoin.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/requestJoin.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/requestJoin.defs.d.ts +28 -0
- package/dist/lexicons/chat/bsky/group/requestJoin.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/requestJoin.defs.js +58 -0
- package/dist/lexicons/chat/bsky/group/requestJoin.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/requestJoin.js +45 -0
- package/dist/lexicons/chat/bsky/group/requestJoin.js.map +1 -0
- package/dist/lexicons/chat/bsky/group.d.ts +15 -0
- package/dist/lexicons/chat/bsky/group.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group.js +54 -0
- package/dist/lexicons/chat/bsky/group.js.map +1 -0
- package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.d.ts +2 -2
- package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.js +1 -0
- package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.d.ts +3 -0
- package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.d.ts +32 -0
- package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.js +23 -0
- package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.js +45 -0
- package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.js.map +1 -0
- package/dist/lexicons/chat/bsky/moderation.d.ts +1 -0
- package/dist/lexicons/chat/bsky/moderation.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/moderation.js +2 -1
- package/dist/lexicons/chat/bsky/moderation.js.map +1 -1
- package/dist/lexicons/chat/bsky.d.ts +1 -0
- package/dist/lexicons/chat/bsky.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky.js +2 -1
- package/dist/lexicons/chat/bsky.js.map +1 -1
- package/package.json +4 -5
- package/src/account-manager/account-manager.ts +23 -2
- package/src/account-manager/oauth-store.ts +10 -2
- package/src/auth-verifier.ts +3 -11
- package/src/index.ts +5 -1
- package/tests/auth.test.ts +92 -1
- package/tests/entryway-mock.ts +317 -0
- package/tests/entryway.test.ts +18 -100
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addReaction.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/addReaction.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,0DAA2C;AAE3C,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAElC,sBAAK;AAEd,4KAA4K;AAC5K,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC;IACZ,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,EAAE;QACb,YAAY,EAAE,CAAC;QACf,YAAY,EAAE,CAAC;KAChB,CAAC;CACH,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,OAAO,EAAE,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CAAC;CAC5E,CAAC,EACF,
|
|
1
|
+
{"version":3,"file":"addReaction.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/addReaction.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,0DAA2C;AAE3C,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAElC,sBAAK;AAEd,4KAA4K;AAC5K,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC;IACZ,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,EAAE;QACb,YAAY,EAAE,CAAC;QACf,YAAY,EAAE,CAAC;KAChB,CAAC;CACH,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,OAAO,EAAE,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CAAC;CAC5E,CAAC,EACF;IACE,cAAc;IACd,oBAAoB;IACpB,wBAAwB;IACxB,sBAAsB;IACtB,sBAAsB;CACvB,CACF,CAAA;AACQ,oBAAI;AAcA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,MAAM,GAAG,IAAI,CAAC,KAAK,EACnB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ConvoDefs from './defs.defs.js'\n\nconst $nsid = 'chat.bsky.convo.addReaction'\n\nexport { $nsid }\n\n/** Adds an emoji reaction to a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in a single reaction. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n convoId: l.string(),\n messageId: l.string(),\n value: l.string({\n minLength: 1,\n maxLength: 64,\n minGraphemes: 1,\n maxGraphemes: 1,\n }),\n }),\n l.jsonPayload({\n message: l.ref<ConvoDefs.MessageView>((() => ConvoDefs.messageView) as any),\n }),\n [\n 'InvalidConvo',\n 'ReactionNotAllowed',\n 'ReactionMessageDeleted',\n 'ReactionLimitReached',\n 'ReactionInvalidValue',\n ],\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n"]}
|
|
@@ -2,8 +2,27 @@ import { l } from '@atproto/lex';
|
|
|
2
2
|
import * as RichtextFacet from '../../../app/bsky/richtext/facet.defs.js';
|
|
3
3
|
import * as EmbedRecord from '../../../app/bsky/embed/record.defs.js';
|
|
4
4
|
import * as ActorDefs from '../actor/defs.defs.js';
|
|
5
|
+
import * as GroupDefs from '../group/defs.defs.js';
|
|
5
6
|
declare const $nsid = "chat.bsky.convo.defs";
|
|
6
7
|
export { $nsid };
|
|
8
|
+
type ConvoKind = 'direct' | 'group' | l.UnknownString;
|
|
9
|
+
export type { ConvoKind };
|
|
10
|
+
declare const convoKind: l.StringSchema<{
|
|
11
|
+
knownValues: ["direct", "group"];
|
|
12
|
+
}>;
|
|
13
|
+
export { convoKind };
|
|
14
|
+
type ConvoLockStatus = 'unlocked' | 'locked' | 'locked-permanently' | l.UnknownString;
|
|
15
|
+
export type { ConvoLockStatus };
|
|
16
|
+
declare const convoLockStatus: l.StringSchema<{
|
|
17
|
+
knownValues: ["unlocked", "locked", "locked-permanently"];
|
|
18
|
+
}>;
|
|
19
|
+
export { convoLockStatus };
|
|
20
|
+
type ConvoStatus = 'request' | 'accepted' | l.UnknownString;
|
|
21
|
+
export type { ConvoStatus };
|
|
22
|
+
declare const convoStatus: l.StringSchema<{
|
|
23
|
+
knownValues: ["request", "accepted"];
|
|
24
|
+
}>;
|
|
25
|
+
export { convoStatus };
|
|
7
26
|
type MessageRef = {
|
|
8
27
|
$type?: 'chat.bsky.convo.defs#messageRef';
|
|
9
28
|
did: l.DidString;
|
|
@@ -45,6 +64,171 @@ type MessageView = {
|
|
|
45
64
|
export type { MessageView };
|
|
46
65
|
declare const messageView: l.TypedObjectSchema<"chat.bsky.convo.defs#messageView", l.Validator<MessageView, MessageView>>;
|
|
47
66
|
export { messageView };
|
|
67
|
+
type SystemMessageReferredUser = {
|
|
68
|
+
$type?: 'chat.bsky.convo.defs#systemMessageReferredUser';
|
|
69
|
+
did: l.DidString;
|
|
70
|
+
};
|
|
71
|
+
export type { SystemMessageReferredUser };
|
|
72
|
+
declare const systemMessageReferredUser: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageReferredUser", l.Validator<SystemMessageReferredUser, SystemMessageReferredUser>>;
|
|
73
|
+
export { systemMessageReferredUser };
|
|
74
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. */
|
|
75
|
+
type SystemMessageView = {
|
|
76
|
+
$type?: 'chat.bsky.convo.defs#systemMessageView';
|
|
77
|
+
id: string;
|
|
78
|
+
rev: string;
|
|
79
|
+
sentAt: l.DatetimeString;
|
|
80
|
+
data: l.$Typed<SystemMessageDataAddMember> | l.$Typed<SystemMessageDataRemoveMember> | l.$Typed<SystemMessageDataMemberJoin> | l.$Typed<SystemMessageDataMemberLeave> | l.$Typed<SystemMessageDataLockConvo> | l.$Typed<SystemMessageDataUnlockConvo> | l.$Typed<SystemMessageDataLockConvoPermanently> | l.$Typed<SystemMessageDataEditGroup> | l.$Typed<SystemMessageDataCreateJoinLink> | l.$Typed<SystemMessageDataEditJoinLink> | l.$Typed<SystemMessageDataEnableJoinLink> | l.$Typed<SystemMessageDataDisableJoinLink> | l.Unknown$TypedObject;
|
|
81
|
+
};
|
|
82
|
+
export type { SystemMessageView };
|
|
83
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. */
|
|
84
|
+
declare const systemMessageView: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageView", l.Validator<SystemMessageView, SystemMessageView>>;
|
|
85
|
+
export { systemMessageView };
|
|
86
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was added to the group convo. */
|
|
87
|
+
type SystemMessageDataAddMember = {
|
|
88
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataAddMember';
|
|
89
|
+
/**
|
|
90
|
+
* Current view of the member who was added.
|
|
91
|
+
*/
|
|
92
|
+
member: SystemMessageReferredUser;
|
|
93
|
+
/**
|
|
94
|
+
* Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.
|
|
95
|
+
*/
|
|
96
|
+
role: ActorDefs.MemberRole;
|
|
97
|
+
addedBy: SystemMessageReferredUser;
|
|
98
|
+
};
|
|
99
|
+
export type { SystemMessageDataAddMember };
|
|
100
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was added to the group convo. */
|
|
101
|
+
declare const systemMessageDataAddMember: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataAddMember", l.Validator<SystemMessageDataAddMember, SystemMessageDataAddMember>>;
|
|
102
|
+
export { systemMessageDataAddMember };
|
|
103
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was removed from the group convo. */
|
|
104
|
+
type SystemMessageDataRemoveMember = {
|
|
105
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataRemoveMember';
|
|
106
|
+
/**
|
|
107
|
+
* Current view of the member who was removed.
|
|
108
|
+
*/
|
|
109
|
+
member: SystemMessageReferredUser;
|
|
110
|
+
removedBy: SystemMessageReferredUser;
|
|
111
|
+
};
|
|
112
|
+
export type { SystemMessageDataRemoveMember };
|
|
113
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was removed from the group convo. */
|
|
114
|
+
declare const systemMessageDataRemoveMember: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataRemoveMember", l.Validator<SystemMessageDataRemoveMember, SystemMessageDataRemoveMember>>;
|
|
115
|
+
export { systemMessageDataRemoveMember };
|
|
116
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user joined the group convo via join link. */
|
|
117
|
+
type SystemMessageDataMemberJoin = {
|
|
118
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataMemberJoin';
|
|
119
|
+
/**
|
|
120
|
+
* Current view of the member who joined.
|
|
121
|
+
*/
|
|
122
|
+
member: SystemMessageReferredUser;
|
|
123
|
+
/**
|
|
124
|
+
* Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.
|
|
125
|
+
*/
|
|
126
|
+
role: ActorDefs.MemberRole;
|
|
127
|
+
/**
|
|
128
|
+
* If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.
|
|
129
|
+
*/
|
|
130
|
+
approvedBy?: SystemMessageReferredUser;
|
|
131
|
+
};
|
|
132
|
+
export type { SystemMessageDataMemberJoin };
|
|
133
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user joined the group convo via join link. */
|
|
134
|
+
declare const systemMessageDataMemberJoin: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataMemberJoin", l.Validator<SystemMessageDataMemberJoin, SystemMessageDataMemberJoin>>;
|
|
135
|
+
export { systemMessageDataMemberJoin };
|
|
136
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user voluntarily left the group convo. */
|
|
137
|
+
type SystemMessageDataMemberLeave = {
|
|
138
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataMemberLeave';
|
|
139
|
+
/**
|
|
140
|
+
* Current view of the member who left the group.
|
|
141
|
+
*/
|
|
142
|
+
member: SystemMessageReferredUser;
|
|
143
|
+
};
|
|
144
|
+
export type { SystemMessageDataMemberLeave };
|
|
145
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user voluntarily left the group convo. */
|
|
146
|
+
declare const systemMessageDataMemberLeave: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataMemberLeave", l.Validator<SystemMessageDataMemberLeave, SystemMessageDataMemberLeave>>;
|
|
147
|
+
export { systemMessageDataMemberLeave };
|
|
148
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked. */
|
|
149
|
+
type SystemMessageDataLockConvo = {
|
|
150
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataLockConvo';
|
|
151
|
+
/**
|
|
152
|
+
* Current view of the member who locked the group.
|
|
153
|
+
*/
|
|
154
|
+
lockedBy: SystemMessageReferredUser;
|
|
155
|
+
};
|
|
156
|
+
export type { SystemMessageDataLockConvo };
|
|
157
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked. */
|
|
158
|
+
declare const systemMessageDataLockConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataLockConvo", l.Validator<SystemMessageDataLockConvo, SystemMessageDataLockConvo>>;
|
|
159
|
+
export { systemMessageDataLockConvo };
|
|
160
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was unlocked. */
|
|
161
|
+
type SystemMessageDataUnlockConvo = {
|
|
162
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataUnlockConvo';
|
|
163
|
+
/**
|
|
164
|
+
* Current view of the member who unlocked the group.
|
|
165
|
+
*/
|
|
166
|
+
unlockedBy: SystemMessageReferredUser;
|
|
167
|
+
};
|
|
168
|
+
export type { SystemMessageDataUnlockConvo };
|
|
169
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was unlocked. */
|
|
170
|
+
declare const systemMessageDataUnlockConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataUnlockConvo", l.Validator<SystemMessageDataUnlockConvo, SystemMessageDataUnlockConvo>>;
|
|
171
|
+
export { systemMessageDataUnlockConvo };
|
|
172
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked permanently. */
|
|
173
|
+
type SystemMessageDataLockConvoPermanently = {
|
|
174
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataLockConvoPermanently';
|
|
175
|
+
/**
|
|
176
|
+
* Current view of the member who locked the group.
|
|
177
|
+
*/
|
|
178
|
+
lockedBy: SystemMessageReferredUser;
|
|
179
|
+
};
|
|
180
|
+
export type { SystemMessageDataLockConvoPermanently };
|
|
181
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked permanently. */
|
|
182
|
+
declare const systemMessageDataLockConvoPermanently: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataLockConvoPermanently", l.Validator<SystemMessageDataLockConvoPermanently, SystemMessageDataLockConvoPermanently>>;
|
|
183
|
+
export { systemMessageDataLockConvoPermanently };
|
|
184
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group info was edited. */
|
|
185
|
+
type SystemMessageDataEditGroup = {
|
|
186
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataEditGroup';
|
|
187
|
+
/**
|
|
188
|
+
* Group name that was replaced.
|
|
189
|
+
*/
|
|
190
|
+
oldName?: string;
|
|
191
|
+
/**
|
|
192
|
+
* Group name that replaced the old.
|
|
193
|
+
*/
|
|
194
|
+
newName?: string;
|
|
195
|
+
};
|
|
196
|
+
export type { SystemMessageDataEditGroup };
|
|
197
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group info was edited. */
|
|
198
|
+
declare const systemMessageDataEditGroup: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataEditGroup", l.Validator<SystemMessageDataEditGroup, SystemMessageDataEditGroup>>;
|
|
199
|
+
export { systemMessageDataEditGroup };
|
|
200
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was created. */
|
|
201
|
+
type SystemMessageDataCreateJoinLink = {
|
|
202
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataCreateJoinLink';
|
|
203
|
+
};
|
|
204
|
+
export type { SystemMessageDataCreateJoinLink };
|
|
205
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was created. */
|
|
206
|
+
declare const systemMessageDataCreateJoinLink: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataCreateJoinLink", l.Validator<SystemMessageDataCreateJoinLink, SystemMessageDataCreateJoinLink>>;
|
|
207
|
+
export { systemMessageDataCreateJoinLink };
|
|
208
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was edited. */
|
|
209
|
+
type SystemMessageDataEditJoinLink = {
|
|
210
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataEditJoinLink';
|
|
211
|
+
};
|
|
212
|
+
export type { SystemMessageDataEditJoinLink };
|
|
213
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was edited. */
|
|
214
|
+
declare const systemMessageDataEditJoinLink: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataEditJoinLink", l.Validator<SystemMessageDataEditJoinLink, SystemMessageDataEditJoinLink>>;
|
|
215
|
+
export { systemMessageDataEditJoinLink };
|
|
216
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was enabled. */
|
|
217
|
+
type SystemMessageDataEnableJoinLink = {
|
|
218
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataEnableJoinLink';
|
|
219
|
+
};
|
|
220
|
+
export type { SystemMessageDataEnableJoinLink };
|
|
221
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was enabled. */
|
|
222
|
+
declare const systemMessageDataEnableJoinLink: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataEnableJoinLink", l.Validator<SystemMessageDataEnableJoinLink, SystemMessageDataEnableJoinLink>>;
|
|
223
|
+
export { systemMessageDataEnableJoinLink };
|
|
224
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was disabled. */
|
|
225
|
+
type SystemMessageDataDisableJoinLink = {
|
|
226
|
+
$type?: 'chat.bsky.convo.defs#systemMessageDataDisableJoinLink';
|
|
227
|
+
};
|
|
228
|
+
export type { SystemMessageDataDisableJoinLink };
|
|
229
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was disabled. */
|
|
230
|
+
declare const systemMessageDataDisableJoinLink: l.TypedObjectSchema<"chat.bsky.convo.defs#systemMessageDataDisableJoinLink", l.Validator<SystemMessageDataDisableJoinLink, SystemMessageDataDisableJoinLink>>;
|
|
231
|
+
export { systemMessageDataDisableJoinLink };
|
|
48
232
|
type DeletedMessageView = {
|
|
49
233
|
$type?: 'chat.bsky.convo.defs#deletedMessageView';
|
|
50
234
|
id: string;
|
|
@@ -90,56 +274,106 @@ type ConvoView = {
|
|
|
90
274
|
$type?: 'chat.bsky.convo.defs#convoView';
|
|
91
275
|
id: string;
|
|
92
276
|
rev: string;
|
|
277
|
+
/**
|
|
278
|
+
* Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who invited the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. Use chat.bsky.convo.getConvoMembers to list all members.
|
|
279
|
+
*/
|
|
93
280
|
members: ActorDefs.ProfileViewBasic[];
|
|
94
|
-
lastMessage?: l.$Typed<MessageView> | l.$Typed<DeletedMessageView> | l.Unknown$TypedObject;
|
|
281
|
+
lastMessage?: l.$Typed<MessageView> | l.$Typed<DeletedMessageView> | l.$Typed<SystemMessageView> | l.Unknown$TypedObject;
|
|
95
282
|
lastReaction?: l.$Typed<MessageAndReactionView> | l.Unknown$TypedObject;
|
|
96
283
|
muted: boolean;
|
|
97
|
-
|
|
284
|
+
/**
|
|
285
|
+
* Convo status for the viewer member (not the convo itself).
|
|
286
|
+
*/
|
|
287
|
+
status?: ConvoStatus;
|
|
98
288
|
unreadCount: number;
|
|
289
|
+
/**
|
|
290
|
+
* Union field that has data specific to different kinds of convos.
|
|
291
|
+
*/
|
|
292
|
+
kind?: l.$Typed<DirectConvo> | l.$Typed<GroupConvo> | l.Unknown$TypedObject;
|
|
99
293
|
};
|
|
100
294
|
export type { ConvoView };
|
|
101
295
|
declare const convoView: l.TypedObjectSchema<"chat.bsky.convo.defs#convoView", l.Validator<ConvoView, ConvoView>>;
|
|
102
296
|
export { convoView };
|
|
297
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. */
|
|
298
|
+
type DirectConvo = {
|
|
299
|
+
$type?: 'chat.bsky.convo.defs#directConvo';
|
|
300
|
+
};
|
|
301
|
+
export type { DirectConvo };
|
|
302
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. */
|
|
303
|
+
declare const directConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#directConvo", l.Validator<DirectConvo, DirectConvo>>;
|
|
304
|
+
export { directConvo };
|
|
305
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. */
|
|
306
|
+
type GroupConvo = {
|
|
307
|
+
$type?: 'chat.bsky.convo.defs#groupConvo';
|
|
308
|
+
/**
|
|
309
|
+
* The display name of the group conversation.
|
|
310
|
+
*/
|
|
311
|
+
name: string;
|
|
312
|
+
/**
|
|
313
|
+
* The total number of members in the group conversation.
|
|
314
|
+
*/
|
|
315
|
+
memberCount: number;
|
|
316
|
+
joinLink?: GroupDefs.JoinLinkView;
|
|
317
|
+
/**
|
|
318
|
+
* The lock status of the conversation.
|
|
319
|
+
*/
|
|
320
|
+
lockStatus: ConvoLockStatus;
|
|
321
|
+
};
|
|
322
|
+
export type { GroupConvo };
|
|
323
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. */
|
|
324
|
+
declare const groupConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#groupConvo", l.Validator<GroupConvo, GroupConvo>>;
|
|
325
|
+
export { groupConvo };
|
|
326
|
+
/** Event indicating a convo containing the viewer was started. Can be direct or group. When a member is added to a group convo, they also get this event. */
|
|
103
327
|
type LogBeginConvo = {
|
|
104
328
|
$type?: 'chat.bsky.convo.defs#logBeginConvo';
|
|
105
329
|
rev: string;
|
|
106
330
|
convoId: string;
|
|
107
331
|
};
|
|
108
332
|
export type { LogBeginConvo };
|
|
333
|
+
/** Event indicating a convo containing the viewer was started. Can be direct or group. When a member is added to a group convo, they also get this event. */
|
|
109
334
|
declare const logBeginConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logBeginConvo", l.Validator<LogBeginConvo, LogBeginConvo>>;
|
|
110
335
|
export { logBeginConvo };
|
|
336
|
+
/** Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group. */
|
|
111
337
|
type LogAcceptConvo = {
|
|
112
338
|
$type?: 'chat.bsky.convo.defs#logAcceptConvo';
|
|
113
339
|
rev: string;
|
|
114
340
|
convoId: string;
|
|
115
341
|
};
|
|
116
342
|
export type { LogAcceptConvo };
|
|
343
|
+
/** Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group. */
|
|
117
344
|
declare const logAcceptConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logAcceptConvo", l.Validator<LogAcceptConvo, LogAcceptConvo>>;
|
|
118
345
|
export { logAcceptConvo };
|
|
346
|
+
/** Event indicating the viewer left a convo. Can be direct or group. */
|
|
119
347
|
type LogLeaveConvo = {
|
|
120
348
|
$type?: 'chat.bsky.convo.defs#logLeaveConvo';
|
|
121
349
|
rev: string;
|
|
122
350
|
convoId: string;
|
|
123
351
|
};
|
|
124
352
|
export type { LogLeaveConvo };
|
|
353
|
+
/** Event indicating the viewer left a convo. Can be direct or group. */
|
|
125
354
|
declare const logLeaveConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logLeaveConvo", l.Validator<LogLeaveConvo, LogLeaveConvo>>;
|
|
126
355
|
export { logLeaveConvo };
|
|
356
|
+
/** Event indicating the viewer muted a convo. Can be direct or group. */
|
|
127
357
|
type LogMuteConvo = {
|
|
128
358
|
$type?: 'chat.bsky.convo.defs#logMuteConvo';
|
|
129
359
|
rev: string;
|
|
130
360
|
convoId: string;
|
|
131
361
|
};
|
|
132
362
|
export type { LogMuteConvo };
|
|
363
|
+
/** Event indicating the viewer muted a convo. Can be direct or group. */
|
|
133
364
|
declare const logMuteConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logMuteConvo", l.Validator<LogMuteConvo, LogMuteConvo>>;
|
|
134
365
|
export { logMuteConvo };
|
|
366
|
+
/** Event indicating the viewer unmuted a convo. Can be direct or group. */
|
|
135
367
|
type LogUnmuteConvo = {
|
|
136
368
|
$type?: 'chat.bsky.convo.defs#logUnmuteConvo';
|
|
137
369
|
rev: string;
|
|
138
370
|
convoId: string;
|
|
139
371
|
};
|
|
140
372
|
export type { LogUnmuteConvo };
|
|
373
|
+
/** Event indicating the viewer unmuted a convo. Can be direct or group. */
|
|
141
374
|
declare const logUnmuteConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logUnmuteConvo", l.Validator<LogUnmuteConvo, LogUnmuteConvo>>;
|
|
142
375
|
export { logUnmuteConvo };
|
|
376
|
+
/** Event indicating a user-originated message was created. Is not emitted for system messages. */
|
|
143
377
|
type LogCreateMessage = {
|
|
144
378
|
$type?: 'chat.bsky.convo.defs#logCreateMessage';
|
|
145
379
|
rev: string;
|
|
@@ -147,8 +381,10 @@ type LogCreateMessage = {
|
|
|
147
381
|
message: l.$Typed<MessageView> | l.$Typed<DeletedMessageView> | l.Unknown$TypedObject;
|
|
148
382
|
};
|
|
149
383
|
export type { LogCreateMessage };
|
|
384
|
+
/** Event indicating a user-originated message was created. Is not emitted for system messages. */
|
|
150
385
|
declare const logCreateMessage: l.TypedObjectSchema<"chat.bsky.convo.defs#logCreateMessage", l.Validator<LogCreateMessage, LogCreateMessage>>;
|
|
151
386
|
export { logCreateMessage };
|
|
387
|
+
/** Event indicating a user-originated message was deleted. Is not emitted for system messages. */
|
|
152
388
|
type LogDeleteMessage = {
|
|
153
389
|
$type?: 'chat.bsky.convo.defs#logDeleteMessage';
|
|
154
390
|
rev: string;
|
|
@@ -156,17 +392,21 @@ type LogDeleteMessage = {
|
|
|
156
392
|
message: l.$Typed<MessageView> | l.$Typed<DeletedMessageView> | l.Unknown$TypedObject;
|
|
157
393
|
};
|
|
158
394
|
export type { LogDeleteMessage };
|
|
395
|
+
/** Event indicating a user-originated message was deleted. Is not emitted for system messages. */
|
|
159
396
|
declare const logDeleteMessage: l.TypedObjectSchema<"chat.bsky.convo.defs#logDeleteMessage", l.Validator<LogDeleteMessage, LogDeleteMessage>>;
|
|
160
397
|
export { logDeleteMessage };
|
|
398
|
+
/** @deprecated use logReadConvo instead. Event indicating a convo was read up to a certain message. */
|
|
161
399
|
type LogReadMessage = {
|
|
162
400
|
$type?: 'chat.bsky.convo.defs#logReadMessage';
|
|
163
401
|
rev: string;
|
|
164
402
|
convoId: string;
|
|
165
|
-
message: l.$Typed<MessageView> | l.$Typed<DeletedMessageView> | l.Unknown$TypedObject;
|
|
403
|
+
message: l.$Typed<MessageView> | l.$Typed<DeletedMessageView> | l.$Typed<SystemMessageView> | l.Unknown$TypedObject;
|
|
166
404
|
};
|
|
167
405
|
export type { LogReadMessage };
|
|
406
|
+
/** @deprecated use logReadConvo instead. Event indicating a convo was read up to a certain message. */
|
|
168
407
|
declare const logReadMessage: l.TypedObjectSchema<"chat.bsky.convo.defs#logReadMessage", l.Validator<LogReadMessage, LogReadMessage>>;
|
|
169
408
|
export { logReadMessage };
|
|
409
|
+
/** Event indicating a reaction was added to a message. */
|
|
170
410
|
type LogAddReaction = {
|
|
171
411
|
$type?: 'chat.bsky.convo.defs#logAddReaction';
|
|
172
412
|
rev: string;
|
|
@@ -175,8 +415,10 @@ type LogAddReaction = {
|
|
|
175
415
|
reaction: ReactionView;
|
|
176
416
|
};
|
|
177
417
|
export type { LogAddReaction };
|
|
418
|
+
/** Event indicating a reaction was added to a message. */
|
|
178
419
|
declare const logAddReaction: l.TypedObjectSchema<"chat.bsky.convo.defs#logAddReaction", l.Validator<LogAddReaction, LogAddReaction>>;
|
|
179
420
|
export { logAddReaction };
|
|
421
|
+
/** Event indicating a reaction was removed from a message. */
|
|
180
422
|
type LogRemoveReaction = {
|
|
181
423
|
$type?: 'chat.bsky.convo.defs#logRemoveReaction';
|
|
182
424
|
rev: string;
|
|
@@ -185,6 +427,266 @@ type LogRemoveReaction = {
|
|
|
185
427
|
reaction: ReactionView;
|
|
186
428
|
};
|
|
187
429
|
export type { LogRemoveReaction };
|
|
430
|
+
/** Event indicating a reaction was removed from a message. */
|
|
188
431
|
declare const logRemoveReaction: l.TypedObjectSchema<"chat.bsky.convo.defs#logRemoveReaction", l.Validator<LogRemoveReaction, LogRemoveReaction>>;
|
|
189
432
|
export { logRemoveReaction };
|
|
433
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a convo was read up to a certain message. */
|
|
434
|
+
type LogReadConvo = {
|
|
435
|
+
$type?: 'chat.bsky.convo.defs#logReadConvo';
|
|
436
|
+
rev: string;
|
|
437
|
+
convoId: string;
|
|
438
|
+
message: l.$Typed<MessageView> | l.$Typed<DeletedMessageView> | l.$Typed<SystemMessageView> | l.Unknown$TypedObject;
|
|
439
|
+
};
|
|
440
|
+
export type { LogReadConvo };
|
|
441
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a convo was read up to a certain message. */
|
|
442
|
+
declare const logReadConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logReadConvo", l.Validator<LogReadConvo, LogReadConvo>>;
|
|
443
|
+
export { logReadConvo };
|
|
444
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member was added to a group convo. The member who was added gets a logBeginConvo (to create the convo) but also a logAddMember (to show the system message as the first message the user sees). */
|
|
445
|
+
type LogAddMember = {
|
|
446
|
+
$type?: 'chat.bsky.convo.defs#logAddMember';
|
|
447
|
+
rev: string;
|
|
448
|
+
convoId: string;
|
|
449
|
+
/**
|
|
450
|
+
* A system message with data of type #systemMessageDataAddMember
|
|
451
|
+
*/
|
|
452
|
+
message: SystemMessageView;
|
|
453
|
+
/**
|
|
454
|
+
* Profiles referred in the system message.
|
|
455
|
+
*/
|
|
456
|
+
relatedProfiles: ActorDefs.ProfileViewBasic[];
|
|
457
|
+
};
|
|
458
|
+
export type { LogAddMember };
|
|
459
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member was added to a group convo. The member who was added gets a logBeginConvo (to create the convo) but also a logAddMember (to show the system message as the first message the user sees). */
|
|
460
|
+
declare const logAddMember: l.TypedObjectSchema<"chat.bsky.convo.defs#logAddMember", l.Validator<LogAddMember, LogAddMember>>;
|
|
461
|
+
export { logAddMember };
|
|
462
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member was removed from a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logRemoveMember (because they already left, so can't see the system message). */
|
|
463
|
+
type LogRemoveMember = {
|
|
464
|
+
$type?: 'chat.bsky.convo.defs#logRemoveMember';
|
|
465
|
+
rev: string;
|
|
466
|
+
convoId: string;
|
|
467
|
+
/**
|
|
468
|
+
* A system message with data of type #systemMessageDataRemoveMember
|
|
469
|
+
*/
|
|
470
|
+
message: SystemMessageView;
|
|
471
|
+
/**
|
|
472
|
+
* Profiles referred in the system message.
|
|
473
|
+
*/
|
|
474
|
+
relatedProfiles: ActorDefs.ProfileViewBasic[];
|
|
475
|
+
};
|
|
476
|
+
export type { LogRemoveMember };
|
|
477
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member was removed from a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logRemoveMember (because they already left, so can't see the system message). */
|
|
478
|
+
declare const logRemoveMember: l.TypedObjectSchema<"chat.bsky.convo.defs#logRemoveMember", l.Validator<LogRemoveMember, LogRemoveMember>>;
|
|
479
|
+
export { logRemoveMember };
|
|
480
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member joined a group convo via join link. The member who was added gets a logBeginConvo (to create the convo) but also a logMemberJoin (to show the system message as the first message the user sees). */
|
|
481
|
+
type LogMemberJoin = {
|
|
482
|
+
$type?: 'chat.bsky.convo.defs#logMemberJoin';
|
|
483
|
+
rev: string;
|
|
484
|
+
convoId: string;
|
|
485
|
+
/**
|
|
486
|
+
* A system message with data of type #systemMessageDataMemberJoin
|
|
487
|
+
*/
|
|
488
|
+
message: SystemMessageView;
|
|
489
|
+
/**
|
|
490
|
+
* Profiles referred in the system message.
|
|
491
|
+
*/
|
|
492
|
+
relatedProfiles: ActorDefs.ProfileViewBasic[];
|
|
493
|
+
};
|
|
494
|
+
export type { LogMemberJoin };
|
|
495
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member joined a group convo via join link. The member who was added gets a logBeginConvo (to create the convo) but also a logMemberJoin (to show the system message as the first message the user sees). */
|
|
496
|
+
declare const logMemberJoin: l.TypedObjectSchema<"chat.bsky.convo.defs#logMemberJoin", l.Validator<LogMemberJoin, LogMemberJoin>>;
|
|
497
|
+
export { logMemberJoin };
|
|
498
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member voluntarily left a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logMemberLeave (because they already left, so can't see the system message). */
|
|
499
|
+
type LogMemberLeave = {
|
|
500
|
+
$type?: 'chat.bsky.convo.defs#logMemberLeave';
|
|
501
|
+
rev: string;
|
|
502
|
+
convoId: string;
|
|
503
|
+
/**
|
|
504
|
+
* A system message with data of type #systemMessageDataMemberLeave
|
|
505
|
+
*/
|
|
506
|
+
message: SystemMessageView;
|
|
507
|
+
/**
|
|
508
|
+
* Profiles referred in the system message.
|
|
509
|
+
*/
|
|
510
|
+
relatedProfiles: ActorDefs.ProfileViewBasic[];
|
|
511
|
+
};
|
|
512
|
+
export type { LogMemberLeave };
|
|
513
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member voluntarily left a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logMemberLeave (because they already left, so can't see the system message). */
|
|
514
|
+
declare const logMemberLeave: l.TypedObjectSchema<"chat.bsky.convo.defs#logMemberLeave", l.Validator<LogMemberLeave, LogMemberLeave>>;
|
|
515
|
+
export { logMemberLeave };
|
|
516
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked. */
|
|
517
|
+
type LogLockConvo = {
|
|
518
|
+
$type?: 'chat.bsky.convo.defs#logLockConvo';
|
|
519
|
+
rev: string;
|
|
520
|
+
convoId: string;
|
|
521
|
+
/**
|
|
522
|
+
* A system message with data of type #systemMessageDataLockConvo
|
|
523
|
+
*/
|
|
524
|
+
message: SystemMessageView;
|
|
525
|
+
/**
|
|
526
|
+
* Profiles referred in the system message.
|
|
527
|
+
*/
|
|
528
|
+
relatedProfiles: ActorDefs.ProfileViewBasic[];
|
|
529
|
+
};
|
|
530
|
+
export type { LogLockConvo };
|
|
531
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked. */
|
|
532
|
+
declare const logLockConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logLockConvo", l.Validator<LogLockConvo, LogLockConvo>>;
|
|
533
|
+
export { logLockConvo };
|
|
534
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked. */
|
|
535
|
+
type LogUnlockConvo = {
|
|
536
|
+
$type?: 'chat.bsky.convo.defs#logUnlockConvo';
|
|
537
|
+
rev: string;
|
|
538
|
+
convoId: string;
|
|
539
|
+
/**
|
|
540
|
+
* A system message with data of type #systemMessageDataUnlockConvo
|
|
541
|
+
*/
|
|
542
|
+
message: SystemMessageView;
|
|
543
|
+
/**
|
|
544
|
+
* Profiles referred in the system message.
|
|
545
|
+
*/
|
|
546
|
+
relatedProfiles: ActorDefs.ProfileViewBasic[];
|
|
547
|
+
};
|
|
548
|
+
export type { LogUnlockConvo };
|
|
549
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked. */
|
|
550
|
+
declare const logUnlockConvo: l.TypedObjectSchema<"chat.bsky.convo.defs#logUnlockConvo", l.Validator<LogUnlockConvo, LogUnlockConvo>>;
|
|
551
|
+
export { logUnlockConvo };
|
|
552
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked permanently. */
|
|
553
|
+
type LogLockConvoPermanently = {
|
|
554
|
+
$type?: 'chat.bsky.convo.defs#logLockConvoPermanently';
|
|
555
|
+
rev: string;
|
|
556
|
+
convoId: string;
|
|
557
|
+
/**
|
|
558
|
+
* A system message with data of type #systemMessageDataLockConvoPermanently
|
|
559
|
+
*/
|
|
560
|
+
message: SystemMessageView;
|
|
561
|
+
/**
|
|
562
|
+
* Profiles referred in the system message.
|
|
563
|
+
*/
|
|
564
|
+
relatedProfiles: ActorDefs.ProfileViewBasic[];
|
|
565
|
+
};
|
|
566
|
+
export type { LogLockConvoPermanently };
|
|
567
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked permanently. */
|
|
568
|
+
declare const logLockConvoPermanently: l.TypedObjectSchema<"chat.bsky.convo.defs#logLockConvoPermanently", l.Validator<LogLockConvoPermanently, LogLockConvoPermanently>>;
|
|
569
|
+
export { logLockConvoPermanently };
|
|
570
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating info about group convo was edited. */
|
|
571
|
+
type LogEditGroup = {
|
|
572
|
+
$type?: 'chat.bsky.convo.defs#logEditGroup';
|
|
573
|
+
rev: string;
|
|
574
|
+
convoId: string;
|
|
575
|
+
/**
|
|
576
|
+
* A system message with data of type #systemMessageDataEditGroup
|
|
577
|
+
*/
|
|
578
|
+
message: SystemMessageView;
|
|
579
|
+
};
|
|
580
|
+
export type { LogEditGroup };
|
|
581
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating info about group convo was edited. */
|
|
582
|
+
declare const logEditGroup: l.TypedObjectSchema<"chat.bsky.convo.defs#logEditGroup", l.Validator<LogEditGroup, LogEditGroup>>;
|
|
583
|
+
export { logEditGroup };
|
|
584
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was created for a group convo. */
|
|
585
|
+
type LogCreateJoinLink = {
|
|
586
|
+
$type?: 'chat.bsky.convo.defs#logCreateJoinLink';
|
|
587
|
+
rev: string;
|
|
588
|
+
convoId: string;
|
|
589
|
+
/**
|
|
590
|
+
* A system message with data of type #systemMessageDataCreateJoinLink
|
|
591
|
+
*/
|
|
592
|
+
message: SystemMessageView;
|
|
593
|
+
};
|
|
594
|
+
export type { LogCreateJoinLink };
|
|
595
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was created for a group convo. */
|
|
596
|
+
declare const logCreateJoinLink: l.TypedObjectSchema<"chat.bsky.convo.defs#logCreateJoinLink", l.Validator<LogCreateJoinLink, LogCreateJoinLink>>;
|
|
597
|
+
export { logCreateJoinLink };
|
|
598
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a settings about a join link for a group convo were edited. */
|
|
599
|
+
type LogEditJoinLink = {
|
|
600
|
+
$type?: 'chat.bsky.convo.defs#logEditJoinLink';
|
|
601
|
+
rev: string;
|
|
602
|
+
convoId: string;
|
|
603
|
+
/**
|
|
604
|
+
* A system message with data of type #systemMessageDataEditJoinLink
|
|
605
|
+
*/
|
|
606
|
+
message: SystemMessageView;
|
|
607
|
+
};
|
|
608
|
+
export type { LogEditJoinLink };
|
|
609
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a settings about a join link for a group convo were edited. */
|
|
610
|
+
declare const logEditJoinLink: l.TypedObjectSchema<"chat.bsky.convo.defs#logEditJoinLink", l.Validator<LogEditJoinLink, LogEditJoinLink>>;
|
|
611
|
+
export { logEditJoinLink };
|
|
612
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was enabled for a group convo. */
|
|
613
|
+
type LogEnableJoinLink = {
|
|
614
|
+
$type?: 'chat.bsky.convo.defs#logEnableJoinLink';
|
|
615
|
+
rev: string;
|
|
616
|
+
convoId: string;
|
|
617
|
+
/**
|
|
618
|
+
* A system message with data of type #systemMessageDataEnableJoinLink
|
|
619
|
+
*/
|
|
620
|
+
message: SystemMessageView;
|
|
621
|
+
};
|
|
622
|
+
export type { LogEnableJoinLink };
|
|
623
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was enabled for a group convo. */
|
|
624
|
+
declare const logEnableJoinLink: l.TypedObjectSchema<"chat.bsky.convo.defs#logEnableJoinLink", l.Validator<LogEnableJoinLink, LogEnableJoinLink>>;
|
|
625
|
+
export { logEnableJoinLink };
|
|
626
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was disabled for a group convo. */
|
|
627
|
+
type LogDisableJoinLink = {
|
|
628
|
+
$type?: 'chat.bsky.convo.defs#logDisableJoinLink';
|
|
629
|
+
rev: string;
|
|
630
|
+
convoId: string;
|
|
631
|
+
/**
|
|
632
|
+
* A system message with data of type #systemMessageDataDisableJoinLink
|
|
633
|
+
*/
|
|
634
|
+
message: SystemMessageView;
|
|
635
|
+
};
|
|
636
|
+
export type { LogDisableJoinLink };
|
|
637
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was disabled for a group convo. */
|
|
638
|
+
declare const logDisableJoinLink: l.TypedObjectSchema<"chat.bsky.convo.defs#logDisableJoinLink", l.Validator<LogDisableJoinLink, LogDisableJoinLink>>;
|
|
639
|
+
export { logDisableJoinLink };
|
|
640
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made to a group the viewer owns. Only the owner gets this. */
|
|
641
|
+
type LogIncomingJoinRequest = {
|
|
642
|
+
$type?: 'chat.bsky.convo.defs#logIncomingJoinRequest';
|
|
643
|
+
rev: string;
|
|
644
|
+
convoId: string;
|
|
645
|
+
/**
|
|
646
|
+
* Prospective member who requested to join.
|
|
647
|
+
*/
|
|
648
|
+
member: ActorDefs.ProfileViewBasic;
|
|
649
|
+
};
|
|
650
|
+
export type { LogIncomingJoinRequest };
|
|
651
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made to a group the viewer owns. Only the owner gets this. */
|
|
652
|
+
declare const logIncomingJoinRequest: l.TypedObjectSchema<"chat.bsky.convo.defs#logIncomingJoinRequest", l.Validator<LogIncomingJoinRequest, LogIncomingJoinRequest>>;
|
|
653
|
+
export { logIncomingJoinRequest };
|
|
654
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was approved by the viewer. Only the owner gets this. The approved member gets a logBeginConvo. */
|
|
655
|
+
type LogApproveJoinRequest = {
|
|
656
|
+
$type?: 'chat.bsky.convo.defs#logApproveJoinRequest';
|
|
657
|
+
rev: string;
|
|
658
|
+
convoId: string;
|
|
659
|
+
/**
|
|
660
|
+
* Prospective member who requested to join.
|
|
661
|
+
*/
|
|
662
|
+
member: ActorDefs.ProfileViewBasic;
|
|
663
|
+
};
|
|
664
|
+
export type { LogApproveJoinRequest };
|
|
665
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was approved by the viewer. Only the owner gets this. The approved member gets a logBeginConvo. */
|
|
666
|
+
declare const logApproveJoinRequest: l.TypedObjectSchema<"chat.bsky.convo.defs#logApproveJoinRequest", l.Validator<LogApproveJoinRequest, LogApproveJoinRequest>>;
|
|
667
|
+
export { logApproveJoinRequest };
|
|
668
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was rejected by the viewer. Only the owner gets this. */
|
|
669
|
+
type LogRejectJoinRequest = {
|
|
670
|
+
$type?: 'chat.bsky.convo.defs#logRejectJoinRequest';
|
|
671
|
+
rev: string;
|
|
672
|
+
convoId: string;
|
|
673
|
+
/**
|
|
674
|
+
* Prospective member who requested to join.
|
|
675
|
+
*/
|
|
676
|
+
member: ActorDefs.ProfileViewBasic;
|
|
677
|
+
};
|
|
678
|
+
export type { LogRejectJoinRequest };
|
|
679
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was rejected by the viewer. Only the owner gets this. */
|
|
680
|
+
declare const logRejectJoinRequest: l.TypedObjectSchema<"chat.bsky.convo.defs#logRejectJoinRequest", l.Validator<LogRejectJoinRequest, LogRejectJoinRequest>>;
|
|
681
|
+
export { logRejectJoinRequest };
|
|
682
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer. */
|
|
683
|
+
type LogOutgoingJoinRequest = {
|
|
684
|
+
$type?: 'chat.bsky.convo.defs#logOutgoingJoinRequest';
|
|
685
|
+
rev: string;
|
|
686
|
+
convoId: string;
|
|
687
|
+
};
|
|
688
|
+
export type { LogOutgoingJoinRequest };
|
|
689
|
+
/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer. */
|
|
690
|
+
declare const logOutgoingJoinRequest: l.TypedObjectSchema<"chat.bsky.convo.defs#logOutgoingJoinRequest", l.Validator<LogOutgoingJoinRequest, LogOutgoingJoinRequest>>;
|
|
691
|
+
export { logOutgoingJoinRequest };
|
|
190
692
|
//# sourceMappingURL=defs.defs.d.ts.map
|