@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
@@ -1 +1 @@
1
- {"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/actor/defs.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,mFAAoE;AACpE,iEAAkD;AAClD,2FAA4E;AAC5E,+EAAgE;AAChE,2EAA4D;AAC5D,uEAAwD;AACxD,yEAA0D;AAE1D,MAAM,KAAK,GAAG,qBAAqB,CAAA;AAE1B,sBAAK;AAwBd,MAAM,gBAAgB,GAAG,OAAC,CAAC,WAAW,CACpC,KAAK,EACL,kBAAkB,EAClB,OAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAChC,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACtC,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;IACvE,QAAQ,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAChC,MAAM,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC/C,UAAU,EAAE,OAAC,CAAC,QAAQ,CACpB,OAAC,CAAC,GAAG,CAAoB,CAAC,GAAG,EAAE,CAAC,iBAAiB,CAAQ,CA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AAK,CAAC,OAAC,CAAC,GAAG,CAAkB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAQ,CAAC,CAAC,CAChE;IACD,SAAS,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;IACvD,QAAQ,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IACjC,UAAU,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;CACpC,CAAC,CACH,CAAA;AAEQ,gCAAU","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as LabelDefs from '../../../com/atproto/label/defs.defs.js'\nimport * as GraphDefs from '../graph/defs.defs.js'\nimport * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js'\nimport * as NotificationDefs from '../notification/defs.defs.js'\nimport * as FeedThreadgate from '../feed/threadgate.defs.js'\nimport * as FeedPostgate from '../feed/postgate.defs.js'\nimport * as EmbedExternal from '../embed/external.defs.js'\n\nconst $nsid = 'app.bsky.actor.defs'\n\nexport { $nsid }\n\ntype ProfileViewBasic = {\n $type?: 'app.bsky.actor.defs#profileViewBasic'\n did: l.DidString\n handle: l.HandleString\n displayName?: string\n pronouns?: string\n avatar?: l.UriString\n associated?: ProfileAssociated\n viewer?: ViewerState\n labels?: LabelDefs.Label[]\n createdAt?: l.DatetimeString\n verification?: VerificationState\n status?: StatusView\n\n /**\n * Debug information for internal development\n */\n debug?: l.LexMap\n}\n\nexport type { ProfileViewBasic }\n\nconst profileViewBasic = l.typedObject<ProfileViewBasic>(\n $nsid,\n 'profileViewBasic',\n l.object({\n did: l.string({ format: 'did' }),\n handle: l.string({ format: 'handle' }),\n displayName: l.optional(l.string({ maxGraphemes: 64, maxLength: 640 })),\n pronouns: l.optional(l.string()),\n avatar: l.optional(l.string({ format: 'uri' })),\n associated: l.optional(\n l.ref<ProfileAssociated>((() => profileAssociated) as any),\n ),\n viewer: l.optional(l.ref<ViewerState>((() => viewerState) as any)),\n labels: l.optional(\n l.array(l.ref<LabelDefs.Label>((() => LabelDefs.label) as any)),\n ),\n createdAt: l.optional(l.string({ format: 'datetime' })),\n verification: l.optional(\n l.ref<VerificationState>((() => verificationState) as any),\n ),\n status: l.optional(l.ref<StatusView>((() => statusView) as any)),\n debug: l.optional(l.lexMap()),\n }),\n)\n\nexport { profileViewBasic }\n\ntype ProfileView = {\n $type?: 'app.bsky.actor.defs#profileView'\n did: l.DidString\n handle: l.HandleString\n displayName?: string\n pronouns?: string\n description?: string\n avatar?: l.UriString\n associated?: ProfileAssociated\n indexedAt?: l.DatetimeString\n createdAt?: l.DatetimeString\n viewer?: ViewerState\n labels?: LabelDefs.Label[]\n verification?: VerificationState\n status?: StatusView\n\n /**\n * Debug information for internal development\n */\n debug?: l.LexMap\n}\n\nexport type { ProfileView }\n\nconst profileView = l.typedObject<ProfileView>(\n $nsid,\n 'profileView',\n l.object({\n did: l.string({ format: 'did' }),\n handle: l.string({ format: 'handle' }),\n displayName: l.optional(l.string({ maxGraphemes: 64, maxLength: 640 })),\n pronouns: l.optional(l.string()),\n description: l.optional(l.string({ maxGraphemes: 256, maxLength: 2560 })),\n avatar: l.optional(l.string({ format: 'uri' })),\n associated: l.optional(\n l.ref<ProfileAssociated>((() => profileAssociated) as any),\n ),\n indexedAt: l.optional(l.string({ format: 'datetime' })),\n createdAt: l.optional(l.string({ format: 'datetime' })),\n viewer: l.optional(l.ref<ViewerState>((() => viewerState) as any)),\n labels: l.optional(\n l.array(l.ref<LabelDefs.Label>((() => LabelDefs.label) as any)),\n ),\n verification: l.optional(\n l.ref<VerificationState>((() => verificationState) as any),\n ),\n status: l.optional(l.ref<StatusView>((() => statusView) as any)),\n debug: l.optional(l.lexMap()),\n }),\n)\n\nexport { profileView }\n\ntype ProfileViewDetailed = {\n $type?: 'app.bsky.actor.defs#profileViewDetailed'\n did: l.DidString\n handle: l.HandleString\n displayName?: string\n description?: string\n pronouns?: string\n website?: l.UriString\n avatar?: l.UriString\n banner?: l.UriString\n followersCount?: number\n followsCount?: number\n postsCount?: number\n associated?: ProfileAssociated\n joinedViaStarterPack?: GraphDefs.StarterPackViewBasic\n indexedAt?: l.DatetimeString\n createdAt?: l.DatetimeString\n viewer?: ViewerState\n labels?: LabelDefs.Label[]\n pinnedPost?: RepoStrongRef.Main\n verification?: VerificationState\n status?: StatusView\n\n /**\n * Debug information for internal development\n */\n debug?: l.LexMap\n}\n\nexport type { ProfileViewDetailed }\n\nconst profileViewDetailed = l.typedObject<ProfileViewDetailed>(\n $nsid,\n 'profileViewDetailed',\n l.object({\n did: l.string({ format: 'did' }),\n handle: l.string({ format: 'handle' }),\n displayName: l.optional(l.string({ maxGraphemes: 64, maxLength: 640 })),\n description: l.optional(l.string({ maxGraphemes: 256, maxLength: 2560 })),\n pronouns: l.optional(l.string()),\n website: l.optional(l.string({ format: 'uri' })),\n avatar: l.optional(l.string({ format: 'uri' })),\n banner: l.optional(l.string({ format: 'uri' })),\n followersCount: l.optional(l.integer()),\n followsCount: l.optional(l.integer()),\n postsCount: l.optional(l.integer()),\n associated: l.optional(\n l.ref<ProfileAssociated>((() => profileAssociated) as any),\n ),\n joinedViaStarterPack: l.optional(\n l.ref<GraphDefs.StarterPackViewBasic>(\n (() => GraphDefs.starterPackViewBasic) as any,\n ),\n ),\n indexedAt: l.optional(l.string({ format: 'datetime' })),\n createdAt: l.optional(l.string({ format: 'datetime' })),\n viewer: l.optional(l.ref<ViewerState>((() => viewerState) as any)),\n labels: l.optional(\n l.array(l.ref<LabelDefs.Label>((() => LabelDefs.label) as any)),\n ),\n pinnedPost: l.optional(\n l.ref<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ),\n verification: l.optional(\n l.ref<VerificationState>((() => verificationState) as any),\n ),\n status: l.optional(l.ref<StatusView>((() => statusView) as any)),\n debug: l.optional(l.lexMap()),\n }),\n)\n\nexport { profileViewDetailed }\n\ntype ProfileAssociated = {\n $type?: 'app.bsky.actor.defs#profileAssociated'\n lists?: number\n feedgens?: number\n starterPacks?: number\n labeler?: boolean\n chat?: ProfileAssociatedChat\n activitySubscription?: ProfileAssociatedActivitySubscription\n germ?: ProfileAssociatedGerm\n}\n\nexport type { ProfileAssociated }\n\nconst profileAssociated = l.typedObject<ProfileAssociated>(\n $nsid,\n 'profileAssociated',\n l.object({\n lists: l.optional(l.integer()),\n feedgens: l.optional(l.integer()),\n starterPacks: l.optional(l.integer()),\n labeler: l.optional(l.boolean()),\n chat: l.optional(\n l.ref<ProfileAssociatedChat>((() => profileAssociatedChat) as any),\n ),\n activitySubscription: l.optional(\n l.ref<ProfileAssociatedActivitySubscription>(\n (() => profileAssociatedActivitySubscription) as any,\n ),\n ),\n germ: l.optional(\n l.ref<ProfileAssociatedGerm>((() => profileAssociatedGerm) as any),\n ),\n }),\n)\n\nexport { profileAssociated }\n\ntype ProfileAssociatedChat = {\n $type?: 'app.bsky.actor.defs#profileAssociatedChat'\n allowIncoming: 'all' | 'none' | 'following' | l.UnknownString\n}\n\nexport type { ProfileAssociatedChat }\n\nconst profileAssociatedChat = l.typedObject<ProfileAssociatedChat>(\n $nsid,\n 'profileAssociatedChat',\n l.object({\n allowIncoming: l.string<{ knownValues: ['all', 'none', 'following'] }>(),\n }),\n)\n\nexport { profileAssociatedChat }\n\ntype ProfileAssociatedGerm = {\n $type?: 'app.bsky.actor.defs#profileAssociatedGerm'\n messageMeUrl: l.UriString\n showButtonTo: 'usersIFollow' | 'everyone' | l.UnknownString\n}\n\nexport type { ProfileAssociatedGerm }\n\nconst profileAssociatedGerm = l.typedObject<ProfileAssociatedGerm>(\n $nsid,\n 'profileAssociatedGerm',\n l.object({\n messageMeUrl: l.string({ format: 'uri' }),\n showButtonTo: l.string<{ knownValues: ['usersIFollow', 'everyone'] }>(),\n }),\n)\n\nexport { profileAssociatedGerm }\n\ntype ProfileAssociatedActivitySubscription = {\n $type?: 'app.bsky.actor.defs#profileAssociatedActivitySubscription'\n allowSubscriptions: 'followers' | 'mutuals' | 'none' | l.UnknownString\n}\n\nexport type { ProfileAssociatedActivitySubscription }\n\nconst profileAssociatedActivitySubscription =\n l.typedObject<ProfileAssociatedActivitySubscription>(\n $nsid,\n 'profileAssociatedActivitySubscription',\n l.object({\n allowSubscriptions: l.string<{\n knownValues: ['followers', 'mutuals', 'none']\n }>(),\n }),\n )\n\nexport { profileAssociatedActivitySubscription }\n\n/** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */\ntype ViewerState = {\n $type?: 'app.bsky.actor.defs#viewerState'\n muted?: boolean\n mutedByList?: GraphDefs.ListViewBasic\n blockedBy?: boolean\n blocking?: l.AtUriString\n blockingByList?: GraphDefs.ListViewBasic\n following?: l.AtUriString\n followedBy?: l.AtUriString\n\n /**\n * This property is present only in selected cases, as an optimization.\n */\n knownFollowers?: KnownFollowers\n\n /**\n * This property is present only in selected cases, as an optimization.\n */\n activitySubscription?: NotificationDefs.ActivitySubscription\n}\n\nexport type { ViewerState }\n\n/** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */\nconst viewerState = l.typedObject<ViewerState>(\n $nsid,\n 'viewerState',\n l.object({\n muted: l.optional(l.boolean()),\n mutedByList: l.optional(\n l.ref<GraphDefs.ListViewBasic>((() => GraphDefs.listViewBasic) as any),\n ),\n blockedBy: l.optional(l.boolean()),\n blocking: l.optional(l.string({ format: 'at-uri' })),\n blockingByList: l.optional(\n l.ref<GraphDefs.ListViewBasic>((() => GraphDefs.listViewBasic) as any),\n ),\n following: l.optional(l.string({ format: 'at-uri' })),\n followedBy: l.optional(l.string({ format: 'at-uri' })),\n knownFollowers: l.optional(\n l.ref<KnownFollowers>((() => knownFollowers) as any),\n ),\n activitySubscription: l.optional(\n l.ref<NotificationDefs.ActivitySubscription>(\n (() => NotificationDefs.activitySubscription) as any,\n ),\n ),\n }),\n)\n\nexport { viewerState }\n\n/** The subject's followers whom you also follow */\ntype KnownFollowers = {\n $type?: 'app.bsky.actor.defs#knownFollowers'\n count: number\n followers: ProfileViewBasic[]\n}\n\nexport type { KnownFollowers }\n\n/** The subject's followers whom you also follow */\nconst knownFollowers = l.typedObject<KnownFollowers>(\n $nsid,\n 'knownFollowers',\n l.object({\n count: l.integer(),\n followers: l.array(\n l.ref<ProfileViewBasic>((() => profileViewBasic) as any),\n { minLength: 0, maxLength: 5 },\n ),\n }),\n)\n\nexport { knownFollowers }\n\n/** Represents the verification information about the user this object is attached to. */\ntype VerificationState = {\n $type?: 'app.bsky.actor.defs#verificationState'\n\n /**\n * All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included.\n */\n verifications: VerificationView[]\n\n /**\n * The user's status as a verified account.\n */\n verifiedStatus: 'valid' | 'invalid' | 'none' | l.UnknownString\n\n /**\n * The user's status as a trusted verifier.\n */\n trustedVerifierStatus: 'valid' | 'invalid' | 'none' | l.UnknownString\n}\n\nexport type { VerificationState }\n\n/** Represents the verification information about the user this object is attached to. */\nconst verificationState = l.typedObject<VerificationState>(\n $nsid,\n 'verificationState',\n l.object({\n verifications: l.array(\n l.ref<VerificationView>((() => verificationView) as any),\n ),\n verifiedStatus: l.string<{ knownValues: ['valid', 'invalid', 'none'] }>(),\n trustedVerifierStatus: l.string<{\n knownValues: ['valid', 'invalid', 'none']\n }>(),\n }),\n)\n\nexport { verificationState }\n\n/** An individual verification for an associated subject. */\ntype VerificationView = {\n $type?: 'app.bsky.actor.defs#verificationView'\n\n /**\n * The user who issued this verification.\n */\n issuer: l.DidString\n\n /**\n * The AT-URI of the verification record.\n */\n uri: l.AtUriString\n\n /**\n * True if the verification passes validation, otherwise false.\n */\n isValid: boolean\n\n /**\n * Timestamp when the verification was created.\n */\n createdAt: l.DatetimeString\n}\n\nexport type { VerificationView }\n\n/** An individual verification for an associated subject. */\nconst verificationView = l.typedObject<VerificationView>(\n $nsid,\n 'verificationView',\n l.object({\n issuer: l.string({ format: 'did' }),\n uri: l.string({ format: 'at-uri' }),\n isValid: l.boolean(),\n createdAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { verificationView }\n\ntype Preferences = (\n | l.$Typed<AdultContentPref>\n | l.$Typed<ContentLabelPref>\n | l.$Typed<SavedFeedsPref>\n | l.$Typed<SavedFeedsPrefV2>\n | l.$Typed<PersonalDetailsPref>\n | l.$Typed<DeclaredAgePref>\n | l.$Typed<FeedViewPref>\n | l.$Typed<ThreadViewPref>\n | l.$Typed<InterestsPref>\n | l.$Typed<MutedWordsPref>\n | l.$Typed<HiddenPostsPref>\n | l.$Typed<BskyAppStatePref>\n | l.$Typed<LabelersPref>\n | l.$Typed<PostInteractionSettingsPref>\n | l.$Typed<VerificationPrefs>\n | l.$Typed<LiveEventPreferences>\n | l.Unknown$TypedObject\n)[]\n\nexport type { Preferences }\n\nconst preferences = l.array<Preferences[number]>(\n l.typedUnion(\n [\n l.typedRef<AdultContentPref>((() => adultContentPref) as any),\n l.typedRef<ContentLabelPref>((() => contentLabelPref) as any),\n l.typedRef<SavedFeedsPref>((() => savedFeedsPref) as any),\n l.typedRef<SavedFeedsPrefV2>((() => savedFeedsPrefV2) as any),\n l.typedRef<PersonalDetailsPref>((() => personalDetailsPref) as any),\n l.typedRef<DeclaredAgePref>((() => declaredAgePref) as any),\n l.typedRef<FeedViewPref>((() => feedViewPref) as any),\n l.typedRef<ThreadViewPref>((() => threadViewPref) as any),\n l.typedRef<InterestsPref>((() => interestsPref) as any),\n l.typedRef<MutedWordsPref>((() => mutedWordsPref) as any),\n l.typedRef<HiddenPostsPref>((() => hiddenPostsPref) as any),\n l.typedRef<BskyAppStatePref>((() => bskyAppStatePref) as any),\n l.typedRef<LabelersPref>((() => labelersPref) as any),\n l.typedRef<PostInteractionSettingsPref>(\n (() => postInteractionSettingsPref) as any,\n ),\n l.typedRef<VerificationPrefs>((() => verificationPrefs) as any),\n l.typedRef<LiveEventPreferences>((() => liveEventPreferences) as any),\n ],\n false,\n ),\n)\n\nexport { preferences }\n\ntype AdultContentPref = {\n $type?: 'app.bsky.actor.defs#adultContentPref'\n enabled: boolean\n}\n\nexport type { AdultContentPref }\n\nconst adultContentPref = l.typedObject<AdultContentPref>(\n $nsid,\n 'adultContentPref',\n l.object({ enabled: l.withDefault(l.boolean(), false) }),\n)\n\nexport { adultContentPref }\n\ntype ContentLabelPref = {\n $type?: 'app.bsky.actor.defs#contentLabelPref'\n\n /**\n * Which labeler does this preference apply to? If undefined, applies globally.\n */\n labelerDid?: l.DidString\n label: string\n visibility: 'ignore' | 'show' | 'warn' | 'hide' | l.UnknownString\n}\n\nexport type { ContentLabelPref }\n\nconst contentLabelPref = l.typedObject<ContentLabelPref>(\n $nsid,\n 'contentLabelPref',\n l.object({\n labelerDid: l.optional(l.string({ format: 'did' })),\n label: l.string(),\n visibility: l.string<{ knownValues: ['ignore', 'show', 'warn', 'hide'] }>(),\n }),\n)\n\nexport { contentLabelPref }\n\ntype SavedFeed = {\n $type?: 'app.bsky.actor.defs#savedFeed'\n id: string\n type: 'feed' | 'list' | 'timeline' | l.UnknownString\n value: string\n pinned: boolean\n}\n\nexport type { SavedFeed }\n\nconst savedFeed = l.typedObject<SavedFeed>(\n $nsid,\n 'savedFeed',\n l.object({\n id: l.string(),\n type: l.string<{ knownValues: ['feed', 'list', 'timeline'] }>(),\n value: l.string(),\n pinned: l.boolean(),\n }),\n)\n\nexport { savedFeed }\n\ntype SavedFeedsPrefV2 = {\n $type?: 'app.bsky.actor.defs#savedFeedsPrefV2'\n items: SavedFeed[]\n}\n\nexport type { SavedFeedsPrefV2 }\n\nconst savedFeedsPrefV2 = l.typedObject<SavedFeedsPrefV2>(\n $nsid,\n 'savedFeedsPrefV2',\n l.object({ items: l.array(l.ref<SavedFeed>((() => savedFeed) as any)) }),\n)\n\nexport { savedFeedsPrefV2 }\n\ntype SavedFeedsPref = {\n $type?: 'app.bsky.actor.defs#savedFeedsPref'\n pinned: l.AtUriString[]\n saved: l.AtUriString[]\n timelineIndex?: number\n}\n\nexport type { SavedFeedsPref }\n\nconst savedFeedsPref = l.typedObject<SavedFeedsPref>(\n $nsid,\n 'savedFeedsPref',\n l.object({\n pinned: l.array(l.string({ format: 'at-uri' })),\n saved: l.array(l.string({ format: 'at-uri' })),\n timelineIndex: l.optional(l.integer()),\n }),\n)\n\nexport { savedFeedsPref }\n\ntype PersonalDetailsPref = {\n $type?: 'app.bsky.actor.defs#personalDetailsPref'\n\n /**\n * The birth date of account owner.\n */\n birthDate?: l.DatetimeString\n}\n\nexport type { PersonalDetailsPref }\n\nconst personalDetailsPref = l.typedObject<PersonalDetailsPref>(\n $nsid,\n 'personalDetailsPref',\n l.object({ birthDate: l.optional(l.string({ format: 'datetime' })) }),\n)\n\nexport { personalDetailsPref }\n\n/** Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration. */\ntype DeclaredAgePref = {\n $type?: 'app.bsky.actor.defs#declaredAgePref'\n\n /**\n * Indicates if the user has declared that they are over 13 years of age.\n */\n isOverAge13?: boolean\n\n /**\n * Indicates if the user has declared that they are over 16 years of age.\n */\n isOverAge16?: boolean\n\n /**\n * Indicates if the user has declared that they are over 18 years of age.\n */\n isOverAge18?: boolean\n}\n\nexport type { DeclaredAgePref }\n\n/** Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration. */\nconst declaredAgePref = l.typedObject<DeclaredAgePref>(\n $nsid,\n 'declaredAgePref',\n l.object({\n isOverAge13: l.optional(l.boolean()),\n isOverAge16: l.optional(l.boolean()),\n isOverAge18: l.optional(l.boolean()),\n }),\n)\n\nexport { declaredAgePref }\n\ntype FeedViewPref = {\n $type?: 'app.bsky.actor.defs#feedViewPref'\n\n /**\n * The URI of the feed, or an identifier which describes the feed.\n */\n feed: string\n\n /**\n * Hide replies in the feed.\n */\n hideReplies?: boolean\n\n /**\n * Hide replies in the feed if they are not by followed users.\n */\n hideRepliesByUnfollowed?: boolean\n\n /**\n * Hide replies in the feed if they do not have this number of likes.\n */\n hideRepliesByLikeCount?: number\n\n /**\n * Hide reposts in the feed.\n */\n hideReposts?: boolean\n\n /**\n * Hide quote posts in the feed.\n */\n hideQuotePosts?: boolean\n}\n\nexport type { FeedViewPref }\n\nconst feedViewPref = l.typedObject<FeedViewPref>(\n $nsid,\n 'feedViewPref',\n l.object({\n feed: l.string(),\n hideReplies: l.optional(l.boolean()),\n hideRepliesByUnfollowed: l.optional(l.withDefault(l.boolean(), true)),\n hideRepliesByLikeCount: l.optional(l.integer()),\n hideReposts: l.optional(l.boolean()),\n hideQuotePosts: l.optional(l.boolean()),\n }),\n)\n\nexport { feedViewPref }\n\ntype ThreadViewPref = {\n $type?: 'app.bsky.actor.defs#threadViewPref'\n\n /**\n * Sorting mode for threads.\n */\n sort?:\n | 'oldest'\n | 'newest'\n | 'most-likes'\n | 'random'\n | 'hotness'\n | l.UnknownString\n}\n\nexport type { ThreadViewPref }\n\nconst threadViewPref = l.typedObject<ThreadViewPref>(\n $nsid,\n 'threadViewPref',\n l.object({\n sort: l.optional(\n l.string<{\n knownValues: ['oldest', 'newest', 'most-likes', 'random', 'hotness']\n }>(),\n ),\n }),\n)\n\nexport { threadViewPref }\n\ntype InterestsPref = {\n $type?: 'app.bsky.actor.defs#interestsPref'\n\n /**\n * A list of tags which describe the account owner's interests gathered during onboarding.\n */\n tags: string[]\n}\n\nexport type { InterestsPref }\n\nconst interestsPref = l.typedObject<InterestsPref>(\n $nsid,\n 'interestsPref',\n l.object({\n tags: l.array(l.string({ maxLength: 640, maxGraphemes: 64 }), {\n maxLength: 100,\n }),\n }),\n)\n\nexport { interestsPref }\n\ntype MutedWordTarget = 'content' | 'tag' | l.UnknownString\n\nexport type { MutedWordTarget }\n\nconst mutedWordTarget = l.string<{\n knownValues: ['content', 'tag']\n maxLength: 640\n maxGraphemes: 64\n}>({ maxLength: 640, maxGraphemes: 64 })\n\nexport { mutedWordTarget }\n\n/** A word that the account owner has muted. */\ntype MutedWord = {\n $type?: 'app.bsky.actor.defs#mutedWord'\n id?: string\n\n /**\n * The muted word itself.\n */\n value: string\n\n /**\n * The intended targets of the muted word.\n */\n targets: MutedWordTarget[]\n\n /**\n * Groups of users to apply the muted word to. If undefined, applies to all users.\n */\n actorTarget?: 'all' | 'exclude-following' | l.UnknownString\n\n /**\n * The date and time at which the muted word will expire and no longer be applied.\n */\n expiresAt?: l.DatetimeString\n}\n\nexport type { MutedWord }\n\n/** A word that the account owner has muted. */\nconst mutedWord = l.typedObject<MutedWord>(\n $nsid,\n 'mutedWord',\n l.object({\n id: l.optional(l.string()),\n value: l.string({ maxLength: 10000, maxGraphemes: 1000 }),\n targets: l.array(l.ref<MutedWordTarget>((() => mutedWordTarget) as any)),\n actorTarget: l.optional(\n l.withDefault(\n l.string<{ knownValues: ['all', 'exclude-following'] }>(),\n 'all',\n ),\n ),\n expiresAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { mutedWord }\n\ntype MutedWordsPref = {\n $type?: 'app.bsky.actor.defs#mutedWordsPref'\n\n /**\n * A list of words the account owner has muted.\n */\n items: MutedWord[]\n}\n\nexport type { MutedWordsPref }\n\nconst mutedWordsPref = l.typedObject<MutedWordsPref>(\n $nsid,\n 'mutedWordsPref',\n l.object({ items: l.array(l.ref<MutedWord>((() => mutedWord) as any)) }),\n)\n\nexport { mutedWordsPref }\n\ntype HiddenPostsPref = {\n $type?: 'app.bsky.actor.defs#hiddenPostsPref'\n\n /**\n * A list of URIs of posts the account owner has hidden.\n */\n items: l.AtUriString[]\n}\n\nexport type { HiddenPostsPref }\n\nconst hiddenPostsPref = l.typedObject<HiddenPostsPref>(\n $nsid,\n 'hiddenPostsPref',\n l.object({ items: l.array(l.string({ format: 'at-uri' })) }),\n)\n\nexport { hiddenPostsPref }\n\ntype LabelersPref = {\n $type?: 'app.bsky.actor.defs#labelersPref'\n labelers: LabelerPrefItem[]\n}\n\nexport type { LabelersPref }\n\nconst labelersPref = l.typedObject<LabelersPref>(\n $nsid,\n 'labelersPref',\n l.object({\n labelers: l.array(l.ref<LabelerPrefItem>((() => labelerPrefItem) as any)),\n }),\n)\n\nexport { labelersPref }\n\ntype LabelerPrefItem = {\n $type?: 'app.bsky.actor.defs#labelerPrefItem'\n did: l.DidString\n}\n\nexport type { LabelerPrefItem }\n\nconst labelerPrefItem = l.typedObject<LabelerPrefItem>(\n $nsid,\n 'labelerPrefItem',\n l.object({ did: l.string({ format: 'did' }) }),\n)\n\nexport { labelerPrefItem }\n\n/** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */\ntype BskyAppStatePref = {\n $type?: 'app.bsky.actor.defs#bskyAppStatePref'\n activeProgressGuide?: BskyAppProgressGuide\n\n /**\n * An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user.\n */\n queuedNudges?: string[]\n\n /**\n * Storage for NUXs the user has encountered.\n */\n nuxs?: Nux[]\n}\n\nexport type { BskyAppStatePref }\n\n/** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */\nconst bskyAppStatePref = l.typedObject<BskyAppStatePref>(\n $nsid,\n 'bskyAppStatePref',\n l.object({\n activeProgressGuide: l.optional(\n l.ref<BskyAppProgressGuide>((() => bskyAppProgressGuide) as any),\n ),\n queuedNudges: l.optional(\n l.array(l.string({ maxLength: 100 }), { maxLength: 1000 }),\n ),\n nuxs: l.optional(\n l.array(l.ref<Nux>((() => nux) as any), { maxLength: 100 }),\n ),\n }),\n)\n\nexport { bskyAppStatePref }\n\n/** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */\ntype BskyAppProgressGuide = {\n $type?: 'app.bsky.actor.defs#bskyAppProgressGuide'\n guide: string\n}\n\nexport type { BskyAppProgressGuide }\n\n/** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */\nconst bskyAppProgressGuide = l.typedObject<BskyAppProgressGuide>(\n $nsid,\n 'bskyAppProgressGuide',\n l.object({ guide: l.string({ maxLength: 100 }) }),\n)\n\nexport { bskyAppProgressGuide }\n\n/** A new user experiences (NUX) storage object */\ntype Nux = {\n $type?: 'app.bsky.actor.defs#nux'\n id: string\n completed: boolean\n\n /**\n * Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters.\n */\n data?: string\n\n /**\n * The date and time at which the NUX will expire and should be considered completed.\n */\n expiresAt?: l.DatetimeString\n}\n\nexport type { Nux }\n\n/** A new user experiences (NUX) storage object */\nconst nux = l.typedObject<Nux>(\n $nsid,\n 'nux',\n l.object({\n id: l.string({ maxLength: 100 }),\n completed: l.withDefault(l.boolean(), false),\n data: l.optional(l.string({ maxLength: 3000, maxGraphemes: 300 })),\n expiresAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { nux }\n\n/** Preferences for how verified accounts appear in the app. */\ntype VerificationPrefs = {\n $type?: 'app.bsky.actor.defs#verificationPrefs'\n\n /**\n * Hide the blue check badges for verified accounts and trusted verifiers.\n */\n hideBadges?: boolean\n}\n\nexport type { VerificationPrefs }\n\n/** Preferences for how verified accounts appear in the app. */\nconst verificationPrefs = l.typedObject<VerificationPrefs>(\n $nsid,\n 'verificationPrefs',\n l.object({ hideBadges: l.optional(l.withDefault(l.boolean(), false)) }),\n)\n\nexport { verificationPrefs }\n\n/** Preferences for live events. */\ntype LiveEventPreferences = {\n $type?: 'app.bsky.actor.defs#liveEventPreferences'\n\n /**\n * A list of feed IDs that the user has hidden from live events.\n */\n hiddenFeedIds?: string[]\n\n /**\n * Whether to hide all feeds from live events.\n */\n hideAllFeeds?: boolean\n}\n\nexport type { LiveEventPreferences }\n\n/** Preferences for live events. */\nconst liveEventPreferences = l.typedObject<LiveEventPreferences>(\n $nsid,\n 'liveEventPreferences',\n l.object({\n hiddenFeedIds: l.optional(l.array(l.string())),\n hideAllFeeds: l.optional(l.withDefault(l.boolean(), false)),\n }),\n)\n\nexport { liveEventPreferences }\n\n/** Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly. */\ntype PostInteractionSettingsPref = {\n $type?: 'app.bsky.actor.defs#postInteractionSettingsPref'\n\n /**\n * Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply.\n */\n threadgateAllowRules?: (\n | l.$Typed<FeedThreadgate.MentionRule>\n | l.$Typed<FeedThreadgate.FollowerRule>\n | l.$Typed<FeedThreadgate.FollowingRule>\n | l.$Typed<FeedThreadgate.ListRule>\n | l.Unknown$TypedObject\n )[]\n\n /**\n * Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed.\n */\n postgateEmbeddingRules?: (\n | l.$Typed<FeedPostgate.DisableRule>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { PostInteractionSettingsPref }\n\n/** Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly. */\nconst postInteractionSettingsPref = l.typedObject<PostInteractionSettingsPref>(\n $nsid,\n 'postInteractionSettingsPref',\n l.object({\n threadgateAllowRules: l.optional(\n l.array(\n l.typedUnion(\n [\n l.typedRef<FeedThreadgate.MentionRule>(\n (() => FeedThreadgate.mentionRule) as any,\n ),\n l.typedRef<FeedThreadgate.FollowerRule>(\n (() => FeedThreadgate.followerRule) as any,\n ),\n l.typedRef<FeedThreadgate.FollowingRule>(\n (() => FeedThreadgate.followingRule) as any,\n ),\n l.typedRef<FeedThreadgate.ListRule>(\n (() => FeedThreadgate.listRule) as any,\n ),\n ],\n false,\n ),\n { maxLength: 5 },\n ),\n ),\n postgateEmbeddingRules: l.optional(\n l.array(\n l.typedUnion(\n [\n l.typedRef<FeedPostgate.DisableRule>(\n (() => FeedPostgate.disableRule) as any,\n ),\n ],\n false,\n ),\n { maxLength: 5 },\n ),\n ),\n }),\n)\n\nexport { postInteractionSettingsPref }\n\ntype StatusView = {\n $type?: 'app.bsky.actor.defs#statusView'\n uri?: l.AtUriString\n cid?: l.CidString\n\n /**\n * The status for the account.\n */\n status: 'app.bsky.actor.status#live' | l.UnknownString\n record: l.LexMap\n\n /**\n * An optional embed associated with the status.\n */\n embed?: l.$Typed<EmbedExternal.View> | l.Unknown$TypedObject\n labels?: LabelDefs.Label[]\n\n /**\n * The date when this status will expire. The application might choose to no longer return the status after expiration.\n */\n expiresAt?: l.DatetimeString\n\n /**\n * True if the status is not expired, false if it is expired. Only present if expiration was set.\n */\n isActive?: boolean\n\n /**\n * True if the user's go-live access has been disabled by a moderator, false otherwise.\n */\n isDisabled?: boolean\n}\n\nexport type { StatusView }\n\nconst statusView = l.typedObject<StatusView>(\n $nsid,\n 'statusView',\n l.object({\n uri: l.optional(l.string({ format: 'at-uri' })),\n cid: l.optional(l.string({ format: 'cid' })),\n status: l.string<{ knownValues: ['app.bsky.actor.status#live'] }>(),\n record: l.lexMap(),\n embed: l.optional(\n l.typedUnion(\n [l.typedRef<EmbedExternal.View>((() => EmbedExternal.view) as any)],\n false,\n ),\n ),\n labels: l.optional(\n l.array(l.ref<LabelDefs.Label>((() => LabelDefs.label) as any)),\n ),\n expiresAt: l.optional(l.string({ format: 'datetime' })),\n isActive: l.optional(l.boolean()),\n isDisabled: l.optional(l.boolean()),\n }),\n)\n\nexport { statusView }\n"]}
1
+ {"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/actor/defs.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,mFAAoE;AACpE,iEAAkD;AAClD,2FAA4E;AAC5E,+EAAgE;AAChE,2EAA4D;AAC5D,uEAAwD;AACxD,yEAA0D;AAE1D,MAAM,KAAK,GAAG,qBAAqB,CAAA;AAE1B,sBAAK;AAwBd,MAAM,gBAAgB,GAAG,OAAC,CAAC,WAAW,CACpC,KAAK,EACL,kBAAkB,EAClB,OAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,OAAC,CAAC,MAA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AAM,UAAU,GAAG,OAAC,CAAC,WAAW,CAC9B,KAAK,EACL,YAAY,EACZ,OAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/C,GAAG,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC5C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAmD;IACnE,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,OAAC,CAAC,QAAQ,CACf,OAAC,CAAC,UAAU,CACV,CAAC,OAAC,CAAC,QAAQ,CAAqB,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAQ,CAAC,CAAC,EACnE,KAAK,CACN,CACF;IACD,MAAM,EAAE,OAAC,CAAC,QAAQ,CAChB,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,CAAkB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAQ,CAAC,CAAC,CAChE;IACD,SAAS,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;IACvD,QAAQ,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IACjC,UAAU,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;CACpC,CAAC,CACH,CAAA;AAEQ,gCAAU","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as LabelDefs from '../../../com/atproto/label/defs.defs.js'\nimport * as GraphDefs from '../graph/defs.defs.js'\nimport * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js'\nimport * as NotificationDefs from '../notification/defs.defs.js'\nimport * as FeedThreadgate from '../feed/threadgate.defs.js'\nimport * as FeedPostgate from '../feed/postgate.defs.js'\nimport * as EmbedExternal from '../embed/external.defs.js'\n\nconst $nsid = 'app.bsky.actor.defs'\n\nexport { $nsid }\n\ntype ProfileViewBasic = {\n $type?: 'app.bsky.actor.defs#profileViewBasic'\n did: l.DidString\n handle: l.HandleString\n displayName?: string\n pronouns?: string\n avatar?: l.UriString\n associated?: ProfileAssociated\n viewer?: ViewerState\n labels?: LabelDefs.Label[]\n createdAt?: l.DatetimeString\n verification?: VerificationState\n status?: StatusView\n\n /**\n * Debug information for internal development\n */\n debug?: l.LexMap\n}\n\nexport type { ProfileViewBasic }\n\nconst profileViewBasic = l.typedObject<ProfileViewBasic>(\n $nsid,\n 'profileViewBasic',\n l.object({\n did: l.string({ format: 'did' }),\n handle: l.string({ format: 'handle' }),\n displayName: l.optional(l.string({ maxGraphemes: 64, maxLength: 640 })),\n pronouns: l.optional(l.string()),\n avatar: l.optional(l.string({ format: 'uri' })),\n associated: l.optional(\n l.ref<ProfileAssociated>((() => profileAssociated) as any),\n ),\n viewer: l.optional(l.ref<ViewerState>((() => viewerState) as any)),\n labels: l.optional(\n l.array(l.ref<LabelDefs.Label>((() => LabelDefs.label) as any)),\n ),\n createdAt: l.optional(l.string({ format: 'datetime' })),\n verification: l.optional(\n l.ref<VerificationState>((() => verificationState) as any),\n ),\n status: l.optional(l.ref<StatusView>((() => statusView) as any)),\n debug: l.optional(l.lexMap()),\n }),\n)\n\nexport { profileViewBasic }\n\ntype ProfileView = {\n $type?: 'app.bsky.actor.defs#profileView'\n did: l.DidString\n handle: l.HandleString\n displayName?: string\n pronouns?: string\n description?: string\n avatar?: l.UriString\n associated?: ProfileAssociated\n indexedAt?: l.DatetimeString\n createdAt?: l.DatetimeString\n viewer?: ViewerState\n labels?: LabelDefs.Label[]\n verification?: VerificationState\n status?: StatusView\n\n /**\n * Debug information for internal development\n */\n debug?: l.LexMap\n}\n\nexport type { ProfileView }\n\nconst profileView = l.typedObject<ProfileView>(\n $nsid,\n 'profileView',\n l.object({\n did: l.string({ format: 'did' }),\n handle: l.string({ format: 'handle' }),\n displayName: l.optional(l.string({ maxGraphemes: 64, maxLength: 640 })),\n pronouns: l.optional(l.string()),\n description: l.optional(l.string({ maxGraphemes: 256, maxLength: 2560 })),\n avatar: l.optional(l.string({ format: 'uri' })),\n associated: l.optional(\n l.ref<ProfileAssociated>((() => profileAssociated) as any),\n ),\n indexedAt: l.optional(l.string({ format: 'datetime' })),\n createdAt: l.optional(l.string({ format: 'datetime' })),\n viewer: l.optional(l.ref<ViewerState>((() => viewerState) as any)),\n labels: l.optional(\n l.array(l.ref<LabelDefs.Label>((() => LabelDefs.label) as any)),\n ),\n verification: l.optional(\n l.ref<VerificationState>((() => verificationState) as any),\n ),\n status: l.optional(l.ref<StatusView>((() => statusView) as any)),\n debug: l.optional(l.lexMap()),\n }),\n)\n\nexport { profileView }\n\ntype ProfileViewDetailed = {\n $type?: 'app.bsky.actor.defs#profileViewDetailed'\n did: l.DidString\n handle: l.HandleString\n displayName?: string\n description?: string\n pronouns?: string\n website?: l.UriString\n avatar?: l.UriString\n banner?: l.UriString\n followersCount?: number\n followsCount?: number\n postsCount?: number\n associated?: ProfileAssociated\n joinedViaStarterPack?: GraphDefs.StarterPackViewBasic\n indexedAt?: l.DatetimeString\n createdAt?: l.DatetimeString\n viewer?: ViewerState\n labels?: LabelDefs.Label[]\n pinnedPost?: RepoStrongRef.Main\n verification?: VerificationState\n status?: StatusView\n\n /**\n * Debug information for internal development\n */\n debug?: l.LexMap\n}\n\nexport type { ProfileViewDetailed }\n\nconst profileViewDetailed = l.typedObject<ProfileViewDetailed>(\n $nsid,\n 'profileViewDetailed',\n l.object({\n did: l.string({ format: 'did' }),\n handle: l.string({ format: 'handle' }),\n displayName: l.optional(l.string({ maxGraphemes: 64, maxLength: 640 })),\n description: l.optional(l.string({ maxGraphemes: 256, maxLength: 2560 })),\n pronouns: l.optional(l.string()),\n website: l.optional(l.string({ format: 'uri' })),\n avatar: l.optional(l.string({ format: 'uri' })),\n banner: l.optional(l.string({ format: 'uri' })),\n followersCount: l.optional(l.integer()),\n followsCount: l.optional(l.integer()),\n postsCount: l.optional(l.integer()),\n associated: l.optional(\n l.ref<ProfileAssociated>((() => profileAssociated) as any),\n ),\n joinedViaStarterPack: l.optional(\n l.ref<GraphDefs.StarterPackViewBasic>(\n (() => GraphDefs.starterPackViewBasic) as any,\n ),\n ),\n indexedAt: l.optional(l.string({ format: 'datetime' })),\n createdAt: l.optional(l.string({ format: 'datetime' })),\n viewer: l.optional(l.ref<ViewerState>((() => viewerState) as any)),\n labels: l.optional(\n l.array(l.ref<LabelDefs.Label>((() => LabelDefs.label) as any)),\n ),\n pinnedPost: l.optional(\n l.ref<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ),\n verification: l.optional(\n l.ref<VerificationState>((() => verificationState) as any),\n ),\n status: l.optional(l.ref<StatusView>((() => statusView) as any)),\n debug: l.optional(l.lexMap()),\n }),\n)\n\nexport { profileViewDetailed }\n\ntype ProfileAssociated = {\n $type?: 'app.bsky.actor.defs#profileAssociated'\n lists?: number\n feedgens?: number\n starterPacks?: number\n labeler?: boolean\n chat?: ProfileAssociatedChat\n activitySubscription?: ProfileAssociatedActivitySubscription\n germ?: ProfileAssociatedGerm\n}\n\nexport type { ProfileAssociated }\n\nconst profileAssociated = l.typedObject<ProfileAssociated>(\n $nsid,\n 'profileAssociated',\n l.object({\n lists: l.optional(l.integer()),\n feedgens: l.optional(l.integer()),\n starterPacks: l.optional(l.integer()),\n labeler: l.optional(l.boolean()),\n chat: l.optional(\n l.ref<ProfileAssociatedChat>((() => profileAssociatedChat) as any),\n ),\n activitySubscription: l.optional(\n l.ref<ProfileAssociatedActivitySubscription>(\n (() => profileAssociatedActivitySubscription) as any,\n ),\n ),\n germ: l.optional(\n l.ref<ProfileAssociatedGerm>((() => profileAssociatedGerm) as any),\n ),\n }),\n)\n\nexport { profileAssociated }\n\ntype ProfileAssociatedChat = {\n $type?: 'app.bsky.actor.defs#profileAssociatedChat'\n allowIncoming: 'all' | 'none' | 'following' | l.UnknownString\n allowGroupInvites?: 'all' | 'none' | 'following' | l.UnknownString\n}\n\nexport type { ProfileAssociatedChat }\n\nconst profileAssociatedChat = l.typedObject<ProfileAssociatedChat>(\n $nsid,\n 'profileAssociatedChat',\n l.object({\n allowIncoming: l.string<{ knownValues: ['all', 'none', 'following'] }>(),\n allowGroupInvites: l.optional(\n l.string<{ knownValues: ['all', 'none', 'following'] }>(),\n ),\n }),\n)\n\nexport { profileAssociatedChat }\n\ntype ProfileAssociatedGerm = {\n $type?: 'app.bsky.actor.defs#profileAssociatedGerm'\n messageMeUrl: l.UriString\n showButtonTo: 'usersIFollow' | 'everyone' | l.UnknownString\n}\n\nexport type { ProfileAssociatedGerm }\n\nconst profileAssociatedGerm = l.typedObject<ProfileAssociatedGerm>(\n $nsid,\n 'profileAssociatedGerm',\n l.object({\n messageMeUrl: l.string({ format: 'uri' }),\n showButtonTo: l.string<{ knownValues: ['usersIFollow', 'everyone'] }>(),\n }),\n)\n\nexport { profileAssociatedGerm }\n\ntype ProfileAssociatedActivitySubscription = {\n $type?: 'app.bsky.actor.defs#profileAssociatedActivitySubscription'\n allowSubscriptions: 'followers' | 'mutuals' | 'none' | l.UnknownString\n}\n\nexport type { ProfileAssociatedActivitySubscription }\n\nconst profileAssociatedActivitySubscription =\n l.typedObject<ProfileAssociatedActivitySubscription>(\n $nsid,\n 'profileAssociatedActivitySubscription',\n l.object({\n allowSubscriptions: l.string<{\n knownValues: ['followers', 'mutuals', 'none']\n }>(),\n }),\n )\n\nexport { profileAssociatedActivitySubscription }\n\n/** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */\ntype ViewerState = {\n $type?: 'app.bsky.actor.defs#viewerState'\n muted?: boolean\n mutedByList?: GraphDefs.ListViewBasic\n blockedBy?: boolean\n blocking?: l.AtUriString\n blockingByList?: GraphDefs.ListViewBasic\n following?: l.AtUriString\n followedBy?: l.AtUriString\n\n /**\n * This property is present only in selected cases, as an optimization.\n */\n knownFollowers?: KnownFollowers\n\n /**\n * This property is present only in selected cases, as an optimization.\n */\n activitySubscription?: NotificationDefs.ActivitySubscription\n}\n\nexport type { ViewerState }\n\n/** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */\nconst viewerState = l.typedObject<ViewerState>(\n $nsid,\n 'viewerState',\n l.object({\n muted: l.optional(l.boolean()),\n mutedByList: l.optional(\n l.ref<GraphDefs.ListViewBasic>((() => GraphDefs.listViewBasic) as any),\n ),\n blockedBy: l.optional(l.boolean()),\n blocking: l.optional(l.string({ format: 'at-uri' })),\n blockingByList: l.optional(\n l.ref<GraphDefs.ListViewBasic>((() => GraphDefs.listViewBasic) as any),\n ),\n following: l.optional(l.string({ format: 'at-uri' })),\n followedBy: l.optional(l.string({ format: 'at-uri' })),\n knownFollowers: l.optional(\n l.ref<KnownFollowers>((() => knownFollowers) as any),\n ),\n activitySubscription: l.optional(\n l.ref<NotificationDefs.ActivitySubscription>(\n (() => NotificationDefs.activitySubscription) as any,\n ),\n ),\n }),\n)\n\nexport { viewerState }\n\n/** The subject's followers whom you also follow */\ntype KnownFollowers = {\n $type?: 'app.bsky.actor.defs#knownFollowers'\n count: number\n followers: ProfileViewBasic[]\n}\n\nexport type { KnownFollowers }\n\n/** The subject's followers whom you also follow */\nconst knownFollowers = l.typedObject<KnownFollowers>(\n $nsid,\n 'knownFollowers',\n l.object({\n count: l.integer(),\n followers: l.array(\n l.ref<ProfileViewBasic>((() => profileViewBasic) as any),\n { minLength: 0, maxLength: 5 },\n ),\n }),\n)\n\nexport { knownFollowers }\n\n/** Represents the verification information about the user this object is attached to. */\ntype VerificationState = {\n $type?: 'app.bsky.actor.defs#verificationState'\n\n /**\n * All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included.\n */\n verifications: VerificationView[]\n\n /**\n * The user's status as a verified account.\n */\n verifiedStatus: 'valid' | 'invalid' | 'none' | l.UnknownString\n\n /**\n * The user's status as a trusted verifier.\n */\n trustedVerifierStatus: 'valid' | 'invalid' | 'none' | l.UnknownString\n}\n\nexport type { VerificationState }\n\n/** Represents the verification information about the user this object is attached to. */\nconst verificationState = l.typedObject<VerificationState>(\n $nsid,\n 'verificationState',\n l.object({\n verifications: l.array(\n l.ref<VerificationView>((() => verificationView) as any),\n ),\n verifiedStatus: l.string<{ knownValues: ['valid', 'invalid', 'none'] }>(),\n trustedVerifierStatus: l.string<{\n knownValues: ['valid', 'invalid', 'none']\n }>(),\n }),\n)\n\nexport { verificationState }\n\n/** An individual verification for an associated subject. */\ntype VerificationView = {\n $type?: 'app.bsky.actor.defs#verificationView'\n\n /**\n * The user who issued this verification.\n */\n issuer: l.DidString\n\n /**\n * The AT-URI of the verification record.\n */\n uri: l.AtUriString\n\n /**\n * True if the verification passes validation, otherwise false.\n */\n isValid: boolean\n\n /**\n * Timestamp when the verification was created.\n */\n createdAt: l.DatetimeString\n}\n\nexport type { VerificationView }\n\n/** An individual verification for an associated subject. */\nconst verificationView = l.typedObject<VerificationView>(\n $nsid,\n 'verificationView',\n l.object({\n issuer: l.string({ format: 'did' }),\n uri: l.string({ format: 'at-uri' }),\n isValid: l.boolean(),\n createdAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { verificationView }\n\ntype Preferences = (\n | l.$Typed<AdultContentPref>\n | l.$Typed<ContentLabelPref>\n | l.$Typed<SavedFeedsPref>\n | l.$Typed<SavedFeedsPrefV2>\n | l.$Typed<PersonalDetailsPref>\n | l.$Typed<DeclaredAgePref>\n | l.$Typed<FeedViewPref>\n | l.$Typed<ThreadViewPref>\n | l.$Typed<InterestsPref>\n | l.$Typed<MutedWordsPref>\n | l.$Typed<HiddenPostsPref>\n | l.$Typed<BskyAppStatePref>\n | l.$Typed<LabelersPref>\n | l.$Typed<PostInteractionSettingsPref>\n | l.$Typed<VerificationPrefs>\n | l.$Typed<LiveEventPreferences>\n | l.Unknown$TypedObject\n)[]\n\nexport type { Preferences }\n\nconst preferences = l.array<Preferences[number]>(\n l.typedUnion(\n [\n l.typedRef<AdultContentPref>((() => adultContentPref) as any),\n l.typedRef<ContentLabelPref>((() => contentLabelPref) as any),\n l.typedRef<SavedFeedsPref>((() => savedFeedsPref) as any),\n l.typedRef<SavedFeedsPrefV2>((() => savedFeedsPrefV2) as any),\n l.typedRef<PersonalDetailsPref>((() => personalDetailsPref) as any),\n l.typedRef<DeclaredAgePref>((() => declaredAgePref) as any),\n l.typedRef<FeedViewPref>((() => feedViewPref) as any),\n l.typedRef<ThreadViewPref>((() => threadViewPref) as any),\n l.typedRef<InterestsPref>((() => interestsPref) as any),\n l.typedRef<MutedWordsPref>((() => mutedWordsPref) as any),\n l.typedRef<HiddenPostsPref>((() => hiddenPostsPref) as any),\n l.typedRef<BskyAppStatePref>((() => bskyAppStatePref) as any),\n l.typedRef<LabelersPref>((() => labelersPref) as any),\n l.typedRef<PostInteractionSettingsPref>(\n (() => postInteractionSettingsPref) as any,\n ),\n l.typedRef<VerificationPrefs>((() => verificationPrefs) as any),\n l.typedRef<LiveEventPreferences>((() => liveEventPreferences) as any),\n ],\n false,\n ),\n)\n\nexport { preferences }\n\ntype AdultContentPref = {\n $type?: 'app.bsky.actor.defs#adultContentPref'\n enabled: boolean\n}\n\nexport type { AdultContentPref }\n\nconst adultContentPref = l.typedObject<AdultContentPref>(\n $nsid,\n 'adultContentPref',\n l.object({ enabled: l.withDefault(l.boolean(), false) }),\n)\n\nexport { adultContentPref }\n\ntype ContentLabelPref = {\n $type?: 'app.bsky.actor.defs#contentLabelPref'\n\n /**\n * Which labeler does this preference apply to? If undefined, applies globally.\n */\n labelerDid?: l.DidString\n label: string\n visibility: 'ignore' | 'show' | 'warn' | 'hide' | l.UnknownString\n}\n\nexport type { ContentLabelPref }\n\nconst contentLabelPref = l.typedObject<ContentLabelPref>(\n $nsid,\n 'contentLabelPref',\n l.object({\n labelerDid: l.optional(l.string({ format: 'did' })),\n label: l.string(),\n visibility: l.string<{ knownValues: ['ignore', 'show', 'warn', 'hide'] }>(),\n }),\n)\n\nexport { contentLabelPref }\n\ntype SavedFeed = {\n $type?: 'app.bsky.actor.defs#savedFeed'\n id: string\n type: 'feed' | 'list' | 'timeline' | l.UnknownString\n value: string\n pinned: boolean\n}\n\nexport type { SavedFeed }\n\nconst savedFeed = l.typedObject<SavedFeed>(\n $nsid,\n 'savedFeed',\n l.object({\n id: l.string(),\n type: l.string<{ knownValues: ['feed', 'list', 'timeline'] }>(),\n value: l.string(),\n pinned: l.boolean(),\n }),\n)\n\nexport { savedFeed }\n\ntype SavedFeedsPrefV2 = {\n $type?: 'app.bsky.actor.defs#savedFeedsPrefV2'\n items: SavedFeed[]\n}\n\nexport type { SavedFeedsPrefV2 }\n\nconst savedFeedsPrefV2 = l.typedObject<SavedFeedsPrefV2>(\n $nsid,\n 'savedFeedsPrefV2',\n l.object({ items: l.array(l.ref<SavedFeed>((() => savedFeed) as any)) }),\n)\n\nexport { savedFeedsPrefV2 }\n\ntype SavedFeedsPref = {\n $type?: 'app.bsky.actor.defs#savedFeedsPref'\n pinned: l.AtUriString[]\n saved: l.AtUriString[]\n timelineIndex?: number\n}\n\nexport type { SavedFeedsPref }\n\nconst savedFeedsPref = l.typedObject<SavedFeedsPref>(\n $nsid,\n 'savedFeedsPref',\n l.object({\n pinned: l.array(l.string({ format: 'at-uri' })),\n saved: l.array(l.string({ format: 'at-uri' })),\n timelineIndex: l.optional(l.integer()),\n }),\n)\n\nexport { savedFeedsPref }\n\ntype PersonalDetailsPref = {\n $type?: 'app.bsky.actor.defs#personalDetailsPref'\n\n /**\n * The birth date of account owner.\n */\n birthDate?: l.DatetimeString\n}\n\nexport type { PersonalDetailsPref }\n\nconst personalDetailsPref = l.typedObject<PersonalDetailsPref>(\n $nsid,\n 'personalDetailsPref',\n l.object({ birthDate: l.optional(l.string({ format: 'datetime' })) }),\n)\n\nexport { personalDetailsPref }\n\n/** Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration. */\ntype DeclaredAgePref = {\n $type?: 'app.bsky.actor.defs#declaredAgePref'\n\n /**\n * Indicates if the user has declared that they are over 13 years of age.\n */\n isOverAge13?: boolean\n\n /**\n * Indicates if the user has declared that they are over 16 years of age.\n */\n isOverAge16?: boolean\n\n /**\n * Indicates if the user has declared that they are over 18 years of age.\n */\n isOverAge18?: boolean\n}\n\nexport type { DeclaredAgePref }\n\n/** Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration. */\nconst declaredAgePref = l.typedObject<DeclaredAgePref>(\n $nsid,\n 'declaredAgePref',\n l.object({\n isOverAge13: l.optional(l.boolean()),\n isOverAge16: l.optional(l.boolean()),\n isOverAge18: l.optional(l.boolean()),\n }),\n)\n\nexport { declaredAgePref }\n\ntype FeedViewPref = {\n $type?: 'app.bsky.actor.defs#feedViewPref'\n\n /**\n * The URI of the feed, or an identifier which describes the feed.\n */\n feed: string\n\n /**\n * Hide replies in the feed.\n */\n hideReplies?: boolean\n\n /**\n * Hide replies in the feed if they are not by followed users.\n */\n hideRepliesByUnfollowed?: boolean\n\n /**\n * Hide replies in the feed if they do not have this number of likes.\n */\n hideRepliesByLikeCount?: number\n\n /**\n * Hide reposts in the feed.\n */\n hideReposts?: boolean\n\n /**\n * Hide quote posts in the feed.\n */\n hideQuotePosts?: boolean\n}\n\nexport type { FeedViewPref }\n\nconst feedViewPref = l.typedObject<FeedViewPref>(\n $nsid,\n 'feedViewPref',\n l.object({\n feed: l.string(),\n hideReplies: l.optional(l.boolean()),\n hideRepliesByUnfollowed: l.optional(l.withDefault(l.boolean(), true)),\n hideRepliesByLikeCount: l.optional(l.integer()),\n hideReposts: l.optional(l.boolean()),\n hideQuotePosts: l.optional(l.boolean()),\n }),\n)\n\nexport { feedViewPref }\n\ntype ThreadViewPref = {\n $type?: 'app.bsky.actor.defs#threadViewPref'\n\n /**\n * Sorting mode for threads.\n */\n sort?:\n | 'oldest'\n | 'newest'\n | 'most-likes'\n | 'random'\n | 'hotness'\n | l.UnknownString\n}\n\nexport type { ThreadViewPref }\n\nconst threadViewPref = l.typedObject<ThreadViewPref>(\n $nsid,\n 'threadViewPref',\n l.object({\n sort: l.optional(\n l.string<{\n knownValues: ['oldest', 'newest', 'most-likes', 'random', 'hotness']\n }>(),\n ),\n }),\n)\n\nexport { threadViewPref }\n\ntype InterestsPref = {\n $type?: 'app.bsky.actor.defs#interestsPref'\n\n /**\n * A list of tags which describe the account owner's interests gathered during onboarding.\n */\n tags: string[]\n}\n\nexport type { InterestsPref }\n\nconst interestsPref = l.typedObject<InterestsPref>(\n $nsid,\n 'interestsPref',\n l.object({\n tags: l.array(l.string({ maxLength: 640, maxGraphemes: 64 }), {\n maxLength: 100,\n }),\n }),\n)\n\nexport { interestsPref }\n\ntype MutedWordTarget = 'content' | 'tag' | l.UnknownString\n\nexport type { MutedWordTarget }\n\nconst mutedWordTarget = l.string<{\n knownValues: ['content', 'tag']\n maxLength: 640\n maxGraphemes: 64\n}>({ maxLength: 640, maxGraphemes: 64 })\n\nexport { mutedWordTarget }\n\n/** A word that the account owner has muted. */\ntype MutedWord = {\n $type?: 'app.bsky.actor.defs#mutedWord'\n id?: string\n\n /**\n * The muted word itself.\n */\n value: string\n\n /**\n * The intended targets of the muted word.\n */\n targets: MutedWordTarget[]\n\n /**\n * Groups of users to apply the muted word to. If undefined, applies to all users.\n */\n actorTarget?: 'all' | 'exclude-following' | l.UnknownString\n\n /**\n * The date and time at which the muted word will expire and no longer be applied.\n */\n expiresAt?: l.DatetimeString\n}\n\nexport type { MutedWord }\n\n/** A word that the account owner has muted. */\nconst mutedWord = l.typedObject<MutedWord>(\n $nsid,\n 'mutedWord',\n l.object({\n id: l.optional(l.string()),\n value: l.string({ maxLength: 10000, maxGraphemes: 1000 }),\n targets: l.array(l.ref<MutedWordTarget>((() => mutedWordTarget) as any)),\n actorTarget: l.optional(\n l.withDefault(\n l.string<{ knownValues: ['all', 'exclude-following'] }>(),\n 'all',\n ),\n ),\n expiresAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { mutedWord }\n\ntype MutedWordsPref = {\n $type?: 'app.bsky.actor.defs#mutedWordsPref'\n\n /**\n * A list of words the account owner has muted.\n */\n items: MutedWord[]\n}\n\nexport type { MutedWordsPref }\n\nconst mutedWordsPref = l.typedObject<MutedWordsPref>(\n $nsid,\n 'mutedWordsPref',\n l.object({ items: l.array(l.ref<MutedWord>((() => mutedWord) as any)) }),\n)\n\nexport { mutedWordsPref }\n\ntype HiddenPostsPref = {\n $type?: 'app.bsky.actor.defs#hiddenPostsPref'\n\n /**\n * A list of URIs of posts the account owner has hidden.\n */\n items: l.AtUriString[]\n}\n\nexport type { HiddenPostsPref }\n\nconst hiddenPostsPref = l.typedObject<HiddenPostsPref>(\n $nsid,\n 'hiddenPostsPref',\n l.object({ items: l.array(l.string({ format: 'at-uri' })) }),\n)\n\nexport { hiddenPostsPref }\n\ntype LabelersPref = {\n $type?: 'app.bsky.actor.defs#labelersPref'\n labelers: LabelerPrefItem[]\n}\n\nexport type { LabelersPref }\n\nconst labelersPref = l.typedObject<LabelersPref>(\n $nsid,\n 'labelersPref',\n l.object({\n labelers: l.array(l.ref<LabelerPrefItem>((() => labelerPrefItem) as any)),\n }),\n)\n\nexport { labelersPref }\n\ntype LabelerPrefItem = {\n $type?: 'app.bsky.actor.defs#labelerPrefItem'\n did: l.DidString\n}\n\nexport type { LabelerPrefItem }\n\nconst labelerPrefItem = l.typedObject<LabelerPrefItem>(\n $nsid,\n 'labelerPrefItem',\n l.object({ did: l.string({ format: 'did' }) }),\n)\n\nexport { labelerPrefItem }\n\n/** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */\ntype BskyAppStatePref = {\n $type?: 'app.bsky.actor.defs#bskyAppStatePref'\n activeProgressGuide?: BskyAppProgressGuide\n\n /**\n * An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user.\n */\n queuedNudges?: string[]\n\n /**\n * Storage for NUXs the user has encountered.\n */\n nuxs?: Nux[]\n}\n\nexport type { BskyAppStatePref }\n\n/** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */\nconst bskyAppStatePref = l.typedObject<BskyAppStatePref>(\n $nsid,\n 'bskyAppStatePref',\n l.object({\n activeProgressGuide: l.optional(\n l.ref<BskyAppProgressGuide>((() => bskyAppProgressGuide) as any),\n ),\n queuedNudges: l.optional(\n l.array(l.string({ maxLength: 100 }), { maxLength: 1000 }),\n ),\n nuxs: l.optional(\n l.array(l.ref<Nux>((() => nux) as any), { maxLength: 100 }),\n ),\n }),\n)\n\nexport { bskyAppStatePref }\n\n/** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */\ntype BskyAppProgressGuide = {\n $type?: 'app.bsky.actor.defs#bskyAppProgressGuide'\n guide: string\n}\n\nexport type { BskyAppProgressGuide }\n\n/** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */\nconst bskyAppProgressGuide = l.typedObject<BskyAppProgressGuide>(\n $nsid,\n 'bskyAppProgressGuide',\n l.object({ guide: l.string({ maxLength: 100 }) }),\n)\n\nexport { bskyAppProgressGuide }\n\n/** A new user experiences (NUX) storage object */\ntype Nux = {\n $type?: 'app.bsky.actor.defs#nux'\n id: string\n completed: boolean\n\n /**\n * Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters.\n */\n data?: string\n\n /**\n * The date and time at which the NUX will expire and should be considered completed.\n */\n expiresAt?: l.DatetimeString\n}\n\nexport type { Nux }\n\n/** A new user experiences (NUX) storage object */\nconst nux = l.typedObject<Nux>(\n $nsid,\n 'nux',\n l.object({\n id: l.string({ maxLength: 100 }),\n completed: l.withDefault(l.boolean(), false),\n data: l.optional(l.string({ maxLength: 3000, maxGraphemes: 300 })),\n expiresAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { nux }\n\n/** Preferences for how verified accounts appear in the app. */\ntype VerificationPrefs = {\n $type?: 'app.bsky.actor.defs#verificationPrefs'\n\n /**\n * Hide the blue check badges for verified accounts and trusted verifiers.\n */\n hideBadges?: boolean\n}\n\nexport type { VerificationPrefs }\n\n/** Preferences for how verified accounts appear in the app. */\nconst verificationPrefs = l.typedObject<VerificationPrefs>(\n $nsid,\n 'verificationPrefs',\n l.object({ hideBadges: l.optional(l.withDefault(l.boolean(), false)) }),\n)\n\nexport { verificationPrefs }\n\n/** Preferences for live events. */\ntype LiveEventPreferences = {\n $type?: 'app.bsky.actor.defs#liveEventPreferences'\n\n /**\n * A list of feed IDs that the user has hidden from live events.\n */\n hiddenFeedIds?: string[]\n\n /**\n * Whether to hide all feeds from live events.\n */\n hideAllFeeds?: boolean\n}\n\nexport type { LiveEventPreferences }\n\n/** Preferences for live events. */\nconst liveEventPreferences = l.typedObject<LiveEventPreferences>(\n $nsid,\n 'liveEventPreferences',\n l.object({\n hiddenFeedIds: l.optional(l.array(l.string())),\n hideAllFeeds: l.optional(l.withDefault(l.boolean(), false)),\n }),\n)\n\nexport { liveEventPreferences }\n\n/** Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly. */\ntype PostInteractionSettingsPref = {\n $type?: 'app.bsky.actor.defs#postInteractionSettingsPref'\n\n /**\n * Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply.\n */\n threadgateAllowRules?: (\n | l.$Typed<FeedThreadgate.MentionRule>\n | l.$Typed<FeedThreadgate.FollowerRule>\n | l.$Typed<FeedThreadgate.FollowingRule>\n | l.$Typed<FeedThreadgate.ListRule>\n | l.Unknown$TypedObject\n )[]\n\n /**\n * Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed.\n */\n postgateEmbeddingRules?: (\n | l.$Typed<FeedPostgate.DisableRule>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { PostInteractionSettingsPref }\n\n/** Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly. */\nconst postInteractionSettingsPref = l.typedObject<PostInteractionSettingsPref>(\n $nsid,\n 'postInteractionSettingsPref',\n l.object({\n threadgateAllowRules: l.optional(\n l.array(\n l.typedUnion(\n [\n l.typedRef<FeedThreadgate.MentionRule>(\n (() => FeedThreadgate.mentionRule) as any,\n ),\n l.typedRef<FeedThreadgate.FollowerRule>(\n (() => FeedThreadgate.followerRule) as any,\n ),\n l.typedRef<FeedThreadgate.FollowingRule>(\n (() => FeedThreadgate.followingRule) as any,\n ),\n l.typedRef<FeedThreadgate.ListRule>(\n (() => FeedThreadgate.listRule) as any,\n ),\n ],\n false,\n ),\n { maxLength: 5 },\n ),\n ),\n postgateEmbeddingRules: l.optional(\n l.array(\n l.typedUnion(\n [\n l.typedRef<FeedPostgate.DisableRule>(\n (() => FeedPostgate.disableRule) as any,\n ),\n ],\n false,\n ),\n { maxLength: 5 },\n ),\n ),\n }),\n)\n\nexport { postInteractionSettingsPref }\n\ntype StatusView = {\n $type?: 'app.bsky.actor.defs#statusView'\n uri?: l.AtUriString\n cid?: l.CidString\n\n /**\n * The status for the account.\n */\n status: 'app.bsky.actor.status#live' | l.UnknownString\n record: l.LexMap\n\n /**\n * An optional embed associated with the status.\n */\n embed?: l.$Typed<EmbedExternal.View> | l.Unknown$TypedObject\n labels?: LabelDefs.Label[]\n\n /**\n * The date when this status will expire. The application might choose to no longer return the status after expiration.\n */\n expiresAt?: l.DatetimeString\n\n /**\n * True if the status is not expired, false if it is expired. Only present if expiration was set.\n */\n isActive?: boolean\n\n /**\n * True if the user's go-live access has been disabled by a moderator, false otherwise.\n */\n isDisabled?: boolean\n}\n\nexport type { StatusView }\n\nconst statusView = l.typedObject<StatusView>(\n $nsid,\n 'statusView',\n l.object({\n uri: l.optional(l.string({ format: 'at-uri' })),\n cid: l.optional(l.string({ format: 'cid' })),\n status: l.string<{ knownValues: ['app.bsky.actor.status#live'] }>(),\n record: l.lexMap(),\n embed: l.optional(\n l.typedUnion(\n [l.typedRef<EmbedExternal.View>((() => EmbedExternal.view) as any)],\n false,\n ),\n ),\n labels: l.optional(\n l.array(l.ref<LabelDefs.Label>((() => LabelDefs.label) as any)),\n ),\n expiresAt: l.optional(l.string({ format: 'datetime' })),\n isActive: l.optional(l.boolean()),\n isDisabled: l.optional(l.boolean()),\n }),\n)\n\nexport { statusView }\n"]}
@@ -5,6 +5,10 @@ export { $nsid };
5
5
  type Main = {
6
6
  $type: 'chat.bsky.actor.declaration';
7
7
  allowIncoming: 'all' | 'none' | 'following' | l.UnknownString;
8
+ /**
9
+ * [NOTE: This is under active development and should be considered unstable while this note is here]. Declaration about group chat invitation preferences for the record owner.
10
+ */
11
+ allowGroupInvites?: 'all' | 'none' | 'following' | l.UnknownString;
8
12
  };
