@atproto/bsky 0.0.227 → 0.0.228

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/api/age-assurance/const.d.ts.map +1 -1
  3. package/dist/api/age-assurance/const.js +22 -0
  4. package/dist/api/age-assurance/const.js.map +1 -1
  5. package/dist/lexicons/chat/bsky/actor/defs.defs.d.ts +11 -3
  6. package/dist/lexicons/chat/bsky/actor/defs.defs.d.ts.map +1 -1
  7. package/dist/lexicons/chat/bsky/actor/defs.defs.js +6 -2
  8. package/dist/lexicons/chat/bsky/actor/defs.defs.js.map +1 -1
  9. package/dist/lexicons/chat/bsky/authFullChatClient.defs.d.ts.map +1 -1
  10. package/dist/lexicons/chat/bsky/authFullChatClient.defs.js +17 -0
  11. package/dist/lexicons/chat/bsky/authFullChatClient.defs.js.map +1 -1
  12. package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts +58 -10
  13. package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts.map +1 -1
  14. package/dist/lexicons/chat/bsky/convo/defs.defs.js +25 -12
  15. package/dist/lexicons/chat/bsky/convo/defs.defs.js.map +1 -1
  16. package/dist/lexicons/chat/bsky/convo/getMessages.defs.d.ts +3 -0
  17. package/dist/lexicons/chat/bsky/convo/getMessages.defs.d.ts.map +1 -1
  18. package/dist/lexicons/chat/bsky/convo/getMessages.defs.js +2 -0
  19. package/dist/lexicons/chat/bsky/convo/getMessages.defs.js.map +1 -1
  20. package/dist/lexicons/tools/ozone/moderation/defs.defs.d.ts +4 -0
  21. package/dist/lexicons/tools/ozone/moderation/defs.defs.d.ts.map +1 -1
  22. package/dist/lexicons/tools/ozone/moderation/defs.defs.js +1 -0
  23. package/dist/lexicons/tools/ozone/moderation/defs.defs.js.map +1 -1
  24. package/package.json +3 -3
  25. package/src/api/age-assurance/const.ts +22 -0
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.logEnableJoinLink = exports.logEditJoinLink = exports.logCreateJoinLink = exports.logEditGroup = exports.logLockConvoPermanently = exports.logUnlockConvo = exports.logLockConvo = exports.logMemberLeave = exports.logMemberJoin = exports.logRemoveMember = exports.logAddMember = exports.logReadConvo = exports.logRemoveReaction = exports.logAddReaction = exports.logReadMessage = exports.logDeleteMessage = exports.logCreateMessage = exports.logUnmuteConvo = exports.logMuteConvo = exports.logLeaveConvo = exports.logAcceptConvo = exports.logBeginConvo = exports.groupConvo = exports.directConvo = exports.convoView = exports.messageAndReactionView = exports.reactionViewSender = exports.reactionView = exports.messageViewSender = exports.deletedMessageView = exports.systemMessageDataDisableJoinLink = exports.systemMessageDataEnableJoinLink = exports.systemMessageDataEditJoinLink = exports.systemMessageDataCreateJoinLink = exports.systemMessageDataEditGroup = exports.systemMessageDataLockConvoPermanently = exports.systemMessageDataUnlockConvo = exports.systemMessageDataLockConvo = exports.systemMessageDataMemberLeave = exports.systemMessageDataMemberJoin = exports.systemMessageDataRemoveMember = exports.systemMessageDataAddMember = exports.systemMessageView = exports.messageView = exports.messageInput = exports.messageRef = exports.convoStatus = exports.convoLockStatus = exports.convoKind = exports.$nsid = void 0;
40
- exports.logOutgoingJoinRequest = exports.logRejectJoinRequest = exports.logApproveJoinRequest = exports.logIncomingJoinRequest = exports.logDisableJoinLink = void 0;
39
+ exports.logEditJoinLink = exports.logCreateJoinLink = exports.logEditGroup = exports.logLockConvoPermanently = exports.logUnlockConvo = exports.logLockConvo = exports.logMemberLeave = exports.logMemberJoin = exports.logRemoveMember = exports.logAddMember = exports.logReadConvo = exports.logRemoveReaction = exports.logAddReaction = exports.logReadMessage = exports.logDeleteMessage = exports.logCreateMessage = exports.logUnmuteConvo = exports.logMuteConvo = exports.logLeaveConvo = exports.logAcceptConvo = exports.logBeginConvo = exports.groupConvo = exports.directConvo = exports.convoView = exports.messageAndReactionView = exports.reactionViewSender = exports.reactionView = exports.messageViewSender = exports.deletedMessageView = exports.systemMessageDataDisableJoinLink = exports.systemMessageDataEnableJoinLink = exports.systemMessageDataEditJoinLink = exports.systemMessageDataCreateJoinLink = exports.systemMessageDataEditGroup = exports.systemMessageDataLockConvoPermanently = exports.systemMessageDataUnlockConvo = exports.systemMessageDataLockConvo = exports.systemMessageDataMemberLeave = exports.systemMessageDataMemberJoin = exports.systemMessageDataRemoveMember = exports.systemMessageDataAddMember = exports.systemMessageView = exports.systemMessageReferredUser = exports.messageView = exports.messageInput = exports.messageRef = exports.convoStatus = exports.convoLockStatus = exports.convoKind = exports.$nsid = void 0;
40
+ exports.logOutgoingJoinRequest = exports.logRejectJoinRequest = exports.logApproveJoinRequest = exports.logIncomingJoinRequest = exports.logDisableJoinLink = exports.logEnableJoinLink = void 0;
41
41
  const lex_1 = require("@atproto/lex");
42
42
  const RichtextFacet = __importStar(require("../../../app/bsky/richtext/facet.defs.js"));
43
43
  const EmbedRecord = __importStar(require("../../../app/bsky/embed/record.defs.js"));
@@ -74,6 +74,8 @@ const messageView = lex_1.l.typedObject($nsid, 'messageView', lex_1.l.object({
74
74
  sentAt: lex_1.l.string({ format: 'datetime' }),
75
75
  }));
76
76
  exports.messageView = messageView;
77
+ const systemMessageReferredUser = lex_1.l.typedObject($nsid, 'systemMessageReferredUser', lex_1.l.object({ did: lex_1.l.string({ format: 'did' }) }));
78
+ exports.systemMessageReferredUser = systemMessageReferredUser;
77
79
  /** [NOTE: This is under active development and should be considered unstable while this note is here]. */
78
80
  const systemMessageView = lex_1.l.typedObject($nsid, 'systemMessageView', lex_1.l.object({
79
81
  id: lex_1.l.string(),
@@ -97,42 +99,42 @@ const systemMessageView = lex_1.l.typedObject($nsid, 'systemMessageView', lex_1.
97
99
  exports.systemMessageView = systemMessageView;
98
100
  /** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was added to the group convo. */
99
101
  const systemMessageDataAddMember = lex_1.l.typedObject($nsid, 'systemMessageDataAddMember', lex_1.l.object({
100
- member: lex_1.l.ref((() => ActorDefs.profileViewBasic)),
102
+ member: lex_1.l.ref((() => systemMessageReferredUser)),
101
103
  role: lex_1.l.ref((() => ActorDefs.memberRole)),
102
- addedBy: lex_1.l.ref((() => ActorDefs.profileViewBasic)),
104
+ addedBy: lex_1.l.ref((() => systemMessageReferredUser)),
103
105
  }));
104
106
  exports.systemMessageDataAddMember = systemMessageDataAddMember;
105
107
  /** [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. */
106
108
  const systemMessageDataRemoveMember = lex_1.l.typedObject($nsid, 'systemMessageDataRemoveMember', lex_1.l.object({
107
- member: lex_1.l.ref((() => ActorDefs.profileViewBasic)),
108
- removedBy: lex_1.l.ref((() => ActorDefs.profileViewBasic)),
109
+ member: lex_1.l.ref((() => systemMessageReferredUser)),
110
+ removedBy: lex_1.l.ref((() => systemMessageReferredUser)),
109
111
  }));
110
112
  exports.systemMessageDataRemoveMember = systemMessageDataRemoveMember;
111
113
  /** [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. */
112
114
  const systemMessageDataMemberJoin = lex_1.l.typedObject($nsid, 'systemMessageDataMemberJoin', lex_1.l.object({
113
- member: lex_1.l.ref((() => ActorDefs.profileViewBasic)),
115
+ member: lex_1.l.ref((() => systemMessageReferredUser)),
114
116
  role: lex_1.l.ref((() => ActorDefs.memberRole)),
115
- approvedBy: lex_1.l.optional(lex_1.l.ref((() => ActorDefs.profileViewBasic))),
117
+ approvedBy: lex_1.l.optional(lex_1.l.ref((() => systemMessageReferredUser))),
116
118
  }));
117
119
  exports.systemMessageDataMemberJoin = systemMessageDataMemberJoin;
118
120
  /** [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. */
119
121
  const systemMessageDataMemberLeave = lex_1.l.typedObject($nsid, 'systemMessageDataMemberLeave', lex_1.l.object({
120
- member: lex_1.l.ref((() => ActorDefs.profileViewBasic)),
122
+ member: lex_1.l.ref((() => systemMessageReferredUser)),
121
123
  }));
122
124
  exports.systemMessageDataMemberLeave = systemMessageDataMemberLeave;
123
125
  /** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked. */
124
126
  const systemMessageDataLockConvo = lex_1.l.typedObject($nsid, 'systemMessageDataLockConvo', lex_1.l.object({
125
- lockedBy: lex_1.l.ref((() => ActorDefs.profileViewBasic)),
127
+ lockedBy: lex_1.l.ref((() => systemMessageReferredUser)),
126
128
  }));
127
129
  exports.systemMessageDataLockConvo = systemMessageDataLockConvo;
128
130
  /** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was unlocked. */
129
131
  const systemMessageDataUnlockConvo = lex_1.l.typedObject($nsid, 'systemMessageDataUnlockConvo', lex_1.l.object({
130
- unlockedBy: lex_1.l.ref((() => ActorDefs.profileViewBasic)),
132
+ unlockedBy: lex_1.l.ref((() => systemMessageReferredUser)),
131
133
  }));
132
134
  exports.systemMessageDataUnlockConvo = systemMessageDataUnlockConvo;
133
135
  /** [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. */
134
136
  const systemMessageDataLockConvoPermanently = lex_1.l.typedObject($nsid, 'systemMessageDataLockConvoPermanently', lex_1.l.object({
135
- lockedBy: lex_1.l.ref((() => ActorDefs.profileViewBasic)),
137
+ lockedBy: lex_1.l.ref((() => systemMessageReferredUser)),
136
138
  }));
137
139
  exports.systemMessageDataLockConvoPermanently = systemMessageDataLockConvoPermanently;
138
140
  /** [NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group info was edited. */
@@ -203,6 +205,7 @@ exports.directConvo = directConvo;
203
205
  const groupConvo = lex_1.l.typedObject($nsid, 'groupConvo', lex_1.l.object({
204
206
  name: lex_1.l.string({ maxGraphemes: 128, maxLength: 1280 }),
205
207
  memberCount: lex_1.l.integer(),
208
+ createdAt: lex_1.l.string({ format: 'datetime' }),
206
209
  joinLink: lex_1.l.optional(lex_1.l.ref((() => GroupDefs.joinLinkView))),
207
210
  lockStatus: lex_1.l.ref((() => convoLockStatus)),
208
211
  }));
@@ -230,6 +233,7 @@ const logCreateMessage = lex_1.l.typedObject($nsid, 'logCreateMessage', lex_1.l.
230
233
  lex_1.l.typedRef((() => messageView)),
231
234
  lex_1.l.typedRef((() => deletedMessageView)),
232
235
  ], false),
236
+ relatedProfiles: lex_1.l.optional(lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic)))),
233
237
  }));
