@atproto/bsky 0.0.226 → 0.0.227

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 (296) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/data-plane/server/routes/profile.d.ts.map +1 -1
  3. package/dist/data-plane/server/routes/profile.js +3 -0
  4. package/dist/data-plane/server/routes/profile.js.map +1 -1
  5. package/dist/hydration/actor.d.ts +1 -0
  6. package/dist/hydration/actor.d.ts.map +1 -1
  7. package/dist/hydration/actor.js +1 -0
  8. package/dist/hydration/actor.js.map +1 -1
  9. package/dist/lexicons/app/bsky/actor/defs.defs.d.ts +1 -0
  10. package/dist/lexicons/app/bsky/actor/defs.defs.d.ts.map +1 -1
  11. package/dist/lexicons/app/bsky/actor/defs.defs.js +1 -0
  12. package/dist/lexicons/app/bsky/actor/defs.defs.js.map +1 -1
  13. package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts +14 -0
  14. package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts.map +1 -1
  15. package/dist/lexicons/chat/bsky/actor/declaration.defs.js +1 -0
  16. package/dist/lexicons/chat/bsky/actor/declaration.defs.js.map +1 -1
  17. package/dist/lexicons/chat/bsky/actor/defs.defs.d.ts +35 -0
  18. package/dist/lexicons/chat/bsky/actor/defs.defs.d.ts.map +1 -1
  19. package/dist/lexicons/chat/bsky/actor/defs.defs.js +17 -1
  20. package/dist/lexicons/chat/bsky/actor/defs.defs.js.map +1 -1
  21. package/dist/lexicons/chat/bsky/authFullChatClient.defs.js +1 -1
  22. package/dist/lexicons/chat/bsky/authFullChatClient.defs.js.map +1 -1
  23. package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.d.ts +2 -1
  24. package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.d.ts.map +1 -1
  25. package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.js +2 -1
  26. package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.js.map +1 -1
  27. package/dist/lexicons/chat/bsky/convo/addReaction.defs.d.ts +1 -1
  28. package/dist/lexicons/chat/bsky/convo/addReaction.defs.d.ts.map +1 -1
  29. package/dist/lexicons/chat/bsky/convo/addReaction.defs.js +7 -1
  30. package/dist/lexicons/chat/bsky/convo/addReaction.defs.js.map +1 -1
  31. package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts +470 -3
  32. package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts.map +1 -1
  33. package/dist/lexicons/chat/bsky/convo/defs.defs.js +235 -2
  34. package/dist/lexicons/chat/bsky/convo/defs.defs.js.map +1 -1
  35. package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.d.ts +2 -1
  36. package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.d.ts.map +1 -1
  37. package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.js +2 -1
  38. package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.js.map +1 -1
  39. package/dist/lexicons/chat/bsky/convo/getConvo.defs.d.ts +2 -1
  40. package/dist/lexicons/chat/bsky/convo/getConvo.defs.d.ts.map +1 -1
  41. package/dist/lexicons/chat/bsky/convo/getConvo.defs.js +2 -1
  42. package/dist/lexicons/chat/bsky/convo/getConvo.defs.js.map +1 -1
  43. package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.d.ts +1 -1
  44. package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.d.ts.map +1 -1
  45. package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.js +1 -1
  46. package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.js.map +1 -1
  47. package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.d.ts +2 -1
  48. package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.d.ts.map +1 -1
  49. package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.js +8 -1
  50. package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.js.map +1 -1
  51. package/dist/lexicons/chat/bsky/convo/getConvoMembers.d.ts +3 -0
  52. package/dist/lexicons/chat/bsky/convo/getConvoMembers.d.ts.map +1 -0
  53. package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.d.ts +26 -0
  54. package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.d.ts.map +1 -0
  55. package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.js +55 -0
  56. package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.js.map +1 -0
  57. package/dist/lexicons/chat/bsky/convo/getConvoMembers.js +45 -0
  58. package/dist/lexicons/chat/bsky/convo/getConvoMembers.js.map +1 -0
  59. package/dist/lexicons/chat/bsky/convo/getLog.defs.d.ts +2 -2
  60. package/dist/lexicons/chat/bsky/convo/getLog.defs.d.ts.map +1 -1
  61. package/dist/lexicons/chat/bsky/convo/getLog.defs.js +17 -0
  62. package/dist/lexicons/chat/bsky/convo/getLog.defs.js.map +1 -1
  63. package/dist/lexicons/chat/bsky/convo/getMessages.defs.d.ts +4 -3
  64. package/dist/lexicons/chat/bsky/convo/getMessages.defs.d.ts.map +1 -1
  65. package/dist/lexicons/chat/bsky/convo/getMessages.defs.js +3 -1
  66. package/dist/lexicons/chat/bsky/convo/getMessages.defs.js.map +1 -1
  67. package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.d.ts +2 -1
  68. package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.d.ts.map +1 -1
  69. package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.js +2 -1
  70. package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.js.map +1 -1
  71. package/dist/lexicons/chat/bsky/convo/listConvoRequests.d.ts +3 -0
  72. package/dist/lexicons/chat/bsky/convo/listConvoRequests.d.ts.map +1 -0
  73. package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.d.ts +25 -0
  74. package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.d.ts.map +1 -0
  75. package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.js +58 -0
  76. package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.js.map +1 -0
  77. package/dist/lexicons/chat/bsky/convo/listConvoRequests.js +45 -0
  78. package/dist/lexicons/chat/bsky/convo/listConvoRequests.js.map +1 -0
  79. package/dist/lexicons/chat/bsky/convo/listConvos.defs.d.ts +7 -0
  80. package/dist/lexicons/chat/bsky/convo/listConvos.defs.d.ts.map +1 -1
  81. package/dist/lexicons/chat/bsky/convo/listConvos.defs.js +2 -0
  82. package/dist/lexicons/chat/bsky/convo/listConvos.defs.js.map +1 -1
  83. package/dist/lexicons/chat/bsky/convo/lockConvo.d.ts +3 -0
  84. package/dist/lexicons/chat/bsky/convo/lockConvo.d.ts.map +1 -0
  85. package/dist/lexicons/chat/bsky/convo/lockConvo.defs.d.ts +22 -0
  86. package/dist/lexicons/chat/bsky/convo/lockConvo.defs.d.ts.map +1 -0
  87. package/dist/lexicons/chat/bsky/convo/lockConvo.defs.js +50 -0
  88. package/dist/lexicons/chat/bsky/convo/lockConvo.defs.js.map +1 -0
  89. package/dist/lexicons/chat/bsky/convo/lockConvo.js +45 -0
  90. package/dist/lexicons/chat/bsky/convo/lockConvo.js.map +1 -0
  91. package/dist/lexicons/chat/bsky/convo/muteConvo.defs.d.ts +2 -1
  92. package/dist/lexicons/chat/bsky/convo/muteConvo.defs.d.ts.map +1 -1
  93. package/dist/lexicons/chat/bsky/convo/muteConvo.defs.js +2 -1
  94. package/dist/lexicons/chat/bsky/convo/muteConvo.defs.js.map +1 -1
  95. package/dist/lexicons/chat/bsky/convo/removeReaction.defs.d.ts +1 -1
  96. package/dist/lexicons/chat/bsky/convo/removeReaction.defs.d.ts.map +1 -1
  97. package/dist/lexicons/chat/bsky/convo/removeReaction.defs.js +6 -1
  98. package/dist/lexicons/chat/bsky/convo/removeReaction.defs.js.map +1 -1
  99. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.d.ts +2 -1
  100. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.d.ts.map +1 -1
  101. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.js +2 -1
  102. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.js.map +1 -1
  103. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.d.ts +2 -1
  104. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.d.ts.map +1 -1
  105. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.js +2 -1
  106. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.js.map +1 -1
  107. package/dist/lexicons/chat/bsky/convo/unlockConvo.d.ts +3 -0
  108. package/dist/lexicons/chat/bsky/convo/unlockConvo.d.ts.map +1 -0
  109. package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.d.ts +22 -0
  110. package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.d.ts.map +1 -0
  111. package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.js +50 -0
  112. package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.js.map +1 -0
  113. package/dist/lexicons/chat/bsky/convo/unlockConvo.js +45 -0
  114. package/dist/lexicons/chat/bsky/convo/unlockConvo.js.map +1 -0
  115. package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.d.ts +2 -1
  116. package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.d.ts.map +1 -1
  117. package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.js +2 -1
  118. package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.js.map +1 -1
  119. package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.d.ts +1 -0
  120. package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.d.ts.map +1 -1
  121. package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.js +1 -0
  122. package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.js.map +1 -1
  123. package/dist/lexicons/chat/bsky/convo/updateRead.defs.d.ts +2 -1
  124. package/dist/lexicons/chat/bsky/convo/updateRead.defs.d.ts.map +1 -1
  125. package/dist/lexicons/chat/bsky/convo/updateRead.defs.js +2 -1
  126. package/dist/lexicons/chat/bsky/convo/updateRead.defs.js.map +1 -1
  127. package/dist/lexicons/chat/bsky/convo.d.ts +4 -0
  128. package/dist/lexicons/chat/bsky/convo.d.ts.map +1 -1
  129. package/dist/lexicons/chat/bsky/convo.js +5 -1
  130. package/dist/lexicons/chat/bsky/convo.js.map +1 -1
  131. package/dist/lexicons/chat/bsky/group/addMembers.d.ts +3 -0
  132. package/dist/lexicons/chat/bsky/group/addMembers.d.ts.map +1 -0
  133. package/dist/lexicons/chat/bsky/group/addMembers.defs.d.ts +31 -0
  134. package/dist/lexicons/chat/bsky/group/addMembers.defs.d.ts.map +1 -0
  135. package/dist/lexicons/chat/bsky/group/addMembers.defs.js +65 -0
  136. package/dist/lexicons/chat/bsky/group/addMembers.defs.js.map +1 -0
  137. package/dist/lexicons/chat/bsky/group/addMembers.js +45 -0
  138. package/dist/lexicons/chat/bsky/group/addMembers.js.map +1 -0
  139. package/dist/lexicons/chat/bsky/group/approveJoinRequest.d.ts +3 -0
  140. package/dist/lexicons/chat/bsky/group/approveJoinRequest.d.ts.map +1 -0
  141. package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.d.ts +28 -0
  142. package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.d.ts.map +1 -0
  143. package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.js +50 -0
  144. package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.js.map +1 -0
  145. package/dist/lexicons/chat/bsky/group/approveJoinRequest.js +45 -0
  146. package/dist/lexicons/chat/bsky/group/approveJoinRequest.js.map +1 -0
  147. package/dist/lexicons/chat/bsky/group/createGroup.d.ts +3 -0
  148. package/dist/lexicons/chat/bsky/group/createGroup.d.ts.map +1 -0
  149. package/dist/lexicons/chat/bsky/group/createGroup.defs.d.ts +36 -0
  150. package/dist/lexicons/chat/bsky/group/createGroup.defs.d.ts.map +1 -0
  151. package/dist/lexicons/chat/bsky/group/createGroup.defs.js +59 -0
  152. package/dist/lexicons/chat/bsky/group/createGroup.defs.js.map +1 -0
  153. package/dist/lexicons/chat/bsky/group/createGroup.js +45 -0
  154. package/dist/lexicons/chat/bsky/group/createGroup.js.map +1 -0
  155. package/dist/lexicons/chat/bsky/group/createJoinLink.d.ts +3 -0
  156. package/dist/lexicons/chat/bsky/group/createJoinLink.d.ts.map +1 -0
  157. package/dist/lexicons/chat/bsky/group/createJoinLink.defs.d.ts +26 -0
  158. package/dist/lexicons/chat/bsky/group/createJoinLink.defs.d.ts.map +1 -0
  159. package/dist/lexicons/chat/bsky/group/createJoinLink.defs.js +54 -0
  160. package/dist/lexicons/chat/bsky/group/createJoinLink.defs.js.map +1 -0
  161. package/dist/lexicons/chat/bsky/group/createJoinLink.js +45 -0
  162. package/dist/lexicons/chat/bsky/group/createJoinLink.js.map +1 -0
  163. package/dist/lexicons/chat/bsky/group/defs.d.ts +3 -0
  164. package/dist/lexicons/chat/bsky/group/defs.d.ts.map +1 -0
  165. package/dist/lexicons/chat/bsky/group/defs.defs.d.ts +47 -0
  166. package/dist/lexicons/chat/bsky/group/defs.defs.d.ts.map +1 -0
  167. package/dist/lexicons/chat/bsky/group/defs.defs.js +69 -0
  168. package/dist/lexicons/chat/bsky/group/defs.defs.js.map +1 -0
  169. package/dist/lexicons/chat/bsky/group/defs.js +45 -0
  170. package/dist/lexicons/chat/bsky/group/defs.js.map +1 -0
  171. package/dist/lexicons/chat/bsky/group/disableJoinLink.d.ts +3 -0
  172. package/dist/lexicons/chat/bsky/group/disableJoinLink.d.ts.map +1 -0
  173. package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.d.ts +22 -0
  174. package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.d.ts.map +1 -0
  175. package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.js +50 -0
  176. package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.js.map +1 -0
  177. package/dist/lexicons/chat/bsky/group/disableJoinLink.js +45 -0
  178. package/dist/lexicons/chat/bsky/group/disableJoinLink.js.map +1 -0
  179. package/dist/lexicons/chat/bsky/group/editGroup.d.ts +3 -0
  180. package/dist/lexicons/chat/bsky/group/editGroup.d.ts.map +1 -0
  181. package/dist/lexicons/chat/bsky/group/editGroup.defs.d.ts +32 -0
  182. package/dist/lexicons/chat/bsky/group/editGroup.defs.d.ts.map +1 -0
  183. package/dist/lexicons/chat/bsky/group/editGroup.defs.js +53 -0
  184. package/dist/lexicons/chat/bsky/group/editGroup.defs.js.map +1 -0
  185. package/dist/lexicons/chat/bsky/group/editGroup.js +45 -0
  186. package/dist/lexicons/chat/bsky/group/editGroup.js.map +1 -0
  187. package/dist/lexicons/chat/bsky/group/editJoinLink.d.ts +3 -0
  188. package/dist/lexicons/chat/bsky/group/editJoinLink.d.ts.map +1 -0
  189. package/dist/lexicons/chat/bsky/group/editJoinLink.defs.d.ts +26 -0
  190. package/dist/lexicons/chat/bsky/group/editJoinLink.defs.d.ts.map +1 -0
  191. package/dist/lexicons/chat/bsky/group/editJoinLink.defs.js +54 -0
  192. package/dist/lexicons/chat/bsky/group/editJoinLink.defs.js.map +1 -0
  193. package/dist/lexicons/chat/bsky/group/editJoinLink.js +45 -0
  194. package/dist/lexicons/chat/bsky/group/editJoinLink.js.map +1 -0
  195. package/dist/lexicons/chat/bsky/group/enableJoinLink.d.ts +3 -0
  196. package/dist/lexicons/chat/bsky/group/enableJoinLink.d.ts.map +1 -0
  197. package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.d.ts +22 -0
  198. package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.d.ts.map +1 -0
  199. package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.js +50 -0
  200. package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.js.map +1 -0
  201. package/dist/lexicons/chat/bsky/group/enableJoinLink.js +45 -0
  202. package/dist/lexicons/chat/bsky/group/enableJoinLink.js.map +1 -0
  203. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.d.ts +3 -0
  204. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.d.ts.map +1 -0
  205. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.d.ts +20 -0
  206. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.d.ts.map +1 -0
  207. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.js +50 -0
  208. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.js.map +1 -0
  209. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.js +45 -0
  210. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.js.map +1 -0
  211. package/dist/lexicons/chat/bsky/group/listJoinRequests.d.ts +3 -0
  212. package/dist/lexicons/chat/bsky/group/listJoinRequests.d.ts.map +1 -0
  213. package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.d.ts +26 -0
  214. package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.d.ts.map +1 -0
  215. package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.js +55 -0
  216. package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.js.map +1 -0
  217. package/dist/lexicons/chat/bsky/group/listJoinRequests.js +45 -0
  218. package/dist/lexicons/chat/bsky/group/listJoinRequests.js.map +1 -0
  219. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.d.ts +3 -0
  220. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.d.ts.map +1 -0
  221. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.d.ts +23 -0
  222. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.d.ts.map +1 -0
  223. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.js +14 -0
  224. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.js.map +1 -0
  225. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.js +45 -0
  226. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.js.map +1 -0
  227. package/dist/lexicons/chat/bsky/group/removeMembers.d.ts +3 -0
  228. package/dist/lexicons/chat/bsky/group/removeMembers.d.ts.map +1 -0
  229. package/dist/lexicons/chat/bsky/group/removeMembers.defs.d.ts +28 -0
  230. package/dist/lexicons/chat/bsky/group/removeMembers.defs.d.ts.map +1 -0
  231. package/dist/lexicons/chat/bsky/group/removeMembers.defs.js +53 -0
  232. package/dist/lexicons/chat/bsky/group/removeMembers.defs.js.map +1 -0
  233. package/dist/lexicons/chat/bsky/group/removeMembers.js +45 -0
  234. package/dist/lexicons/chat/bsky/group/removeMembers.js.map +1 -0
  235. package/dist/lexicons/chat/bsky/group/requestJoin.d.ts +3 -0
  236. package/dist/lexicons/chat/bsky/group/requestJoin.d.ts.map +1 -0
  237. package/dist/lexicons/chat/bsky/group/requestJoin.defs.d.ts +28 -0
  238. package/dist/lexicons/chat/bsky/group/requestJoin.defs.d.ts.map +1 -0
  239. package/dist/lexicons/chat/bsky/group/requestJoin.defs.js +58 -0
  240. package/dist/lexicons/chat/bsky/group/requestJoin.defs.js.map +1 -0
  241. package/dist/lexicons/chat/bsky/group/requestJoin.js +45 -0
  242. package/dist/lexicons/chat/bsky/group/requestJoin.js.map +1 -0
  243. package/dist/lexicons/chat/bsky/group.d.ts +15 -0
  244. package/dist/lexicons/chat/bsky/group.d.ts.map +1 -0
  245. package/dist/lexicons/chat/bsky/group.js +54 -0
  246. package/dist/lexicons/chat/bsky/group.js.map +1 -0
  247. package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.d.ts +2 -2
  248. package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.d.ts.map +1 -1
  249. package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.js +1 -0
  250. package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.js.map +1 -1
  251. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.d.ts +3 -0
  252. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -0
  253. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.d.ts +32 -0
  254. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.d.ts.map +1 -0
  255. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.js +23 -0
  256. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.js.map +1 -0
  257. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.js +45 -0
  258. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.js.map +1 -0
  259. package/dist/lexicons/chat/bsky/moderation.d.ts +1 -0
  260. package/dist/lexicons/chat/bsky/moderation.d.ts.map +1 -1
  261. package/dist/lexicons/chat/bsky/moderation.js +2 -1
  262. package/dist/lexicons/chat/bsky/moderation.js.map +1 -1
  263. package/dist/lexicons/chat/bsky.d.ts +1 -0
  264. package/dist/lexicons/chat/bsky.d.ts.map +1 -1
  265. package/dist/lexicons/chat/bsky.js +2 -1
  266. package/dist/lexicons/chat/bsky.js.map +1 -1
  267. package/dist/proto/bsky_pb.d.ts +4 -0
  268. package/dist/proto/bsky_pb.d.ts.map +1 -1
  269. package/dist/proto/bsky_pb.js +10 -0
  270. package/dist/proto/bsky_pb.js.map +1 -1
  271. package/dist/proto/bsync_connect.d.ts +10 -1
  272. package/dist/proto/bsync_connect.d.ts.map +1 -1
  273. package/dist/proto/bsync_connect.js +9 -0
  274. package/dist/proto/bsync_connect.js.map +1 -1
  275. package/dist/proto/bsync_pb.d.ts +38 -0
  276. package/dist/proto/bsync_pb.d.ts.map +1 -1
  277. package/dist/proto/bsync_pb.js +113 -1
  278. package/dist/proto/bsync_pb.js.map +1 -1
  279. package/dist/views/index.d.ts +2 -1
  280. package/dist/views/index.d.ts.map +1 -1
  281. package/dist/views/index.js +10 -8
  282. package/dist/views/index.js.map +1 -1
  283. package/dist/views/types.d.ts +1 -0
  284. package/dist/views/types.d.ts.map +1 -1
  285. package/dist/views/types.js.map +1 -1
  286. package/package.json +3 -3
  287. package/proto/bsky.proto +1 -0
  288. package/src/data-plane/server/routes/profile.ts +4 -0
  289. package/src/hydration/actor.ts +2 -0
  290. package/src/proto/bsky_pb.ts +6 -0
  291. package/src/proto/bsync_connect.ts +10 -1
  292. package/src/proto/bsync_pb.ts +80 -0
  293. package/src/views/index.ts +11 -8
  294. package/src/views/types.ts +1 -0
  295. package/tests/views/profile.test.ts +64 -0
  296. package/tsconfig.build.tsbuildinfo +1 -1