9
13
  export type { Main };
10
14
  /** A declaration of a Bluesky chat account. */
@@ -15,36 +19,46 @@ export declare const $isTypeOf: <TValue extends {
15
19
  }>(value: TValue) => value is l.TypedRecord<"chat.bsky.actor.declaration", TValue>, $build: {
16
20
  (input: Omit<Omit<Main, "$type">, "$type">): {
17
21
  allowIncoming: "all" | "none" | "following" | l.UnknownString;
22
+ allowGroupInvites?: ("all" | "none" | "following" | l.UnknownString) | undefined;
18
23
  $type: "chat.bsky.actor.declaration";
19
24
  };
20
25
  (input: Omit<Omit<Main, "$type">, "$type">): {
21
26
  allowIncoming: "all" | "none" | "following" | l.UnknownString;
27
+ allowGroupInvites?: ("all" | "none" | "following" | l.UnknownString) | undefined;
22
28
  $type: "chat.bsky.actor.declaration";
23
29
  };
24
30
  }, $type: "chat.bsky.actor.declaration";
25
31
  export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
26
32
  allowIncoming: "all" | "none" | "following" | l.UnknownString;
33
+ allowGroupInvites?: ("all" | "none" | "following" | l.UnknownString) | undefined;
27
34
  $type: "chat.bsky.actor.declaration";
