@atproto/bsky 0.0.225 → 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 (360) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/api/app/bsky/bookmark/getBookmarks.d.ts.map +1 -1
  3. package/dist/api/app/bsky/bookmark/getBookmarks.js +1 -1
  4. package/dist/api/app/bsky/bookmark/getBookmarks.js.map +1 -1
  5. package/dist/api/app/bsky/contact/getMatches.d.ts.map +1 -1
  6. package/dist/api/app/bsky/contact/getMatches.js +1 -1
  7. package/dist/api/app/bsky/contact/getMatches.js.map +1 -1
  8. package/dist/api/app/bsky/feed/getTimeline.d.ts +2 -4
  9. package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
  10. package/dist/api/app/bsky/feed/getTimeline.js +1 -1
  11. package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
  12. package/dist/api/app/bsky/graph/getBlocks.d.ts.map +1 -1
  13. package/dist/api/app/bsky/graph/getBlocks.js +1 -1
  14. package/dist/api/app/bsky/graph/getBlocks.js.map +1 -1
  15. package/dist/api/app/bsky/graph/getKnownFollowers.d.ts.map +1 -1
  16. package/dist/api/app/bsky/graph/getKnownFollowers.js +1 -1
  17. package/dist/api/app/bsky/graph/getKnownFollowers.js.map +1 -1
  18. package/dist/api/app/bsky/graph/getListBlocks.d.ts.map +1 -1
  19. package/dist/api/app/bsky/graph/getListBlocks.js +1 -1
  20. package/dist/api/app/bsky/graph/getListBlocks.js.map +1 -1
  21. package/dist/api/app/bsky/graph/getListMutes.d.ts.map +1 -1
  22. package/dist/api/app/bsky/graph/getListMutes.js +1 -1
  23. package/dist/api/app/bsky/graph/getListMutes.js.map +1 -1
  24. package/dist/api/app/bsky/graph/getListsWithMembership.js +1 -1
  25. package/dist/api/app/bsky/graph/getListsWithMembership.js.map +1 -1
  26. package/dist/api/app/bsky/graph/getMutes.d.ts.map +1 -1
  27. package/dist/api/app/bsky/graph/getMutes.js +1 -1
  28. package/dist/api/app/bsky/graph/getMutes.js.map +1 -1
  29. package/dist/api/app/bsky/graph/getStarterPacksWithMembership.js +1 -1
  30. package/dist/api/app/bsky/graph/getStarterPacksWithMembership.js.map +1 -1
  31. package/dist/api/app/bsky/notification/listActivitySubscriptions.js +1 -1
  32. package/dist/api/app/bsky/notification/listActivitySubscriptions.js.map +1 -1
  33. package/dist/api/app/bsky/notification/listNotifications.d.ts.map +1 -1
  34. package/dist/api/app/bsky/notification/listNotifications.js +1 -1
  35. package/dist/api/app/bsky/notification/listNotifications.js.map +1 -1
  36. package/dist/data-plane/client/index.d.ts.map +1 -1
  37. package/dist/data-plane/client/index.js +2 -0
  38. package/dist/data-plane/client/index.js.map +1 -1
  39. package/dist/data-plane/client/util.d.ts +2 -1
  40. package/dist/data-plane/client/util.d.ts.map +1 -1
  41. package/dist/data-plane/client/util.js +6 -1
  42. package/dist/data-plane/client/util.js.map +1 -1
  43. package/dist/data-plane/client/util.test.d.ts +2 -0
  44. package/dist/data-plane/client/util.test.d.ts.map +1 -0
  45. package/dist/data-plane/client/util.test.js +33 -0
  46. package/dist/data-plane/client/util.test.js.map +1 -0
  47. package/dist/data-plane/server/routes/profile.d.ts.map +1 -1
  48. package/dist/data-plane/server/routes/profile.js +3 -0
  49. package/dist/data-plane/server/routes/profile.js.map +1 -1
  50. package/dist/hydration/actor.d.ts +1 -0
  51. package/dist/hydration/actor.d.ts.map +1 -1
  52. package/dist/hydration/actor.js +1 -0
  53. package/dist/hydration/actor.js.map +1 -1
  54. package/dist/hydration/hydrator.d.ts +3 -0
  55. package/dist/hydration/hydrator.d.ts.map +1 -1
  56. package/dist/hydration/hydrator.js.map +1 -1
  57. package/dist/lexicons/app/bsky/actor/defs.defs.d.ts +1 -0
  58. package/dist/lexicons/app/bsky/actor/defs.defs.d.ts.map +1 -1
  59. package/dist/lexicons/app/bsky/actor/defs.defs.js +1 -0
  60. package/dist/lexicons/app/bsky/actor/defs.defs.js.map +1 -1
  61. package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts +14 -0
  62. package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts.map +1 -1
  63. package/dist/lexicons/chat/bsky/actor/declaration.defs.js +1 -0
  64. package/dist/lexicons/chat/bsky/actor/declaration.defs.js.map +1 -1
  65. package/dist/lexicons/chat/bsky/actor/defs.defs.d.ts +35 -0
  66. package/dist/lexicons/chat/bsky/actor/defs.defs.d.ts.map +1 -1
  67. package/dist/lexicons/chat/bsky/actor/defs.defs.js +17 -1
  68. package/dist/lexicons/chat/bsky/actor/defs.defs.js.map +1 -1
  69. package/dist/lexicons/chat/bsky/authFullChatClient.defs.js +1 -1
  70. package/dist/lexicons/chat/bsky/authFullChatClient.defs.js.map +1 -1
  71. package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.d.ts +2 -1
  72. package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.d.ts.map +1 -1
  73. package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.js +2 -1
  74. package/dist/lexicons/chat/bsky/convo/acceptConvo.defs.js.map +1 -1
  75. package/dist/lexicons/chat/bsky/convo/addReaction.defs.d.ts +1 -1
  76. package/dist/lexicons/chat/bsky/convo/addReaction.defs.d.ts.map +1 -1
  77. package/dist/lexicons/chat/bsky/convo/addReaction.defs.js +7 -1
  78. package/dist/lexicons/chat/bsky/convo/addReaction.defs.js.map +1 -1
  79. package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts +470 -3
  80. package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts.map +1 -1
  81. package/dist/lexicons/chat/bsky/convo/defs.defs.js +235 -2
  82. package/dist/lexicons/chat/bsky/convo/defs.defs.js.map +1 -1
  83. package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.d.ts +2 -1
  84. package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.d.ts.map +1 -1
  85. package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.js +2 -1
  86. package/dist/lexicons/chat/bsky/convo/deleteMessageForSelf.defs.js.map +1 -1
  87. package/dist/lexicons/chat/bsky/convo/getConvo.defs.d.ts +2 -1
  88. package/dist/lexicons/chat/bsky/convo/getConvo.defs.d.ts.map +1 -1
  89. package/dist/lexicons/chat/bsky/convo/getConvo.defs.js +2 -1
  90. package/dist/lexicons/chat/bsky/convo/getConvo.defs.js.map +1 -1
  91. package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.d.ts +1 -1
  92. package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.d.ts.map +1 -1
  93. package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.js +1 -1
  94. package/dist/lexicons/chat/bsky/convo/getConvoAvailability.defs.js.map +1 -1
  95. package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.d.ts +2 -1
  96. package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.d.ts.map +1 -1
  97. package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.js +8 -1
  98. package/dist/lexicons/chat/bsky/convo/getConvoForMembers.defs.js.map +1 -1
  99. package/dist/lexicons/chat/bsky/convo/getConvoMembers.d.ts +3 -0
  100. package/dist/lexicons/chat/bsky/convo/getConvoMembers.d.ts.map +1 -0
  101. package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.d.ts +26 -0
  102. package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.d.ts.map +1 -0
  103. package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.js +55 -0
  104. package/dist/lexicons/chat/bsky/convo/getConvoMembers.defs.js.map +1 -0
  105. package/dist/lexicons/chat/bsky/convo/getConvoMembers.js +45 -0
  106. package/dist/lexicons/chat/bsky/convo/getConvoMembers.js.map +1 -0
  107. package/dist/lexicons/chat/bsky/convo/getLog.defs.d.ts +2 -2
  108. package/dist/lexicons/chat/bsky/convo/getLog.defs.d.ts.map +1 -1
  109. package/dist/lexicons/chat/bsky/convo/getLog.defs.js +17 -0
  110. package/dist/lexicons/chat/bsky/convo/getLog.defs.js.map +1 -1
  111. package/dist/lexicons/chat/bsky/convo/getMessages.defs.d.ts +4 -3
  112. package/dist/lexicons/chat/bsky/convo/getMessages.defs.d.ts.map +1 -1
  113. package/dist/lexicons/chat/bsky/convo/getMessages.defs.js +3 -1
  114. package/dist/lexicons/chat/bsky/convo/getMessages.defs.js.map +1 -1
  115. package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.d.ts +2 -1
  116. package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.d.ts.map +1 -1
  117. package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.js +2 -1
  118. package/dist/lexicons/chat/bsky/convo/leaveConvo.defs.js.map +1 -1
  119. package/dist/lexicons/chat/bsky/convo/listConvoRequests.d.ts +3 -0
  120. package/dist/lexicons/chat/bsky/convo/listConvoRequests.d.ts.map +1 -0
  121. package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.d.ts +25 -0
  122. package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.d.ts.map +1 -0
  123. package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.js +58 -0
  124. package/dist/lexicons/chat/bsky/convo/listConvoRequests.defs.js.map +1 -0
  125. package/dist/lexicons/chat/bsky/convo/listConvoRequests.js +45 -0
  126. package/dist/lexicons/chat/bsky/convo/listConvoRequests.js.map +1 -0
  127. package/dist/lexicons/chat/bsky/convo/listConvos.defs.d.ts +7 -0
  128. package/dist/lexicons/chat/bsky/convo/listConvos.defs.d.ts.map +1 -1
  129. package/dist/lexicons/chat/bsky/convo/listConvos.defs.js +2 -0
  130. package/dist/lexicons/chat/bsky/convo/listConvos.defs.js.map +1 -1
  131. package/dist/lexicons/chat/bsky/convo/lockConvo.d.ts +3 -0
  132. package/dist/lexicons/chat/bsky/convo/lockConvo.d.ts.map +1 -0
  133. package/dist/lexicons/chat/bsky/convo/lockConvo.defs.d.ts +22 -0
  134. package/dist/lexicons/chat/bsky/convo/lockConvo.defs.d.ts.map +1 -0
  135. package/dist/lexicons/chat/bsky/convo/lockConvo.defs.js +50 -0
  136. package/dist/lexicons/chat/bsky/convo/lockConvo.defs.js.map +1 -0
  137. package/dist/lexicons/chat/bsky/convo/lockConvo.js +45 -0
  138. package/dist/lexicons/chat/bsky/convo/lockConvo.js.map +1 -0
  139. package/dist/lexicons/chat/bsky/convo/muteConvo.defs.d.ts +2 -1
  140. package/dist/lexicons/chat/bsky/convo/muteConvo.defs.d.ts.map +1 -1
  141. package/dist/lexicons/chat/bsky/convo/muteConvo.defs.js +2 -1
  142. package/dist/lexicons/chat/bsky/convo/muteConvo.defs.js.map +1 -1
  143. package/dist/lexicons/chat/bsky/convo/removeReaction.defs.d.ts +1 -1
  144. package/dist/lexicons/chat/bsky/convo/removeReaction.defs.d.ts.map +1 -1
  145. package/dist/lexicons/chat/bsky/convo/removeReaction.defs.js +6 -1
  146. package/dist/lexicons/chat/bsky/convo/removeReaction.defs.js.map +1 -1
  147. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.d.ts +2 -1
  148. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.d.ts.map +1 -1
  149. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.js +2 -1
  150. package/dist/lexicons/chat/bsky/convo/sendMessage.defs.js.map +1 -1
  151. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.d.ts +2 -1
  152. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.d.ts.map +1 -1
  153. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.js +2 -1
  154. package/dist/lexicons/chat/bsky/convo/sendMessageBatch.defs.js.map +1 -1
  155. package/dist/lexicons/chat/bsky/convo/unlockConvo.d.ts +3 -0
  156. package/dist/lexicons/chat/bsky/convo/unlockConvo.d.ts.map +1 -0
  157. package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.d.ts +22 -0
  158. package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.d.ts.map +1 -0
  159. package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.js +50 -0
  160. package/dist/lexicons/chat/bsky/convo/unlockConvo.defs.js.map +1 -0
  161. package/dist/lexicons/chat/bsky/convo/unlockConvo.js +45 -0
  162. package/dist/lexicons/chat/bsky/convo/unlockConvo.js.map +1 -0
  163. package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.d.ts +2 -1
  164. package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.d.ts.map +1 -1
  165. package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.js +2 -1
  166. package/dist/lexicons/chat/bsky/convo/unmuteConvo.defs.js.map +1 -1
  167. package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.d.ts +1 -0
  168. package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.d.ts.map +1 -1
  169. package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.js +1 -0
  170. package/dist/lexicons/chat/bsky/convo/updateAllRead.defs.js.map +1 -1
  171. package/dist/lexicons/chat/bsky/convo/updateRead.defs.d.ts +2 -1
  172. package/dist/lexicons/chat/bsky/convo/updateRead.defs.d.ts.map +1 -1
  173. package/dist/lexicons/chat/bsky/convo/updateRead.defs.js +2 -1
  174. package/dist/lexicons/chat/bsky/convo/updateRead.defs.js.map +1 -1
  175. package/dist/lexicons/chat/bsky/convo.d.ts +4 -0
  176. package/dist/lexicons/chat/bsky/convo.d.ts.map +1 -1
  177. package/dist/lexicons/chat/bsky/convo.js +5 -1
  178. package/dist/lexicons/chat/bsky/convo.js.map +1 -1
  179. package/dist/lexicons/chat/bsky/group/addMembers.d.ts +3 -0
  180. package/dist/lexicons/chat/bsky/group/addMembers.d.ts.map +1 -0
  181. package/dist/lexicons/chat/bsky/group/addMembers.defs.d.ts +31 -0
  182. package/dist/lexicons/chat/bsky/group/addMembers.defs.d.ts.map +1 -0
  183. package/dist/lexicons/chat/bsky/group/addMembers.defs.js +65 -0
  184. package/dist/lexicons/chat/bsky/group/addMembers.defs.js.map +1 -0
  185. package/dist/lexicons/chat/bsky/group/addMembers.js +45 -0
  186. package/dist/lexicons/chat/bsky/group/addMembers.js.map +1 -0
  187. package/dist/lexicons/chat/bsky/group/approveJoinRequest.d.ts +3 -0
  188. package/dist/lexicons/chat/bsky/group/approveJoinRequest.d.ts.map +1 -0
  189. package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.d.ts +28 -0
  190. package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.d.ts.map +1 -0
  191. package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.js +50 -0
  192. package/dist/lexicons/chat/bsky/group/approveJoinRequest.defs.js.map +1 -0
  193. package/dist/lexicons/chat/bsky/group/approveJoinRequest.js +45 -0
  194. package/dist/lexicons/chat/bsky/group/approveJoinRequest.js.map +1 -0
  195. package/dist/lexicons/chat/bsky/group/createGroup.d.ts +3 -0
  196. package/dist/lexicons/chat/bsky/group/createGroup.d.ts.map +1 -0
  197. package/dist/lexicons/chat/bsky/group/createGroup.defs.d.ts +36 -0
  198. package/dist/lexicons/chat/bsky/group/createGroup.defs.d.ts.map +1 -0
  199. package/dist/lexicons/chat/bsky/group/createGroup.defs.js +59 -0
  200. package/dist/lexicons/chat/bsky/group/createGroup.defs.js.map +1 -0
  201. package/dist/lexicons/chat/bsky/group/createGroup.js +45 -0
  202. package/dist/lexicons/chat/bsky/group/createGroup.js.map +1 -0
  203. package/dist/lexicons/chat/bsky/group/createJoinLink.d.ts +3 -0
  204. package/dist/lexicons/chat/bsky/group/createJoinLink.d.ts.map +1 -0
  205. package/dist/lexicons/chat/bsky/group/createJoinLink.defs.d.ts +26 -0
  206. package/dist/lexicons/chat/bsky/group/createJoinLink.defs.d.ts.map +1 -0
  207. package/dist/lexicons/chat/bsky/group/createJoinLink.defs.js +54 -0
  208. package/dist/lexicons/chat/bsky/group/createJoinLink.defs.js.map +1 -0
  209. package/dist/lexicons/chat/bsky/group/createJoinLink.js +45 -0
  210. package/dist/lexicons/chat/bsky/group/createJoinLink.js.map +1 -0
  211. package/dist/lexicons/chat/bsky/group/defs.d.ts +3 -0
  212. package/dist/lexicons/chat/bsky/group/defs.d.ts.map +1 -0
  213. package/dist/lexicons/chat/bsky/group/defs.defs.d.ts +47 -0
  214. package/dist/lexicons/chat/bsky/group/defs.defs.d.ts.map +1 -0
  215. package/dist/lexicons/chat/bsky/group/defs.defs.js +69 -0
  216. package/dist/lexicons/chat/bsky/group/defs.defs.js.map +1 -0
  217. package/dist/lexicons/chat/bsky/group/defs.js +45 -0
  218. package/dist/lexicons/chat/bsky/group/defs.js.map +1 -0
  219. package/dist/lexicons/chat/bsky/group/disableJoinLink.d.ts +3 -0
  220. package/dist/lexicons/chat/bsky/group/disableJoinLink.d.ts.map +1 -0
  221. package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.d.ts +22 -0
  222. package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.d.ts.map +1 -0
  223. package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.js +50 -0
  224. package/dist/lexicons/chat/bsky/group/disableJoinLink.defs.js.map +1 -0
  225. package/dist/lexicons/chat/bsky/group/disableJoinLink.js +45 -0
  226. package/dist/lexicons/chat/bsky/group/disableJoinLink.js.map +1 -0
  227. package/dist/lexicons/chat/bsky/group/editGroup.d.ts +3 -0
  228. package/dist/lexicons/chat/bsky/group/editGroup.d.ts.map +1 -0
  229. package/dist/lexicons/chat/bsky/group/editGroup.defs.d.ts +32 -0
  230. package/dist/lexicons/chat/bsky/group/editGroup.defs.d.ts.map +1 -0
  231. package/dist/lexicons/chat/bsky/group/editGroup.defs.js +53 -0
  232. package/dist/lexicons/chat/bsky/group/editGroup.defs.js.map +1 -0
  233. package/dist/lexicons/chat/bsky/group/editGroup.js +45 -0
  234. package/dist/lexicons/chat/bsky/group/editGroup.js.map +1 -0
  235. package/dist/lexicons/chat/bsky/group/editJoinLink.d.ts +3 -0
  236. package/dist/lexicons/chat/bsky/group/editJoinLink.d.ts.map +1 -0
  237. package/dist/lexicons/chat/bsky/group/editJoinLink.defs.d.ts +26 -0
  238. package/dist/lexicons/chat/bsky/group/editJoinLink.defs.d.ts.map +1 -0
  239. package/dist/lexicons/chat/bsky/group/editJoinLink.defs.js +54 -0
  240. package/dist/lexicons/chat/bsky/group/editJoinLink.defs.js.map +1 -0
  241. package/dist/lexicons/chat/bsky/group/editJoinLink.js +45 -0
  242. package/dist/lexicons/chat/bsky/group/editJoinLink.js.map +1 -0
  243. package/dist/lexicons/chat/bsky/group/enableJoinLink.d.ts +3 -0
  244. package/dist/lexicons/chat/bsky/group/enableJoinLink.d.ts.map +1 -0
  245. package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.d.ts +22 -0
  246. package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.d.ts.map +1 -0
  247. package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.js +50 -0
  248. package/dist/lexicons/chat/bsky/group/enableJoinLink.defs.js.map +1 -0
  249. package/dist/lexicons/chat/bsky/group/enableJoinLink.js +45 -0
  250. package/dist/lexicons/chat/bsky/group/enableJoinLink.js.map +1 -0
  251. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.d.ts +3 -0
  252. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.d.ts.map +1 -0
  253. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.d.ts +20 -0
  254. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.d.ts.map +1 -0
  255. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.js +50 -0
  256. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.js.map +1 -0
  257. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.js +45 -0
  258. package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.js.map +1 -0
  259. package/dist/lexicons/chat/bsky/group/listJoinRequests.d.ts +3 -0
  260. package/dist/lexicons/chat/bsky/group/listJoinRequests.d.ts.map +1 -0
  261. package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.d.ts +26 -0
  262. package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.d.ts.map +1 -0
  263. package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.js +55 -0
  264. package/dist/lexicons/chat/bsky/group/listJoinRequests.defs.js.map +1 -0
  265. package/dist/lexicons/chat/bsky/group/listJoinRequests.js +45 -0
  266. package/dist/lexicons/chat/bsky/group/listJoinRequests.js.map +1 -0
  267. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.d.ts +3 -0
  268. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.d.ts.map +1 -0
  269. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.d.ts +23 -0
  270. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.d.ts.map +1 -0
  271. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.js +14 -0
  272. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.defs.js.map +1 -0
  273. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.js +45 -0
  274. package/dist/lexicons/chat/bsky/group/rejectJoinRequest.js.map +1 -0
  275. package/dist/lexicons/chat/bsky/group/removeMembers.d.ts +3 -0
  276. package/dist/lexicons/chat/bsky/group/removeMembers.d.ts.map +1 -0
  277. package/dist/lexicons/chat/bsky/group/removeMembers.defs.d.ts +28 -0
  278. package/dist/lexicons/chat/bsky/group/removeMembers.defs.d.ts.map +1 -0
  279. package/dist/lexicons/chat/bsky/group/removeMembers.defs.js +53 -0
  280. package/dist/lexicons/chat/bsky/group/removeMembers.defs.js.map +1 -0
  281. package/dist/lexicons/chat/bsky/group/removeMembers.js +45 -0
  282. package/dist/lexicons/chat/bsky/group/removeMembers.js.map +1 -0
  283. package/dist/lexicons/chat/bsky/group/requestJoin.d.ts +3 -0
  284. package/dist/lexicons/chat/bsky/group/requestJoin.d.ts.map +1 -0
  285. package/dist/lexicons/chat/bsky/group/requestJoin.defs.d.ts +28 -0
  286. package/dist/lexicons/chat/bsky/group/requestJoin.defs.d.ts.map +1 -0
  287. package/dist/lexicons/chat/bsky/group/requestJoin.defs.js +58 -0
  288. package/dist/lexicons/chat/bsky/group/requestJoin.defs.js.map +1 -0
  289. package/dist/lexicons/chat/bsky/group/requestJoin.js +45 -0
  290. package/dist/lexicons/chat/bsky/group/requestJoin.js.map +1 -0
  291. package/dist/lexicons/chat/bsky/group.d.ts +15 -0
  292. package/dist/lexicons/chat/bsky/group.d.ts.map +1 -0
  293. package/dist/lexicons/chat/bsky/group.js +54 -0
  294. package/dist/lexicons/chat/bsky/group.js.map +1 -0
  295. package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.d.ts +2 -2
  296. package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.d.ts.map +1 -1
  297. package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.js +1 -0
  298. package/dist/lexicons/chat/bsky/moderation/getMessageContext.defs.js.map +1 -1
  299. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.d.ts +3 -0
  300. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -0
  301. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.d.ts +32 -0
  302. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.d.ts.map +1 -0
  303. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.js +23 -0
  304. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.defs.js.map +1 -0
  305. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.js +45 -0
  306. package/dist/lexicons/chat/bsky/moderation/subscribeModEvents.js.map +1 -0
  307. package/dist/lexicons/chat/bsky/moderation.d.ts +1 -0
  308. package/dist/lexicons/chat/bsky/moderation.d.ts.map +1 -1
  309. package/dist/lexicons/chat/bsky/moderation.js +2 -1
  310. package/dist/lexicons/chat/bsky/moderation.js.map +1 -1
  311. package/dist/lexicons/chat/bsky.d.ts +1 -0
  312. package/dist/lexicons/chat/bsky.d.ts.map +1 -1
  313. package/dist/lexicons/chat/bsky.js +2 -1
  314. package/dist/lexicons/chat/bsky.js.map +1 -1
  315. package/dist/proto/bsky_pb.d.ts +4 -0
  316. package/dist/proto/bsky_pb.d.ts.map +1 -1
  317. package/dist/proto/bsky_pb.js +10 -0
  318. package/dist/proto/bsky_pb.js.map +1 -1
  319. package/dist/proto/bsync_connect.d.ts +10 -1
  320. package/dist/proto/bsync_connect.d.ts.map +1 -1
  321. package/dist/proto/bsync_connect.js +9 -0
  322. package/dist/proto/bsync_connect.js.map +1 -1
  323. package/dist/proto/bsync_pb.d.ts +38 -0
  324. package/dist/proto/bsync_pb.d.ts.map +1 -1
  325. package/dist/proto/bsync_pb.js +113 -1
  326. package/dist/proto/bsync_pb.js.map +1 -1
  327. package/dist/views/index.d.ts +2 -1
  328. package/dist/views/index.d.ts.map +1 -1
  329. package/dist/views/index.js +10 -8
  330. package/dist/views/index.js.map +1 -1
  331. package/dist/views/types.d.ts +1 -0
  332. package/dist/views/types.d.ts.map +1 -1
  333. package/dist/views/types.js.map +1 -1
  334. package/package.json +7 -7
  335. package/proto/bsky.proto +1 -0
  336. package/src/api/app/bsky/bookmark/getBookmarks.ts +3 -6
  337. package/src/api/app/bsky/contact/getMatches.ts +3 -6
  338. package/src/api/app/bsky/feed/getTimeline.ts +3 -6
  339. package/src/api/app/bsky/graph/getBlocks.ts +3 -6
  340. package/src/api/app/bsky/graph/getKnownFollowers.ts +3 -6
  341. package/src/api/app/bsky/graph/getListBlocks.ts +3 -6
  342. package/src/api/app/bsky/graph/getListMutes.ts +3 -6
  343. package/src/api/app/bsky/graph/getListsWithMembership.ts +3 -3
  344. package/src/api/app/bsky/graph/getMutes.ts +3 -6
  345. package/src/api/app/bsky/graph/getStarterPacksWithMembership.ts +3 -3
  346. package/src/api/app/bsky/notification/listActivitySubscriptions.ts +3 -3
  347. package/src/api/app/bsky/notification/listNotifications.ts +3 -6
  348. package/src/data-plane/client/index.ts +2 -0
  349. package/src/data-plane/client/util.test.ts +39 -0
  350. package/src/data-plane/client/util.ts +9 -1
  351. package/src/data-plane/server/routes/profile.ts +4 -0
  352. package/src/hydration/actor.ts +2 -0
  353. package/src/hydration/hydrator.ts +2 -0
  354. package/src/proto/bsky_pb.ts +6 -0
  355. package/src/proto/bsync_connect.ts +10 -1
  356. package/src/proto/bsync_pb.ts +80 -0
  357. package/src/views/index.ts +11 -8
  358. package/src/views/types.ts +1 -0
  359. package/tests/views/profile.test.ts +64 -0
  360. 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;AAC3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AAC,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 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.225",
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,16 +52,16 @@
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.7",
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",
59
59
  "@atproto/identity": "^0.4.12",