234
238
  exports.logCreateMessage = logCreateMessage;
235
239
  /** Event indicating a user-originated message was deleted. Is not emitted for system messages. */
@@ -262,6 +266,7 @@ const logAddReaction = lex_1.l.typedObject($nsid, 'logAddReaction', lex_1.l.obje
262
266
  lex_1.l.typedRef((() => deletedMessageView)),
263
267
  ], false),
264
268
  reaction: lex_1.l.ref((() => reactionView)),
269
+ relatedProfiles: lex_1.l.optional(lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic)))),
265
270
  }));
266
271
  exports.logAddReaction = logAddReaction;
267
272
  /** Event indicating a reaction was removed from a message. */
@@ -273,6 +278,7 @@ const logRemoveReaction = lex_1.l.typedObject($nsid, 'logRemoveReaction', lex_1.
273
278
  lex_1.l.typedRef((() => deletedMessageView)),
274
279
  ], false),
275
280
  reaction: lex_1.l.ref((() => reactionView)),
281
+ relatedProfiles: lex_1.l.optional(lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic)))),
276
282
  }));
277
283
  exports.logRemoveReaction = logRemoveReaction;
278
284
  /** [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. */
@@ -291,6 +297,7 @@ const logAddMember = lex_1.l.typedObject($nsid, 'logAddMember', lex_1.l.object({
291
297
  rev: lex_1.l.string(),
292
298
  convoId: lex_1.l.string(),
293
299
  message: lex_1.l.ref((() => systemMessageView)),
300
+ relatedProfiles: lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic))),
294
301
  }));
295
302
  exports.logAddMember = logAddMember;
296
303
  /** [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). */
@@ -298,6 +305,7 @@ const logRemoveMember = lex_1.l.typedObject($nsid, 'logRemoveMember', lex_1.l.ob
298
305
  rev: lex_1.l.string(),
299
306
  convoId: lex_1.l.string(),
300
307
  message: lex_1.l.ref((() => systemMessageView)),
308
+ relatedProfiles: lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic))),
301
309
  }));
302
310
  exports.logRemoveMember = logRemoveMember;
303
311
  /** [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). */
@@ -305,6 +313,7 @@ const logMemberJoin = lex_1.l.typedObject($nsid, 'logMemberJoin', lex_1.l.object
305
313
  rev: lex_1.l.string(),
306
314
  convoId: lex_1.l.string(),
307
315
  message: lex_1.l.ref((() => systemMessageView)),
316
+ relatedProfiles: lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic))),
308
317
  }));
309
318
  exports.logMemberJoin = logMemberJoin;
310
319
  /** [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). */
@@ -312,6 +321,7 @@ const logMemberLeave = lex_1.l.typedObject($nsid, 'logMemberLeave', lex_1.l.obje
312
321
  rev: lex_1.l.string(),
313
322
  convoId: lex_1.l.string(),
314
323
  message: lex_1.l.ref((() => systemMessageView)),
324
+ relatedProfiles: lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic))),
315
325
  }));
316
326
  exports.logMemberLeave = logMemberLeave;
317
327
  /** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked. */
@@ -319,6 +329,7 @@ const logLockConvo = lex_1.l.typedObject($nsid, 'logLockConvo', lex_1.l.object({
319
329
  rev: lex_1.l.string(),
320
330
  convoId: lex_1.l.string(),
321
331
  message: lex_1.l.ref((() => systemMessageView)),
332
+ relatedProfiles: lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic))),
322
333
  }));
323
334
  exports.logLockConvo = logLockConvo;
324
335
  /** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked. */
@@ -326,6 +337,7 @@ const logUnlockConvo = lex_1.l.typedObject($nsid, 'logUnlockConvo', lex_1.l.obje
326
337
  rev: lex_1.l.string(),
327
338
  convoId: lex_1.l.string(),
328
339
  message: lex_1.l.ref((() => systemMessageView)),
340
+ relatedProfiles: lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic))),
329
341
  }));
330
342
  exports.logUnlockConvo = logUnlockConvo;
331
343
  /** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked permanently. */
@@ -333,6 +345,7 @@ const logLockConvoPermanently = lex_1.l.typedObject($nsid, 'logLockConvoPermanen
333
345
  rev: lex_1.l.string(),
334
346
  convoId: lex_1.l.string(),
335
347
  message: lex_1.l.ref((() => systemMessageView)),
348
+ relatedProfiles: lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic))),
336
349
  }));
337
350
  exports.logLockConvoPermanently = logLockConvoPermanently;
338
351
  /** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating info about group convo was edited. */