28
35
  }, $check: (input: unknown, options?: l.ValidateOptions) => void, $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
29
36
  allowIncoming: "all" | "none" | "following" | l.UnknownString;
37
+ allowGroupInvites?: ("all" | "none" | "following" | l.UnknownString) | undefined;
30
38
  $type: "chat.bsky.actor.declaration";
31
39
  }, $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
32
40
  allowIncoming: "all" | "none" | "following" | l.UnknownString;
41
+ allowGroupInvites?: ("all" | "none" | "following" | l.UnknownString) | undefined;
33
42
  $type: "chat.bsky.actor.declaration";
34
43
  }) | undefined, $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
35
44
  allowIncoming: "all" | "none" | "following" | l.UnknownString;
45
+ allowGroupInvites?: ("all" | "none" | "following" | l.UnknownString) | undefined;
36
46
  $type: "chat.bsky.actor.declaration";
37
47
  }, $parse: (input: unknown, options?: l.ParseOptions) => {
38
48
  allowIncoming: "all" | "none" | "following" | l.UnknownString;
49
+ allowGroupInvites?: ("all" | "none" | "following" | l.UnknownString) | undefined;
39
50
  $type: "chat.bsky.actor.declaration";
40
51
  }, $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
41
52
  allowIncoming: "all" | "none" | "following" | l.UnknownString;
