@atcute/bluesky 4.0.1 → 4.0.3

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 (228) hide show
  1. package/dist/lexicons/index.d.ts +4 -1
  2. package/dist/lexicons/index.d.ts.map +1 -1
  3. package/dist/lexicons/index.js +4 -1
  4. package/dist/lexicons/index.js.map +1 -1
  5. package/dist/lexicons/types/app/bsky/actor/getPreferences.d.ts.map +1 -1
  6. package/dist/lexicons/types/app/bsky/actor/getProfile.d.ts.map +1 -1
  7. package/dist/lexicons/types/app/bsky/actor/getProfiles.d.ts.map +1 -1
  8. package/dist/lexicons/types/app/bsky/actor/getSuggestions.d.ts.map +1 -1
  9. package/dist/lexicons/types/app/bsky/actor/profile.d.ts.map +1 -1
  10. package/dist/lexicons/types/app/bsky/actor/putPreferences.d.ts.map +1 -1
  11. package/dist/lexicons/types/app/bsky/actor/searchActors.d.ts.map +1 -1
  12. package/dist/lexicons/types/app/bsky/actor/searchActorsTypeahead.d.ts.map +1 -1
  13. package/dist/lexicons/types/app/bsky/actor/status.d.ts.map +1 -1
  14. package/dist/lexicons/types/app/bsky/ageassurance/begin.d.ts.map +1 -1
  15. package/dist/lexicons/types/app/bsky/ageassurance/getConfig.d.ts.map +1 -1
  16. package/dist/lexicons/types/app/bsky/ageassurance/getState.d.ts.map +1 -1
  17. package/dist/lexicons/types/app/bsky/bookmark/createBookmark.d.ts.map +1 -1
  18. package/dist/lexicons/types/app/bsky/bookmark/deleteBookmark.d.ts.map +1 -1
  19. package/dist/lexicons/types/app/bsky/bookmark/getBookmarks.d.ts.map +1 -1
  20. package/dist/lexicons/types/app/bsky/contact/dismissMatch.d.ts.map +1 -1
  21. package/dist/lexicons/types/app/bsky/contact/getMatches.d.ts.map +1 -1
  22. package/dist/lexicons/types/app/bsky/contact/getSyncStatus.d.ts.map +1 -1
  23. package/dist/lexicons/types/app/bsky/contact/importContacts.d.ts.map +1 -1
  24. package/dist/lexicons/types/app/bsky/contact/removeData.d.ts.map +1 -1
  25. package/dist/lexicons/types/app/bsky/contact/sendNotification.d.ts.map +1 -1
  26. package/dist/lexicons/types/app/bsky/contact/startPhoneVerification.d.ts.map +1 -1
  27. package/dist/lexicons/types/app/bsky/contact/verifyPhone.d.ts.map +1 -1
  28. package/dist/lexicons/types/app/bsky/draft/createDraft.d.ts.map +1 -1
  29. package/dist/lexicons/types/app/bsky/draft/deleteDraft.d.ts.map +1 -1
  30. package/dist/lexicons/types/app/bsky/draft/getDrafts.d.ts.map +1 -1
  31. package/dist/lexicons/types/app/bsky/draft/updateDraft.d.ts.map +1 -1
  32. package/dist/lexicons/types/app/bsky/embed/external.d.ts +73 -5
  33. package/dist/lexicons/types/app/bsky/embed/external.d.ts.map +1 -1
  34. package/dist/lexicons/types/app/bsky/embed/external.js +78 -5
  35. package/dist/lexicons/types/app/bsky/embed/external.js.map +1 -1
  36. package/dist/lexicons/types/app/bsky/embed/getEmbedExternalView.d.ts +49 -0
  37. package/dist/lexicons/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -0
  38. package/dist/lexicons/types/app/bsky/embed/getEmbedExternalView.js +45 -0
  39. package/dist/lexicons/types/app/bsky/embed/getEmbedExternalView.js.map +1 -0
  40. package/dist/lexicons/types/app/bsky/feed/describeFeedGenerator.d.ts.map +1 -1
  41. package/dist/lexicons/types/app/bsky/feed/generator.d.ts.map +1 -1
  42. package/dist/lexicons/types/app/bsky/feed/getActorFeeds.d.ts.map +1 -1
  43. package/dist/lexicons/types/app/bsky/feed/getActorLikes.d.ts.map +1 -1
  44. package/dist/lexicons/types/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
  45. package/dist/lexicons/types/app/bsky/feed/getFeed.d.ts.map +1 -1
  46. package/dist/lexicons/types/app/bsky/feed/getFeedGenerator.d.ts.map +1 -1
  47. package/dist/lexicons/types/app/bsky/feed/getFeedGenerators.d.ts.map +1 -1
  48. package/dist/lexicons/types/app/bsky/feed/getFeedSkeleton.d.ts.map +1 -1
  49. package/dist/lexicons/types/app/bsky/feed/getLikes.d.ts.map +1 -1
  50. package/dist/lexicons/types/app/bsky/feed/getListFeed.d.ts.map +1 -1
  51. package/dist/lexicons/types/app/bsky/feed/getPostThread.d.ts.map +1 -1
  52. package/dist/lexicons/types/app/bsky/feed/getPosts.d.ts.map +1 -1
  53. package/dist/lexicons/types/app/bsky/feed/getQuotes.d.ts.map +1 -1
  54. package/dist/lexicons/types/app/bsky/feed/getRepostedBy.d.ts.map +1 -1
  55. package/dist/lexicons/types/app/bsky/feed/getSuggestedFeeds.d.ts.map +1 -1
  56. package/dist/lexicons/types/app/bsky/feed/getTimeline.d.ts.map +1 -1
  57. package/dist/lexicons/types/app/bsky/feed/like.d.ts.map +1 -1
  58. package/dist/lexicons/types/app/bsky/feed/post.d.ts.map +1 -1
  59. package/dist/lexicons/types/app/bsky/feed/postgate.d.ts.map +1 -1
  60. package/dist/lexicons/types/app/bsky/feed/repost.d.ts.map +1 -1
  61. package/dist/lexicons/types/app/bsky/feed/searchPosts.d.ts.map +1 -1
  62. package/dist/lexicons/types/app/bsky/feed/sendInteractions.d.ts.map +1 -1
  63. package/dist/lexicons/types/app/bsky/feed/threadgate.d.ts.map +1 -1
  64. package/dist/lexicons/types/app/bsky/graph/block.d.ts.map +1 -1
  65. package/dist/lexicons/types/app/bsky/graph/follow.d.ts.map +1 -1
  66. package/dist/lexicons/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -1
  67. package/dist/lexicons/types/app/bsky/graph/getBlocks.d.ts.map +1 -1
  68. package/dist/lexicons/types/app/bsky/graph/getFollowers.d.ts.map +1 -1
  69. package/dist/lexicons/types/app/bsky/graph/getFollows.d.ts.map +1 -1
  70. package/dist/lexicons/types/app/bsky/graph/getKnownFollowers.d.ts.map +1 -1
  71. package/dist/lexicons/types/app/bsky/graph/getList.d.ts.map +1 -1
  72. package/dist/lexicons/types/app/bsky/graph/getListBlocks.d.ts.map +1 -1
  73. package/dist/lexicons/types/app/bsky/graph/getListMutes.d.ts.map +1 -1
  74. package/dist/lexicons/types/app/bsky/graph/getLists.d.ts.map +1 -1
  75. package/dist/lexicons/types/app/bsky/graph/getListsWithMembership.d.ts.map +1 -1
  76. package/dist/lexicons/types/app/bsky/graph/getMutes.d.ts.map +1 -1
  77. package/dist/lexicons/types/app/bsky/graph/getRelationships.d.ts.map +1 -1
  78. package/dist/lexicons/types/app/bsky/graph/getStarterPack.d.ts.map +1 -1
  79. package/dist/lexicons/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -1
  80. package/dist/lexicons/types/app/bsky/graph/getStarterPacksWithMembership.d.ts.map +1 -1
  81. package/dist/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
  82. package/dist/lexicons/types/app/bsky/graph/list.d.ts.map +1 -1
  83. package/dist/lexicons/types/app/bsky/graph/listblock.d.ts.map +1 -1
  84. package/dist/lexicons/types/app/bsky/graph/listitem.d.ts.map +1 -1
  85. package/dist/lexicons/types/app/bsky/graph/muteActor.d.ts.map +1 -1
  86. package/dist/lexicons/types/app/bsky/graph/muteActorList.d.ts.map +1 -1
  87. package/dist/lexicons/types/app/bsky/graph/muteThread.d.ts.map +1 -1
  88. package/dist/lexicons/types/app/bsky/graph/searchStarterPacks.d.ts.map +1 -1
  89. package/dist/lexicons/types/app/bsky/graph/starterpack.d.ts.map +1 -1
  90. package/dist/lexicons/types/app/bsky/graph/unmuteActor.d.ts.map +1 -1
  91. package/dist/lexicons/types/app/bsky/graph/unmuteActorList.d.ts.map +1 -1
  92. package/dist/lexicons/types/app/bsky/graph/unmuteThread.d.ts.map +1 -1
  93. package/dist/lexicons/types/app/bsky/graph/verification.d.ts.map +1 -1
  94. package/dist/lexicons/types/app/bsky/labeler/getServices.d.ts.map +1 -1
  95. package/dist/lexicons/types/app/bsky/labeler/service.d.ts.map +1 -1
  96. package/dist/lexicons/types/app/bsky/notification/declaration.d.ts.map +1 -1
  97. package/dist/lexicons/types/app/bsky/notification/getPreferences.d.ts.map +1 -1
  98. package/dist/lexicons/types/app/bsky/notification/getUnreadCount.d.ts.map +1 -1
  99. package/dist/lexicons/types/app/bsky/notification/listActivitySubscriptions.d.ts.map +1 -1
  100. package/dist/lexicons/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  101. package/dist/lexicons/types/app/bsky/notification/putActivitySubscription.d.ts.map +1 -1
  102. package/dist/lexicons/types/app/bsky/notification/putPreferences.d.ts.map +1 -1
  103. package/dist/lexicons/types/app/bsky/notification/putPreferencesV2.d.ts.map +1 -1
  104. package/dist/lexicons/types/app/bsky/notification/registerPush.d.ts.map +1 -1
  105. package/dist/lexicons/types/app/bsky/notification/unregisterPush.d.ts.map +1 -1
  106. package/dist/lexicons/types/app/bsky/notification/updateSeen.d.ts.map +1 -1
  107. package/dist/lexicons/types/app/bsky/unspecced/getAgeAssuranceState.d.ts.map +1 -1
  108. package/dist/lexicons/types/app/bsky/unspecced/getConfig.d.ts.map +1 -1
  109. package/dist/lexicons/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.d.ts.map +1 -1
  110. package/dist/lexicons/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.d.ts.map +1 -1
  111. package/dist/lexicons/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.d.ts.map +1 -1
  112. package/dist/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +1 -1
  113. package/dist/lexicons/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -1
  114. package/dist/lexicons/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
  115. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeeds.d.ts.map +1 -1
  116. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.d.ts.map +1 -1
  117. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedOnboardingUsers.d.ts.map +1 -1
  118. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacks.d.ts.map +1 -1
  119. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.d.ts.map +1 -1
  120. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsers.d.ts.map +1 -1
  121. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts.map +1 -1
  122. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts.map +1 -1
  123. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts.map +1 -1
  124. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts.map +1 -1
  125. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts.map +1 -1
  126. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts.map +1 -1
  127. package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts.map +1 -1
  128. package/dist/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
  129. package/dist/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.d.ts.map +1 -1
  130. package/dist/lexicons/types/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -1
  131. package/dist/lexicons/types/app/bsky/unspecced/getTrends.d.ts.map +1 -1
  132. package/dist/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.d.ts.map +1 -1
  133. package/dist/lexicons/types/app/bsky/unspecced/initAgeAssurance.d.ts.map +1 -1
  134. package/dist/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.d.ts.map +1 -1
  135. package/dist/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.d.ts.map +1 -1
  136. package/dist/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts.map +1 -1
  137. package/dist/lexicons/types/app/bsky/video/getJobStatus.d.ts.map +1 -1
  138. package/dist/lexicons/types/app/bsky/video/getUploadLimits.d.ts.map +1 -1
  139. package/dist/lexicons/types/app/bsky/video/uploadVideo.d.ts.map +1 -1
  140. package/dist/lexicons/types/chat/bsky/actor/declaration.d.ts.map +1 -1
  141. package/dist/lexicons/types/chat/bsky/actor/deleteAccount.d.ts.map +1 -1
  142. package/dist/lexicons/types/chat/bsky/actor/exportAccountData.d.ts.map +1 -1
  143. package/dist/lexicons/types/chat/bsky/actor/getStatus.d.ts +30 -0
  144. package/dist/lexicons/types/chat/bsky/actor/getStatus.d.ts.map +1 -0
  145. package/dist/lexicons/types/chat/bsky/actor/getStatus.js +20 -0
  146. package/dist/lexicons/types/chat/bsky/actor/getStatus.js.map +1 -0
  147. package/dist/lexicons/types/chat/bsky/convo/acceptConvo.d.ts.map +1 -1
  148. package/dist/lexicons/types/chat/bsky/convo/addReaction.d.ts.map +1 -1
  149. package/dist/lexicons/types/chat/bsky/convo/defs.d.ts +9 -2
  150. package/dist/lexicons/types/chat/bsky/convo/defs.d.ts.map +1 -1
  151. package/dist/lexicons/types/chat/bsky/convo/defs.js +9 -2
  152. package/dist/lexicons/types/chat/bsky/convo/defs.js.map +1 -1
  153. package/dist/lexicons/types/chat/bsky/convo/deleteMessageForSelf.d.ts.map +1 -1
  154. package/dist/lexicons/types/chat/bsky/convo/getConvo.d.ts.map +1 -1
  155. package/dist/lexicons/types/chat/bsky/convo/getConvoAvailability.d.ts.map +1 -1
  156. package/dist/lexicons/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
  157. package/dist/lexicons/types/chat/bsky/convo/getConvoMembers.d.ts.map +1 -1
  158. package/dist/lexicons/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  159. package/dist/lexicons/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
  160. package/dist/lexicons/types/chat/bsky/convo/leaveConvo.d.ts.map +1 -1
  161. package/dist/lexicons/types/chat/bsky/convo/listConvoRequests.d.ts +1 -1
  162. package/dist/lexicons/types/chat/bsky/convo/listConvoRequests.d.ts.map +1 -1
  163. package/dist/lexicons/types/chat/bsky/convo/listConvoRequests.js +1 -1
  164. package/dist/lexicons/types/chat/bsky/convo/listConvoRequests.js.map +1 -1
  165. package/dist/lexicons/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
  166. package/dist/lexicons/types/chat/bsky/convo/lockConvo.d.ts.map +1 -1
  167. package/dist/lexicons/types/chat/bsky/convo/muteConvo.d.ts.map +1 -1
  168. package/dist/lexicons/types/chat/bsky/convo/removeReaction.d.ts.map +1 -1
  169. package/dist/lexicons/types/chat/bsky/convo/sendMessage.d.ts.map +1 -1
  170. package/dist/lexicons/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -1
  171. package/dist/lexicons/types/chat/bsky/convo/unlockConvo.d.ts.map +1 -1
  172. package/dist/lexicons/types/chat/bsky/convo/unmuteConvo.d.ts.map +1 -1
  173. package/dist/lexicons/types/chat/bsky/convo/updateAllRead.d.ts.map +1 -1
  174. package/dist/lexicons/types/chat/bsky/convo/updateRead.d.ts.map +1 -1
  175. package/dist/lexicons/types/chat/bsky/group/addMembers.d.ts.map +1 -1
  176. package/dist/lexicons/types/chat/bsky/group/approveJoinRequest.d.ts.map +1 -1
  177. package/dist/lexicons/types/chat/bsky/group/createGroup.d.ts.map +1 -1
  178. package/dist/lexicons/types/chat/bsky/group/createJoinLink.d.ts.map +1 -1
  179. package/dist/lexicons/types/chat/bsky/group/defs.d.ts +30 -0
  180. package/dist/lexicons/types/chat/bsky/group/defs.d.ts.map +1 -1
  181. package/dist/lexicons/types/chat/bsky/group/defs.js +28 -0
  182. package/dist/lexicons/types/chat/bsky/group/defs.js.map +1 -1
  183. package/dist/lexicons/types/chat/bsky/group/disableJoinLink.d.ts.map +1 -1
  184. package/dist/lexicons/types/chat/bsky/group/editGroup.d.ts.map +1 -1
  185. package/dist/lexicons/types/chat/bsky/group/editJoinLink.d.ts.map +1 -1
  186. package/dist/lexicons/types/chat/bsky/group/enableJoinLink.d.ts.map +1 -1
  187. package/dist/lexicons/types/chat/bsky/group/{getJoinLinkPreview.d.ts → getJoinLinkPreviews.d.ts} +9 -5
  188. package/dist/lexicons/types/chat/bsky/group/getJoinLinkPreviews.d.ts.map +1 -0
  189. package/dist/lexicons/types/chat/bsky/group/getJoinLinkPreviews.js +23 -0
  190. package/dist/lexicons/types/chat/bsky/group/getJoinLinkPreviews.js.map +1 -0
  191. package/dist/lexicons/types/chat/bsky/group/listJoinRequests.d.ts.map +1 -1
  192. package/dist/lexicons/types/chat/bsky/group/listMutualGroups.d.ts +33 -0
  193. package/dist/lexicons/types/chat/bsky/group/listMutualGroups.d.ts.map +1 -0
  194. package/dist/lexicons/types/chat/bsky/group/listMutualGroups.js +26 -0
  195. package/dist/lexicons/types/chat/bsky/group/listMutualGroups.js.map +1 -0
  196. package/dist/lexicons/types/chat/bsky/group/rejectJoinRequest.d.ts.map +1 -1
  197. package/dist/lexicons/types/chat/bsky/group/removeMembers.d.ts.map +1 -1
  198. package/dist/lexicons/types/chat/bsky/group/requestJoin.d.ts.map +1 -1
  199. package/dist/lexicons/types/chat/bsky/moderation/getActorMetadata.d.ts.map +1 -1
  200. package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.d.ts +27 -3
  201. package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
  202. package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.js +27 -3
  203. package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.js.map +1 -1
  204. package/dist/lexicons/types/chat/bsky/moderation/subscribeModEvents.d.ts +236 -1
  205. package/dist/lexicons/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
  206. package/dist/lexicons/types/chat/bsky/moderation/subscribeModEvents.js +212 -1
  207. package/dist/lexicons/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
  208. package/dist/lexicons/types/chat/bsky/moderation/updateActorAccess.d.ts.map +1 -1
  209. package/dist/limits.d.ts +11 -0
  210. package/dist/limits.d.ts.map +1 -1
  211. package/dist/limits.js +5 -0
  212. package/dist/limits.js.map +1 -1
  213. package/lib/lexicons/index.ts +4 -1
  214. package/lib/lexicons/types/app/bsky/embed/external.ts +88 -5
  215. package/lib/lexicons/types/app/bsky/embed/getEmbedExternalView.ts +62 -0
  216. package/lib/lexicons/types/chat/bsky/actor/getStatus.ts +36 -0
  217. package/lib/lexicons/types/chat/bsky/convo/defs.ts +9 -2
  218. package/lib/lexicons/types/chat/bsky/convo/listConvoRequests.ts +1 -1
  219. package/lib/lexicons/types/chat/bsky/group/defs.ts +34 -0
  220. package/lib/lexicons/types/chat/bsky/group/{getJoinLinkPreview.ts → getJoinLinkPreviews.ts} +11 -5
  221. package/lib/lexicons/types/chat/bsky/group/listMutualGroups.ts +45 -0
  222. package/lib/lexicons/types/chat/bsky/moderation/getMessageContext.ts +29 -3
  223. package/lib/lexicons/types/chat/bsky/moderation/subscribeModEvents.ts +277 -1
  224. package/lib/limits.ts +5 -0
  225. package/package.json +3 -3
  226. package/dist/lexicons/types/chat/bsky/group/getJoinLinkPreview.d.ts.map +0 -1
  227. package/dist/lexicons/types/chat/bsky/group/getJoinLinkPreview.js +0 -17
  228. package/dist/lexicons/types/chat/bsky/group/getJoinLinkPreview.js.map +0 -1