@@ -1 +1 @@
1
- {"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/defs.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,wFAAyE;AACzE,oFAAqE;AACrE,iEAAkD;AAClD,iEAAkD;AAElD,MAAM,KAAK,GAAG,sBAAsB,CAAA;AAE3B,sBAAK;AAMd,MAAM,SAAS,GAAG,OAAC,CAAC,MAAM,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AAE,OAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,OAAC,CAAC,GAAG,CACX,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,gBAAgB,CAAQ,CAC1C;CACF,CAAC,CACH,CAAA;AAEQ,sDAAqB;AAgB9B,gMAAgM;AAChM,MAAM,oBAAoB,GAAG,OAAC,CAAC,WAAW,CACxC,KAAK,EACL,sBAAsB,EACtB,OAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,OAAC,CAAC,GAAG,CACX,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,gBAAgB,CAAQ,CAC1C;CACF,CAAC,CACH,CAAA;AAEQ,oDAAoB;AAW7B,kKAAkK;AAClK,MAAM,sBAAsB,GAAG,OAAC,CAAC,WAAW,CAC1C,KAAK,EACL,wBAAwB,EACxB,OAAC,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACnD,CAAA;AAEQ,wDAAsB","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RichtextFacet from '../../../app/bsky/richtext/facet.defs.js'\nimport * as EmbedRecord from '../../../app/bsky/embed/record.defs.js'\nimport * as ActorDefs from '../actor/defs.defs.js'\nimport * as GroupDefs from '../group/defs.defs.js'\n\nconst $nsid = 'chat.bsky.convo.defs'\n\nexport { $nsid }\n\ntype ConvoKind = 'direct' | 'group' | l.UnknownString\n\nexport type { ConvoKind }\n\nconst convoKind = l.string<{ knownValues: ['direct', 'group'] }>()\n\nexport { convoKind }\n\ntype ConvoLockStatus =\n | 'unlocked'\n | 'locked'\n | 'locked-permanently'\n | l.UnknownString\n\nexport type { ConvoLockStatus }\n\nconst convoLockStatus = l.string<{\n knownValues: ['unlocked', 'locked', 'locked-permanently']\n}>()\n\nexport { convoLockStatus }\n\ntype ConvoStatus = 'request' | 'accepted' | l.UnknownString\n\nexport type { ConvoStatus }\n\nconst convoStatus = l.string<{ knownValues: ['request', 'accepted'] }>()\n\nexport { convoStatus }\n\ntype MessageRef = {\n $type?: 'chat.bsky.convo.defs#messageRef'\n did: l.DidString\n convoId: string\n messageId: string\n}\n\nexport type { MessageRef }\n\nconst messageRef = l.typedObject<MessageRef>(\n $nsid,\n 'messageRef',\n l.object({\n did: l.string({ format: 'did' }),\n convoId: l.string(),\n messageId: l.string(),\n }),\n)\n\nexport { messageRef }\n\ntype MessageInput = {\n $type?: 'chat.bsky.convo.defs#messageInput'\n text: string\n\n /**\n * Annotations of text (mentions, URLs, hashtags, etc)\n */\n facets?: RichtextFacet.Main[]\n embed?: l.$Typed<EmbedRecord.Main> | l.Unknown$TypedObject\n}\n\nexport type { MessageInput }\n\nconst messageInput = l.typedObject<MessageInput>(\n $nsid,\n 'messageInput',\n l.object({\n text: l.string({ maxLength: 10000, maxGraphemes: 1000 }),\n facets: l.optional(\n l.array(l.ref<RichtextFacet.Main>((() => RichtextFacet.main) as any)),\n ),\n embed: l.optional(\n l.typedUnion(\n [l.typedRef<EmbedRecord.Main>((() => EmbedRecord.main) as any)],\n false,\n ),\n ),\n }),\n)\n\nexport { messageInput }\n\ntype MessageView = {\n $type?: 'chat.bsky.convo.defs#messageView'\n id: string\n rev: string\n text: string\n\n /**\n * Annotations of text (mentions, URLs, hashtags, etc)\n */\n facets?: RichtextFacet.Main[]\n embed?: l.$Typed<EmbedRecord.View> | l.Unknown$TypedObject\n\n /**\n * Reactions to this message, in ascending order of creation time.\n */\n reactions?: ReactionView[]\n sender: MessageViewSender\n sentAt: l.DatetimeString\n}\n\nexport type { MessageView }\n\nconst messageView = l.typedObject<MessageView>(\n $nsid,\n 'messageView',\n l.object({\n id: l.string(),\n rev: l.string(),\n text: l.string({ maxLength: 10000, maxGraphemes: 1000 }),\n facets: l.optional(\n l.array(l.ref<RichtextFacet.Main>((() => RichtextFacet.main) as any)),\n ),\n embed: l.optional(\n l.typedUnion(\n [l.typedRef<EmbedRecord.View>((() => EmbedRecord.view) as any)],\n false,\n ),\n ),\n reactions: l.optional(\n l.array(l.ref<ReactionView>((() => reactionView) as any)),\n ),\n sender: l.ref<MessageViewSender>((() => messageViewSender) as any),\n sentAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { messageView }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\ntype SystemMessageView = {\n $type?: 'chat.bsky.convo.defs#systemMessageView'\n id: string\n rev: string\n sentAt: l.DatetimeString\n data:\n | l.$Typed<SystemMessageDataAddMember>\n | l.$Typed<SystemMessageDataRemoveMember>\n | l.$Typed<SystemMessageDataMemberJoin>\n | l.$Typed<SystemMessageDataMemberLeave>\n | l.$Typed<SystemMessageDataLockConvo>\n | l.$Typed<SystemMessageDataUnlockConvo>\n | l.$Typed<SystemMessageDataLockConvoPermanently>\n | l.$Typed<SystemMessageDataEditGroup>\n | l.$Typed<SystemMessageDataCreateJoinLink>\n | l.$Typed<SystemMessageDataEditJoinLink>\n | l.$Typed<SystemMessageDataEnableJoinLink>\n | l.$Typed<SystemMessageDataDisableJoinLink>\n | l.Unknown$TypedObject\n}\n\nexport type { SystemMessageView }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nconst systemMessageView = l.typedObject<SystemMessageView>(\n $nsid,\n 'systemMessageView',\n l.object({\n id: l.string(),\n rev: l.string(),\n sentAt: l.string({ format: 'datetime' }),\n data: l.typedUnion(\n [\n l.typedRef<SystemMessageDataAddMember>(\n (() => systemMessageDataAddMember) as any,\n ),\n l.typedRef<SystemMessageDataRemoveMember>(\n (() => systemMessageDataRemoveMember) as any,\n ),\n l.typedRef<SystemMessageDataMemberJoin>(\n (() => systemMessageDataMemberJoin) as any,\n ),\n l.typedRef<SystemMessageDataMemberLeave>(\n (() => systemMessageDataMemberLeave) as any,\n ),\n l.typedRef<SystemMessageDataLockConvo>(\n (() => systemMessageDataLockConvo) as any,\n ),\n l.typedRef<SystemMessageDataUnlockConvo>(\n (() => systemMessageDataUnlockConvo) as any,\n ),\n l.typedRef<SystemMessageDataLockConvoPermanently>(\n (() => systemMessageDataLockConvoPermanently) as any,\n ),\n l.typedRef<SystemMessageDataEditGroup>(\n (() => systemMessageDataEditGroup) as any,\n ),\n l.typedRef<SystemMessageDataCreateJoinLink>(\n (() => systemMessageDataCreateJoinLink) as any,\n ),\n l.typedRef<SystemMessageDataEditJoinLink>(\n (() => systemMessageDataEditJoinLink) as any,\n ),\n l.typedRef<SystemMessageDataEnableJoinLink>(\n (() => systemMessageDataEnableJoinLink) as any,\n ),\n l.typedRef<SystemMessageDataDisableJoinLink>(\n (() => systemMessageDataDisableJoinLink) as any,\n ),\n ],\n false,\n ),\n }),\n)\n\nexport { systemMessageView }\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. */\ntype SystemMessageDataAddMember = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataAddMember'\n\n /**\n * Current view of the member who was added.\n */\n member: ActorDefs.ProfileViewBasic\n\n /**\n * Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.\n */\n role: ActorDefs.MemberRole\n addedBy: ActorDefs.ProfileViewBasic\n}\n\nexport type { SystemMessageDataAddMember }\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. */\nconst systemMessageDataAddMember = l.typedObject<SystemMessageDataAddMember>(\n $nsid,\n 'systemMessageDataAddMember',\n l.object({\n member: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n role: l.ref<ActorDefs.MemberRole>((() => ActorDefs.memberRole) as any),\n addedBy: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n)\n\nexport { systemMessageDataAddMember }\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. */\ntype SystemMessageDataRemoveMember = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataRemoveMember'\n\n /**\n * Current view of the member who was removed.\n */\n member: ActorDefs.ProfileViewBasic\n removedBy: ActorDefs.ProfileViewBasic\n}\n\nexport type { SystemMessageDataRemoveMember }\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. */\nconst systemMessageDataRemoveMember =\n l.typedObject<SystemMessageDataRemoveMember>(\n $nsid,\n 'systemMessageDataRemoveMember',\n l.object({\n member: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n removedBy: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n )\n\nexport { systemMessageDataRemoveMember }\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. */\ntype SystemMessageDataMemberJoin = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataMemberJoin'\n\n /**\n * Current view of the member who joined.\n */\n member: ActorDefs.ProfileViewBasic\n\n /**\n * Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.\n */\n role: ActorDefs.MemberRole\n\n /**\n * If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.\n */\n approvedBy?: ActorDefs.ProfileViewBasic\n}\n\nexport type { SystemMessageDataMemberJoin }\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. */\nconst systemMessageDataMemberJoin = l.typedObject<SystemMessageDataMemberJoin>(\n $nsid,\n 'systemMessageDataMemberJoin',\n l.object({\n member: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n role: l.ref<ActorDefs.MemberRole>((() => ActorDefs.memberRole) as any),\n approvedBy: l.optional(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n }),\n)\n\nexport { systemMessageDataMemberJoin }\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. */\ntype SystemMessageDataMemberLeave = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataMemberLeave'\n\n /**\n * Current view of the member who left the group.\n */\n member: ActorDefs.ProfileViewBasic\n}\n\nexport type { SystemMessageDataMemberLeave }\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. */\nconst systemMessageDataMemberLeave =\n l.typedObject<SystemMessageDataMemberLeave>(\n $nsid,\n 'systemMessageDataMemberLeave',\n l.object({\n member: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n )\n\nexport { systemMessageDataMemberLeave }\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. */\ntype SystemMessageDataLockConvo = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataLockConvo'\n\n /**\n * Current view of the member who locked the group.\n */\n lockedBy: ActorDefs.ProfileViewBasic\n}\n\nexport type { SystemMessageDataLockConvo }\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. */\nconst systemMessageDataLockConvo = l.typedObject<SystemMessageDataLockConvo>(\n $nsid,\n 'systemMessageDataLockConvo',\n l.object({\n lockedBy: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n)\n\nexport { systemMessageDataLockConvo }\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. */\ntype SystemMessageDataUnlockConvo = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataUnlockConvo'\n\n /**\n * Current view of the member who unlocked the group.\n */\n unlockedBy: ActorDefs.ProfileViewBasic\n}\n\nexport type { SystemMessageDataUnlockConvo }\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. */\nconst systemMessageDataUnlockConvo =\n l.typedObject<SystemMessageDataUnlockConvo>(\n $nsid,\n 'systemMessageDataUnlockConvo',\n l.object({\n unlockedBy: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n )\n\nexport { systemMessageDataUnlockConvo }\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. */\ntype SystemMessageDataLockConvoPermanently = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataLockConvoPermanently'\n\n /**\n * Current view of the member who locked the group.\n */\n lockedBy: ActorDefs.ProfileViewBasic\n}\n\nexport type { SystemMessageDataLockConvoPermanently }\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. */\nconst systemMessageDataLockConvoPermanently =\n l.typedObject<SystemMessageDataLockConvoPermanently>(\n $nsid,\n 'systemMessageDataLockConvoPermanently',\n l.object({\n lockedBy: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n )\n\nexport { systemMessageDataLockConvoPermanently }\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. */\ntype SystemMessageDataEditGroup = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataEditGroup'\n\n /**\n * Group name that was replaced.\n */\n oldName?: string\n\n /**\n * Group name that replaced the old.\n */\n newName?: string\n}\n\nexport type { SystemMessageDataEditGroup }\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. */\nconst systemMessageDataEditGroup = l.typedObject<SystemMessageDataEditGroup>(\n $nsid,\n 'systemMessageDataEditGroup',\n l.object({\n oldName: l.optional(l.string()),\n newName: l.optional(l.string()),\n }),\n)\n\nexport { systemMessageDataEditGroup }\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. */\ntype SystemMessageDataCreateJoinLink = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataCreateJoinLink'\n}\n\nexport type { SystemMessageDataCreateJoinLink }\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. */\nconst systemMessageDataCreateJoinLink =\n l.typedObject<SystemMessageDataCreateJoinLink>(\n $nsid,\n 'systemMessageDataCreateJoinLink',\n l.object({}),\n )\n\nexport { systemMessageDataCreateJoinLink }\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. */\ntype SystemMessageDataEditJoinLink = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataEditJoinLink'\n}\n\nexport type { SystemMessageDataEditJoinLink }\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. */\nconst systemMessageDataEditJoinLink =\n l.typedObject<SystemMessageDataEditJoinLink>(\n $nsid,\n 'systemMessageDataEditJoinLink',\n l.object({}),\n )\n\nexport { systemMessageDataEditJoinLink }\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. */\ntype SystemMessageDataEnableJoinLink = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataEnableJoinLink'\n}\n\nexport type { SystemMessageDataEnableJoinLink }\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. */\nconst systemMessageDataEnableJoinLink =\n l.typedObject<SystemMessageDataEnableJoinLink>(\n $nsid,\n 'systemMessageDataEnableJoinLink',\n l.object({}),\n )\n\nexport { systemMessageDataEnableJoinLink }\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. */\ntype SystemMessageDataDisableJoinLink = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataDisableJoinLink'\n}\n\nexport type { SystemMessageDataDisableJoinLink }\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. */\nconst systemMessageDataDisableJoinLink =\n l.typedObject<SystemMessageDataDisableJoinLink>(\n $nsid,\n 'systemMessageDataDisableJoinLink',\n l.object({}),\n )\n\nexport { systemMessageDataDisableJoinLink }\n\ntype DeletedMessageView = {\n $type?: 'chat.bsky.convo.defs#deletedMessageView'\n id: string\n rev: string\n sender: MessageViewSender\n sentAt: l.DatetimeString\n}\n\nexport type { DeletedMessageView }\n\nconst deletedMessageView = l.typedObject<DeletedMessageView>(\n $nsid,\n 'deletedMessageView',\n l.object({\n id: l.string(),\n rev: l.string(),\n sender: l.ref<MessageViewSender>((() => messageViewSender) as any),\n sentAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { deletedMessageView }\n\ntype MessageViewSender = {\n $type?: 'chat.bsky.convo.defs#messageViewSender'\n did: l.DidString\n}\n\nexport type { MessageViewSender }\n\nconst messageViewSender = l.typedObject<MessageViewSender>(\n $nsid,\n 'messageViewSender',\n l.object({ did: l.string({ format: 'did' }) }),\n)\n\nexport { messageViewSender }\n\ntype ReactionView = {\n $type?: 'chat.bsky.convo.defs#reactionView'\n value: string\n sender: ReactionViewSender\n createdAt: l.DatetimeString\n}\n\nexport type { ReactionView }\n\nconst reactionView = l.typedObject<ReactionView>(\n $nsid,\n 'reactionView',\n l.object({\n value: l.string(),\n sender: l.ref<ReactionViewSender>((() => reactionViewSender) as any),\n createdAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { reactionView }\n\ntype ReactionViewSender = {\n $type?: 'chat.bsky.convo.defs#reactionViewSender'\n did: l.DidString\n}\n\nexport type { ReactionViewSender }\n\nconst reactionViewSender = l.typedObject<ReactionViewSender>(\n $nsid,\n 'reactionViewSender',\n l.object({ did: l.string({ format: 'did' }) }),\n)\n\nexport { reactionViewSender }\n\ntype MessageAndReactionView = {\n $type?: 'chat.bsky.convo.defs#messageAndReactionView'\n message: MessageView\n reaction: ReactionView\n}\n\nexport type { MessageAndReactionView }\n\nconst messageAndReactionView = l.typedObject<MessageAndReactionView>(\n $nsid,\n 'messageAndReactionView',\n l.object({\n message: l.ref<MessageView>((() => messageView) as any),\n reaction: l.ref<ReactionView>((() => reactionView) as any),\n }),\n)\n\nexport { messageAndReactionView }\n\ntype ConvoView = {\n $type?: 'chat.bsky.convo.defs#convoView'\n id: string\n rev: string\n\n /**\n * Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who invited the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. Use chat.bsky.convo.getConvoMembers to list all members.\n */\n members: ActorDefs.ProfileViewBasic[]\n lastMessage?:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.$Typed<SystemMessageView>\n | l.Unknown$TypedObject\n lastReaction?: l.$Typed<MessageAndReactionView> | l.Unknown$TypedObject\n muted: boolean\n\n /**\n * Convo status for the viewer member (not the convo itself).\n */\n status?: ConvoStatus\n unreadCount: number\n\n /**\n * Union field that has data specific to different kinds of convos.\n */\n kind?: l.$Typed<DirectConvo> | l.$Typed<GroupConvo> | l.Unknown$TypedObject\n}\n\nexport type { ConvoView }\n\nconst convoView = l.typedObject<ConvoView>(\n $nsid,\n 'convoView',\n l.object({\n id: l.string(),\n rev: l.string(),\n members: l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n lastMessage: l.optional(\n l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n l.typedRef<SystemMessageView>((() => systemMessageView) as any),\n ],\n false,\n ),\n ),\n lastReaction: l.optional(\n l.typedUnion(\n [\n l.typedRef<MessageAndReactionView>(\n (() => messageAndReactionView) as any,\n ),\n ],\n false,\n ),\n ),\n muted: l.boolean(),\n status: l.optional(l.ref<ConvoStatus>((() => convoStatus) as any)),\n unreadCount: l.integer(),\n kind: l.optional(\n l.typedUnion(\n [\n l.typedRef<DirectConvo>((() => directConvo) as any),\n l.typedRef<GroupConvo>((() => groupConvo) as any),\n ],\n false,\n ),\n ),\n }),\n)\n\nexport { convoView }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\ntype DirectConvo = { $type?: 'chat.bsky.convo.defs#directConvo' }\n\nexport type { DirectConvo }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nconst directConvo = l.typedObject<DirectConvo>(\n $nsid,\n 'directConvo',\n l.object({}),\n)\n\nexport { directConvo }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\ntype GroupConvo = {\n $type?: 'chat.bsky.convo.defs#groupConvo'\n\n /**\n * The display name of the group conversation.\n */\n name: string\n\n /**\n * The total number of members in the group conversation.\n */\n memberCount: number\n joinLink?: GroupDefs.JoinLinkView\n\n /**\n * The lock status of the conversation.\n */\n lockStatus: ConvoLockStatus\n}\n\nexport type { GroupConvo }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nconst groupConvo = l.typedObject<GroupConvo>(\n $nsid,\n 'groupConvo',\n l.object({\n name: l.string({ maxGraphemes: 128, maxLength: 1280 }),\n memberCount: l.integer(),\n joinLink: l.optional(\n l.ref<GroupDefs.JoinLinkView>((() => GroupDefs.joinLinkView) as any),\n ),\n lockStatus: l.ref<ConvoLockStatus>((() => convoLockStatus) as any),\n }),\n)\n\nexport { groupConvo }\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. */\ntype LogBeginConvo = {\n $type?: 'chat.bsky.convo.defs#logBeginConvo'\n rev: string\n convoId: string\n}\n\nexport type { LogBeginConvo }\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. */\nconst logBeginConvo = l.typedObject<LogBeginConvo>(\n $nsid,\n 'logBeginConvo',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logBeginConvo }\n\n/** Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group. */\ntype LogAcceptConvo = {\n $type?: 'chat.bsky.convo.defs#logAcceptConvo'\n rev: string\n convoId: string\n}\n\nexport type { LogAcceptConvo }\n\n/** Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group. */\nconst logAcceptConvo = l.typedObject<LogAcceptConvo>(\n $nsid,\n 'logAcceptConvo',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logAcceptConvo }\n\n/** Event indicating the viewer left a convo. Can be direct or group. */\ntype LogLeaveConvo = {\n $type?: 'chat.bsky.convo.defs#logLeaveConvo'\n rev: string\n convoId: string\n}\n\nexport type { LogLeaveConvo }\n\n/** Event indicating the viewer left a convo. Can be direct or group. */\nconst logLeaveConvo = l.typedObject<LogLeaveConvo>(\n $nsid,\n 'logLeaveConvo',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logLeaveConvo }\n\n/** Event indicating the viewer muted a convo. Can be direct or group. */\ntype LogMuteConvo = {\n $type?: 'chat.bsky.convo.defs#logMuteConvo'\n rev: string\n convoId: string\n}\n\nexport type { LogMuteConvo }\n\n/** Event indicating the viewer muted a convo. Can be direct or group. */\nconst logMuteConvo = l.typedObject<LogMuteConvo>(\n $nsid,\n 'logMuteConvo',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logMuteConvo }\n\n/** Event indicating the viewer unmuted a convo. Can be direct or group. */\ntype LogUnmuteConvo = {\n $type?: 'chat.bsky.convo.defs#logUnmuteConvo'\n rev: string\n convoId: string\n}\n\nexport type { LogUnmuteConvo }\n\n/** Event indicating the viewer unmuted a convo. Can be direct or group. */\nconst logUnmuteConvo = l.typedObject<LogUnmuteConvo>(\n $nsid,\n 'logUnmuteConvo',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logUnmuteConvo }\n\n/** Event indicating a user-originated message was created. Is not emitted for system messages. */\ntype LogCreateMessage = {\n $type?: 'chat.bsky.convo.defs#logCreateMessage'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.Unknown$TypedObject\n}\n\nexport type { LogCreateMessage }\n\n/** Event indicating a user-originated message was created. Is not emitted for system messages. */\nconst logCreateMessage = l.typedObject<LogCreateMessage>(\n $nsid,\n 'logCreateMessage',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n ],\n false,\n ),\n }),\n)\n\nexport { logCreateMessage }\n\n/** Event indicating a user-originated message was deleted. Is not emitted for system messages. */\ntype LogDeleteMessage = {\n $type?: 'chat.bsky.convo.defs#logDeleteMessage'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.Unknown$TypedObject\n}\n\nexport type { LogDeleteMessage }\n\n/** Event indicating a user-originated message was deleted. Is not emitted for system messages. */\nconst logDeleteMessage = l.typedObject<LogDeleteMessage>(\n $nsid,\n 'logDeleteMessage',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n ],\n false,\n ),\n }),\n)\n\nexport { logDeleteMessage }\n\n/** @deprecated use logReadConvo instead. Event indicating a convo was read up to a certain message. */\ntype LogReadMessage = {\n $type?: 'chat.bsky.convo.defs#logReadMessage'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.$Typed<SystemMessageView>\n | l.Unknown$TypedObject\n}\n\nexport type { LogReadMessage }\n\n/** @deprecated use logReadConvo instead. Event indicating a convo was read up to a certain message. */\nconst logReadMessage = l.typedObject<LogReadMessage>(\n $nsid,\n 'logReadMessage',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n l.typedRef<SystemMessageView>((() => systemMessageView) as any),\n ],\n false,\n ),\n }),\n)\n\nexport { logReadMessage }\n\n/** Event indicating a reaction was added to a message. */\ntype LogAddReaction = {\n $type?: 'chat.bsky.convo.defs#logAddReaction'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.Unknown$TypedObject\n reaction: ReactionView\n}\n\nexport type { LogAddReaction }\n\n/** Event indicating a reaction was added to a message. */\nconst logAddReaction = l.typedObject<LogAddReaction>(\n $nsid,\n 'logAddReaction',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n ],\n false,\n ),\n reaction: l.ref<ReactionView>((() => reactionView) as any),\n }),\n)\n\nexport { logAddReaction }\n\n/** Event indicating a reaction was removed from a message. */\ntype LogRemoveReaction = {\n $type?: 'chat.bsky.convo.defs#logRemoveReaction'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.Unknown$TypedObject\n reaction: ReactionView\n}\n\nexport type { LogRemoveReaction }\n\n/** Event indicating a reaction was removed from a message. */\nconst logRemoveReaction = l.typedObject<LogRemoveReaction>(\n $nsid,\n 'logRemoveReaction',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n ],\n false,\n ),\n reaction: l.ref<ReactionView>((() => reactionView) as any),\n }),\n)\n\nexport { logRemoveReaction }\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. */\ntype LogReadConvo = {\n $type?: 'chat.bsky.convo.defs#logReadConvo'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.$Typed<SystemMessageView>\n | l.Unknown$TypedObject\n}\n\nexport type { LogReadConvo }\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. */\nconst logReadConvo = l.typedObject<LogReadConvo>(\n $nsid,\n 'logReadConvo',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n l.typedRef<SystemMessageView>((() => systemMessageView) as any),\n ],\n false,\n ),\n }),\n)\n\nexport { logReadConvo }\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). */\ntype LogAddMember = {\n $type?: 'chat.bsky.convo.defs#logAddMember'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataAddMember\n */\n message: SystemMessageView\n}\n\nexport type { LogAddMember }\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). */\nconst logAddMember = l.typedObject<LogAddMember>(\n $nsid,\n 'logAddMember',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logAddMember }\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). */\ntype LogRemoveMember = {\n $type?: 'chat.bsky.convo.defs#logRemoveMember'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataRemoveMember\n */\n message: SystemMessageView\n}\n\nexport type { LogRemoveMember }\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). */\nconst logRemoveMember = l.typedObject<LogRemoveMember>(\n $nsid,\n 'logRemoveMember',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logRemoveMember }\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). */\ntype LogMemberJoin = {\n $type?: 'chat.bsky.convo.defs#logMemberJoin'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataMemberJoin\n */\n message: SystemMessageView\n}\n\nexport type { LogMemberJoin }\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). */\nconst logMemberJoin = l.typedObject<LogMemberJoin>(\n $nsid,\n 'logMemberJoin',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logMemberJoin }\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). */\ntype LogMemberLeave = {\n $type?: 'chat.bsky.convo.defs#logMemberLeave'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataMemberLeave\n */\n message: SystemMessageView\n}\n\nexport type { LogMemberLeave }\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). */\nconst logMemberLeave = l.typedObject<LogMemberLeave>(\n $nsid,\n 'logMemberLeave',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logMemberLeave }\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. */\ntype LogLockConvo = {\n $type?: 'chat.bsky.convo.defs#logLockConvo'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataLockConvo\n */\n message: SystemMessageView\n}\n\nexport type { LogLockConvo }\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. */\nconst logLockConvo = l.typedObject<LogLockConvo>(\n $nsid,\n 'logLockConvo',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logLockConvo }\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. */\ntype LogUnlockConvo = {\n $type?: 'chat.bsky.convo.defs#logUnlockConvo'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataUnlockConvo\n */\n message: SystemMessageView\n}\n\nexport type { LogUnlockConvo }\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. */\nconst logUnlockConvo = l.typedObject<LogUnlockConvo>(\n $nsid,\n 'logUnlockConvo',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logUnlockConvo }\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. */\ntype LogLockConvoPermanently = {\n $type?: 'chat.bsky.convo.defs#logLockConvoPermanently'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataLockConvoPermanently\n */\n message: SystemMessageView\n}\n\nexport type { LogLockConvoPermanently }\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. */\nconst logLockConvoPermanently = l.typedObject<LogLockConvoPermanently>(\n $nsid,\n 'logLockConvoPermanently',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logLockConvoPermanently }\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. */\ntype LogEditGroup = {\n $type?: 'chat.bsky.convo.defs#logEditGroup'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataEditGroup\n */\n message: SystemMessageView\n}\n\nexport type { LogEditGroup }\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. */\nconst logEditGroup = l.typedObject<LogEditGroup>(\n $nsid,\n 'logEditGroup',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logEditGroup }\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. */\ntype LogCreateJoinLink = {\n $type?: 'chat.bsky.convo.defs#logCreateJoinLink'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataCreateJoinLink\n */\n message: SystemMessageView\n}\n\nexport type { LogCreateJoinLink }\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. */\nconst logCreateJoinLink = l.typedObject<LogCreateJoinLink>(\n $nsid,\n 'logCreateJoinLink',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logCreateJoinLink }\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. */\ntype LogEditJoinLink = {\n $type?: 'chat.bsky.convo.defs#logEditJoinLink'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataEditJoinLink\n */\n message: SystemMessageView\n}\n\nexport type { LogEditJoinLink }\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. */\nconst logEditJoinLink = l.typedObject<LogEditJoinLink>(\n $nsid,\n 'logEditJoinLink',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logEditJoinLink }\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. */\ntype LogEnableJoinLink = {\n $type?: 'chat.bsky.convo.defs#logEnableJoinLink'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataEnableJoinLink\n */\n message: SystemMessageView\n}\n\nexport type { LogEnableJoinLink }\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. */\nconst logEnableJoinLink = l.typedObject<LogEnableJoinLink>(\n $nsid,\n 'logEnableJoinLink',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logEnableJoinLink }\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. */\ntype LogDisableJoinLink = {\n $type?: 'chat.bsky.convo.defs#logDisableJoinLink'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataDisableJoinLink\n */\n message: SystemMessageView\n}\n\nexport type { LogDisableJoinLink }\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. */\nconst logDisableJoinLink = l.typedObject<LogDisableJoinLink>(\n $nsid,\n 'logDisableJoinLink',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logDisableJoinLink }\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. */\ntype LogIncomingJoinRequest = {\n $type?: 'chat.bsky.convo.defs#logIncomingJoinRequest'\n rev: string\n convoId: string\n\n /**\n * Prospective member who requested to join.\n */\n member: ActorDefs.ProfileViewBasic\n}\n\nexport type { LogIncomingJoinRequest }\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. */\nconst logIncomingJoinRequest = l.typedObject<LogIncomingJoinRequest>(\n $nsid,\n 'logIncomingJoinRequest',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n member: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n)\n\nexport { logIncomingJoinRequest }\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. */\ntype LogApproveJoinRequest = {\n $type?: 'chat.bsky.convo.defs#logApproveJoinRequest'\n rev: string\n convoId: string\n\n /**\n * Prospective member who requested to join.\n */\n member: ActorDefs.ProfileViewBasic\n}\n\nexport type { LogApproveJoinRequest }\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. */\nconst logApproveJoinRequest = l.typedObject<LogApproveJoinRequest>(\n $nsid,\n 'logApproveJoinRequest',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n member: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n)\n\nexport { logApproveJoinRequest }\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. */\ntype LogRejectJoinRequest = {\n $type?: 'chat.bsky.convo.defs#logRejectJoinRequest'\n rev: string\n convoId: string\n\n /**\n * Prospective member who requested to join.\n */\n member: ActorDefs.ProfileViewBasic\n}\n\nexport type { LogRejectJoinRequest }\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. */\nconst logRejectJoinRequest = l.typedObject<LogRejectJoinRequest>(\n $nsid,\n 'logRejectJoinRequest',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n member: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n)\n\nexport { logRejectJoinRequest }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer. */\ntype LogOutgoingJoinRequest = {\n $type?: 'chat.bsky.convo.defs#logOutgoingJoinRequest'\n rev: string\n convoId: string\n}\n\nexport type { LogOutgoingJoinRequest }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer. */\nconst logOutgoingJoinRequest = l.typedObject<LogOutgoingJoinRequest>(\n $nsid,\n 'logOutgoingJoinRequest',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logOutgoingJoinRequest }\n"]}
1
+ {"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/defs.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,wFAAyE;AACzE,oFAAqE;AACrE,iEAAkD;AAClD,iEAAkD;AAElD,MAAM,KAAK,GAAG,sBAAsB,CAAA;AAE3B,sBAAK;AAMd,MAAM,SAAS,GAAG,OAAC,CAAC,MAAM,EAAwC,CAAA;AAEzD,8BAAS;AAUlB,MAAM,eAAe,GAAG,OAAC,CAAC,MAAM,EAE5B,CAAA;AAEK,0CAAe;AAMxB,MAAM,WAAW,GAAG,OAAC,CAAC,MAAM,EAA4C,CAAA;AAE/D,kCAAW;AAWpB,MAAM,UAAU,GAAG,OAAC,CAAC,WAAW,CAC9B,KAAK,EACL,YAAY,EACZ,OAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAChC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CACH,CAAA;AAEQ,gCAAU;AAenB,MAAM,YAAY,GAAG,OAAC,CAAC,WAAW,CAChC,KAAK,EACL,cAAc,EACd,OAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;IACxD,MAAM,EAAE,OAAC,CAAC,QAAQ,CAChB,OAAC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AAC,GAAG,EAAE,CAAC,SAAS,CAAC,gBAAgB,CAAQ,CAC1C;CACF,CAAC,CACH,CAAA;AAEQ,oDAAoB;AAW7B,kKAAkK;AAClK,MAAM,sBAAsB,GAAG,OAAC,CAAC,WAAW,CAC1C,KAAK,EACL,wBAAwB,EACxB,OAAC,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACnD,CAAA;AAEQ,wDAAsB","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RichtextFacet from '../../../app/bsky/richtext/facet.defs.js'\nimport * as EmbedRecord from '../../../app/bsky/embed/record.defs.js'\nimport * as ActorDefs from '../actor/defs.defs.js'\nimport * as GroupDefs from '../group/defs.defs.js'\n\nconst $nsid = 'chat.bsky.convo.defs'\n\nexport { $nsid }\n\ntype ConvoKind = 'direct' | 'group' | l.UnknownString\n\nexport type { ConvoKind }\n\nconst convoKind = l.string<{ knownValues: ['direct', 'group'] }>()\n\nexport { convoKind }\n\ntype ConvoLockStatus =\n | 'unlocked'\n | 'locked'\n | 'locked-permanently'\n | l.UnknownString\n\nexport type { ConvoLockStatus }\n\nconst convoLockStatus = l.string<{\n knownValues: ['unlocked', 'locked', 'locked-permanently']\n}>()\n\nexport { convoLockStatus }\n\ntype ConvoStatus = 'request' | 'accepted' | l.UnknownString\n\nexport type { ConvoStatus }\n\nconst convoStatus = l.string<{ knownValues: ['request', 'accepted'] }>()\n\nexport { convoStatus }\n\ntype MessageRef = {\n $type?: 'chat.bsky.convo.defs#messageRef'\n did: l.DidString\n convoId: string\n messageId: string\n}\n\nexport type { MessageRef }\n\nconst messageRef = l.typedObject<MessageRef>(\n $nsid,\n 'messageRef',\n l.object({\n did: l.string({ format: 'did' }),\n convoId: l.string(),\n messageId: l.string(),\n }),\n)\n\nexport { messageRef }\n\ntype MessageInput = {\n $type?: 'chat.bsky.convo.defs#messageInput'\n text: string\n\n /**\n * Annotations of text (mentions, URLs, hashtags, etc)\n */\n facets?: RichtextFacet.Main[]\n embed?: l.$Typed<EmbedRecord.Main> | l.Unknown$TypedObject\n}\n\nexport type { MessageInput }\n\nconst messageInput = l.typedObject<MessageInput>(\n $nsid,\n 'messageInput',\n l.object({\n text: l.string({ maxLength: 10000, maxGraphemes: 1000 }),\n facets: l.optional(\n l.array(l.ref<RichtextFacet.Main>((() => RichtextFacet.main) as any)),\n ),\n embed: l.optional(\n l.typedUnion(\n [l.typedRef<EmbedRecord.Main>((() => EmbedRecord.main) as any)],\n false,\n ),\n ),\n }),\n)\n\nexport { messageInput }\n\ntype MessageView = {\n $type?: 'chat.bsky.convo.defs#messageView'\n id: string\n rev: string\n text: string\n\n /**\n * Annotations of text (mentions, URLs, hashtags, etc)\n */\n facets?: RichtextFacet.Main[]\n embed?: l.$Typed<EmbedRecord.View> | l.Unknown$TypedObject\n\n /**\n * Reactions to this message, in ascending order of creation time.\n */\n reactions?: ReactionView[]\n sender: MessageViewSender\n sentAt: l.DatetimeString\n}\n\nexport type { MessageView }\n\nconst messageView = l.typedObject<MessageView>(\n $nsid,\n 'messageView',\n l.object({\n id: l.string(),\n rev: l.string(),\n text: l.string({ maxLength: 10000, maxGraphemes: 1000 }),\n facets: l.optional(\n l.array(l.ref<RichtextFacet.Main>((() => RichtextFacet.main) as any)),\n ),\n embed: l.optional(\n l.typedUnion(\n [l.typedRef<EmbedRecord.View>((() => EmbedRecord.view) as any)],\n false,\n ),\n ),\n reactions: l.optional(\n l.array(l.ref<ReactionView>((() => reactionView) as any)),\n ),\n sender: l.ref<MessageViewSender>((() => messageViewSender) as any),\n sentAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { messageView }\n\ntype SystemMessageReferredUser = {\n $type?: 'chat.bsky.convo.defs#systemMessageReferredUser'\n did: l.DidString\n}\n\nexport type { SystemMessageReferredUser }\n\nconst systemMessageReferredUser = l.typedObject<SystemMessageReferredUser>(\n $nsid,\n 'systemMessageReferredUser',\n l.object({ did: l.string({ format: 'did' }) }),\n)\n\nexport { systemMessageReferredUser }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\ntype SystemMessageView = {\n $type?: 'chat.bsky.convo.defs#systemMessageView'\n id: string\n rev: string\n sentAt: l.DatetimeString\n data:\n | l.$Typed<SystemMessageDataAddMember>\n | l.$Typed<SystemMessageDataRemoveMember>\n | l.$Typed<SystemMessageDataMemberJoin>\n | l.$Typed<SystemMessageDataMemberLeave>\n | l.$Typed<SystemMessageDataLockConvo>\n | l.$Typed<SystemMessageDataUnlockConvo>\n | l.$Typed<SystemMessageDataLockConvoPermanently>\n | l.$Typed<SystemMessageDataEditGroup>\n | l.$Typed<SystemMessageDataCreateJoinLink>\n | l.$Typed<SystemMessageDataEditJoinLink>\n | l.$Typed<SystemMessageDataEnableJoinLink>\n | l.$Typed<SystemMessageDataDisableJoinLink>\n | l.Unknown$TypedObject\n}\n\nexport type { SystemMessageView }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nconst systemMessageView = l.typedObject<SystemMessageView>(\n $nsid,\n 'systemMessageView',\n l.object({\n id: l.string(),\n rev: l.string(),\n sentAt: l.string({ format: 'datetime' }),\n data: l.typedUnion(\n [\n l.typedRef<SystemMessageDataAddMember>(\n (() => systemMessageDataAddMember) as any,\n ),\n l.typedRef<SystemMessageDataRemoveMember>(\n (() => systemMessageDataRemoveMember) as any,\n ),\n l.typedRef<SystemMessageDataMemberJoin>(\n (() => systemMessageDataMemberJoin) as any,\n ),\n l.typedRef<SystemMessageDataMemberLeave>(\n (() => systemMessageDataMemberLeave) as any,\n ),\n l.typedRef<SystemMessageDataLockConvo>(\n (() => systemMessageDataLockConvo) as any,\n ),\n l.typedRef<SystemMessageDataUnlockConvo>(\n (() => systemMessageDataUnlockConvo) as any,\n ),\n l.typedRef<SystemMessageDataLockConvoPermanently>(\n (() => systemMessageDataLockConvoPermanently) as any,\n ),\n l.typedRef<SystemMessageDataEditGroup>(\n (() => systemMessageDataEditGroup) as any,\n ),\n l.typedRef<SystemMessageDataCreateJoinLink>(\n (() => systemMessageDataCreateJoinLink) as any,\n ),\n l.typedRef<SystemMessageDataEditJoinLink>(\n (() => systemMessageDataEditJoinLink) as any,\n ),\n l.typedRef<SystemMessageDataEnableJoinLink>(\n (() => systemMessageDataEnableJoinLink) as any,\n ),\n l.typedRef<SystemMessageDataDisableJoinLink>(\n (() => systemMessageDataDisableJoinLink) as any,\n ),\n ],\n false,\n ),\n }),\n)\n\nexport { systemMessageView }\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. */\ntype SystemMessageDataAddMember = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataAddMember'\n\n /**\n * Current view of the member who was added.\n */\n member: SystemMessageReferredUser\n\n /**\n * Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.\n */\n role: ActorDefs.MemberRole\n addedBy: SystemMessageReferredUser\n}\n\nexport type { SystemMessageDataAddMember }\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. */\nconst systemMessageDataAddMember = l.typedObject<SystemMessageDataAddMember>(\n $nsid,\n 'systemMessageDataAddMember',\n l.object({\n member: l.ref<SystemMessageReferredUser>(\n (() => systemMessageReferredUser) as any,\n ),\n role: l.ref<ActorDefs.MemberRole>((() => ActorDefs.memberRole) as any),\n addedBy: l.ref<SystemMessageReferredUser>(\n (() => systemMessageReferredUser) as any,\n ),\n }),\n)\n\nexport { systemMessageDataAddMember }\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. */\ntype SystemMessageDataRemoveMember = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataRemoveMember'\n\n /**\n * Current view of the member who was removed.\n */\n member: SystemMessageReferredUser\n removedBy: SystemMessageReferredUser\n}\n\nexport type { SystemMessageDataRemoveMember }\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. */\nconst systemMessageDataRemoveMember =\n l.typedObject<SystemMessageDataRemoveMember>(\n $nsid,\n 'systemMessageDataRemoveMember',\n l.object({\n member: l.ref<SystemMessageReferredUser>(\n (() => systemMessageReferredUser) as any,\n ),\n removedBy: l.ref<SystemMessageReferredUser>(\n (() => systemMessageReferredUser) as any,\n ),\n }),\n )\n\nexport { systemMessageDataRemoveMember }\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. */\ntype SystemMessageDataMemberJoin = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataMemberJoin'\n\n /**\n * Current view of the member who joined.\n */\n member: SystemMessageReferredUser\n\n /**\n * Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.\n */\n role: ActorDefs.MemberRole\n\n /**\n * If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.\n */\n approvedBy?: SystemMessageReferredUser\n}\n\nexport type { SystemMessageDataMemberJoin }\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. */\nconst systemMessageDataMemberJoin = l.typedObject<SystemMessageDataMemberJoin>(\n $nsid,\n 'systemMessageDataMemberJoin',\n l.object({\n member: l.ref<SystemMessageReferredUser>(\n (() => systemMessageReferredUser) as any,\n ),\n role: l.ref<ActorDefs.MemberRole>((() => ActorDefs.memberRole) as any),\n approvedBy: l.optional(\n l.ref<SystemMessageReferredUser>(\n (() => systemMessageReferredUser) as any,\n ),\n ),\n }),\n)\n\nexport { systemMessageDataMemberJoin }\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. */\ntype SystemMessageDataMemberLeave = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataMemberLeave'\n\n /**\n * Current view of the member who left the group.\n */\n member: SystemMessageReferredUser\n}\n\nexport type { SystemMessageDataMemberLeave }\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. */\nconst systemMessageDataMemberLeave =\n l.typedObject<SystemMessageDataMemberLeave>(\n $nsid,\n 'systemMessageDataMemberLeave',\n l.object({\n member: l.ref<SystemMessageReferredUser>(\n (() => systemMessageReferredUser) as any,\n ),\n }),\n )\n\nexport { systemMessageDataMemberLeave }\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. */\ntype SystemMessageDataLockConvo = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataLockConvo'\n\n /**\n * Current view of the member who locked the group.\n */\n lockedBy: SystemMessageReferredUser\n}\n\nexport type { SystemMessageDataLockConvo }\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. */\nconst systemMessageDataLockConvo = l.typedObject<SystemMessageDataLockConvo>(\n $nsid,\n 'systemMessageDataLockConvo',\n l.object({\n lockedBy: l.ref<SystemMessageReferredUser>(\n (() => systemMessageReferredUser) as any,\n ),\n }),\n)\n\nexport { systemMessageDataLockConvo }\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. */\ntype SystemMessageDataUnlockConvo = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataUnlockConvo'\n\n /**\n * Current view of the member who unlocked the group.\n */\n unlockedBy: SystemMessageReferredUser\n}\n\nexport type { SystemMessageDataUnlockConvo }\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. */\nconst systemMessageDataUnlockConvo =\n l.typedObject<SystemMessageDataUnlockConvo>(\n $nsid,\n 'systemMessageDataUnlockConvo',\n l.object({\n unlockedBy: l.ref<SystemMessageReferredUser>(\n (() => systemMessageReferredUser) as any,\n ),\n }),\n )\n\nexport { systemMessageDataUnlockConvo }\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. */\ntype SystemMessageDataLockConvoPermanently = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataLockConvoPermanently'\n\n /**\n * Current view of the member who locked the group.\n */\n lockedBy: SystemMessageReferredUser\n}\n\nexport type { SystemMessageDataLockConvoPermanently }\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. */\nconst systemMessageDataLockConvoPermanently =\n l.typedObject<SystemMessageDataLockConvoPermanently>(\n $nsid,\n 'systemMessageDataLockConvoPermanently',\n l.object({\n lockedBy: l.ref<SystemMessageReferredUser>(\n (() => systemMessageReferredUser) as any,\n ),\n }),\n )\n\nexport { systemMessageDataLockConvoPermanently }\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. */\ntype SystemMessageDataEditGroup = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataEditGroup'\n\n /**\n * Group name that was replaced.\n */\n oldName?: string\n\n /**\n * Group name that replaced the old.\n */\n newName?: string\n}\n\nexport type { SystemMessageDataEditGroup }\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. */\nconst systemMessageDataEditGroup = l.typedObject<SystemMessageDataEditGroup>(\n $nsid,\n 'systemMessageDataEditGroup',\n l.object({\n oldName: l.optional(l.string()),\n newName: l.optional(l.string()),\n }),\n)\n\nexport { systemMessageDataEditGroup }\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. */\ntype SystemMessageDataCreateJoinLink = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataCreateJoinLink'\n}\n\nexport type { SystemMessageDataCreateJoinLink }\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. */\nconst systemMessageDataCreateJoinLink =\n l.typedObject<SystemMessageDataCreateJoinLink>(\n $nsid,\n 'systemMessageDataCreateJoinLink',\n l.object({}),\n )\n\nexport { systemMessageDataCreateJoinLink }\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. */\ntype SystemMessageDataEditJoinLink = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataEditJoinLink'\n}\n\nexport type { SystemMessageDataEditJoinLink }\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. */\nconst systemMessageDataEditJoinLink =\n l.typedObject<SystemMessageDataEditJoinLink>(\n $nsid,\n 'systemMessageDataEditJoinLink',\n l.object({}),\n )\n\nexport { systemMessageDataEditJoinLink }\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. */\ntype SystemMessageDataEnableJoinLink = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataEnableJoinLink'\n}\n\nexport type { SystemMessageDataEnableJoinLink }\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. */\nconst systemMessageDataEnableJoinLink =\n l.typedObject<SystemMessageDataEnableJoinLink>(\n $nsid,\n 'systemMessageDataEnableJoinLink',\n l.object({}),\n )\n\nexport { systemMessageDataEnableJoinLink }\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. */\ntype SystemMessageDataDisableJoinLink = {\n $type?: 'chat.bsky.convo.defs#systemMessageDataDisableJoinLink'\n}\n\nexport type { SystemMessageDataDisableJoinLink }\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. */\nconst systemMessageDataDisableJoinLink =\n l.typedObject<SystemMessageDataDisableJoinLink>(\n $nsid,\n 'systemMessageDataDisableJoinLink',\n l.object({}),\n )\n\nexport { systemMessageDataDisableJoinLink }\n\ntype DeletedMessageView = {\n $type?: 'chat.bsky.convo.defs#deletedMessageView'\n id: string\n rev: string\n sender: MessageViewSender\n sentAt: l.DatetimeString\n}\n\nexport type { DeletedMessageView }\n\nconst deletedMessageView = l.typedObject<DeletedMessageView>(\n $nsid,\n 'deletedMessageView',\n l.object({\n id: l.string(),\n rev: l.string(),\n sender: l.ref<MessageViewSender>((() => messageViewSender) as any),\n sentAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { deletedMessageView }\n\ntype MessageViewSender = {\n $type?: 'chat.bsky.convo.defs#messageViewSender'\n did: l.DidString\n}\n\nexport type { MessageViewSender }\n\nconst messageViewSender = l.typedObject<MessageViewSender>(\n $nsid,\n 'messageViewSender',\n l.object({ did: l.string({ format: 'did' }) }),\n)\n\nexport { messageViewSender }\n\ntype ReactionView = {\n $type?: 'chat.bsky.convo.defs#reactionView'\n value: string\n sender: ReactionViewSender\n createdAt: l.DatetimeString\n}\n\nexport type { ReactionView }\n\nconst reactionView = l.typedObject<ReactionView>(\n $nsid,\n 'reactionView',\n l.object({\n value: l.string(),\n sender: l.ref<ReactionViewSender>((() => reactionViewSender) as any),\n createdAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { reactionView }\n\ntype ReactionViewSender = {\n $type?: 'chat.bsky.convo.defs#reactionViewSender'\n did: l.DidString\n}\n\nexport type { ReactionViewSender }\n\nconst reactionViewSender = l.typedObject<ReactionViewSender>(\n $nsid,\n 'reactionViewSender',\n l.object({ did: l.string({ format: 'did' }) }),\n)\n\nexport { reactionViewSender }\n\ntype MessageAndReactionView = {\n $type?: 'chat.bsky.convo.defs#messageAndReactionView'\n message: MessageView\n reaction: ReactionView\n}\n\nexport type { MessageAndReactionView }\n\nconst messageAndReactionView = l.typedObject<MessageAndReactionView>(\n $nsid,\n 'messageAndReactionView',\n l.object({\n message: l.ref<MessageView>((() => messageView) as any),\n reaction: l.ref<ReactionView>((() => reactionView) as any),\n }),\n)\n\nexport { messageAndReactionView }\n\ntype ConvoView = {\n $type?: 'chat.bsky.convo.defs#convoView'\n id: string\n rev: string\n\n /**\n * Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who invited the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. Use chat.bsky.convo.getConvoMembers to list all members.\n */\n members: ActorDefs.ProfileViewBasic[]\n lastMessage?:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.$Typed<SystemMessageView>\n | l.Unknown$TypedObject\n lastReaction?: l.$Typed<MessageAndReactionView> | l.Unknown$TypedObject\n muted: boolean\n\n /**\n * Convo status for the viewer member (not the convo itself).\n */\n status?: ConvoStatus\n unreadCount: number\n\n /**\n * Union field that has data specific to different kinds of convos.\n */\n kind?: l.$Typed<DirectConvo> | l.$Typed<GroupConvo> | l.Unknown$TypedObject\n}\n\nexport type { ConvoView }\n\nconst convoView = l.typedObject<ConvoView>(\n $nsid,\n 'convoView',\n l.object({\n id: l.string(),\n rev: l.string(),\n members: l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n lastMessage: l.optional(\n l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n l.typedRef<SystemMessageView>((() => systemMessageView) as any),\n ],\n false,\n ),\n ),\n lastReaction: l.optional(\n l.typedUnion(\n [\n l.typedRef<MessageAndReactionView>(\n (() => messageAndReactionView) as any,\n ),\n ],\n false,\n ),\n ),\n muted: l.boolean(),\n status: l.optional(l.ref<ConvoStatus>((() => convoStatus) as any)),\n unreadCount: l.integer(),\n kind: l.optional(\n l.typedUnion(\n [\n l.typedRef<DirectConvo>((() => directConvo) as any),\n l.typedRef<GroupConvo>((() => groupConvo) as any),\n ],\n false,\n ),\n ),\n }),\n)\n\nexport { convoView }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\ntype DirectConvo = { $type?: 'chat.bsky.convo.defs#directConvo' }\n\nexport type { DirectConvo }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nconst directConvo = l.typedObject<DirectConvo>(\n $nsid,\n 'directConvo',\n l.object({}),\n)\n\nexport { directConvo }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\ntype GroupConvo = {\n $type?: 'chat.bsky.convo.defs#groupConvo'\n\n /**\n * The display name of the group conversation.\n */\n name: string\n\n /**\n * The total number of members in the group conversation.\n */\n memberCount: number\n createdAt: l.DatetimeString\n joinLink?: GroupDefs.JoinLinkView\n\n /**\n * The lock status of the conversation.\n */\n lockStatus: ConvoLockStatus\n}\n\nexport type { GroupConvo }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nconst groupConvo = l.typedObject<GroupConvo>(\n $nsid,\n 'groupConvo',\n l.object({\n name: l.string({ maxGraphemes: 128, maxLength: 1280 }),\n memberCount: l.integer(),\n createdAt: l.string({ format: 'datetime' }),\n joinLink: l.optional(\n l.ref<GroupDefs.JoinLinkView>((() => GroupDefs.joinLinkView) as any),\n ),\n lockStatus: l.ref<ConvoLockStatus>((() => convoLockStatus) as any),\n }),\n)\n\nexport { groupConvo }\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. */\ntype LogBeginConvo = {\n $type?: 'chat.bsky.convo.defs#logBeginConvo'\n rev: string\n convoId: string\n}\n\nexport type { LogBeginConvo }\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. */\nconst logBeginConvo = l.typedObject<LogBeginConvo>(\n $nsid,\n 'logBeginConvo',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logBeginConvo }\n\n/** Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group. */\ntype LogAcceptConvo = {\n $type?: 'chat.bsky.convo.defs#logAcceptConvo'\n rev: string\n convoId: string\n}\n\nexport type { LogAcceptConvo }\n\n/** Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group. */\nconst logAcceptConvo = l.typedObject<LogAcceptConvo>(\n $nsid,\n 'logAcceptConvo',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logAcceptConvo }\n\n/** Event indicating the viewer left a convo. Can be direct or group. */\ntype LogLeaveConvo = {\n $type?: 'chat.bsky.convo.defs#logLeaveConvo'\n rev: string\n convoId: string\n}\n\nexport type { LogLeaveConvo }\n\n/** Event indicating the viewer left a convo. Can be direct or group. */\nconst logLeaveConvo = l.typedObject<LogLeaveConvo>(\n $nsid,\n 'logLeaveConvo',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logLeaveConvo }\n\n/** Event indicating the viewer muted a convo. Can be direct or group. */\ntype LogMuteConvo = {\n $type?: 'chat.bsky.convo.defs#logMuteConvo'\n rev: string\n convoId: string\n}\n\nexport type { LogMuteConvo }\n\n/** Event indicating the viewer muted a convo. Can be direct or group. */\nconst logMuteConvo = l.typedObject<LogMuteConvo>(\n $nsid,\n 'logMuteConvo',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logMuteConvo }\n\n/** Event indicating the viewer unmuted a convo. Can be direct or group. */\ntype LogUnmuteConvo = {\n $type?: 'chat.bsky.convo.defs#logUnmuteConvo'\n rev: string\n convoId: string\n}\n\nexport type { LogUnmuteConvo }\n\n/** Event indicating the viewer unmuted a convo. Can be direct or group. */\nconst logUnmuteConvo = l.typedObject<LogUnmuteConvo>(\n $nsid,\n 'logUnmuteConvo',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logUnmuteConvo }\n\n/** Event indicating a user-originated message was created. Is not emitted for system messages. */\ntype LogCreateMessage = {\n $type?: 'chat.bsky.convo.defs#logCreateMessage'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.Unknown$TypedObject\n\n /**\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 */\n relatedProfiles?: ActorDefs.ProfileViewBasic[]\n}\n\nexport type { LogCreateMessage }\n\n/** Event indicating a user-originated message was created. Is not emitted for system messages. */\nconst logCreateMessage = l.typedObject<LogCreateMessage>(\n $nsid,\n 'logCreateMessage',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n ],\n false,\n ),\n relatedProfiles: l.optional(\n l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n ),\n }),\n)\n\nexport { logCreateMessage }\n\n/** Event indicating a user-originated message was deleted. Is not emitted for system messages. */\ntype LogDeleteMessage = {\n $type?: 'chat.bsky.convo.defs#logDeleteMessage'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.Unknown$TypedObject\n}\n\nexport type { LogDeleteMessage }\n\n/** Event indicating a user-originated message was deleted. Is not emitted for system messages. */\nconst logDeleteMessage = l.typedObject<LogDeleteMessage>(\n $nsid,\n 'logDeleteMessage',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n ],\n false,\n ),\n }),\n)\n\nexport { logDeleteMessage }\n\n/** @deprecated use logReadConvo instead. Event indicating a convo was read up to a certain message. */\ntype LogReadMessage = {\n $type?: 'chat.bsky.convo.defs#logReadMessage'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.$Typed<SystemMessageView>\n | l.Unknown$TypedObject\n}\n\nexport type { LogReadMessage }\n\n/** @deprecated use logReadConvo instead. Event indicating a convo was read up to a certain message. */\nconst logReadMessage = l.typedObject<LogReadMessage>(\n $nsid,\n 'logReadMessage',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n l.typedRef<SystemMessageView>((() => systemMessageView) as any),\n ],\n false,\n ),\n }),\n)\n\nexport { logReadMessage }\n\n/** Event indicating a reaction was added to a message. */\ntype LogAddReaction = {\n $type?: 'chat.bsky.convo.defs#logAddReaction'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.Unknown$TypedObject\n reaction: ReactionView\n\n /**\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 */\n relatedProfiles?: ActorDefs.ProfileViewBasic[]\n}\n\nexport type { LogAddReaction }\n\n/** Event indicating a reaction was added to a message. */\nconst logAddReaction = l.typedObject<LogAddReaction>(\n $nsid,\n 'logAddReaction',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n ],\n false,\n ),\n reaction: l.ref<ReactionView>((() => reactionView) as any),\n relatedProfiles: l.optional(\n l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n ),\n }),\n)\n\nexport { logAddReaction }\n\n/** Event indicating a reaction was removed from a message. */\ntype LogRemoveReaction = {\n $type?: 'chat.bsky.convo.defs#logRemoveReaction'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.Unknown$TypedObject\n reaction: ReactionView\n\n /**\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 */\n relatedProfiles?: ActorDefs.ProfileViewBasic[]\n}\n\nexport type { LogRemoveReaction }\n\n/** Event indicating a reaction was removed from a message. */\nconst logRemoveReaction = l.typedObject<LogRemoveReaction>(\n $nsid,\n 'logRemoveReaction',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n ],\n false,\n ),\n reaction: l.ref<ReactionView>((() => reactionView) as any),\n relatedProfiles: l.optional(\n l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n ),\n }),\n)\n\nexport { logRemoveReaction }\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. */\ntype LogReadConvo = {\n $type?: 'chat.bsky.convo.defs#logReadConvo'\n rev: string\n convoId: string\n message:\n | l.$Typed<MessageView>\n | l.$Typed<DeletedMessageView>\n | l.$Typed<SystemMessageView>\n | l.Unknown$TypedObject\n}\n\nexport type { LogReadConvo }\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. */\nconst logReadConvo = l.typedObject<LogReadConvo>(\n $nsid,\n 'logReadConvo',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.typedUnion(\n [\n l.typedRef<MessageView>((() => messageView) as any),\n l.typedRef<DeletedMessageView>((() => deletedMessageView) as any),\n l.typedRef<SystemMessageView>((() => systemMessageView) as any),\n ],\n false,\n ),\n }),\n)\n\nexport { logReadConvo }\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). */\ntype LogAddMember = {\n $type?: 'chat.bsky.convo.defs#logAddMember'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataAddMember\n */\n message: SystemMessageView\n\n /**\n * Profiles referred in the system message.\n */\n relatedProfiles: ActorDefs.ProfileViewBasic[]\n}\n\nexport type { LogAddMember }\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). */\nconst logAddMember = l.typedObject<LogAddMember>(\n $nsid,\n 'logAddMember',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n relatedProfiles: l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n }),\n)\n\nexport { logAddMember }\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). */\ntype LogRemoveMember = {\n $type?: 'chat.bsky.convo.defs#logRemoveMember'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataRemoveMember\n */\n message: SystemMessageView\n\n /**\n * Profiles referred in the system message.\n */\n relatedProfiles: ActorDefs.ProfileViewBasic[]\n}\n\nexport type { LogRemoveMember }\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). */\nconst logRemoveMember = l.typedObject<LogRemoveMember>(\n $nsid,\n 'logRemoveMember',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n relatedProfiles: l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n }),\n)\n\nexport { logRemoveMember }\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). */\ntype LogMemberJoin = {\n $type?: 'chat.bsky.convo.defs#logMemberJoin'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataMemberJoin\n */\n message: SystemMessageView\n\n /**\n * Profiles referred in the system message.\n */\n relatedProfiles: ActorDefs.ProfileViewBasic[]\n}\n\nexport type { LogMemberJoin }\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). */\nconst logMemberJoin = l.typedObject<LogMemberJoin>(\n $nsid,\n 'logMemberJoin',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n relatedProfiles: l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n }),\n)\n\nexport { logMemberJoin }\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). */\ntype LogMemberLeave = {\n $type?: 'chat.bsky.convo.defs#logMemberLeave'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataMemberLeave\n */\n message: SystemMessageView\n\n /**\n * Profiles referred in the system message.\n */\n relatedProfiles: ActorDefs.ProfileViewBasic[]\n}\n\nexport type { LogMemberLeave }\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). */\nconst logMemberLeave = l.typedObject<LogMemberLeave>(\n $nsid,\n 'logMemberLeave',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n relatedProfiles: l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n }),\n)\n\nexport { logMemberLeave }\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. */\ntype LogLockConvo = {\n $type?: 'chat.bsky.convo.defs#logLockConvo'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataLockConvo\n */\n message: SystemMessageView\n\n /**\n * Profiles referred in the system message.\n */\n relatedProfiles: ActorDefs.ProfileViewBasic[]\n}\n\nexport type { LogLockConvo }\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. */\nconst logLockConvo = l.typedObject<LogLockConvo>(\n $nsid,\n 'logLockConvo',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n relatedProfiles: l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n }),\n)\n\nexport { logLockConvo }\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. */\ntype LogUnlockConvo = {\n $type?: 'chat.bsky.convo.defs#logUnlockConvo'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataUnlockConvo\n */\n message: SystemMessageView\n\n /**\n * Profiles referred in the system message.\n */\n relatedProfiles: ActorDefs.ProfileViewBasic[]\n}\n\nexport type { LogUnlockConvo }\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. */\nconst logUnlockConvo = l.typedObject<LogUnlockConvo>(\n $nsid,\n 'logUnlockConvo',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n relatedProfiles: l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n }),\n)\n\nexport { logUnlockConvo }\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. */\ntype LogLockConvoPermanently = {\n $type?: 'chat.bsky.convo.defs#logLockConvoPermanently'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataLockConvoPermanently\n */\n message: SystemMessageView\n\n /**\n * Profiles referred in the system message.\n */\n relatedProfiles: ActorDefs.ProfileViewBasic[]\n}\n\nexport type { LogLockConvoPermanently }\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. */\nconst logLockConvoPermanently = l.typedObject<LogLockConvoPermanently>(\n $nsid,\n 'logLockConvoPermanently',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n relatedProfiles: l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n }),\n)\n\nexport { logLockConvoPermanently }\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. */\ntype LogEditGroup = {\n $type?: 'chat.bsky.convo.defs#logEditGroup'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataEditGroup\n */\n message: SystemMessageView\n}\n\nexport type { LogEditGroup }\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. */\nconst logEditGroup = l.typedObject<LogEditGroup>(\n $nsid,\n 'logEditGroup',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logEditGroup }\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. */\ntype LogCreateJoinLink = {\n $type?: 'chat.bsky.convo.defs#logCreateJoinLink'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataCreateJoinLink\n */\n message: SystemMessageView\n}\n\nexport type { LogCreateJoinLink }\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. */\nconst logCreateJoinLink = l.typedObject<LogCreateJoinLink>(\n $nsid,\n 'logCreateJoinLink',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logCreateJoinLink }\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. */\ntype LogEditJoinLink = {\n $type?: 'chat.bsky.convo.defs#logEditJoinLink'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataEditJoinLink\n */\n message: SystemMessageView\n}\n\nexport type { LogEditJoinLink }\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. */\nconst logEditJoinLink = l.typedObject<LogEditJoinLink>(\n $nsid,\n 'logEditJoinLink',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logEditJoinLink }\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. */\ntype LogEnableJoinLink = {\n $type?: 'chat.bsky.convo.defs#logEnableJoinLink'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataEnableJoinLink\n */\n message: SystemMessageView\n}\n\nexport type { LogEnableJoinLink }\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. */\nconst logEnableJoinLink = l.typedObject<LogEnableJoinLink>(\n $nsid,\n 'logEnableJoinLink',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logEnableJoinLink }\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. */\ntype LogDisableJoinLink = {\n $type?: 'chat.bsky.convo.defs#logDisableJoinLink'\n rev: string\n convoId: string\n\n /**\n * A system message with data of type #systemMessageDataDisableJoinLink\n */\n message: SystemMessageView\n}\n\nexport type { LogDisableJoinLink }\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. */\nconst logDisableJoinLink = l.typedObject<LogDisableJoinLink>(\n $nsid,\n 'logDisableJoinLink',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n message: l.ref<SystemMessageView>((() => systemMessageView) as any),\n }),\n)\n\nexport { logDisableJoinLink }\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. */\ntype LogIncomingJoinRequest = {\n $type?: 'chat.bsky.convo.defs#logIncomingJoinRequest'\n rev: string\n convoId: string\n\n /**\n * Prospective member who requested to join.\n */\n member: ActorDefs.ProfileViewBasic\n}\n\nexport type { LogIncomingJoinRequest }\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. */\nconst logIncomingJoinRequest = l.typedObject<LogIncomingJoinRequest>(\n $nsid,\n 'logIncomingJoinRequest',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n member: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n)\n\nexport { logIncomingJoinRequest }\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. */\ntype LogApproveJoinRequest = {\n $type?: 'chat.bsky.convo.defs#logApproveJoinRequest'\n rev: string\n convoId: string\n\n /**\n * Prospective member who requested to join.\n */\n member: ActorDefs.ProfileViewBasic\n}\n\nexport type { LogApproveJoinRequest }\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. */\nconst logApproveJoinRequest = l.typedObject<LogApproveJoinRequest>(\n $nsid,\n 'logApproveJoinRequest',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n member: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n)\n\nexport { logApproveJoinRequest }\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. */\ntype LogRejectJoinRequest = {\n $type?: 'chat.bsky.convo.defs#logRejectJoinRequest'\n rev: string\n convoId: string\n\n /**\n * Prospective member who requested to join.\n */\n member: ActorDefs.ProfileViewBasic\n}\n\nexport type { LogRejectJoinRequest }\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. */\nconst logRejectJoinRequest = l.typedObject<LogRejectJoinRequest>(\n $nsid,\n 'logRejectJoinRequest',\n l.object({\n rev: l.string(),\n convoId: l.string(),\n member: l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n }),\n)\n\nexport { logRejectJoinRequest }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer. */\ntype LogOutgoingJoinRequest = {\n $type?: 'chat.bsky.convo.defs#logOutgoingJoinRequest'\n rev: string\n convoId: string\n}\n\nexport type { LogOutgoingJoinRequest }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer. */\nconst logOutgoingJoinRequest = l.typedObject<LogOutgoingJoinRequest>(\n $nsid,\n 'logOutgoingJoinRequest',\n l.object({ rev: l.string(), convoId: l.string() }),\n)\n\nexport { logOutgoingJoinRequest }\n"]}
@@ -1,5 +1,6 @@
1
1
  import { l } from '@atproto/lex';