60
- "@atproto/lex": "^0.0.24",
60
+ "@atproto/lex": "^0.0.25",
61
61
  "@atproto/repo": "^0.9.1",
62
- "@atproto/sync": "^0.2.1",
63
- "@atproto/syntax": "^0.5.3",
64
- "@atproto/xrpc-server": "^0.10.19"
62
+ "@atproto/sync": "^0.2.2",
63
+ "@atproto/syntax": "^0.5.4",
64
+ "@atproto/xrpc-server": "^0.10.20"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@bufbuild/buf": "^1.28.1",
@@ -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.218"
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 {
@@ -1,7 +1,7 @@
1
1
  import { mapDefined } from '@atproto/common'
2
2
  import { Server } from '@atproto/xrpc-server'
3
3
  import { AppContext } from '../../../../context'
4
- import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
4
+ import { HydrateCtxWithViewer, Hydrator } from '../../../../hydration/hydrator'
5
5
  import { app } from '../../../../lexicons/index.js'
6
6
  import {
7
7
  HydrationFnInput,
@@ -31,10 +31,7 @@ export default function (server: Server, ctx: AppContext) {
31
31
  viewer,
32
32
  })
33
33
 
34
- const result = await getBookmarks(
35
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
36
- ctx,
37
- )
34
+ const result = await getBookmarks({ ...params, hydrateCtx }, ctx)
38
35
 
39
36
  return {
40
37
  encoding: 'application/json',
@@ -87,7 +84,7 @@ type Context = {
87
84
  }
88
85
 
89
86
  type Params = app.bsky.bookmark.getBookmarks.$Params & {
90
- hydrateCtx: HydrateCtx & { viewer: string }
87
+ hydrateCtx: HydrateCtxWithViewer
91
88
  }
92
89
 
93
90
  type SkeletonState = {
@@ -3,7 +3,7 @@ import { DidString } from '@atproto/lex'
3
3
  import { Server } from '@atproto/xrpc-server'
4
4
  import { AppContext } from '../../../../context'
5
5
  import {
6
- HydrateCtx,
6
+ HydrateCtxWithViewer,
7
7
  HydrationState,
8
8
  Hydrator,
9
9
  } from '../../../../hydration/hydrator'
@@ -32,10 +32,7 @@ export default function (server: Server, ctx: AppContext) {
32
32
  viewer,
33
33
  })
34
34
 
35
- const result = await getMatches(
36
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
37
- ctx,
38
- )
35
+ const result = await getMatches({ ...params, hydrateCtx }, ctx)
39
36
 
40
37
  return {
41
38
  encoding: 'application/json',
@@ -104,7 +101,7 @@ type Context = {
104
101
  }
105
102
 
106
103
  type Params = app.bsky.contact.getMatches.$Params & {
107
- hydrateCtx: HydrateCtx & { viewer: string }
104
+ hydrateCtx: HydrateCtxWithViewer
108
105
  }
109
106
 
110
107
  type SkeletonState = {
@@ -5,7 +5,7 @@ import { AppContext } from '../../../../context'
5
5
  import { DataPlaneClient } from '../../../../data-plane'
6
6
  import { FeedItem } from '../../../../hydration/feed'
7
7
  import {
8
- HydrateCtx,
8
+ HydrateCtxWithViewer,
9
9
  HydrationState,
10
10
  Hydrator,
11
11
  } from '../../../../hydration/hydrator'
@@ -34,10 +34,7 @@ export default function (server: Server, ctx: AppContext) {
34
34
  const labelers = ctx.reqLabelers(req)
35
35
  const hydrateCtx = await ctx.hydrator.createContext({ labelers, viewer })
36
36
 
37
- const result = await getTimeline(
38
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
39
- ctx,
40
- )
37
+ const result = await getTimeline({ ...params, hydrateCtx }, ctx)
41
38
 
42
39
  const repoRev = await ctx.hydrator.actor.getRepoRevSafe(viewer)
43
40
 
@@ -121,7 +118,7 @@ type Context = {
121
118
  }
122
119
 
123
120
  type Params = app.bsky.feed.getTimeline.$Params & {
124
- hydrateCtx: HydrateCtx & { viewer: string }
121
+ hydrateCtx: HydrateCtxWithViewer
125
122
  }
126
123
 
127
124
  type Skeleton = {
@@ -2,7 +2,7 @@ import { mapDefined } from '@atproto/common'
2
2
  import { AtUriString, DidString } from '@atproto/syntax'
3
3
  import { Server } from '@atproto/xrpc-server'
4
4
  import { AppContext } from '../../../../context'
5
- import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
5
+ import { HydrateCtxWithViewer, Hydrator } from '../../../../hydration/hydrator'
6
6
  import { app } from '../../../../lexicons/index.js'
7
7
  import {
8
8
  HydrationFnInput,
@@ -22,10 +22,7 @@ export default function (server: Server, ctx: AppContext) {
22
22
  const viewer = auth.credentials.iss
23
23
  const labelers = ctx.reqLabelers(req)
24
24
  const hydrateCtx = await ctx.hydrator.createContext({ labelers, viewer })
25
- const result = await getBlocks(
26
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
27
- ctx,
28
- )
25
+ const result = await getBlocks({ ...params, hydrateCtx }, ctx)
29
26
  return {
30
27
  encoding: 'application/json',
31
28
  body: result,
@@ -85,7 +82,7 @@ type Context = {
85
82
  }
86
83
 
87
84
  type Params = app.bsky.graph.getBlocks.$Params & {
88
- hydrateCtx: HydrateCtx & { viewer: string }
85
+ hydrateCtx: HydrateCtxWithViewer
89
86
  }
90
87
 
91
88
  type SkeletonState = {
@@ -2,7 +2,7 @@ import { mapDefined } from '@atproto/common'
2
2
  import { DidString } from '@atproto/lex'
3
3
  import { InvalidRequestError, Server } from '@atproto/xrpc-server'
4
4
  import { AppContext } from '../../../../context'
5
- import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
5
+ import { HydrateCtxWithViewer, Hydrator } from '../../../../hydration/hydrator'
6
6
  import { app } from '../../../../lexicons/index.js'
7
7
  import {
8
8
  HydrationFnInput,
@@ -31,10 +31,7 @@ export default function (server: Server, ctx: AppContext) {
31
31
  viewer,
32
32
  })
33
33
 
34
- const result = await getKnownFollowers(
35
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
36
- ctx,
37
- )
34
+ const result = await getKnownFollowers({ ...params, hydrateCtx }, ctx)
38
35
 
39
36
  return {
40
37
  encoding: 'application/json',
@@ -113,7 +110,7 @@ type Context = {
113
110
  }
114
111
 
115
112
  type Params = app.bsky.graph.getKnownFollowers.$Params & {
116
- hydrateCtx: HydrateCtx & { viewer: string }
113
+ hydrateCtx: HydrateCtxWithViewer
117
114
  }
118
115
 
119
116
  type SkeletonState = {
@@ -2,7 +2,7 @@ import { mapDefined } from '@atproto/common'
2
2
  import { AtUriString } from '@atproto/lex'
3
3
  import { Server } from '@atproto/xrpc-server'
4
4
  import { AppContext } from '../../../../context'
5
- import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
5
+ import { HydrateCtxWithViewer, Hydrator } from '../../../../hydration/hydrator'
6
6
  import { app } from '../../../../lexicons/index.js'
7
7
  import {
8
8
  HydrationFnInput,
@@ -27,10 +27,7 @@ export default function (server: Server, ctx: AppContext) {
27
27
  const viewer = auth.credentials.iss
28
28
  const labelers = ctx.reqLabelers(req)
29
29
  const hydrateCtx = await ctx.hydrator.createContext({ labelers, viewer })
30
- const result = await getListBlocks(
31
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
32
- ctx,
33
- )
30
+ const result = await getListBlocks({ ...params, hydrateCtx }, ctx)
34
31
  return {
35
32
  encoding: 'application/json',
36
33
  body: result,
@@ -78,7 +75,7 @@ type Context = {
78
75
  }
79
76
 
80
77
  type Params = app.bsky.graph.getListBlocks.$Params & {
81
- hydrateCtx: HydrateCtx & { viewer: string }
78
+ hydrateCtx: HydrateCtxWithViewer
82
79
  }
83
80
 
84
81
  type SkeletonState = {
@@ -2,7 +2,7 @@ import { mapDefined } from '@atproto/common'
2
2
  import { AtUriString } from '@atproto/lex'
3
3
  import { Server } from '@atproto/xrpc-server'
4
4
  import { AppContext } from '../../../../context'
5
- import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
5
+ import { HydrateCtxWithViewer, Hydrator } from '../../../../hydration/hydrator'
6
6
  import { app } from '../../../../lexicons/index.js'
7
7
  import {
8
8
  HydrationFnInput,
@@ -27,10 +27,7 @@ export default function (server: Server, ctx: AppContext) {
27
27
  const viewer = auth.credentials.iss
28
28
  const labelers = ctx.reqLabelers(req)
29
29
  const hydrateCtx = await ctx.hydrator.createContext({ labelers, viewer })
30
- const result = await getListMutes(
31
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
32
- ctx,
33
- )
30
+ const result = await getListMutes({ ...params, hydrateCtx }, ctx)
34
31
  return {
35
32
  encoding: 'application/json',
36
33
  body: result,
@@ -78,7 +75,7 @@ type Context = {
78
75
  }
79
76
 
80
77
  type Params = app.bsky.graph.getListBlocks.$Params & {
81
- hydrateCtx: HydrateCtx & { viewer: string }
78
+ hydrateCtx: HydrateCtxWithViewer
82
79
  }
83
80
 
84
81
  type SkeletonState = {
@@ -2,7 +2,7 @@ import { mapDefined } from '@atproto/common'
2
2
  import { AtUriString, DidString } from '@atproto/lex'
3
3
  import { InvalidRequestError, Server } from '@atproto/xrpc-server'
4
4
  import { AppContext } from '../../../../context'
5
- import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
5
+ import { HydrateCtxWithViewer, Hydrator } from '../../../../hydration/hydrator'
6
6
  import { parseString } from '../../../../hydration/util'
7
7
  import { app } from '../../../../lexicons/index.js'
8
8
  import {
@@ -35,7 +35,7 @@ export default function (server: Server, ctx: AppContext) {
35
35
  viewer,
36
36
  })
37
37
  const result = await getListsWithMembership(
38
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
38
+ { ...params, hydrateCtx },
39
39
  ctx,
40
40
  )
41
41
 
@@ -133,7 +133,7 @@ type Context = {
133
133
  }
134
134
 
135
135
  type Params = app.bsky.graph.getListsWithMembership.$Params & {
136
- hydrateCtx: HydrateCtx & { viewer: string }
136
+ hydrateCtx: HydrateCtxWithViewer
137
137
  }
138
138
 
139
139
  type SkeletonState = {
@@ -2,7 +2,7 @@ import { mapDefined } from '@atproto/common'
2
2
  import { DidString } from '@atproto/lex'
3
3
  import { Server } from '@atproto/xrpc-server'
4
4
  import { AppContext } from '../../../../context'
5
- import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
5
+ import { HydrateCtxWithViewer, Hydrator } from '../../../../hydration/hydrator'
6
6
  import { app } from '../../../../lexicons/index.js'
7
7
  import {
8
8
  HydrationFnInput,
@@ -22,10 +22,7 @@ export default function (server: Server, ctx: AppContext) {
22
22
  const viewer = auth.credentials.iss
23
23
  const labelers = ctx.reqLabelers(req)
24
24
  const hydrateCtx = await ctx.hydrator.createContext({ labelers, viewer })
25
- const result = await getMutes(
26
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
27
- ctx,
28
- )
25
+ const result = await getMutes({ ...params, hydrateCtx }, ctx)
29
26
  return {
30
27
  encoding: 'application/json',
31
28
  body: result,
@@ -78,7 +75,7 @@ type Context = {
78
75
  }
79
76
 
80
77
  type Params = app.bsky.graph.getMutes.$Params & {
81
- hydrateCtx: HydrateCtx & { viewer: string }
78
+ hydrateCtx: HydrateCtxWithViewer
82
79
  }
83
80
 
84
81
  type SkeletonState = {
@@ -3,7 +3,7 @@ import { AtUriString, DidString } from '@atproto/syntax'
3
3
  import { InvalidRequestError, Server } from '@atproto/xrpc-server'
4
4
  import { AppContext } from '../../../../context'
5
5
  import {
6
- HydrateCtx,
6
+ HydrateCtxWithViewer,
7
7
  Hydrator,
8
8
  mergeManyStates,
9
9
  } from '../../../../hydration/hydrator'
@@ -35,7 +35,7 @@ export default function (server: Server, ctx: AppContext) {
35
35
  viewer,
36
36
  })
37
37
  const result = await getStarterPacksWithMembership(
38
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
38
+ { ...params, hydrateCtx },
39
39
  ctx,
40
40
  )
41
41
 
@@ -126,7 +126,7 @@ type Context = {
126
126
  }
127
127
 
128
128
  type Params = app.bsky.graph.getStarterPacksWithMembership.$Params & {
129
- hydrateCtx: HydrateCtx & { viewer: string }
129
+ hydrateCtx: HydrateCtxWithViewer
130
130
  }
131
131
 
132
132
  type SkeletonState = {
@@ -2,7 +2,7 @@ import { mapDefined } from '@atproto/common'
2
2
  import { DidString } from '@atproto/syntax'
3
3
  import { Server } from '@atproto/xrpc-server'
4
4
  import { AppContext } from '../../../../context'
5
- import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
5
+ import { HydrateCtxWithViewer, Hydrator } from '../../../../hydration/hydrator'
6
6
  import { app } from '../../../../lexicons/index.js'
7
7
  import {
8
8
  HydrationFnInput,
@@ -32,7 +32,7 @@ export default function (server: Server, ctx: AppContext) {
32
32
  })
33
33
 
34
34
  const result = await listActivitySubscriptions(
35
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
35
+ { ...params, hydrateCtx },
36
36
  ctx,
37
37
  )
38
38
 
@@ -103,7 +103,7 @@ type Context = {
103
103
  }
104
104
 
105
105
  type Params = app.bsky.notification.listActivitySubscriptions.$Params & {
106
- hydrateCtx: HydrateCtx & { viewer: string }
106
+ hydrateCtx: HydrateCtxWithViewer
107
107
  }
108
108
 
109
109
  type SkeletonState = {
@@ -3,7 +3,7 @@ import { AtUriString, DatetimeString, DidString } from '@atproto/syntax'
3
3
  import { InvalidRequestError, Server } from '@atproto/xrpc-server'
4
4
  import { ServerConfig } from '../../../../config'
5
5
  import { AppContext } from '../../../../context'
6
- import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
6
+ import { HydrateCtxWithViewer, Hydrator } from '../../../../hydration/hydrator'
7
7
  import { app } from '../../../../lexicons/index.js'
8
8
  import {
9
9
  HydrationFnInput,
@@ -31,10 +31,7 @@ export default function (server: Server, ctx: AppContext) {
31
31
  const viewer = auth.credentials.iss
32
32
  const labelers = ctx.reqLabelers(req)
33
33
  const hydrateCtx = await ctx.hydrator.createContext({ labelers, viewer })
34
- const result = await listNotifications(
35
- { ...params, hydrateCtx: hydrateCtx.copy({ viewer }) },
36
- ctx,
37
- )
34
+ const result = await listNotifications({ ...params, hydrateCtx }, ctx)
38
35
  return {
39
36
  encoding: 'application/json',
40
37
  body: result,
@@ -254,7 +251,7 @@ type Context = {
254
251
  }
255
252
 
256
253
  type Params = app.bsky.notification.listNotifications.$Params & {
257
- hydrateCtx: HydrateCtx & { viewer: string }
254
+ hydrateCtx: HydrateCtxWithViewer
258
255
  }
259
256
 
260
257
  type SkeletonState = {
@@ -10,6 +10,7 @@ import {
10
10
  import { createGrpcTransport } from '@connectrpc/connect-node'
11
11
  import { Service } from '../../proto/bsky_connect'
12
12
  import { HostList } from './hosts'
13
+ import { callerInterceptor } from './util'
13
14
 
14
15
  export * from './hosts'
15
16
  export * from './util'
@@ -105,6 +106,7 @@ const createBaseClient = (
105
106
  httpVersion,
106
107
  acceptCompression: [],
107
108
  nodeOptions: { rejectUnauthorized },
109
+ interceptors: [callerInterceptor('appview')],
108
110
  })
109
111
  return createPromiseClient(Service, transport)
110
112
  }
@@ -0,0 +1,39 @@
1
+ /// <reference types="jest" />
2
+ import { callerInterceptor } from './util'
3
+
4
+ describe('callerInterceptor', () => {
5
+ it('sets x-atlantis-caller header on the request', async () => {
6
+ const interceptor = callerInterceptor('appview')
7
+ const expectedResponse = { status: 'ok' }
8
+ const next = jest.fn().mockResolvedValue(expectedResponse)
9
+
10
+ const req = { header: new Headers() }
11
+ const handler = interceptor(next)
12
+ const res = await handler(req as any)
13
+
14
+ expect(req.header.get('x-atlantis-caller')).toBe('appview')
15
+ expect(next).toHaveBeenCalledWith(req)
16
+ expect(res).toBe(expectedResponse)
17
+ })
18
+
19
+ it('uses the provided caller value', async () => {
20
+ const interceptor = callerInterceptor('feed-generator')
21
+ const next = jest.fn().mockResolvedValue({})
22
+
23
+ const req = { header: new Headers() }
24
+ await interceptor(next)(req as any)
25
+
26
+ expect(req.header.get('x-atlantis-caller')).toBe('feed-generator')
27
+ })
28
+
29
+ it('does not overwrite other existing headers', async () => {
30
+ const interceptor = callerInterceptor('appview')
31
+ const next = jest.fn().mockResolvedValue({})
32
+
33
+ const req = { header: new Headers({ 'x-other': 'value' }) }
34
+ await interceptor(next)(req as any)
35
+
36
+ expect(req.header.get('x-atlantis-caller')).toBe('appview')
37
+ expect(req.header.get('x-other')).toBe('value')
38
+ })
39
+ })
@@ -1,7 +1,15 @@
1
- import { Code, ConnectError } from '@connectrpc/connect'
1
+ import { Code, ConnectError, Interceptor } from '@connectrpc/connect'
2
2
  import * as ui8 from 'uint8arrays'
3
3
  import { getDidKeyFromMultibase } from '@atproto/identity'
4
4
 
5
+ export const callerInterceptor =
6
+ (caller: string): Interceptor =>
7
+ (next) =>
8
+ (req) => {
9
+ req.header.set('x-atlantis-caller', caller)
10
+ return next(req)
11
+ }
12
+
5
13
  export const isDataplaneError = (
6
14
  err: unknown,
7
15
  code?: Code,
@@ -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,
@@ -99,6 +99,8 @@ export class HydrateCtx {
99
99
  }
100
100
  }
101
101
 
102
+ export type HydrateCtxWithViewer = HydrateCtx & { viewer: string }
103
+
102
104
  export type HydrateCtxVals = {
103
105
  labelers: ParsedLabelers
104
106
  viewer: DidString | null
@@ -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
  *