@@ -1,4 +1,23 @@
1
1
  import * as v from '@atcute/lexicons/validations';
2
+ const _eventChatAcceptedSchema = /*#__PURE__*/ v.object({
3
+ $type: /*#__PURE__*/ v.optional(
4
+ /*#__PURE__*/ v.literal('chat.bsky.moderation.subscribeModEvents#eventChatAccepted')),
5
+ /** The DID of the person accepting the convo. */
6
+ actorDid: /*#__PURE__*/ v.didString(),
7
+ /** When the convo was originally created. */
8
+ convoCreatedAt: /*#__PURE__*/ v.datetimeString(),
9
+ convoId: /*#__PURE__*/ v.string(),
10
+ createdAt: /*#__PURE__*/ v.datetimeString(),
11
+ /** Current member count at the time of the event. Only present for group convos. */
12
+ groupMemberCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
13
+ /** The name of the group chat. Only present for group convos. */
14
+ groupName: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
15
+ /** How the convo was accepted. */
16
+ method: /*#__PURE__*/ v.string(),
17
+ /** The DID of the group chat owner. Only present for group convos. */
18
+ ownerDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
19
+ rev: /*#__PURE__*/ v.string(),
20
+ });
2
21
  const _eventConvoFirstMessageSchema = /*#__PURE__*/ v.object({
3
22
  $type: /*#__PURE__*/ v.optional(
4
23
  /*#__PURE__*/ v.literal('chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage')),
@@ -11,6 +30,178 @@ const _eventConvoFirstMessageSchema = /*#__PURE__*/ v.object({
11
30
  /** The DID of the message author. */
12
31
  user: /*#__PURE__*/ v.didString(),
13
32
  });
33
+ const _eventGroupChatCreatedSchema = /*#__PURE__*/ v.object({
34
+ $type: /*#__PURE__*/ v.optional(
35
+ /*#__PURE__*/ v.literal('chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated')),
36
+ /** The DID of the actor performing the action. For this event, same as ownerDid. */
37
+ actorDid: /*#__PURE__*/ v.didString(),
38
+ /** When the group was originally created. */
39
+ convoCreatedAt: /*#__PURE__*/ v.datetimeString(),
40
+ convoId: /*#__PURE__*/ v.string(),
41
+ createdAt: /*#__PURE__*/ v.datetimeString(),
42
+ /** Current member count at the time of the event. */
43
+ groupMemberCount: /*#__PURE__*/ v.integer(),
44
+ /** The name set at creation time. */
45
+ groupName: /*#__PURE__*/ v.string(),
46
+ /** DIDs of everyone added at creation time. */
47
+ initialMemberDids: /*#__PURE__*/ v.array(/*#__PURE__*/ v.didString()),
48
+ /** The DID of the group chat owner. */
49
+ ownerDid: /*#__PURE__*/ v.didString(),
50
+ rev: /*#__PURE__*/ v.string(),
51
+ });
52
+ const _eventGroupChatJoinRequestSchema = /*#__PURE__*/ v.object({
53
+ $type: /*#__PURE__*/ v.optional(
54
+ /*#__PURE__*/ v.literal('chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest')),
55
+ /** The DID of the person requesting to join. */
56
+ actorDid: /*#__PURE__*/ v.didString(),
57
+ /** When the group was originally created. */
58
+ convoCreatedAt: /*#__PURE__*/ v.datetimeString(),
59
+ convoId: /*#__PURE__*/ v.string(),
60
+ createdAt: /*#__PURE__*/ v.datetimeString(),
61
+ /** Current member count at the time of the event. */
62
+ groupMemberCount: /*#__PURE__*/ v.integer(),
63
+ groupName: /*#__PURE__*/ v.string(),
64
+ /** The code of the join link used to request joining. */
65
+ joinLinkCode: /*#__PURE__*/ v.string(),
66
+ /** The DID of the group chat owner. */
67
+ ownerDid: /*#__PURE__*/ v.didString(),
68
+ rev: /*#__PURE__*/ v.string(),
69
+ /** Whether the requesting member follows the group owner. */
70
+ subjectFollowsOwner: /*#__PURE__*/ v.boolean(),
71
+ });
72
+ const _eventGroupChatJoinRequestApprovedSchema = /*#__PURE__*/ v.object({
73
+ $type: /*#__PURE__*/ v.optional(
74
+ /*#__PURE__*/ v.literal('chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved')),
75
+ /** The DID of the owner approving the request. */
76
+ actorDid: /*#__PURE__*/ v.didString(),
77
+ /** When the group was originally created. */
78
+ convoCreatedAt: /*#__PURE__*/ v.datetimeString(),
79
+ convoId: /*#__PURE__*/ v.string(),
80
+ createdAt: /*#__PURE__*/ v.datetimeString(),
81
+ /** Current member count at the time of the event. */
82
+ groupMemberCount: /*#__PURE__*/ v.integer(),
83
+ groupName: /*#__PURE__*/ v.string(),
84
+ /** The DID of the group chat owner. */
85
+ ownerDid: /*#__PURE__*/ v.didString(),
86
+ rev: /*#__PURE__*/ v.string(),
87
+ /** The DID of the member whose request was approved. */
88
+ subjectDid: /*#__PURE__*/ v.didString(),
89
+ });
90
+ const _eventGroupChatJoinRequestRejectedSchema = /*#__PURE__*/ v.object({
91
+ $type: /*#__PURE__*/ v.optional(
92
+ /*#__PURE__*/ v.literal('chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected')),
93
+ /** The DID of the owner rejecting the request. */
94
+ actorDid: /*#__PURE__*/ v.didString(),
95
+ /** When the group was originally created. */
96
+ convoCreatedAt: /*#__PURE__*/ v.datetimeString(),
97
+ convoId: /*#__PURE__*/ v.string(),
98
+ createdAt: /*#__PURE__*/ v.datetimeString(),
99
+ /** Current member count at the time of the event. */
100
+ groupMemberCount: /*#__PURE__*/ v.integer(),
101
+ groupName: /*#__PURE__*/ v.string(),
102
+ /** The DID of the group chat owner. */
103
+ ownerDid: /*#__PURE__*/ v.didString(),
104
+ rev: /*#__PURE__*/ v.string(),
105
+ /** The DID of the member whose request was rejected. */
106
+ subjectDid: /*#__PURE__*/ v.didString(),
107
+ });
108
+ const _eventGroupChatMemberAddedSchema = /*#__PURE__*/ v.object({
109
+ $type: /*#__PURE__*/ v.optional(
110
+ /*#__PURE__*/ v.literal('chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded')),
111
+ /** The DID of the actor performing the action. For this event, same as ownerDid. */
112
+ actorDid: /*#__PURE__*/ v.didString(),
113
+ /** When the group was originally created. */
114
+ convoCreatedAt: /*#__PURE__*/ v.datetimeString(),
115
+ convoId: /*#__PURE__*/ v.string(),
116
+ createdAt: /*#__PURE__*/ v.datetimeString(),
117
+ /** Current member count at the time of the event. */
118
+ groupMemberCount: /*#__PURE__*/ v.integer(),
119
+ groupName: /*#__PURE__*/ v.string(),
120
+ /** The DID of the group chat owner. */
121
+ ownerDid: /*#__PURE__*/ v.didString(),
122
+ /** The number of members who have not yet accepted the convo. */
123
+ requestMembersCount: /*#__PURE__*/ v.integer(),
124
+ rev: /*#__PURE__*/ v.string(),
125
+ /** The DID of the member who was added. */
126
+ subjectDid: /*#__PURE__*/ v.didString(),
127
+ /** Whether the added member follows the group owner. */
128
+ subjectFollowsOwner: /*#__PURE__*/ v.boolean(),
129
+ });
130
+ const _eventGroupChatMemberJoinedSchema = /*#__PURE__*/ v.object({
131
+ $type: /*#__PURE__*/ v.optional(
132
+ /*#__PURE__*/ v.literal('chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined')),
133
+ /** The DID of the person joining. */
134
+ actorDid: /*#__PURE__*/ v.didString(),
135
+ /** When the group was originally created. */
136
+ convoCreatedAt: /*#__PURE__*/ v.datetimeString(),
137
+ convoId: /*#__PURE__*/ v.string(),
138
+ createdAt: /*#__PURE__*/ v.datetimeString(),
139
+ /** Current member count at the time of the event. */
140
+ groupMemberCount: /*#__PURE__*/ v.integer(),
141
+ groupName: /*#__PURE__*/ v.string(),
142
+ /** The code of the join link used to join. */
143
+ joinLinkCode: /*#__PURE__*/ v.string(),
144
+ /** The DID of the group chat owner. */
145
+ ownerDid: /*#__PURE__*/ v.didString(),
146
+ rev: /*#__PURE__*/ v.string(),
147
+ /** Whether the joining member follows the group owner. */
148
+ subjectFollowsOwner: /*#__PURE__*/ v.boolean(),
149
+ });
150
+ const _eventGroupChatMemberLeftSchema = /*#__PURE__*/ v.object({
151
+ $type: /*#__PURE__*/ v.optional(
152
+ /*#__PURE__*/ v.literal('chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft')),
153
+ /** The DID of the actor. For voluntary: the person leaving. For kicked: the owner. */
154
+ actorDid: /*#__PURE__*/ v.didString(),
155
+ /** When the group was originally created. */
156
+ convoCreatedAt: /*#__PURE__*/ v.datetimeString(),
157
+ convoId: /*#__PURE__*/ v.string(),
158
+ createdAt: /*#__PURE__*/ v.datetimeString(),
159
+ /** Current member count at the time of the event. */
160
+ groupMemberCount: /*#__PURE__*/ v.integer(),
161
+ groupName: /*#__PURE__*/ v.string(),
162
+ /** How the member left. */
163
+ leaveMethod: /*#__PURE__*/ v.string(),
164
+ /** The DID of the group chat owner. */
165
+ ownerDid: /*#__PURE__*/ v.didString(),
166
+ rev: /*#__PURE__*/ v.string(),
167
+ /** The DID of the member who left or was removed. */
168
+ subjectDid: /*#__PURE__*/ v.didString(),
169
+ });
170
+ const _eventGroupChatUpdatedSchema = /*#__PURE__*/ v.object({
171
+ $type: /*#__PURE__*/ v.optional(
172
+ /*#__PURE__*/ v.literal('chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated')),
173
+ /** The DID of the actor performing the action (the owner). */
174
+ actorDid: /*#__PURE__*/ v.didString(),
175
+ /** When the group was originally created. */
176
+ convoCreatedAt: /*#__PURE__*/ v.datetimeString(),
177
+ convoId: /*#__PURE__*/ v.string(),
178
+ createdAt: /*#__PURE__*/ v.datetimeString(),
179
+ /** Current member count at the time of the event. */
180
+ groupMemberCount: /*#__PURE__*/ v.integer(),
181
+ /** Current group name. */
182
+ groupName: /*#__PURE__*/ v.string(),
183
+ /** The code of the join link. Only present when updateType is join-link-related. */
184
+ joinLinkCode: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
185
+ /**
186
+ * Whether the join link is restricted to followers of the owner. Only present when updateType is
187
+ * join-link-related.
188
+ */
189
+ joinLinkFollowersOnly: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
190
+ /** Whether the join link requires owner approval to join. Only present when updateType is join-link-related. */
191
+ joinLinkRequiresApproval: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
192
+ /** Why the group was locked. Only present when updateType is 'locked'. */
193
+ lockReason: /*#__PURE__*/ v.optional(
194
+ /*#__PURE__*/ v.string()),
195
+ /** The new group name. Only present when updateType is 'name_changed'. */
196
+ newName: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
197
+ /** The previous group name. Only present when updateType is 'name_changed'. */
198
+ oldName: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
199
+ /** The DID of the group chat owner. */
200
+ ownerDid: /*#__PURE__*/ v.didString(),
201
+ rev: /*#__PURE__*/ v.string(),
202
+ /** What changed. */
203
+ updateType: /*#__PURE__*/ v.string(),
204
+ });
14
205
  const _mainSchema = /*#__PURE__*/ v.subscription('chat.bsky.moderation.subscribeModEvents', {
15
206
  params: /*#__PURE__*/ v.object({
16
207
  /**
@@ -20,9 +211,29 @@ const _mainSchema = /*#__PURE__*/ v.subscription('chat.bsky.moderation.subscribe
20
211
  cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
21
212
  }),
22
213
  get message() {
23
- return /*#__PURE__*/ v.variant([eventConvoFirstMessageSchema]);
214
+ return /*#__PURE__*/ v.variant([
215
+ eventChatAcceptedSchema,
216
+ eventConvoFirstMessageSchema,
217
+ eventGroupChatCreatedSchema,
218
+ eventGroupChatJoinRequestSchema,
219
+ eventGroupChatJoinRequestApprovedSchema,
220
+ eventGroupChatJoinRequestRejectedSchema,
221
+ eventGroupChatMemberAddedSchema,
222
+ eventGroupChatMemberJoinedSchema,
223
+ eventGroupChatMemberLeftSchema,
224
+ eventGroupChatUpdatedSchema,
225
+ ]);
24
226
  },
25
227
  });
228
+ export const eventChatAcceptedSchema = _eventChatAcceptedSchema;
26
229
  export const eventConvoFirstMessageSchema = _eventConvoFirstMessageSchema;
230
+ export const eventGroupChatCreatedSchema = _eventGroupChatCreatedSchema;
231
+ export const eventGroupChatJoinRequestSchema = _eventGroupChatJoinRequestSchema;
232
+ export const eventGroupChatJoinRequestApprovedSchema = _eventGroupChatJoinRequestApprovedSchema;
233
+ export const eventGroupChatJoinRequestRejectedSchema = _eventGroupChatJoinRequestRejectedSchema;
234
+ export const eventGroupChatMemberAddedSchema = _eventGroupChatMemberAddedSchema;
235
+ export const eventGroupChatMemberJoinedSchema = _eventGroupChatMemberJoinedSchema;
236
+ export const eventGroupChatMemberLeftSchema = _eventGroupChatMemberLeftSchema;
237
+ export const eventGroupChatUpdatedSchema = _eventGroupChatUpdatedSchema;
27
238
  export const mainSchema = _mainSchema;
28
239
  //# sourceMappingURL=subscribeModEvents.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeModEvents.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/chat/bsky/moderation/subscribeModEvents.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,6BAA6B,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5D,KAAK,EAA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,"file":"updateActorAccess.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/chat/bsky/moderation/updateActorAccess.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;;;;;kDAWf,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,OAAO;CAAG;AAC3B,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;CAAG;AAE5E,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,cAAc;QACvB,wCAAwC,EAAE,UAAU,CAAC;KACrD;CACD"}
1
+ {"version":3,"file":"updateActorAccess.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/chat/bsky/moderation/updateActorAccess.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;;;;;kDAWf,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,OAAO;CAAG;AAC3B,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;CAAG;AAE5E,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,cAAc;QACvB,wCAAwC,EAAE,UAAU,CAAC;KACrD;CACD"}
package/dist/limits.d.ts CHANGED
@@ -128,6 +128,17 @@ export declare const embedVideo: {
128
128
  };
129
129
  /** limits for `app.bsky.embed.external` */
130
130
  export declare const embedExternal: {
131
+ readonly colorRGB: {
132
+ readonly b: {
133
+ readonly maximum: 255;
134
+ };
135
+ readonly g: {
136
+ readonly maximum: 255;
137
+ };
138
+ readonly r: {
139
+ readonly maximum: 255;
140
+ };
141
+ };
131
142
  readonly external: {
132
143
  readonly thumb: {
133
144
  readonly maxSize: 1000000;
@@ -1 +1 @@
1
- {"version":3,"file":"limits.d.ts","sourceRoot":"","sources":["../lib/limits.ts"],"names":[],"mappings":"AAGA,sCAAsC;AACtC,eAAO,MAAM,QAAQ;aACpB,IAAI;iBACH,QAAQ,EAAE,CAAC;iBACX,IAAI;qBAAI,YAAY,EAAE,EAAE;qBAAE,SAAS,EAAE,GAAG;;;aAEzC,IAAI;iBAAI,YAAY,EAAE,GAAG;iBAAE,SAAS,EAAE,IAAK;;aAC3C,KAAK;iBAAI,QAAQ,EAAE,CAAC;;CACX,CAAC;AAEX,0CAA0C;AAC1C,eAAO,MAAM,YAAY;aACxB,MAAM;iBAAI,OAAO,EAAE,OAAS;;aAC5B,MAAM;iBAAI,OAAO,EAAE,OAAS;;aAC5B,QAAQ;iBAAI,YAAY,EAAE,EAAE;iBAAE,SAAS,EAAE,GAAG;;aAC5C,WAAW;iBAAI,YAAY,EAAE,GAAG;iBAAE,SAAS,EAAE,IAAK;;aAClD,WAAW;iBAAI,YAAY,EAAE,EAAE;iBAAE,SAAS,EAAE,GAAG;;CACtC,CAAC;AAEX,2CAA2C;AAC3C,eAAO,MAAM,aAAa;aACzB,MAAM;iBAAI,OAAO,EAAE,OAAS;;aAC5B,WAAW;iBAAI,YAAY,EAAE,GAAG;iBAAE,SAAS,EAAE,IAAK;;aAClD,WAAW;iBAAI,YAAY,EAAE,EAAE;iBAAE,SAAS,EAAE,GAAG;;CACtC,CAAC;AAEX,4CAA4C;AAC5C,eAAO,MAAM,cAAc;aAC1B,KAAK;iBAAI,QAAQ,EAAE,CAAC;;aACpB,aAAa;iBAAI,QAAQ,EAAE,GAAG;;CACrB,CAAC;AAEX,0CAA0C;AAC1C,eAAO,MAAM,YA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eAAO,MAAM,YAAY;aACxB,IAAI;iBAAI,YAAY,EAAE,IAAK;iBAAE,SAAS,EAAE,KAAM;;CACrC,CAAC"}
package/dist/limits.js CHANGED
@@ -63,6 +63,11 @@ export const embedVideo = {
63
63
  };
64
64
  /** limits for `app.bsky.embed.external` */
65
65
  export const embedExternal = {
66
+ colorRGB: {
67
+ b: { maximum: 255 },
68
+ g: { maximum: 255 },
69
+ r: { maximum: 255 },
70
+ },
66
71
  external: {
67
72
  thumb: { maxSize: 1_000_000 },
68
73
  },
@@ -1 +1 @@
1
- {"version":3,"file":"limits.js","sourceRoot":"","sources":["../lib/limits.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,uBAAuB;AAEvB,sCAAsC;AACtC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACvB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC;QACX,IAAI,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE;KAC1C;IACD,IAAI,EAAE,EAAE,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE;IAC7C,KAAK,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE;CACb,CAAC;AAEX,0CAA0C;AAC1C,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B,MAAM,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;IAC9B,MAAM,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;IAC9B,QAAQ,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE;IAC9C,WAAW,EAAE,EAAE,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE;IACpD,WAAW,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE;CACxC,CAAC;AAEX,2CAA2C;AAC3C,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,MAAM,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;IAC9B,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EAAE,SAAS,EAAE,MAAM,EAAE;CACvC,CAAC"}
@@ -32,6 +32,7 @@ export * as AppBskyDraftGetDrafts from './types/app/bsky/draft/getDrafts.ts';
32
32
  export * as AppBskyDraftUpdateDraft from './types/app/bsky/draft/updateDraft.ts';
33
33
  export * as AppBskyEmbedDefs from './types/app/bsky/embed/defs.ts';
34
34
  export * as AppBskyEmbedExternal from './types/app/bsky/embed/external.ts';
35
+ export * as AppBskyEmbedGetEmbedExternalView from './types/app/bsky/embed/getEmbedExternalView.ts';
35
36
  export * as AppBskyEmbedImages from './types/app/bsky/embed/images.ts';
36
37
  export * as AppBskyEmbedRecord from './types/app/bsky/embed/record.ts';
37
38
  export * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia.ts';
@@ -147,6 +148,7 @@ export * as ChatBskyActorDeclaration from './types/chat/bsky/actor/declaration.t
147
148
  export * as ChatBskyActorDefs from './types/chat/bsky/actor/defs.ts';
148
149
  export * as ChatBskyActorDeleteAccount from './types/chat/bsky/actor/deleteAccount.ts';
149
150
  export * as ChatBskyActorExportAccountData from './types/chat/bsky/actor/exportAccountData.ts';
151
+ export * as ChatBskyActorGetStatus from './types/chat/bsky/actor/getStatus.ts';
150
152
  export * as ChatBskyConvoAcceptConvo from './types/chat/bsky/convo/acceptConvo.ts';
151
153
  export * as ChatBskyConvoAddReaction from './types/chat/bsky/convo/addReaction.ts';
152
154
  export * as ChatBskyConvoDefs from './types/chat/bsky/convo/defs.ts';
@@ -178,8 +180,9 @@ export * as ChatBskyGroupDisableJoinLink from './types/chat/bsky/group/disableJo
178
180
  export * as ChatBskyGroupEditGroup from './types/chat/bsky/group/editGroup.ts';
179
181
  export * as ChatBskyGroupEditJoinLink from './types/chat/bsky/group/editJoinLink.ts';
180
182
  export * as ChatBskyGroupEnableJoinLink from './types/chat/bsky/group/enableJoinLink.ts';
181
- export * as ChatBskyGroupGetJoinLinkPreview from './types/chat/bsky/group/getJoinLinkPreview.ts';
183
+ export * as ChatBskyGroupGetJoinLinkPreviews from './types/chat/bsky/group/getJoinLinkPreviews.ts';
182
184
  export * as ChatBskyGroupListJoinRequests from './types/chat/bsky/group/listJoinRequests.ts';
185
+ export * as ChatBskyGroupListMutualGroups from './types/chat/bsky/group/listMutualGroups.ts';
183
186
  export * as ChatBskyGroupRejectJoinRequest from './types/chat/bsky/group/rejectJoinRequest.ts';
184
187
  export * as ChatBskyGroupRemoveMembers from './types/chat/bsky/group/removeMembers.ts';
185
188
  export * as ChatBskyGroupRequestJoin from './types/chat/bsky/group/requestJoin.ts';
@@ -1,13 +1,34 @@
1
+ import * as ComAtprotoLabelDefs from '@atcute/atproto/types/label/defs';
2
+ import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
1
3
  import type {} from '@atcute/lexicons';
2
4
  import * as v from '@atcute/lexicons/validations';
3
5
 
4
- const _externalSchema = /*#__PURE__*/ v.object({
5
- $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#external')),
6
+ import * as AppBskyActorDefs from '../actor/defs.ts';
7
+
8
+ const _colorRGBSchema = /*#__PURE__*/ v.object({
9
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#colorRGB')),
10
+ /**
11
+ * @minimum 0
12
+ * @maximum 255
13
+ */
14
+ b: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(0, 255)]),
15
+ /**
16
+ * @minimum 0
17
+ * @maximum 255
18
+ */
19
+ g: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(0, 255)]),
6
20
  /**
7
- * The URI of the Atmosphere record representing this external content, if it exists. Example: a
8
- * site.standard.document record.
21
+ * @minimum 0
22
+ * @maximum 255
9
23
  */
10
- associatedRecord: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
24
+ r: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(0, 255)]),
25
+ });
26
+ const _externalSchema = /*#__PURE__*/ v.object({
27
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#external')),
28
+ /** StrongRefs (uri+cid) of the Atmosphere records that backed this view. */
29
+ get associatedRefs() {
30
+ return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoRepoStrongRef.mainSchema));
31
+ },
11
32
  description: /*#__PURE__*/ v.string(),
12
33
  /**
13
34
  * @accept image/*
@@ -36,28 +57,90 @@ const _viewSchema = /*#__PURE__*/ v.object({
36
57
  });
37
58
  const _viewExternalSchema = /*#__PURE__*/ v.object({
38
59
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#viewExternal')),
60
+ /** Profiles of the owners of the Atmosphere records that backed this view. */
61
+ get associatedProfiles() {
62
+ return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(AppBskyActorDefs.profileViewBasicSchema));
63
+ },
64
+ /** StrongRefs (uri+cid) of the Atmosphere records that backed this view. */
65
+ get associatedRefs() {
66
+ return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoRepoStrongRef.mainSchema));
67
+ },
68
+ /** When the external content was created, if available. Example: a publication date, for an article. */
69
+ createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
39
70
  description: /*#__PURE__*/ v.string(),
71
+ get labels() {
72
+ return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoLabelDefs.labelSchema));
73
+ },
74
+ /** Estimated reading time in minutes, if applicable and available. */
75
+ readingTime: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
76
+ get source() {
77
+ return /*#__PURE__*/ v.optional(viewExternalSourceSchema);
78
+ },
40
79
  thumb: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
41
80
  title: /*#__PURE__*/ v.string(),
81
+ /** When the external content was updated, if available. */
82
+ updatedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
42
83
  uri: /*#__PURE__*/ v.genericUriString(),
43
84
  });