2
2
  import * as ConvoDefs from './defs.defs.js';
3
+ import * as ActorDefs from '../actor/defs.defs.js';
3
4
  declare const $nsid = "chat.bsky.convo.getMessages";
4
5
  export { $nsid };
5
6
  /** Returns a page of messages from a conversation. */
@@ -10,6 +11,7 @@ declare const main: l.Query<"chat.bsky.convo.getMessages", l.ParamsSchema<{
10
11
  }>, l.Payload<"application/json", l.ObjectSchema<{
11
12
  cursor: l.OptionalSchema<l.StringSchema<{}>>;
12
13
  messages: l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<ConvoDefs.MessageView, ConvoDefs.MessageView>>, l.TypedRefSchema<l.TypedObjectValidator<ConvoDefs.DeletedMessageView, ConvoDefs.DeletedMessageView>>, l.TypedRefSchema<l.TypedObjectValidator<ConvoDefs.SystemMessageView, ConvoDefs.SystemMessageView>>], false>>;
14
+ relatedProfiles: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<ActorDefs.ProfileViewBasic, ActorDefs.ProfileViewBasic>>>>;
13
15
  }>>, readonly ["InvalidConvo"]>;
14
16
  export { main };
15
17
  export type $Params = l.InferMethodParams<typeof main>;