53
+ allowGroupInvites?: ("all" | "none" | "following" | l.UnknownString) | undefined;
42
54
  $type: "chat.bsky.actor.declaration";
43
55
  }>, $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
44
56
  allowIncoming: "all" | "none" | "following" | l.UnknownString;
57
+ allowGroupInvites?: ("all" | "none" | "following" | l.UnknownString) | undefined;
45
58
  $type: "chat.bsky.actor.declaration";
46
59
  }, $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
47
60
  allowIncoming: "all" | "none" | "following" | l.UnknownString;
61
+ allowGroupInvites?: ("all" | "none" | "following" | l.UnknownString) | undefined;
48
62
  $type: "chat.bsky.actor.declaration";
49
63
  }>;
50
64
  //# sourceMappingURL=declaration.defs.d.ts.map
@@ -1 +1 @@
1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11
11
  const main = lex_1.l.record('literal:self', $nsid, lex_1.l.object({
12
12
  allowIncoming: lex_1.l.string(),
13
+ allowGroupInvites: lex_1.l.optional(lex_1.l.string()),
13
14
  }));
14
15
  exports.main = main;
15
16
  exports.$isTypeOf = main.isTypeOf.bind(main), exports.$build = main.build.bind(main), exports.$type = main.$type;
@@ -1 +1 @@
1
- {"version":3,"file":"declaration.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/actor/declaration.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAElC,sBAAK;AAUd,+CAA+C;AAC/C,MAAM,IAAI,GAAG,OAAC,CAAC,MAAM,CACnB,cAAc,EACd,KAAK,EACL,OAAC,CAAC,MAAM,CAAC;IACP,aAAa,EAAE,OAAC,CAAC,MAAM,EAAiD;CACzE,CAAC,CACH,CAAA;AAEQ,oBAAI;AAEA,QAAA,SAAS,GAAiB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAC7D,QAAA,MAAM,GAAiB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAC5C,QAAA,KAAK,GAAiB,IAAI,CAAC,KAAK,CAAA;AACrB,QAAA,OAAO,GAAiB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EACzD,QAAA,MAAM,GAAiB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAC5C,QAAA,KAAK,GAAiB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAC1C,QAAA,UAAU,GAAiB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EACpD,QAAA,QAAQ,GAAiB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAChD,QAAA,MAAM,GAAiB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAC5C,QAAA,UAAU,GAAiB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EACpD,QAAA,SAAS,GAAiB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAClD,QAAA,aAAa,GAAiB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'chat.bsky.actor.declaration'\n\nexport { $nsid }\n\n/** A declaration of a Bluesky chat account. */\ntype Main = {\n $type: 'chat.bsky.actor.declaration'\n allowIncoming: 'all' | 'none' | 'following' | l.UnknownString\n}\n\nexport type { Main }\n\n/** A declaration of a Bluesky chat account. */\nconst main = l.record<'literal:self', Main>(\n 'literal:self',\n $nsid,\n l.object({\n allowIncoming: l.string<{ knownValues: ['all', 'none', 'following'] }>(),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n"]}
1
+ {"version":3,"file":"declaration.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/actor/declaration.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAElC,sBAAK;AAed,+CAA+C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bsky.actor.declaration'\n\nexport { $nsid }\n\n/** A declaration of a Bluesky chat account. */\ntype Main = {\n $type: 'chat.bsky.actor.declaration'\n allowIncoming: 'all' | 'none' | 'following' | l.UnknownString\n\n /**\n * [NOTE: This is under active development and should be considered unstable while this note is here]. Declaration about group chat invitation preferences for the record owner.\n */\n allowGroupInvites?: 'all' | 'none' | 'following' | l.UnknownString\n}\n\nexport type { Main }\n\n/** A declaration of a Bluesky chat account. */\nconst main = l.record<'literal:self', Main>(\n 'literal:self',\n $nsid,\n l.object({\n allowIncoming: l.string<{ knownValues: ['all', 'none', 'following'] }>(),\n allowGroupInvites: l.optional(\n l.string<{ knownValues: ['all', 'none', 'following'] }>(),\n ),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n"]}
@@ -3,6 +3,12 @@ import * as ActorDefs from '../../../app/bsky/actor/defs.defs.js';
3
3
  import * as LabelDefs from '../../../com/atproto/label/defs.defs.js';
