@atproto/api 0.20.11 → 0.20.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +4 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +72 -6
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +38 -1
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +2 -0
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getUnreadCounts.d.ts +23 -0
- package/dist/client/types/chat/bsky/convo/getUnreadCounts.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/convo/getUnreadCounts.js +8 -0
- package/dist/client/types/chat/bsky/convo/getUnreadCounts.js.map +1 -0
- package/dist/client/types/chat/bsky/convo/unlockConvo.d.ts +3 -0
- package/dist/client/types/chat/bsky/convo/unlockConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/unlockConvo.js +7 -0
- package/dist/client/types/chat/bsky/convo/unlockConvo.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
- package/package.json +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -231,6 +231,8 @@ export interface GroupConvo {
|
|
|
231
231
|
/** The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21. */
|
|
232
232
|
joinRequestCount?: number;
|
|
233
233
|
lockStatus: ConvoLockStatus;
|
|
234
|
+
/** Whether the lock status is being forced by a moderation override (account inactivation or convo takedown) rather than the owner's own setting. */
|
|
235
|
+
lockStatusModerationOverride: boolean;
|
|
234
236
|
/** The total number of members in the group conversation. */
|
|
235
237
|
memberCount: number;
|
|
236
238
|
/** The maximum number of members allowed in the group conversation. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAChF,OAAO,KAAK,KAAK,kBAAkB,MAAM,mCAAmC,CAAA;AAC5E,OAAO,KAAK,KAAK,qBAAqB,MAAM,sBAAsB,CAAA;AAClE,OAAO,KAAK,KAAK,iBAAiB,MAAM,kBAAkB,CAAA;AAC1D,OAAO,KAAK,KAAK,iBAAiB,MAAM,kBAAkB,CAAA;AAM1D,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;AAC1D,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,QAAQ,GACR,oBAAoB,GACpB,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;AACjB,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;AAEhE,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,+BAA+B,CAAA;IACvC,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;CAChB;AAID,wBAAgB,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0FAEjC;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kCAEvC;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,iCAAiC,CA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AC;AASD,MAAM,kCAAkC,GAAG,gCAAgC,CAAA;AAE3E,MAAM,UAAU,gCAAgC,CAAI,CAAI;IACtD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,kCAAkC,CAAC,CAAA;AAC5D,CAAC;AAED,MAAM,UAAU,sCAAsC,CAAI,CAAI;IAC5D,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,kCAAkC,CACnC,CAAA;AACH,CAAC;AASD,MAAM,uBAAuB,GAAG,qBAAqB,CAAA;AAErD,MAAM,UAAU,qBAAqB,CAAI,CAAI;IAC3C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,uBAAuB,CAAC,CAAA;AACjD,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAI,CAAI;IACjD,OAAO,QAAQ,CAA0B,CAAC,EAAE,EAAE,EAAE,uBAAuB,CAAC,CAAA;AAC1E,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyRichtextFacet from '../../../app/bsky/richtext/facet.js'\nimport type * as AppBskyEmbedRecord from '../../../app/bsky/embed/record.js'\nimport type * as ChatBskyEmbedJoinLink from '../embed/joinLink.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 ConvoRef {\n $type?: 'chat.bsky.convo.defs#convoRef'\n did: string\n convoId: string\n}\n\nconst hashConvoRef = 'convoRef'\n\nexport function isConvoRef<V>(v: V) {\n return is$typed(v, id, hashConvoRef)\n}\n\nexport function validateConvoRef<V>(v: V) {\n return validate<ConvoRef & V>(v, id, hashConvoRef)\n}\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?:\n | $Typed<AppBskyEmbedRecord.Main>\n | $Typed<ChatBskyEmbedJoinLink.Main>\n | { $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?:\n | $Typed<AppBskyEmbedRecord.View>\n | $Typed<ChatBskyEmbedJoinLink.View>\n | { $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 added 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 createdAt: string\n joinLink?: ChatBskyGroupDefs.JoinLinkView\n /** The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21. */\n joinRequestCount?: number\n lockStatus: ConvoLockStatus\n /** The total number of members in the group conversation. */\n memberCount: number\n /** The maximum number of members allowed in the group conversation. */\n memberLimit: number\n /** The display name of the group conversation. */\n name: string\n /** The number of unread join requests for the group conversation. Only present for the owner. */\n unreadJoinRequestCount?: number\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 /** Profiles referred to in the message view. This isn't required for compatibility, because it was added later, but should generally be present. */\n relatedProfiles?: ChatBskyActorDefs.ProfileViewBasic[]\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 /** Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present. */\n relatedProfiles?: ChatBskyActorDefs.ProfileViewBasic[]\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 /** Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present. */\n relatedProfiles?: ChatBskyActorDefs.ProfileViewBasic[]\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 requester. Only requester actor gets this. */\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\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a prospective member withdrew their join request. Only the owner gets this. */\nexport interface LogWithdrawIncomingJoinRequest {\n $type?: 'chat.bsky.convo.defs#logWithdrawIncomingJoinRequest'\n rev: string\n convoId: string\n member: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashLogWithdrawIncomingJoinRequest = 'logWithdrawIncomingJoinRequest'\n\nexport function isLogWithdrawIncomingJoinRequest<V>(v: V) {\n return is$typed(v, id, hashLogWithdrawIncomingJoinRequest)\n}\n\nexport function validateLogWithdrawIncomingJoinRequest<V>(v: V) {\n return validate<LogWithdrawIncomingJoinRequest & V>(\n v,\n id,\n hashLogWithdrawIncomingJoinRequest,\n )\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the viewer withdrew their own join request. Only requester actor gets this. */\nexport interface LogWithdrawOutgoingJoinRequest {\n $type?: 'chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest'\n rev: string\n convoId: string\n}\n\nconst hashLogWithdrawOutgoingJoinRequest = 'logWithdrawOutgoingJoinRequest'\n\nexport function isLogWithdrawOutgoingJoinRequest<V>(v: V) {\n return is$typed(v, id, hashLogWithdrawOutgoingJoinRequest)\n}\n\nexport function validateLogWithdrawOutgoingJoinRequest<V>(v: V) {\n return validate<LogWithdrawOutgoingJoinRequest & V>(\n v,\n id,\n hashLogWithdrawOutgoingJoinRequest,\n )\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the group owner marked join requests as read. Only the owner gets this. */\nexport interface LogReadJoinRequests {\n $type?: 'chat.bsky.convo.defs#logReadJoinRequests'\n rev: string\n convoId: string\n}\n\nconst hashLogReadJoinRequests = 'logReadJoinRequests'\n\nexport function isLogReadJoinRequests<V>(v: V) {\n return is$typed(v, id, hashLogReadJoinRequests)\n}\n\nexport function validateLogReadJoinRequests<V>(v: V) {\n return validate<LogReadJoinRequests & V>(v, id, hashLogReadJoinRequests)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAO5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sBAAsB,CAAA;AAgBjC,MAAM,YAAY,GAAG,UAAU,CAAA;AAE/B,MAAM,UAAU,UAAU,CAAI,CAAI;IAChC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;AACtC,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAe,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;AACpD,CAAC;AASD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,MAAM,UAAU,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,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,gCAAgC,CAAA;AAE3E,MAAM,UAAU,gCAAgC,CAAI,CAAI;IACtD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,kCAAkC,CAAC,CAAA;AAC5D,CAAC;AAED,MAAM,UAAU,sCAAsC,CAAI,CAAI;IAC5D,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,kCAAkC,CACnC,CAAA;AACH,CAAC;AASD,MAAM,uBAAuB,GAAG,qBAAqB,CAAA;AAErD,MAAM,UAAU,qBAAqB,CAAI,CAAI;IAC3C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,uBAAuB,CAAC,CAAA;AACjD,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAI,CAAI;IACjD,OAAO,QAAQ,CAA0B,CAAC,EAAE,EAAE,EAAE,uBAAuB,CAAC,CAAA;AAC1E,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyRichtextFacet from '../../../app/bsky/richtext/facet.js'\nimport type * as AppBskyEmbedRecord from '../../../app/bsky/embed/record.js'\nimport type * as ChatBskyEmbedJoinLink from '../embed/joinLink.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 ConvoRef {\n $type?: 'chat.bsky.convo.defs#convoRef'\n did: string\n convoId: string\n}\n\nconst hashConvoRef = 'convoRef'\n\nexport function isConvoRef<V>(v: V) {\n return is$typed(v, id, hashConvoRef)\n}\n\nexport function validateConvoRef<V>(v: V) {\n return validate<ConvoRef & V>(v, id, hashConvoRef)\n}\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?:\n | $Typed<AppBskyEmbedRecord.Main>\n | $Typed<ChatBskyEmbedJoinLink.Main>\n | { $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?:\n | $Typed<AppBskyEmbedRecord.View>\n | $Typed<ChatBskyEmbedJoinLink.View>\n | { $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 added 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 createdAt: string\n joinLink?: ChatBskyGroupDefs.JoinLinkView\n /** The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21. */\n joinRequestCount?: number\n lockStatus: ConvoLockStatus\n /** Whether the lock status is being forced by a moderation override (account inactivation or convo takedown) rather than the owner's own setting. */\n lockStatusModerationOverride: boolean\n /** The total number of members in the group conversation. */\n memberCount: number\n /** The maximum number of members allowed in the group conversation. */\n memberLimit: number\n /** The display name of the group conversation. */\n name: string\n /** The number of unread join requests for the group conversation. Only present for the owner. */\n unreadJoinRequestCount?: number\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 /** Profiles referred to in the message view. This isn't required for compatibility, because it was added later, but should generally be present. */\n relatedProfiles?: ChatBskyActorDefs.ProfileViewBasic[]\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 /** Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present. */\n relatedProfiles?: ChatBskyActorDefs.ProfileViewBasic[]\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 /** Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present. */\n relatedProfiles?: ChatBskyActorDefs.ProfileViewBasic[]\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 requester. Only requester actor gets this. */\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\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a prospective member withdrew their join request. Only the owner gets this. */\nexport interface LogWithdrawIncomingJoinRequest {\n $type?: 'chat.bsky.convo.defs#logWithdrawIncomingJoinRequest'\n rev: string\n convoId: string\n member: ChatBskyActorDefs.ProfileViewBasic\n}\n\nconst hashLogWithdrawIncomingJoinRequest = 'logWithdrawIncomingJoinRequest'\n\nexport function isLogWithdrawIncomingJoinRequest<V>(v: V) {\n return is$typed(v, id, hashLogWithdrawIncomingJoinRequest)\n}\n\nexport function validateLogWithdrawIncomingJoinRequest<V>(v: V) {\n return validate<LogWithdrawIncomingJoinRequest & V>(\n v,\n id,\n hashLogWithdrawIncomingJoinRequest,\n )\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the viewer withdrew their own join request. Only requester actor gets this. */\nexport interface LogWithdrawOutgoingJoinRequest {\n $type?: 'chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest'\n rev: string\n convoId: string\n}\n\nconst hashLogWithdrawOutgoingJoinRequest = 'logWithdrawOutgoingJoinRequest'\n\nexport function isLogWithdrawOutgoingJoinRequest<V>(v: V) {\n return is$typed(v, id, hashLogWithdrawOutgoingJoinRequest)\n}\n\nexport function validateLogWithdrawOutgoingJoinRequest<V>(v: V) {\n return validate<LogWithdrawOutgoingJoinRequest & V>(\n v,\n id,\n hashLogWithdrawOutgoingJoinRequest,\n )\n}\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the group owner marked join requests as read. Only the owner gets this. */\nexport interface LogReadJoinRequests {\n $type?: 'chat.bsky.convo.defs#logReadJoinRequests'\n rev: string\n convoId: string\n}\n\nconst hashLogReadJoinRequests = 'logReadJoinRequests'\n\nexport function isLogReadJoinRequests<V>(v: V) {\n return is$typed(v, id, hashLogReadJoinRequests)\n}\n\nexport function validateLogReadJoinRequests<V>(v: V) {\n return validate<LogReadJoinRequests & V>(v, id, hashLogReadJoinRequests)\n}\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap } from '@atproto/xrpc';
|
|
5
|
+
export type QueryParams = {};
|
|
6
|
+
export type InputSchema = undefined;
|
|
7
|
+
export interface OutputSchema {
|
|
8
|
+
/** Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 31, where 31 means more than 30. */
|
|
9
|
+
unreadAcceptedConvos: number;
|
|
10
|
+
/** Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 11, where 11 means more than 10. */
|
|
11
|
+
unreadRequestConvos: number;
|
|
12
|
+
}
|
|
13
|
+
export interface CallOptions {
|
|
14
|
+
signal?: AbortSignal;
|
|
15
|
+
headers?: HeadersMap;
|
|
16
|
+
}
|
|
17
|
+
export interface Response {
|
|
18
|
+
success: boolean;
|
|
19
|
+
headers: HeadersMap;
|
|
20
|
+
data: OutputSchema;
|
|
21
|
+
}
|
|
22
|
+
export declare function toKnownErr(e: any): any;
|
|
23
|
+
//# sourceMappingURL=getUnreadCounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUnreadCounts.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getUnreadCounts.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AAcrD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAC5B,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,0JAA0J;IAC1J,oBAAoB,EAAE,MAAM,CAAA;IAC5B,4QAA4Q;IAC5Q,mBAAmB,EAAE,MAAM,CAAA;CAC5B;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,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
2
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
3
|
+
const is$typed = _is$typed, validate = _validate;
|
|
4
|
+
const id = 'chat.bsky.convo.getUnreadCounts';
|
|
5
|
+
export function toKnownErr(e) {
|
|
6
|
+
return e;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=getUnreadCounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUnreadCounts.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getUnreadCounts.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;AAuB5C,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.convo.getUnreadCounts'\n\nexport type QueryParams = {}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n /** Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 31, where 31 means more than 30. */\n unreadAcceptedConvos: number\n /** Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 11, where 11 means more than 10. */\n unreadRequestConvos: number\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 function toKnownErr(e: any) {\n return e\n}\n"]}
|
|
@@ -27,5 +27,8 @@ export declare class InvalidConvoError extends XRPCError {
|
|
|
27
27
|
export declare class InsufficientRoleError extends XRPCError {
|
|
28
28
|
constructor(src: XRPCError);
|
|
29
29
|
}
|
|
30
|
+
export declare class ConvoLockedByModerationError extends XRPCError {
|
|
31
|
+
constructor(src: XRPCError);
|
|
32
|
+
}
|
|
30
33
|
export declare function toKnownErr(e: any): any;
|
|
31
34
|
//# sourceMappingURL=unlockConvo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlockConvo.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/unlockConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AAMnD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;CAChB;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,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,qBAAsB,SAAQ,SAAS;gBACtC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"unlockConvo.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/unlockConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AAMnD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;CAChB;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,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,qBAAsB,SAAQ,SAAS;gBACtC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,4BAA6B,SAAQ,SAAS;gBAC7C,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAShC"}
|
|
@@ -16,12 +16,19 @@ export class InsufficientRoleError extends XRPCError {
|
|
|
16
16
|
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
+
export class ConvoLockedByModerationError extends XRPCError {
|
|
20
|
+
constructor(src) {
|
|
21
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
19
24
|
export function toKnownErr(e) {
|
|
20
25
|
if (e instanceof XRPCError) {
|
|
21
26
|
if (e.error === 'InvalidConvo')
|
|
22
27
|
return new InvalidConvoError(e);
|
|
23
28
|
if (e.error === 'InsufficientRole')
|
|
24
29
|
return new InsufficientRoleError(e);
|
|
30
|
+
if (e.error === 'ConvoLockedByModeration')
|
|
31
|
+
return new ConvoLockedByModerationError(e);
|
|
25
32
|
}
|
|
26
33
|
return e;
|
|
27
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlockConvo.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/unlockConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAc,SAAS,EAAE,MAAM,eAAe,CAAA;AAGrD,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAG5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA;AAyBxC,MAAM,OAAO,iBAAkB,SAAQ,SAAS;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;AAED,MAAM,OAAO,qBAAsB,SAAQ,SAAS;IAClD,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;AAED,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,SAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;QAC/D,IAAI,CAAC,CAAC,KAAK,KAAK,kBAAkB;YAAE,OAAO,IAAI,qBAAqB,CAAC,CAAC,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"unlockConvo.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/unlockConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,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QACvE,IAAI,CAAC,CAAC,KAAK,KAAK,yBAAyB;YACvC,OAAO,IAAI,4BAA4B,CAAC,CAAC,CAAC,CAAA;IAC9C,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ChatBskyConvoDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.convo.unlockConvo'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n convoId: 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 InvalidConvoError 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 ConvoLockedByModerationError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'InvalidConvo') return new InvalidConvoError(e)\n if (e.error === 'InsufficientRole') return new InsufficientRoleError(e)\n if (e.error === 'ConvoLockedByModeration')\n return new ConvoLockedByModerationError(e)\n }\n\n return e\n}\n"]}
|
|
@@ -205,7 +205,7 @@ export interface EventGroupChatUpdated {
|
|
|
205
205
|
/** Whether the join link requires owner approval to join. Only present when updateType is join-link-related. */
|
|
206
206
|
joinLinkRequiresApproval?: boolean;
|
|
207
207
|
/** Why the group was locked. Only present when updateType is 'locked'. */
|
|
208
|
-
lockReason?: 'owner_action' | 'owner_left' | 'owner_deactivated' | 'owner_deleted' | 'owner_suspended' | 'owner_taken_down' | 'label_applied' | (string & {});
|
|
208
|
+
lockReason?: 'owner_action' | 'owner_left' | 'owner_deactivated' | 'owner_deleted' | 'owner_suspended' | 'owner_taken_down' | 'label_applied' | 'convo_taken_down' | (string & {});
|
|
209
209
|
/** The new group name. Only present when updateType is 'name_changed'. */
|
|
210
210
|
newName?: string;
|
|
211
211
|
/** The previous group name. Only present when updateType is 'name_changed'. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribeModEvents.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/moderation/subscribeModEvents.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,wDAAwD;AACxD,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,gEAAgE,CAAA;IACxE,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qGAAqG;IACrG,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,GAAG,EAAE,MAAM,CAAA;IACX,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAA;CACb;AAID,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2HAE/C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gDAErD;AAED,yCAAyC;AACzC,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,+DAA+D,CAAA;IACvE,oFAAoF;IACpF,QAAQ,EAAE,MAAM,CAAA;IAChB,6CAA6C;IAC7C,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,MAAM,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A8B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gDAErD"}
|
|
1
|
+
{"version":3,"file":"subscribeModEvents.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/moderation/subscribeModEvents.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,wDAAwD;AACxD,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,gEAAgE,CAAA;IACxE,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qGAAqG;IACrG,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,GAAG,EAAE,MAAM,CAAA;IACX,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAA;CACb;AAID,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2HAE/C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gDAErD;AAED,yCAAyC;AACzC,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,+DAA+D,CAAA;IACvE,oFAAoF;IACpF,QAAQ,EAAE,MAAM,CAAA;IAChB,6CAA6C;IAC7C,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,qDAAqD;IACrD,gBAAgB,EAAE,MAAM,CAAA;IACxB,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAA;IACjB,+CAA+C;IAC/C,iBAAiB,EAAE,MAAM,EAAE,CAAA;IAC3B,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0HAE9C;AAED,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,CAAC,EAAE,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,GAClB,eAAe,GACf,kBAAkB,GAClB,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,oBAAoB;IACpB,UAAU,EACN,cAAc,GACd,QAAQ,GACR,oBAAoB,GACpB,UAAU,GACV,mBAAmB,GACnB,oBAAoB,GACpB,4BAA4B,GAC5B,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CAClB;AAID,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0HAE9C;AAED,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+CAEpD;AAED,8CAA8C;AAC9C,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,gEAAgE,CAAA;IACxE,kDAAkD;IAClD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2HAE/C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gDAErD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribeModEvents.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/moderation/subscribeModEvents.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAA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AED,MAAM,UAAU,gCAAgC,CAAI,CAAI;IACtD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,4BAA4B,CAC7B,CAAA;AACH,CAAC;AAkDD,MAAM,yBAAyB,GAAG,uBAAuB,CAAA;AAEzD,MAAM,UAAU,uBAAuB,CAAI,CAAI;IAC7C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,yBAAyB,CAAC,CAAA;AACnD,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAI,CAAI;IACnD,OAAO,QAAQ,CAA4B,CAAC,EAAE,EAAE,EAAE,yBAAyB,CAAC,CAAA;AAC9E,CAAC;AAaD,MAAM,0BAA0B,GAAG,wBAAwB,CAAA;AAE3D,MAAM,UAAU,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AACpD,CAAC;AAED,MAAM,UAAU,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 { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.moderation.subscribeModEvents'\n\n/** Fired when the first message was sent on a convo. */\nexport interface EventConvoFirstMessage {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage'\n convoId: string\n createdAt: string\n messageId?: string\n /** The list of DIDs message recipients. Does not include the sender, which is in the `user` field */\n recipients: string[]\n rev: string\n /** The DID of the message author. */\n user: string\n}\n\nconst hashEventConvoFirstMessage = 'eventConvoFirstMessage'\n\nexport function isEventConvoFirstMessage<V>(v: V) {\n return is$typed(v, id, hashEventConvoFirstMessage)\n}\n\nexport function validateEventConvoFirstMessage<V>(v: V) {\n return validate<EventConvoFirstMessage & V>(v, id, hashEventConvoFirstMessage)\n}\n\n/** Fire when a group chat is created. */\nexport interface EventGroupChatCreated {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated'\n /** The DID of the actor performing the action. For this event, same as ownerDid. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n /** The name set at creation time. */\n groupName: string\n /** DIDs of everyone added at creation time. */\n initialMemberDids: string[]\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n}\n\nconst hashEventGroupChatCreated = 'eventGroupChatCreated'\n\nexport function isEventGroupChatCreated<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatCreated)\n}\n\nexport function validateEventGroupChatCreated<V>(v: V) {\n return validate<EventGroupChatCreated & V>(v, id, hashEventGroupChatCreated)\n}\n\n/** Fired when a member is added to a group chat. Note that members are added in the 'request' state. */\nexport interface EventGroupChatMemberAdded {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded'\n /** The DID of the actor performing the action. For this event, same as ownerDid. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n /** The number of members who have not yet accepted the convo. */\n requestMembersCount: number\n rev: string\n /** The DID of the member who was added. */\n subjectDid: string\n /** Whether the added member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatMemberAdded = 'eventGroupChatMemberAdded'\n\nexport function isEventGroupChatMemberAdded<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberAdded)\n}\n\nexport function validateEventGroupChatMemberAdded<V>(v: V) {\n return validate<EventGroupChatMemberAdded & V>(\n v,\n id,\n hashEventGroupChatMemberAdded,\n )\n}\n\n/** Fired when a member joins a group chat via an join link that does not require approval. */\nexport interface EventGroupChatMemberJoined {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined'\n /** The DID of the person joining. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The code of the join link used to join. */\n joinLinkCode: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** Whether the joining member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatMemberJoined = 'eventGroupChatMemberJoined'\n\nexport function isEventGroupChatMemberJoined<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberJoined)\n}\n\nexport function validateEventGroupChatMemberJoined<V>(v: V) {\n return validate<EventGroupChatMemberJoined & V>(\n v,\n id,\n hashEventGroupChatMemberJoined,\n )\n}\n\n/** Fired when a user requests to join a group chat via an join link that requires approval. */\nexport interface EventGroupChatJoinRequest {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest'\n /** The DID of the person requesting to join. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The code of the join link used to request joining. */\n joinLinkCode: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** Whether the requesting member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatJoinRequest = 'eventGroupChatJoinRequest'\n\nexport function isEventGroupChatJoinRequest<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequest)\n}\n\nexport function validateEventGroupChatJoinRequest<V>(v: V) {\n return validate<EventGroupChatJoinRequest & V>(\n v,\n id,\n hashEventGroupChatJoinRequest,\n )\n}\n\n/** Fired when a join request is approved by the group owner. */\nexport interface EventGroupChatJoinRequestApproved {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved'\n /** The DID of the owner approving the request. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member whose request was approved. */\n subjectDid: string\n}\n\nconst hashEventGroupChatJoinRequestApproved =\n 'eventGroupChatJoinRequestApproved'\n\nexport function isEventGroupChatJoinRequestApproved<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequestApproved)\n}\n\nexport function validateEventGroupChatJoinRequestApproved<V>(v: V) {\n return validate<EventGroupChatJoinRequestApproved & V>(\n v,\n id,\n hashEventGroupChatJoinRequestApproved,\n )\n}\n\n/** Fired when a join request is rejected by the group owner. */\nexport interface EventGroupChatJoinRequestRejected {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected'\n /** The DID of the owner rejecting the request. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member whose request was rejected. */\n subjectDid: string\n}\n\nconst hashEventGroupChatJoinRequestRejected =\n 'eventGroupChatJoinRequestRejected'\n\nexport function isEventGroupChatJoinRequestRejected<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequestRejected)\n}\n\nexport function validateEventGroupChatJoinRequestRejected<V>(v: V) {\n return validate<EventGroupChatJoinRequestRejected & V>(\n v,\n id,\n hashEventGroupChatJoinRequestRejected,\n )\n}\n\n/** Fired when a user accepts a chat convo, either explicitly or by sending a message. */\nexport interface EventChatAccepted {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventChatAccepted'\n /** The DID of the person accepting the convo. */\n actorDid: string\n /** When the convo was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. Only present for group convos. */\n groupMemberCount?: number\n /** The name of the group chat. Only present for group convos. */\n groupName?: string\n /** How the convo was accepted. */\n method: 'explicit' | 'message' | (string & {})\n /** The DID of the group chat owner. Only present for group convos. */\n ownerDid?: string\n rev: string\n}\n\nconst hashEventChatAccepted = 'eventChatAccepted'\n\nexport function isEventChatAccepted<V>(v: V) {\n return is$typed(v, id, hashEventChatAccepted)\n}\n\nexport function validateEventChatAccepted<V>(v: V) {\n return validate<EventChatAccepted & V>(v, id, hashEventChatAccepted)\n}\n\n/** Fired when a member leaves or is removed from a group chat. */\nexport interface EventGroupChatMemberLeft {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft'\n /** The DID of the actor. For voluntary: the person leaving. For kicked: the owner. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** How the member left. */\n leaveMethod: 'voluntary' | 'kicked' | (string & {})\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member who left or was removed. */\n subjectDid: string\n}\n\nconst hashEventGroupChatMemberLeft = 'eventGroupChatMemberLeft'\n\nexport function isEventGroupChatMemberLeft<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberLeft)\n}\n\nexport function validateEventGroupChatMemberLeft<V>(v: V) {\n return validate<EventGroupChatMemberLeft & V>(\n v,\n id,\n hashEventGroupChatMemberLeft,\n )\n}\n\n/** Fired when a group chat's metadata or status changes. */\nexport interface EventGroupChatUpdated {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated'\n /** The DID of the actor performing the action (the owner). */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n /** Current group name. */\n groupName: string\n /** The code of the join link. Only present when updateType is join-link-related. */\n joinLinkCode?: string\n /** Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related. */\n joinLinkFollowersOnly?: boolean\n /** Whether the join link requires owner approval to join. Only present when updateType is join-link-related. */\n joinLinkRequiresApproval?: boolean\n /** Why the group was locked. Only present when updateType is 'locked'. */\n lockReason?:\n | 'owner_action'\n | 'owner_left'\n | 'owner_deactivated'\n | 'owner_deleted'\n | 'owner_suspended'\n | 'owner_taken_down'\n | 'label_applied'\n | (string & {})\n /** The new group name. Only present when updateType is 'name_changed'. */\n newName?: string\n /** The previous group name. Only present when updateType is 'name_changed'. */\n oldName?: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** What changed. */\n updateType:\n | 'name_changed'\n | 'locked'\n | 'locked_permanently'\n | 'unlocked'\n | 'join_link_created'\n | 'join_link_disabled'\n | 'join_link_settings_changed'\n | (string & {})\n}\n\nconst hashEventGroupChatUpdated = 'eventGroupChatUpdated'\n\nexport function isEventGroupChatUpdated<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatUpdated)\n}\n\nexport function validateEventGroupChatUpdated<V>(v: V) {\n return validate<EventGroupChatUpdated & V>(v, id, hashEventGroupChatUpdated)\n}\n\n/** Fired when a user exceeds a rate limit. */\nexport interface EventRateLimitExceeded {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded'\n /** The DID of the user who hit the rate limit. */\n actorDid: string\n createdAt: string\n /** The NSID of the endpoint that was rate limited. */\n endpoint: string\n rev: string\n}\n\nconst hashEventRateLimitExceeded = 'eventRateLimitExceeded'\n\nexport function isEventRateLimitExceeded<V>(v: V) {\n return is$typed(v, id, hashEventRateLimitExceeded)\n}\n\nexport function validateEventRateLimitExceeded<V>(v: V) {\n return validate<EventRateLimitExceeded & V>(v, id, hashEventRateLimitExceeded)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"subscribeModEvents.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/moderation/subscribeModEvents.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,IAAI,S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,4BAA4B,GAAG,0BAA0B,CAAA;AAE/D,MAAM,UAAU,0BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,4BAA4B,CAAC,CAAA;AACtD,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAI,CAAI;IACtD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,4BAA4B,CAC7B,CAAA;AACH,CAAC;AAmDD,MAAM,yBAAyB,GAAG,uBAAuB,CAAA;AAEzD,MAAM,UAAU,uBAAuB,CAAI,CAAI;IAC7C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,yBAAyB,CAAC,CAAA;AACnD,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAI,CAAI;IACnD,OAAO,QAAQ,CAA4B,CAAC,EAAE,EAAE,EAAE,yBAAyB,CAAC,CAAA;AAC9E,CAAC;AAaD,MAAM,0BAA0B,GAAG,wBAAwB,CAAA;AAE3D,MAAM,UAAU,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AACpD,CAAC;AAED,MAAM,UAAU,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 { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.moderation.subscribeModEvents'\n\n/** Fired when the first message was sent on a convo. */\nexport interface EventConvoFirstMessage {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage'\n convoId: string\n createdAt: string\n messageId?: string\n /** The list of DIDs message recipients. Does not include the sender, which is in the `user` field */\n recipients: string[]\n rev: string\n /** The DID of the message author. */\n user: string\n}\n\nconst hashEventConvoFirstMessage = 'eventConvoFirstMessage'\n\nexport function isEventConvoFirstMessage<V>(v: V) {\n return is$typed(v, id, hashEventConvoFirstMessage)\n}\n\nexport function validateEventConvoFirstMessage<V>(v: V) {\n return validate<EventConvoFirstMessage & V>(v, id, hashEventConvoFirstMessage)\n}\n\n/** Fire when a group chat is created. */\nexport interface EventGroupChatCreated {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated'\n /** The DID of the actor performing the action. For this event, same as ownerDid. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n /** The name set at creation time. */\n groupName: string\n /** DIDs of everyone added at creation time. */\n initialMemberDids: string[]\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n}\n\nconst hashEventGroupChatCreated = 'eventGroupChatCreated'\n\nexport function isEventGroupChatCreated<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatCreated)\n}\n\nexport function validateEventGroupChatCreated<V>(v: V) {\n return validate<EventGroupChatCreated & V>(v, id, hashEventGroupChatCreated)\n}\n\n/** Fired when a member is added to a group chat. Note that members are added in the 'request' state. */\nexport interface EventGroupChatMemberAdded {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded'\n /** The DID of the actor performing the action. For this event, same as ownerDid. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n /** The number of members who have not yet accepted the convo. */\n requestMembersCount: number\n rev: string\n /** The DID of the member who was added. */\n subjectDid: string\n /** Whether the added member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatMemberAdded = 'eventGroupChatMemberAdded'\n\nexport function isEventGroupChatMemberAdded<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberAdded)\n}\n\nexport function validateEventGroupChatMemberAdded<V>(v: V) {\n return validate<EventGroupChatMemberAdded & V>(\n v,\n id,\n hashEventGroupChatMemberAdded,\n )\n}\n\n/** Fired when a member joins a group chat via an join link that does not require approval. */\nexport interface EventGroupChatMemberJoined {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined'\n /** The DID of the person joining. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The code of the join link used to join. */\n joinLinkCode: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** Whether the joining member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatMemberJoined = 'eventGroupChatMemberJoined'\n\nexport function isEventGroupChatMemberJoined<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberJoined)\n}\n\nexport function validateEventGroupChatMemberJoined<V>(v: V) {\n return validate<EventGroupChatMemberJoined & V>(\n v,\n id,\n hashEventGroupChatMemberJoined,\n )\n}\n\n/** Fired when a user requests to join a group chat via an join link that requires approval. */\nexport interface EventGroupChatJoinRequest {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest'\n /** The DID of the person requesting to join. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The code of the join link used to request joining. */\n joinLinkCode: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** Whether the requesting member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatJoinRequest = 'eventGroupChatJoinRequest'\n\nexport function isEventGroupChatJoinRequest<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequest)\n}\n\nexport function validateEventGroupChatJoinRequest<V>(v: V) {\n return validate<EventGroupChatJoinRequest & V>(\n v,\n id,\n hashEventGroupChatJoinRequest,\n )\n}\n\n/** Fired when a join request is approved by the group owner. */\nexport interface EventGroupChatJoinRequestApproved {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved'\n /** The DID of the owner approving the request. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member whose request was approved. */\n subjectDid: string\n}\n\nconst hashEventGroupChatJoinRequestApproved =\n 'eventGroupChatJoinRequestApproved'\n\nexport function isEventGroupChatJoinRequestApproved<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequestApproved)\n}\n\nexport function validateEventGroupChatJoinRequestApproved<V>(v: V) {\n return validate<EventGroupChatJoinRequestApproved & V>(\n v,\n id,\n hashEventGroupChatJoinRequestApproved,\n )\n}\n\n/** Fired when a join request is rejected by the group owner. */\nexport interface EventGroupChatJoinRequestRejected {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected'\n /** The DID of the owner rejecting the request. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member whose request was rejected. */\n subjectDid: string\n}\n\nconst hashEventGroupChatJoinRequestRejected =\n 'eventGroupChatJoinRequestRejected'\n\nexport function isEventGroupChatJoinRequestRejected<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequestRejected)\n}\n\nexport function validateEventGroupChatJoinRequestRejected<V>(v: V) {\n return validate<EventGroupChatJoinRequestRejected & V>(\n v,\n id,\n hashEventGroupChatJoinRequestRejected,\n )\n}\n\n/** Fired when a user accepts a chat convo, either explicitly or by sending a message. */\nexport interface EventChatAccepted {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventChatAccepted'\n /** The DID of the person accepting the convo. */\n actorDid: string\n /** When the convo was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. Only present for group convos. */\n groupMemberCount?: number\n /** The name of the group chat. Only present for group convos. */\n groupName?: string\n /** How the convo was accepted. */\n method: 'explicit' | 'message' | (string & {})\n /** The DID of the group chat owner. Only present for group convos. */\n ownerDid?: string\n rev: string\n}\n\nconst hashEventChatAccepted = 'eventChatAccepted'\n\nexport function isEventChatAccepted<V>(v: V) {\n return is$typed(v, id, hashEventChatAccepted)\n}\n\nexport function validateEventChatAccepted<V>(v: V) {\n return validate<EventChatAccepted & V>(v, id, hashEventChatAccepted)\n}\n\n/** Fired when a member leaves or is removed from a group chat. */\nexport interface EventGroupChatMemberLeft {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft'\n /** The DID of the actor. For voluntary: the person leaving. For kicked: the owner. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** How the member left. */\n leaveMethod: 'voluntary' | 'kicked' | (string & {})\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member who left or was removed. */\n subjectDid: string\n}\n\nconst hashEventGroupChatMemberLeft = 'eventGroupChatMemberLeft'\n\nexport function isEventGroupChatMemberLeft<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberLeft)\n}\n\nexport function validateEventGroupChatMemberLeft<V>(v: V) {\n return validate<EventGroupChatMemberLeft & V>(\n v,\n id,\n hashEventGroupChatMemberLeft,\n )\n}\n\n/** Fired when a group chat's metadata or status changes. */\nexport interface EventGroupChatUpdated {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated'\n /** The DID of the actor performing the action (the owner). */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n /** Current group name. */\n groupName: string\n /** The code of the join link. Only present when updateType is join-link-related. */\n joinLinkCode?: string\n /** Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related. */\n joinLinkFollowersOnly?: boolean\n /** Whether the join link requires owner approval to join. Only present when updateType is join-link-related. */\n joinLinkRequiresApproval?: boolean\n /** Why the group was locked. Only present when updateType is 'locked'. */\n lockReason?:\n | 'owner_action'\n | 'owner_left'\n | 'owner_deactivated'\n | 'owner_deleted'\n | 'owner_suspended'\n | 'owner_taken_down'\n | 'label_applied'\n | 'convo_taken_down'\n | (string & {})\n /** The new group name. Only present when updateType is 'name_changed'. */\n newName?: string\n /** The previous group name. Only present when updateType is 'name_changed'. */\n oldName?: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** What changed. */\n updateType:\n | 'name_changed'\n | 'locked'\n | 'locked_permanently'\n | 'unlocked'\n | 'join_link_created'\n | 'join_link_disabled'\n | 'join_link_settings_changed'\n | (string & {})\n}\n\nconst hashEventGroupChatUpdated = 'eventGroupChatUpdated'\n\nexport function isEventGroupChatUpdated<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatUpdated)\n}\n\nexport function validateEventGroupChatUpdated<V>(v: V) {\n return validate<EventGroupChatUpdated & V>(v, id, hashEventGroupChatUpdated)\n}\n\n/** Fired when a user exceeds a rate limit. */\nexport interface EventRateLimitExceeded {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded'\n /** The DID of the user who hit the rate limit. */\n actorDid: string\n createdAt: string\n /** The NSID of the endpoint that was rate limited. */\n endpoint: string\n rev: string\n}\n\nconst hashEventRateLimitExceeded = 'eventRateLimitExceeded'\n\nexport function isEventRateLimitExceeded<V>(v: V) {\n return is$typed(v, id, hashEventRateLimitExceeded)\n}\n\nexport function validateEventRateLimitExceeded<V>(v: V) {\n return validate<EventRateLimitExceeded & V>(v, id, hashEventRateLimitExceeded)\n}\n"]}
|