@@ -6,6 +6,7 @@ export declare const isProfileRecordType: <TValue extends {
6
6
  export type ProfileViewer = app.bsky.actor.defs.ViewerState;
7
7
  export type KnownFollowers = app.bsky.actor.defs.KnownFollowers;
8
8
  export type ProfileAssociatedActivitySubscription = app.bsky.actor.defs.ProfileAssociatedActivitySubscription;
9
+ export type ProfileAssociatedChat = app.bsky.actor.defs.ProfileAssociatedChat;
9
10
  export type ProfileView = app.bsky.actor.defs.ProfileView;
10
11
  export type ProfileViewBasic = app.bsky.actor.defs.ProfileViewBasic;
11
12
  export type ProfileViewDetailed = app.bsky.actor.defs.ProfileViewDetailed;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/views/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAIrD,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAA;AACvD,eAAO,MAAM,mBAAmB;SA4CkB,CAAC;kGA5CgB,CAAA;AAEnE,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAA;AAC3D,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,CAAA;AAC/D,MAAM,MAAM,qCAAqC,GAC/C,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qCAAqC,CAAA;AAC3D,MAAM,MAAM,WAAW,GAAG,GAAG,CAAC,IAAI,CAA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QAAA,gBAAgB,GAAG,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAA;AAG/C,QAAA,yBAAyB,GACpC,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAA;AAajC,QAAA,cAAc,GAAG,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAA;AAGtD,QAAA,kBAAkB,GAC7B,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,SAAS,CAAA;AACpC,QAAA,mBAAmB,GAC9B,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAA;AACrC,QAAA,cAAc,GAAG,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAA;AAC5D,QAAA,iBAAiB,GAAG,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAA;AAqBlE,QAAA,mBAAmB,GAAG,cAAG,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAA;AAcrE,oBAAoB;AAEP,QAAA,kBAAkB,GAAG,cAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAA;AAsB9D,QAAA,gBAAgB,GAAG,cAAG,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAA;AAK9D,QAAA,iBAAiB,GAAG,cAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAA","sourcesContent":["import { app, chat, com } from '../lexicons/index.js'\n\n// app.bsky.actor\n\nexport type ProfileRecord = app.bsky.actor.profile.Main\nexport const isProfileRecordType = app.bsky.actor.profile.$isTypeOf\n\nexport type ProfileViewer = app.bsky.actor.defs.ViewerState\nexport type KnownFollowers = app.bsky.actor.defs.KnownFollowers\nexport type ProfileAssociatedActivitySubscription =\n app.bsky.actor.defs.ProfileAssociatedActivitySubscription\nexport type ProfileView = app.bsky.actor.defs.ProfileView\nexport type ProfileViewBasic = app.bsky.actor.defs.ProfileViewBasic\nexport type ProfileViewDetailed = app.bsky.actor.defs.ProfileViewDetailed\nexport type StatusView = app.bsky.actor.defs.StatusView\nexport type VerificationState = app.bsky.actor.defs.VerificationState\nexport type VerificationView = app.bsky.actor.defs.VerificationView\n\nexport type StatusRecord = app.bsky.actor.status.Main\n\n// app.bsky.bookmark\n\nexport type BookmarkView = app.bsky.bookmark.defs.BookmarkView\n\n// app.bsky.embed\n\nexport const isImagesEmbedType = app.bsky.embed.images.$isTypeOf\nexport type ImagesEmbed = app.bsky.embed.images.Main\nexport type ImagesEmbedView = app.bsky.embed.images.View\n\nexport const isVideoEmbedType = app.bsky.embed.video.$isTypeOf\nexport type VideoEmbed = app.bsky.embed.video.Main\nexport type VideoEmbedView = app.bsky.embed.video.View\n\nexport const isExternalEmbedType = app.bsky.embed.external.$isTypeOf\nexport type ExternalEmbed = app.bsky.embed.external.Main\nexport type ExternalEmbedView = app.bsky.embed.external.View\n\nexport const isRecordEmbedType = app.bsky.embed.record.$isTypeOf\nexport type RecordEmbed = app.bsky.embed.record.Main\nexport type RecordEmbedView = app.bsky.embed.record.View\nexport type EmbedBlocked = app.bsky.embed.record.ViewBlocked\nexport type EmbedDetached = app.bsky.embed.record.ViewDetached\nexport type EmbedNotFound = app.bsky.embed.record.ViewNotFound\nexport type PostEmbedView = app.bsky.embed.record.ViewRecord\n\nexport const isRecordWithMediaType = app.bsky.embed.recordWithMedia.$isTypeOf\nexport type RecordWithMedia = app.bsky.embed.recordWithMedia.Main\nexport type RecordWithMediaView = app.bsky.embed.recordWithMedia.View\nexport type RecordWithMediaEmbedView = app.bsky.embed.recordWithMedia.View\n\nexport type Embed =\n | ImagesEmbed\n | VideoEmbed\n | ExternalEmbed\n | RecordEmbed\n | RecordWithMedia\n\nexport type EmbedView =\n | ImagesEmbedView\n | VideoEmbedView\n | ExternalEmbedView\n | RecordEmbedView\n | RecordWithMediaView\n\nexport type MaybePostView = PostView | NotFoundPost | BlockedPost\n\nexport type RecordEmbedViewInternal =\n | PostEmbedView\n | GeneratorView\n | ListView\n | LabelerView\n | StarterPackViewBasic\n\n// app.bsky.feed\n\nexport type LikeRecord = app.bsky.feed.like.Main\nexport type RepostRecord = app.bsky.feed.repost.Main\n\nexport type PostRecord = app.bsky.feed.post.Main\nexport const isPostRecordType = app.bsky.feed.post.$isTypeOf\n\nexport type PostgateRecord = app.bsky.feed.postgate.Main\nexport const isPostgateDisableRuleType =\n app.bsky.feed.postgate.disableRule.$isTypeOf\n\nexport type FeedViewPost = app.bsky.feed.defs.FeedViewPost\nexport type ReasonPin = app.bsky.feed.defs.ReasonPin\nexport type ReasonRepost = app.bsky.feed.defs.ReasonRepost\nexport type ReplyRef = app.bsky.feed.defs.ReplyRef\nexport type PostReplyRef = app.bsky.feed.post.ReplyRef\nexport type ThreadViewPost = app.bsky.feed.defs.ThreadViewPost\nexport type ThreadgateView = app.bsky.feed.defs.ThreadgateView\nexport type BlockedPost = app.bsky.feed.defs.BlockedPost\nexport type GeneratorView = app.bsky.feed.defs.GeneratorView\nexport type NotFoundPost = app.bsky.feed.defs.NotFoundPost\nexport type PostView = app.bsky.feed.defs.PostView\nexport const isPostViewType = app.bsky.feed.defs.postView.$isTypeOf\n\nexport type GateRecord = app.bsky.feed.threadgate.Main\nexport const isFollowerRuleType =\n app.bsky.feed.threadgate.followerRule.$isTypeOf\nexport const isFollowingRuleType =\n app.bsky.feed.threadgate.followingRule.$isTypeOf\nexport const isListRuleType = app.bsky.feed.threadgate.listRule.$isTypeOf\nexport const isMentionRuleType = app.bsky.feed.threadgate.mentionRule.$isTypeOf\n\nexport type FeedGenRecord = app.bsky.feed.generator.Main\n\n// app.bsky.graph\n\nexport type BlockRecord = app.bsky.graph.block.Main\nexport type FollowRecord = app.bsky.graph.follow.Main\nexport type ListItemRecord = app.bsky.graph.listitem.Main\nexport type ListItemView = app.bsky.graph.defs.ListItemView\nexport type ListRecord = app.bsky.graph.list.Main\nexport type ListView = app.bsky.graph.defs.ListView\nexport type ListViewBasic = app.bsky.graph.defs.ListViewBasic\nexport type StarterPackRecord = app.bsky.graph.starterpack.Main\nexport type StarterPackView = app.bsky.graph.defs.StarterPackView\nexport type StarterPackViewBasic = app.bsky.graph.defs.StarterPackViewBasic\nexport type VerificationRecord = app.bsky.graph.verification.Main\n\n// app.bsky.labeler\n\nexport type LabelerRecord = app.bsky.labeler.service.Main\nexport const isLabelerRecordType = app.bsky.labeler.service.$isTypeOf\nexport type LabelerView = app.bsky.labeler.defs.LabelerView\nexport type LabelerViewDetailed = app.bsky.labeler.defs.LabelerViewDetailed\n\n// app.bsky.notification\n\nexport type NotificationDeclarationRecord =\n app.bsky.notification.declaration.Main\nexport type ActivitySubscription =\n app.bsky.notification.defs.ActivitySubscription\nexport type NotificationRecordDeleted = app.bsky.notification.defs.RecordDeleted\nexport type NotificationView =\n app.bsky.notification.listNotifications.Notification\n\n// app.bsky.richtext\n\nexport const isMentionFacetType = app.bsky.richtext.facet.mention.$isTypeOf\n\n// app.bsky.unspecced\n\nexport type ThreadItemBlocked = app.bsky.unspecced.defs.ThreadItemBlocked\nexport type ThreadItemNoUnauthenticated =\n app.bsky.unspecced.defs.ThreadItemNoUnauthenticated\nexport type ThreadItemNotFound = app.bsky.unspecced.defs.ThreadItemNotFound\nexport type ThreadItemPost = app.bsky.unspecced.defs.ThreadItemPost\n\nexport type ThreadOtherItem = app.bsky.unspecced.getPostThreadOtherV2.ThreadItem\nexport type GetPostThreadV2QueryParams =\n app.bsky.unspecced.getPostThreadV2.$Params\nexport type ThreadItem = app.bsky.unspecced.getPostThreadV2.ThreadItem\n\n// chat.bsky.actor\n\nexport type ChatDeclarationRecord = chat.bsky.actor.declaration.Main\n\n// com.atproto.label\n\nexport type Label = com.atproto.label.defs.Label\nexport const isSelfLabelsType = com.atproto.label.defs.selfLabels.$isTypeOf\n\n// com.atproto.label\n\nexport type StrongRef = com.atproto.repo.strongRef.Main\nexport const validateStrongRef = com.atproto.repo.strongRef.$safeValidate\n\n// com.germnetwork.declaration\n\nexport type GermDeclarationRecord = com.germnetwork.declaration.Main\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/views/types.ts"],"names":[],"mappings":";;;AAAA,mDAAqD;AAKxC,QAAA,mBAAmB,GAAG,cAAG,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAA;AAoBnE,iBAAiB;AAEJ,QAAA,iBAAiB,GAAG,cAAG,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAA;AAInD,QAAA,gBAAgB,GAAG,cAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAA;AAIjD,QAAA,mBAAmB,GAAG,cAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAA;AAIvD,QAAA,iBAAiB,GAAG,cAAG,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAA;AAQnD,QAAA,qBAAqB,GAAG,cAAG,CAAC,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,SAAS,CAAA;AAkChE,QAAA,gBAAgB,GAAG,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAA;AAG/C,QAAA,yBAAyB,GACpC,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAA;AAajC,QAAA,cAAc,GAAG,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAA;AAGtD,QAAA,kBAAkB,GAC7B,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,SAAS,CAAA;AACpC,QAAA,mBAAmB,GAC9B,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAA;AACrC,QAAA,cAAc,GAAG,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAA;AAC5D,QAAA,iBAAiB,GAAG,cAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAA;AAqBlE,QAAA,mBAAmB,GAAG,cAAG,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAA;AAcrE,oBAAoB;AAEP,QAAA,kBAAkB,GAAG,cAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAA;AAsB9D,QAAA,gBAAgB,GAAG,cAAG,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAA;AAK9D,QAAA,iBAAiB,GAAG,cAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAA","sourcesContent":["import { app, chat, com } from '../lexicons/index.js'\n\n// app.bsky.actor\n\nexport type ProfileRecord = app.bsky.actor.profile.Main\nexport const isProfileRecordType = app.bsky.actor.profile.$isTypeOf\n\nexport type ProfileViewer = app.bsky.actor.defs.ViewerState\nexport type KnownFollowers = app.bsky.actor.defs.KnownFollowers\nexport type ProfileAssociatedActivitySubscription =\n app.bsky.actor.defs.ProfileAssociatedActivitySubscription\nexport type ProfileAssociatedChat = app.bsky.actor.defs.ProfileAssociatedChat\nexport type ProfileView = app.bsky.actor.defs.ProfileView\nexport type ProfileViewBasic = app.bsky.actor.defs.ProfileViewBasic\nexport type ProfileViewDetailed = app.bsky.actor.defs.ProfileViewDetailed\nexport type StatusView = app.bsky.actor.defs.StatusView\nexport type VerificationState = app.bsky.actor.defs.VerificationState\nexport type VerificationView = app.bsky.actor.defs.VerificationView\n\nexport type StatusRecord = app.bsky.actor.status.Main\n\n// app.bsky.bookmark\n\nexport type BookmarkView = app.bsky.bookmark.defs.BookmarkView\n\n// app.bsky.embed\n\nexport const isImagesEmbedType = app.bsky.embed.images.$isTypeOf\nexport type ImagesEmbed = app.bsky.embed.images.Main\nexport type ImagesEmbedView = app.bsky.embed.images.View\n\nexport const isVideoEmbedType = app.bsky.embed.video.$isTypeOf\nexport type VideoEmbed = app.bsky.embed.video.Main\nexport type VideoEmbedView = app.bsky.embed.video.View\n\nexport const isExternalEmbedType = app.bsky.embed.external.$isTypeOf\nexport type ExternalEmbed = app.bsky.embed.external.Main\nexport type ExternalEmbedView = app.bsky.embed.external.View\n\nexport const isRecordEmbedType = app.bsky.embed.record.$isTypeOf\nexport type RecordEmbed = app.bsky.embed.record.Main\nexport type RecordEmbedView = app.bsky.embed.record.View\nexport type EmbedBlocked = app.bsky.embed.record.ViewBlocked\nexport type EmbedDetached = app.bsky.embed.record.ViewDetached\nexport type EmbedNotFound = app.bsky.embed.record.ViewNotFound\nexport type PostEmbedView = app.bsky.embed.record.ViewRecord\n\nexport const isRecordWithMediaType = app.bsky.embed.recordWithMedia.$isTypeOf\nexport type RecordWithMedia = app.bsky.embed.recordWithMedia.Main\nexport type RecordWithMediaView = app.bsky.embed.recordWithMedia.View\nexport type RecordWithMediaEmbedView = app.bsky.embed.recordWithMedia.View\n\nexport type Embed =\n | ImagesEmbed\n | VideoEmbed\n | ExternalEmbed\n | RecordEmbed\n | RecordWithMedia\n\nexport type EmbedView =\n | ImagesEmbedView\n | VideoEmbedView\n | ExternalEmbedView\n | RecordEmbedView\n | RecordWithMediaView\n\nexport type MaybePostView = PostView | NotFoundPost | BlockedPost\n\nexport type RecordEmbedViewInternal =\n | PostEmbedView\n | GeneratorView\n | ListView\n | LabelerView\n | StarterPackViewBasic\n\n// app.bsky.feed\n\nexport type LikeRecord = app.bsky.feed.like.Main\nexport type RepostRecord = app.bsky.feed.repost.Main\n\nexport type PostRecord = app.bsky.feed.post.Main\nexport const isPostRecordType = app.bsky.feed.post.$isTypeOf\n\nexport type PostgateRecord = app.bsky.feed.postgate.Main\nexport const isPostgateDisableRuleType =\n app.bsky.feed.postgate.disableRule.$isTypeOf\n\nexport type FeedViewPost = app.bsky.feed.defs.FeedViewPost\nexport type ReasonPin = app.bsky.feed.defs.ReasonPin\nexport type ReasonRepost = app.bsky.feed.defs.ReasonRepost\nexport type ReplyRef = app.bsky.feed.defs.ReplyRef\nexport type PostReplyRef = app.bsky.feed.post.ReplyRef\nexport type ThreadViewPost = app.bsky.feed.defs.ThreadViewPost\nexport type ThreadgateView = app.bsky.feed.defs.ThreadgateView\nexport type BlockedPost = app.bsky.feed.defs.BlockedPost\nexport type GeneratorView = app.bsky.feed.defs.GeneratorView\nexport type NotFoundPost = app.bsky.feed.defs.NotFoundPost\nexport type PostView = app.bsky.feed.defs.PostView\nexport const isPostViewType = app.bsky.feed.defs.postView.$isTypeOf\n\nexport type GateRecord = app.bsky.feed.threadgate.Main\nexport const isFollowerRuleType =\n app.bsky.feed.threadgate.followerRule.$isTypeOf\nexport const isFollowingRuleType =\n app.bsky.feed.threadgate.followingRule.$isTypeOf\nexport const isListRuleType = app.bsky.feed.threadgate.listRule.$isTypeOf\nexport const isMentionRuleType = app.bsky.feed.threadgate.mentionRule.$isTypeOf\n\nexport type FeedGenRecord = app.bsky.feed.generator.Main\n\n// app.bsky.graph\n\nexport type BlockRecord = app.bsky.graph.block.Main\nexport type FollowRecord = app.bsky.graph.follow.Main\nexport type ListItemRecord = app.bsky.graph.listitem.Main\nexport type ListItemView = app.bsky.graph.defs.ListItemView\nexport type ListRecord = app.bsky.graph.list.Main\nexport type ListView = app.bsky.graph.defs.ListView\nexport type ListViewBasic = app.bsky.graph.defs.ListViewBasic\nexport type StarterPackRecord = app.bsky.graph.starterpack.Main\nexport type StarterPackView = app.bsky.graph.defs.StarterPackView\nexport type StarterPackViewBasic = app.bsky.graph.defs.StarterPackViewBasic\nexport type VerificationRecord = app.bsky.graph.verification.Main\n\n// app.bsky.labeler\n\nexport type LabelerRecord = app.bsky.labeler.service.Main\nexport const isLabelerRecordType = app.bsky.labeler.service.$isTypeOf\nexport type LabelerView = app.bsky.labeler.defs.LabelerView\nexport type LabelerViewDetailed = app.bsky.labeler.defs.LabelerViewDetailed\n\n// app.bsky.notification\n\nexport type NotificationDeclarationRecord =\n app.bsky.notification.declaration.Main\nexport type ActivitySubscription =\n app.bsky.notification.defs.ActivitySubscription\nexport type NotificationRecordDeleted = app.bsky.notification.defs.RecordDeleted\nexport type NotificationView =\n app.bsky.notification.listNotifications.Notification\n\n// app.bsky.richtext\n\nexport const isMentionFacetType = app.bsky.richtext.facet.mention.$isTypeOf\n\n// app.bsky.unspecced\n\nexport type ThreadItemBlocked = app.bsky.unspecced.defs.ThreadItemBlocked\nexport type ThreadItemNoUnauthenticated =\n app.bsky.unspecced.defs.ThreadItemNoUnauthenticated\nexport type ThreadItemNotFound = app.bsky.unspecced.defs.ThreadItemNotFound\nexport type ThreadItemPost = app.bsky.unspecced.defs.ThreadItemPost\n\nexport type ThreadOtherItem = app.bsky.unspecced.getPostThreadOtherV2.ThreadItem\nexport type GetPostThreadV2QueryParams =\n app.bsky.unspecced.getPostThreadV2.$Params\nexport type ThreadItem = app.bsky.unspecced.getPostThreadV2.ThreadItem\n\n// chat.bsky.actor\n\nexport type ChatDeclarationRecord = chat.bsky.actor.declaration.Main\n\n// com.atproto.label\n\nexport type Label = com.atproto.label.defs.Label\nexport const isSelfLabelsType = com.atproto.label.defs.selfLabels.$isTypeOf\n\n// com.atproto.label\n\nexport type StrongRef = com.atproto.repo.strongRef.Main\nexport const validateStrongRef = com.atproto.repo.strongRef.$safeValidate\n\n// com.germnetwork.declaration\n\nexport type GermDeclarationRecord = com.germnetwork.declaration.Main\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/bsky",
3
- "version": "0.0.226",
3
+ "version": "0.0.227",
4
4
  "license": "MIT",
5
5
  "description": "Reference implementation of app.bsky App View (Bluesky API)",
6
6
  "keywords": [
@@ -52,7 +52,7 @@
52
52
  "zod": "3.23.8",
53
53
  "@atproto-labs/fetch-node": "^0.2.0",
54
54
  "@atproto-labs/xrpc-utils": "^0.0.24",
55
- "@atproto/api": "^0.19.8",
55
+ "@atproto/api": "^0.19.10",
56
56
  "@atproto/common": "^0.5.16",
57
57
  "@atproto/crypto": "^0.4.5",
58
58
  "@atproto/did": "^0.3.0",
@@ -77,7 +77,7 @@
77
77
  "jest": "^28.1.2",
78
78
  "ts-node": "^10.8.2",
79
79
  "typescript": "^5.6.3",
80
- "@atproto/pds": "^0.4.219"
80
+ "@atproto/pds": "^0.4.220"
81
81
  },
82
82
  "scripts": {
83
83
  "codegen": "lex build --override --indexFile --lexicons ../../lexicons",
package/proto/bsky.proto CHANGED
@@ -498,6 +498,7 @@ message ActorInfo {
498
498
  optional AgeAssuranceStatus age_assurance_status = 19;
499
499
  reserved 20; // DO NOT REMOVE - see dataplane repo
500
500
  Record germ_record = 21;
501
+ string allow_group_chat_invites_from = 22;
501
502
  }
502
503
 
503
504
  message AgeAssuranceStatus {
@@ -173,6 +173,10 @@ export default (db: Database): Partial<ServiceImpl<typeof Service>> => ({
173
173
  typeof chatDeclaration?.['allowIncoming'] === 'string'
174
174
  ? chatDeclaration['allowIncoming']
175
175
  : undefined,
176
+ allowGroupChatInvitesFrom:
177
+ typeof chatDeclaration?.['allowGroupInvites'] === 'string'
178
+ ? chatDeclaration['allowGroupInvites']
179
+ : undefined,
176
180
  upstreamStatus: row?.upstreamStatus ?? '',
177
181
  createdAt: profiles.records[i].createdAt, // @NOTE profile creation date not trusted in production
178
182
  priorityNotifications: row?.priorityNotifs ?? false,
@@ -45,6 +45,7 @@ export type Actor = {
45
45
  takedownRef?: string
46
46
  isLabeler: boolean
47
47
  allowIncomingChatsFrom?: string
48
+ allowGroupChatInvitesFrom?: string
48
49
  upstreamStatus?: string
49
50
  createdAt?: Date
50
51
  priorityNotifications: boolean
@@ -298,6 +299,7 @@ export class ActorHydrator {
298
299
  takedownRef: safeTakedownRef(actor),
299
300
  isLabeler: actor.labeler ?? false,
300
301
  allowIncomingChatsFrom: actor.allowIncomingChatsFrom || undefined,
302
+ allowGroupChatInvitesFrom: actor.allowGroupChatInvitesFrom || undefined,
301
303
  upstreamStatus: actor.upstreamStatus || undefined,
302
304
  createdAt: parseDate(actor.createdAt),
303
305
  priorityNotifications: actor.priorityNotifications,
@@ -3896,6 +3896,11 @@ export class ActorInfo extends Message<ActorInfo> {
3896
3896
  */
3897
3897
  germRecord?: Record;
3898
3898
 
3899
+ /**
3900
+ * @generated from field: string allow_group_chat_invites_from = 22;
3901
+ */
3902
+ allowGroupChatInvitesFrom = "";
3903
+
3899
3904
  constructor(data?: PartialMessage<ActorInfo>) {
3900
3905
  super();
3901
3906
  proto3.util.initPartial(data, this);
@@ -3924,6 +3929,7 @@ export class ActorInfo extends Message<ActorInfo> {
3924
3929
  { no: 18, name: "allow_activity_subscriptions_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3925
3930
  { no: 19, name: "age_assurance_status", kind: "message", T: AgeAssuranceStatus, opt: true },
3926
3931
  { no: 21, name: "germ_record", kind: "message", T: Record },
3932
+ { no: 22, name: "allow_group_chat_invites_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3927
3933
  ]);
3928
3934
 
3929
3935
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ActorInfo {
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { AddMuteOperationRequest, AddMuteOperationResponse, AddNotifOperationRequest, AddNotifOperationResponse, PingRequest, PingResponse, PutOperationRequest, PutOperationResponse, ScanMuteOperationsRequest, ScanMuteOperationsResponse, ScanNotifOperationsRequest, ScanNotifOperationsResponse, ScanOperationsRequest, ScanOperationsResponse } from "./bsync_pb";
6
+ import { AddMuteOperationRequest, AddMuteOperationResponse, AddNotifOperationRequest, AddNotifOperationResponse, DeleteOperationsByActorAndNamespaceRequest, DeleteOperationsByActorAndNamespaceResponse, PingRequest, PingResponse, PutOperationRequest, PutOperationResponse, ScanMuteOperationsRequest, ScanMuteOperationsResponse, ScanNotifOperationsRequest, ScanNotifOperationsResponse, ScanOperationsRequest, ScanOperationsResponse } from "./bsync_pb";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -68,6 +68,15 @@ export const Service = {
68
68
  O: ScanOperationsResponse,
69
69
  kind: MethodKind.Unary,
70
70
  },
71
+ /**
72
+ * @generated from rpc bsync.Service.DeleteOperationsByActorAndNamespace
73
+ */
74
+ deleteOperationsByActorAndNamespace: {
75
+ name: "DeleteOperationsByActorAndNamespace",
76
+ I: DeleteOperationsByActorAndNamespaceRequest,
77
+ O: DeleteOperationsByActorAndNamespaceResponse,
78
+ kind: MethodKind.Unary,
79
+ },
71
80
  /**
72
81
  * Ping
73
82
  *
@@ -763,6 +763,86 @@ export class ScanOperationsResponse extends Message<ScanOperationsResponse> {
763
763
  }
764
764
  }
765
765
 
766
+ /**
767
+ * @generated from message bsync.DeleteOperationsByActorAndNamespaceRequest
768
+ */
769
+ export class DeleteOperationsByActorAndNamespaceRequest extends Message<DeleteOperationsByActorAndNamespaceRequest> {
770
+ /**
771
+ * @generated from field: string actor_did = 1;
772
+ */
773
+ actorDid = "";
774
+
775
+ /**
776
+ * @generated from field: string namespace = 2;
777
+ */
778
+ namespace = "";
779
+
780
+ constructor(data?: PartialMessage<DeleteOperationsByActorAndNamespaceRequest>) {
781
+ super();
782
+ proto3.util.initPartial(data, this);
783
+ }
784
+
785
+ static readonly runtime: typeof proto3 = proto3;
786
+ static readonly typeName = "bsync.DeleteOperationsByActorAndNamespaceRequest";
787
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
788
+ { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
789
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
790
+ ]);
791
+
792
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOperationsByActorAndNamespaceRequest {
793
+ return new DeleteOperationsByActorAndNamespaceRequest().fromBinary(bytes, options);
794
+ }
795
+
796
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOperationsByActorAndNamespaceRequest {
797
+ return new DeleteOperationsByActorAndNamespaceRequest().fromJson(jsonValue, options);
798
+ }
799
+
800
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOperationsByActorAndNamespaceRequest {
801
+ return new DeleteOperationsByActorAndNamespaceRequest().fromJsonString(jsonString, options);
802
+ }
803
+
804
+ static equals(a: DeleteOperationsByActorAndNamespaceRequest | PlainMessage<DeleteOperationsByActorAndNamespaceRequest> | undefined, b: DeleteOperationsByActorAndNamespaceRequest | PlainMessage<DeleteOperationsByActorAndNamespaceRequest> | undefined): boolean {
805
+ return proto3.util.equals(DeleteOperationsByActorAndNamespaceRequest, a, b);
806
+ }
807
+ }
808
+
809
+ /**
810
+ * @generated from message bsync.DeleteOperationsByActorAndNamespaceResponse
811
+ */
812
+ export class DeleteOperationsByActorAndNamespaceResponse extends Message<DeleteOperationsByActorAndNamespaceResponse> {
813
+ /**
814
+ * @generated from field: int32 deleted_count = 1;
815
+ */
816
+ deletedCount = 0;
817
+
818
+ constructor(data?: PartialMessage<DeleteOperationsByActorAndNamespaceResponse>) {
819
+ super();
820
+ proto3.util.initPartial(data, this);
821
+ }
822
+
823
+ static readonly runtime: typeof proto3 = proto3;
824
+ static readonly typeName = "bsync.DeleteOperationsByActorAndNamespaceResponse";
825
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
826
+ { no: 1, name: "deleted_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
827
+ ]);
828
+
829
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOperationsByActorAndNamespaceResponse {
830
+ return new DeleteOperationsByActorAndNamespaceResponse().fromBinary(bytes, options);
831
+ }
832
+
833
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOperationsByActorAndNamespaceResponse {
834
+ return new DeleteOperationsByActorAndNamespaceResponse().fromJson(jsonValue, options);
835
+ }
836
+
837
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOperationsByActorAndNamespaceResponse {
838
+ return new DeleteOperationsByActorAndNamespaceResponse().fromJsonString(jsonString, options);
839
+ }
840
+
841
+ static equals(a: DeleteOperationsByActorAndNamespaceResponse | PlainMessage<DeleteOperationsByActorAndNamespaceResponse> | undefined, b: DeleteOperationsByActorAndNamespaceResponse | PlainMessage<DeleteOperationsByActorAndNamespaceResponse> | undefined): boolean {
842
+ return proto3.util.equals(DeleteOperationsByActorAndNamespaceResponse, a, b);
843
+ }
844
+ }
845
+
766
846
  /**
767
847
  * Ping
768
848
  *
@@ -72,6 +72,7 @@ import {
72
72
  PostRecord,
73
73
  PostView,
74
74
  ProfileAssociatedActivitySubscription,
75
+ ProfileAssociatedChat,
75
76
  ProfileRecord,
76
77
  ProfileView,
77
78
  ProfileViewBasic,
@@ -290,10 +291,7 @@ export class Views {
290
291
  feedgens: profileAggs?.feeds,
291
292
  starterPacks: profileAggs?.starterPacks,
292
293
  labeler: actor.isLabeler,
293
- // @TODO apply default chat policy?
294
- chat: actor.allowIncomingChatsFrom
295
- ? { allowIncoming: actor.allowIncomingChatsFrom }
296
- : undefined,
294
+ chat: this.profileAssociatedChat(actor),
297
295
  activitySubscription: this.profileAssociatedActivitySubscription(actor),
298
296
  germ: actor.germ?.record.messageMe
299
297
  ? {
@@ -365,10 +363,7 @@ export class Views {
365
363
  // on profile and profile-basic views, but should be on profile-detailed.
366
364
  associated: {
367
365
  labeler: actor.isLabeler ? true : undefined,
368
- // @TODO apply default chat policy?
369
- chat: actor.allowIncomingChatsFrom
370
- ? { allowIncoming: actor.allowIncomingChatsFrom }
371
- : undefined,
366
+ chat: this.profileAssociatedChat(actor),
372
367
  activitySubscription: this.profileAssociatedActivitySubscription(actor),
373
368
  germ: actor.germ?.record.messageMe
374
369
  ? {
@@ -388,6 +383,14 @@ export class Views {
388
383
  }
389
384
  }
390
385
 
386
+ profileAssociatedChat(actor: Actor): ProfileAssociatedChat | undefined {
387
+ if (!actor.allowIncomingChatsFrom) return undefined
388
+ return {
389
+ allowIncoming: actor.allowIncomingChatsFrom,
390
+ allowGroupInvites: actor.allowGroupChatInvitesFrom,
391
+ }
392
+ }
393
+
391
394
  profileAssociatedActivitySubscription(
392
395
  actor: Actor,
393
396
  ): ProfileAssociatedActivitySubscription {
@@ -9,6 +9,7 @@ export type ProfileViewer = app.bsky.actor.defs.ViewerState
9
9
  export type KnownFollowers = app.bsky.actor.defs.KnownFollowers
10
10
  export type ProfileAssociatedActivitySubscription =
11
11
  app.bsky.actor.defs.ProfileAssociatedActivitySubscription
12
+ export type ProfileAssociatedChat = app.bsky.actor.defs.ProfileAssociatedChat
12
13
  export type ProfileView = app.bsky.actor.defs.ProfileView
13
14
  export type ProfileViewBasic = app.bsky.actor.defs.ProfileViewBasic
14
15
  export type ProfileViewDetailed = app.bsky.actor.defs.ProfileViewDetailed
@@ -613,6 +613,70 @@ describe('pds profile views', () => {
613
613
  })
614
614
  })
615
615
 
616
+ describe('chat', () => {
617
+ it('omits chat if no declaration exists', async () => {
618
+ const { data } = await agent.api.app.bsky.actor.getProfile(
619
+ { actor: alice },
620
+ {
621
+ headers: await network.serviceHeaders(
622
+ alice,
623
+ ids.AppBskyActorGetProfile,
624
+ ),
625
+ },
626
+ )
627
+ expect(data.associated?.chat).toBeUndefined()
628
+ })
629
+
630
+ it('returns allowIncoming when only that field is set', async () => {
631
+ const { data } = await agent.api.app.bsky.actor.getProfile(
632
+ { actor: dan },
633
+ {
634
+ headers: await network.serviceHeaders(
635
+ alice,
636
+ ids.AppBskyActorGetProfile,
637
+ ),
638
+ },
639
+ )
640
+ expect(data.associated?.chat).toEqual({
641
+ allowIncoming: 'none',
642
+ })
643
+ })
644
+
645
+ it('returns both allowIncoming and allowGroupInvites when both are set', async () => {
646
+ await sc.agent.com.atproto.repo.putRecord(
647
+ {
648
+ repo: eve,
649
+ collection: ids.ChatBskyActorDeclaration,
650
+ rkey: 'self',
651
+ record: {
652
+ $type: ids.ChatBskyActorDeclaration,
653
+ allowIncoming: 'following',
654
+ allowGroupInvites: 'all',
655
+ },
656
+ },
657
+ {
658
+ headers: sc.getHeaders(eve),
659
+ encoding: 'application/json',
660
+ },
661
+ )
662
+ await network.processAll()
663
+
664
+ const { data } = await agent.api.app.bsky.actor.getProfile(
665
+ { actor: eve },
666
+ {
667
+ headers: await network.serviceHeaders(
668
+ alice,
669
+ ids.AppBskyActorGetProfile,
670
+ ),
671
+ },
672
+ )
673
+ expect(data.associated?.chat).toEqual({
674
+ allowIncoming: 'following',
675
+ allowGroupInvites: 'all',
676
+ })
677
+ })
678
+ })
679
+
616
680
  describe('germ', () => {
617
681
  const germDeclaration: ComGermnetworkDeclaration.Main = {
618
682
  $type: ids.ComGermnetworkDeclaration,