4
4
  declare const $nsid = "chat.bsky.actor.defs";
5
5
  export { $nsid };
6
+ type MemberRole = 'owner' | 'standard' | l.UnknownString;
7
+ export type { MemberRole };
8
+ declare const memberRole: l.StringSchema<{
9
+ knownValues: ["owner", "standard"];
10
+ }>;
11
+ export { memberRole };
6
12
  type ProfileViewBasic = {
7
13
  $type?: 'chat.bsky.actor.defs#profileViewBasic';
8
14
  did: l.DidString;
@@ -12,13 +18,42 @@ type ProfileViewBasic = {
12
18
  associated?: ActorDefs.ProfileAssociated;
13
19
  viewer?: ActorDefs.ViewerState;
14
20
  labels?: LabelDefs.Label[];
21
+ createdAt?: l.DatetimeString;
15
22
  /**
16
23
  * Set to true when the actor cannot actively participate in conversations
17
24
  */
18
25
  chatDisabled?: boolean;
19
26
  verification?: ActorDefs.VerificationState;
27
+ /**
28
+ * Union field that has data specific to different kinds of convos.
29
+ */
30
+ kind?: l.$Typed<DirectConvoMember> | l.$Typed<GroupConvoMember> | l.Unknown$TypedObject;
20
31
  };
21
32
  export type { ProfileViewBasic };
22
33
  declare const profileViewBasic: l.TypedObjectSchema<"chat.bsky.actor.defs#profileViewBasic", l.Validator<ProfileViewBasic, ProfileViewBasic>>;
23
34
  export { profileViewBasic };
35
+ /** [NOTE: This is under active development and should be considered unstable while this note is here]. */
36
+ type DirectConvoMember = {
37
+ $type?: 'chat.bsky.actor.defs#directConvoMember';
38
+ };
39
+ export type { DirectConvoMember };
40
+ /** [NOTE: This is under active development and should be considered unstable while this note is here]. */
41
+ declare const directConvoMember: l.TypedObjectSchema<"chat.bsky.actor.defs#directConvoMember", l.Validator<DirectConvoMember, DirectConvoMember>>;
42
+ export { directConvoMember };
43
+ /** [NOTE: This is under active development and should be considered unstable while this note is here]. */
44
+ type GroupConvoMember = {
45
+ $type?: 'chat.bsky.actor.defs#groupConvoMember';
46
+ /**
47
+ * Who added this member. Only present if the member was added (instead of joining via link).
48
+ */
49
+ addedBy?: ProfileViewBasic;
50
+ /**
51
+ * The member's role within this conversation. Only present in group conversation member lists.
52
+ */
53
+ role: MemberRole;
54
+ };
55
+ export type { GroupConvoMember };
56
+ /** [NOTE: This is under active development and should be considered unstable while this note is here]. */
57
+ declare const groupConvoMember: l.TypedObjectSchema<"chat.bsky.actor.defs#groupConvoMember", l.Validator<GroupConvoMember, GroupConvoMember>>;
58
+ export { groupConvoMember };
24
59
  //# sourceMappingURL=defs.defs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/actor/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,SAAS,MAAM,yCAAyC,CAAA;AAEpE,QAAA,MAAM,KAAK,yBAAyB,CAAA;AAEpC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAC/C,GAAG,EAAE,CAAC,CAAC,SAAS,CAAA;IAChB,MAAM,EAAE,CAAC,CAAC,YAAY,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,CAAA;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAA;IACxC,MAAM,CAAC,EAAE,SAAS,CAAC,WAAW,CAAA;IAC9B,MAAM,CAAC,EAAE,SAAS,CAAC,KAAK,EAAE,CAAA;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,YAAY,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAA;CAC3C,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,CAAA;AAEhC,QAAA,MAAM,gBAAgB,+GA0BrB,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
1
+ {"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/actor/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,SAAS,MAAM,yCAAyC,CAAA;AAEpE,QAAA,MAAM,KAAK,yBAAyB,CAAA;AAEpC,OAAO,E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EAAE,iBAAiB,EAAE,CAAA;AAE5B,0GAA0G;AAC1G,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAE/C;;OAEG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAE1B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,CAAA;AAEhC,0GAA0G;AAC1G,QAAA,MAAM,gBAAgB,+GASrB,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
@@ -36,12 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.profileViewBasic = exports.$nsid = void 0;
39
+ exports.groupConvoMember = exports.directConvoMember = exports.profileViewBasic = exports.memberRole = exports.$nsid = void 0;
40
40
  const lex_1 = require("@atproto/lex");
41
41
  const ActorDefs = __importStar(require("../../../app/bsky/actor/defs.defs.js"));
42
42
  const LabelDefs = __importStar(require("../../../com/atproto/label/defs.defs.js"));
43
43
  const $nsid = 'chat.bsky.actor.defs';
44
44
  exports.$nsid = $nsid;
45
+ const memberRole = lex_1.l.string();
46
+ exports.memberRole = memberRole;
45
47
  const profileViewBasic = lex_1.l.typedObject($nsid, 'profileViewBasic', lex_1.l.object({
46
48
  did: lex_1.l.string({ format: 'did' }),
47
49
  handle: lex_1.l.string({ format: 'handle' }),
@@ -50,8 +52,22 @@ const profileViewBasic = lex_1.l.typedObject($nsid, 'profileViewBasic', lex_1.l.
50
52
  associated: lex_1.l.optional(lex_1.l.ref((() => ActorDefs.profileAssociated))),
51
53
  viewer: lex_1.l.optional(lex_1.l.ref((() => ActorDefs.viewerState))),
52
54
  labels: lex_1.l.optional(lex_1.l.array(lex_1.l.ref((() => LabelDefs.label)))),
55
+ createdAt: lex_1.l.optional(lex_1.l.string({ format: 'datetime' })),
53
56
  chatDisabled: lex_1.l.optional(lex_1.l.boolean()),
54
57
  verification: lex_1.l.optional(lex_1.l.ref((() => ActorDefs.verificationState))),
58
+ kind: lex_1.l.optional(lex_1.l.typedUnion([
59
+ lex_1.l.typedRef((() => directConvoMember)),
60
+ lex_1.l.typedRef((() => groupConvoMember)),
61
+ ], false)),
55
62
  }));
56
63
  exports.profileViewBasic = profileViewBasic;
64
+ /** [NOTE: This is under active development and should be considered unstable while this note is here]. */
65
+ const directConvoMember = lex_1.l.typedObject($nsid, 'directConvoMember', lex_1.l.object({}));
66
+ exports.directConvoMember = directConvoMember;
67
+ /** [NOTE: This is under active development and should be considered unstable while this note is here]. */
68
+ const groupConvoMember = lex_1.l.typedObject($nsid, 'groupConvoMember', lex_1.l.object({
69
+ addedBy: lex_1.l.optional(lex_1.l.ref((() => profileViewBasic))),
70
+ role: lex_1.l.ref((() => memberRole)),
71
+ }));
72
+ exports.groupConvoMember = groupConvoMember;
57
73
  //# sourceMappingURL=defs.defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/actor/defs.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,gFAAiE;AACjE,mFAAoE;AAEpE,MAAM,KAAK,GAAG,sBAAsB,CAAA;AAE3B,sBAAK;AAqBd,MAAM,gBAAgB,GAAG,OAAC,CAAC,WAAW,CACpC,KAAK,EACL,kBAAkB,EAClB,OAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAChC,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACtC,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;IACvE,MAAM,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC/C,UAAU,EAAE,OAAC,CAAC,QAAQ,CACpB,OAAC,CAAC,GAAG,CACH,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,iBAAiB,CAAQ,CAC3C,CACF;IACD,MAAM,EAAE,OAAC,CAAC,QAAQ,CAChB,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CAAC,CACnE;IACD,MAAM,EAAE,OAAC,CAAC,QAAQ,CAChB,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,CAAkB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAQ,CAAC,CAAC,CAChE;IACD,YAAY,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IACrC,YAAY,EAAE,OAAC,CAAC,QAAQ,CACtB,OAAC,CAAC,GAAG,CACH,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,iBAAiB,CAAQ,CAC3C,CACF;CACF,CAAC,CACH,CAAA;AAEQ,4CAAgB","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ActorDefs from '../../../app/bsky/actor/defs.defs.js'\nimport * as LabelDefs from '../../../com/atproto/label/defs.defs.js'\n\nconst $nsid = 'chat.bsky.actor.defs'\n\nexport { $nsid }\n\ntype ProfileViewBasic = {\n $type?: 'chat.bsky.actor.defs#profileViewBasic'\n did: l.DidString\n handle: l.HandleString\n displayName?: string\n avatar?: l.UriString\n associated?: ActorDefs.ProfileAssociated\n viewer?: ActorDefs.ViewerState\n labels?: LabelDefs.Label[]\n\n /**\n * Set to true when the actor cannot actively participate in conversations\n */\n chatDisabled?: boolean\n verification?: ActorDefs.VerificationState\n}\n\nexport type { ProfileViewBasic }\n\nconst profileViewBasic = l.typedObject<ProfileViewBasic>(\n $nsid,\n 'profileViewBasic',\n l.object({\n did: l.string({ format: 'did' }),\n handle: l.string({ format: 'handle' }),\n displayName: l.optional(l.string({ maxGraphemes: 64, maxLength: 640 })),\n avatar: l.optional(l.string({ format: 'uri' })),\n associated: l.optional(\n l.ref<ActorDefs.ProfileAssociated>(\n (() => ActorDefs.profileAssociated) as any,\n ),\n ),\n viewer: l.optional(\n l.ref<ActorDefs.ViewerState>((() => ActorDefs.viewerState) as any),\n ),\n labels: l.optional(\n l.array(l.ref<LabelDefs.Label>((() => LabelDefs.label) as any)),\n ),\n chatDisabled: l.optional(l.boolean()),\n verification: l.optional(\n l.ref<ActorDefs.VerificationState>(\n (() => ActorDefs.verificationState) as any,\n ),\n ),\n }),\n)\n\nexport { profileViewBasic }\n"]}
1
+ {"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/actor/defs.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,gFAAiE;AACjE,mFAAoE;AAEpE,MAAM,KAAK,GAAG,sBAAsB,CAAA;AAE3B,sBAAK;AAMd,MAAM,UAAU,GAAG,OAAC,CAAC,MAAM,EAA0C,CAAA;AAE5D,gCAAU;AA8BnB,MAAM,gBAAgB,GAAG,OAAC,CAAC,WAAW,CACpC,KAAK,EACL,kBAAkB,EAClB,OAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAChC,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACtC,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG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ACnB,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CACb,CAAA;AAEQ,8CAAiB;AAmB1B,0GAA0G;AAC1G,MAAM,gBAAgB,GAAG,OAAC,CAAC,WAAW,CACpC,KAAK,EACL,kBAAkB,EAClB,OAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,OAAC,CAAC,QAAQ,CACjB,OAAC,CAAC,GAAG,CAAmB,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAQ,CAAC,CACzD;IACD,IAAI,EAAE,OAAC,CAAC,GAAG,CAAa,CAAC,GAAG,EAAE,CAAC,UAAU,CAAQ,CAAC;CACnD,CAAC,CACH,CAAA;AAEQ,4CAAgB","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ActorDefs from '../../../app/bsky/actor/defs.defs.js'\nimport * as LabelDefs from '../../../com/atproto/label/defs.defs.js'\n\nconst $nsid = 'chat.bsky.actor.defs'\n\nexport { $nsid }\n\ntype MemberRole = 'owner' | 'standard' | l.UnknownString\n\nexport type { MemberRole }\n\nconst memberRole = l.string<{ knownValues: ['owner', 'standard'] }>()\n\nexport { memberRole }\n\ntype ProfileViewBasic = {\n $type?: 'chat.bsky.actor.defs#profileViewBasic'\n did: l.DidString\n handle: l.HandleString\n displayName?: string\n avatar?: l.UriString\n associated?: ActorDefs.ProfileAssociated\n viewer?: ActorDefs.ViewerState\n labels?: LabelDefs.Label[]\n createdAt?: l.DatetimeString\n\n /**\n * Set to true when the actor cannot actively participate in conversations\n */\n chatDisabled?: boolean\n verification?: ActorDefs.VerificationState\n\n /**\n * Union field that has data specific to different kinds of convos.\n */\n kind?:\n | l.$Typed<DirectConvoMember>\n | l.$Typed<GroupConvoMember>\n | l.Unknown$TypedObject\n}\n\nexport type { ProfileViewBasic }\n\nconst profileViewBasic = l.typedObject<ProfileViewBasic>(\n $nsid,\n 'profileViewBasic',\n l.object({\n did: l.string({ format: 'did' }),\n handle: l.string({ format: 'handle' }),\n displayName: l.optional(l.string({ maxGraphemes: 64, maxLength: 640 })),\n avatar: l.optional(l.string({ format: 'uri' })),\n associated: l.optional(\n l.ref<ActorDefs.ProfileAssociated>(\n (() => ActorDefs.profileAssociated) as any,\n ),\n ),\n viewer: l.optional(\n l.ref<ActorDefs.ViewerState>((() => ActorDefs.viewerState) as any),\n ),\n labels: l.optional(\n l.array(l.ref<LabelDefs.Label>((() => LabelDefs.label) as any)),\n ),\n createdAt: l.optional(l.string({ format: 'datetime' })),\n chatDisabled: l.optional(l.boolean()),\n verification: l.optional(\n l.ref<ActorDefs.VerificationState>(\n (() => ActorDefs.verificationState) as any,\n ),\n ),\n kind: l.optional(\n l.typedUnion(\n [\n l.typedRef<DirectConvoMember>((() => directConvoMember) as any),\n l.typedRef<GroupConvoMember>((() => groupConvoMember) as any),\n ],\n false,\n ),\n ),\n }),\n)\n\nexport { profileViewBasic }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\ntype DirectConvoMember = { $type?: 'chat.bsky.actor.defs#directConvoMember' }\n\nexport type { DirectConvoMember }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nconst directConvoMember = l.typedObject<DirectConvoMember>(\n $nsid,\n 'directConvoMember',\n l.object({}),\n)\n\nexport { directConvoMember }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\ntype GroupConvoMember = {\n $type?: 'chat.bsky.actor.defs#groupConvoMember'\n\n /**\n * Who added this member. Only present if the member was added (instead of joining via link).\n */\n addedBy?: ProfileViewBasic\n\n /**\n * The member's role within this conversation. Only present in group conversation member lists.\n */\n role: MemberRole\n}\n\nexport type { GroupConvoMember }\n\n/** [NOTE: This is under active development and should be considered unstable while this note is here]. */\nconst groupConvoMember = l.typedObject<GroupConvoMember>(\n $nsid,\n 'groupConvoMember',\n l.object({\n addedBy: l.optional(\n l.ref<ProfileViewBasic>((() => profileViewBasic) as any),\n ),\n role: l.ref<MemberRole>((() => memberRole) as any),\n }),\n)\n\nexport { groupConvoMember }\n"]}
@@ -12,10 +12,10 @@ const main = lex_1.l.permissionSet($nsid, [
12
12
  inheritAud: true,
13
13
  lxm: [
14
14
  'chat.bsky.actor.deleteAccount',
15
- 'chat.bsky.actor.exportAccountData',
16
15
  'chat.bsky.convo.acceptConvo',
17
16
  'chat.bsky.convo.addReaction',
18
17
  'chat.bsky.convo.deleteMessageForSelf',
18
+ 'chat.bsky.convo.exportAccountData',
19
19
  'chat.bsky.convo.getConvo',
20
20
  'chat.bsky.convo.getConvoAvailability',
21
21
  'chat.bsky.convo.getConvoForMembers',
@@ -1 +1 @@
1
- {"version":3,"file":"authFullChatClient.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/chat/bsky/authFullChatClient.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,8BAA8B,CAAA;AAEnC,sBAAK;AAEd,MAAM,IAAI,GAAG,OAAC,CAAC,aAAa,CAC1B,KAAK,EACL;IACE,OAAC,CAAC,UAAU,CAAC,KAAK,EAAE;QAClB,UAAU,EAAE,IAAI;QAChB,GAAG,EAAE;YACH,+BAA+B;YAC/B,mCAAmC;YACnC,6BAA6B;YAC7B,6BAA6B;YAC7B,sCAAsC;YACtC,0BAA0B;YAC1B,sCAAsC;YACtC,oCAAoC;YACpC,wBAAwB;YACxB,6BAA6B;YAC7B,4BAA4B;YAC5B,4BAA4B;YAC5B,2BAA2B;YAC3B,gCAAgC;YAChC,6BAA6B;YAC7B,kCAAkC;YAClC,6BAA6B;YAC7B,+BAA+B;YAC/B,4BAA4B;SAC7B;KACF,CAAC;IACF,OAAC,CAAC,UAAU,CAAC,MAAM,EAAE;QACnB,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC;QACtC,UAAU,EAAE,CAAC,6BAA6B,CAAC;KAC5C,CAAC;CACH,EACD;IACE,KAAK,EAAE,sCAAsC;IAC7C,YAAY,EAAE,EAAE;IAChB,MAAM,EAAE,iEAAiE;IACzE,aAAa,EAAE,EAAE,EAAE,EAAE,wBAAwB,EAAE;CAChD,CACF,CAAA;AAEQ,oBAAI","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'chat.bsky.authFullChatClient'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('rpc', {\n inheritAud: true,\n lxm: [\n 'chat.bsky.actor.deleteAccount',\n 'chat.bsky.actor.exportAccountData',\n 'chat.bsky.convo.acceptConvo',\n 'chat.bsky.convo.addReaction',\n 'chat.bsky.convo.deleteMessageForSelf',\n 'chat.bsky.convo.getConvo',\n 'chat.bsky.convo.getConvoAvailability',\n 'chat.bsky.convo.getConvoForMembers',\n 'chat.bsky.convo.getLog',\n 'chat.bsky.convo.getMessages',\n 'chat.bsky.convo.leaveConvo',\n 'chat.bsky.convo.listConvos',\n 'chat.bsky.convo.muteConvo',\n 'chat.bsky.convo.removeReaction',\n 'chat.bsky.convo.sendMessage',\n 'chat.bsky.convo.sendMessageBatch',\n 'chat.bsky.convo.unmuteConvo',\n 'chat.bsky.convo.updateAllRead',\n 'chat.bsky.convo.updateRead',\n ],\n }),\n l.permission('repo', {\n action: ['create', 'update', 'delete'],\n collection: ['chat.bsky.actor.declaration'],\n }),\n ],\n {\n title: 'Full Chat Client (All Conversations)',\n 'title:lang': {},\n detail: 'Control of all chat conversations and configuration management.',\n 'detail:lang': { en: 'All Chat Conversations' },\n },\n)\n\nexport { main }\n"]}
1
+ {"version":3,"file":"authFullChatClient.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/chat/bsky/authFullChatClient.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,8BAA8B,CAAA;AAEnC,sBAAK;AAEd,MAAM,IAAI,GAAG,OAAC,CAAC,aAAa,CAC1B,KAAK,EACL;IACE,OAAC,CAAC,UAAU,CAAC,KAAK,EAAE;QAClB,UAAU,EAAE,IAAI;QAChB,GAAG,EAAE;YACH,+BAA+B;YAC/B,6BAA6B;YAC7B,6BAA6B;YAC7B,sCAAsC;YACtC,mCAAmC;YACnC,0BAA0B;YAC1B,sCAAsC;YACtC,oCAAoC;YACpC,wBAAwB;YACxB,6BAA6B;YAC7B,4BAA4B;YAC5B,4BAA4B;YAC5B,2BAA2B;YAC3B,gCAAgC;YAChC,6BAA6B;YAC7B,kCAAkC;YAClC,6BAA6B;YAC7B,+BAA+B;YAC/B,4BAA4B;SAC7B;KACF,CAAC;IACF,OAAC,CAAC,UAAU,CAAC,MAAM,EAAE;QACnB,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC;QACtC,UAAU,EAAE,CAAC,6BAA6B,CAAC;KAC5C,CAAC;CACH,EACD;IACE,KAAK,EAAE,sCAAsC;IAC7C,YAAY,EAAE,EAAE;IAChB,MAAM,EAAE,iEAAiE;IACzE,aAAa,EAAE,EAAE,EAAE,EAAE,wBAAwB,EAAE;CAChD,CACF,CAAA;AAEQ,oBAAI","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'chat.bsky.authFullChatClient'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('rpc', {\n inheritAud: true,\n lxm: [\n 'chat.bsky.actor.deleteAccount',\n 'chat.bsky.convo.acceptConvo',\n 'chat.bsky.convo.addReaction',\n 'chat.bsky.convo.deleteMessageForSelf',\n 'chat.bsky.convo.exportAccountData',\n 'chat.bsky.convo.getConvo',\n 'chat.bsky.convo.getConvoAvailability',\n 'chat.bsky.convo.getConvoForMembers',\n 'chat.bsky.convo.getLog',\n 'chat.bsky.convo.getMessages',\n 'chat.bsky.convo.leaveConvo',\n 'chat.bsky.convo.listConvos',\n 'chat.bsky.convo.muteConvo',\n 'chat.bsky.convo.removeReaction',\n 'chat.bsky.convo.sendMessage',\n 'chat.bsky.convo.sendMessageBatch',\n 'chat.bsky.convo.unmuteConvo',\n 'chat.bsky.convo.updateAllRead',\n 'chat.bsky.convo.updateRead',\n ],\n }),\n l.permission('repo', {\n action: ['create', 'update', 'delete'],\n collection: ['chat.bsky.actor.declaration'],\n }),\n ],\n {\n title: 'Full Chat Client (All Conversations)',\n 'title:lang': {},\n detail: 'Control of all chat conversations and configuration management.',\n 'detail:lang': { en: 'All Chat Conversations' },\n },\n)\n\nexport { main }\n"]}
@@ -1,11 +1,12 @@
1
1
  import { l } from '@atproto/lex';
2
2
  declare const $nsid = "chat.bsky.convo.acceptConvo";
3
3
  export { $nsid };
4
+ /** Marks a conversation as accepted, so it is shown in the list of accepted convos instead on the request convos. */
4
5
  declare const main: l.Procedure<"chat.bsky.convo.acceptConvo", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
5
6
  convoId: l.StringSchema<{}>;
6
7
  }>>, l.Payload<"application/json", l.ObjectSchema<{
7
8
  rev: l.OptionalSchema<l.StringSchema<{}>>;
8
- }>>, undefined>;
9
+ }>>, readonly ["InvalidConvo"]>;
9
10
  export { main };
10
11
  export type $Params = l.InferMethodParams<typeof main>;
11
12
  export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
@@ -1 +1 @@
1
- {"version":3,"file":"acceptConvo.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/acceptConvo.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,gCAAgC,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,QAAA,MAAM,IAAI;;;;eAKT,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,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,CAAC,CAAC,oBAAoB,CAC/D,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,+BAAY,EAC3B,OAAO,oBAAkB,EACzB,MAAM;;GAAa,EACnB,OAAO;;GAAc,CAAA"}
@@ -7,7 +7,8 @@ exports.$output = exports.$input = exports.$params = exports.$lxm = exports.main
7
7
  const lex_1 = require("@atproto/lex");
8
8
  const $nsid = 'chat.bsky.convo.acceptConvo';
9
9
  exports.$nsid = $nsid;
10
- const main = lex_1.l.procedure($nsid, lex_1.l.params(), lex_1.l.jsonPayload({ convoId: lex_1.l.string() }), lex_1.l.jsonPayload({ rev: lex_1.l.optional(lex_1.l.string()) }));
10
+ /** Marks a conversation as accepted, so it is shown in the list of accepted convos instead on the request convos. */
11
+ const main = lex_1.l.procedure($nsid, lex_1.l.params(), lex_1.l.jsonPayload({ convoId: lex_1.l.string() }), lex_1.l.jsonPayload({ rev: lex_1.l.optional(lex_1.l.string()) }), ['InvalidConvo']);
11
12
  exports.main = main;
12
13
  exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$input = main.input, exports.$output = main.output;
13
14
  //# sourceMappingURL=acceptConvo.defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"acceptConvo.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/acceptConvo.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAElC,sBAAK;AAEd,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EACtC,OAAC,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAC/C,CAAA;AACQ,oBAAI;AAcA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,MAAM,GAAG,IAAI,CAAC,KAAK,EACnB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'chat.bsky.convo.acceptConvo'\n\nexport { $nsid }\n\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({ convoId: l.string() }),\n l.jsonPayload({ rev: l.optional(l.string()) }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n"]}
1
+ {"version":3,"file":"acceptConvo.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/acceptConvo.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAElC,sBAAK;AAEd,qHAAqH;AACrH,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EACtC,OAAC,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,EAC9C,CAAC,cAAc,CAAC,CACjB,CAAA;AACQ,oBAAI;AAcA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,MAAM,GAAG,IAAI,CAAC,KAAK,EACnB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'chat.bsky.convo.acceptConvo'\n\nexport { $nsid }\n\n/** Marks a conversation as accepted, so it is shown in the list of accepted convos instead on the request convos. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({ convoId: l.string() }),\n l.jsonPayload({ rev: l.optional(l.string()) }),\n ['InvalidConvo'],\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n"]}
@@ -14,7 +14,7 @@ declare const main: l.Procedure<"chat.bsky.convo.addReaction", l.ParamsSchema<{}
14
14
  }>;
