@atproto/api 0.19.9 → 0.19.11

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/client/index.d.ts +3 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +15 -6
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +380 -64
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +193 -31
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/actor/defs.d.ts +1 -0
  11. package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
  13. package/dist/client/types/chat/bsky/actor/defs.d.ts +8 -2
  14. package/dist/client/types/chat/bsky/actor/defs.d.ts.map +1 -1
  15. package/dist/client/types/chat/bsky/actor/defs.js +9 -0
  16. package/dist/client/types/chat/bsky/actor/defs.js.map +1 -1
  17. package/dist/client/types/chat/bsky/convo/defs.d.ts +45 -22
  18. package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
  19. package/dist/client/types/chat/bsky/convo/defs.js +9 -0
  20. package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
  21. package/dist/client/types/chat/bsky/convo/getConvoMembers.d.ts +29 -0
  22. package/dist/client/types/chat/bsky/convo/getConvoMembers.d.ts.map +1 -0
  23. package/dist/client/types/chat/bsky/convo/getConvoMembers.js +26 -0
  24. package/dist/client/types/chat/bsky/convo/getConvoMembers.js.map +1 -0
  25. package/dist/client/types/chat/bsky/convo/getMessages.d.ts +3 -0
  26. package/dist/client/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
  27. package/dist/client/types/chat/bsky/convo/getMessages.js.map +1 -1
  28. package/dist/client/types/chat/bsky/group/addMembers.d.ts +2 -0
  29. package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
  30. package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
  31. package/package.json +3 -3
  32. package/src/client/index.ts +13 -0
  33. package/src/client/lexicons.ts +209 -31
  34. package/src/client/types/app/bsky/actor/defs.ts +1 -0
  35. package/src/client/types/chat/bsky/actor/defs.ts +17 -1
  36. package/src/client/types/chat/bsky/convo/defs.ts +58 -22
  37. package/src/client/types/chat/bsky/convo/getConvoMembers.ts +54 -0
  38. package/src/client/types/chat/bsky/convo/getMessages.ts +3 -0
  39. package/src/client/types/chat/bsky/group/addMembers.ts +2 -0
  40. package/tsconfig.build.tsbuildinfo +1 -1
@@ -6,6 +6,8 @@ exports.isMessageInput = isMessageInput;
6
6
  exports.validateMessageInput = validateMessageInput;
7
7
  exports.isMessageView = isMessageView;
8
8
  exports.validateMessageView = validateMessageView;
9
+ exports.isSystemMessageReferredUser = isSystemMessageReferredUser;
10
+ exports.validateSystemMessageReferredUser = validateSystemMessageReferredUser;
9
11
  exports.isSystemMessageView = isSystemMessageView;
10
12
  exports.validateSystemMessageView = validateSystemMessageView;
11
13
  exports.isSystemMessageDataAddMember = isSystemMessageDataAddMember;
