@atproto/api 0.11.0-next → 0.11.0

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 (377) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +41 -58
  3. package/definitions/labels.json +3 -60
  4. package/dist/agent.d.ts +11 -5
  5. package/dist/bsky-agent.d.ts +5 -3
  6. package/dist/client/lexicons.d.ts +34 -3
  7. package/dist/client/types/app/bsky/actor/defs.d.ts +7 -7
  8. package/dist/client/types/app/bsky/feed/defs.d.ts +1 -0
  9. package/dist/client/types/app/bsky/graph/defs.d.ts +3 -0
  10. package/dist/client/types/com/atproto/label/defs.d.ts +2 -0
  11. package/dist/const.d.ts +1 -1
  12. package/dist/index.js +581 -204
  13. package/dist/index.js.map +3 -3
  14. package/dist/mocker.d.ts +2 -1
  15. package/dist/moderation/const/labels.d.ts +3 -3
  16. package/dist/moderation/decision.d.ts +2 -0
  17. package/dist/moderation/index.d.ts +1 -0
  18. package/dist/moderation/mutewords.d.ts +8 -0
  19. package/dist/moderation/subjects/feed-generator.d.ts +1 -1
  20. package/dist/moderation/subjects/user-list.d.ts +1 -1
  21. package/dist/moderation/types.d.ts +22 -6
  22. package/dist/moderation/util.d.ts +3 -3
  23. package/dist/types.d.ts +3 -4
  24. package/docs/moderation.md +204 -95
  25. package/package.json +9 -9
  26. package/scripts/code/labels.mjs +2 -2
  27. package/src/agent.ts +61 -16
  28. package/src/bsky-agent.ts +190 -71
  29. package/src/client/lexicons.ts +37 -5
  30. package/src/client/types/app/bsky/actor/defs.ts +11 -11
  31. package/src/client/types/app/bsky/feed/defs.ts +1 -0
  32. package/src/client/types/app/bsky/graph/defs.ts +3 -0
  33. package/src/client/types/com/atproto/label/defs.ts +4 -0
  34. package/src/const.ts +1 -1
  35. package/src/mocker.ts +4 -0
  36. package/src/moderation/const/labels.ts +9 -72
  37. package/src/moderation/decision.ts +82 -36
  38. package/src/moderation/index.ts +5 -24
  39. package/src/moderation/mutewords.ts +125 -0
  40. package/src/moderation/subjects/feed-generator.ts +18 -4
  41. package/src/moderation/subjects/notification.ts +7 -1
  42. package/src/moderation/subjects/post.ts +260 -1
  43. package/src/moderation/subjects/user-list.ts +38 -4
  44. package/src/moderation/types.ts +51 -12
  45. package/src/moderation/util.ts +33 -16
  46. package/src/types.ts +7 -3
  47. package/tests/agent.test.ts +71 -5
  48. package/tests/bsky-agent.test.ts +150 -217
  49. package/tests/moderation-behaviors.test.ts +5 -60
  50. package/tests/moderation-custom-labels.test.ts +46 -71
  51. package/tests/moderation-mutewords.test.ts +691 -0
  52. package/tests/moderation-prefs.test.ts +157 -92
  53. package/tests/moderation-quoteposts.test.ts +277 -0
  54. package/tests/moderation.test.ts +302 -38
  55. package/tests/util/moderation-behavior.ts +3 -1
  56. package/dist/client/types/app/bsky/actor/createScene.d.ts +0 -32
  57. package/dist/client/types/app/bsky/actor/ref.d.ts +0 -28
  58. package/dist/client/types/app/bsky/actor/search.d.ts +0 -22
  59. package/dist/client/types/app/bsky/actor/searchActor.d.ts +0 -22
  60. package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +0 -20
  61. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -20
  62. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -47
  63. package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +0 -17
  64. package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +0 -28
  65. package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +0 -21
  66. package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +0 -21
  67. package/dist/client/types/app/bsky/feed/getVotes.d.ts +0 -36
  68. package/dist/client/types/app/bsky/feed/saveFeed.d.ts +0 -17
  69. package/dist/client/types/app/bsky/feed/setVote.d.ts +0 -25
  70. package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
  71. package/dist/client/types/app/bsky/feed/unbookmarkFeed.d.ts +0 -17
  72. package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +0 -17
  73. package/dist/client/types/app/bsky/feed/vote.d.ts +0 -10
  74. package/dist/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
  75. package/dist/client/types/app/bsky/graph/assertMember.d.ts +0 -1
  76. package/dist/client/types/app/bsky/graph/assertion.d.ts +0 -10
  77. package/dist/client/types/app/bsky/graph/confirmation.d.ts +0 -11
  78. package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
  79. package/dist/client/types/app/bsky/graph/getMembers.d.ts +0 -36
  80. package/dist/client/types/app/bsky/graph/getMemberships.d.ts +0 -36
  81. package/dist/client/types/app/bsky/graph/mute.d.ts +0 -17
  82. package/dist/client/types/app/bsky/graph/unmute.d.ts +0 -17
  83. package/dist/client/types/app/bsky/moderation/defs.d.ts +0 -41
  84. package/dist/client/types/app/bsky/moderation/getService.d.ts +0 -16
  85. package/dist/client/types/app/bsky/moderation/getServices.d.ts +0 -23
  86. package/dist/client/types/app/bsky/moderation/service.d.ts +0 -14
  87. package/dist/client/types/app/bsky/notification/getCount.d.ts +0 -17
  88. package/dist/client/types/app/bsky/notification/list.d.ts +0 -35
  89. package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
  90. package/dist/client/types/app/bsky/system/actorUser.d.ts +0 -1
  91. package/dist/client/types/app/bsky/system/declRef.d.ts +0 -8
  92. package/dist/client/types/app/bsky/system/declaration.d.ts +0 -7
  93. package/dist/client/types/app/bsky/unspecced/applyLabels.d.ts +0 -18
  94. package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +0 -22
  95. package/dist/client/types/app/bsky/unspecced/getTimelineSkeleton.d.ts +0 -24
  96. package/dist/client/types/com/atproto/account/create.d.ts +0 -41
  97. package/dist/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
  98. package/dist/client/types/com/atproto/account/delete.d.ts +0 -25
  99. package/dist/client/types/com/atproto/account/get.d.ts +0 -12
  100. package/dist/client/types/com/atproto/account/requestDelete.d.ts +0 -13
  101. package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
  102. package/dist/client/types/com/atproto/account/resetPassword.d.ts +0 -24
  103. package/dist/client/types/com/atproto/admin/blob.d.ts +0 -37
  104. package/dist/client/types/com/atproto/admin/createCommunicationTemplate.d.ts +0 -23
  105. package/dist/client/types/com/atproto/admin/deleteCommunicationTemplate.d.ts +0 -17
  106. package/dist/client/types/com/atproto/admin/emitModerationEvent.d.ts +0 -33
  107. package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +0 -29
  108. package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +0 -16
  109. package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +0 -22
  110. package/dist/client/types/com/atproto/admin/getModerationEvent.d.ts +0 -16
  111. package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +0 -16
  112. package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +0 -28
  113. package/dist/client/types/com/atproto/admin/getRecord.d.ts +0 -20
  114. package/dist/client/types/com/atproto/admin/getRepo.d.ts +0 -19
  115. package/dist/client/types/com/atproto/admin/getSubjectState.d.ts +0 -26
  116. package/dist/client/types/com/atproto/admin/getUserAccountInfo.d.ts +0 -16
  117. package/dist/client/types/com/atproto/admin/listCommunicationTemplates.d.ts +0 -18
  118. package/dist/client/types/com/atproto/admin/moderationAction.d.ts +0 -60
  119. package/dist/client/types/com/atproto/admin/moderationReport.d.ts +0 -37
  120. package/dist/client/types/com/atproto/admin/queryModerationEvents.d.ts +0 -35
  121. package/dist/client/types/com/atproto/admin/queryModerationStatuses.d.ts +0 -37
  122. package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +0 -24
  123. package/dist/client/types/com/atproto/admin/record.d.ts +0 -43
  124. package/dist/client/types/com/atproto/admin/repo.d.ts +0 -45
  125. package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +0 -22
  126. package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +0 -22
  127. package/dist/client/types/com/atproto/admin/searchRepos.d.ts +0 -23
  128. package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +0 -34
  129. package/dist/client/types/com/atproto/admin/updateCommunicationTemplate.d.ts +0 -25
  130. package/dist/client/types/com/atproto/admin/updateSubjectState.d.ts +0 -32
  131. package/dist/client/types/com/atproto/blob/upload.d.ts +0 -19
  132. package/dist/client/types/com/atproto/handle/resolve.d.ts +0 -18
  133. package/dist/client/types/com/atproto/handle/update.d.ts +0 -17
  134. package/dist/client/types/com/atproto/repo/batchWrite.d.ts +0 -46
  135. package/dist/client/types/com/atproto/repo/describe.d.ts +0 -22
  136. package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +0 -24
  137. package/dist/client/types/com/atproto/repo/recordRef.d.ts +0 -8
  138. package/dist/client/types/com/atproto/repo/repoRef.d.ts +0 -7
  139. package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +0 -19
  140. package/dist/client/types/com/atproto/report/create.d.ts +0 -39
  141. package/dist/client/types/com/atproto/report/reasonType.d.ts +0 -3
  142. package/dist/client/types/com/atproto/report/subject.d.ts +0 -23
  143. package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -27
  144. package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +0 -31
  145. package/dist/client/types/com/atproto/session/create.d.ts +0 -29
  146. package/dist/client/types/com/atproto/session/delete.d.ts +0 -13
  147. package/dist/client/types/com/atproto/session/get.d.ts +0 -18
  148. package/dist/client/types/com/atproto/session/refresh.d.ts +0 -24
  149. package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +0 -20
  150. package/dist/client/types/com/atproto/sync/getCurrent.d.ts +0 -22
  151. package/dist/client/types/com/atproto/sync/getRoot.d.ts +0 -21
  152. package/dist/client/types/com/atproto/sync/importRepo.d.ts +0 -16
  153. package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +0 -9
  154. package/dist/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
  155. package/dist/client/types/com/atproto/temp/importRepo.d.ts +0 -16
  156. package/dist/client/types/com/atproto/temp/pushBlob.d.ts +0 -15
  157. package/dist/client/types/com/atproto/temp/transferAccount.d.ts +0 -48
  158. package/dist/client/types/com/atproto/temp/upgradeRepoVersion.d.ts +0 -18
  159. package/dist/moderation/accumulator.d.ts +0 -16
  160. package/dist/moderation/const/label-groups.d.ts +0 -2
  161. package/dist/moderation/subjects/quoted-post.d.ts +0 -6
  162. package/dist/session.d.ts +0 -42
  163. package/dist/src/client/index.d.ts +0 -462
  164. package/dist/src/client/lexicons.d.ts +0 -2910
  165. package/dist/src/client/schemas.d.ts +0 -17
  166. package/dist/src/client/types/app/bsky/actor/createScene.d.ts +0 -32
  167. package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +0 -36
  168. package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +0 -36
  169. package/dist/src/client/types/app/bsky/actor/profile.d.ts +0 -15
  170. package/dist/src/client/types/app/bsky/actor/ref.d.ts +0 -14
  171. package/dist/src/client/types/app/bsky/actor/search.d.ts +0 -32
  172. package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -28
  173. package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +0 -48
  174. package/dist/src/client/types/app/bsky/badge.d.ts +0 -22
  175. package/dist/src/client/types/app/bsky/badgeAccept.d.ts +0 -11
  176. package/dist/src/client/types/app/bsky/badgeOffer.d.ts +0 -11
  177. package/dist/src/client/types/app/bsky/declaration.d.ts +0 -6
  178. package/dist/src/client/types/app/bsky/embed/external.d.ts +0 -26
  179. package/dist/src/client/types/app/bsky/embed/images.d.ts +0 -23
  180. package/dist/src/client/types/app/bsky/feed/embed.d.ts +0 -36
  181. package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +0 -26
  182. package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +0 -22
  183. package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +0 -43
  184. package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -35
  185. package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +0 -22
  186. package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +0 -33
  187. package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +0 -18
  188. package/dist/src/client/types/app/bsky/feed/post.d.ts +0 -54
  189. package/dist/src/client/types/app/bsky/feed/repost.d.ts +0 -6
  190. package/dist/src/client/types/app/bsky/feed/setVote.d.ts +0 -25
  191. package/dist/src/client/types/app/bsky/feed/trend.d.ts +0 -6
  192. package/dist/src/client/types/app/bsky/feed/vote.d.ts +0 -7
  193. package/dist/src/client/types/app/bsky/follow.d.ts +0 -9
  194. package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +0 -56
  195. package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +0 -29
  196. package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +0 -56
  197. package/dist/src/client/types/app/bsky/getLikedBy.d.ts +0 -29
  198. package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +0 -16
  199. package/dist/src/client/types/app/bsky/getNotifications.d.ts +0 -33
  200. package/dist/src/client/types/app/bsky/getPostThread.d.ts +0 -55
  201. package/dist/src/client/types/app/bsky/getProfile.d.ts +0 -26
  202. package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +0 -29
  203. package/dist/src/client/types/app/bsky/getTimeline.d.ts +0 -56
  204. package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +0 -31
  205. package/dist/src/client/types/app/bsky/getUserFollows.d.ts +0 -31
  206. package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +0 -26
  207. package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +0 -22
  208. package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
  209. package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +0 -1
  210. package/dist/src/client/types/app/bsky/graph/assertion.d.ts +0 -7
  211. package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +0 -8
  212. package/dist/src/client/types/app/bsky/graph/follow.d.ts +0 -6
  213. package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +0 -43
  214. package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +0 -34
  215. package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +0 -33
  216. package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +0 -33
  217. package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +0 -33
  218. package/dist/src/client/types/app/bsky/invite.d.ts +0 -10
  219. package/dist/src/client/types/app/bsky/inviteAccept.d.ts +0 -14
  220. package/dist/src/client/types/app/bsky/like.d.ts +0 -10
  221. package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +0 -15
  222. package/dist/src/client/types/app/bsky/notification/getCount.d.ts +0 -17
  223. package/dist/src/client/types/app/bsky/notification/list.d.ts +0 -32
  224. package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +0 -17
  225. package/dist/src/client/types/app/bsky/post.d.ts +0 -23
  226. package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +0 -20
  227. package/dist/src/client/types/app/bsky/profile.d.ts +0 -5
  228. package/dist/src/client/types/app/bsky/repost.d.ts +0 -10
  229. package/dist/src/client/types/app/bsky/system/actorScene.d.ts +0 -1
  230. package/dist/src/client/types/app/bsky/system/actorUser.d.ts +0 -1
  231. package/dist/src/client/types/app/bsky/system/declRef.d.ts +0 -5
  232. package/dist/src/client/types/app/bsky/system/declaration.d.ts +0 -4
  233. package/dist/src/client/types/app/bsky/updateProfile.d.ts +0 -23
  234. package/dist/src/client/types/com/atproto/account/create.d.ts +0 -41
  235. package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
  236. package/dist/src/client/types/com/atproto/account/delete.d.ts +0 -13
  237. package/dist/src/client/types/com/atproto/account/get.d.ts +0 -12
  238. package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
  239. package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +0 -24
  240. package/dist/src/client/types/com/atproto/blob/upload.d.ts +0 -19
  241. package/dist/src/client/types/com/atproto/createAccount.d.ts +0 -40
  242. package/dist/src/client/types/com/atproto/createInviteCode.d.ts +0 -20
  243. package/dist/src/client/types/com/atproto/createSession.d.ts +0 -24
  244. package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +0 -19
  245. package/dist/src/client/types/com/atproto/deleteAccount.d.ts +0 -20
  246. package/dist/src/client/types/com/atproto/deleteSession.d.ts +0 -17
  247. package/dist/src/client/types/com/atproto/getAccount.d.ts +0 -16
  248. package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +0 -17
  249. package/dist/src/client/types/com/atproto/getSession.d.ts +0 -17
  250. package/dist/src/client/types/com/atproto/handle/resolve.d.ts +0 -18
  251. package/dist/src/client/types/com/atproto/refreshSession.d.ts +0 -20
  252. package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +0 -39
  253. package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +0 -26
  254. package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +0 -19
  255. package/dist/src/client/types/com/atproto/repo/describe.d.ts +0 -22
  256. package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +0 -23
  257. package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +0 -30
  258. package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +0 -27
  259. package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +0 -5
  260. package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +0 -36
  261. package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +0 -24
  262. package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +0 -18
  263. package/dist/src/client/types/com/atproto/repoDescribe.d.ts +0 -21
  264. package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +0 -22
  265. package/dist/src/client/types/com/atproto/repoListRecords.d.ts +0 -27
  266. package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +0 -25
  267. package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +0 -19
  268. package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +0 -26
  269. package/dist/src/client/types/com/atproto/resolveHandle.d.ts +0 -17
  270. package/dist/src/client/types/com/atproto/resolveName.d.ts +0 -17
  271. package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -24
  272. package/dist/src/client/types/com/atproto/session/create.d.ts +0 -26
  273. package/dist/src/client/types/com/atproto/session/delete.d.ts +0 -13
  274. package/dist/src/client/types/com/atproto/session/get.d.ts +0 -18
  275. package/dist/src/client/types/com/atproto/session/refresh.d.ts +0 -21
  276. package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +0 -15
  277. package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +0 -18
  278. package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
  279. package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +0 -15
  280. package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +0 -17
  281. package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +0 -15
  282. package/dist/src/index.d.ts +0 -4
  283. package/dist/src/schemas.d.ts +0 -19
  284. package/dist/src/session.d.ts +0 -42
  285. package/dist/src/types/app/bsky/acceptedBadge.d.ts +0 -10
  286. package/dist/src/types/app/bsky/badge.d.ts +0 -22
  287. package/dist/src/types/app/bsky/badgeAccept.d.ts +0 -11
  288. package/dist/src/types/app/bsky/badgeOffer.d.ts +0 -11
  289. package/dist/src/types/app/bsky/declaration.d.ts +0 -6
  290. package/dist/src/types/app/bsky/follow.d.ts +0 -9
  291. package/dist/src/types/app/bsky/getAuthorFeed.d.ts +0 -56
  292. package/dist/src/types/app/bsky/getBadgeMembers.d.ts +0 -29
  293. package/dist/src/types/app/bsky/getHomeFeed.d.ts +0 -56
  294. package/dist/src/types/app/bsky/getLikedBy.d.ts +0 -29
  295. package/dist/src/types/app/bsky/getNotificationCount.d.ts +0 -16
  296. package/dist/src/types/app/bsky/getNotifications.d.ts +0 -33
  297. package/dist/src/types/app/bsky/getPostThread.d.ts +0 -55
  298. package/dist/src/types/app/bsky/getProfile.d.ts +0 -42
  299. package/dist/src/types/app/bsky/getRepostedBy.d.ts +0 -29
  300. package/dist/src/types/app/bsky/getUserFollowers.d.ts +0 -31
  301. package/dist/src/types/app/bsky/getUserFollows.d.ts +0 -31
  302. package/dist/src/types/app/bsky/getUsersSearch.d.ts +0 -26
  303. package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +0 -22
  304. package/dist/src/types/app/bsky/invite.d.ts +0 -10
  305. package/dist/src/types/app/bsky/inviteAccept.d.ts +0 -14
  306. package/dist/src/types/app/bsky/like.d.ts +0 -10
  307. package/dist/src/types/app/bsky/mediaEmbed.d.ts +0 -15
  308. package/dist/src/types/app/bsky/post.d.ts +0 -23
  309. package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +0 -19
  310. package/dist/src/types/app/bsky/profile.d.ts +0 -11
  311. package/dist/src/types/app/bsky/repost.d.ts +0 -10
  312. package/dist/src/types/app/bsky/updateProfile.d.ts +0 -27
  313. package/dist/src/types/com/atproto/createAccount.d.ts +0 -39
  314. package/dist/src/types/com/atproto/createInviteCode.d.ts +0 -19
  315. package/dist/src/types/com/atproto/createSession.d.ts +0 -23
  316. package/dist/src/types/com/atproto/deleteAccount.d.ts +0 -19
  317. package/dist/src/types/com/atproto/deleteSession.d.ts +0 -16
  318. package/dist/src/types/com/atproto/getAccount.d.ts +0 -19
  319. package/dist/src/types/com/atproto/getAccountsConfig.d.ts +0 -17
  320. package/dist/src/types/com/atproto/getSession.d.ts +0 -17
  321. package/dist/src/types/com/atproto/refreshSession.d.ts +0 -19
  322. package/dist/src/types/com/atproto/repoBatchWrite.d.ts +0 -35
  323. package/dist/src/types/com/atproto/repoCreateRecord.d.ts +0 -23
  324. package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +0 -15
  325. package/dist/src/types/com/atproto/repoDescribe.d.ts +0 -21
  326. package/dist/src/types/com/atproto/repoGetRecord.d.ts +0 -22
  327. package/dist/src/types/com/atproto/repoListRecords.d.ts +0 -27
  328. package/dist/src/types/com/atproto/repoPutRecord.d.ts +0 -24
  329. package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +0 -18
  330. package/dist/src/types/com/atproto/resetAccountPassword.d.ts +0 -25
  331. package/dist/src/types/com/atproto/resolveName.d.ts +0 -17
  332. package/dist/src/types/com/atproto/syncGetRepo.d.ts +0 -15
  333. package/dist/src/types/com/atproto/syncGetRoot.d.ts +0 -17
  334. package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +0 -14
  335. package/dist/src/types/todo/adx/createAccount.d.ts +0 -36
  336. package/dist/src/types/todo/adx/createInviteCode.d.ts +0 -19
  337. package/dist/src/types/todo/adx/createSession.d.ts +0 -22
  338. package/dist/src/types/todo/adx/deleteAccount.d.ts +0 -19
  339. package/dist/src/types/todo/adx/deleteSession.d.ts +0 -19
  340. package/dist/src/types/todo/adx/getAccount.d.ts +0 -19
  341. package/dist/src/types/todo/adx/getAccountsConfig.d.ts +0 -17
  342. package/dist/src/types/todo/adx/getSession.d.ts +0 -17
  343. package/dist/src/types/todo/adx/repoBatchWrite.d.ts +0 -34
  344. package/dist/src/types/todo/adx/repoCreateRecord.d.ts +0 -22
  345. package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +0 -15
  346. package/dist/src/types/todo/adx/repoDescribe.d.ts +0 -21
  347. package/dist/src/types/todo/adx/repoGetRecord.d.ts +0 -20
  348. package/dist/src/types/todo/adx/repoListRecords.d.ts +0 -25
  349. package/dist/src/types/todo/adx/repoPutRecord.d.ts +0 -23
  350. package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +0 -18
  351. package/dist/src/types/todo/adx/resetAccountPassword.d.ts +0 -25
  352. package/dist/src/types/todo/adx/resolveName.d.ts +0 -17
  353. package/dist/src/types/todo/adx/syncGetRepo.d.ts +0 -15
  354. package/dist/src/types/todo/adx/syncGetRoot.d.ts +0 -17
  355. package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +0 -14
  356. package/dist/src/types/todo/social/badge.d.ts +0 -23
  357. package/dist/src/types/todo/social/follow.d.ts +0 -5
  358. package/dist/src/types/todo/social/getAuthorFeed.d.ts +0 -55
  359. package/dist/src/types/todo/social/getFeed.d.ts +0 -55
  360. package/dist/src/types/todo/social/getHomeFeed.d.ts +0 -55
  361. package/dist/src/types/todo/social/getLikedBy.d.ts +0 -26
  362. package/dist/src/types/todo/social/getNotificationCount.d.ts +0 -16
  363. package/dist/src/types/todo/social/getNotifications.d.ts +0 -31
  364. package/dist/src/types/todo/social/getPostThread.d.ts +0 -54
  365. package/dist/src/types/todo/social/getProfile.d.ts +0 -40
  366. package/dist/src/types/todo/social/getRepostedBy.d.ts +0 -26
  367. package/dist/src/types/todo/social/getUserFollowers.d.ts +0 -30
  368. package/dist/src/types/todo/social/getUserFollows.d.ts +0 -30
  369. package/dist/src/types/todo/social/like.d.ts +0 -5
  370. package/dist/src/types/todo/social/mediaEmbed.d.ts +0 -15
  371. package/dist/src/types/todo/social/post.d.ts +0 -18
  372. package/dist/src/types/todo/social/postNotificationsSeen.d.ts +0 -19
  373. package/dist/src/types/todo/social/profile.d.ts +0 -10
  374. package/dist/src/types/todo/social/repost.d.ts +0 -5
  375. package/docs/labels.md +0 -108
  376. package/scripts/docs/labels.mjs +0 -87
  377. package/scripts/generate-docs.mjs +0 -3
