@atproto/pds 0.4.20 → 0.4.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/api/app/bsky/actor/index.d.ts.map +1 -1
  3. package/dist/api/app/bsky/actor/index.js +0 -6
  4. package/dist/api/app/bsky/actor/index.js.map +1 -1
  5. package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
  6. package/dist/api/app/bsky/feed/getFeed.js +1 -3
  7. package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
  8. package/dist/api/app/bsky/feed/index.d.ts.map +1 -1
  9. package/dist/api/app/bsky/feed/index.js +0 -20
  10. package/dist/api/app/bsky/feed/index.js.map +1 -1
  11. package/dist/api/app/bsky/index.d.ts.map +1 -1
  12. package/dist/api/app/bsky/index.js +0 -6
  13. package/dist/api/app/bsky/index.js.map +1 -1
  14. package/dist/api/app/bsky/notification/index.d.ts.map +1 -1
  15. package/dist/api/app/bsky/notification/index.js +0 -6
  16. package/dist/api/app/bsky/notification/index.js.map +1 -1
  17. package/dist/api/com/atproto/index.d.ts.map +1 -1
  18. package/dist/api/com/atproto/index.js +0 -2
  19. package/dist/api/com/atproto/index.js.map +1 -1
  20. package/dist/api/com/atproto/repo/getRecord.js +1 -1
  21. package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
  22. package/dist/api/index.d.ts.map +1 -1
  23. package/dist/api/index.js +0 -2
  24. package/dist/api/index.js.map +1 -1
  25. package/dist/context.d.ts +3 -0
  26. package/dist/context.d.ts.map +1 -1
  27. package/dist/context.js +30 -0
  28. package/dist/context.js.map +1 -1
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +26 -45
  31. package/dist/index.js.map +1 -1
  32. package/dist/lexicon/index.d.ts +59 -0
  33. package/dist/lexicon/index.d.ts.map +1 -1
  34. package/dist/lexicon/index.js +164 -1
  35. package/dist/lexicon/index.js.map +1 -1
  36. package/dist/lexicon/lexicons.d.ts +907 -0
  37. package/dist/lexicon/lexicons.d.ts.map +1 -1
  38. package/dist/lexicon/lexicons.js +932 -0
  39. package/dist/lexicon/lexicons.js.map +1 -1
  40. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +7 -0
  41. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  42. package/dist/lexicon/types/app/bsky/actor/defs.js +11 -1
  43. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  44. package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts +11 -0
  45. package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts.map +1 -0
  46. package/dist/lexicon/types/chat/bsky/actor/declaration.js +17 -0
  47. package/dist/lexicon/types/chat/bsky/actor/declaration.js.map +1 -0
  48. package/dist/lexicon/types/chat/bsky/actor/defs.d.ts +21 -0
  49. package/dist/lexicon/types/chat/bsky/actor/defs.d.ts.map +1 -0
  50. package/dist/lexicon/types/chat/bsky/actor/defs.js +16 -0
  51. package/dist/lexicon/types/chat/bsky/actor/defs.js.map +1 -0
  52. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.d.ts +33 -0
  53. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.d.ts.map +1 -0
  54. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.js +3 -0
  55. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.js.map +1 -0
  56. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts +32 -0
  57. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts.map +1 -0
  58. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.js +3 -0
  59. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.js.map +1 -0
  60. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +109 -0
  61. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -0
  62. package/dist/lexicon/types/chat/bsky/convo/defs.js +106 -0
  63. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -0
  64. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.d.ts +39 -0
  65. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.d.ts.map +1 -0
  66. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.js +3 -0
  67. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.js.map +1 -0
  68. package/dist/lexicon/types/chat/bsky/convo/getConvo.d.ts +36 -0
  69. package/dist/lexicon/types/chat/bsky/convo/getConvo.d.ts.map +1 -0
  70. package/dist/lexicon/types/chat/bsky/convo/getConvo.js +3 -0
  71. package/dist/lexicon/types/chat/bsky/convo/getConvo.js.map +1 -0
  72. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts +36 -0
  73. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -0
  74. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js +3 -0
  75. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js.map +1 -0
  76. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +40 -0
  77. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -0
  78. package/dist/lexicon/types/chat/bsky/convo/getLog.js +3 -0
  79. package/dist/lexicon/types/chat/bsky/convo/getLog.js.map +1 -0
  80. package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts +42 -0
  81. package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts.map +1 -0
  82. package/dist/lexicon/types/chat/bsky/convo/getMessages.js +3 -0
  83. package/dist/lexicon/types/chat/bsky/convo/getMessages.js.map +1 -0
  84. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.d.ts +41 -0
  85. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.d.ts.map +1 -0
  86. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.js +3 -0
  87. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.js.map +1 -0
  88. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts +38 -0
  89. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts.map +1 -0
  90. package/dist/lexicon/types/chat/bsky/convo/listConvos.js +3 -0
  91. package/dist/lexicon/types/chat/bsky/convo/listConvos.js.map +1 -0
  92. package/dist/lexicon/types/chat/bsky/convo/muteConvo.d.ts +41 -0
  93. package/dist/lexicon/types/chat/bsky/convo/muteConvo.d.ts.map +1 -0
  94. package/dist/lexicon/types/chat/bsky/convo/muteConvo.js +3 -0
  95. package/dist/lexicon/types/chat/bsky/convo/muteConvo.js.map +1 -0
  96. package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts +39 -0
  97. package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts.map +1 -0
  98. package/dist/lexicon/types/chat/bsky/convo/sendMessage.js +3 -0
  99. package/dist/lexicon/types/chat/bsky/convo/sendMessage.js.map +1 -0
  100. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts +49 -0
  101. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -0
  102. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js +16 -0
  103. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js.map +1 -0
  104. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.d.ts +41 -0
  105. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.d.ts.map +1 -0
  106. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.js +3 -0
  107. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.js.map +1 -0
  108. package/dist/lexicon/types/chat/bsky/convo/updateRead.d.ts +42 -0
  109. package/dist/lexicon/types/chat/bsky/convo/updateRead.d.ts.map +1 -0
  110. package/dist/lexicon/types/chat/bsky/convo/updateRead.js +3 -0
  111. package/dist/lexicon/types/chat/bsky/convo/updateRead.js.map +1 -0
  112. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.d.ts +47 -0
  113. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.d.ts.map +1 -0
  114. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js +16 -0
  115. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js.map +1 -0
  116. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts +41 -0
  117. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -0
  118. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.js +3 -0
  119. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.js.map +1 -0
  120. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.d.ts +31 -0
  121. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.d.ts.map +1 -0
  122. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.js +3 -0
  123. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.js.map +1 -0
  124. package/dist/pipethrough.d.ts +12 -22
  125. package/dist/pipethrough.d.ts.map +1 -1
  126. package/dist/pipethrough.js +159 -81
  127. package/dist/pipethrough.js.map +1 -1
  128. package/package.json +5 -5
  129. package/src/api/app/bsky/actor/index.ts +0 -6
  130. package/src/api/app/bsky/feed/getFeed.ts +1 -3
  131. package/src/api/app/bsky/feed/index.ts +0 -20
  132. package/src/api/app/bsky/index.ts +0 -6
  133. package/src/api/app/bsky/notification/index.ts +0 -7
  134. package/src/api/com/atproto/index.ts +0 -2
  135. package/src/api/com/atproto/repo/getRecord.ts +1 -1
  136. package/src/api/index.ts +0 -2
  137. package/src/context.ts +34 -1
  138. package/src/index.ts +27 -51
  139. package/src/lexicon/index.ts +254 -0
  140. package/src/lexicon/lexicons.ts +933 -0
  141. package/src/lexicon/types/app/bsky/actor/defs.ts +20 -0
  142. package/src/lexicon/types/chat/bsky/actor/declaration.ts +25 -0
  143. package/src/lexicon/types/chat/bsky/actor/defs.ts +34 -0
  144. package/src/lexicon/types/chat/bsky/actor/deleteAccount.ts +42 -0
  145. package/src/lexicon/types/chat/bsky/actor/exportAccountData.ts +38 -0
  146. package/src/lexicon/types/chat/bsky/convo/defs.ts +215 -0
  147. package/src/lexicon/types/chat/bsky/convo/deleteMessageForSelf.ts +48 -0
  148. package/src/lexicon/types/chat/bsky/convo/getConvo.ts +46 -0
  149. package/src/lexicon/types/chat/bsky/convo/getConvoForMembers.ts +46 -0
  150. package/src/lexicon/types/chat/bsky/convo/getLog.ts +53 -0
  151. package/src/lexicon/types/chat/bsky/convo/getMessages.ts +53 -0
  152. package/src/lexicon/types/chat/bsky/convo/leaveConvo.ts +50 -0
  153. package/src/lexicon/types/chat/bsky/convo/listConvos.ts +48 -0
  154. package/src/lexicon/types/chat/bsky/convo/muteConvo.ts +50 -0
  155. package/src/lexicon/types/chat/bsky/convo/sendMessage.ts +48 -0
  156. package/src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts +68 -0
  157. package/src/lexicon/types/chat/bsky/convo/unmuteConvo.ts +50 -0
  158. package/src/lexicon/types/chat/bsky/convo/updateRead.ts +51 -0
  159. package/src/lexicon/types/chat/bsky/moderation/getActorMetadata.ts +67 -0
  160. package/src/lexicon/types/chat/bsky/moderation/getMessageContext.ts +52 -0
  161. package/src/lexicon/types/chat/bsky/moderation/updateActorAccess.ts +40 -0
  162. package/src/pipethrough.ts +184 -114
  163. package/dist/api/app/bsky/actor/getSuggestions.d.ts +0 -4
  164. package/dist/api/app/bsky/actor/getSuggestions.d.ts.map +0 -1
  165. package/dist/api/app/bsky/actor/getSuggestions.js +0 -19
  166. package/dist/api/app/bsky/actor/getSuggestions.js.map +0 -1
  167. package/dist/api/app/bsky/actor/searchActors.d.ts +0 -4
  168. package/dist/api/app/bsky/actor/searchActors.d.ts.map +0 -1
  169. package/dist/api/app/bsky/actor/searchActors.js +0 -17
  170. package/dist/api/app/bsky/actor/searchActors.js.map +0 -1
  171. package/dist/api/app/bsky/actor/searchActorsTypeahead.d.ts +0 -4
  172. package/dist/api/app/bsky/actor/searchActorsTypeahead.d.ts.map +0 -1
  173. package/dist/api/app/bsky/actor/searchActorsTypeahead.js +0 -17
  174. package/dist/api/app/bsky/actor/searchActorsTypeahead.js.map +0 -1
  175. package/dist/api/app/bsky/feed/getActorFeeds.d.ts +0 -4
  176. package/dist/api/app/bsky/feed/getActorFeeds.d.ts.map +0 -1
  177. package/dist/api/app/bsky/feed/getActorFeeds.js +0 -17
  178. package/dist/api/app/bsky/feed/getActorFeeds.js.map +0 -1
  179. package/dist/api/app/bsky/feed/getFeedGenerator.d.ts +0 -4
  180. package/dist/api/app/bsky/feed/getFeedGenerator.d.ts.map +0 -1
  181. package/dist/api/app/bsky/feed/getFeedGenerator.js +0 -17
  182. package/dist/api/app/bsky/feed/getFeedGenerator.js.map +0 -1
  183. package/dist/api/app/bsky/feed/getFeedGenerators.d.ts +0 -4
  184. package/dist/api/app/bsky/feed/getFeedGenerators.d.ts.map +0 -1
  185. package/dist/api/app/bsky/feed/getFeedGenerators.js +0 -17
  186. package/dist/api/app/bsky/feed/getFeedGenerators.js.map +0 -1
  187. package/dist/api/app/bsky/feed/getLikes.d.ts +0 -4
  188. package/dist/api/app/bsky/feed/getLikes.d.ts.map +0 -1
  189. package/dist/api/app/bsky/feed/getLikes.js +0 -17
  190. package/dist/api/app/bsky/feed/getLikes.js.map +0 -1
  191. package/dist/api/app/bsky/feed/getListFeed.d.ts +0 -4
  192. package/dist/api/app/bsky/feed/getListFeed.d.ts.map +0 -1
  193. package/dist/api/app/bsky/feed/getListFeed.js +0 -17
  194. package/dist/api/app/bsky/feed/getListFeed.js.map +0 -1
  195. package/dist/api/app/bsky/feed/getPosts.d.ts +0 -4
  196. package/dist/api/app/bsky/feed/getPosts.d.ts.map +0 -1
  197. package/dist/api/app/bsky/feed/getPosts.js +0 -17
  198. package/dist/api/app/bsky/feed/getPosts.js.map +0 -1
  199. package/dist/api/app/bsky/feed/getRepostedBy.d.ts +0 -4
  200. package/dist/api/app/bsky/feed/getRepostedBy.d.ts.map +0 -1
  201. package/dist/api/app/bsky/feed/getRepostedBy.js +0 -17
  202. package/dist/api/app/bsky/feed/getRepostedBy.js.map +0 -1
  203. package/dist/api/app/bsky/feed/getSuggestedFeeds.d.ts +0 -4
  204. package/dist/api/app/bsky/feed/getSuggestedFeeds.d.ts.map +0 -1
  205. package/dist/api/app/bsky/feed/getSuggestedFeeds.js +0 -17
  206. package/dist/api/app/bsky/feed/getSuggestedFeeds.js.map +0 -1
  207. package/dist/api/app/bsky/feed/searchPosts.d.ts +0 -4
  208. package/dist/api/app/bsky/feed/searchPosts.d.ts.map +0 -1
  209. package/dist/api/app/bsky/feed/searchPosts.js +0 -17
  210. package/dist/api/app/bsky/feed/searchPosts.js.map +0 -1
  211. package/dist/api/app/bsky/feed/sendInteractions.d.ts +0 -4
  212. package/dist/api/app/bsky/feed/sendInteractions.d.ts.map +0 -1
  213. package/dist/api/app/bsky/feed/sendInteractions.js +0 -14
  214. package/dist/api/app/bsky/feed/sendInteractions.js.map +0 -1
  215. package/dist/api/app/bsky/graph/getBlocks.d.ts +0 -4
  216. package/dist/api/app/bsky/graph/getBlocks.d.ts.map +0 -1
  217. package/dist/api/app/bsky/graph/getBlocks.js +0 -17
  218. package/dist/api/app/bsky/graph/getBlocks.js.map +0 -1
  219. package/dist/api/app/bsky/graph/getFollowers.d.ts +0 -4
  220. package/dist/api/app/bsky/graph/getFollowers.d.ts.map +0 -1
  221. package/dist/api/app/bsky/graph/getFollowers.js +0 -17
  222. package/dist/api/app/bsky/graph/getFollowers.js.map +0 -1
  223. package/dist/api/app/bsky/graph/getFollows.d.ts +0 -4
  224. package/dist/api/app/bsky/graph/getFollows.d.ts.map +0 -1
  225. package/dist/api/app/bsky/graph/getFollows.js +0 -17
  226. package/dist/api/app/bsky/graph/getFollows.js.map +0 -1
  227. package/dist/api/app/bsky/graph/getList.d.ts +0 -4
  228. package/dist/api/app/bsky/graph/getList.d.ts.map +0 -1
  229. package/dist/api/app/bsky/graph/getList.js +0 -17
  230. package/dist/api/app/bsky/graph/getList.js.map +0 -1
  231. package/dist/api/app/bsky/graph/getListBlocks.d.ts +0 -4
  232. package/dist/api/app/bsky/graph/getListBlocks.d.ts.map +0 -1
  233. package/dist/api/app/bsky/graph/getListBlocks.js +0 -17
  234. package/dist/api/app/bsky/graph/getListBlocks.js.map +0 -1
  235. package/dist/api/app/bsky/graph/getListMutes.d.ts +0 -4
  236. package/dist/api/app/bsky/graph/getListMutes.d.ts.map +0 -1
  237. package/dist/api/app/bsky/graph/getListMutes.js +0 -17
  238. package/dist/api/app/bsky/graph/getListMutes.js.map +0 -1
  239. package/dist/api/app/bsky/graph/getLists.d.ts +0 -4
  240. package/dist/api/app/bsky/graph/getLists.d.ts.map +0 -1
  241. package/dist/api/app/bsky/graph/getLists.js +0 -17
  242. package/dist/api/app/bsky/graph/getLists.js.map +0 -1
  243. package/dist/api/app/bsky/graph/getMutes.d.ts +0 -4
  244. package/dist/api/app/bsky/graph/getMutes.d.ts.map +0 -1
  245. package/dist/api/app/bsky/graph/getMutes.js +0 -17
  246. package/dist/api/app/bsky/graph/getMutes.js.map +0 -1
  247. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.d.ts +0 -4
  248. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +0 -1
  249. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js +0 -17
  250. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js.map +0 -1
  251. package/dist/api/app/bsky/graph/index.d.ts +0 -4
  252. package/dist/api/app/bsky/graph/index.d.ts.map +0 -1
  253. package/dist/api/app/bsky/graph/index.js +0 -35
  254. package/dist/api/app/bsky/graph/index.js.map +0 -1
  255. package/dist/api/app/bsky/graph/muteActor.d.ts +0 -4
  256. package/dist/api/app/bsky/graph/muteActor.d.ts.map +0 -1
  257. package/dist/api/app/bsky/graph/muteActor.js +0 -14
  258. package/dist/api/app/bsky/graph/muteActor.js.map +0 -1
  259. package/dist/api/app/bsky/graph/muteActorList.d.ts +0 -4
  260. package/dist/api/app/bsky/graph/muteActorList.d.ts.map +0 -1
  261. package/dist/api/app/bsky/graph/muteActorList.js +0 -14
  262. package/dist/api/app/bsky/graph/muteActorList.js.map +0 -1
  263. package/dist/api/app/bsky/graph/unmuteActor.d.ts +0 -4
  264. package/dist/api/app/bsky/graph/unmuteActor.d.ts.map +0 -1
  265. package/dist/api/app/bsky/graph/unmuteActor.js +0 -14
  266. package/dist/api/app/bsky/graph/unmuteActor.js.map +0 -1
  267. package/dist/api/app/bsky/graph/unmuteActorList.d.ts +0 -4
  268. package/dist/api/app/bsky/graph/unmuteActorList.d.ts.map +0 -1
  269. package/dist/api/app/bsky/graph/unmuteActorList.js +0 -14
  270. package/dist/api/app/bsky/graph/unmuteActorList.js.map +0 -1
  271. package/dist/api/app/bsky/labeler/getServices.d.ts +0 -4
  272. package/dist/api/app/bsky/labeler/getServices.d.ts.map +0 -1
  273. package/dist/api/app/bsky/labeler/getServices.js +0 -14
  274. package/dist/api/app/bsky/labeler/getServices.js.map +0 -1
  275. package/dist/api/app/bsky/labeler/index.d.ts +0 -4
  276. package/dist/api/app/bsky/labeler/index.d.ts.map +0 -1
  277. package/dist/api/app/bsky/labeler/index.js +0 -11
  278. package/dist/api/app/bsky/labeler/index.js.map +0 -1
  279. package/dist/api/app/bsky/notification/getUnreadCount.d.ts +0 -4
  280. package/dist/api/app/bsky/notification/getUnreadCount.d.ts.map +0 -1
  281. package/dist/api/app/bsky/notification/getUnreadCount.js +0 -17
  282. package/dist/api/app/bsky/notification/getUnreadCount.js.map +0 -1
  283. package/dist/api/app/bsky/notification/listNotifications.d.ts +0 -4
  284. package/dist/api/app/bsky/notification/listNotifications.d.ts.map +0 -1
  285. package/dist/api/app/bsky/notification/listNotifications.js +0 -17
  286. package/dist/api/app/bsky/notification/listNotifications.js.map +0 -1
  287. package/dist/api/app/bsky/notification/updateSeen.d.ts +0 -4
  288. package/dist/api/app/bsky/notification/updateSeen.d.ts.map +0 -1
  289. package/dist/api/app/bsky/notification/updateSeen.js +0 -14
  290. package/dist/api/app/bsky/notification/updateSeen.js.map +0 -1
  291. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.d.ts +0 -4
  292. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +0 -1
  293. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js +0 -18
  294. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js.map +0 -1
  295. package/dist/api/app/bsky/unspecced/getTaggedSuggestions.d.ts +0 -4
  296. package/dist/api/app/bsky/unspecced/getTaggedSuggestions.d.ts.map +0 -1
  297. package/dist/api/app/bsky/unspecced/getTaggedSuggestions.js +0 -18
  298. package/dist/api/app/bsky/unspecced/getTaggedSuggestions.js.map +0 -1
  299. package/dist/api/app/bsky/unspecced/index.d.ts +0 -4
  300. package/dist/api/app/bsky/unspecced/index.d.ts.map +0 -1
  301. package/dist/api/app/bsky/unspecced/index.js +0 -14
  302. package/dist/api/app/bsky/unspecced/index.js.map +0 -1
  303. package/dist/api/com/atproto/moderation/createReport.d.ts +0 -4
  304. package/dist/api/com/atproto/moderation/createReport.d.ts.map +0 -1
  305. package/dist/api/com/atproto/moderation/createReport.js +0 -14
  306. package/dist/api/com/atproto/moderation/createReport.js.map +0 -1
  307. package/dist/api/com/atproto/moderation/index.d.ts +0 -4
  308. package/dist/api/com/atproto/moderation/index.d.ts.map +0 -1
  309. package/dist/api/com/atproto/moderation/index.js +0 -11
  310. package/dist/api/com/atproto/moderation/index.js.map +0 -1
  311. package/dist/api/tools/ozone/communication/createTemplate.d.ts +0 -4
  312. package/dist/api/tools/ozone/communication/createTemplate.d.ts.map +0 -1
  313. package/dist/api/tools/ozone/communication/createTemplate.js +0 -14
  314. package/dist/api/tools/ozone/communication/createTemplate.js.map +0 -1
  315. package/dist/api/tools/ozone/communication/deleteTemplate.d.ts +0 -4
  316. package/dist/api/tools/ozone/communication/deleteTemplate.d.ts.map +0 -1
  317. package/dist/api/tools/ozone/communication/deleteTemplate.js +0 -14
  318. package/dist/api/tools/ozone/communication/deleteTemplate.js.map +0 -1
  319. package/dist/api/tools/ozone/communication/index.d.ts +0 -4
  320. package/dist/api/tools/ozone/communication/index.d.ts.map +0 -1
  321. package/dist/api/tools/ozone/communication/index.js +0 -17
  322. package/dist/api/tools/ozone/communication/index.js.map +0 -1
  323. package/dist/api/tools/ozone/communication/listTemplates.d.ts +0 -4
  324. package/dist/api/tools/ozone/communication/listTemplates.d.ts.map +0 -1
  325. package/dist/api/tools/ozone/communication/listTemplates.js +0 -14
  326. package/dist/api/tools/ozone/communication/listTemplates.js.map +0 -1
  327. package/dist/api/tools/ozone/communication/updateTemplate.d.ts +0 -4
  328. package/dist/api/tools/ozone/communication/updateTemplate.d.ts.map +0 -1
  329. package/dist/api/tools/ozone/communication/updateTemplate.js +0 -14
  330. package/dist/api/tools/ozone/communication/updateTemplate.js.map +0 -1
  331. package/dist/api/tools/ozone/index.d.ts +0 -4
  332. package/dist/api/tools/ozone/index.d.ts.map +0 -1
  333. package/dist/api/tools/ozone/index.js +0 -13
  334. package/dist/api/tools/ozone/index.js.map +0 -1
  335. package/dist/api/tools/ozone/moderation/emitEvent.d.ts +0 -4
  336. package/dist/api/tools/ozone/moderation/emitEvent.d.ts.map +0 -1
  337. package/dist/api/tools/ozone/moderation/emitEvent.js +0 -14
  338. package/dist/api/tools/ozone/moderation/emitEvent.js.map +0 -1
  339. package/dist/api/tools/ozone/moderation/getEvent.d.ts +0 -4
  340. package/dist/api/tools/ozone/moderation/getEvent.d.ts.map +0 -1
  341. package/dist/api/tools/ozone/moderation/getEvent.js +0 -14
  342. package/dist/api/tools/ozone/moderation/getEvent.js.map +0 -1
  343. package/dist/api/tools/ozone/moderation/getRecord.d.ts +0 -4
  344. package/dist/api/tools/ozone/moderation/getRecord.d.ts.map +0 -1
  345. package/dist/api/tools/ozone/moderation/getRecord.js +0 -14
  346. package/dist/api/tools/ozone/moderation/getRecord.js.map +0 -1
  347. package/dist/api/tools/ozone/moderation/getRepo.d.ts +0 -4
  348. package/dist/api/tools/ozone/moderation/getRepo.d.ts.map +0 -1
  349. package/dist/api/tools/ozone/moderation/getRepo.js +0 -14
  350. package/dist/api/tools/ozone/moderation/getRepo.js.map +0 -1
  351. package/dist/api/tools/ozone/moderation/index.d.ts +0 -4
  352. package/dist/api/tools/ozone/moderation/index.d.ts.map +0 -1
  353. package/dist/api/tools/ozone/moderation/index.js +0 -23
  354. package/dist/api/tools/ozone/moderation/index.js.map +0 -1
  355. package/dist/api/tools/ozone/moderation/queryEvents.d.ts +0 -4
  356. package/dist/api/tools/ozone/moderation/queryEvents.d.ts.map +0 -1
  357. package/dist/api/tools/ozone/moderation/queryEvents.js +0 -14
  358. package/dist/api/tools/ozone/moderation/queryEvents.js.map +0 -1
  359. package/dist/api/tools/ozone/moderation/queryStatuses.d.ts +0 -4
  360. package/dist/api/tools/ozone/moderation/queryStatuses.d.ts.map +0 -1
  361. package/dist/api/tools/ozone/moderation/queryStatuses.js +0 -14
  362. package/dist/api/tools/ozone/moderation/queryStatuses.js.map +0 -1
  363. package/dist/api/tools/ozone/moderation/searchRepos.d.ts +0 -4
  364. package/dist/api/tools/ozone/moderation/searchRepos.d.ts.map +0 -1
  365. package/dist/api/tools/ozone/moderation/searchRepos.js +0 -14
  366. package/dist/api/tools/ozone/moderation/searchRepos.js.map +0 -1
  367. package/src/api/app/bsky/actor/getSuggestions.ts +0 -17
  368. package/src/api/app/bsky/actor/searchActors.ts +0 -15
  369. package/src/api/app/bsky/actor/searchActorsTypeahead.ts +0 -15
  370. package/src/api/app/bsky/feed/getActorFeeds.ts +0 -15
  371. package/src/api/app/bsky/feed/getFeedGenerator.ts +0 -15
  372. package/src/api/app/bsky/feed/getFeedGenerators.ts +0 -15
  373. package/src/api/app/bsky/feed/getLikes.ts +0 -15
  374. package/src/api/app/bsky/feed/getListFeed.ts +0 -15
  375. package/src/api/app/bsky/feed/getPosts.ts +0 -15
  376. package/src/api/app/bsky/feed/getRepostedBy.ts +0 -15
  377. package/src/api/app/bsky/feed/getSuggestedFeeds.ts +0 -15
  378. package/src/api/app/bsky/feed/searchPosts.ts +0 -15
  379. package/src/api/app/bsky/feed/sendInteractions.ts +0 -13
  380. package/src/api/app/bsky/graph/getBlocks.ts +0 -15
  381. package/src/api/app/bsky/graph/getFollowers.ts +0 -15
  382. package/src/api/app/bsky/graph/getFollows.ts +0 -15
  383. package/src/api/app/bsky/graph/getList.ts +0 -15
  384. package/src/api/app/bsky/graph/getListBlocks.ts +0 -15
  385. package/src/api/app/bsky/graph/getListMutes.ts +0 -15
  386. package/src/api/app/bsky/graph/getLists.ts +0 -15
  387. package/src/api/app/bsky/graph/getMutes.ts +0 -15
  388. package/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts +0 -15
  389. package/src/api/app/bsky/graph/index.ts +0 -31
  390. package/src/api/app/bsky/graph/muteActor.ts +0 -13
  391. package/src/api/app/bsky/graph/muteActorList.ts +0 -13
  392. package/src/api/app/bsky/graph/unmuteActor.ts +0 -13
  393. package/src/api/app/bsky/graph/unmuteActorList.ts +0 -13
  394. package/src/api/app/bsky/labeler/getServices.ts +0 -13
  395. package/src/api/app/bsky/labeler/index.ts +0 -7
  396. package/src/api/app/bsky/notification/getUnreadCount.ts +0 -15
  397. package/src/api/app/bsky/notification/listNotifications.ts +0 -15
  398. package/src/api/app/bsky/notification/updateSeen.ts +0 -13
  399. package/src/api/app/bsky/unspecced/getPopularFeedGenerators.ts +0 -16
  400. package/src/api/app/bsky/unspecced/getTaggedSuggestions.ts +0 -16
  401. package/src/api/app/bsky/unspecced/index.ts +0 -10
  402. package/src/api/com/atproto/moderation/createReport.ts +0 -13
  403. package/src/api/com/atproto/moderation/index.ts +0 -7
  404. package/src/api/tools/ozone/communication/createTemplate.ts +0 -13
  405. package/src/api/tools/ozone/communication/deleteTemplate.ts +0 -13
  406. package/src/api/tools/ozone/communication/index.ts +0 -13
  407. package/src/api/tools/ozone/communication/listTemplates.ts +0 -13
  408. package/src/api/tools/ozone/communication/updateTemplate.ts +0 -13
  409. package/src/api/tools/ozone/index.ts +0 -9
  410. package/src/api/tools/ozone/moderation/emitEvent.ts +0 -13
  411. package/src/api/tools/ozone/moderation/getEvent.ts +0 -13
  412. package/src/api/tools/ozone/moderation/getRecord.ts +0 -13
  413. package/src/api/tools/ozone/moderation/getRepo.ts +0 -13
  414. package/src/api/tools/ozone/moderation/index.ts +0 -19
  415. package/src/api/tools/ozone/moderation/queryEvents.ts +0 -13
  416. package/src/api/tools/ozone/moderation/queryStatuses.ts +0 -13
  417. package/src/api/tools/ozone/moderation/searchRepos.ts +0 -13