@@ -22,5 +24,6 @@ export declare const $lxm: "chat.bsky.convo.getMessages", $params: l.ParamsSchem
22
24
  }>, $output: l.Payload<"application/json", l.ObjectSchema<{
23
25
  cursor: l.OptionalSchema<l.StringSchema<{}>>;
24
26
  messages: l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<ConvoDefs.MessageView, ConvoDefs.MessageView>>, l.TypedRefSchema<l.TypedObjectValidator<ConvoDefs.DeletedMessageView, ConvoDefs.DeletedMessageView>>, l.TypedRefSchema<l.TypedObjectValidator<ConvoDefs.SystemMessageView, ConvoDefs.SystemMessageView>>], false>>;
27
+ relatedProfiles: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<ActorDefs.ProfileViewBasic, ActorDefs.ProfileViewBasic>>>>;
25
28
  }>>;
26
29
  //# sourceMappingURL=getMessages.defs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getMessages.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/getMessages.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,gCAAgC,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,sDAAsD;AACtD,QAAA,MAAM,IAAI;;;;;;;+BA6BT,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,+BAAY,EAC3B,OAAO;;;;EAAkB,EACzB,OAAO;;;GAAc,CAAA"}
1
+ {"version":3,"file":"getMessages.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/getMessages.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAElD,QAAA,MAAM,KAAK,gCAAgC,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,sDAAsD;AACtD,QAAA,MAAM,IAAI;;;;;;;;+BAoCT,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,+BAAY,EAC3B,OAAO;;;;EAAkB,EACzB,OAAO;;;;GAAc,CAAA"}
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.$output = exports.$params = exports.$lxm = exports.main = exports.$nsid = void 0;
40
40
  const lex_1 = require("@atproto/lex");