85
+ const _viewExternalSourceSchema = /*#__PURE__*/ v.object({
86
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#viewExternalSource')),
87
+ description: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
88
+ /**
89
+ * Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location
90
+ * provided by the App View.
91
+ */
92
+ icon: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
93
+ get theme() {
94
+ return /*#__PURE__*/ v.optional(viewExternalSourceThemeSchema);
95
+ },
96
+ title: /*#__PURE__*/ v.string(),
97
+ /** URI of the source, if available. Example: the https:// URL of a site.standard.publication record. */
98
+ uri: /*#__PURE__*/ v.genericUriString(),
99
+ });
100
+ const _viewExternalSourceThemeSchema = /*#__PURE__*/ v.object({
101
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#viewExternalSourceTheme')),
102
+ get accentForegroundRGB() {
103
+ return /*#__PURE__*/ v.optional(colorRGBSchema);
104
+ },
105
+ get accentRGB() {
106
+ return /*#__PURE__*/ v.optional(colorRGBSchema);
107
+ },
108
+ get backgroundRGB() {
109
+ return /*#__PURE__*/ v.optional(colorRGBSchema);
110
+ },
111
+ get foregroundRGB() {
112
+ return /*#__PURE__*/ v.optional(colorRGBSchema);
113
+ },
114
+ });
44
115
 