15
15
  }>>, l.Payload<"application/json", l.ObjectSchema<{
16
16
  message: l.RefSchema<l.Validator<ConvoDefs.MessageView, ConvoDefs.MessageView>>;
17
- }>>, readonly ["ReactionMessageDeleted", "ReactionLimitReached", "ReactionInvalidValue"]>;
17
+ }>>, readonly ["InvalidConvo", "ReactionNotAllowed", "ReactionMessageDeleted", "ReactionLimitReached", "ReactionInvalidValue"]>;
18
18
  export { main };
19
19
  export type $Params = l.InferMethodParams<typeof main>;
20
20
  export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
@@ -1 +1 @@
1
- {"version":3,"file":"addReaction.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/addReaction.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,gCAAgC,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,4KAA4K;AAC5K,QAAA,MAAM,IAAI;;;;;;;;;;;yFAiBT,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,oBAAoB,CAC/D,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,+BAAY,EAC3B,OAAO,oBAAkB,EACzB,MAAM;;;;;;;;;GAAa,EACnB,OAAO;;GAAc,CAAA"}
1
+ {"version":3,"file":"addReaction.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/addReaction.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,gCAAgC,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,4KAA4K;AAC5K,QAAA,MAAM,IAAI;;;;;;;;;;;+HAuBT,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,oBAAoB,CAC/D,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,+BAAY,EAC3B,OAAO,oBAAkB,EACzB,MAAM;;;;;;;;;GAAa,EACnB,OAAO;;GAAc,CAAA"}
@@ -53,7 +53,13 @@ const main = lex_1.l.procedure($nsid, lex_1.l.params(), lex_1.l.jsonPayload({
53
53
  }),
54
54
  }), lex_1.l.jsonPayload({
55
55
  message: lex_1.l.ref((() => ConvoDefs.messageView)),
56
- }), ['ReactionMessageDeleted', 'ReactionLimitReached', 'ReactionInvalidValue']);
56
+ }), [
57
+ 'InvalidConvo',
58
+ 'ReactionNotAllowed',
59
+ 'ReactionMessageDeleted',
60
+ 'ReactionLimitReached',
61
+ 'ReactionInvalidValue',
62
+ ]);
57
63
  exports.main = main;