41
41
  const ConvoDefs = __importStar(require("./defs.defs.js"));
42
+ const ActorDefs = __importStar(require("../actor/defs.defs.js"));
42
43
  const $nsid = 'chat.bsky.convo.getMessages';
43
44
  exports.$nsid = $nsid;
44
45
  /** Returns a page of messages from a conversation. */
@@ -53,6 +54,7 @@ const main = lex_1.l.query($nsid, lex_1.l.params({
53
54
  lex_1.l.typedRef((() => ConvoDefs.deletedMessageView)),
54
55
  lex_1.l.typedRef((() => ConvoDefs.systemMessageView)),
55
56
  ], false)),
57
+ relatedProfiles: lex_1.l.optional(lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileViewBasic)))),
56
58
  }), ['InvalidConvo']);
57
59
  exports.main = main;
58
60
  exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$output = main.output;
@@ -1 +1 @@
1
- {"version":3,"file":"getMessages.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/getMessages.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,0DAA2C;AAE3C,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAElC,sBAAK;AAEd,sDAAsD;AACtD,MAAM,IAAI,GAAG,OAAC,CAAC,KAAK,CAClB,KAAK,EACL,OAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,KAAK,EAAE,OAAC,CAAC,QAAQ,CACf,OAAC,CAAC,WAAW,CAAC,OAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAC3D;IACD,MAAM,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,MAAM,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,QAAQ,EAAE,OAAC,CAAC,KAAK,CACf,OAAC,CAAC,UAAU,CACV;QACE,OAAC,CAAC,QAAQ,CACR,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CACrC;QACD,OAAC,CAAC,QAAQ,CACR,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,kBAAkB,CAAQ,CAC5C;QACD,OAAC,CAAC,QAAQ,CACR,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,iBAAiB,CAAQ,CAC3C;KACF,EACD,KAAK,CACN,CACF;CACF,CAAC,EACF,CAAC,cAAc,CAAC,CACjB,CAAA;AACQ,oBAAI;AASA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ConvoDefs from './defs.defs.js'\n\nconst $nsid = 'chat.bsky.convo.getMessages'\n\nexport { $nsid }\n\n/** Returns a page of messages from a conversation. */\nconst main = l.query(\n $nsid,\n l.params({\n convoId: l.string(),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n cursor: l.optional(l.string()),\n }),\n l.jsonPayload({\n cursor: l.optional(l.string()),\n messages: l.array(\n l.typedUnion(\n [\n l.typedRef<ConvoDefs.MessageView>(\n (() => ConvoDefs.messageView) as any,\n ),\n l.typedRef<ConvoDefs.DeletedMessageView>(\n (() => ConvoDefs.deletedMessageView) as any,\n ),\n l.typedRef<ConvoDefs.SystemMessageView>(\n (() => ConvoDefs.systemMessageView) as any,\n ),\n ],\n false,\n ),\n ),\n }),\n ['InvalidConvo'],\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n"]}
1
+ {"version":3,"file":"getMessages.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/getMessages.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,0DAA2C;AAC3C,iEAAkD;AAElD,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAElC,sBAAK;AAEd,sDAAsD;AAC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DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ConvoDefs from './defs.defs.js'\nimport * as ActorDefs from '../actor/defs.defs.js'\n\nconst $nsid = 'chat.bsky.convo.getMessages'\n\nexport { $nsid }\n\n/** Returns a page of messages from a conversation. */\nconst main = l.query(\n $nsid,\n l.params({\n convoId: l.string(),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n cursor: l.optional(l.string()),\n }),\n l.jsonPayload({\n cursor: l.optional(l.string()),\n messages: l.array(\n l.typedUnion(\n [\n l.typedRef<ConvoDefs.MessageView>(\n (() => ConvoDefs.messageView) as any,\n ),\n l.typedRef<ConvoDefs.DeletedMessageView>(\n (() => ConvoDefs.deletedMessageView) as any,\n ),\n l.typedRef<ConvoDefs.SystemMessageView>(\n (() => ConvoDefs.systemMessageView) as any,\n ),\n ],\n false,\n ),\n ),\n relatedProfiles: l.optional(\n l.array(\n l.ref<ActorDefs.ProfileViewBasic>(\n (() => ActorDefs.profileViewBasic) as any,\n ),\n ),\n ),\n }),\n ['InvalidConvo'],\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n"]}
@@ -579,6 +579,10 @@ type ModEventTag = {
579
579
  * Additional comment about added/removed tags.
580
580
  */
581
581
  comment?: string;
582
+ /**
583
+ * Indicates how long the tags being added should remain before automatically being removed. Only applies to tags being added.
584
+ */
585
+ durationInHours?: number;
582
586
  };
583
587
  export type { ModEventTag };
584
588
  /** Add/Remove a tag on a subject */