@atproto/ozone 0.1.171 → 0.1.172

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 (30) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/lexicon/index.d.ts +2 -0
  3. package/dist/lexicon/index.d.ts.map +1 -1
  4. package/dist/lexicon/index.js +4 -0
  5. package/dist/lexicon/index.js.map +1 -1
  6. package/dist/lexicon/lexicons.d.ts +182 -26
  7. package/dist/lexicon/lexicons.d.ts.map +1 -1
  8. package/dist/lexicon/lexicons.js +94 -13
  9. package/dist/lexicon/lexicons.js.map +1 -1
  10. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +1 -0
  11. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  13. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +15 -12
  14. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
  15. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  16. package/dist/lexicon/types/chat/bsky/convo/getConvoMembers.d.ts +26 -0
  17. package/dist/lexicon/types/chat/bsky/convo/getConvoMembers.d.ts.map +1 -0
  18. package/dist/lexicon/types/chat/bsky/convo/getConvoMembers.js +7 -0
  19. package/dist/lexicon/types/chat/bsky/convo/getConvoMembers.js.map +1 -0
  20. package/dist/lexicon/types/chat/bsky/group/addMembers.d.ts +2 -0
  21. package/dist/lexicon/types/chat/bsky/group/addMembers.d.ts.map +1 -1
  22. package/dist/lexicon/types/chat/bsky/group/addMembers.js.map +1 -1
  23. package/package.json +5 -5
  24. package/src/lexicon/index.ts +13 -0
  25. package/src/lexicon/lexicons.ts +108 -13
  26. package/src/lexicon/types/app/bsky/actor/defs.ts +1 -0
  27. package/src/lexicon/types/chat/bsky/convo/defs.ts +15 -12
  28. package/src/lexicon/types/chat/bsky/convo/getConvoMembers.ts +44 -0
  29. package/src/lexicon/types/chat/bsky/group/addMembers.ts +2 -0
  30. package/tsconfig.build.tsbuildinfo +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":";;AAqCA,oCAEC;AAED,gDAEC;AAYD,wCAEC;AAED,oDAEC;AAkBD,sCAEC;AAED,kDAEC;AA0BD,kDAEC;AAED,8DAEC;AAYD,oEAEC;AAED,gFAMC;AAWD,0EAEC;AAED,sFAMC;AAYD,sEAEC;AAED,kFAMC;AAUD,wEAEC;AAED,oFAMC;AAUD,oEAEC;AAED,gFAMC;AAUD,wEAEC;AAED,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;AAqBD,kCAEC;AAED,8CAEC;AASD,sCAEC;AAED,kDAEC;AAaD,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;AAYD,wCAEC;AAED,oDAEC;AAYD,8CAEC;AAED,0DAEC;AAYD,0CAEC;AAED,sDAEC;AAYD,4CAEC;AAED,wDAEC;AAYD,wCAEC;AAED,oDAEC;AAYD,4CAEC;AAED,wDAEC;AAYD,8DAEC;AAED,0EAMC;A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AgB,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\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/lexicon/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":";;AAqCA,oCAEC;AAED,gDAEC;AAYD,wCAEC;AAED,oDAEC;AAkBD,sCAEC;AAED,kDAEC;AA0BD,kDAEC;AAED,8DAEC;AAYD,oEAEC;AAED,gFAMC;AAWD,0EAEC;AAED,sFAMC;AAYD,sEAEC;AAED,kFAMC;AAUD,wEAEC;AAED,oFAMC;AAUD,oEAEC;AAED,gFAMC;AAUD,wEAEC;AAED,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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,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\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 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}\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}\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}\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}\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}\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}\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}\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,26 @@