58
64
  exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$input = main.input, exports.$output = main.output;
59
65
  //# sourceMappingURL=addReaction.defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"addReaction.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/addReaction.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,0DAA2C;AAE3C,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAElC,sBAAK;AAEd,4KAA4K;AAC5K,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC;IACZ,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,EAAE;QACb,YAAY,EAAE,CAAC;QACf,YAAY,EAAE,CAAC;KAChB,CAAC;CACH,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,OAAO,EAAE,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CAAC;CAC5E,CAAC,EACF,CAAC,wBAAwB,EAAE,sBAAsB,EAAE,sBAAsB,CAAC,CAC3E,CAAA;AACQ,oBAAI;AAcA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,MAAM,GAAG,IAAI,CAAC,KAAK,EACnB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ConvoDefs from './defs.defs.js'\n\nconst $nsid = 'chat.bsky.convo.addReaction'\n\nexport { $nsid }\n\n/** Adds an emoji reaction to a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in a single reaction. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n convoId: l.string(),\n messageId: l.string(),\n value: l.string({\n minLength: 1,\n maxLength: 64,\n minGraphemes: 1,\n maxGraphemes: 1,\n }),\n }),\n l.jsonPayload({\n message: l.ref<ConvoDefs.MessageView>((() => ConvoDefs.messageView) as any),\n }),\n ['ReactionMessageDeleted', 'ReactionLimitReached', 'ReactionInvalidValue'],\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n"]}