@@ -1,21 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as AppBskyFeedDefs from './defs';
3
- export interface QueryParams {
4
- limit?: number;
5
- cursor?: string;
6
- }
7
- export declare type InputSchema = undefined;
8
- export interface OutputSchema {
9
- cursor?: string;
10
- feeds: AppBskyFeedDefs.GeneratorView[];
11
- [k: string]: unknown;
12
- }
13
- export interface CallOptions {
14
- headers?: Headers;
15
- }
16
- export interface Response {
17
- success: boolean;
18
- headers: Headers;
19
- data: OutputSchema;
20
- }
21
- export declare function toKnownErr(e: any): any;
@@ -1,21 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as AppBskyFeedDefs from './defs';
3
- export interface QueryParams {
4
- limit?: number;
5
- cursor?: string;
6
- }
7
- export declare type InputSchema = undefined;
8
- export interface OutputSchema {
9
- cursor?: string;
10
- feeds: AppBskyFeedDefs.GeneratorView[];
11
- [k: string]: unknown;
12
- }
13
- export interface CallOptions {
14
- headers?: Headers;
15
- }
16
- export interface Response {
17
- success: boolean;
18
- headers: Headers;
19
- data: OutputSchema;
20
- }
21
- export declare function toKnownErr(e: any): any;
@@ -1,36 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import { ValidationResult } from '@atproto/lexicon';
3
- import * as AppBskyActorRef from '../actor/ref';
4
- export interface QueryParams {
5
- uri: string;
6
- cid?: string;
7
- direction?: 'up' | 'down';
8
- limit?: number;
9
- before?: string;
10
- }
11
- export declare type InputSchema = undefined;
12
- export interface OutputSchema {
13
- uri: string;
14
- cid?: string;
15
- cursor?: string;
16
- votes: Vote[];
17
- [k: string]: unknown;
18
- }
19
- export interface CallOptions {
20
- headers?: Headers;
21
- }
22
- export interface Response {
23
- success: boolean;
24
- headers: Headers;
25
- data: OutputSchema;
26
- }
27
- export declare function toKnownErr(e: any): any;
28
- export interface Vote {
29
- direction: 'up' | 'down';
30
- indexedAt: string;
31
- createdAt: string;
32
- actor: AppBskyActorRef.WithInfo;
33
- [k: string]: unknown;
34
- }
35
- export declare function isVote(v: unknown): v is Vote;
36
- export declare function validateVote(v: unknown): ValidationResult;
@@ -1,17 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- feed: string;
6
- [k: string]: unknown;
7
- }
8
- export interface CallOptions {
9
- headers?: Headers;
10
- qp?: QueryParams;
11
- encoding: 'application/json';
12
- }
13
- export interface Response {
14
- success: boolean;
15
- headers: Headers;
16
- }
17
- export declare function toKnownErr(e: any): any;
@@ -1,25 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
3
- export interface QueryParams {
4
- }
5
- export interface InputSchema {
6
- subject: ComAtprotoRepoStrongRef.Main;
7
- direction: 'up' | 'down' | 'none';
8
- [k: string]: unknown;
9
- }
10
- export interface OutputSchema {
11
- upvote?: string;
12
- downvote?: string;
13
- [k: string]: unknown;
14
- }
15
- export interface CallOptions {
16
- headers?: Headers;
17
- qp?: QueryParams;
18
- encoding: 'application/json';
19
- }
20
- export interface Response {
21
- success: boolean;
22
- headers: Headers;
23
- data: OutputSchema;
24
- }
25
- export declare function toKnownErr(e: any): any;
@@ -1,9 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
3
- export interface Record {
4
- subject: ComAtprotoRepoStrongRef.Main;
5
- createdAt: string;
6
- [k: string]: unknown;
7
- }
8
- export declare function isRecord(v: unknown): v is Record;
9
- export declare function validateRecord(v: unknown): ValidationResult;
@@ -1,17 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- feed: string;
6
- [k: string]: unknown;
7
- }
8
- export interface CallOptions {
9
- headers?: Headers;
10
- qp?: QueryParams;
11
- encoding: 'application/json';
12
- }
13
- export interface Response {
14
- success: boolean;
15
- headers: Headers;
16
- }
17
- export declare function toKnownErr(e: any): any;
@@ -1,17 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- feed: string;
6
- [k: string]: unknown;
7
- }
8
- export interface CallOptions {
9
- headers?: Headers;
10
- qp?: QueryParams;
11
- encoding: 'application/json';
12
- }
13
- export interface Response {
14
- success: boolean;
15
- headers: Headers;
16
- }
17
- export declare function toKnownErr(e: any): any;
@@ -1,10 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
3
- export interface Record {
4
- subject: ComAtprotoRepoStrongRef.Main;
5
- direction: 'up' | 'down';
6
- createdAt: string;
7
- [k: string]: unknown;
8
- }
9
- export declare function isRecord(v: unknown): v is Record;
10
- export declare function validateRecord(v: unknown): ValidationResult;
@@ -1 +0,0 @@
1
- export declare const MAIN = "app.bsky.graph.assertCreator#main";
@@ -1 +0,0 @@
1
- export declare const MAIN = "app.bsky.graph.assertMember#main";
@@ -1,10 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as AppBskyActorRef from '../actor/ref';
3
- export interface Record {
4
- assertion: string;
5
- subject: AppBskyActorRef.Main;
6
- createdAt: string;
7
- [k: string]: unknown;
8
- }
9
- export declare function isRecord(v: unknown): v is Record;
10
- export declare function validateRecord(v: unknown): ValidationResult;
@@ -1,11 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as AppBskyActorRef from '../actor/ref';
3
- import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
4
- export interface Record {
5
- originator: AppBskyActorRef.Main;
6
- assertion: ComAtprotoRepoStrongRef.Main;
7
- createdAt: string;
8
- [k: string]: unknown;
9
- }
10
- export declare function isRecord(v: unknown): v is Record;
11
- export declare function validateRecord(v: unknown): ValidationResult;
@@ -1,48 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import { ValidationResult } from '@atproto/lexicon';
3
- import * as AppBskyActorRef from '../actor/ref';
4
- export interface QueryParams {
5
- author?: string;
6
- subject?: string;
7
- assertion?: string;
8
- confirmed?: boolean;
9
- limit?: number;
10
- before?: string;
11
- }
12
- export declare type InputSchema = undefined;
13
- export interface OutputSchema {
14
- cursor?: string;
15
- assertions: Assertion[];
16
- [k: string]: unknown;
17
- }
18
- export interface CallOptions {
19
- headers?: Headers;
20
- }
21
- export interface Response {
22
- success: boolean;
23
- headers: Headers;
24
- data: OutputSchema;
25
- }
26
- export declare function toKnownErr(e: any): any;
27
- export interface Assertion {
28
- uri: string;
29
- cid: string;
30
- assertion: string;
31
- confirmation?: Confirmation;
32
- author: AppBskyActorRef.WithInfo;
33
- subject: AppBskyActorRef.WithInfo;
34
- indexedAt: string;
35
- createdAt: string;
36
- [k: string]: unknown;
37
- }
38
- export declare function isAssertion(v: unknown): v is Assertion;
39
- export declare function validateAssertion(v: unknown): ValidationResult;
40
- export interface Confirmation {
41
- uri: string;
42
- cid: string;
43
- indexedAt: string;
44
- createdAt: string;
45
- [k: string]: unknown;
46
- }
47
- export declare function isConfirmation(v: unknown): v is Confirmation;
48
- export declare function validateConfirmation(v: unknown): ValidationResult;
@@ -1,36 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import { ValidationResult } from '@atproto/lexicon';
3
- import * as AppBskyActorRef from '../actor/ref';
4
- import * as AppBskySystemDeclRef from '../system/declRef';
5
- export interface QueryParams {
6
- actor: string;
7
- limit?: number;
8
- before?: string;
9
- }
10
- export declare type InputSchema = undefined;
11
- export interface OutputSchema {
12
- subject: AppBskyActorRef.WithInfo;
13
- cursor?: string;
14
- members: Member[];
15
- [k: string]: unknown;
16
- }
17
- export interface CallOptions {
18
- headers?: Headers;
19
- }
20
- export interface Response {
21
- success: boolean;
22
- headers: Headers;
23
- data: OutputSchema;
24
- }
25
- export declare function toKnownErr(e: any): any;
26
- export interface Member {
27
- did: string;
28
- declaration: AppBskySystemDeclRef.Main;
29
- handle: string;
30
- displayName?: string;
31
- createdAt?: string;
32
- indexedAt: string;
33
- [k: string]: unknown;
34
- }
35
- export declare function isMember(v: unknown): v is Member;
36
- export declare function validateMember(v: unknown): ValidationResult;
@@ -1,36 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import { ValidationResult } from '@atproto/lexicon';
3
- import * as AppBskyActorRef from '../actor/ref';
4
- import * as AppBskySystemDeclRef from '../system/declRef';
5
- export interface QueryParams {
6
- actor: string;
7
- limit?: number;
8
- before?: string;
9
- }
10
- export declare type InputSchema = undefined;
11
- export interface OutputSchema {
12
- subject: AppBskyActorRef.WithInfo;
13
- cursor?: string;
14
- memberships: Membership[];
15
- [k: string]: unknown;
16
- }
17
- export interface CallOptions {
18
- headers?: Headers;
19
- }
20
- export interface Response {
21
- success: boolean;
22
- headers: Headers;
23
- data: OutputSchema;
24
- }
25
- export declare function toKnownErr(e: any): any;
26
- export interface Membership {
27
- did: string;
28
- declaration: AppBskySystemDeclRef.Main;
29
- handle: string;
30
- displayName?: string;
31
- createdAt?: string;
32
- indexedAt: string;
33
- [k: string]: unknown;
34
- }
35
- export declare function isMembership(v: unknown): v is Membership;
36
- export declare function validateMembership(v: unknown): ValidationResult;
@@ -1,17 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- user: string;
6
- [k: string]: unknown;
7
- }
8
- export interface CallOptions {
9
- headers?: Headers;
10
- qp?: QueryParams;
11
- encoding: 'application/json';
12
- }
13
- export interface Response {
14
- success: boolean;
15
- headers: Headers;
16
- }
17
- export declare function toKnownErr(e: any): any;
@@ -1,17 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- user: string;
6
- [k: string]: unknown;
7
- }
8
- export interface CallOptions {
9
- headers?: Headers;
10
- qp?: QueryParams;
11
- encoding: 'application/json';
12
- }
13
- export interface Response {
14
- success: boolean;
15
- headers: Headers;
16
- }
17
- export declare function toKnownErr(e: any): any;
@@ -1,41 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as AppBskyActorDefs from '../actor/defs';
3
- import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
4
- export interface ModServiceView {
5
- uri: string;
6
- cid: string;
7
- creator: AppBskyActorDefs.ProfileView;
8
- likeCount?: number;
9
- viewer?: ModServiceViewerState;
10
- indexedAt: string;
11
- labels?: ComAtprotoLabelDefs.Label[];
12
- [k: string]: unknown;
13
- }
14
- export declare function isModServiceView(v: unknown): v is ModServiceView;
15
- export declare function validateModServiceView(v: unknown): ValidationResult;
16
- export interface ModServiceViewDetailed {
17
- uri: string;
18
- cid: string;
19
- creator: AppBskyActorDefs.ProfileView;
20
- policies: ModServicePolicies;
21
- likeCount?: number;
22
- viewer?: ModServiceViewerState;
23
- indexedAt: string;
24
- labels?: ComAtprotoLabelDefs.Label[];
25
- [k: string]: unknown;
26
- }
27
- export declare function isModServiceViewDetailed(v: unknown): v is ModServiceViewDetailed;
28
- export declare function validateModServiceViewDetailed(v: unknown): ValidationResult;
29
- export interface ModServiceViewerState {
30
- like?: string;
31
- [k: string]: unknown;
32
- }
33
- export declare function isModServiceViewerState(v: unknown): v is ModServiceViewerState;
34
- export declare function validateModServiceViewerState(v: unknown): ValidationResult;
35
- export interface ModServicePolicies {
36
- labelValues: ComAtprotoLabelDefs.LabelValue[];
37
- customLabelValues?: ComAtprotoLabelDefs.LabelValueDefinition[];
38
- [k: string]: unknown;
39
- }
40
- export declare function isModServicePolicies(v: unknown): v is ModServicePolicies;
41
- export declare function validateModServicePolicies(v: unknown): ValidationResult;
@@ -1,16 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as AppBskyModerationDefs from './defs';
3
- export interface QueryParams {
4
- did: string;
5
- }
6
- export type InputSchema = undefined;
7
- export type OutputSchema = AppBskyModerationDefs.ModServiceViewDetailed;
8
- export interface CallOptions {
9
- headers?: Headers;
10
- }
11
- export interface Response {
12
- success: boolean;
13
- headers: Headers;
14
- data: OutputSchema;
15
- }
16
- export declare function toKnownErr(e: any): any;
@@ -1,23 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as AppBskyModerationDefs from './defs';
3
- export interface QueryParams {
4
- dids: string[];
5
- detailed?: boolean;
6
- }
7
- export type InputSchema = undefined;
8
- export interface OutputSchema {
9
- views: (AppBskyModerationDefs.ModServiceView | AppBskyModerationDefs.ModServiceViewDetailed | {
10
- $type: string;
11
- [k: string]: unknown;
12
- })[];
13
- [k: string]: unknown;
14
- }
15
- export interface CallOptions {
16
- headers?: Headers;
17
- }
18
- export interface Response {
19
- success: boolean;
20
- headers: Headers;
21
- data: OutputSchema;
22
- }
23
- export declare function toKnownErr(e: any): any;
@@ -1,14 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as AppBskyModerationDefs from './defs';
3
- import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
4
- export interface Record {
5
- policies: AppBskyModerationDefs.ModServicePolicies;
6
- labels?: ComAtprotoLabelDefs.SelfLabels | {
7
- $type: string;
8
- [k: string]: unknown;
9
- };
10
- createdAt: string;
11
- [k: string]: unknown;
12
- }
13
- export declare function isRecord(v: unknown): v is Record;
14
- export declare function validateRecord(v: unknown): ValidationResult;
@@ -1,17 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export declare type InputSchema = undefined;
5
- export interface OutputSchema {
6
- count: number;
7
- [k: string]: unknown;
8
- }
9
- export interface CallOptions {
10
- headers?: Headers;
11
- }
12
- export interface Response {
13
- success: boolean;
14
- headers: Headers;
15
- data: OutputSchema;
16
- }
17
- export declare function toKnownErr(e: any): any;
@@ -1,35 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import { ValidationResult } from '@atproto/lexicon';
3
- import * as AppBskyActorRef from '../actor/ref';
4
- export interface QueryParams {
5
- limit?: number;
6
- before?: string;
7
- }
8
- export declare type InputSchema = undefined;
9
- export interface OutputSchema {
10
- cursor?: string;
11
- notifications: Notification[];
12
- [k: string]: unknown;
13
- }
14
- export interface CallOptions {
15
- headers?: Headers;
16
- }
17
- export interface Response {
18
- success: boolean;
19
- headers: Headers;
20
- data: OutputSchema;
21
- }
22
- export declare function toKnownErr(e: any): any;
23
- export interface Notification {
24
- uri: string;
25
- cid: string;
26
- author: AppBskyActorRef.WithInfo;
27
- reason: 'vote' | 'repost' | 'follow' | 'invite' | 'mention' | 'reply' | (string & {});
28
- reasonSubject?: string;
29
- record: {};
30
- isRead: boolean;
31
- indexedAt: string;
32
- [k: string]: unknown;
33
- }
34
- export declare function isNotification(v: unknown): v is Notification;
35
- export declare function validateNotification(v: unknown): ValidationResult;
@@ -1 +0,0 @@
1
- export declare const MAIN = "app.bsky.system.actorScene#main";
@@ -1 +0,0 @@
1
- export declare const MAIN = "app.bsky.system.actorUser#main";
@@ -1,8 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- export interface Main {
3
- cid: string;
4
- actorType: 'app.bsky.system.actorUser' | (string & {});
5
- [k: string]: unknown;
6
- }
7
- export declare function isMain(v: unknown): v is Main;
8
- export declare function validateMain(v: unknown): ValidationResult;
@@ -1,7 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- export interface Record {
3
- actorType: 'app.bsky.system.actorUser' | (string & {});
4
- [k: string]: unknown;
5
- }
6
- export declare function isRecord(v: unknown): v is Record;
7
- export declare function validateRecord(v: unknown): ValidationResult;
@@ -1,18 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
3
- export interface QueryParams {
4
- }
5
- export interface InputSchema {
6
- labels: ComAtprotoLabelDefs.Label[];
7
- [k: string]: unknown;
8
- }
9
- export interface CallOptions {
10
- headers?: Headers;
11
- qp?: QueryParams;
12
- encoding: 'application/json';
13
- }
14
- export interface Response {
15
- success: boolean;
16
- headers: Headers;
17
- }
18
- export declare function toKnownErr(e: any): any;
@@ -1,22 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as AppBskyFeedDefs from '../feed/defs';
3
- export interface QueryParams {
4
- includeNsfw?: boolean;
5
- limit?: number;
6
- cursor?: string;
7
- }
8
- export type InputSchema = undefined;
9
- export interface OutputSchema {
10
- cursor?: string;
11
- feed: AppBskyFeedDefs.FeedViewPost[];
12
- [k: string]: unknown;
13
- }
14
- export interface CallOptions {
15
- headers?: Headers;
16
- }
17
- export interface Response {
18
- success: boolean;
19
- headers: Headers;
20
- data: OutputSchema;
21
- }
22
- export declare function toKnownErr(e: any): any;
@@ -1,24 +0,0 @@
1
- import { Headers, XRPCError } from '@atproto/xrpc';
2
- import * as AppBskyFeedDefs from '../feed/defs';
3
- export interface QueryParams {
4
- limit?: number;
5
- cursor?: string;
6
- }
7
- export type InputSchema = undefined;
8
- export interface OutputSchema {
9
- cursor?: string;
10
- feed: AppBskyFeedDefs.SkeletonFeedPost[];
11
- [k: string]: unknown;
12
- }
13
- export interface CallOptions {
14
- headers?: Headers;
15
- }
16
- export interface Response {
17
- success: boolean;
18
- headers: Headers;
19
- data: OutputSchema;
20
- }
21
- export declare class UnknownFeedError extends XRPCError {
22
- constructor(src: XRPCError);
23
- }
24
- export declare function toKnownErr(e: any): any;
@@ -1,41 +0,0 @@
1
- import { Headers, XRPCError } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- email: string;
6
- handle: string;
7
- inviteCode?: string;
8
- password: string;
9
- recoveryKey?: string;
10
- [k: string]: unknown;
11
- }
12
- export interface OutputSchema {
13
- accessJwt: string;
14
- refreshJwt: string;
15
- handle: string;
16
- did: string;
17
- [k: string]: unknown;
18
- }
19
- export interface CallOptions {
20
- headers?: Headers;
21
- qp?: QueryParams;
22
- encoding: 'application/json';
23
- }
24
- export interface Response {
25
- success: boolean;
26
- headers: Headers;
27
- data: OutputSchema;
28
- }
29
- export declare class InvalidHandleError extends XRPCError {
30
- constructor(src: XRPCError);
31
- }
32
- export declare class InvalidPasswordError extends XRPCError {
33
- constructor(src: XRPCError);
34
- }
35
- export declare class InvalidInviteCodeError extends XRPCError {
36
- constructor(src: XRPCError);
37
- }
38
- export declare class HandleNotAvailableError extends XRPCError {
39
- constructor(src: XRPCError);
40
- }
41
- export declare function toKnownErr(e: any): any;