1
+ import type * as ChatBskyActorDefs from '../actor/defs.js';
2
+ export type QueryParams = {
3
+ convoId: string;
4
+ limit: number;
5
+ cursor?: string;
6
+ };
7
+ export type InputSchema = undefined;
8
+ export interface OutputSchema {
9
+ cursor?: string;
10
+ members: ChatBskyActorDefs.ProfileViewBasic[];
11
+ }
12
+ export type HandlerInput = void;
13
+ export interface HandlerSuccess {
14
+ encoding: 'application/json';
15
+ body: OutputSchema;
16
+ headers?: {
17
+ [key: string]: string;
18
+ };
19
+ }
20
+ export interface HandlerError {
21
+ status: number;
22
+ message?: string;
23
+ error?: 'InvalidConvo';
24
+ }
25
+ export type HandlerOutput = HandlerError | HandlerSuccess;
26
+ //# sourceMappingURL=getConvoMembers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConvoMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getConvoMembers.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,iBAAiB,MAAM,kBAAkB,CAAA;AAM1D,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,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,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,cAAc,CAAA;CACvB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'chat.bsky.convo.getConvoMembers';
7
+ //# sourceMappingURL=getConvoMembers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConvoMembers.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getConvoMembers.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA","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 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 type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?: 'InvalidConvo'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -1,4 +1,5 @@
1
1
  import type * as ChatBskyConvoDefs from '../convo/defs.js';
2
+ import type * as ChatBskyActorDefs from '../actor/defs.js';
2
3
  export type QueryParams = {};
