@atproto/pds 0.4.19 → 0.4.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (302) hide show
  1. package/CHANGELOG.md +13 -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/pipethrough.d.ts +12 -22
  33. package/dist/pipethrough.d.ts.map +1 -1
  34. package/dist/pipethrough.js +159 -81
  35. package/dist/pipethrough.js.map +1 -1
  36. package/package.json +8 -8
  37. package/src/api/app/bsky/actor/index.ts +0 -6
  38. package/src/api/app/bsky/feed/getFeed.ts +1 -3
  39. package/src/api/app/bsky/feed/index.ts +0 -20
  40. package/src/api/app/bsky/index.ts +0 -6
  41. package/src/api/app/bsky/notification/index.ts +0 -7
  42. package/src/api/com/atproto/index.ts +0 -2
  43. package/src/api/com/atproto/repo/getRecord.ts +1 -1
  44. package/src/api/index.ts +0 -2
  45. package/src/context.ts +34 -1
  46. package/src/index.ts +27 -51
  47. package/src/pipethrough.ts +184 -114
  48. package/dist/api/app/bsky/actor/getSuggestions.d.ts +0 -4
  49. package/dist/api/app/bsky/actor/getSuggestions.d.ts.map +0 -1
  50. package/dist/api/app/bsky/actor/getSuggestions.js +0 -19
  51. package/dist/api/app/bsky/actor/getSuggestions.js.map +0 -1
  52. package/dist/api/app/bsky/actor/searchActors.d.ts +0 -4
  53. package/dist/api/app/bsky/actor/searchActors.d.ts.map +0 -1
  54. package/dist/api/app/bsky/actor/searchActors.js +0 -17
  55. package/dist/api/app/bsky/actor/searchActors.js.map +0 -1
  56. package/dist/api/app/bsky/actor/searchActorsTypeahead.d.ts +0 -4
  57. package/dist/api/app/bsky/actor/searchActorsTypeahead.d.ts.map +0 -1
  58. package/dist/api/app/bsky/actor/searchActorsTypeahead.js +0 -17
  59. package/dist/api/app/bsky/actor/searchActorsTypeahead.js.map +0 -1
  60. package/dist/api/app/bsky/feed/getActorFeeds.d.ts +0 -4
  61. package/dist/api/app/bsky/feed/getActorFeeds.d.ts.map +0 -1
  62. package/dist/api/app/bsky/feed/getActorFeeds.js +0 -17
  63. package/dist/api/app/bsky/feed/getActorFeeds.js.map +0 -1
  64. package/dist/api/app/bsky/feed/getFeedGenerator.d.ts +0 -4
  65. package/dist/api/app/bsky/feed/getFeedGenerator.d.ts.map +0 -1
  66. package/dist/api/app/bsky/feed/getFeedGenerator.js +0 -17
  67. package/dist/api/app/bsky/feed/getFeedGenerator.js.map +0 -1
  68. package/dist/api/app/bsky/feed/getFeedGenerators.d.ts +0 -4
  69. package/dist/api/app/bsky/feed/getFeedGenerators.d.ts.map +0 -1
  70. package/dist/api/app/bsky/feed/getFeedGenerators.js +0 -17
  71. package/dist/api/app/bsky/feed/getFeedGenerators.js.map +0 -1
  72. package/dist/api/app/bsky/feed/getLikes.d.ts +0 -4
  73. package/dist/api/app/bsky/feed/getLikes.d.ts.map +0 -1
  74. package/dist/api/app/bsky/feed/getLikes.js +0 -17
  75. package/dist/api/app/bsky/feed/getLikes.js.map +0 -1
  76. package/dist/api/app/bsky/feed/getListFeed.d.ts +0 -4
  77. package/dist/api/app/bsky/feed/getListFeed.d.ts.map +0 -1
  78. package/dist/api/app/bsky/feed/getListFeed.js +0 -17
  79. package/dist/api/app/bsky/feed/getListFeed.js.map +0 -1
  80. package/dist/api/app/bsky/feed/getPosts.d.ts +0 -4
  81. package/dist/api/app/bsky/feed/getPosts.d.ts.map +0 -1
  82. package/dist/api/app/bsky/feed/getPosts.js +0 -17
  83. package/dist/api/app/bsky/feed/getPosts.js.map +0 -1
  84. package/dist/api/app/bsky/feed/getRepostedBy.d.ts +0 -4
  85. package/dist/api/app/bsky/feed/getRepostedBy.d.ts.map +0 -1
  86. package/dist/api/app/bsky/feed/getRepostedBy.js +0 -17
  87. package/dist/api/app/bsky/feed/getRepostedBy.js.map +0 -1
  88. package/dist/api/app/bsky/feed/getSuggestedFeeds.d.ts +0 -4
  89. package/dist/api/app/bsky/feed/getSuggestedFeeds.d.ts.map +0 -1
  90. package/dist/api/app/bsky/feed/getSuggestedFeeds.js +0 -17
  91. package/dist/api/app/bsky/feed/getSuggestedFeeds.js.map +0 -1
  92. package/dist/api/app/bsky/feed/searchPosts.d.ts +0 -4
  93. package/dist/api/app/bsky/feed/searchPosts.d.ts.map +0 -1
  94. package/dist/api/app/bsky/feed/searchPosts.js +0 -17
  95. package/dist/api/app/bsky/feed/searchPosts.js.map +0 -1
  96. package/dist/api/app/bsky/feed/sendInteractions.d.ts +0 -4
  97. package/dist/api/app/bsky/feed/sendInteractions.d.ts.map +0 -1
  98. package/dist/api/app/bsky/feed/sendInteractions.js +0 -14
  99. package/dist/api/app/bsky/feed/sendInteractions.js.map +0 -1
  100. package/dist/api/app/bsky/graph/getBlocks.d.ts +0 -4
  101. package/dist/api/app/bsky/graph/getBlocks.d.ts.map +0 -1
  102. package/dist/api/app/bsky/graph/getBlocks.js +0 -17
  103. package/dist/api/app/bsky/graph/getBlocks.js.map +0 -1
  104. package/dist/api/app/bsky/graph/getFollowers.d.ts +0 -4
  105. package/dist/api/app/bsky/graph/getFollowers.d.ts.map +0 -1
  106. package/dist/api/app/bsky/graph/getFollowers.js +0 -17
  107. package/dist/api/app/bsky/graph/getFollowers.js.map +0 -1
  108. package/dist/api/app/bsky/graph/getFollows.d.ts +0 -4
  109. package/dist/api/app/bsky/graph/getFollows.d.ts.map +0 -1
  110. package/dist/api/app/bsky/graph/getFollows.js +0 -17
  111. package/dist/api/app/bsky/graph/getFollows.js.map +0 -1
  112. package/dist/api/app/bsky/graph/getList.d.ts +0 -4
  113. package/dist/api/app/bsky/graph/getList.d.ts.map +0 -1
  114. package/dist/api/app/bsky/graph/getList.js +0 -17
  115. package/dist/api/app/bsky/graph/getList.js.map +0 -1
  116. package/dist/api/app/bsky/graph/getListBlocks.d.ts +0 -4
  117. package/dist/api/app/bsky/graph/getListBlocks.d.ts.map +0 -1
  118. package/dist/api/app/bsky/graph/getListBlocks.js +0 -17
  119. package/dist/api/app/bsky/graph/getListBlocks.js.map +0 -1
  120. package/dist/api/app/bsky/graph/getListMutes.d.ts +0 -4
  121. package/dist/api/app/bsky/graph/getListMutes.d.ts.map +0 -1
  122. package/dist/api/app/bsky/graph/getListMutes.js +0 -17
  123. package/dist/api/app/bsky/graph/getListMutes.js.map +0 -1
  124. package/dist/api/app/bsky/graph/getLists.d.ts +0 -4
  125. package/dist/api/app/bsky/graph/getLists.d.ts.map +0 -1
  126. package/dist/api/app/bsky/graph/getLists.js +0 -17
  127. package/dist/api/app/bsky/graph/getLists.js.map +0 -1
  128. package/dist/api/app/bsky/graph/getMutes.d.ts +0 -4
  129. package/dist/api/app/bsky/graph/getMutes.d.ts.map +0 -1
  130. package/dist/api/app/bsky/graph/getMutes.js +0 -17
  131. package/dist/api/app/bsky/graph/getMutes.js.map +0 -1
  132. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.d.ts +0 -4
  133. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +0 -1
  134. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js +0 -17
  135. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js.map +0 -1
  136. package/dist/api/app/bsky/graph/index.d.ts +0 -4
  137. package/dist/api/app/bsky/graph/index.d.ts.map +0 -1
  138. package/dist/api/app/bsky/graph/index.js +0 -35
  139. package/dist/api/app/bsky/graph/index.js.map +0 -1
  140. package/dist/api/app/bsky/graph/muteActor.d.ts +0 -4
  141. package/dist/api/app/bsky/graph/muteActor.d.ts.map +0 -1
  142. package/dist/api/app/bsky/graph/muteActor.js +0 -14
  143. package/dist/api/app/bsky/graph/muteActor.js.map +0 -1
  144. package/dist/api/app/bsky/graph/muteActorList.d.ts +0 -4
  145. package/dist/api/app/bsky/graph/muteActorList.d.ts.map +0 -1
  146. package/dist/api/app/bsky/graph/muteActorList.js +0 -14
  147. package/dist/api/app/bsky/graph/muteActorList.js.map +0 -1
  148. package/dist/api/app/bsky/graph/unmuteActor.d.ts +0 -4
  149. package/dist/api/app/bsky/graph/unmuteActor.d.ts.map +0 -1
  150. package/dist/api/app/bsky/graph/unmuteActor.js +0 -14
  151. package/dist/api/app/bsky/graph/unmuteActor.js.map +0 -1
  152. package/dist/api/app/bsky/graph/unmuteActorList.d.ts +0 -4
  153. package/dist/api/app/bsky/graph/unmuteActorList.d.ts.map +0 -1
  154. package/dist/api/app/bsky/graph/unmuteActorList.js +0 -14
  155. package/dist/api/app/bsky/graph/unmuteActorList.js.map +0 -1
  156. package/dist/api/app/bsky/labeler/getServices.d.ts +0 -4
  157. package/dist/api/app/bsky/labeler/getServices.d.ts.map +0 -1
  158. package/dist/api/app/bsky/labeler/getServices.js +0 -14
  159. package/dist/api/app/bsky/labeler/getServices.js.map +0 -1
  160. package/dist/api/app/bsky/labeler/index.d.ts +0 -4
  161. package/dist/api/app/bsky/labeler/index.d.ts.map +0 -1
  162. package/dist/api/app/bsky/labeler/index.js +0 -11
  163. package/dist/api/app/bsky/labeler/index.js.map +0 -1
  164. package/dist/api/app/bsky/notification/getUnreadCount.d.ts +0 -4
  165. package/dist/api/app/bsky/notification/getUnreadCount.d.ts.map +0 -1
  166. package/dist/api/app/bsky/notification/getUnreadCount.js +0 -17
  167. package/dist/api/app/bsky/notification/getUnreadCount.js.map +0 -1
  168. package/dist/api/app/bsky/notification/listNotifications.d.ts +0 -4
  169. package/dist/api/app/bsky/notification/listNotifications.d.ts.map +0 -1
  170. package/dist/api/app/bsky/notification/listNotifications.js +0 -17
  171. package/dist/api/app/bsky/notification/listNotifications.js.map +0 -1
  172. package/dist/api/app/bsky/notification/updateSeen.d.ts +0 -4
  173. package/dist/api/app/bsky/notification/updateSeen.d.ts.map +0 -1
  174. package/dist/api/app/bsky/notification/updateSeen.js +0 -14
  175. package/dist/api/app/bsky/notification/updateSeen.js.map +0 -1
  176. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.d.ts +0 -4
  177. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +0 -1
  178. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js +0 -18
  179. package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js.map +0 -1
  180. package/dist/api/app/bsky/unspecced/getTaggedSuggestions.d.ts +0 -4
  181. package/dist/api/app/bsky/unspecced/getTaggedSuggestions.d.ts.map +0 -1
  182. package/dist/api/app/bsky/unspecced/getTaggedSuggestions.js +0 -18
  183. package/dist/api/app/bsky/unspecced/getTaggedSuggestions.js.map +0 -1
  184. package/dist/api/app/bsky/unspecced/index.d.ts +0 -4
  185. package/dist/api/app/bsky/unspecced/index.d.ts.map +0 -1
  186. package/dist/api/app/bsky/unspecced/index.js +0 -14
  187. package/dist/api/app/bsky/unspecced/index.js.map +0 -1
  188. package/dist/api/com/atproto/moderation/createReport.d.ts +0 -4
  189. package/dist/api/com/atproto/moderation/createReport.d.ts.map +0 -1
  190. package/dist/api/com/atproto/moderation/createReport.js +0 -14
  191. package/dist/api/com/atproto/moderation/createReport.js.map +0 -1
  192. package/dist/api/com/atproto/moderation/index.d.ts +0 -4
  193. package/dist/api/com/atproto/moderation/index.d.ts.map +0 -1
  194. package/dist/api/com/atproto/moderation/index.js +0 -11
  195. package/dist/api/com/atproto/moderation/index.js.map +0 -1
  196. package/dist/api/tools/ozone/communication/createTemplate.d.ts +0 -4
  197. package/dist/api/tools/ozone/communication/createTemplate.d.ts.map +0 -1
  198. package/dist/api/tools/ozone/communication/createTemplate.js +0 -14
  199. package/dist/api/tools/ozone/communication/createTemplate.js.map +0 -1
  200. package/dist/api/tools/ozone/communication/deleteTemplate.d.ts +0 -4
  201. package/dist/api/tools/ozone/communication/deleteTemplate.d.ts.map +0 -1
  202. package/dist/api/tools/ozone/communication/deleteTemplate.js +0 -14
  203. package/dist/api/tools/ozone/communication/deleteTemplate.js.map +0 -1
  204. package/dist/api/tools/ozone/communication/index.d.ts +0 -4
  205. package/dist/api/tools/ozone/communication/index.d.ts.map +0 -1
  206. package/dist/api/tools/ozone/communication/index.js +0 -17
  207. package/dist/api/tools/ozone/communication/index.js.map +0 -1
  208. package/dist/api/tools/ozone/communication/listTemplates.d.ts +0 -4
  209. package/dist/api/tools/ozone/communication/listTemplates.d.ts.map +0 -1
  210. package/dist/api/tools/ozone/communication/listTemplates.js +0 -14
  211. package/dist/api/tools/ozone/communication/listTemplates.js.map +0 -1
  212. package/dist/api/tools/ozone/communication/updateTemplate.d.ts +0 -4
  213. package/dist/api/tools/ozone/communication/updateTemplate.d.ts.map +0 -1
  214. package/dist/api/tools/ozone/communication/updateTemplate.js +0 -14
  215. package/dist/api/tools/ozone/communication/updateTemplate.js.map +0 -1
  216. package/dist/api/tools/ozone/index.d.ts +0 -4
  217. package/dist/api/tools/ozone/index.d.ts.map +0 -1
  218. package/dist/api/tools/ozone/index.js +0 -13
  219. package/dist/api/tools/ozone/index.js.map +0 -1
  220. package/dist/api/tools/ozone/moderation/emitEvent.d.ts +0 -4
  221. package/dist/api/tools/ozone/moderation/emitEvent.d.ts.map +0 -1
  222. package/dist/api/tools/ozone/moderation/emitEvent.js +0 -14
  223. package/dist/api/tools/ozone/moderation/emitEvent.js.map +0 -1
  224. package/dist/api/tools/ozone/moderation/getEvent.d.ts +0 -4
  225. package/dist/api/tools/ozone/moderation/getEvent.d.ts.map +0 -1
  226. package/dist/api/tools/ozone/moderation/getEvent.js +0 -14
  227. package/dist/api/tools/ozone/moderation/getEvent.js.map +0 -1
  228. package/dist/api/tools/ozone/moderation/getRecord.d.ts +0 -4
  229. package/dist/api/tools/ozone/moderation/getRecord.d.ts.map +0 -1
  230. package/dist/api/tools/ozone/moderation/getRecord.js +0 -14
  231. package/dist/api/tools/ozone/moderation/getRecord.js.map +0 -1
  232. package/dist/api/tools/ozone/moderation/getRepo.d.ts +0 -4
  233. package/dist/api/tools/ozone/moderation/getRepo.d.ts.map +0 -1
  234. package/dist/api/tools/ozone/moderation/getRepo.js +0 -14
  235. package/dist/api/tools/ozone/moderation/getRepo.js.map +0 -1
  236. package/dist/api/tools/ozone/moderation/index.d.ts +0 -4
  237. package/dist/api/tools/ozone/moderation/index.d.ts.map +0 -1
  238. package/dist/api/tools/ozone/moderation/index.js +0 -23
  239. package/dist/api/tools/ozone/moderation/index.js.map +0 -1
  240. package/dist/api/tools/ozone/moderation/queryEvents.d.ts +0 -4
  241. package/dist/api/tools/ozone/moderation/queryEvents.d.ts.map +0 -1
  242. package/dist/api/tools/ozone/moderation/queryEvents.js +0 -14
  243. package/dist/api/tools/ozone/moderation/queryEvents.js.map +0 -1
  244. package/dist/api/tools/ozone/moderation/queryStatuses.d.ts +0 -4
  245. package/dist/api/tools/ozone/moderation/queryStatuses.d.ts.map +0 -1
  246. package/dist/api/tools/ozone/moderation/queryStatuses.js +0 -14
  247. package/dist/api/tools/ozone/moderation/queryStatuses.js.map +0 -1
  248. package/dist/api/tools/ozone/moderation/searchRepos.d.ts +0 -4
  249. package/dist/api/tools/ozone/moderation/searchRepos.d.ts.map +0 -1
  250. package/dist/api/tools/ozone/moderation/searchRepos.js +0 -14
  251. package/dist/api/tools/ozone/moderation/searchRepos.js.map +0 -1
  252. package/src/api/app/bsky/actor/getSuggestions.ts +0 -17
  253. package/src/api/app/bsky/actor/searchActors.ts +0 -15
  254. package/src/api/app/bsky/actor/searchActorsTypeahead.ts +0 -15
  255. package/src/api/app/bsky/feed/getActorFeeds.ts +0 -15
  256. package/src/api/app/bsky/feed/getFeedGenerator.ts +0 -15
  257. package/src/api/app/bsky/feed/getFeedGenerators.ts +0 -15
  258. package/src/api/app/bsky/feed/getLikes.ts +0 -15
  259. package/src/api/app/bsky/feed/getListFeed.ts +0 -15
  260. package/src/api/app/bsky/feed/getPosts.ts +0 -15
  261. package/src/api/app/bsky/feed/getRepostedBy.ts +0 -15
  262. package/src/api/app/bsky/feed/getSuggestedFeeds.ts +0 -15
  263. package/src/api/app/bsky/feed/searchPosts.ts +0 -15
  264. package/src/api/app/bsky/feed/sendInteractions.ts +0 -13
  265. package/src/api/app/bsky/graph/getBlocks.ts +0 -15
  266. package/src/api/app/bsky/graph/getFollowers.ts +0 -15
  267. package/src/api/app/bsky/graph/getFollows.ts +0 -15
  268. package/src/api/app/bsky/graph/getList.ts +0 -15
  269. package/src/api/app/bsky/graph/getListBlocks.ts +0 -15
  270. package/src/api/app/bsky/graph/getListMutes.ts +0 -15
  271. package/src/api/app/bsky/graph/getLists.ts +0 -15
  272. package/src/api/app/bsky/graph/getMutes.ts +0 -15
  273. package/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts +0 -15
  274. package/src/api/app/bsky/graph/index.ts +0 -31
  275. package/src/api/app/bsky/graph/muteActor.ts +0 -13
  276. package/src/api/app/bsky/graph/muteActorList.ts +0 -13
  277. package/src/api/app/bsky/graph/unmuteActor.ts +0 -13
  278. package/src/api/app/bsky/graph/unmuteActorList.ts +0 -13
  279. package/src/api/app/bsky/labeler/getServices.ts +0 -13
  280. package/src/api/app/bsky/labeler/index.ts +0 -7
  281. package/src/api/app/bsky/notification/getUnreadCount.ts +0 -15
  282. package/src/api/app/bsky/notification/listNotifications.ts +0 -15
  283. package/src/api/app/bsky/notification/updateSeen.ts +0 -13
  284. package/src/api/app/bsky/unspecced/getPopularFeedGenerators.ts +0 -16
  285. package/src/api/app/bsky/unspecced/getTaggedSuggestions.ts +0 -16
  286. package/src/api/app/bsky/unspecced/index.ts +0 -10
  287. package/src/api/com/atproto/moderation/createReport.ts +0 -13
  288. package/src/api/com/atproto/moderation/index.ts +0 -7
  289. package/src/api/tools/ozone/communication/createTemplate.ts +0 -13
  290. package/src/api/tools/ozone/communication/deleteTemplate.ts +0 -13
  291. package/src/api/tools/ozone/communication/index.ts +0 -13
  292. package/src/api/tools/ozone/communication/listTemplates.ts +0 -13
  293. package/src/api/tools/ozone/communication/updateTemplate.ts +0 -13
  294. package/src/api/tools/ozone/index.ts +0 -9
  295. package/src/api/tools/ozone/moderation/emitEvent.ts +0 -13
  296. package/src/api/tools/ozone/moderation/getEvent.ts +0 -13
  297. package/src/api/tools/ozone/moderation/getRecord.ts +0 -13
  298. package/src/api/tools/ozone/moderation/getRepo.ts +0 -13
  299. package/src/api/tools/ozone/moderation/index.ts +0 -19
  300. package/src/api/tools/ozone/moderation/queryEvents.ts +0 -13
  301. package/src/api/tools/ozone/moderation/queryStatuses.ts +0 -13
  302. package/src/api/tools/ozone/moderation/searchRepos.ts +0 -13
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const communication_1 = __importDefault(require("./communication"));
7
- const moderation_1 = __importDefault(require("./moderation"));
8
- function default_1(server, ctx) {
9
- (0, communication_1.default)(server, ctx);
10
- (0, moderation_1.default)(server, ctx);
11
- }
12
- exports.default = default_1;
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/tools/ozone/index.ts"],"names":[],"mappings":";;;;;AAEA,oEAA2C;AAC3C,8DAAqC;AAErC,mBAAyB,MAAc,EAAE,GAAe;IACtD,IAAA,uBAAa,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,IAAA,oBAAU,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AACzB,CAAC;AAHD,4BAGC"}
@@ -1,4 +0,0 @@
1
- import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
- export default function (server: Server, ctx: AppContext): void;
4
- //# sourceMappingURL=emitEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emitEvent.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/emitEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const pipethrough_1 = require("../../../../pipethrough");
4
- function default_1(server, ctx) {
5
- server.tools.ozone.moderation.emitEvent({
6
- auth: ctx.authVerifier.access,
7
- handler: async ({ req, input, auth }) => {
8
- const requester = auth.credentials.did;
9
- return (0, pipethrough_1.pipethroughProcedure)(ctx, req, input.body, requester);
10
- },
11
- });
12
- }
13
- exports.default = default_1;
14
- //# sourceMappingURL=emitEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emitEvent.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/emitEvent.ts"],"names":[],"mappings":";;AAEA,yDAA8D;AAE9D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;YACtC,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,kCAAoB,EAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAA;QAC9D,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
@@ -1,4 +0,0 @@
1
- import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
- export default function (server: Server, ctx: AppContext): void;
4
- //# sourceMappingURL=getEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getEvent.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const pipethrough_1 = require("../../../../pipethrough");
4
- function default_1(server, ctx) {
5
- server.tools.ozone.moderation.getEvent({
6
- auth: ctx.authVerifier.access,
7
- handler: async ({ req, auth }) => {
8
- const requester = auth.credentials.did;
9
- return (0, pipethrough_1.pipethrough)(ctx, req, requester);
10
- },
11
- });
12
- }
13
- exports.default = default_1;
14
- //# sourceMappingURL=getEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getEvent.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getEvent.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;QACrC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
@@ -1,4 +0,0 @@
1
- import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
- export default function (server: Server, ctx: AppContext): void;
4
- //# sourceMappingURL=getRecord.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getRecord.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const pipethrough_1 = require("../../../../pipethrough");
4
- function default_1(server, ctx) {
5
- server.tools.ozone.moderation.getRecord({
6
- auth: ctx.authVerifier.access,
7
- handler: async ({ req, auth }) => {
8
- const requester = auth.credentials.did;
9
- return (0, pipethrough_1.pipethrough)(ctx, req, requester);
10
- },
11
- });
12
- }
13
- exports.default = default_1;
14
- //# sourceMappingURL=getRecord.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getRecord.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
@@ -1,4 +0,0 @@
1
- import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
- export default function (server: Server, ctx: AppContext): void;
4
- //# sourceMappingURL=getRepo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getRepo.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getRepo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const pipethrough_1 = require("../../../../pipethrough");
4
- function default_1(server, ctx) {
5
- server.tools.ozone.moderation.getRepo({
6
- auth: ctx.authVerifier.access,
7
- handler: async ({ req, auth }) => {
8
- const requester = auth.credentials.did;
9
- return (0, pipethrough_1.pipethrough)(ctx, req, requester);
10
- },
11
- });
12
- }
13
- exports.default = default_1;
14
- //# sourceMappingURL=getRepo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getRepo.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getRepo.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC;QACpC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
@@ -1,4 +0,0 @@
1
- import AppContext from '../../../../context';
2
- import { Server } from '../../../../lexicon';
3
- export default function (server: Server, ctx: AppContext): void;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAS5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const emitEvent_1 = __importDefault(require("./emitEvent"));
7
- const getEvent_1 = __importDefault(require("./getEvent"));
8
- const getRecord_1 = __importDefault(require("./getRecord"));
9
- const getRepo_1 = __importDefault(require("./getRepo"));
10
- const queryEvents_1 = __importDefault(require("./queryEvents"));
11
- const queryStatuses_1 = __importDefault(require("./queryStatuses"));
12
- const searchRepos_1 = __importDefault(require("./searchRepos"));
13
- function default_1(server, ctx) {
14
- (0, emitEvent_1.default)(server, ctx);
15
- (0, getEvent_1.default)(server, ctx);
16
- (0, getRecord_1.default)(server, ctx);
17
- (0, getRepo_1.default)(server, ctx);
18
- (0, queryEvents_1.default)(server, ctx);
19
- (0, queryStatuses_1.default)(server, ctx);
20
- (0, searchRepos_1.default)(server, ctx);
21
- }
22
- exports.default = default_1;
23
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/index.ts"],"names":[],"mappings":";;;;;AAEA,4DAAmC;AACnC,0DAAiC;AACjC,4DAAmC;AACnC,wDAA+B;AAC/B,gEAAuC;AACvC,oEAA2C;AAC3C,gEAAuC;AAEvC,mBAAyB,MAAc,EAAE,GAAe;IACtD,IAAA,mBAAS,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACtB,IAAA,kBAAQ,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACrB,IAAA,mBAAS,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACtB,IAAA,iBAAO,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACpB,IAAA,qBAAW,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACxB,IAAA,uBAAa,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,IAAA,qBAAW,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAC1B,CAAC;AARD,4BAQC"}
@@ -1,4 +0,0 @@
1
- import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
- export default function (server: Server, ctx: AppContext): void;
4
- //# sourceMappingURL=queryEvents.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryEvents.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/queryEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const pipethrough_1 = require("../../../../pipethrough");
4
- function default_1(server, ctx) {
5
- server.tools.ozone.moderation.queryEvents({
6
- auth: ctx.authVerifier.access,
7
- handler: async ({ req, auth }) => {
8
- const requester = auth.credentials.did;
9
- return (0, pipethrough_1.pipethrough)(ctx, req, requester);
10
- },
11
- });
12
- }
13
- exports.default = default_1;
14
- //# sourceMappingURL=queryEvents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryEvents.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/queryEvents.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;QACxC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
@@ -1,4 +0,0 @@
1
- import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
- export default function (server: Server, ctx: AppContext): void;
4
- //# sourceMappingURL=queryStatuses.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryStatuses.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/queryStatuses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const pipethrough_1 = require("../../../../pipethrough");
4
- function default_1(server, ctx) {
5
- server.tools.ozone.moderation.queryStatuses({
6
- auth: ctx.authVerifier.access,
7
- handler: async ({ req, auth }) => {
8
- const requester = auth.credentials.did;
9
- return (0, pipethrough_1.pipethrough)(ctx, req, requester);
10
- },
11
- });
12
- }
13
- exports.default = default_1;
14
- //# sourceMappingURL=queryStatuses.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryStatuses.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/queryStatuses.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC;QAC1C,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
@@ -1,4 +0,0 @@
1
- import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
- export default function (server: Server, ctx: AppContext): void;
4
- //# sourceMappingURL=searchRepos.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchRepos.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/searchRepos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const pipethrough_1 = require("../../../../pipethrough");
4
- function default_1(server, ctx) {
5
- server.tools.ozone.moderation.searchRepos({
6
- auth: ctx.authVerifier.access,
7
- handler: async ({ req, auth }) => {
8
- const requester = auth.credentials.did;
9
- return (0, pipethrough_1.pipethrough)(ctx, req, requester);
10
- },
11
- });
12
- }
13
- exports.default = default_1;
14
- //# sourceMappingURL=searchRepos.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchRepos.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/searchRepos.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;QACxC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
@@ -1,17 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.actor.getSuggestions({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester, undefined, {
13
- reqHeadersToForward: ['x-bsky-topics'],
14
- })
15
- },
16
- })
17
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.actor.searchActors({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.actor.searchActorsTypeahead({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.feed.getActorFeeds({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.feed.getFeedGenerator({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.feed.getFeedGenerators({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.feed.getLikes({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.feed.getListFeed({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.feed.getPosts({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.feed.getRepostedBy({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.feed.getSuggestedFeeds({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.feed.searchPosts({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,13 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethroughProcedure } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- server.app.bsky.feed.sendInteractions({
7
- auth: ctx.authVerifier.access,
8
- handler: async ({ input, auth, req }) => {
9
- const requester = auth.credentials.did
10
- return pipethroughProcedure(ctx, req, input.body, requester)
11
- },
12
- })
13
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.graph.getBlocks({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.graph.getFollowers({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.graph.getFollows({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.graph.getList({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.graph.getListBlocks({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.graph.getListMutes({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.graph.getLists({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }
@@ -1,15 +0,0 @@
1
- import { Server } from '../../../../lexicon'
2
- import AppContext from '../../../../context'
3
- import { pipethrough } from '../../../../pipethrough'
4
-
5
- export default function (server: Server, ctx: AppContext) {
6
- const { bskyAppView } = ctx.cfg
7
- if (!bskyAppView) return
8
- server.app.bsky.graph.getMutes({
9
- auth: ctx.authVerifier.access,
10
- handler: async ({ req, auth }) => {
11
- const requester = auth.credentials.did
12
- return pipethrough(ctx, req, requester)
13
- },
14
- })
15
- }