@@ -0,0 +1,48 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express'
5
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
+ import { lexicons } from '../../../../lexicons'
7
+ import { isObj, hasProp } from '../../../../util'
8
+ import { CID } from 'multiformats/cid'
9
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
10
+ import * as ChatBskyConvoDefs from './defs'
11
+
12
+ export interface QueryParams {
13
+ limit: number
14
+ cursor?: string
15
+ }
16
+
17
+ export type InputSchema = undefined
18
+
19
+ export interface OutputSchema {
20
+ cursor?: string
21
+ convos: ChatBskyConvoDefs.ConvoView[]
22
+ [k: string]: unknown
23
+ }
24
+
25
+ export type HandlerInput = undefined
26
+
27
+ export interface HandlerSuccess {
28
+ encoding: 'application/json'
29
+ body: OutputSchema
30
+ headers?: { [key: string]: string }
31
+ }
32
+
33
+ export interface HandlerError {
34
+ status: number
35
+ message?: string
36
+ }
37
+
38
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough
39
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
40
+ auth: HA
41
+ params: QueryParams
42
+ input: HandlerInput
43
+ req: express.Request
44
+ res: express.Response
45
+ }
46
+ export type Handler<HA extends HandlerAuth = never> = (
47
+ ctx: HandlerReqCtx<HA>,
48
+ ) => Promise<HandlerOutput> | HandlerOutput
@@ -0,0 +1,50 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express'
5
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
+ import { lexicons } from '../../../../lexicons'
7
+ import { isObj, hasProp } from '../../../../util'
8
+ import { CID } from 'multiformats/cid'
9
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
10
+ import * as ChatBskyConvoDefs from './defs'
11
+
12
+ export interface QueryParams {}
13
+
14
+ export interface InputSchema {
15
+ convoId: string
16
+ [k: string]: unknown
17
+ }
18
+
19
+ export interface OutputSchema {
20
+ convo: ChatBskyConvoDefs.ConvoView
21
+ [k: string]: unknown
22
+ }
23
+
24
+ export interface HandlerInput {
25
+ encoding: 'application/json'
26
+ body: InputSchema
27
+ }
28
+
29
+ export interface HandlerSuccess {
30
+ encoding: 'application/json'
31
+ body: OutputSchema
32
+ headers?: { [key: string]: string }
33
+ }
34
+
35
+ export interface HandlerError {
36
+ status: number
37
+ message?: string
38
+ }
39
+
40
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough
41
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
42
+ auth: HA
43
+ params: QueryParams
44
+ input: HandlerInput
45
+ req: express.Request
46
+ res: express.Response
47
+ }
48
+ export type Handler<HA extends HandlerAuth = never> = (
49
+ ctx: HandlerReqCtx<HA>,
50
+ ) => Promise<HandlerOutput> | HandlerOutput
@@ -0,0 +1,48 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express'
5
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
+ import { lexicons } from '../../../../lexicons'
7
+ import { isObj, hasProp } from '../../../../util'
8
+ import { CID } from 'multiformats/cid'
9
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
10
+ import * as ChatBskyConvoDefs from './defs'
11
+
12
+ export interface QueryParams {}
13
+
14
+ export interface InputSchema {
15
+ convoId: string
16
+ message: ChatBskyConvoDefs.Message
17
+ [k: string]: unknown
18
+ }
19
+
20
+ export type OutputSchema = ChatBskyConvoDefs.MessageView
21
+
22
+ export interface HandlerInput {
23
+ encoding: 'application/json'
24
+ body: InputSchema
25
+ }
26
+
27
+ export interface HandlerSuccess {
28
+ encoding: 'application/json'
29
+ body: OutputSchema
30
+ headers?: { [key: string]: string }
31
+ }
32
+
33
+ export interface HandlerError {
34
+ status: number
35
+ message?: string
36
+ }
37
+
38
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough
39
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
40
+ auth: HA
41
+ params: QueryParams
42
+ input: HandlerInput
43
+ req: express.Request
44
+ res: express.Response
45
+ }
46
+ export type Handler<HA extends HandlerAuth = never> = (
47
+ ctx: HandlerReqCtx<HA>,
48
+ ) => Promise<HandlerOutput> | HandlerOutput
@@ -0,0 +1,68 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express'
5
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
+ import { lexicons } from '../../../../lexicons'
7
+ import { isObj, hasProp } from '../../../../util'
8
+ import { CID } from 'multiformats/cid'
9
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
10
+ import * as ChatBskyConvoDefs from './defs'
11
+
12
+ export interface QueryParams {}
13
+
14
+ export interface InputSchema {
15
+ items: BatchItem[]
16
+ [k: string]: unknown
17
+ }
18
+
19
+ export interface OutputSchema {
20
+ items: ChatBskyConvoDefs.MessageView[]
21
+ [k: string]: unknown
22
+ }
23
+
24
+ export interface HandlerInput {
25
+ encoding: 'application/json'
26
+ body: InputSchema
27
+ }
28
+
29
+ export interface HandlerSuccess {
30
+ encoding: 'application/json'
31
+ body: OutputSchema
32
+ headers?: { [key: string]: string }
33
+ }
34
+
35
+ export interface HandlerError {
36
+ status: number
37
+ message?: string
38
+ }
39
+
40
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough
41
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
42
+ auth: HA
43
+ params: QueryParams
44
+ input: HandlerInput
45
+ req: express.Request
46
+ res: express.Response
47
+ }
48
+ export type Handler<HA extends HandlerAuth = never> = (
49
+ ctx: HandlerReqCtx<HA>,
50
+ ) => Promise<HandlerOutput> | HandlerOutput
51
+
52
+ export interface BatchItem {
53
+ convoId: string
54
+ message: ChatBskyConvoDefs.Message
55
+ [k: string]: unknown
56
+ }
57
+
58
+ export function isBatchItem(v: unknown): v is BatchItem {
59
+ return (
60
+ isObj(v) &&
61
+ hasProp(v, '$type') &&
62
+ v.$type === 'chat.bsky.convo.sendMessageBatch#batchItem'
63
+ )
64
+ }
65
+
66
+ export function validateBatchItem(v: unknown): ValidationResult {
67
+ return lexicons.validate('chat.bsky.convo.sendMessageBatch#batchItem', v)
68
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express'
5
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
+ import { lexicons } from '../../../../lexicons'
7
+ import { isObj, hasProp } from '../../../../util'
8
+ import { CID } from 'multiformats/cid'
9
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
10
+ import * as ChatBskyConvoDefs from './defs'
11
+
12
+ export interface QueryParams {}
13
+
14
+ export interface InputSchema {
15
+ convoId: string
16
+ [k: string]: unknown
17
+ }
18
+
19
+ export interface OutputSchema {
20
+ convo: ChatBskyConvoDefs.ConvoView
21
+ [k: string]: unknown
22
+ }
23
+
24
+ export interface HandlerInput {
25
+ encoding: 'application/json'
26
+ body: InputSchema
27
+ }
28
+
29
+ export interface HandlerSuccess {
30
+ encoding: 'application/json'
31
+ body: OutputSchema
32
+ headers?: { [key: string]: string }
33
+ }
34
+
35
+ export interface HandlerError {
36
+ status: number
37
+ message?: string
38
+ }
39
+
40
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough
41
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
42
+ auth: HA
43
+ params: QueryParams
44
+ input: HandlerInput
45
+ req: express.Request
46
+ res: express.Response
47
+ }
48
+ export type Handler<HA extends HandlerAuth = never> = (
49
+ ctx: HandlerReqCtx<HA>,
50
+ ) => Promise<HandlerOutput> | HandlerOutput
@@ -0,0 +1,51 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express'
5
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
+ import { lexicons } from '../../../../lexicons'
7
+ import { isObj, hasProp } from '../../../../util'
8
+ import { CID } from 'multiformats/cid'
9
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
10
+ import * as ChatBskyConvoDefs from './defs'
11
+
12
+ export interface QueryParams {}
13
+
14
+ export interface InputSchema {
15
+ convoId: string
16
+ messageId?: string
17
+ [k: string]: unknown
18
+ }
19
+
20
+ export interface OutputSchema {
21
+ convo: ChatBskyConvoDefs.ConvoView
22
+ [k: string]: unknown
23
+ }
24
+
25
+ export interface HandlerInput {
26
+ encoding: 'application/json'
27
+ body: InputSchema
28
+ }
29
+
30
+ export interface HandlerSuccess {
31
+ encoding: 'application/json'
32
+ body: OutputSchema
33
+ headers?: { [key: string]: string }
34
+ }
35
+
36
+ export interface HandlerError {
37
+ status: number
38
+ message?: string
39
+ }
40
+
41
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough
42
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
43
+ auth: HA
44
+ params: QueryParams
45
+ input: HandlerInput
46
+ req: express.Request
47
+ res: express.Response
48
+ }
49
+ export type Handler<HA extends HandlerAuth = never> = (
50
+ ctx: HandlerReqCtx<HA>,
51
+ ) => Promise<HandlerOutput> | HandlerOutput
@@ -0,0 +1,67 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express'
5
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
+ import { lexicons } from '../../../../lexicons'
7
+ import { isObj, hasProp } from '../../../../util'
8
+ import { CID } from 'multiformats/cid'
9
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
10
+
11
+ export interface QueryParams {
12
+ actor: string
13
+ }
14
+
15
+ export type InputSchema = undefined
16
+
17
+ export interface OutputSchema {
18
+ day: Metadata
19
+ month: Metadata
20
+ all: Metadata
21
+ [k: string]: unknown
22
+ }
23
+
24
+ export type HandlerInput = undefined
25
+
26
+ export interface HandlerSuccess {
27
+ encoding: 'application/json'
28
+ body: OutputSchema
29
+ headers?: { [key: string]: string }
30
+ }
31
+
32
+ export interface HandlerError {
33
+ status: number
34
+ message?: string
35
+ }
36
+
37
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough
38
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
39
+ auth: HA
40
+ params: QueryParams
41
+ input: HandlerInput
42
+ req: express.Request
43
+ res: express.Response
44
+ }
45
+ export type Handler<HA extends HandlerAuth = never> = (
46
+ ctx: HandlerReqCtx<HA>,
47
+ ) => Promise<HandlerOutput> | HandlerOutput
48
+
49
+ export interface Metadata {
50
+ messagesSent: number
51
+ messagesReceived: number
52
+ convos: number
53
+ convosStarted: number
54
+ [k: string]: unknown
55
+ }
56
+
57
+ export function isMetadata(v: unknown): v is Metadata {
58
+ return (
59
+ isObj(v) &&
60
+ hasProp(v, '$type') &&
61
+ v.$type === 'chat.bsky.moderation.getActorMetadata#metadata'
62
+ )
63
+ }
64
+
65
+ export function validateMetadata(v: unknown): ValidationResult {
66
+ return lexicons.validate('chat.bsky.moderation.getActorMetadata#metadata', v)
67
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express'
5
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
+ import { lexicons } from '../../../../lexicons'
7
+ import { isObj, hasProp } from '../../../../util'
8
+ import { CID } from 'multiformats/cid'
9
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
10
+ import * as ChatBskyConvoDefs from '../convo/defs'
11
+
12
+ export interface QueryParams {
13
+ messageId: string
14
+ before: number
15
+ after: number
16
+ }
17
+
18
+ export type InputSchema = undefined
19
+
20
+ export interface OutputSchema {
21
+ messages: (
22
+ | ChatBskyConvoDefs.MessageView
23
+ | ChatBskyConvoDefs.DeletedMessageView
24
+ | { $type: string; [k: string]: unknown }
25
+ )[]
26
+ [k: string]: unknown
27
+ }
28
+
29
+ export type HandlerInput = undefined
30
+
31
+ export interface HandlerSuccess {
32
+ encoding: 'application/json'
33
+ body: OutputSchema
34
+ headers?: { [key: string]: string }
35
+ }
36
+
37
+ export interface HandlerError {
38
+ status: number
39
+ message?: string
40
+ }
41
+
42
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough
43
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
44
+ auth: HA
45
+ params: QueryParams
46
+ input: HandlerInput
47
+ req: express.Request
48
+ res: express.Response
49
+ }
50
+ export type Handler<HA extends HandlerAuth = never> = (
51
+ ctx: HandlerReqCtx<HA>,
52
+ ) => Promise<HandlerOutput> | HandlerOutput
@@ -0,0 +1,40 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express'
5
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
+ import { lexicons } from '../../../../lexicons'
7
+ import { isObj, hasProp } from '../../../../util'
8
+ import { CID } from 'multiformats/cid'
9
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
10
+
11
+ export interface QueryParams {}
12
+
13
+ export interface InputSchema {
14
+ actor: string
15
+ allowAccess: boolean
16
+ ref?: string
17
+ [k: string]: unknown
18
+ }
19
+
20
+ export interface HandlerInput {
21
+ encoding: 'application/json'
22
+ body: InputSchema
23
+ }
24
+
25
+ export interface HandlerError {
26
+ status: number
27
+ message?: string
28
+ }
29
+
30
+ export type HandlerOutput = HandlerError | void
31
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
32
+ auth: HA
33
+ params: QueryParams
34
+ input: HandlerInput
35
+ req: express.Request
36
+ res: express.Response
37
+ }
38
+ export type Handler<HA extends HandlerAuth = never> = (
39
+ ctx: HandlerReqCtx<HA>,
40
+ ) => Promise<HandlerOutput> | HandlerOutput