3
4
  export interface InputSchema {
4
5
  convoId: string;
@@ -6,6 +7,7 @@ export interface InputSchema {
6
7
  }
7
8
  export interface OutputSchema {
8
9
  convo: ChatBskyConvoDefs.ConvoView;
10
+ addedMembers?: ChatBskyActorDefs.ProfileViewBasic[];
9
11
  }
10
12
  export interface HandlerInput {
11
13
  encoding: 'application/json';
@@ -1 +1 @@
1
- {"version":3,"file":"addMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/group/addMembers.ts"],"names":[],"mappings":"AAWA,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,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EACF,kBAAkB,GAClB,cAAc,GACd,sBAAsB,GACtB,aAAa,GACb,kBAAkB,GAClB,cAAc,GACd,oBAAoB,GACpB,qBAAqB,GACrB,mBAAmB,CAAA;CACxB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
1
+ {"version":3,"file":"addMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/group/addMembers.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,iBAAiB,MAAM,kBAAkB,CAAA;AAC1D,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;IAClC,YAAY,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,EAAE,CAAA;CACpD;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EACF,kBAAkB,GAClB,cAAc,GACd,sBAAsB,GACtB,aAAa,GACb,kBAAkB,GAClB,cAAc,GACd,oBAAoB,GACpB,qBAAqB,GACrB,mBAAmB,CAAA;CACxB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"addMembers.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/group/addMembers.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4BAA4B,CAAA","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 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 HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?:\n | 'AccountSuspended'\n | 'BlockedActor'\n | 'GroupInvitesDisabled'\n | 'ConvoLocked'\n | 'InsufficientRole'\n | 'InvalidConvo'\n | 'MemberLimitReached'\n | 'NotFollowedBySender'\n | 'RecipientNotFound'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
1
+ {"version":3,"file":"addMembers.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/group/addMembers.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4BAA4B,CAAA","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 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 HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?:\n | 'AccountSuspended'\n | 'BlockedActor'\n | 'GroupInvitesDisabled'\n | 'ConvoLocked'\n | 'InsufficientRole'\n | 'InvalidConvo'\n | 'MemberLimitReached'\n | 'NotFollowedBySender'\n | 'RecipientNotFound'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/ozone",
3
- "version": "0.1.171",
3
+ "version": "0.1.172",
4
4
  "license": "MIT",
5
5
  "description": "Backend service for moderating the Bluesky network.",
6
6
  "keywords": [
@@ -35,13 +35,13 @@
35
35
  "uint8arrays": "3.0.0",
36
36
  "undici": "^6.14.1",
37
37
  "ws": "^8.12.0",
38
- "@atproto/api": "^0.19.9",
38
+ "@atproto/api": "^0.19.10",
39
39
  "@atproto/common": "^0.5.16",
40
+ "@atproto/crypto": "^0.4.5",
40
41
  "@atproto/identity": "^0.4.12",
41
42
  "@atproto/lexicon": "^0.6.2",
42
- "@atproto/crypto": "^0.4.5",
43
- "@atproto/ws-client": "^0.0.4",
44
43
  "@atproto/syntax": "^0.5.4",
44
+ "@atproto/ws-client": "^0.0.4",
45
45
  "@atproto/xrpc": "^0.7.7",
46
46
  "@atproto/xrpc-server": "^0.10.20"
47
47
  },
@@ -56,7 +56,7 @@
56
56
  "ts-node": "^10.8.2",
57
57
  "typescript": "^5.6.3",
58
58
  "@atproto/lex-cli": "^0.9.9",
59
- "@atproto/pds": "^0.4.219"
59
+ "@atproto/pds": "^0.4.220"
60
60
  },
61
61
  "scripts": {
62
62
  "codegen": "lex gen-server --yes ./src/lexicon ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/*",
@@ -128,6 +128,7 @@ import * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/dele
128
128
  import * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.js'
129
129
  import * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.js'
130
130
  import * as ChatBskyConvoGetConvoForMembers from './types/chat/bsky/convo/getConvoForMembers.js'
131
+ import * as ChatBskyConvoGetConvoMembers from './types/chat/bsky/convo/getConvoMembers.js'
131
132
  import * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.js'
132
133
  import * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.js'
133
134
  import * as ChatBskyConvoLeaveConvo from './types/chat/bsky/convo/leaveConvo.js'
@@ -2024,6 +2025,18 @@ export class ChatBskyConvoNS {
2024
2025
  return this._server.xrpc.method(nsid, cfg)
2025
2026
  }
2026
2027
 
2028
+ getConvoMembers<A extends Auth = void>(
2029
+ cfg: MethodConfigOrHandler<
2030
+ A,
2031
+ ChatBskyConvoGetConvoMembers.QueryParams,
2032
+ ChatBskyConvoGetConvoMembers.HandlerInput,
2033
+ ChatBskyConvoGetConvoMembers.HandlerOutput
2034
+ >,
2035
+ ) {
2036
+ const nsid = 'chat.bsky.convo.getConvoMembers' // @ts-ignore
2037
+ return this._server.xrpc.method(nsid, cfg)
2038
+ }
2039
+
2027
2040
  getLog<A extends Auth = void>(
2028
2041
  cfg: MethodConfigOrHandler<
2029
2042
  A,
@@ -265,6 +265,10 @@ export const schemaDict = {
265
265
  type: 'string',
266
266
  knownValues: ['all', 'none', 'following'],
267
267
  },
268
+ allowGroupInvites: {
269
+ type: 'string',
270
+ knownValues: ['all', 'none', 'following'],
271
+ },
268
272
  },
269
273
  },
270
274
  profileAssociatedGerm: {
@@ -10281,6 +10285,8 @@ export const schemaDict = {
10281
10285
  type: 'string',
10282
10286
  },
10283
10287
  members: {
10288
+ description:
10289
+ '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.',
10284
10290
  type: 'array',
10285
10291
  items: {
10286
10292
  type: 'ref',
@@ -10332,7 +10338,7 @@ export const schemaDict = {
10332
10338
  description:
10333
10339
  '[NOTE: This is under active development and should be considered unstable while this note is here].',
10334
10340
  type: 'object',
10335
- required: ['name', 'lockStatus'],
10341
+ required: ['name', 'lockStatus', 'memberCount'],
10336
10342
  properties: {
10337
10343
  name: {
10338
10344
  type: 'string',
@@ -10340,6 +10346,11 @@ export const schemaDict = {
10340
10346
  maxGraphemes: 128,
10341
10347
  maxLength: 1280,
10342
10348
  },
10349
+ memberCount: {
10350
+ type: 'integer',
10351
+ description:
10352
+ 'The total number of members in the group conversation.',
10353
+ },
10343
10354
  joinLink: {
10344
10355
  type: 'ref',
10345
10356
  ref: 'lex:chat.bsky.group.defs#joinLinkView',
@@ -10568,8 +10579,10 @@ export const schemaDict = {
10568
10579
  type: 'string',
10569
10580
  },
10570
10581
  message: {
10582
+ description:
10583
+ 'A system message with data of type #systemMessageDataAddMember',
10571
10584
  type: 'ref',
10572
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataAddMember',
10585
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10573
10586
  },
10574
10587
  },
10575
10588
  },
@@ -10586,8 +10599,10 @@ export const schemaDict = {
10586
10599
  type: 'string',
10587
10600
  },
10588
10601
  message: {
10602
+ description:
10603
+ 'A system message with data of type #systemMessageDataRemoveMember',
10589
10604
  type: 'ref',
10590
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataRemoveMember',
10605
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10591
10606
  },
10592
10607
  },
10593
10608
  },
@@ -10604,8 +10619,10 @@ export const schemaDict = {
10604
10619
  type: 'string',
10605
10620
  },
10606
10621
  message: {
10622
+ description:
10623
+ 'A system message with data of type #systemMessageDataMemberJoin',
10607
10624
  type: 'ref',
10608
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataMemberJoin',
10625
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10609
10626
  },
10610
10627
  },
10611
10628
  },
@@ -10622,8 +10639,10 @@ export const schemaDict = {
10622
10639
  type: 'string',
10623
10640
  },
10624
10641
  message: {
10642
+ description:
10643
+ 'A system message with data of type #systemMessageDataMemberLeave',
10625
10644
  type: 'ref',
10626
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataMemberLeave',
10645
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10627
10646
  },
10628
10647
  },
10629
10648
  },
@@ -10640,8 +10659,10 @@ export const schemaDict = {
10640
10659
  type: 'string',
10641
10660
  },
10642
10661
  message: {
10662
+ description:
10663
+ 'A system message with data of type #systemMessageDataLockConvo',
10643
10664
  type: 'ref',
10644
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataLockConvo',
10665
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10645
10666
  },
10646
10667
  },
10647
10668
  },