@@ -127,6 +129,13 @@ function isMessageView(v) {
127
129
  function validateMessageView(v) {
128
130
  return validate(v, id, hashMessageView);
129
131
  }
132
+ const hashSystemMessageReferredUser = 'systemMessageReferredUser';
133
+ function isSystemMessageReferredUser(v) {
134
+ return is$typed(v, id, hashSystemMessageReferredUser);
135
+ }
136
+ function validateSystemMessageReferredUser(v) {
137
+ return validate(v, id, hashSystemMessageReferredUser);
138
+ }
130
139
  const hashSystemMessageView = 'systemMessageView';
131
140
  function isSystemMessageView(v) {
132
141
  return is$typed(v, id, hashSystemMessageView);
@@ -1 +1 @@
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;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,CAAA;AAClD,CAAC;AAED,SAAgB,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,CAAC;AASD,MAAM,0BAA0B,GAAG,wBAAwB,CAAA;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
+ {"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;AASD,kEAEC;AAED,8EAMC;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,oFAMC;AAWD,0FAEC;AAED,sGAMC;AAaD,oEAEC;AAED,gFAMC;AASD,8EAEC;AAED,0FAMC;AASD,0EAEC;AAED,sFAMC;AASD,8EAEC;AAED,0FAMC;AASD,gFAEC;AAED,4FAMC;AAYD,oDAEC;AAED,gEAEC;AASD,kDAEC;AAED,8DAEC;AAWD,wCAEC;AAED,oDAEC;AASD,oDAEC;AAED,gEAEC;AAUD,4DAEC;AAED,wEAEC;AAsBD,kCAEC;AAED,8CAEC;AASD,sCAEC;AAED,kDAEC;AAeD,oCAEC;AAED,gDAEC;AAWD,0CAEC;AAED,sDAEC;AAWD,4CAEC;AAED,wDAEC;AAWD,0CAEC;AAED,sDAEC;AAWD,wCAEC;AAED,oDAEC;AAWD,4CAEC;AAED,wDAEC;AAYD,gDAEC;AAED,4DAEC;AAYD,gDAEC;AAED,4DAEC;AAgBD,4CAEC;AAED,wDAEC;AAaD,4CAEC;AAED,wDAEC;AAaD,kDAEC;AAED,8DAEC;AAgBD,wCAEC;AAED,oDAEC;AAcD,wCAEC;AAED,oDAEC;AAcD,8CAEC;AAED,0DAEC;AAcD,0CAE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BAAwB,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;AAUD,MAAM,yBAAyB,GAAG,uBAAuB,CAAA;AAEzD,SAAgB,uBAAuB,CAAI,CAAI;IAC7C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,yBAAyB,CAAC,CAAA;AACnD,CAAC;AAED,SAAgB,6BAA6B,CAAI,CAAI;IACnD,OAAO,QAAQ,CAA4B,CAAC,EAAE,EAAE,EAAE,yBAAyB,CAAC,CAAA;AAC9E,CAAC;AAUD,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAEvD,SAAgB,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAClD,CAAC;AAED,SAAgB,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,CAAC;AASD,MAAM,0BAA0B,GAAG,wBAAwB,CAAA;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\nexport interface SystemMessageReferredUser {\n $type?: 'chat.bsky.convo.defs#systemMessageReferredUser'\n did: string\n}\n\nconst hashSystemMessageReferredUser = 'systemMessageReferredUser'\n\nexport function isSystemMessageReferredUser<V>(v: V) {\n return is$typed(v, id, hashSystemMessageReferredUser)\n}\n\nexport function validateSystemMessageReferredUser<V>(v: V) {\n return validate<SystemMessageReferredUser & V>(\n v,\n id,\n hashSystemMessageReferredUser,\n )\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: SystemMessageReferredUser\n role: ChatBskyActorDefs.MemberRole\n addedBy: SystemMessageReferredUser\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: SystemMessageReferredUser\n removedBy: SystemMessageReferredUser\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: SystemMessageReferredUser\n role: ChatBskyActorDefs.MemberRole\n approvedBy?: SystemMessageReferredUser\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: SystemMessageReferredUser\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: SystemMessageReferredUser\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: SystemMessageReferredUser\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: SystemMessageReferredUser\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 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. */\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 /** The total number of members in the group conversation. */\n memberCount: number\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: SystemMessageView\n /** Profiles referred in the system message. */\n relatedProfiles: ChatBskyActorDefs.ProfileViewBasic[]\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: SystemMessageView\n /** Profiles referred in the system message. */\n relatedProfiles: ChatBskyActorDefs.ProfileViewBasic[]\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: SystemMessageView\n /** Profiles referred in the system message. */\n relatedProfiles: ChatBskyActorDefs.ProfileViewBasic[]\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: SystemMessageView\n /** Profiles referred in the system message. */\n relatedProfiles: ChatBskyActorDefs.ProfileViewBasic[]\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: SystemMessageView\n /** Profiles referred in the system message. */\n relatedProfiles: ChatBskyActorDefs.ProfileViewBasic[]\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: SystemMessageView\n /** Profiles referred in the system message. */\n relatedProfiles: ChatBskyActorDefs.ProfileViewBasic[]\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: SystemMessageView\n /** Profiles referred in the system message. */\n relatedProfiles: ChatBskyActorDefs.ProfileViewBasic[]\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: SystemMessageView\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: SystemMessageView\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: SystemMessageView\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: SystemMessageView\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: SystemMessageView\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"]}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ import type * as ChatBskyActorDefs from '../actor/defs.js';
6
+ export type QueryParams = {
7
+ convoId: string;
8
+ limit?: number;
9
+ cursor?: string;
10
+ };
11
+ export type InputSchema = undefined;
12
+ export interface OutputSchema {
13
+ cursor?: string;
14
+ members: ChatBskyActorDefs.ProfileViewBasic[];
15
+ }
16
+ export interface CallOptions {
17
+ signal?: AbortSignal;
18
+ headers?: HeadersMap;
19
+ }
20
+ export interface Response {
21
+ success: boolean;
22
+ headers: HeadersMap;
23
+ data: OutputSchema;
24
+ }
25
+ export declare class InvalidConvoError extends XRPCError {
26
+ constructor(src: XRPCError);
27
+ }
28
+ export declare function toKnownErr(e: any): any;
29
+ //# sourceMappingURL=getConvoMembers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConvoMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getConvoMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,iBAAiB,MAAM,kBAAkB,CAAA;AAM1D,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,iBAAiB,CAAC,gBAAgB,EAAE,CAAA;CAC9C;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"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvalidConvoError = void 0;
4
+ exports.toKnownErr = toKnownErr;
5
+ /**
6
+ * GENERATED CODE - DO NOT MODIFY
7
+ */
8
+ const xrpc_1 = require("@atproto/xrpc");
9
+ const lexicons_1 = require("../../../../lexicons");
10
+ const util_1 = require("../../../../util");
11
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
12
+ const id = 'chat.bsky.convo.getConvoMembers';
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
+ function toKnownErr(e) {
20
+ if (e instanceof xrpc_1.XRPCError) {
21
+ if (e.error === 'InvalidConvo')
22
+ return new InvalidConvoError(e);
23
+ }
24
+ return e;
25
+ }
26
+ //# sourceMappingURL=getConvoMembers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConvoMembers.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getConvoMembers.ts"],"names":[],"mappings":";;;AA+CA,gCAMC;AArDD;;GAEG;AACH,wCAAqD;AAGrD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;AAyB5C,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 ChatBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.convo.getConvoMembers'\n\nexport type QueryParams = {\n convoId: string\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n members: ChatBskyActorDefs.ProfileViewBasic[]\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"]}
@@ -4,6 +4,7 @@
4
4
  import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
5
  import { type $Typed } from '../../../../util';
6
6
  import type * as ChatBskyConvoDefs from './defs.js';
7
+ import type * as ChatBskyActorDefs from '../actor/defs.js';
7
8
  export type QueryParams = {
8
9
  convoId: string;
9
10
  limit?: number;
@@ -15,6 +16,8 @@ export interface OutputSchema {
15
16
  messages: ($Typed<ChatBskyConvoDefs.MessageView> | $Typed<ChatBskyConvoDefs.DeletedMessageView> | $Typed<ChatBskyConvoDefs.SystemMessageView> | {
16
17
  $type: string;
17
18
  })[];
19
+ /** Set of all members who authored or reacted to the returned messages. Members referred to by system messages are also included. */
20
+ relatedProfiles?: ChatBskyActorDefs.ProfileViewBasic[];
18
21
  }
19
22
  export interface CallOptions {
20
23
  signal?: AbortSignal;
@@ -1 +1 @@
1
- {"version":3,"file":"getMessages.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getMessages.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAIrD,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AAMnD,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,CACN,MAAM,CAAC,iBAAiB,CAAC,WAAW,CAAC,GACrC,MAAM,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,GAC5C,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAC3C;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CACpB,EAAE,CAAA;CACJ;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
+ {"version":3,"file":"getMessages.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getMessages.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAIrD,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AACnD,OAAO,KAAK,KAAK,iBAAiB,MAAM,kBAAkB,CAAA;AAM1D,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,CACN,MAAM,CAAC,iBAAiB,CAAC,WAAW,CAAC,GACrC,MAAM,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,GAC5C,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAC3C;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CACpB,EAAE,CAAA;IACH,qIAAqI;IACrI,eAAe,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,EAAE,CAAA;CACvD;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 +1 @@
1
- {"version":3,"file":"getMessages.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getMessages.ts"],"names":[],"mappings":";;;AAoDA,gCAMC;AA1DD;;GAEG;AACH,wCAAqD;AAGrD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA;AA8BxC,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.getMessages'\n\nexport type QueryParams = {\n convoId: string\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n messages: (\n | $Typed<ChatBskyConvoDefs.MessageView>\n | $Typed<ChatBskyConvoDefs.DeletedMessageView>\n | $Typed<ChatBskyConvoDefs.SystemMessageView>\n | { $type: string }\n )[]\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
+ {"version":3,"file":"getMessages.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getMessages.ts"],"names":[],"mappings":";;;AAuDA,gCAMC;AA7DD;;GAEG;AACH,wCAAqD;AAGrD,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA;AAgCxC,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'\nimport type * as ChatBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.convo.getMessages'\n\nexport type QueryParams = {\n convoId: string\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n messages: (\n | $Typed<ChatBskyConvoDefs.MessageView>\n | $Typed<ChatBskyConvoDefs.DeletedMessageView>\n | $Typed<ChatBskyConvoDefs.SystemMessageView>\n | { $type: string }\n )[]\n /** Set of all members who authored or reacted to the returned messages. Members referred to by system messages are also included. */\n relatedProfiles?: ChatBskyActorDefs.ProfileViewBasic[]\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"]}
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
5
  import type * as ChatBskyConvoDefs from '../convo/defs.js';
6
+ import type * as ChatBskyActorDefs from '../actor/defs.js';
6
7
  export type QueryParams = {};
7
8
  export interface InputSchema {
8
9
  convoId: string;
@@ -10,6 +11,7 @@ export interface InputSchema {
10
11
  }
11
12
  export interface OutputSchema {
12
13
  convo: ChatBskyConvoDefs.ConvoView;
14
+ addedMembers?: ChatBskyActorDefs.ProfileViewBasic[];
13
15
  }
14
16
  export interface CallOptions {
15
17
  signal?: AbortSignal;
@@ -1 +1 @@
1
- {"version":3,"file":"addMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/group/addMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,iBAAiB,MAAM,kBAAkB,CAAA;AAM1D,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,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;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,qBAAsB,SAAQ,SAAS;gBACtC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,yBAA0B,SAAQ,SAAS;gBA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I,qBAAqB,CAAC,CAAC,CAAC,CAAA;QACvE,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;QAC/D,IAAI,CAAC,CAAC,KAAK,KAAK,oBAAoB;YAAE,OAAO,IAAI,uBAAuB,CAAC,CAAC,CAAC,CAAA;QAC3E,IAAI,CAAC,CAAC,KAAK,KAAK,qBAAqB;YACnC,OAAO,IAAI,wBAAwB,CAAC,CAAC,CAAC,CAAA;QACxC,IAAI,CAAC,CAAC,KAAK,KAAK,mBAAmB;YAAE,OAAO,IAAI,sBAAsB,CAAC,CAAC,CAAC,CAAA;IAC3E,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 '../convo/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.group.addMembers'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n convoId: string\n members: string[]\n}\n\nexport interface OutputSchema {\n convo: ChatBskyConvoDefs.ConvoView\n}\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 AccountSuspendedError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class BlockedActorError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class GroupInvitesDisabledError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class ConvoLockedError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class InsufficientRoleError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\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 MemberLimitReachedError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class NotFollowedBySenderError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class RecipientNotFoundError 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 === 'AccountSuspended') return new AccountSuspendedError(e)\n if (e.error === 'BlockedActor') return new BlockedActorError(e)\n if (e.error === 'GroupInvitesDisabled')\n return new GroupInvitesDisabledError(e)\n if (e.error === 'ConvoLocked') return new ConvoLockedError(e)\n if (e.error === 'InsufficientRole') return new InsufficientRoleError(e)\n if (e.error === 'InvalidConvo') return new InvalidConvoError(e)\n if (e.error === 'MemberLimitReached') return new MemberLimitReachedError(e)\n if (e.error === 'NotFollowedBySender')\n return new NotFollowedBySenderError(e)\n if (e.error === 'RecipientNotFound') return new RecipientNotFoundError(e)\n }\n\n return e\n}\n"]}
1
+ {"version":3,"file":"addMembers.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/group/addMembers.ts"],"names":[],"mappings":";;;AAkGA,gCAgBC;AAlHD;;GAEG;AACH,wCAAqD;AAGrD,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,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C,KAAK,KAAK,sBAAsB;YACpC,OAAO,IAAI,yBAAyB,CAAC,CAAC,CAAC,CAAA;QACzC,IAAI,CAAC,CAAC,KAAK,KAAK,aAAa;YAAE,OAAO,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAAA;QAC7D,IAAI,CAAC,CAAC,KAAK,KAAK,kBAAkB;YAAE,OAAO,IAAI,qBAAqB,CAAC,CAAC,CAAC,CAAA;QACvE,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;QAC/D,IAAI,CAAC,CAAC,KAAK,KAAK,oBAAoB;YAAE,OAAO,IAAI,uBAAuB,CAAC,CAAC,CAAC,CAAA;QAC3E,IAAI,CAAC,CAAC,KAAK,KAAK,qBAAqB;YACnC,OAAO,IAAI,wBAAwB,CAAC,CAAC,CAAC,CAAA;QACxC,IAAI,CAAC,CAAC,KAAK,KAAK,mBAAmB;YAAE,OAAO,IAAI,sBAAsB,CAAC,CAAC,CAAC,CAAA;IAC3E,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 '../convo/defs.js'\nimport type * as ChatBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.group.addMembers'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n convoId: string\n members: string[]\n}\n\nexport interface OutputSchema {\n convo: ChatBskyConvoDefs.ConvoView\n addedMembers?: ChatBskyActorDefs.ProfileViewBasic[]\n}\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 AccountSuspendedError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class BlockedActorError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class GroupInvitesDisabledError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class ConvoLockedError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class InsufficientRoleError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\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 MemberLimitReachedError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class NotFollowedBySenderError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class RecipientNotFoundError 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 === 'AccountSuspended') return new AccountSuspendedError(e)\n if (e.error === 'BlockedActor') return new BlockedActorError(e)\n if (e.error === 'GroupInvitesDisabled')\n return new GroupInvitesDisabledError(e)\n if (e.error === 'ConvoLocked') return new ConvoLockedError(e)\n if (e.error === 'InsufficientRole') return new InsufficientRoleError(e)\n if (e.error === 'InvalidConvo') return new InvalidConvoError(e)\n if (e.error === 'MemberLimitReached') return new MemberLimitReachedError(e)\n if (e.error === 'NotFollowedBySender')\n return new NotFollowedBySenderError(e)\n if (e.error === 'RecipientNotFound') return new RecipientNotFoundError(e)\n }\n\n return e\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.19.9",
3
+ "version": "0.19.11",
4
4
  "license": "MIT",
5
5
  "description": "Client library for atproto and Bluesky",
6
6
  "keywords": [
@@ -22,9 +22,9 @@
22
22
  "tlds": "^1.234.0",
23
23
  "zod": "^3.23.8",
24
24
  "@atproto/common-web": "^0.4.21",
25
- "@atproto/lexicon": "^0.6.2",
26
25
  "@atproto/syntax": "^0.5.4",
27
- "@atproto/xrpc": "^0.7.7"
26
+ "@atproto/xrpc": "^0.7.7",
27
+ "@atproto/lexicon": "^0.6.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@jest/globals": "^28.1.3",
@@ -165,6 +165,7 @@ import * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/dele
165
165
  import * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.js'
166
166
  import * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.js'
167
167
  import * as ChatBskyConvoGetConvoForMembers from './types/chat/bsky/convo/getConvoForMembers.js'
168
+ import * as ChatBskyConvoGetConvoMembers from './types/chat/bsky/convo/getConvoMembers.js'
168
169
  import * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.js'
169
170
  import * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.js'
170
171
  import * as ChatBskyConvoLeaveConvo from './types/chat/bsky/convo/leaveConvo.js'
@@ -504,6 +505,7 @@ export * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/dele
504
505
  export * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.js'
505
506
  export * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.js'
506
507
  export * as ChatBskyConvoGetConvoForMembers from './types/chat/bsky/convo/getConvoForMembers.js'
508
+ export * as ChatBskyConvoGetConvoMembers from './types/chat/bsky/convo/getConvoMembers.js'
507
509
  export * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.js'
508
510
  export * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.js'
509
511
  export * as ChatBskyConvoLeaveConvo from './types/chat/bsky/convo/leaveConvo.js'
@@ -3848,6 +3850,17 @@ export class ChatBskyConvoNS {
3848
3850
  })
3849
3851
  }
3850
3852
 
3853
+ getConvoMembers(
3854
+ params?: ChatBskyConvoGetConvoMembers.QueryParams,
3855
+ opts?: ChatBskyConvoGetConvoMembers.CallOptions,
3856
+ ): Promise<ChatBskyConvoGetConvoMembers.Response> {
3857
+ return this._client
3858
+ .call('chat.bsky.convo.getConvoMembers', params, undefined, opts)
3859
+ .catch((e) => {
3860
+ throw ChatBskyConvoGetConvoMembers.toKnownErr(e)
3861
+ })
3862
+ }
3863
+
3851
3864
  getLog(
3852
3865
  params?: ChatBskyConvoGetLog.QueryParams,
3853
3866
  opts?: ChatBskyConvoGetLog.CallOptions,