116
+ type colorRGB$schematype = typeof _colorRGBSchema;
45
117
  type external$schematype = typeof _externalSchema;
46
118
  type main$schematype = typeof _mainSchema;
47
119
  type view$schematype = typeof _viewSchema;
48
120
  type viewExternal$schematype = typeof _viewExternalSchema;
121
+ type viewExternalSource$schematype = typeof _viewExternalSourceSchema;
122
+ type viewExternalSourceTheme$schematype = typeof _viewExternalSourceThemeSchema;
49
123
 
124
+ export interface colorRGBSchema extends colorRGB$schematype {}
50
125
  export interface externalSchema extends external$schematype {}
51
126
  export interface mainSchema extends main$schematype {}
52
127
  export interface viewSchema extends view$schematype {}
53
128
  export interface viewExternalSchema extends viewExternal$schematype {}
129
+ export interface viewExternalSourceSchema extends viewExternalSource$schematype {}
130
+ export interface viewExternalSourceThemeSchema extends viewExternalSourceTheme$schematype {}
54
131
 
132
+ export const colorRGBSchema = _colorRGBSchema as colorRGBSchema;
55
133
  export const externalSchema = _externalSchema as externalSchema;
56
134
  export const mainSchema = _mainSchema as mainSchema;
57
135
  export const viewSchema = _viewSchema as viewSchema;
