@atproto/api 0.19.7 → 0.19.9
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 +12 -0
- package/dist/client/index.d.ts +55 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +232 -16
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +3684 -658
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +1959 -270
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/images.d.ts +1 -1
- package/dist/client/types/app/bsky/embed/images.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/images.js.map +1 -1
- package/dist/client/types/chat/bsky/actor/declaration.d.ts +2 -0
- package/dist/client/types/chat/bsky/actor/declaration.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/actor/declaration.js.map +1 -1
- package/dist/client/types/chat/bsky/actor/defs.d.ts +20 -0
- package/dist/client/types/chat/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/actor/defs.js +18 -0
- package/dist/client/types/chat/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/acceptConvo.d.ts +4 -1
- package/dist/client/types/chat/bsky/convo/acceptConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/acceptConvo.js +15 -0
- package/dist/client/types/chat/bsky/convo/acceptConvo.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/addReaction.d.ts +6 -0
- package/dist/client/types/chat/bsky/convo/addReaction.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/addReaction.js +17 -1
- package/dist/client/types/chat/bsky/convo/addReaction.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +290 -3
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.js +288 -0
- package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.d.ts +7 -1
- package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.js +23 -0
- package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvo.d.ts +4 -1
- package/dist/client/types/chat/bsky/convo/getConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvo.js +15 -0
- package/dist/client/types/chat/bsky/convo/getConvo.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts +16 -1
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.js +47 -0
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getLog.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/getLog.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getLog.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getMessages.d.ts +5 -2
- package/dist/client/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getMessages.js +15 -0
- package/dist/client/types/chat/bsky/convo/getMessages.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/leaveConvo.d.ts +7 -1
- package/dist/client/types/chat/bsky/convo/leaveConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/leaveConvo.js +23 -0
- package/dist/client/types/chat/bsky/convo/leaveConvo.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/listConvoRequests.d.ts +29 -0
- package/dist/client/types/chat/bsky/convo/listConvoRequests.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/convo/listConvoRequests.js +11 -0
- package/dist/client/types/chat/bsky/convo/listConvoRequests.js.map +1 -0
- package/dist/client/types/chat/bsky/convo/listConvos.d.ts +3 -0
- package/dist/client/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/listConvos.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/lockConvo.d.ts +34 -0
- package/dist/client/types/chat/bsky/convo/lockConvo.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/convo/lockConvo.js +42 -0
- package/dist/client/types/chat/bsky/convo/lockConvo.js.map +1 -0
- package/dist/client/types/chat/bsky/convo/muteConvo.d.ts +4 -1
- package/dist/client/types/chat/bsky/convo/muteConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/muteConvo.js +15 -0
- package/dist/client/types/chat/bsky/convo/muteConvo.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/removeReaction.d.ts +6 -0
- package/dist/client/types/chat/bsky/convo/removeReaction.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/removeReaction.js +17 -1
- package/dist/client/types/chat/bsky/convo/removeReaction.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessage.d.ts +7 -1
- package/dist/client/types/chat/bsky/convo/sendMessage.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessage.js +23 -0
- package/dist/client/types/chat/bsky/convo/sendMessage.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessageBatch.d.ts +7 -1
- package/dist/client/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessageBatch.js +23 -0
- package/dist/client/types/chat/bsky/convo/sendMessageBatch.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/unlockConvo.d.ts +31 -0
- package/dist/client/types/chat/bsky/convo/unlockConvo.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/convo/unlockConvo.js +34 -0
- package/dist/client/types/chat/bsky/convo/unlockConvo.js.map +1 -0
- package/dist/client/types/chat/bsky/convo/unmuteConvo.d.ts +4 -1
- package/dist/client/types/chat/bsky/convo/unmuteConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/unmuteConvo.js +15 -0
- package/dist/client/types/chat/bsky/convo/unmuteConvo.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/updateRead.d.ts +4 -1
- package/dist/client/types/chat/bsky/convo/updateRead.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/updateRead.js +15 -0
- package/dist/client/types/chat/bsky/convo/updateRead.js.map +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.d.ts +53 -0
- package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/addMembers.js +90 -0
- package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -0
- package/dist/client/types/chat/bsky/group/approveJoinRequest.d.ts +35 -0
- package/dist/client/types/chat/bsky/group/approveJoinRequest.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/approveJoinRequest.js +42 -0
- package/dist/client/types/chat/bsky/group/approveJoinRequest.js.map +1 -0
- package/dist/client/types/chat/bsky/group/createGroup.d.ts +41 -0
- package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/createGroup.js +58 -0
- package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -0
- package/dist/client/types/chat/bsky/group/createJoinLink.d.ts +36 -0
- package/dist/client/types/chat/bsky/group/createJoinLink.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/createJoinLink.js +42 -0
- package/dist/client/types/chat/bsky/group/createJoinLink.js.map +1 -0
- package/dist/client/types/chat/bsky/group/defs.d.ts +35 -0
- package/dist/client/types/chat/bsky/group/defs.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/defs.js +34 -0
- package/dist/client/types/chat/bsky/group/defs.js.map +1 -0
- package/dist/client/types/chat/bsky/group/disableJoinLink.d.ts +34 -0
- package/dist/client/types/chat/bsky/group/disableJoinLink.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/disableJoinLink.js +42 -0
- package/dist/client/types/chat/bsky/group/disableJoinLink.js.map +1 -0
- package/dist/client/types/chat/bsky/group/editGroup.d.ts +35 -0
- package/dist/client/types/chat/bsky/group/editGroup.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/editGroup.js +42 -0
- package/dist/client/types/chat/bsky/group/editGroup.js.map +1 -0
- package/dist/client/types/chat/bsky/group/editJoinLink.d.ts +36 -0
- package/dist/client/types/chat/bsky/group/editJoinLink.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/editJoinLink.js +42 -0
- package/dist/client/types/chat/bsky/group/editJoinLink.js.map +1 -0
- package/dist/client/types/chat/bsky/group/enableJoinLink.d.ts +37 -0
- package/dist/client/types/chat/bsky/group/enableJoinLink.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/enableJoinLink.js +50 -0
- package/dist/client/types/chat/bsky/group/enableJoinLink.js.map +1 -0
- package/dist/client/types/chat/bsky/group/getGroupPublicInfo.d.ts +26 -0
- package/dist/client/types/chat/bsky/group/getGroupPublicInfo.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/getGroupPublicInfo.js +26 -0
- package/dist/client/types/chat/bsky/group/getGroupPublicInfo.js.map +1 -0
- package/dist/client/types/chat/bsky/group/listJoinRequests.d.ts +32 -0
- package/dist/client/types/chat/bsky/group/listJoinRequests.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/listJoinRequests.js +34 -0
- package/dist/client/types/chat/bsky/group/listJoinRequests.js.map +1 -0
- package/dist/client/types/chat/bsky/group/rejectJoinRequest.d.ts +30 -0
- package/dist/client/types/chat/bsky/group/rejectJoinRequest.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/rejectJoinRequest.js +34 -0
- package/dist/client/types/chat/bsky/group/rejectJoinRequest.js.map +1 -0
- package/dist/client/types/chat/bsky/group/removeMembers.d.ts +32 -0
- package/dist/client/types/chat/bsky/group/removeMembers.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/removeMembers.js +34 -0
- package/dist/client/types/chat/bsky/group/removeMembers.js.map +1 -0
- package/dist/client/types/chat/bsky/group/requestJoin.d.ts +44 -0
- package/dist/client/types/chat/bsky/group/requestJoin.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/requestJoin.js +66 -0
- package/dist/client/types/chat/bsky/group/requestJoin.js.map +1 -0
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +15 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js +16 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -0
- package/dist/moderation/subjects/status.d.ts.map +1 -1
- package/dist/moderation/subjects/status.js +2 -0
- package/dist/moderation/subjects/status.js.map +1 -1
- package/package.json +4 -4
- package/src/client/index.ts +278 -51
- package/src/client/lexicons.ts +2064 -287
- package/src/client/types/app/bsky/embed/images.ts +1 -1
- package/src/client/types/chat/bsky/actor/declaration.ts +2 -0
- package/src/client/types/chat/bsky/actor/defs.ts +39 -0
- package/src/client/types/chat/bsky/convo/acceptConvo.ts +10 -0
- package/src/client/types/chat/bsky/convo/addReaction.ts +14 -0
- package/src/client/types/chat/bsky/convo/defs.ts +651 -2
- package/src/client/types/chat/bsky/convo/deleteMessageForSelf.ts +18 -0
- package/src/client/types/chat/bsky/convo/getConvo.ts +10 -0
- package/src/client/types/chat/bsky/convo/getConvoForMembers.ts +39 -0
- package/src/client/types/chat/bsky/convo/getLog.ts +17 -0
- package/src/client/types/chat/bsky/convo/getMessages.ts +11 -0
- package/src/client/types/chat/bsky/convo/leaveConvo.ts +17 -0
- package/src/client/types/chat/bsky/convo/listConvoRequests.ts +48 -0
- package/src/client/types/chat/bsky/convo/listConvos.ts +3 -0
- package/src/client/types/chat/bsky/convo/lockConvo.ts +68 -0
- package/src/client/types/chat/bsky/convo/muteConvo.ts +10 -0
- package/src/client/types/chat/bsky/convo/removeReaction.ts +14 -0
- package/src/client/types/chat/bsky/convo/sendMessage.ts +17 -0
- package/src/client/types/chat/bsky/convo/sendMessageBatch.ts +17 -0
- package/src/client/types/chat/bsky/convo/unlockConvo.ts +61 -0
- package/src/client/types/chat/bsky/convo/unmuteConvo.ts +10 -0
- package/src/client/types/chat/bsky/convo/updateRead.ts +10 -0
- package/src/client/types/chat/bsky/group/addMembers.ts +113 -0
- package/src/client/types/chat/bsky/group/approveJoinRequest.ts +69 -0
- package/src/client/types/chat/bsky/group/createGroup.ts +85 -0
- package/src/client/types/chat/bsky/group/createJoinLink.ts +71 -0
- package/src/client/types/chat/bsky/group/defs.ts +73 -0
- package/src/client/types/chat/bsky/group/disableJoinLink.ts +68 -0
- package/src/client/types/chat/bsky/group/editGroup.ts +69 -0
- package/src/client/types/chat/bsky/group/editJoinLink.ts +70 -0
- package/src/client/types/chat/bsky/group/enableJoinLink.ts +75 -0
- package/src/client/types/chat/bsky/group/getGroupPublicInfo.ts +51 -0
- package/src/client/types/chat/bsky/group/listJoinRequests.ts +61 -0
- package/src/client/types/chat/bsky/group/rejectJoinRequest.ts +59 -0
- package/src/client/types/chat/bsky/group/removeMembers.ts +62 -0
- package/src/client/types/chat/bsky/group/requestJoin.ts +90 -0
- package/src/client/types/chat/bsky/moderation/getMessageContext.ts +1 -0
- package/src/client/types/chat/bsky/moderation/subscribeModEvents.ts +38 -0
- package/src/moderation/subjects/status.ts +2 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -6,6 +6,32 @@ exports.isMessageInput = isMessageInput;
|
|
|
6
6
|
exports.validateMessageInput = validateMessageInput;
|
|
7
7
|
exports.isMessageView = isMessageView;
|
|
8
8
|
exports.validateMessageView = validateMessageView;
|
|
9
|
+
exports.isSystemMessageView = isSystemMessageView;
|
|
10
|
+
exports.validateSystemMessageView = validateSystemMessageView;
|
|
11
|
+
exports.isSystemMessageDataAddMember = isSystemMessageDataAddMember;
|
|
12
|
+
exports.validateSystemMessageDataAddMember = validateSystemMessageDataAddMember;
|
|
13
|
+
exports.isSystemMessageDataRemoveMember = isSystemMessageDataRemoveMember;
|
|
14
|
+
exports.validateSystemMessageDataRemoveMember = validateSystemMessageDataRemoveMember;
|
|
15
|
+
exports.isSystemMessageDataMemberJoin = isSystemMessageDataMemberJoin;
|
|
16
|
+
exports.validateSystemMessageDataMemberJoin = validateSystemMessageDataMemberJoin;
|
|
17
|
+
exports.isSystemMessageDataMemberLeave = isSystemMessageDataMemberLeave;
|
|
18
|
+
exports.validateSystemMessageDataMemberLeave = validateSystemMessageDataMemberLeave;
|
|
19
|
+
exports.isSystemMessageDataLockConvo = isSystemMessageDataLockConvo;
|
|
20
|
+
exports.validateSystemMessageDataLockConvo = validateSystemMessageDataLockConvo;
|
|
21
|
+
exports.isSystemMessageDataUnlockConvo = isSystemMessageDataUnlockConvo;
|
|
22
|
+
exports.validateSystemMessageDataUnlockConvo = validateSystemMessageDataUnlockConvo;
|
|
23
|
+
exports.isSystemMessageDataLockConvoPermanently = isSystemMessageDataLockConvoPermanently;
|
|
24
|
+
exports.validateSystemMessageDataLockConvoPermanently = validateSystemMessageDataLockConvoPermanently;
|
|
25
|
+
exports.isSystemMessageDataEditGroup = isSystemMessageDataEditGroup;
|
|
26
|
+
exports.validateSystemMessageDataEditGroup = validateSystemMessageDataEditGroup;
|
|
27
|
+
exports.isSystemMessageDataCreateJoinLink = isSystemMessageDataCreateJoinLink;
|
|
28
|
+
exports.validateSystemMessageDataCreateJoinLink = validateSystemMessageDataCreateJoinLink;
|
|
29
|
+
exports.isSystemMessageDataEditJoinLink = isSystemMessageDataEditJoinLink;
|
|
30
|
+
exports.validateSystemMessageDataEditJoinLink = validateSystemMessageDataEditJoinLink;
|
|
31
|
+
exports.isSystemMessageDataEnableJoinLink = isSystemMessageDataEnableJoinLink;
|
|
32
|
+
exports.validateSystemMessageDataEnableJoinLink = validateSystemMessageDataEnableJoinLink;
|
|
33
|
+
exports.isSystemMessageDataDisableJoinLink = isSystemMessageDataDisableJoinLink;
|
|
34
|
+
exports.validateSystemMessageDataDisableJoinLink = validateSystemMessageDataDisableJoinLink;
|
|
9
35
|
exports.isDeletedMessageView = isDeletedMessageView;
|
|
10
36
|
exports.validateDeletedMessageView = validateDeletedMessageView;
|
|
11
37
|
exports.isMessageViewSender = isMessageViewSender;
|
|
@@ -18,6 +44,10 @@ exports.isMessageAndReactionView = isMessageAndReactionView;
|
|
|
18
44
|
exports.validateMessageAndReactionView = validateMessageAndReactionView;
|
|
19
45
|
exports.isConvoView = isConvoView;
|
|
20
46
|
exports.validateConvoView = validateConvoView;
|
|
47
|
+
exports.isDirectConvo = isDirectConvo;
|
|
48
|
+
exports.validateDirectConvo = validateDirectConvo;
|
|
49
|
+
exports.isGroupConvo = isGroupConvo;
|
|
50
|
+
exports.validateGroupConvo = validateGroupConvo;
|
|
21
51
|
exports.isLogBeginConvo = isLogBeginConvo;
|
|
22
52
|
exports.validateLogBeginConvo = validateLogBeginConvo;
|
|
23
53
|
exports.isLogAcceptConvo = isLogAcceptConvo;
|
|
@@ -38,6 +68,40 @@ exports.isLogAddReaction = isLogAddReaction;
|
|
|
38
68
|
exports.validateLogAddReaction = validateLogAddReaction;
|
|
39
69
|
exports.isLogRemoveReaction = isLogRemoveReaction;
|
|
40
70
|
exports.validateLogRemoveReaction = validateLogRemoveReaction;
|
|
71
|
+
exports.isLogReadConvo = isLogReadConvo;
|
|
72
|
+
exports.validateLogReadConvo = validateLogReadConvo;
|
|
73
|
+
exports.isLogAddMember = isLogAddMember;
|
|
74
|
+
exports.validateLogAddMember = validateLogAddMember;
|
|
75
|
+
exports.isLogRemoveMember = isLogRemoveMember;
|
|
76
|
+
exports.validateLogRemoveMember = validateLogRemoveMember;
|
|
77
|
+
exports.isLogMemberJoin = isLogMemberJoin;
|
|
78
|
+
exports.validateLogMemberJoin = validateLogMemberJoin;
|
|
79
|
+
exports.isLogMemberLeave = isLogMemberLeave;
|
|
80
|
+
exports.validateLogMemberLeave = validateLogMemberLeave;
|
|
81
|
+
exports.isLogLockConvo = isLogLockConvo;
|
|
82
|
+
exports.validateLogLockConvo = validateLogLockConvo;
|
|
83
|
+
exports.isLogUnlockConvo = isLogUnlockConvo;
|
|
84
|
+
exports.validateLogUnlockConvo = validateLogUnlockConvo;
|
|
85
|
+
exports.isLogLockConvoPermanently = isLogLockConvoPermanently;
|
|
86
|
+
exports.validateLogLockConvoPermanently = validateLogLockConvoPermanently;
|
|
87
|
+
exports.isLogEditGroup = isLogEditGroup;
|
|
88
|
+
exports.validateLogEditGroup = validateLogEditGroup;
|
|
89
|
+
exports.isLogCreateJoinLink = isLogCreateJoinLink;
|
|
90
|
+
exports.validateLogCreateJoinLink = validateLogCreateJoinLink;
|
|
91
|
+
exports.isLogEditJoinLink = isLogEditJoinLink;
|
|
92
|
+
exports.validateLogEditJoinLink = validateLogEditJoinLink;
|
|
93
|
+
exports.isLogEnableJoinLink = isLogEnableJoinLink;
|
|
94
|
+
exports.validateLogEnableJoinLink = validateLogEnableJoinLink;
|
|
95
|
+
exports.isLogDisableJoinLink = isLogDisableJoinLink;
|
|
96
|
+
exports.validateLogDisableJoinLink = validateLogDisableJoinLink;
|
|
97
|
+
exports.isLogIncomingJoinRequest = isLogIncomingJoinRequest;
|
|
98
|
+
exports.validateLogIncomingJoinRequest = validateLogIncomingJoinRequest;
|
|
99
|
+
exports.isLogApproveJoinRequest = isLogApproveJoinRequest;
|
|
100
|
+
exports.validateLogApproveJoinRequest = validateLogApproveJoinRequest;
|
|
101
|
+
exports.isLogRejectJoinRequest = isLogRejectJoinRequest;
|
|
102
|
+
exports.validateLogRejectJoinRequest = validateLogRejectJoinRequest;
|
|
103
|
+
exports.isLogOutgoingJoinRequest = isLogOutgoingJoinRequest;
|
|
104
|
+
exports.validateLogOutgoingJoinRequest = validateLogOutgoingJoinRequest;
|
|
41
105
|
const lexicons_1 = require("../../../../lexicons");
|
|
42
106
|
const util_1 = require("../../../../util");
|
|
43
107
|
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
@@ -63,6 +127,97 @@ function isMessageView(v) {
|
|
|
63
127
|
function validateMessageView(v) {
|
|
64
128
|
return validate(v, id, hashMessageView);
|
|
65
129
|
}
|
|
130
|
+
const hashSystemMessageView = 'systemMessageView';
|
|
131
|
+
function isSystemMessageView(v) {
|
|
132
|
+
return is$typed(v, id, hashSystemMessageView);
|
|
133
|
+
}
|
|
134
|
+
function validateSystemMessageView(v) {
|
|
135
|
+
return validate(v, id, hashSystemMessageView);
|
|
136
|
+
}
|
|
137
|
+
const hashSystemMessageDataAddMember = 'systemMessageDataAddMember';
|
|
138
|
+
function isSystemMessageDataAddMember(v) {
|
|
139
|
+
return is$typed(v, id, hashSystemMessageDataAddMember);
|
|
140
|
+
}
|
|
141
|
+
function validateSystemMessageDataAddMember(v) {
|
|
142
|
+
return validate(v, id, hashSystemMessageDataAddMember);
|
|
143
|
+
}
|
|
144
|
+
const hashSystemMessageDataRemoveMember = 'systemMessageDataRemoveMember';
|
|
145
|
+
function isSystemMessageDataRemoveMember(v) {
|
|
146
|
+
return is$typed(v, id, hashSystemMessageDataRemoveMember);
|
|
147
|
+
}
|
|
148
|
+
function validateSystemMessageDataRemoveMember(v) {
|
|
149
|
+
return validate(v, id, hashSystemMessageDataRemoveMember);
|
|
150
|
+
}
|
|
151
|
+
const hashSystemMessageDataMemberJoin = 'systemMessageDataMemberJoin';
|
|
152
|
+
function isSystemMessageDataMemberJoin(v) {
|
|
153
|
+
return is$typed(v, id, hashSystemMessageDataMemberJoin);
|
|
154
|
+
}
|
|
155
|
+
function validateSystemMessageDataMemberJoin(v) {
|
|
156
|
+
return validate(v, id, hashSystemMessageDataMemberJoin);
|
|
157
|
+
}
|
|
158
|
+
const hashSystemMessageDataMemberLeave = 'systemMessageDataMemberLeave';
|
|
159
|
+
function isSystemMessageDataMemberLeave(v) {
|
|
160
|
+
return is$typed(v, id, hashSystemMessageDataMemberLeave);
|
|
161
|
+
}
|
|
162
|
+
function validateSystemMessageDataMemberLeave(v) {
|
|
163
|
+
return validate(v, id, hashSystemMessageDataMemberLeave);
|
|
164
|
+
}
|
|
165
|
+
const hashSystemMessageDataLockConvo = 'systemMessageDataLockConvo';
|
|
166
|
+
function isSystemMessageDataLockConvo(v) {
|
|
167
|
+
return is$typed(v, id, hashSystemMessageDataLockConvo);
|
|
168
|
+
}
|
|
169
|
+
function validateSystemMessageDataLockConvo(v) {
|
|
170
|
+
return validate(v, id, hashSystemMessageDataLockConvo);
|
|
171
|
+
}
|
|
172
|
+
const hashSystemMessageDataUnlockConvo = 'systemMessageDataUnlockConvo';
|
|
173
|
+
function isSystemMessageDataUnlockConvo(v) {
|
|
174
|
+
return is$typed(v, id, hashSystemMessageDataUnlockConvo);
|
|
175
|
+
}
|
|
176
|
+
function validateSystemMessageDataUnlockConvo(v) {
|
|
177
|
+
return validate(v, id, hashSystemMessageDataUnlockConvo);
|
|
178
|
+
}
|
|
179
|
+
const hashSystemMessageDataLockConvoPermanently = 'systemMessageDataLockConvoPermanently';
|
|
180
|
+
function isSystemMessageDataLockConvoPermanently(v) {
|
|
181
|
+
return is$typed(v, id, hashSystemMessageDataLockConvoPermanently);
|
|
182
|
+
}
|
|
183
|
+
function validateSystemMessageDataLockConvoPermanently(v) {
|
|
184
|
+
return validate(v, id, hashSystemMessageDataLockConvoPermanently);
|
|
185
|
+
}
|
|
186
|
+
const hashSystemMessageDataEditGroup = 'systemMessageDataEditGroup';
|
|
187
|
+
function isSystemMessageDataEditGroup(v) {
|
|
188
|
+
return is$typed(v, id, hashSystemMessageDataEditGroup);
|
|
189
|
+
}
|
|
190
|
+
function validateSystemMessageDataEditGroup(v) {
|
|
191
|
+
return validate(v, id, hashSystemMessageDataEditGroup);
|
|
192
|
+
}
|
|
193
|
+
const hashSystemMessageDataCreateJoinLink = 'systemMessageDataCreateJoinLink';
|
|
194
|
+
function isSystemMessageDataCreateJoinLink(v) {
|
|
195
|
+
return is$typed(v, id, hashSystemMessageDataCreateJoinLink);
|
|
196
|
+
}
|
|
197
|
+
function validateSystemMessageDataCreateJoinLink(v) {
|
|
198
|
+
return validate(v, id, hashSystemMessageDataCreateJoinLink);
|
|
199
|
+
}
|
|
200
|
+
const hashSystemMessageDataEditJoinLink = 'systemMessageDataEditJoinLink';
|
|
201
|
+
function isSystemMessageDataEditJoinLink(v) {
|
|
202
|
+
return is$typed(v, id, hashSystemMessageDataEditJoinLink);
|
|
203
|
+
}
|
|
204
|
+
function validateSystemMessageDataEditJoinLink(v) {
|
|
205
|
+
return validate(v, id, hashSystemMessageDataEditJoinLink);
|
|
206
|
+
}
|
|
207
|
+
const hashSystemMessageDataEnableJoinLink = 'systemMessageDataEnableJoinLink';
|
|
208
|
+
function isSystemMessageDataEnableJoinLink(v) {
|
|
209
|
+
return is$typed(v, id, hashSystemMessageDataEnableJoinLink);
|
|
210
|
+
}
|
|
211
|
+
function validateSystemMessageDataEnableJoinLink(v) {
|
|
212
|
+
return validate(v, id, hashSystemMessageDataEnableJoinLink);
|
|
213
|
+
}
|
|
214
|
+
const hashSystemMessageDataDisableJoinLink = 'systemMessageDataDisableJoinLink';
|
|
215
|
+
function isSystemMessageDataDisableJoinLink(v) {
|
|
216
|
+
return is$typed(v, id, hashSystemMessageDataDisableJoinLink);
|
|
217
|
+
}
|
|
218
|
+
function validateSystemMessageDataDisableJoinLink(v) {
|
|
219
|
+
return validate(v, id, hashSystemMessageDataDisableJoinLink);
|
|
220
|
+
}
|
|
66
221
|
const hashDeletedMessageView = 'deletedMessageView';
|
|
67
222
|
function isDeletedMessageView(v) {
|
|
68
223
|
return is$typed(v, id, hashDeletedMessageView);
|
|
@@ -105,6 +260,20 @@ function isConvoView(v) {
|
|
|
105
260
|
function validateConvoView(v) {
|
|
106
261
|
return validate(v, id, hashConvoView);
|
|
107
262
|
}
|
|
263
|
+
const hashDirectConvo = 'directConvo';
|
|
264
|
+
function isDirectConvo(v) {
|
|
265
|
+
return is$typed(v, id, hashDirectConvo);
|
|
266
|
+
}
|
|
267
|
+
function validateDirectConvo(v) {
|
|
268
|
+
return validate(v, id, hashDirectConvo);
|
|
269
|
+
}
|
|
270
|
+
const hashGroupConvo = 'groupConvo';
|
|
271
|
+
function isGroupConvo(v) {
|
|
272
|
+
return is$typed(v, id, hashGroupConvo);
|
|
273
|
+
}
|
|
274
|
+
function validateGroupConvo(v) {
|
|
275
|
+
return validate(v, id, hashGroupConvo);
|
|
276
|
+
}
|
|
108
277
|
const hashLogBeginConvo = 'logBeginConvo';
|
|
109
278
|
function isLogBeginConvo(v) {
|
|
110
279
|
return is$typed(v, id, hashLogBeginConvo);
|
|
@@ -175,4 +344,123 @@ function isLogRemoveReaction(v) {
|
|
|
175
344
|
function validateLogRemoveReaction(v) {
|
|
176
345
|
return validate(v, id, hashLogRemoveReaction);
|
|
177
346
|
}
|
|
347
|
+
const hashLogReadConvo = 'logReadConvo';
|
|
348
|
+
function isLogReadConvo(v) {
|
|
349
|
+
return is$typed(v, id, hashLogReadConvo);
|
|
350
|
+
}
|
|
351
|
+
function validateLogReadConvo(v) {
|
|
352
|
+
return validate(v, id, hashLogReadConvo);
|
|
353
|
+
}
|
|
354
|
+
const hashLogAddMember = 'logAddMember';
|
|
355
|
+
function isLogAddMember(v) {
|
|
356
|
+
return is$typed(v, id, hashLogAddMember);
|
|
357
|
+
}
|
|
358
|
+
function validateLogAddMember(v) {
|
|
359
|
+
return validate(v, id, hashLogAddMember);
|
|
360
|
+
}
|
|
361
|
+
const hashLogRemoveMember = 'logRemoveMember';
|
|
362
|
+
function isLogRemoveMember(v) {
|
|
363
|
+
return is$typed(v, id, hashLogRemoveMember);
|
|
364
|
+
}
|
|
365
|
+
function validateLogRemoveMember(v) {
|
|
366
|
+
return validate(v, id, hashLogRemoveMember);
|
|
367
|
+
}
|
|
368
|
+
const hashLogMemberJoin = 'logMemberJoin';
|
|
369
|
+
function isLogMemberJoin(v) {
|
|
370
|
+
return is$typed(v, id, hashLogMemberJoin);
|
|
371
|
+
}
|
|
372
|
+
function validateLogMemberJoin(v) {
|
|
373
|
+
return validate(v, id, hashLogMemberJoin);
|
|
374
|
+
}
|
|
375
|
+
const hashLogMemberLeave = 'logMemberLeave';
|
|
376
|
+
function isLogMemberLeave(v) {
|
|
377
|
+
return is$typed(v, id, hashLogMemberLeave);
|
|
378
|
+
}
|
|
379
|
+
function validateLogMemberLeave(v) {
|
|
380
|
+
return validate(v, id, hashLogMemberLeave);
|
|
381
|
+
}
|
|
382
|
+
const hashLogLockConvo = 'logLockConvo';
|
|
383
|
+
function isLogLockConvo(v) {
|
|
384
|
+
return is$typed(v, id, hashLogLockConvo);
|
|
385
|
+
}
|
|
386
|
+
function validateLogLockConvo(v) {
|
|
387
|
+
return validate(v, id, hashLogLockConvo);
|
|
388
|
+
}
|
|
389
|
+
const hashLogUnlockConvo = 'logUnlockConvo';
|
|
390
|
+
function isLogUnlockConvo(v) {
|
|
391
|
+
return is$typed(v, id, hashLogUnlockConvo);
|
|
392
|
+
}
|
|
393
|
+
function validateLogUnlockConvo(v) {
|
|
394
|
+
return validate(v, id, hashLogUnlockConvo);
|
|
395
|
+
}
|
|
396
|
+
const hashLogLockConvoPermanently = 'logLockConvoPermanently';
|
|
397
|
+
function isLogLockConvoPermanently(v) {
|
|
398
|
+
return is$typed(v, id, hashLogLockConvoPermanently);
|
|
399
|
+
}
|
|
400
|
+
function validateLogLockConvoPermanently(v) {
|
|
401
|
+
return validate(v, id, hashLogLockConvoPermanently);
|
|
402
|
+
}
|
|
403
|
+
const hashLogEditGroup = 'logEditGroup';
|
|
404
|
+
function isLogEditGroup(v) {
|
|
405
|
+
return is$typed(v, id, hashLogEditGroup);
|
|
406
|
+
}
|
|
407
|
+
function validateLogEditGroup(v) {
|
|
408
|
+
return validate(v, id, hashLogEditGroup);
|
|
409
|
+
}
|
|
410
|
+
const hashLogCreateJoinLink = 'logCreateJoinLink';
|
|
411
|
+
function isLogCreateJoinLink(v) {
|
|
412
|
+
return is$typed(v, id, hashLogCreateJoinLink);
|
|
413
|
+
}
|
|
414
|
+
function validateLogCreateJoinLink(v) {
|
|
415
|
+
return validate(v, id, hashLogCreateJoinLink);
|
|
416
|
+
}
|
|
417
|
+
const hashLogEditJoinLink = 'logEditJoinLink';
|
|
418
|
+
function isLogEditJoinLink(v) {
|
|
419
|
+
return is$typed(v, id, hashLogEditJoinLink);
|
|
420
|
+
}
|
|
421
|
+
function validateLogEditJoinLink(v) {
|
|
422
|
+
return validate(v, id, hashLogEditJoinLink);
|
|
423
|
+
}
|
|
424
|
+
const hashLogEnableJoinLink = 'logEnableJoinLink';
|
|
425
|
+
function isLogEnableJoinLink(v) {
|
|
426
|
+
return is$typed(v, id, hashLogEnableJoinLink);
|
|
427
|
+
}
|
|
428
|
+
function validateLogEnableJoinLink(v) {
|
|
429
|
+
return validate(v, id, hashLogEnableJoinLink);
|
|
430
|
+
}
|
|
431
|
+
const hashLogDisableJoinLink = 'logDisableJoinLink';
|
|
432
|
+
function isLogDisableJoinLink(v) {
|
|
433
|
+
return is$typed(v, id, hashLogDisableJoinLink);
|
|
434
|
+
}
|
|
435
|
+
function validateLogDisableJoinLink(v) {
|
|
436
|
+
return validate(v, id, hashLogDisableJoinLink);
|
|
437
|
+
}
|
|
438
|
+
const hashLogIncomingJoinRequest = 'logIncomingJoinRequest';
|
|
439
|
+
function isLogIncomingJoinRequest(v) {
|
|
440
|
+
return is$typed(v, id, hashLogIncomingJoinRequest);
|
|
441
|
+
}
|
|
442
|
+
function validateLogIncomingJoinRequest(v) {
|
|
443
|
+
return validate(v, id, hashLogIncomingJoinRequest);
|
|
444
|
+
}
|
|
445
|
+
const hashLogApproveJoinRequest = 'logApproveJoinRequest';
|
|
446
|
+
function isLogApproveJoinRequest(v) {
|
|
447
|
+
return is$typed(v, id, hashLogApproveJoinRequest);
|
|
448
|
+
}
|
|
449
|
+
function validateLogApproveJoinRequest(v) {
|
|
450
|
+
return validate(v, id, hashLogApproveJoinRequest);
|
|
451
|
+
}
|
|
452
|
+
const hashLogRejectJoinRequest = 'logRejectJoinRequest';
|
|
453
|
+
function isLogRejectJoinRequest(v) {
|
|
454
|
+
return is$typed(v, id, hashLogRejectJoinRequest);
|
|
455
|
+
}
|
|
456
|
+
function validateLogRejectJoinRequest(v) {
|
|
457
|
+
return validate(v, id, hashLogRejectJoinRequest);
|
|
458
|
+
}
|
|
459
|
+
const hashLogOutgoingJoinRequest = 'logOutgoingJoinRequest';
|
|
460
|
+
function isLogOutgoingJoinRequest(v) {
|
|
461
|
+
return is$typed(v, id, hashLogOutgoingJoinRequest);
|
|
462
|
+
}
|
|
463
|
+
function validateLogOutgoingJoinRequest(v) {
|
|
464
|
+
return validate(v, id, hashLogOutgoingJoinRequest);
|
|
465
|
+
}
|
|
178
466
|
//# sourceMappingURL=defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":";;AA4BA,oCAEC;AAED,gDAEC;AAYD,wCAEC;AAED,oDAEC;AAkBD,sCAEC;AAED,kDAEC;AAYD,oDAEC;AAED,gEAEC;AASD,kDAEC;AAED,8DAEC;AAWD,wCAEC;AAED,oDAEC;AASD,oDAEC;AAED,gEAEC;AAUD,4DAEC;AAED,wEAEC;AAmBD,kCAEC;AAED,8CAEC;AAUD,0CAEC;AAED,sDAEC;AAUD,4CAEC;AAED,wDAEC;AAUD,0CAEC;AAED,sDAEC;AAUD,wCAEC;AAED,oDAEC;AAUD,4CAEC;AAED,wDAEC;AAWD,gDAEC;AAED,4DAEC;AAWD,gDAEC;AAED,4DAEC;AAWD,4CAEC;AAED,wDAEC;AAYD,4CAEC;AAED,wDAEC;AAYD,kDAEC;AAED,8DAEC;AAxVD,mDAA4D;AAC5D,2CAIyB;AAKzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAA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,GAAG,mBAAmB,CAAA;AAEjD,SAAgB,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AAC/C,CAAC;AAED,SAAgB,yBAAyB,CAAI,CAAI;IAC/C,OAAO,QAAQ,CAAwB,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AACtE,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyRichtextFacet from '../../../app/bsky/richtext/facet.js'\nimport type * as AppBskyEmbedRecord from '../../../app/bsky/embed/record.js'\nimport type * as ChatBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.convo.defs'\n\nexport interface MessageRef {\n $type?: 'chat.bsky.convo.defs#messageRef'\n did: string\n convoId: string\n messageId: string\n}\n\nconst hashMessageRef = 'messageRef'\n\nexport function isMessageRef<V>(v: V) {\n return is$typed(v, id, hashMessageRef)\n}\n\nexport function validateMessageRef<V>(v: V) {\n return validate<MessageRef & V>(v, id, hashMessageRef)\n}\n\nexport interface MessageInput {\n $type?: 'chat.bsky.convo.defs#messageInput'\n text: string\n /** Annotations of text (mentions, URLs, hashtags, etc) */\n facets?: AppBskyRichtextFacet.Main[]\n embed?: $Typed<AppBskyEmbedRecord.Main> | { $type: string }\n}\n\nconst hashMessageInput = 'messageInput'\n\nexport function isMessageInput<V>(v: V) {\n return is$typed(v, id, hashMessageInput)\n}\n\nexport function validateMessageInput<V>(v: V) {\n return validate<MessageInput & V>(v, id, hashMessageInput)\n}\n\nexport interface MessageView {\n $type?: 'chat.bsky.convo.defs#messageView'\n id: string\n rev: string\n text: string\n /** Annotations of text (mentions, URLs, hashtags, etc) */\n facets?: AppBskyRichtextFacet.Main[]\n embed?: $Typed<AppBskyEmbedRecord.View> | { $type: string }\n /** Reactions to this message, in ascending order of creation time. */\n reactions?: ReactionView[]\n sender: MessageViewSender\n sentAt: string\n}\n\nconst hashMessageView = 'messageView'\n\nexport function isMessageView<V>(v: V) {\n return is$typed(v, id, hashMessageView)\n}\n\nexport function validateMessageView<V>(v: V) {\n return validate<MessageView & V>(v, id, hashMessageView)\n}\n\nexport interface DeletedMessageView {\n $type?: 'chat.bsky.convo.defs#deletedMessageView'\n id: string\n rev: string\n sender: MessageViewSender\n sentAt: string\n}\n\nconst hashDeletedMessageView = 'deletedMessageView'\n\nexport function isDeletedMessageView<V>(v: V) {\n return is$typed(v, id, hashDeletedMessageView)\n}\n\nexport function validateDeletedMessageView<V>(v: V) {\n return validate<DeletedMessageView & V>(v, id, hashDeletedMessageView)\n}\n\nexport interface MessageViewSender {\n $type?: 'chat.bsky.convo.defs#messageViewSender'\n did: string\n}\n\nconst hashMessageViewSender = 'messageViewSender'\n\nexport function isMessageViewSender<V>(v: V) {\n return is$typed(v, id, hashMessageViewSender)\n}\n\nexport function validateMessageViewSender<V>(v: V) {\n return validate<MessageViewSender & V>(v, id, hashMessageViewSender)\n}\n\nexport interface ReactionView {\n $type?: 'chat.bsky.convo.defs#reactionView'\n value: string\n sender: ReactionViewSender\n createdAt: string\n}\n\nconst hashReactionView = 'reactionView'\n\nexport function isReactionView<V>(v: V) {\n return is$typed(v, id, hashReactionView)\n}\n\nexport function validateReactionView<V>(v: V) {\n return validate<ReactionView & V>(v, id, hashReactionView)\n}\n\nexport interface ReactionViewSender {\n $type?: 'chat.bsky.convo.defs#reactionViewSender'\n did: string\n}\n\nconst hashReactionViewSender = 'reactionViewSender'\n\nexport function isReactionViewSender<V>(v: V) {\n return is$typed(v, id, hashReactionViewSender)\n}\n\nexport function validateReactionViewSender<V>(v: V) {\n return validate<ReactionViewSender & V>(v, id, hashReactionViewSender)\n}\n\nexport interface MessageAndReactionView {\n $type?: 'chat.bsky.convo.defs#messageAndReactionView'\n message: MessageView\n reaction: ReactionView\n}\n\nconst hashMessageAndReactionView = 'messageAndReactionView'\n\nexport function isMessageAndReactionView<V>(v: V) {\n return is$typed(v, id, hashMessageAndReactionView)\n}\n\nexport function validateMessageAndReactionView<V>(v: V) {\n return validate<MessageAndReactionView & V>(v, id, hashMessageAndReactionView)\n}\n\nexport interface ConvoView {\n $type?: 'chat.bsky.convo.defs#convoView'\n id: string\n rev: string\n members: ChatBskyActorDefs.ProfileViewBasic[]\n lastMessage?:\n | $Typed<MessageView>\n | $Typed<DeletedMessageView>\n | { $type: string }\n lastReaction?: $Typed<MessageAndReactionView> | { $type: string }\n muted: boolean\n status?: 'request' | 'accepted' | (string & {})\n unreadCount: number\n}\n\nconst hashConvoView = 'convoView'\n\nexport function isConvoView<V>(v: V) {\n return is$typed(v, id, hashConvoView)\n}\n\nexport function validateConvoView<V>(v: V) {\n return validate<ConvoView & V>(v, id, hashConvoView)\n}\n\nexport interface LogBeginConvo {\n $type?: 'chat.bsky.convo.defs#logBeginConvo'\n rev: string\n convoId: string\n}\n\nconst hashLogBeginConvo = 'logBeginConvo'\n\nexport function isLogBeginConvo<V>(v: V) {\n return is$typed(v, id, hashLogBeginConvo)\n}\n\nexport function validateLogBeginConvo<V>(v: V) {\n return validate<LogBeginConvo & V>(v, id, hashLogBeginConvo)\n}\n\nexport interface LogAcceptConvo {\n $type?: 'chat.bsky.convo.defs#logAcceptConvo'\n rev: string\n convoId: string\n}\n\nconst hashLogAcceptConvo = 'logAcceptConvo'\n\nexport function isLogAcceptConvo<V>(v: V) {\n return is$typed(v, id, hashLogAcceptConvo)\n}\n\nexport function validateLogAcceptConvo<V>(v: V) {\n return validate<LogAcceptConvo & V>(v, id, hashLogAcceptConvo)\n}\n\nexport interface LogLeaveConvo {\n $type?: 'chat.bsky.convo.defs#logLeaveConvo'\n rev: string\n convoId: string\n}\n\nconst hashLogLeaveConvo = 'logLeaveConvo'\n\nexport function isLogLeaveConvo<V>(v: V) {\n return is$typed(v, id, hashLogLeaveConvo)\n}\n\nexport function validateLogLeaveConvo<V>(v: V) {\n return validate<LogLeaveConvo & V>(v, id, hashLogLeaveConvo)\n}\n\nexport interface LogMuteConvo {\n $type?: 'chat.bsky.convo.defs#logMuteConvo'\n rev: string\n convoId: string\n}\n\nconst hashLogMuteConvo = 'logMuteConvo'\n\nexport function isLogMuteConvo<V>(v: V) {\n return is$typed(v, id, hashLogMuteConvo)\n}\n\nexport function validateLogMuteConvo<V>(v: V) {\n return validate<LogMuteConvo & V>(v, id, hashLogMuteConvo)\n}\n\nexport interface LogUnmuteConvo {\n $type?: 'chat.bsky.convo.defs#logUnmuteConvo'\n rev: string\n convoId: string\n}\n\nconst hashLogUnmuteConvo = 'logUnmuteConvo'\n\nexport function isLogUnmuteConvo<V>(v: V) {\n return is$typed(v, id, hashLogUnmuteConvo)\n}\n\nexport function validateLogUnmuteConvo<V>(v: V) {\n return validate<LogUnmuteConvo & V>(v, id, hashLogUnmuteConvo)\n}\n\nexport interface LogCreateMessage {\n $type?: 'chat.bsky.convo.defs#logCreateMessage'\n rev: string\n convoId: string\n message: $Typed<MessageView> | $Typed<DeletedMessageView> | { $type: string }\n}\n\nconst hashLogCreateMessage = 'logCreateMessage'\n\nexport function isLogCreateMessage<V>(v: V) {\n return is$typed(v, id, hashLogCreateMessage)\n}\n\nexport function validateLogCreateMessage<V>(v: V) {\n return validate<LogCreateMessage & V>(v, id, hashLogCreateMessage)\n}\n\nexport interface LogDeleteMessage {\n $type?: 'chat.bsky.convo.defs#logDeleteMessage'\n rev: string\n convoId: string\n message: $Typed<MessageView> | $Typed<DeletedMessageView> | { $type: string }\n}\n\nconst hashLogDeleteMessage = 'logDeleteMessage'\n\nexport function isLogDeleteMessage<V>(v: V) {\n return is$typed(v, id, hashLogDeleteMessage)\n}\n\nexport function validateLogDeleteMessage<V>(v: V) {\n return validate<LogDeleteMessage & V>(v, id, hashLogDeleteMessage)\n}\n\nexport interface LogReadMessage {\n $type?: 'chat.bsky.convo.defs#logReadMessage'\n rev: string\n convoId: string\n message: $Typed<MessageView> | $Typed<DeletedMessageView> | { $type: string }\n}\n\nconst hashLogReadMessage = 'logReadMessage'\n\nexport function isLogReadMessage<V>(v: V) {\n return is$typed(v, id, hashLogReadMessage)\n}\n\nexport function validateLogReadMessage<V>(v: V) {\n return validate<LogReadMessage & V>(v, id, hashLogReadMessage)\n}\n\nexport interface LogAddReaction {\n $type?: 'chat.bsky.convo.defs#logAddReaction'\n rev: string\n convoId: string\n message: $Typed<MessageView> | $Typed<DeletedMessageView> | { $type: string }\n reaction: ReactionView\n}\n\nconst hashLogAddReaction = 'logAddReaction'\n\nexport function isLogAddReaction<V>(v: V) {\n return is$typed(v, id, hashLogAddReaction)\n}\n\nexport function validateLogAddReaction<V>(v: V) {\n return validate<LogAddReaction & V>(v, id, hashLogAddReaction)\n}\n\nexport interface LogRemoveReaction {\n $type?: 'chat.bsky.convo.defs#logRemoveReaction'\n rev: string\n convoId: string\n message: $Typed<MessageView> | $Typed<DeletedMessageView> | { $type: string }\n reaction: ReactionView\n}\n\nconst hashLogRemoveReaction = 'logRemoveReaction'\n\nexport function isLogRemoveReaction<V>(v: V) {\n return is$typed(v, id, hashLogRemoveReaction)\n}\n\nexport function validateLogRemoveReaction<V>(v: V) {\n return validate<LogRemoveReaction & V>(v, id, hashLogRemoveReaction)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":";;AAqCA,oCAEC;AAED,gDAEC;AAYD,wCAEC;AAED,oDAEC;AAkBD,sCAEC;AAED,kDAEC;AA0BD,kDAEC;AAED,8DAEC;AAYD,oEAEC;AAED,gFAMC;AAWD,0EAEC;AAED,sFAMC;AAYD,sEAEC;AAED,kFAMC;AAUD,wEAEC;AAED,oFAMC;AAUD,oEAEC;AAED,gFAMC;AAUD,wEAEC;AAED,oFAM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AAE3D,SAAgB,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AACpD,CAAC;AAED,SAAgB,8BAA8B,CAAI,CAAI;IACpD,OAAO,QAAQ,CAA6B,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AAChF,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyRichtextFacet from '../../../app/bsky/richtext/facet.js'\nimport type * as AppBskyEmbedRecord from '../../../app/bsky/embed/record.js'\nimport type * as ChatBskyActorDefs from '../actor/defs.js'\nimport type * as ChatBskyGroupDefs from '../group/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.convo.defs'\n\nexport type ConvoKind = 'direct' | 'group' | (string & {})\nexport type ConvoLockStatus =\n | 'unlocked'\n | 'locked'\n | 'locked-permanently'\n | (string & {})\nexport type ConvoStatus = 'request' | 'accepted' | (string & {})\n\nexport interface MessageRef {\n $type?: 'chat.bsky.convo.defs#messageRef'\n did: string\n convoId: string\n messageId: string\n}\n\nconst hashMessageRef = 'messageRef'\n\nexport function isMessageRef<V>(v: V) {\n return is$typed(v, id, hashMessageRef)\n}\n\nexport function validateMessageRef<V>(v: V) {\n return validate<MessageRef & V>(v, id, hashMessageRef)\n}\n\nexport interface MessageInput {\n $type?: 'chat.bsky.convo.defs#messageInput'\n text: string\n /** Annotations of text (mentions, URLs, hashtags, etc) */\n facets?: AppBskyRichtextFacet.Main[]\n embed?: $Typed<AppBskyEmbedRecord.Main> | { $type: string }\n}\n\nconst hashMessageInput = 'messageInput'\n\nexport function isMessageInput<V>(v: V) {\n return is$typed(v, id, hashMessageInput)\n}\n\nexport function validateMessageInput<V>(v: V) {\n return validate<MessageInput & V>(v, id, hashMessageInput)\n}\n\nexport interface MessageView {\n $type?: 'chat.bsky.convo.defs#messageView'\n id: string\n rev: string\n text: string\n /** Annotations of text (mentions, URLs, hashtags, etc) */\n facets?: AppBskyRichtextFacet.Main[]\n embed?: $Typed<AppBskyEmbedRecord.View> | { $type: string }\n /** Reactions to this message, in ascending order of creation time. */\n reactions?: ReactionView[]\n sender: MessageViewSender\n sentAt: string\n}\n\nconst hashMessageView = 'messageView'\n\nexport function isMessageView<V>(v: V) {\n return is$typed(v, id, hashMessageView)\n}\n\nexport function validateMessageView<V>(v: V) {\n return validate<MessageView & V>(v, id, hashMessageView)\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nexport interface SystemMessageView {\n $type?: 'chat.bsky.convo.defs#systemMessageView'\n id: string\n rev: string\n sentAt: string\n data:\n | $Typed<SystemMessageDataAddMember>\n | $Typed<SystemMessageDataRemoveMember>\n | $Typed<SystemMessageDataMemberJoin>\n | $Typed<SystemMessageDataMemberLeave>\n | $Typed<SystemMessageDataLockConvo>\n | $Typed<SystemMessageDataUnlockConvo>\n | $Typed<SystemMessageDataLockConvoPermanently>\n | $Typed<SystemMessageDataEditGroup>\n | $Typed<SystemMessageDataCreateJoinLink>\n | $Typed<SystemMessageDataEditJoinLink>\n | $Typed<SystemMessageDataEnableJoinLink>\n | $Typed<SystemMessageDataDisableJoinLink>\n | { $type: string }\n}\n\nconst hashSystemMessageView = 'systemMessageView'\n\nexport function isSystemMessageView<V>(v: V) {\n return is$typed(v, id, hashSystemMessageView)\n}\n\nexport function validateSystemMessageView<V>(v: V) {\n return validate<SystemMessageView & V>(v, id, hashSystemMessageView)\n}\n\n/** [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. */\nexport interface SystemMessageDataAddMember {\n $type?: 'chat.bsky.convo.defs#systemMessageDataAddMember'\n member: ChatBskyActorDefs.ProfileViewBasic\n role: ChatBskyActorDefs.MemberRole\n addedBy: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashSystemMessageDataAddMember = 'systemMessageDataAddMember'\n\nexport function isSystemMessageDataAddMember<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataAddMember)\n}\n\nexport function validateSystemMessageDataAddMember<V>(v: V) {\n return validate<SystemMessageDataAddMember & V>(\n v,\n id,\n hashSystemMessageDataAddMember,\n )\n}\n\n/** [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. */\nexport interface SystemMessageDataRemoveMember {\n $type?: 'chat.bsky.convo.defs#systemMessageDataRemoveMember'\n member: ChatBskyActorDefs.ProfileViewBasic\n removedBy: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashSystemMessageDataRemoveMember = 'systemMessageDataRemoveMember'\n\nexport function isSystemMessageDataRemoveMember<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataRemoveMember)\n}\n\nexport function validateSystemMessageDataRemoveMember<V>(v: V) {\n return validate<SystemMessageDataRemoveMember & V>(\n v,\n id,\n hashSystemMessageDataRemoveMember,\n )\n}\n\n/** [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. */\nexport interface SystemMessageDataMemberJoin {\n $type?: 'chat.bsky.convo.defs#systemMessageDataMemberJoin'\n member: ChatBskyActorDefs.ProfileViewBasic\n role: ChatBskyActorDefs.MemberRole\n approvedBy?: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashSystemMessageDataMemberJoin = 'systemMessageDataMemberJoin'\n\nexport function isSystemMessageDataMemberJoin<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataMemberJoin)\n}\n\nexport function validateSystemMessageDataMemberJoin<V>(v: V) {\n return validate<SystemMessageDataMemberJoin & V>(\n v,\n id,\n hashSystemMessageDataMemberJoin,\n )\n}\n\n/** [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. */\nexport interface SystemMessageDataMemberLeave {\n $type?: 'chat.bsky.convo.defs#systemMessageDataMemberLeave'\n member: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashSystemMessageDataMemberLeave = 'systemMessageDataMemberLeave'\n\nexport function isSystemMessageDataMemberLeave<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataMemberLeave)\n}\n\nexport function validateSystemMessageDataMemberLeave<V>(v: V) {\n return validate<SystemMessageDataMemberLeave & V>(\n v,\n id,\n hashSystemMessageDataMemberLeave,\n )\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked. */\nexport interface SystemMessageDataLockConvo {\n $type?: 'chat.bsky.convo.defs#systemMessageDataLockConvo'\n lockedBy: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashSystemMessageDataLockConvo = 'systemMessageDataLockConvo'\n\nexport function isSystemMessageDataLockConvo<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataLockConvo)\n}\n\nexport function validateSystemMessageDataLockConvo<V>(v: V) {\n return validate<SystemMessageDataLockConvo & V>(\n v,\n id,\n hashSystemMessageDataLockConvo,\n )\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was unlocked. */\nexport interface SystemMessageDataUnlockConvo {\n $type?: 'chat.bsky.convo.defs#systemMessageDataUnlockConvo'\n unlockedBy: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashSystemMessageDataUnlockConvo = 'systemMessageDataUnlockConvo'\n\nexport function isSystemMessageDataUnlockConvo<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataUnlockConvo)\n}\n\nexport function validateSystemMessageDataUnlockConvo<V>(v: V) {\n return validate<SystemMessageDataUnlockConvo & V>(\n v,\n id,\n hashSystemMessageDataUnlockConvo,\n )\n}\n\n/** [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. */\nexport interface SystemMessageDataLockConvoPermanently {\n $type?: 'chat.bsky.convo.defs#systemMessageDataLockConvoPermanently'\n lockedBy: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashSystemMessageDataLockConvoPermanently =\n 'systemMessageDataLockConvoPermanently'\n\nexport function isSystemMessageDataLockConvoPermanently<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataLockConvoPermanently)\n}\n\nexport function validateSystemMessageDataLockConvoPermanently<V>(v: V) {\n return validate<SystemMessageDataLockConvoPermanently & V>(\n v,\n id,\n hashSystemMessageDataLockConvoPermanently,\n )\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group info was edited. */\nexport interface SystemMessageDataEditGroup {\n $type?: 'chat.bsky.convo.defs#systemMessageDataEditGroup'\n /** Group name that was replaced. */\n oldName?: string\n /** Group name that replaced the old. */\n newName?: string\n}\n\nconst hashSystemMessageDataEditGroup = 'systemMessageDataEditGroup'\n\nexport function isSystemMessageDataEditGroup<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataEditGroup)\n}\n\nexport function validateSystemMessageDataEditGroup<V>(v: V) {\n return validate<SystemMessageDataEditGroup & V>(\n v,\n id,\n hashSystemMessageDataEditGroup,\n )\n}\n\n/** [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. */\nexport interface SystemMessageDataCreateJoinLink {\n $type?: 'chat.bsky.convo.defs#systemMessageDataCreateJoinLink'\n}\n\nconst hashSystemMessageDataCreateJoinLink = 'systemMessageDataCreateJoinLink'\n\nexport function isSystemMessageDataCreateJoinLink<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataCreateJoinLink)\n}\n\nexport function validateSystemMessageDataCreateJoinLink<V>(v: V) {\n return validate<SystemMessageDataCreateJoinLink & V>(\n v,\n id,\n hashSystemMessageDataCreateJoinLink,\n )\n}\n\n/** [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. */\nexport interface SystemMessageDataEditJoinLink {\n $type?: 'chat.bsky.convo.defs#systemMessageDataEditJoinLink'\n}\n\nconst hashSystemMessageDataEditJoinLink = 'systemMessageDataEditJoinLink'\n\nexport function isSystemMessageDataEditJoinLink<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataEditJoinLink)\n}\n\nexport function validateSystemMessageDataEditJoinLink<V>(v: V) {\n return validate<SystemMessageDataEditJoinLink & V>(\n v,\n id,\n hashSystemMessageDataEditJoinLink,\n )\n}\n\n/** [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. */\nexport interface SystemMessageDataEnableJoinLink {\n $type?: 'chat.bsky.convo.defs#systemMessageDataEnableJoinLink'\n}\n\nconst hashSystemMessageDataEnableJoinLink = 'systemMessageDataEnableJoinLink'\n\nexport function isSystemMessageDataEnableJoinLink<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataEnableJoinLink)\n}\n\nexport function validateSystemMessageDataEnableJoinLink<V>(v: V) {\n return validate<SystemMessageDataEnableJoinLink & V>(\n v,\n id,\n hashSystemMessageDataEnableJoinLink,\n )\n}\n\n/** [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. */\nexport interface SystemMessageDataDisableJoinLink {\n $type?: 'chat.bsky.convo.defs#systemMessageDataDisableJoinLink'\n}\n\nconst hashSystemMessageDataDisableJoinLink = 'systemMessageDataDisableJoinLink'\n\nexport function isSystemMessageDataDisableJoinLink<V>(v: V) {\n return is$typed(v, id, hashSystemMessageDataDisableJoinLink)\n}\n\nexport function validateSystemMessageDataDisableJoinLink<V>(v: V) {\n return validate<SystemMessageDataDisableJoinLink & V>(\n v,\n id,\n hashSystemMessageDataDisableJoinLink,\n )\n}\n\nexport interface DeletedMessageView {\n $type?: 'chat.bsky.convo.defs#deletedMessageView'\n id: string\n rev: string\n sender: MessageViewSender\n sentAt: string\n}\n\nconst hashDeletedMessageView = 'deletedMessageView'\n\nexport function isDeletedMessageView<V>(v: V) {\n return is$typed(v, id, hashDeletedMessageView)\n}\n\nexport function validateDeletedMessageView<V>(v: V) {\n return validate<DeletedMessageView & V>(v, id, hashDeletedMessageView)\n}\n\nexport interface MessageViewSender {\n $type?: 'chat.bsky.convo.defs#messageViewSender'\n did: string\n}\n\nconst hashMessageViewSender = 'messageViewSender'\n\nexport function isMessageViewSender<V>(v: V) {\n return is$typed(v, id, hashMessageViewSender)\n}\n\nexport function validateMessageViewSender<V>(v: V) {\n return validate<MessageViewSender & V>(v, id, hashMessageViewSender)\n}\n\nexport interface ReactionView {\n $type?: 'chat.bsky.convo.defs#reactionView'\n value: string\n sender: ReactionViewSender\n createdAt: string\n}\n\nconst hashReactionView = 'reactionView'\n\nexport function isReactionView<V>(v: V) {\n return is$typed(v, id, hashReactionView)\n}\n\nexport function validateReactionView<V>(v: V) {\n return validate<ReactionView & V>(v, id, hashReactionView)\n}\n\nexport interface ReactionViewSender {\n $type?: 'chat.bsky.convo.defs#reactionViewSender'\n did: string\n}\n\nconst hashReactionViewSender = 'reactionViewSender'\n\nexport function isReactionViewSender<V>(v: V) {\n return is$typed(v, id, hashReactionViewSender)\n}\n\nexport function validateReactionViewSender<V>(v: V) {\n return validate<ReactionViewSender & V>(v, id, hashReactionViewSender)\n}\n\nexport interface MessageAndReactionView {\n $type?: 'chat.bsky.convo.defs#messageAndReactionView'\n message: MessageView\n reaction: ReactionView\n}\n\nconst hashMessageAndReactionView = 'messageAndReactionView'\n\nexport function isMessageAndReactionView<V>(v: V) {\n return is$typed(v, id, hashMessageAndReactionView)\n}\n\nexport function validateMessageAndReactionView<V>(v: V) {\n return validate<MessageAndReactionView & V>(v, id, hashMessageAndReactionView)\n}\n\nexport interface ConvoView {\n $type?: 'chat.bsky.convo.defs#convoView'\n id: string\n rev: string\n members: ChatBskyActorDefs.ProfileViewBasic[]\n lastMessage?:\n | $Typed<MessageView>\n | $Typed<DeletedMessageView>\n | $Typed<SystemMessageView>\n | { $type: string }\n lastReaction?: $Typed<MessageAndReactionView> | { $type: string }\n muted: boolean\n status?: ConvoStatus\n unreadCount: number\n kind?: $Typed<DirectConvo> | $Typed<GroupConvo> | { $type: string }\n}\n\nconst hashConvoView = 'convoView'\n\nexport function isConvoView<V>(v: V) {\n return is$typed(v, id, hashConvoView)\n}\n\nexport function validateConvoView<V>(v: V) {\n return validate<ConvoView & V>(v, id, hashConvoView)\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nexport interface DirectConvo {\n $type?: 'chat.bsky.convo.defs#directConvo'\n}\n\nconst hashDirectConvo = 'directConvo'\n\nexport function isDirectConvo<V>(v: V) {\n return is$typed(v, id, hashDirectConvo)\n}\n\nexport function validateDirectConvo<V>(v: V) {\n return validate<DirectConvo & V>(v, id, hashDirectConvo)\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nexport interface GroupConvo {\n $type?: 'chat.bsky.convo.defs#groupConvo'\n /** The display name of the group conversation. */\n name: string\n joinLink?: ChatBskyGroupDefs.JoinLinkView\n lockStatus: ConvoLockStatus\n}\n\nconst hashGroupConvo = 'groupConvo'\n\nexport function isGroupConvo<V>(v: V) {\n return is$typed(v, id, hashGroupConvo)\n}\n\nexport function validateGroupConvo<V>(v: V) {\n return validate<GroupConvo & V>(v, id, hashGroupConvo)\n}\n\n/** 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. */\nexport interface LogBeginConvo {\n $type?: 'chat.bsky.convo.defs#logBeginConvo'\n rev: string\n convoId: string\n}\n\nconst hashLogBeginConvo = 'logBeginConvo'\n\nexport function isLogBeginConvo<V>(v: V) {\n return is$typed(v, id, hashLogBeginConvo)\n}\n\nexport function validateLogBeginConvo<V>(v: V) {\n return validate<LogBeginConvo & V>(v, id, hashLogBeginConvo)\n}\n\n/** Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group. */\nexport interface LogAcceptConvo {\n $type?: 'chat.bsky.convo.defs#logAcceptConvo'\n rev: string\n convoId: string\n}\n\nconst hashLogAcceptConvo = 'logAcceptConvo'\n\nexport function isLogAcceptConvo<V>(v: V) {\n return is$typed(v, id, hashLogAcceptConvo)\n}\n\nexport function validateLogAcceptConvo<V>(v: V) {\n return validate<LogAcceptConvo & V>(v, id, hashLogAcceptConvo)\n}\n\n/** Event indicating the viewer left a convo. Can be direct or group. */\nexport interface LogLeaveConvo {\n $type?: 'chat.bsky.convo.defs#logLeaveConvo'\n rev: string\n convoId: string\n}\n\nconst hashLogLeaveConvo = 'logLeaveConvo'\n\nexport function isLogLeaveConvo<V>(v: V) {\n return is$typed(v, id, hashLogLeaveConvo)\n}\n\nexport function validateLogLeaveConvo<V>(v: V) {\n return validate<LogLeaveConvo & V>(v, id, hashLogLeaveConvo)\n}\n\n/** Event indicating the viewer muted a convo. Can be direct or group. */\nexport interface LogMuteConvo {\n $type?: 'chat.bsky.convo.defs#logMuteConvo'\n rev: string\n convoId: string\n}\n\nconst hashLogMuteConvo = 'logMuteConvo'\n\nexport function isLogMuteConvo<V>(v: V) {\n return is$typed(v, id, hashLogMuteConvo)\n}\n\nexport function validateLogMuteConvo<V>(v: V) {\n return validate<LogMuteConvo & V>(v, id, hashLogMuteConvo)\n}\n\n/** Event indicating the viewer unmuted a convo. Can be direct or group. */\nexport interface LogUnmuteConvo {\n $type?: 'chat.bsky.convo.defs#logUnmuteConvo'\n rev: string\n convoId: string\n}\n\nconst hashLogUnmuteConvo = 'logUnmuteConvo'\n\nexport function isLogUnmuteConvo<V>(v: V) {\n return is$typed(v, id, hashLogUnmuteConvo)\n}\n\nexport function validateLogUnmuteConvo<V>(v: V) {\n return validate<LogUnmuteConvo & V>(v, id, hashLogUnmuteConvo)\n}\n\n/** Event indicating a user-originated message was created. Is not emitted for system messages. */\nexport interface LogCreateMessage {\n $type?: 'chat.bsky.convo.defs#logCreateMessage'\n rev: string\n convoId: string\n message: $Typed<MessageView> | $Typed<DeletedMessageView> | { $type: string }\n}\n\nconst hashLogCreateMessage = 'logCreateMessage'\n\nexport function isLogCreateMessage<V>(v: V) {\n return is$typed(v, id, hashLogCreateMessage)\n}\n\nexport function validateLogCreateMessage<V>(v: V) {\n return validate<LogCreateMessage & V>(v, id, hashLogCreateMessage)\n}\n\n/** Event indicating a user-originated message was deleted. Is not emitted for system messages. */\nexport interface LogDeleteMessage {\n $type?: 'chat.bsky.convo.defs#logDeleteMessage'\n rev: string\n convoId: string\n message: $Typed<MessageView> | $Typed<DeletedMessageView> | { $type: string }\n}\n\nconst hashLogDeleteMessage = 'logDeleteMessage'\n\nexport function isLogDeleteMessage<V>(v: V) {\n return is$typed(v, id, hashLogDeleteMessage)\n}\n\nexport function validateLogDeleteMessage<V>(v: V) {\n return validate<LogDeleteMessage & V>(v, id, hashLogDeleteMessage)\n}\n\n/** DEPRECATED: use logReadConvo instead. Event indicating a convo was read up to a certain message. */\nexport interface LogReadMessage {\n $type?: 'chat.bsky.convo.defs#logReadMessage'\n rev: string\n convoId: string\n message:\n | $Typed<MessageView>\n | $Typed<DeletedMessageView>\n | $Typed<SystemMessageView>\n | { $type: string }\n}\n\nconst hashLogReadMessage = 'logReadMessage'\n\nexport function isLogReadMessage<V>(v: V) {\n return is$typed(v, id, hashLogReadMessage)\n}\n\nexport function validateLogReadMessage<V>(v: V) {\n return validate<LogReadMessage & V>(v, id, hashLogReadMessage)\n}\n\n/** Event indicating a reaction was added to a message. */\nexport interface LogAddReaction {\n $type?: 'chat.bsky.convo.defs#logAddReaction'\n rev: string\n convoId: string\n message: $Typed<MessageView> | $Typed<DeletedMessageView> | { $type: string }\n reaction: ReactionView\n}\n\nconst hashLogAddReaction = 'logAddReaction'\n\nexport function isLogAddReaction<V>(v: V) {\n return is$typed(v, id, hashLogAddReaction)\n}\n\nexport function validateLogAddReaction<V>(v: V) {\n return validate<LogAddReaction & V>(v, id, hashLogAddReaction)\n}\n\n/** Event indicating a reaction was removed from a message. */\nexport interface LogRemoveReaction {\n $type?: 'chat.bsky.convo.defs#logRemoveReaction'\n rev: string\n convoId: string\n message: $Typed<MessageView> | $Typed<DeletedMessageView> | { $type: string }\n reaction: ReactionView\n}\n\nconst hashLogRemoveReaction = 'logRemoveReaction'\n\nexport function isLogRemoveReaction<V>(v: V) {\n return is$typed(v, id, hashLogRemoveReaction)\n}\n\nexport function validateLogRemoveReaction<V>(v: V) {\n return validate<LogRemoveReaction & V>(v, id, hashLogRemoveReaction)\n}\n\n/** [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. */\nexport interface LogReadConvo {\n $type?: 'chat.bsky.convo.defs#logReadConvo'\n rev: string\n convoId: string\n message:\n | $Typed<MessageView>\n | $Typed<DeletedMessageView>\n | $Typed<SystemMessageView>\n | { $type: string }\n}\n\nconst hashLogReadConvo = 'logReadConvo'\n\nexport function isLogReadConvo<V>(v: V) {\n return is$typed(v, id, hashLogReadConvo)\n}\n\nexport function validateLogReadConvo<V>(v: V) {\n return validate<LogReadConvo & V>(v, id, hashLogReadConvo)\n}\n\n/** [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). */\nexport interface LogAddMember {\n $type?: 'chat.bsky.convo.defs#logAddMember'\n rev: string\n convoId: string\n message: SystemMessageDataAddMember\n}\n\nconst hashLogAddMember = 'logAddMember'\n\nexport function isLogAddMember<V>(v: V) {\n return is$typed(v, id, hashLogAddMember)\n}\n\nexport function validateLogAddMember<V>(v: V) {\n return validate<LogAddMember & V>(v, id, hashLogAddMember)\n}\n\n/** [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). */\nexport interface LogRemoveMember {\n $type?: 'chat.bsky.convo.defs#logRemoveMember'\n rev: string\n convoId: string\n message: SystemMessageDataRemoveMember\n}\n\nconst hashLogRemoveMember = 'logRemoveMember'\n\nexport function isLogRemoveMember<V>(v: V) {\n return is$typed(v, id, hashLogRemoveMember)\n}\n\nexport function validateLogRemoveMember<V>(v: V) {\n return validate<LogRemoveMember & V>(v, id, hashLogRemoveMember)\n}\n\n/** [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). */\nexport interface LogMemberJoin {\n $type?: 'chat.bsky.convo.defs#logMemberJoin'\n rev: string\n convoId: string\n message: SystemMessageDataMemberJoin\n}\n\nconst hashLogMemberJoin = 'logMemberJoin'\n\nexport function isLogMemberJoin<V>(v: V) {\n return is$typed(v, id, hashLogMemberJoin)\n}\n\nexport function validateLogMemberJoin<V>(v: V) {\n return validate<LogMemberJoin & V>(v, id, hashLogMemberJoin)\n}\n\n/** [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). */\nexport interface LogMemberLeave {\n $type?: 'chat.bsky.convo.defs#logMemberLeave'\n rev: string\n convoId: string\n message: SystemMessageDataMemberLeave\n}\n\nconst hashLogMemberLeave = 'logMemberLeave'\n\nexport function isLogMemberLeave<V>(v: V) {\n return is$typed(v, id, hashLogMemberLeave)\n}\n\nexport function validateLogMemberLeave<V>(v: V) {\n return validate<LogMemberLeave & V>(v, id, hashLogMemberLeave)\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked. */\nexport interface LogLockConvo {\n $type?: 'chat.bsky.convo.defs#logLockConvo'\n rev: string\n convoId: string\n message: SystemMessageDataLockConvo\n}\n\nconst hashLogLockConvo = 'logLockConvo'\n\nexport function isLogLockConvo<V>(v: V) {\n return is$typed(v, id, hashLogLockConvo)\n}\n\nexport function validateLogLockConvo<V>(v: V) {\n return validate<LogLockConvo & V>(v, id, hashLogLockConvo)\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked. */\nexport interface LogUnlockConvo {\n $type?: 'chat.bsky.convo.defs#logUnlockConvo'\n rev: string\n convoId: string\n message: SystemMessageDataUnlockConvo\n}\n\nconst hashLogUnlockConvo = 'logUnlockConvo'\n\nexport function isLogUnlockConvo<V>(v: V) {\n return is$typed(v, id, hashLogUnlockConvo)\n}\n\nexport function validateLogUnlockConvo<V>(v: V) {\n return validate<LogUnlockConvo & V>(v, id, hashLogUnlockConvo)\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked permanently. */\nexport interface LogLockConvoPermanently {\n $type?: 'chat.bsky.convo.defs#logLockConvoPermanently'\n rev: string\n convoId: string\n message: SystemMessageDataLockConvoPermanently\n}\n\nconst hashLogLockConvoPermanently = 'logLockConvoPermanently'\n\nexport function isLogLockConvoPermanently<V>(v: V) {\n return is$typed(v, id, hashLogLockConvoPermanently)\n}\n\nexport function validateLogLockConvoPermanently<V>(v: V) {\n return validate<LogLockConvoPermanently & V>(\n v,\n id,\n hashLogLockConvoPermanently,\n )\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating info about group convo was edited. */\nexport interface LogEditGroup {\n $type?: 'chat.bsky.convo.defs#logEditGroup'\n rev: string\n convoId: string\n message: SystemMessageDataEditGroup\n}\n\nconst hashLogEditGroup = 'logEditGroup'\n\nexport function isLogEditGroup<V>(v: V) {\n return is$typed(v, id, hashLogEditGroup)\n}\n\nexport function validateLogEditGroup<V>(v: V) {\n return validate<LogEditGroup & V>(v, id, hashLogEditGroup)\n}\n\n/** [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. */\nexport interface LogCreateJoinLink {\n $type?: 'chat.bsky.convo.defs#logCreateJoinLink'\n rev: string\n convoId: string\n message: SystemMessageDataCreateJoinLink\n}\n\nconst hashLogCreateJoinLink = 'logCreateJoinLink'\n\nexport function isLogCreateJoinLink<V>(v: V) {\n return is$typed(v, id, hashLogCreateJoinLink)\n}\n\nexport function validateLogCreateJoinLink<V>(v: V) {\n return validate<LogCreateJoinLink & V>(v, id, hashLogCreateJoinLink)\n}\n\n/** [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. */\nexport interface LogEditJoinLink {\n $type?: 'chat.bsky.convo.defs#logEditJoinLink'\n rev: string\n convoId: string\n message: SystemMessageDataEditJoinLink\n}\n\nconst hashLogEditJoinLink = 'logEditJoinLink'\n\nexport function isLogEditJoinLink<V>(v: V) {\n return is$typed(v, id, hashLogEditJoinLink)\n}\n\nexport function validateLogEditJoinLink<V>(v: V) {\n return validate<LogEditJoinLink & V>(v, id, hashLogEditJoinLink)\n}\n\n/** [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. */\nexport interface LogEnableJoinLink {\n $type?: 'chat.bsky.convo.defs#logEnableJoinLink'\n rev: string\n convoId: string\n message: SystemMessageDataEnableJoinLink\n}\n\nconst hashLogEnableJoinLink = 'logEnableJoinLink'\n\nexport function isLogEnableJoinLink<V>(v: V) {\n return is$typed(v, id, hashLogEnableJoinLink)\n}\n\nexport function validateLogEnableJoinLink<V>(v: V) {\n return validate<LogEnableJoinLink & V>(v, id, hashLogEnableJoinLink)\n}\n\n/** [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. */\nexport interface LogDisableJoinLink {\n $type?: 'chat.bsky.convo.defs#logDisableJoinLink'\n rev: string\n convoId: string\n message: SystemMessageDataDisableJoinLink\n}\n\nconst hashLogDisableJoinLink = 'logDisableJoinLink'\n\nexport function isLogDisableJoinLink<V>(v: V) {\n return is$typed(v, id, hashLogDisableJoinLink)\n}\n\nexport function validateLogDisableJoinLink<V>(v: V) {\n return validate<LogDisableJoinLink & V>(v, id, hashLogDisableJoinLink)\n}\n\n/** [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. */\nexport interface LogIncomingJoinRequest {\n $type?: 'chat.bsky.convo.defs#logIncomingJoinRequest'\n rev: string\n convoId: string\n member: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashLogIncomingJoinRequest = 'logIncomingJoinRequest'\n\nexport function isLogIncomingJoinRequest<V>(v: V) {\n return is$typed(v, id, hashLogIncomingJoinRequest)\n}\n\nexport function validateLogIncomingJoinRequest<V>(v: V) {\n return validate<LogIncomingJoinRequest & V>(v, id, hashLogIncomingJoinRequest)\n}\n\n/** [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. */\nexport interface LogApproveJoinRequest {\n $type?: 'chat.bsky.convo.defs#logApproveJoinRequest'\n rev: string\n convoId: string\n member: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashLogApproveJoinRequest = 'logApproveJoinRequest'\n\nexport function isLogApproveJoinRequest<V>(v: V) {\n return is$typed(v, id, hashLogApproveJoinRequest)\n}\n\nexport function validateLogApproveJoinRequest<V>(v: V) {\n return validate<LogApproveJoinRequest & V>(v, id, hashLogApproveJoinRequest)\n}\n\n/** [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. */\nexport interface LogRejectJoinRequest {\n $type?: 'chat.bsky.convo.defs#logRejectJoinRequest'\n rev: string\n convoId: string\n member: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashLogRejectJoinRequest = 'logRejectJoinRequest'\n\nexport function isLogRejectJoinRequest<V>(v: V) {\n return is$typed(v, id, hashLogRejectJoinRequest)\n}\n\nexport function validateLogRejectJoinRequest<V>(v: V) {\n return validate<LogRejectJoinRequest & V>(v, id, hashLogRejectJoinRequest)\n}\n\n/** [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. */\nexport interface LogOutgoingJoinRequest {\n $type?: 'chat.bsky.convo.defs#logOutgoingJoinRequest'\n rev: string\n convoId: string\n}\n\nconst hashLogOutgoingJoinRequest = 'logOutgoingJoinRequest'\n\nexport function isLogOutgoingJoinRequest<V>(v: V) {\n return is$typed(v, id, hashLogOutgoingJoinRequest)\n}\n\nexport function validateLogOutgoingJoinRequest<V>(v: V) {\n return validate<LogOutgoingJoinRequest & V>(v, id, hashLogOutgoingJoinRequest)\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
|
-
import { HeadersMap } from '@atproto/xrpc';
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
5
|
import type * as ChatBskyConvoDefs from './defs.js';
|
|
6
6
|
export type QueryParams = {};
|
|
7
7
|
export interface InputSchema {
|
|
@@ -20,5 +20,11 @@ export interface Response {
|
|
|
20
20
|
headers: HeadersMap;
|
|
21
21
|
data: OutputSchema;
|
|
22
22
|
}
|
|
23
|
+
export declare class InvalidConvoError extends XRPCError {
|
|
24
|
+
constructor(src: XRPCError);
|
|
25
|
+
}
|
|
26
|
+
export declare class MessageDeleteNotAllowedError extends XRPCError {
|
|
27
|
+
constructor(src: XRPCError);
|
|
28
|
+
}
|
|
23
29
|
export declare function toKnownErr(e: any): any;
|
|
24
30
|
//# sourceMappingURL=deleteMessageForSelf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteMessageForSelf.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/deleteMessageForSelf.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"deleteMessageForSelf.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/deleteMessageForSelf.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AAMnD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC,kBAAkB,CAAA;AAE/D,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,4BAA6B,SAAQ,SAAS;gBAC7C,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAQhC"}
|
|
@@ -1,11 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageDeleteNotAllowedError = exports.InvalidConvoError = void 0;
|
|
3
4
|
exports.toKnownErr = toKnownErr;
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
7
|
+
*/
|
|
8
|
+
const xrpc_1 = require("@atproto/xrpc");
|
|
4
9
|
const lexicons_1 = require("../../../../lexicons");
|
|
5
10
|
const util_1 = require("../../../../util");
|
|
6
11
|
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
7
12
|
const id = 'chat.bsky.convo.deleteMessageForSelf';
|
|
13
|
+
class InvalidConvoError extends xrpc_1.XRPCError {
|
|
14
|
+
constructor(src) {
|
|
15
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.InvalidConvoError = InvalidConvoError;
|
|
19
|
+
class MessageDeleteNotAllowedError extends xrpc_1.XRPCError {
|
|
20
|
+
constructor(src) {
|
|
21
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.MessageDeleteNotAllowedError = MessageDeleteNotAllowedError;
|
|
8
25
|
function toKnownErr(e) {
|
|
26
|
+
if (e instanceof xrpc_1.XRPCError) {
|
|
27
|
+
if (e.error === 'InvalidConvo')
|
|
28
|
+
return new InvalidConvoError(e);
|
|
29
|
+
if (e.error === 'MessageDeleteNotAllowed')
|
|
30
|
+
return new MessageDeleteNotAllowedError(e);
|
|
31
|
+
}
|
|
9
32
|
return e;
|
|
10
33
|
}
|
|
11
34
|
//# sourceMappingURL=deleteMessageForSelf.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteMessageForSelf.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/deleteMessageForSelf.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"deleteMessageForSelf.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/deleteMessageForSelf.ts"],"names":[],"mappings":";;;AAoDA,gCAQC;AA5DD;;GAEG;AACH,wCAAqD;AAGrD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sCAAsC,CAAA;AAwBjD,MAAa,iBAAkB,SAAQ,gBAAS;IAC9C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAA;IACxE,CAAC;CACF;AAJD,8CAIC;AAED,MAAa,4BAA6B,SAAQ,gBAAS;IACzD,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAA;IACxE,CAAC;CACF;AAJD,oEAIC;AAED,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;QAC/D,IAAI,CAAC,CAAC,KAAK,KAAK,yBAAyB;YACvC,OAAO,IAAI,4BAA4B,CAAC,CAAC,CAAC,CAAA;IAC9C,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ChatBskyConvoDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.convo.deleteMessageForSelf'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n convoId: string\n messageId: string\n}\n\nexport type OutputSchema = ChatBskyConvoDefs.DeletedMessageView\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport class InvalidConvoError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class MessageDeleteNotAllowedError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'InvalidConvo') return new InvalidConvoError(e)\n if (e.error === 'MessageDeleteNotAllowed')\n return new MessageDeleteNotAllowedError(e)\n }\n\n return e\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
|
-
import { HeadersMap } from '@atproto/xrpc';
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
5
|
import type * as ChatBskyConvoDefs from './defs.js';
|
|
6
6
|
export type QueryParams = {
|
|
7
7
|
convoId: string;
|
|
@@ -19,5 +19,8 @@ export interface Response {
|
|
|
19
19
|
headers: HeadersMap;
|
|
20
20
|
data: OutputSchema;
|
|
21
21
|
}
|
|
22
|
+
export declare class InvalidConvoError extends XRPCError {
|
|
23
|
+
constructor(src: XRPCError);
|
|
24
|
+
}
|
|
22
25
|
export declare function toKnownErr(e: any): any;
|
|
23
26
|
//# sourceMappingURL=getConvo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConvo.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"getConvo.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AAMnD,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAA;CACnC;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAMhC"}
|
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvalidConvoError = void 0;
|
|
3
4
|
exports.toKnownErr = toKnownErr;
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
7
|
+
*/
|
|
8
|
+
const xrpc_1 = require("@atproto/xrpc");
|
|
4
9
|
const lexicons_1 = require("../../../../lexicons");
|
|
5
10
|
const util_1 = require("../../../../util");
|
|
6
11
|
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
7
12
|
const id = 'chat.bsky.convo.getConvo';
|
|
13
|
+
class InvalidConvoError extends xrpc_1.XRPCError {
|
|
14
|
+
constructor(src) {
|
|
15
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.InvalidConvoError = InvalidConvoError;
|
|
8
19
|
function toKnownErr(e) {
|
|
20
|
+
if (e instanceof xrpc_1.XRPCError) {
|
|
21
|
+
if (e.error === 'InvalidConvo')
|
|
22
|
+
return new InvalidConvoError(e);
|
|
23
|
+
}
|
|
9
24
|
return e;
|
|
10
25
|
}
|
|
11
26
|
//# sourceMappingURL=getConvo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConvo.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getConvo.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getConvo.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getConvo.ts"],"names":[],"mappings":";;;AA4CA,gCAMC;AAlDD;;GAEG;AACH,wCAAqD;AAGrD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,0BAA0B,CAAA;AAsBrC,MAAa,iBAAkB,SAAQ,gBAAS;IAC9C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAA;IACxE,CAAC;CACF;AAJD,8CAIC;AAED,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;IACjE,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ChatBskyConvoDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.convo.getConvo'\n\nexport type QueryParams = {\n convoId: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n convo: ChatBskyConvoDefs.ConvoView\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport class InvalidConvoError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'InvalidConvo') return new InvalidConvoError(e)\n }\n\n return e\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
|
-
import { HeadersMap } from '@atproto/xrpc';
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
5
|
import type * as ChatBskyConvoDefs from './defs.js';
|
|
6
6
|
export type QueryParams = {
|
|
7
7
|
members: string[];
|
|
@@ -19,5 +19,20 @@ export interface Response {
|
|
|
19
19
|
headers: HeadersMap;
|
|
20
20
|
data: OutputSchema;
|
|
21
21
|
}
|
|
22
|
+
export declare class AccountSuspendedError extends XRPCError {
|
|
23
|
+
constructor(src: XRPCError);
|
|
24
|
+
}
|
|
25
|
+
export declare class BlockedActorError extends XRPCError {
|
|
26
|
+
constructor(src: XRPCError);
|
|
27
|
+
}
|
|
28
|
+
export declare class MessagesDisabledError extends XRPCError {
|
|
29
|
+
constructor(src: XRPCError);
|
|
30
|
+
}
|
|
31
|
+
export declare class NotFollowedBySenderError extends XRPCError {
|
|
32
|
+
constructor(src: XRPCError);
|
|
33
|
+
}
|
|
34
|
+
export declare class RecipientNotFoundError extends XRPCError {
|
|
35
|
+
constructor(src: XRPCError);
|
|
36
|
+
}
|
|
22
37
|
export declare function toKnownErr(e: any): any;
|
|
23
38
|
//# sourceMappingURL=getConvoForMembers.d.ts.map
|