@@ -10658,8 +10679,10 @@ export const schemaDict = {
10658
10679
  type: 'string',
10659
10680
  },
10660
10681
  message: {
10682
+ description:
10683
+ 'A system message with data of type #systemMessageDataUnlockConvo',
10661
10684
  type: 'ref',
10662
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataUnlockConvo',
10685
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10663
10686
  },
10664
10687
  },
10665
10688
  },
@@ -10676,8 +10699,10 @@ export const schemaDict = {
10676
10699
  type: 'string',
10677
10700
  },
10678
10701
  message: {
10702
+ description:
10703
+ 'A system message with data of type #systemMessageDataLockConvoPermanently',
10679
10704
  type: 'ref',
10680
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataLockConvoPermanently',
10705
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10681
10706
  },
10682
10707
  },
10683
10708
  },
@@ -10694,8 +10719,10 @@ export const schemaDict = {
10694
10719
  type: 'string',
10695
10720
  },
10696
10721
  message: {
10722
+ description:
10723
+ 'A system message with data of type #systemMessageDataEditGroup',
10697
10724
  type: 'ref',
10698
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEditGroup',
10725
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10699
10726
  },
10700
10727
  },
10701
10728
  },
@@ -10712,8 +10739,10 @@ export const schemaDict = {
10712
10739
  type: 'string',
10713
10740
  },
10714
10741
  message: {
10742
+ description:
10743
+ 'A system message with data of type #systemMessageDataCreateJoinLink',
10715
10744
  type: 'ref',
10716
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataCreateJoinLink',
10745
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10717
10746
  },
10718
10747
  },
10719
10748
  },
@@ -10730,8 +10759,10 @@ export const schemaDict = {
10730
10759
  type: 'string',
10731
10760
  },