58
136
  export const viewExternalSchema = _viewExternalSchema as viewExternalSchema;
137
+ export const viewExternalSourceSchema = _viewExternalSourceSchema as viewExternalSourceSchema;
138
+ export const viewExternalSourceThemeSchema = _viewExternalSourceThemeSchema as viewExternalSourceThemeSchema;
59
139
 
140
+ export interface ColorRGB extends v.InferInput<typeof colorRGBSchema> {}
60
141
  export interface External extends v.InferInput<typeof externalSchema> {}
61
142
  export interface Main extends v.InferInput<typeof mainSchema> {}
62
143
  export interface View extends v.InferInput<typeof viewSchema> {}
63
144
  export interface ViewExternal extends v.InferInput<typeof viewExternalSchema> {}
145
+ export interface ViewExternalSource extends v.InferInput<typeof viewExternalSourceSchema> {}
146
+ export interface ViewExternalSourceTheme extends v.InferInput<typeof viewExternalSourceThemeSchema> {}
@@ -0,0 +1,62 @@
1
+ import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
2
+ import type {} from '@atcute/lexicons';
3
+ import type {} from '@atcute/lexicons/ambient';
4
+ import * as v from '@atcute/lexicons/validations';
5
+
6
+ import * as AppBskyEmbedExternal from './external.ts';
7
+
8
+ const _mainSchema = /*#__PURE__*/ v.query('app.bsky.embed.getEmbedExternalView', {
9
+ params: /*#__PURE__*/ v.object({
10
+ /**
11
+ * AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views.
12
+ * Example: a site.standard.document and optionally its associated site.standard.publication.
13
+ *
14
+ * @minLength 1
15
+ * @maxLength 4
16
+ */
17
+ uris: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.resourceUriString()), [
18
+ /*#__PURE__*/ v.arrayLength(1, 4),
19
+ ]),
20
+ /**
21
+ * The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used
22
+ * as the returned view's `uri`. May be used for validation in the future.
23
+ */
24
+ url: /*#__PURE__*/ v.genericUriString(),
25
+ }),
26
+ output: {
27
+ type: 'lex',
28
+ schema: /*#__PURE__*/ v.object({
29
+ associatedRecords: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.unknown())),
30
+ /**
31
+ * StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a
32
+ * post's external.associatedRefs.
33
+ */
34
+ get associatedRefs() {
35
+ return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoRepoStrongRef.mainSchema));
36
+ },
37
+ /**
38
+ * Hydrated view of the embed. Present only when the resolved records back the requested URL and supply
39
+ * enough information to populate the required `viewExternal` fields. Omitted alongside the rest of the
40
+ * response when no records resolved or validation failed.
41
+ */
42
+ get view() {
43
+ return /*#__PURE__*/ v.optional(AppBskyEmbedExternal.viewSchema);
44
+ },
45
+ }),
46
+ },
47
+ });
48
+
49
+ type main$schematype = typeof _mainSchema;
50
+
51
+ export interface mainSchema extends main$schematype {}
52
+
53
+ export const mainSchema = _mainSchema as mainSchema;
54
+
55
+ export interface $params extends v.InferInput<mainSchema['params']> {}
56
+ export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
57
+
58
+ declare module '@atcute/lexicons/ambient' {
59
+ interface XRPCQueries {
60
+ 'app.bsky.embed.getEmbedExternalView': mainSchema;
61
+ }
62
+ }
@@ -0,0 +1,36 @@
1
+ import type {} from '@atcute/lexicons';
2
+ import type {} from '@atcute/lexicons/ambient';
3
+ import * as v from '@atcute/lexicons/validations';
4
+
5
+ const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.actor.getStatus', {
6
+ params: null,
7
+ output: {
8
+ type: 'lex',
9
+ schema: /*#__PURE__*/ v.object({
10
+ /**
11
+ * Whether the viewer's account is allowed to create group chats. New accounts are restricted from
12
+ * creating groups.
13
+ */
14
+ canCreateGroups: /*#__PURE__*/ v.boolean(),
15
+ /** True when the viewer's account is disabled and cannot actively participate in chat. */
16
+ chatDisabled: /*#__PURE__*/ v.boolean(),
17
+ /** The maximum number of members allowed in a group conversation. */
18
+ groupMemberLimit: /*#__PURE__*/ v.integer(),
19
+ }),
20
+ },
21
+ });
22
+
23
+ type main$schematype = typeof _mainSchema;
24
+
25
+ export interface mainSchema extends main$schematype {}
26
+
27
+ export const mainSchema = _mainSchema as mainSchema;
28
+
29
+ export interface $params {}
30
+ export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
31
+
32
+ declare module '@atcute/lexicons/ambient' {
33
+ interface XRPCQueries {
34
+ 'chat.bsky.actor.getStatus': mainSchema;
35
+ }
36
+ }
@@ -33,8 +33,8 @@ const _convoViewSchema = /*#__PURE__*/ v.object({
33
33
  },
34
34
  /**
35
35
  * Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group
36
- * convos, it will a list of important members (the first few members, the viewer, the member who invited
37
- * the viewer, the member who sent the last message, the member who sent the last reaction), but will not
36
+ * convos, it will a list of important members (the first few members, the viewer, the member who added the
37
+ * viewer, the member who sent the last message, the member who sent the last reaction), but will not
38
38
  * contain the full list of members. Use chat.bsky.convo.getConvoMembers to list all members.
39
39
  */
40
40
  get members() {
@@ -66,12 +66,19 @@ const _groupConvoSchema = /*#__PURE__*/ v.object({
66
66
  get joinLink() {
67
67
  return /*#__PURE__*/ v.optional(ChatBskyGroupDefs.joinLinkViewSchema);
68
68
  },
69
+ /**
70
+ * The total number of pending join requests for the group conversation. Only present for the owner. Capped
71
+ * at 21.
72
+ */
73
+ joinRequestCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
69
74
  /** The lock status of the conversation. */
70
75
  get lockStatus() {
71
76
  return convoLockStatusSchema;
72
77
  },
73
78
  /** The total number of members in the group conversation. */
74
79
  memberCount: /*#__PURE__*/ v.integer(),
80
+ /** The maximum number of members allowed in the group conversation. */
81
+ memberLimit: /*#__PURE__*/ v.integer(),
75
82
  /**
76
83
  * The display name of the group conversation.
77
84
  *
@@ -27,7 +27,7 @@ const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.convo.listConvoRequests', {
27
27
  return /*#__PURE__*/ v.array(
28
28
  /*#__PURE__*/ v.variant([
29
29
  ChatBskyConvoDefs.convoViewSchema,
30
- ChatBskyGroupDefs.joinRequestViewSchema,
30
+ ChatBskyGroupDefs.joinRequestConvoViewSchema,
31
31
  ]),
32
32
  );
33
33
  },