1
+ {"version":3,"file":"addReaction.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/chat/bsky/convo/addReaction.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,0DAA2C;AAE3C,MAAM,KAAK,GAAG,6BAA6B,CAAA;AAElC,sBAAK;AAEd,4KAA4K;AAC5K,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC;IACZ,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,EAAE;QACb,YAAY,EAAE,CAAC;QACf,YAAY,EAAE,CAAC;KAChB,CAAC;CACH,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,OAAO,EAAE,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CAAC;CAC5E,CAAC,EACF;IACE,cAAc;IACd,oBAAoB;IACpB,wBAAwB;IACxB,sBAAsB;IACtB,sBAAsB;CACvB,CACF,CAAA;AACQ,oBAAI;AAcA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,MAAM,GAAG,IAAI,CAAC,KAAK,EACnB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ConvoDefs from './defs.defs.js'\n\nconst $nsid = 'chat.bsky.convo.addReaction'\n\nexport { $nsid }\n\n/** Adds an emoji reaction to a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in a single reaction. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n convoId: l.string(),\n messageId: l.string(),\n value: l.string({\n minLength: 1,\n maxLength: 64,\n minGraphemes: 1,\n maxGraphemes: 1,\n }),\n }),\n l.jsonPayload({\n message: l.ref<ConvoDefs.MessageView>((() => ConvoDefs.messageView) as any),\n }),\n [\n 'InvalidConvo',\n 'ReactionNotAllowed',\n 'ReactionMessageDeleted',\n 'ReactionLimitReached',\n 'ReactionInvalidValue',\n ],\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n"]}