10732
10761
  message: {
10762
+ description:
10763
+ 'A system message with data of type #systemMessageDataEditJoinLink',
10733
10764
  type: 'ref',
10734
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEditJoinLink',
10765
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10735
10766
  },
10736
10767
  },
10737
10768
  },
@@ -10748,8 +10779,10 @@ export const schemaDict = {
10748
10779
  type: 'string',
10749
10780
  },
10750
10781
  message: {
10782
+ description:
10783
+ 'A system message with data of type #systemMessageDataEnableJoinLink',
10751
10784
  type: 'ref',
10752
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEnableJoinLink',
10785
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10753
10786
  },
10754
10787
  },
10755
10788
  },
@@ -10766,8 +10799,10 @@ export const schemaDict = {
10766
10799
  type: 'string',
10767
10800
  },
10768
10801
  message: {
10802
+ description:
10803
+ 'A system message with data of type #systemMessageDataDisableJoinLink',
10769
10804
  type: 'ref',
10770
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataDisableJoinLink',
10805
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10771
10806
  },
10772
10807
  },
10773
10808
  },
@@ -11022,6 +11057,58 @@ export const schemaDict = {
11022
11057
  },
11023
11058
  },
11024
11059
  },
11060
+ ChatBskyConvoGetConvoMembers: {
11061
+ lexicon: 1,
11062
+ id: 'chat.bsky.convo.getConvoMembers',
11063
+ defs: {
11064
+ main: {
11065
+ type: 'query',
11066
+ description: 'Returns a paginated list of members from a conversation.',
11067
+ errors: [
11068
+ {
11069
+ name: 'InvalidConvo',
11070
+ },
11071
+ ],
11072
+ parameters: {
11073
+ type: 'params',
11074
+ required: ['convoId'],
11075
+ properties: {
11076
+ convoId: {
11077
+ type: 'string',
11078
+ },
11079
+ limit: {
11080
+ type: 'integer',
11081
+ minimum: 1,
11082
+ maximum: 100,
11083
+ default: 50,
11084
+ },
11085
+ cursor: {
11086
+ type: 'string',
11087
+ },
11088
+ },
11089
+ },
11090
+ output: {
11091
+ encoding: 'application/json',
11092
+ schema: {
11093
+ type: 'object',
11094
+ required: ['members'],
11095
+ properties: {
11096
+ cursor: {
11097
+ type: 'string',
11098
+ },
11099
+ members: {
11100
+ type: 'array',
11101
+ items: {
11102
+ type: 'ref',
11103
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
11104
+ },
11105
+ },
11106
+ },
11107
+ },
11108
+ },
11109
+ },
11110
+ },
11111
+ },
11025
11112
  ChatBskyConvoGetLog: {
11026
11113
  lexicon: 1,
11027
11114
  id: 'chat.bsky.convo.getLog',
@@ -11788,6 +11875,13 @@ export const schemaDict = {
11788
11875
  type: 'ref',
11789
11876
  ref: 'lex:chat.bsky.convo.defs#convoView',
11790
11877
  },
11878
+ addedMembers: {
11879
+ type: 'array',
11880
+ items: {
11881
+ type: 'ref',
11882
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
11883
+ },
11884
+ },
11791
11885
  },
11792
11886
  },
11793
11887
  },
@@ -22913,6 +23007,7 @@ export const ids = {
22913
23007
  ChatBskyConvoGetConvo: 'chat.bsky.convo.getConvo',
22914
23008
  ChatBskyConvoGetConvoAvailability: 'chat.bsky.convo.getConvoAvailability',
22915
23009
  ChatBskyConvoGetConvoForMembers: 'chat.bsky.convo.getConvoForMembers',
23010
+ ChatBskyConvoGetConvoMembers: 'chat.bsky.convo.getConvoMembers',
22916
23011
  ChatBskyConvoGetLog: 'chat.bsky.convo.getLog',
22917
23012
  ChatBskyConvoGetMessages: 'chat.bsky.convo.getMessages',
22918
23013
  ChatBskyConvoLeaveConvo: 'chat.bsky.convo.leaveConvo',