@atproto/pds 0.4.93 → 0.4.95

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 (1196) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/actor-store/record/reader.d.ts +2 -2
  3. package/dist/actor-store/record/reader.d.ts.map +1 -1
  4. package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
  5. package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
  6. package/dist/api/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
  7. package/dist/api/com/atproto/identity/signPlcOperation.js +7 -2
  8. package/dist/api/com/atproto/identity/signPlcOperation.js.map +1 -1
  9. package/dist/api/com/atproto/identity/updateHandle.d.ts.map +1 -1
  10. package/dist/api/com/atproto/identity/updateHandle.js +3 -1
  11. package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
  12. package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
  13. package/dist/db/tables/moderation.d.ts +1 -1
  14. package/dist/db/tables/moderation.d.ts.map +1 -1
  15. package/dist/lexicon/index.d.ts +185 -185
  16. package/dist/lexicon/index.d.ts.map +1 -1
  17. package/dist/lexicon/index.js +2 -2
  18. package/dist/lexicon/index.js.map +1 -1
  19. package/dist/lexicon/lexicons.d.ts +297 -237
  20. package/dist/lexicon/lexicons.d.ts.map +1 -1
  21. package/dist/lexicon/lexicons.js +41 -0
  22. package/dist/lexicon/lexicons.js.map +1 -1
  23. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +84 -86
  24. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  25. package/dist/lexicon/types/app/bsky/actor/defs.js +77 -98
  26. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  27. package/dist/lexicon/types/app/bsky/actor/getPreferences.d.ts +1 -2
  28. package/dist/lexicon/types/app/bsky/actor/getPreferences.d.ts.map +1 -1
  29. package/dist/lexicon/types/app/bsky/actor/getPreferences.js +4 -0
  30. package/dist/lexicon/types/app/bsky/actor/getPreferences.js.map +1 -1
  31. package/dist/lexicon/types/app/bsky/actor/getProfile.d.ts +1 -1
  32. package/dist/lexicon/types/app/bsky/actor/getProfile.d.ts.map +1 -1
  33. package/dist/lexicon/types/app/bsky/actor/getProfile.js +4 -0
  34. package/dist/lexicon/types/app/bsky/actor/getProfile.js.map +1 -1
  35. package/dist/lexicon/types/app/bsky/actor/getProfiles.d.ts +1 -2
  36. package/dist/lexicon/types/app/bsky/actor/getProfiles.d.ts.map +1 -1
  37. package/dist/lexicon/types/app/bsky/actor/getProfiles.js +4 -0
  38. package/dist/lexicon/types/app/bsky/actor/getProfiles.js.map +1 -1
  39. package/dist/lexicon/types/app/bsky/actor/getSuggestions.d.ts +1 -2
  40. package/dist/lexicon/types/app/bsky/actor/getSuggestions.d.ts.map +1 -1
  41. package/dist/lexicon/types/app/bsky/actor/getSuggestions.js +4 -0
  42. package/dist/lexicon/types/app/bsky/actor/getSuggestions.js.map +1 -1
  43. package/dist/lexicon/types/app/bsky/actor/profile.d.ts +7 -6
  44. package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
  45. package/dist/lexicon/types/app/bsky/actor/profile.js +5 -5
  46. package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
  47. package/dist/lexicon/types/app/bsky/actor/putPreferences.d.ts +1 -2
  48. package/dist/lexicon/types/app/bsky/actor/putPreferences.d.ts.map +1 -1
  49. package/dist/lexicon/types/app/bsky/actor/putPreferences.js +4 -0
  50. package/dist/lexicon/types/app/bsky/actor/putPreferences.js.map +1 -1
  51. package/dist/lexicon/types/app/bsky/actor/searchActors.d.ts +1 -2
  52. package/dist/lexicon/types/app/bsky/actor/searchActors.d.ts.map +1 -1
  53. package/dist/lexicon/types/app/bsky/actor/searchActors.js +4 -0
  54. package/dist/lexicon/types/app/bsky/actor/searchActors.js.map +1 -1
  55. package/dist/lexicon/types/app/bsky/actor/searchActorsTypeahead.d.ts +1 -2
  56. package/dist/lexicon/types/app/bsky/actor/searchActorsTypeahead.d.ts.map +1 -1
  57. package/dist/lexicon/types/app/bsky/actor/searchActorsTypeahead.js +4 -0
  58. package/dist/lexicon/types/app/bsky/actor/searchActorsTypeahead.js.map +1 -1
  59. package/dist/lexicon/types/app/bsky/embed/defs.d.ts +3 -3
  60. package/dist/lexicon/types/app/bsky/embed/defs.d.ts.map +1 -1
  61. package/dist/lexicon/types/app/bsky/embed/defs.js +5 -4
  62. package/dist/lexicon/types/app/bsky/embed/defs.js.map +1 -1
  63. package/dist/lexicon/types/app/bsky/embed/external.d.ts +12 -12
  64. package/dist/lexicon/types/app/bsky/embed/external.d.ts.map +1 -1
  65. package/dist/lexicon/types/app/bsky/embed/external.js +14 -17
  66. package/dist/lexicon/types/app/bsky/embed/external.js.map +1 -1
  67. package/dist/lexicon/types/app/bsky/embed/images.d.ts +13 -13
  68. package/dist/lexicon/types/app/bsky/embed/images.d.ts.map +1 -1
  69. package/dist/lexicon/types/app/bsky/embed/images.js +14 -13
  70. package/dist/lexicon/types/app/bsky/embed/images.js.map +1 -1
  71. package/dist/lexicon/types/app/bsky/embed/record.d.ts +34 -33
  72. package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
  73. package/dist/lexicon/types/app/bsky/embed/record.js +20 -23
  74. package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
  75. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.d.ts +13 -14
  76. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.d.ts.map +1 -1
  77. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.js +8 -9
  78. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.js.map +1 -1
  79. package/dist/lexicon/types/app/bsky/embed/video.d.ts +10 -10
  80. package/dist/lexicon/types/app/bsky/embed/video.d.ts.map +1 -1
  81. package/dist/lexicon/types/app/bsky/embed/video.js +11 -11
  82. package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -1
  83. package/dist/lexicon/types/app/bsky/feed/defs.d.ts +77 -79
  84. package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
  85. package/dist/lexicon/types/app/bsky/feed/defs.js +70 -82
  86. package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
  87. package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.d.ts +6 -7
  88. package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.d.ts.map +1 -1
  89. package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.js +8 -8
  90. package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.js.map +1 -1
  91. package/dist/lexicon/types/app/bsky/feed/generator.d.ts +7 -6
  92. package/dist/lexicon/types/app/bsky/feed/generator.d.ts.map +1 -1
  93. package/dist/lexicon/types/app/bsky/feed/generator.js +5 -5
  94. package/dist/lexicon/types/app/bsky/feed/generator.js.map +1 -1
  95. package/dist/lexicon/types/app/bsky/feed/getActorFeeds.d.ts +1 -2
  96. package/dist/lexicon/types/app/bsky/feed/getActorFeeds.d.ts.map +1 -1
  97. package/dist/lexicon/types/app/bsky/feed/getActorFeeds.js +4 -0
  98. package/dist/lexicon/types/app/bsky/feed/getActorFeeds.js.map +1 -1
  99. package/dist/lexicon/types/app/bsky/feed/getActorLikes.d.ts +1 -2
  100. package/dist/lexicon/types/app/bsky/feed/getActorLikes.d.ts.map +1 -1
  101. package/dist/lexicon/types/app/bsky/feed/getActorLikes.js +4 -0
  102. package/dist/lexicon/types/app/bsky/feed/getActorLikes.js.map +1 -1
  103. package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.d.ts +1 -2
  104. package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
  105. package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.js +4 -0
  106. package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.js.map +1 -1
  107. package/dist/lexicon/types/app/bsky/feed/getFeed.d.ts +1 -2
  108. package/dist/lexicon/types/app/bsky/feed/getFeed.d.ts.map +1 -1
  109. package/dist/lexicon/types/app/bsky/feed/getFeed.js +4 -0
  110. package/dist/lexicon/types/app/bsky/feed/getFeed.js.map +1 -1
  111. package/dist/lexicon/types/app/bsky/feed/getFeedGenerator.d.ts +1 -2
  112. package/dist/lexicon/types/app/bsky/feed/getFeedGenerator.d.ts.map +1 -1
  113. package/dist/lexicon/types/app/bsky/feed/getFeedGenerator.js +4 -0
  114. package/dist/lexicon/types/app/bsky/feed/getFeedGenerator.js.map +1 -1
  115. package/dist/lexicon/types/app/bsky/feed/getFeedGenerators.d.ts +1 -2
  116. package/dist/lexicon/types/app/bsky/feed/getFeedGenerators.d.ts.map +1 -1
  117. package/dist/lexicon/types/app/bsky/feed/getFeedGenerators.js +4 -0
  118. package/dist/lexicon/types/app/bsky/feed/getFeedGenerators.js.map +1 -1
  119. package/dist/lexicon/types/app/bsky/feed/getFeedSkeleton.d.ts +1 -2
  120. package/dist/lexicon/types/app/bsky/feed/getFeedSkeleton.d.ts.map +1 -1
  121. package/dist/lexicon/types/app/bsky/feed/getFeedSkeleton.js +4 -0
  122. package/dist/lexicon/types/app/bsky/feed/getFeedSkeleton.js.map +1 -1
  123. package/dist/lexicon/types/app/bsky/feed/getLikes.d.ts +4 -5
  124. package/dist/lexicon/types/app/bsky/feed/getLikes.d.ts.map +1 -1
  125. package/dist/lexicon/types/app/bsky/feed/getLikes.js +5 -2
  126. package/dist/lexicon/types/app/bsky/feed/getLikes.js.map +1 -1
  127. package/dist/lexicon/types/app/bsky/feed/getListFeed.d.ts +1 -2
  128. package/dist/lexicon/types/app/bsky/feed/getListFeed.d.ts.map +1 -1
  129. package/dist/lexicon/types/app/bsky/feed/getListFeed.js +4 -0
  130. package/dist/lexicon/types/app/bsky/feed/getListFeed.js.map +1 -1
  131. package/dist/lexicon/types/app/bsky/feed/getPostThread.d.ts +3 -4
  132. package/dist/lexicon/types/app/bsky/feed/getPostThread.d.ts.map +1 -1
  133. package/dist/lexicon/types/app/bsky/feed/getPostThread.js +4 -0
  134. package/dist/lexicon/types/app/bsky/feed/getPostThread.js.map +1 -1
  135. package/dist/lexicon/types/app/bsky/feed/getPosts.d.ts +1 -2
  136. package/dist/lexicon/types/app/bsky/feed/getPosts.d.ts.map +1 -1
  137. package/dist/lexicon/types/app/bsky/feed/getPosts.js +4 -0
  138. package/dist/lexicon/types/app/bsky/feed/getPosts.js.map +1 -1
  139. package/dist/lexicon/types/app/bsky/feed/getQuotes.d.ts +1 -2
  140. package/dist/lexicon/types/app/bsky/feed/getQuotes.d.ts.map +1 -1
  141. package/dist/lexicon/types/app/bsky/feed/getQuotes.js +4 -0
  142. package/dist/lexicon/types/app/bsky/feed/getQuotes.js.map +1 -1
  143. package/dist/lexicon/types/app/bsky/feed/getRepostedBy.d.ts +1 -2
  144. package/dist/lexicon/types/app/bsky/feed/getRepostedBy.d.ts.map +1 -1
  145. package/dist/lexicon/types/app/bsky/feed/getRepostedBy.js +4 -0
  146. package/dist/lexicon/types/app/bsky/feed/getRepostedBy.js.map +1 -1
  147. package/dist/lexicon/types/app/bsky/feed/getSuggestedFeeds.d.ts +1 -2
  148. package/dist/lexicon/types/app/bsky/feed/getSuggestedFeeds.d.ts.map +1 -1
  149. package/dist/lexicon/types/app/bsky/feed/getSuggestedFeeds.js +4 -0
  150. package/dist/lexicon/types/app/bsky/feed/getSuggestedFeeds.js.map +1 -1
  151. package/dist/lexicon/types/app/bsky/feed/getTimeline.d.ts +1 -2
  152. package/dist/lexicon/types/app/bsky/feed/getTimeline.d.ts.map +1 -1
  153. package/dist/lexicon/types/app/bsky/feed/getTimeline.js +4 -0
  154. package/dist/lexicon/types/app/bsky/feed/getTimeline.js.map +1 -1
  155. package/dist/lexicon/types/app/bsky/feed/like.d.ts +4 -3
  156. package/dist/lexicon/types/app/bsky/feed/like.d.ts.map +1 -1
  157. package/dist/lexicon/types/app/bsky/feed/like.js +5 -4
  158. package/dist/lexicon/types/app/bsky/feed/like.js.map +1 -1
  159. package/dist/lexicon/types/app/bsky/feed/post.d.ts +23 -23
  160. package/dist/lexicon/types/app/bsky/feed/post.d.ts.map +1 -1
  161. package/dist/lexicon/types/app/bsky/feed/post.js +14 -12
  162. package/dist/lexicon/types/app/bsky/feed/post.js.map +1 -1
  163. package/dist/lexicon/types/app/bsky/feed/postgate.d.ts +8 -7
  164. package/dist/lexicon/types/app/bsky/feed/postgate.d.ts.map +1 -1
  165. package/dist/lexicon/types/app/bsky/feed/postgate.js +8 -9
  166. package/dist/lexicon/types/app/bsky/feed/postgate.js.map +1 -1
  167. package/dist/lexicon/types/app/bsky/feed/repost.d.ts +4 -3
  168. package/dist/lexicon/types/app/bsky/feed/repost.d.ts.map +1 -1
  169. package/dist/lexicon/types/app/bsky/feed/repost.js +5 -5
  170. package/dist/lexicon/types/app/bsky/feed/repost.js.map +1 -1
  171. package/dist/lexicon/types/app/bsky/feed/searchPosts.d.ts +1 -2
  172. package/dist/lexicon/types/app/bsky/feed/searchPosts.d.ts.map +1 -1
  173. package/dist/lexicon/types/app/bsky/feed/searchPosts.js +4 -0
  174. package/dist/lexicon/types/app/bsky/feed/searchPosts.js.map +1 -1
  175. package/dist/lexicon/types/app/bsky/feed/sendInteractions.d.ts +1 -3
  176. package/dist/lexicon/types/app/bsky/feed/sendInteractions.d.ts.map +1 -1
  177. package/dist/lexicon/types/app/bsky/feed/sendInteractions.js +4 -0
  178. package/dist/lexicon/types/app/bsky/feed/sendInteractions.js.map +1 -1
  179. package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts +17 -16
  180. package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts.map +1 -1
  181. package/dist/lexicon/types/app/bsky/feed/threadgate.js +17 -21
  182. package/dist/lexicon/types/app/bsky/feed/threadgate.js.map +1 -1
  183. package/dist/lexicon/types/app/bsky/graph/block.d.ts +3 -2
  184. package/dist/lexicon/types/app/bsky/graph/block.d.ts.map +1 -1
  185. package/dist/lexicon/types/app/bsky/graph/block.js +5 -5
  186. package/dist/lexicon/types/app/bsky/graph/block.js.map +1 -1
  187. package/dist/lexicon/types/app/bsky/graph/defs.d.ts +34 -30
  188. package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
  189. package/dist/lexicon/types/app/bsky/graph/defs.js +29 -35
  190. package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
  191. package/dist/lexicon/types/app/bsky/graph/follow.d.ts +3 -2
  192. package/dist/lexicon/types/app/bsky/graph/follow.d.ts.map +1 -1
  193. package/dist/lexicon/types/app/bsky/graph/follow.js +5 -5
  194. package/dist/lexicon/types/app/bsky/graph/follow.js.map +1 -1
  195. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts +1 -2
  196. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -1
  197. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js +4 -0
  198. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js.map +1 -1
  199. package/dist/lexicon/types/app/bsky/graph/getBlocks.d.ts +1 -2
  200. package/dist/lexicon/types/app/bsky/graph/getBlocks.d.ts.map +1 -1
  201. package/dist/lexicon/types/app/bsky/graph/getBlocks.js +4 -0
  202. package/dist/lexicon/types/app/bsky/graph/getBlocks.js.map +1 -1
  203. package/dist/lexicon/types/app/bsky/graph/getFollowers.d.ts +1 -2
  204. package/dist/lexicon/types/app/bsky/graph/getFollowers.d.ts.map +1 -1
  205. package/dist/lexicon/types/app/bsky/graph/getFollowers.js +4 -0
  206. package/dist/lexicon/types/app/bsky/graph/getFollowers.js.map +1 -1
  207. package/dist/lexicon/types/app/bsky/graph/getFollows.d.ts +1 -2
  208. package/dist/lexicon/types/app/bsky/graph/getFollows.d.ts.map +1 -1
  209. package/dist/lexicon/types/app/bsky/graph/getFollows.js +4 -0
  210. package/dist/lexicon/types/app/bsky/graph/getFollows.js.map +1 -1
  211. package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.d.ts +1 -2
  212. package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.d.ts.map +1 -1
  213. package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.js +4 -0
  214. package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.js.map +1 -1
  215. package/dist/lexicon/types/app/bsky/graph/getList.d.ts +1 -2
  216. package/dist/lexicon/types/app/bsky/graph/getList.d.ts.map +1 -1
  217. package/dist/lexicon/types/app/bsky/graph/getList.js +4 -0
  218. package/dist/lexicon/types/app/bsky/graph/getList.js.map +1 -1
  219. package/dist/lexicon/types/app/bsky/graph/getListBlocks.d.ts +1 -2
  220. package/dist/lexicon/types/app/bsky/graph/getListBlocks.d.ts.map +1 -1
  221. package/dist/lexicon/types/app/bsky/graph/getListBlocks.js +4 -0
  222. package/dist/lexicon/types/app/bsky/graph/getListBlocks.js.map +1 -1
  223. package/dist/lexicon/types/app/bsky/graph/getListMutes.d.ts +1 -2
  224. package/dist/lexicon/types/app/bsky/graph/getListMutes.d.ts.map +1 -1
  225. package/dist/lexicon/types/app/bsky/graph/getListMutes.js +4 -0
  226. package/dist/lexicon/types/app/bsky/graph/getListMutes.js.map +1 -1
  227. package/dist/lexicon/types/app/bsky/graph/getLists.d.ts +1 -2
  228. package/dist/lexicon/types/app/bsky/graph/getLists.d.ts.map +1 -1
  229. package/dist/lexicon/types/app/bsky/graph/getLists.js +4 -0
  230. package/dist/lexicon/types/app/bsky/graph/getLists.js.map +1 -1
  231. package/dist/lexicon/types/app/bsky/graph/getMutes.d.ts +1 -2
  232. package/dist/lexicon/types/app/bsky/graph/getMutes.d.ts.map +1 -1
  233. package/dist/lexicon/types/app/bsky/graph/getMutes.js +4 -0
  234. package/dist/lexicon/types/app/bsky/graph/getMutes.js.map +1 -1
  235. package/dist/lexicon/types/app/bsky/graph/getRelationships.d.ts +3 -4
  236. package/dist/lexicon/types/app/bsky/graph/getRelationships.d.ts.map +1 -1
  237. package/dist/lexicon/types/app/bsky/graph/getRelationships.js +4 -0
  238. package/dist/lexicon/types/app/bsky/graph/getRelationships.js.map +1 -1
  239. package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts +1 -2
  240. package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts.map +1 -1
  241. package/dist/lexicon/types/app/bsky/graph/getStarterPack.js +4 -0
  242. package/dist/lexicon/types/app/bsky/graph/getStarterPack.js.map +1 -1
  243. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts +1 -2
  244. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -1
  245. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js +4 -0
  246. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js.map +1 -1
  247. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +1 -2
  248. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
  249. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.js +4 -0
  250. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
  251. package/dist/lexicon/types/app/bsky/graph/list.d.ts +8 -7
  252. package/dist/lexicon/types/app/bsky/graph/list.d.ts.map +1 -1
  253. package/dist/lexicon/types/app/bsky/graph/list.js +5 -5
  254. package/dist/lexicon/types/app/bsky/graph/list.js.map +1 -1
  255. package/dist/lexicon/types/app/bsky/graph/listblock.d.ts +3 -2
  256. package/dist/lexicon/types/app/bsky/graph/listblock.d.ts.map +1 -1
  257. package/dist/lexicon/types/app/bsky/graph/listblock.js +5 -5
  258. package/dist/lexicon/types/app/bsky/graph/listblock.js.map +1 -1
  259. package/dist/lexicon/types/app/bsky/graph/listitem.d.ts +3 -2
  260. package/dist/lexicon/types/app/bsky/graph/listitem.d.ts.map +1 -1
  261. package/dist/lexicon/types/app/bsky/graph/listitem.js +5 -5
  262. package/dist/lexicon/types/app/bsky/graph/listitem.js.map +1 -1
  263. package/dist/lexicon/types/app/bsky/graph/muteActor.d.ts +0 -1
  264. package/dist/lexicon/types/app/bsky/graph/muteActor.d.ts.map +1 -1
  265. package/dist/lexicon/types/app/bsky/graph/muteActor.js +4 -0
  266. package/dist/lexicon/types/app/bsky/graph/muteActor.js.map +1 -1
  267. package/dist/lexicon/types/app/bsky/graph/muteActorList.d.ts +0 -1
  268. package/dist/lexicon/types/app/bsky/graph/muteActorList.d.ts.map +1 -1
  269. package/dist/lexicon/types/app/bsky/graph/muteActorList.js +4 -0
  270. package/dist/lexicon/types/app/bsky/graph/muteActorList.js.map +1 -1
  271. package/dist/lexicon/types/app/bsky/graph/muteThread.d.ts +0 -1
  272. package/dist/lexicon/types/app/bsky/graph/muteThread.d.ts.map +1 -1
  273. package/dist/lexicon/types/app/bsky/graph/muteThread.js +4 -0
  274. package/dist/lexicon/types/app/bsky/graph/muteThread.js.map +1 -1
  275. package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.d.ts +1 -2
  276. package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.d.ts.map +1 -1
  277. package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.js +4 -0
  278. package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.js.map +1 -1
  279. package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts +7 -6
  280. package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts.map +1 -1
  281. package/dist/lexicon/types/app/bsky/graph/starterpack.js +8 -9
  282. package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -1
  283. package/dist/lexicon/types/app/bsky/graph/unmuteActor.d.ts +0 -1
  284. package/dist/lexicon/types/app/bsky/graph/unmuteActor.d.ts.map +1 -1
  285. package/dist/lexicon/types/app/bsky/graph/unmuteActor.js +4 -0
  286. package/dist/lexicon/types/app/bsky/graph/unmuteActor.js.map +1 -1
  287. package/dist/lexicon/types/app/bsky/graph/unmuteActorList.d.ts +0 -1
  288. package/dist/lexicon/types/app/bsky/graph/unmuteActorList.d.ts.map +1 -1
  289. package/dist/lexicon/types/app/bsky/graph/unmuteActorList.js +4 -0
  290. package/dist/lexicon/types/app/bsky/graph/unmuteActorList.js.map +1 -1
  291. package/dist/lexicon/types/app/bsky/graph/unmuteThread.d.ts +0 -1
  292. package/dist/lexicon/types/app/bsky/graph/unmuteThread.d.ts.map +1 -1
  293. package/dist/lexicon/types/app/bsky/graph/unmuteThread.js +4 -0
  294. package/dist/lexicon/types/app/bsky/graph/unmuteThread.js.map +1 -1
  295. package/dist/lexicon/types/app/bsky/labeler/defs.d.ts +14 -14
  296. package/dist/lexicon/types/app/bsky/labeler/defs.d.ts.map +1 -1
  297. package/dist/lexicon/types/app/bsky/labeler/defs.js +14 -16
  298. package/dist/lexicon/types/app/bsky/labeler/defs.js.map +1 -1
  299. package/dist/lexicon/types/app/bsky/labeler/getServices.d.ts +3 -4
  300. package/dist/lexicon/types/app/bsky/labeler/getServices.d.ts.map +1 -1
  301. package/dist/lexicon/types/app/bsky/labeler/getServices.js +4 -0
  302. package/dist/lexicon/types/app/bsky/labeler/getServices.js.map +1 -1
  303. package/dist/lexicon/types/app/bsky/labeler/service.d.ts +7 -6
  304. package/dist/lexicon/types/app/bsky/labeler/service.d.ts.map +1 -1
  305. package/dist/lexicon/types/app/bsky/labeler/service.js +5 -5
  306. package/dist/lexicon/types/app/bsky/labeler/service.js.map +1 -1
  307. package/dist/lexicon/types/app/bsky/notification/getUnreadCount.d.ts +0 -1
  308. package/dist/lexicon/types/app/bsky/notification/getUnreadCount.d.ts.map +1 -1
  309. package/dist/lexicon/types/app/bsky/notification/getUnreadCount.js +4 -0
  310. package/dist/lexicon/types/app/bsky/notification/getUnreadCount.js.map +1 -1
  311. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +8 -7
  312. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  313. package/dist/lexicon/types/app/bsky/notification/listNotifications.js +5 -4
  314. package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
  315. package/dist/lexicon/types/app/bsky/notification/putPreferences.d.ts +0 -1
  316. package/dist/lexicon/types/app/bsky/notification/putPreferences.d.ts.map +1 -1
  317. package/dist/lexicon/types/app/bsky/notification/putPreferences.js +4 -0
  318. package/dist/lexicon/types/app/bsky/notification/putPreferences.js.map +1 -1
  319. package/dist/lexicon/types/app/bsky/notification/registerPush.d.ts +0 -1
  320. package/dist/lexicon/types/app/bsky/notification/registerPush.d.ts.map +1 -1
  321. package/dist/lexicon/types/app/bsky/notification/registerPush.js +4 -0
  322. package/dist/lexicon/types/app/bsky/notification/registerPush.js.map +1 -1
  323. package/dist/lexicon/types/app/bsky/notification/updateSeen.d.ts +0 -1
  324. package/dist/lexicon/types/app/bsky/notification/updateSeen.d.ts.map +1 -1
  325. package/dist/lexicon/types/app/bsky/notification/updateSeen.js +4 -0
  326. package/dist/lexicon/types/app/bsky/notification/updateSeen.js.map +1 -1
  327. package/dist/lexicon/types/app/bsky/richtext/facet.d.ts +17 -17
  328. package/dist/lexicon/types/app/bsky/richtext/facet.d.ts.map +1 -1
  329. package/dist/lexicon/types/app/bsky/richtext/facet.js +17 -19
  330. package/dist/lexicon/types/app/bsky/richtext/facet.js.map +1 -1
  331. package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts +12 -12
  332. package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts.map +1 -1
  333. package/dist/lexicon/types/app/bsky/unspecced/defs.js +14 -16
  334. package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
  335. package/dist/lexicon/types/app/bsky/unspecced/getConfig.d.ts +0 -1
  336. package/dist/lexicon/types/app/bsky/unspecced/getConfig.d.ts.map +1 -1
  337. package/dist/lexicon/types/app/bsky/unspecced/getConfig.js +4 -0
  338. package/dist/lexicon/types/app/bsky/unspecced/getConfig.js.map +1 -1
  339. package/dist/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +1 -2
  340. package/dist/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +1 -1
  341. package/dist/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.js +4 -0
  342. package/dist/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.js.map +1 -1
  343. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +1 -2
  344. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
  345. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.js +4 -0
  346. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -1
  347. package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.d.ts +3 -4
  348. package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.d.ts.map +1 -1
  349. package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.js +5 -4
  350. package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.js.map +1 -1
  351. package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.d.ts +1 -2
  352. package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -1
  353. package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.js +4 -0
  354. package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.js.map +1 -1
  355. package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +1 -2
  356. package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.d.ts.map +1 -1
  357. package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.js +4 -0
  358. package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.js.map +1 -1
  359. package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +1 -2
  360. package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.d.ts.map +1 -1
  361. package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.js +4 -0
  362. package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.js.map +1 -1
  363. package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts +1 -2
  364. package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts.map +1 -1
  365. package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.js +4 -0
  366. package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.js.map +1 -1
  367. package/dist/lexicon/types/app/bsky/video/defs.d.ts +3 -3
  368. package/dist/lexicon/types/app/bsky/video/defs.d.ts.map +1 -1
  369. package/dist/lexicon/types/app/bsky/video/defs.js +5 -4
  370. package/dist/lexicon/types/app/bsky/video/defs.js.map +1 -1
  371. package/dist/lexicon/types/app/bsky/video/getJobStatus.d.ts +1 -2
  372. package/dist/lexicon/types/app/bsky/video/getJobStatus.d.ts.map +1 -1
  373. package/dist/lexicon/types/app/bsky/video/getJobStatus.js +4 -0
  374. package/dist/lexicon/types/app/bsky/video/getJobStatus.js.map +1 -1
  375. package/dist/lexicon/types/app/bsky/video/getUploadLimits.d.ts +0 -1
  376. package/dist/lexicon/types/app/bsky/video/getUploadLimits.d.ts.map +1 -1
  377. package/dist/lexicon/types/app/bsky/video/getUploadLimits.js +4 -0
  378. package/dist/lexicon/types/app/bsky/video/getUploadLimits.js.map +1 -1
  379. package/dist/lexicon/types/app/bsky/video/uploadVideo.d.ts +2 -3
  380. package/dist/lexicon/types/app/bsky/video/uploadVideo.d.ts.map +1 -1
  381. package/dist/lexicon/types/app/bsky/video/uploadVideo.js +4 -0
  382. package/dist/lexicon/types/app/bsky/video/uploadVideo.js.map +1 -1
  383. package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts +3 -2
  384. package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts.map +1 -1
  385. package/dist/lexicon/types/chat/bsky/actor/declaration.js +5 -5
  386. package/dist/lexicon/types/chat/bsky/actor/declaration.js.map +1 -1
  387. package/dist/lexicon/types/chat/bsky/actor/defs.d.ts +5 -5
  388. package/dist/lexicon/types/chat/bsky/actor/defs.d.ts.map +1 -1
  389. package/dist/lexicon/types/chat/bsky/actor/defs.js +5 -4
  390. package/dist/lexicon/types/chat/bsky/actor/defs.js.map +1 -1
  391. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.d.ts +0 -1
  392. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.d.ts.map +1 -1
  393. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.js +4 -0
  394. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.js.map +1 -1
  395. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts +1 -1
  396. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts.map +1 -1
  397. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.js +4 -0
  398. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.js.map +1 -1
  399. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +39 -43
  400. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
  401. package/dist/lexicon/types/chat/bsky/convo/defs.js +32 -40
  402. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  403. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.d.ts +1 -2
  404. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.d.ts.map +1 -1
  405. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.js +4 -0
  406. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.js.map +1 -1
  407. package/dist/lexicon/types/chat/bsky/convo/getConvo.d.ts +1 -2
  408. package/dist/lexicon/types/chat/bsky/convo/getConvo.d.ts.map +1 -1
  409. package/dist/lexicon/types/chat/bsky/convo/getConvo.js +4 -0
  410. package/dist/lexicon/types/chat/bsky/convo/getConvo.js.map +1 -1
  411. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts +1 -2
  412. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
  413. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js +4 -0
  414. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
  415. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +3 -4
  416. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  417. package/dist/lexicon/types/chat/bsky/convo/getLog.js +4 -0
  418. package/dist/lexicon/types/chat/bsky/convo/getLog.js.map +1 -1
  419. package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts +3 -4
  420. package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
  421. package/dist/lexicon/types/chat/bsky/convo/getMessages.js +4 -0
  422. package/dist/lexicon/types/chat/bsky/convo/getMessages.js.map +1 -1
  423. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.d.ts +0 -2
  424. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.d.ts.map +1 -1
  425. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.js +4 -0
  426. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.js.map +1 -1
  427. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts +1 -2
  428. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
  429. package/dist/lexicon/types/chat/bsky/convo/listConvos.js +4 -0
  430. package/dist/lexicon/types/chat/bsky/convo/listConvos.js.map +1 -1
  431. package/dist/lexicon/types/chat/bsky/convo/muteConvo.d.ts +1 -3
  432. package/dist/lexicon/types/chat/bsky/convo/muteConvo.d.ts.map +1 -1
  433. package/dist/lexicon/types/chat/bsky/convo/muteConvo.js +4 -0
  434. package/dist/lexicon/types/chat/bsky/convo/muteConvo.js.map +1 -1
  435. package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts +1 -2
  436. package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts.map +1 -1
  437. package/dist/lexicon/types/chat/bsky/convo/sendMessage.js +4 -0
  438. package/dist/lexicon/types/chat/bsky/convo/sendMessage.js.map +1 -1
  439. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts +4 -6
  440. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -1
  441. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js +5 -4
  442. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js.map +1 -1
  443. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.d.ts +1 -3
  444. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.d.ts.map +1 -1
  445. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.js +4 -0
  446. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.js.map +1 -1
  447. package/dist/lexicon/types/chat/bsky/convo/updateRead.d.ts +1 -3
  448. package/dist/lexicon/types/chat/bsky/convo/updateRead.d.ts.map +1 -1
  449. package/dist/lexicon/types/chat/bsky/convo/updateRead.js +4 -0
  450. package/dist/lexicon/types/chat/bsky/convo/updateRead.js.map +1 -1
  451. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.d.ts +3 -4
  452. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.d.ts.map +1 -1
  453. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js +5 -4
  454. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js.map +1 -1
  455. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts +3 -4
  456. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
  457. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.js +4 -0
  458. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.js.map +1 -1
  459. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.d.ts +0 -1
  460. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.d.ts.map +1 -1
  461. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.js +4 -0
  462. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.js.map +1 -1
  463. package/dist/lexicon/types/com/atproto/admin/defs.d.ts +19 -17
  464. package/dist/lexicon/types/com/atproto/admin/defs.d.ts.map +1 -1
  465. package/dist/lexicon/types/com/atproto/admin/defs.js +17 -20
  466. package/dist/lexicon/types/com/atproto/admin/defs.js.map +1 -1
  467. package/dist/lexicon/types/com/atproto/admin/deleteAccount.d.ts +0 -1
  468. package/dist/lexicon/types/com/atproto/admin/deleteAccount.d.ts.map +1 -1
  469. package/dist/lexicon/types/com/atproto/admin/deleteAccount.js +4 -0
  470. package/dist/lexicon/types/com/atproto/admin/deleteAccount.js.map +1 -1
  471. package/dist/lexicon/types/com/atproto/admin/disableAccountInvites.d.ts +0 -1
  472. package/dist/lexicon/types/com/atproto/admin/disableAccountInvites.d.ts.map +1 -1
  473. package/dist/lexicon/types/com/atproto/admin/disableAccountInvites.js +4 -0
  474. package/dist/lexicon/types/com/atproto/admin/disableAccountInvites.js.map +1 -1
  475. package/dist/lexicon/types/com/atproto/admin/disableInviteCodes.d.ts +0 -1
  476. package/dist/lexicon/types/com/atproto/admin/disableInviteCodes.d.ts.map +1 -1
  477. package/dist/lexicon/types/com/atproto/admin/disableInviteCodes.js +4 -0
  478. package/dist/lexicon/types/com/atproto/admin/disableInviteCodes.js.map +1 -1
  479. package/dist/lexicon/types/com/atproto/admin/enableAccountInvites.d.ts +0 -1
  480. package/dist/lexicon/types/com/atproto/admin/enableAccountInvites.d.ts.map +1 -1
  481. package/dist/lexicon/types/com/atproto/admin/enableAccountInvites.js +4 -0
  482. package/dist/lexicon/types/com/atproto/admin/enableAccountInvites.js.map +1 -1
  483. package/dist/lexicon/types/com/atproto/admin/getAccountInfo.d.ts +1 -1
  484. package/dist/lexicon/types/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
  485. package/dist/lexicon/types/com/atproto/admin/getAccountInfo.js +4 -0
  486. package/dist/lexicon/types/com/atproto/admin/getAccountInfo.js.map +1 -1
  487. package/dist/lexicon/types/com/atproto/admin/getAccountInfos.d.ts +1 -2
  488. package/dist/lexicon/types/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
  489. package/dist/lexicon/types/com/atproto/admin/getAccountInfos.js +4 -0
  490. package/dist/lexicon/types/com/atproto/admin/getAccountInfos.js.map +1 -1
  491. package/dist/lexicon/types/com/atproto/admin/getInviteCodes.d.ts +1 -2
  492. package/dist/lexicon/types/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
  493. package/dist/lexicon/types/com/atproto/admin/getInviteCodes.js +4 -0
  494. package/dist/lexicon/types/com/atproto/admin/getInviteCodes.js.map +1 -1
  495. package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.d.ts +4 -5
  496. package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
  497. package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.js +4 -0
  498. package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.js.map +1 -1
  499. package/dist/lexicon/types/com/atproto/admin/searchAccounts.d.ts +1 -2
  500. package/dist/lexicon/types/com/atproto/admin/searchAccounts.d.ts.map +1 -1
  501. package/dist/lexicon/types/com/atproto/admin/searchAccounts.js +4 -0
  502. package/dist/lexicon/types/com/atproto/admin/searchAccounts.js.map +1 -1
  503. package/dist/lexicon/types/com/atproto/admin/sendEmail.d.ts +0 -2
  504. package/dist/lexicon/types/com/atproto/admin/sendEmail.d.ts.map +1 -1
  505. package/dist/lexicon/types/com/atproto/admin/sendEmail.js +4 -0
  506. package/dist/lexicon/types/com/atproto/admin/sendEmail.js.map +1 -1
  507. package/dist/lexicon/types/com/atproto/admin/updateAccountEmail.d.ts +0 -1
  508. package/dist/lexicon/types/com/atproto/admin/updateAccountEmail.d.ts.map +1 -1
  509. package/dist/lexicon/types/com/atproto/admin/updateAccountEmail.js +4 -0
  510. package/dist/lexicon/types/com/atproto/admin/updateAccountEmail.js.map +1 -1
  511. package/dist/lexicon/types/com/atproto/admin/updateAccountHandle.d.ts +0 -1
  512. package/dist/lexicon/types/com/atproto/admin/updateAccountHandle.d.ts.map +1 -1
  513. package/dist/lexicon/types/com/atproto/admin/updateAccountHandle.js +4 -0
  514. package/dist/lexicon/types/com/atproto/admin/updateAccountHandle.js.map +1 -1
  515. package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.d.ts +0 -1
  516. package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.d.ts.map +1 -1
  517. package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.js +4 -0
  518. package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.js.map +1 -1
  519. package/dist/lexicon/types/com/atproto/admin/updateSubjectStatus.d.ts +5 -8
  520. package/dist/lexicon/types/com/atproto/admin/updateSubjectStatus.d.ts.map +1 -1
  521. package/dist/lexicon/types/com/atproto/admin/updateSubjectStatus.js +4 -0
  522. package/dist/lexicon/types/com/atproto/admin/updateSubjectStatus.js.map +1 -1
  523. package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +6 -3
  524. package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
  525. package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.js +4 -0
  526. package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
  527. package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.d.ts.map +1 -1
  528. package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.js +4 -0
  529. package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
  530. package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts +0 -1
  531. package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts.map +1 -1
  532. package/dist/lexicon/types/com/atproto/identity/resolveHandle.js +4 -0
  533. package/dist/lexicon/types/com/atproto/identity/resolveHandle.js.map +1 -1
  534. package/dist/lexicon/types/com/atproto/identity/signPlcOperation.d.ts +9 -5
  535. package/dist/lexicon/types/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
  536. package/dist/lexicon/types/com/atproto/identity/signPlcOperation.js +4 -0
  537. package/dist/lexicon/types/com/atproto/identity/signPlcOperation.js.map +1 -1
  538. package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.d.ts +3 -2
  539. package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.d.ts.map +1 -1
  540. package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.js +4 -0
  541. package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.js.map +1 -1
  542. package/dist/lexicon/types/com/atproto/identity/updateHandle.d.ts +0 -1
  543. package/dist/lexicon/types/com/atproto/identity/updateHandle.d.ts.map +1 -1
  544. package/dist/lexicon/types/com/atproto/identity/updateHandle.js +4 -0
  545. package/dist/lexicon/types/com/atproto/identity/updateHandle.js.map +1 -1
  546. package/dist/lexicon/types/com/atproto/label/defs.d.ts +15 -15
  547. package/dist/lexicon/types/com/atproto/label/defs.d.ts.map +1 -1
  548. package/dist/lexicon/types/com/atproto/label/defs.js +17 -20
  549. package/dist/lexicon/types/com/atproto/label/defs.js.map +1 -1
  550. package/dist/lexicon/types/com/atproto/label/queryLabels.d.ts +1 -2
  551. package/dist/lexicon/types/com/atproto/label/queryLabels.d.ts.map +1 -1
  552. package/dist/lexicon/types/com/atproto/label/queryLabels.js +4 -0
  553. package/dist/lexicon/types/com/atproto/label/queryLabels.js.map +1 -1
  554. package/dist/lexicon/types/com/atproto/label/subscribeLabels.d.ts +10 -10
  555. package/dist/lexicon/types/com/atproto/label/subscribeLabels.d.ts.map +1 -1
  556. package/dist/lexicon/types/com/atproto/label/subscribeLabels.js +8 -8
  557. package/dist/lexicon/types/com/atproto/label/subscribeLabels.js.map +1 -1
  558. package/dist/lexicon/types/com/atproto/lexicon/schema.d.ts +3 -2
  559. package/dist/lexicon/types/com/atproto/lexicon/schema.d.ts.map +1 -1
  560. package/dist/lexicon/types/com/atproto/lexicon/schema.js +5 -5
  561. package/dist/lexicon/types/com/atproto/lexicon/schema.js.map +1 -1
  562. package/dist/lexicon/types/com/atproto/moderation/createReport.d.ts +6 -9
  563. package/dist/lexicon/types/com/atproto/moderation/createReport.d.ts.map +1 -1
  564. package/dist/lexicon/types/com/atproto/moderation/createReport.js +4 -0
  565. package/dist/lexicon/types/com/atproto/moderation/createReport.js.map +1 -1
  566. package/dist/lexicon/types/com/atproto/moderation/defs.d.ts.map +1 -1
  567. package/dist/lexicon/types/com/atproto/moderation/defs.js +11 -7
  568. package/dist/lexicon/types/com/atproto/moderation/defs.js.map +1 -1
  569. package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts +28 -25
  570. package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
  571. package/dist/lexicon/types/com/atproto/repo/applyWrites.js +20 -24
  572. package/dist/lexicon/types/com/atproto/repo/applyWrites.js.map +1 -1
  573. package/dist/lexicon/types/com/atproto/repo/createRecord.d.ts +4 -4
  574. package/dist/lexicon/types/com/atproto/repo/createRecord.d.ts.map +1 -1
  575. package/dist/lexicon/types/com/atproto/repo/createRecord.js +4 -0
  576. package/dist/lexicon/types/com/atproto/repo/createRecord.js.map +1 -1
  577. package/dist/lexicon/types/com/atproto/repo/defs.d.ts +3 -3
  578. package/dist/lexicon/types/com/atproto/repo/defs.d.ts.map +1 -1
  579. package/dist/lexicon/types/com/atproto/repo/defs.js +5 -4
  580. package/dist/lexicon/types/com/atproto/repo/defs.js.map +1 -1
  581. package/dist/lexicon/types/com/atproto/repo/deleteRecord.d.ts +1 -3
  582. package/dist/lexicon/types/com/atproto/repo/deleteRecord.d.ts.map +1 -1
  583. package/dist/lexicon/types/com/atproto/repo/deleteRecord.js +4 -0
  584. package/dist/lexicon/types/com/atproto/repo/deleteRecord.js.map +1 -1
  585. package/dist/lexicon/types/com/atproto/repo/describeRepo.d.ts +3 -2
  586. package/dist/lexicon/types/com/atproto/repo/describeRepo.d.ts.map +1 -1
  587. package/dist/lexicon/types/com/atproto/repo/describeRepo.js +4 -0
  588. package/dist/lexicon/types/com/atproto/repo/describeRepo.js.map +1 -1
  589. package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts +3 -2
  590. package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts.map +1 -1
  591. package/dist/lexicon/types/com/atproto/repo/getRecord.js +4 -0
  592. package/dist/lexicon/types/com/atproto/repo/getRecord.js.map +1 -1
  593. package/dist/lexicon/types/com/atproto/repo/importRepo.d.ts +1 -1
  594. package/dist/lexicon/types/com/atproto/repo/importRepo.d.ts.map +1 -1
  595. package/dist/lexicon/types/com/atproto/repo/importRepo.js +4 -0
  596. package/dist/lexicon/types/com/atproto/repo/importRepo.js.map +1 -1
  597. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.d.ts +3 -4
  598. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
  599. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.js +5 -4
  600. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.js.map +1 -1
  601. package/dist/lexicon/types/com/atproto/repo/listRecords.d.ts +6 -5
  602. package/dist/lexicon/types/com/atproto/repo/listRecords.d.ts.map +1 -1
  603. package/dist/lexicon/types/com/atproto/repo/listRecords.js +5 -4
  604. package/dist/lexicon/types/com/atproto/repo/listRecords.js.map +1 -1
  605. package/dist/lexicon/types/com/atproto/repo/putRecord.d.ts +4 -4
  606. package/dist/lexicon/types/com/atproto/repo/putRecord.d.ts.map +1 -1
  607. package/dist/lexicon/types/com/atproto/repo/putRecord.js +4 -0
  608. package/dist/lexicon/types/com/atproto/repo/putRecord.js.map +1 -1
  609. package/dist/lexicon/types/com/atproto/repo/strongRef.d.ts +3 -3
  610. package/dist/lexicon/types/com/atproto/repo/strongRef.d.ts.map +1 -1
  611. package/dist/lexicon/types/com/atproto/repo/strongRef.js +5 -5
  612. package/dist/lexicon/types/com/atproto/repo/strongRef.js.map +1 -1
  613. package/dist/lexicon/types/com/atproto/repo/uploadBlob.d.ts +1 -2
  614. package/dist/lexicon/types/com/atproto/repo/uploadBlob.d.ts.map +1 -1
  615. package/dist/lexicon/types/com/atproto/repo/uploadBlob.js +4 -0
  616. package/dist/lexicon/types/com/atproto/repo/uploadBlob.js.map +1 -1
  617. package/dist/lexicon/types/com/atproto/server/activateAccount.d.ts.map +1 -1
  618. package/dist/lexicon/types/com/atproto/server/activateAccount.js +4 -0
  619. package/dist/lexicon/types/com/atproto/server/activateAccount.js.map +1 -1
  620. package/dist/lexicon/types/com/atproto/server/checkAccountStatus.d.ts +0 -1
  621. package/dist/lexicon/types/com/atproto/server/checkAccountStatus.d.ts.map +1 -1
  622. package/dist/lexicon/types/com/atproto/server/checkAccountStatus.js +4 -0
  623. package/dist/lexicon/types/com/atproto/server/checkAccountStatus.js.map +1 -1
  624. package/dist/lexicon/types/com/atproto/server/confirmEmail.d.ts +0 -1
  625. package/dist/lexicon/types/com/atproto/server/confirmEmail.d.ts.map +1 -1
  626. package/dist/lexicon/types/com/atproto/server/confirmEmail.js +4 -0
  627. package/dist/lexicon/types/com/atproto/server/confirmEmail.js.map +1 -1
  628. package/dist/lexicon/types/com/atproto/server/createAccount.d.ts +6 -4
  629. package/dist/lexicon/types/com/atproto/server/createAccount.d.ts.map +1 -1
  630. package/dist/lexicon/types/com/atproto/server/createAccount.js +4 -0
  631. package/dist/lexicon/types/com/atproto/server/createAccount.js.map +1 -1
  632. package/dist/lexicon/types/com/atproto/server/createAppPassword.d.ts +3 -4
  633. package/dist/lexicon/types/com/atproto/server/createAppPassword.d.ts.map +1 -1
  634. package/dist/lexicon/types/com/atproto/server/createAppPassword.js +5 -4
  635. package/dist/lexicon/types/com/atproto/server/createAppPassword.js.map +1 -1
  636. package/dist/lexicon/types/com/atproto/server/createInviteCode.d.ts +0 -2
  637. package/dist/lexicon/types/com/atproto/server/createInviteCode.d.ts.map +1 -1
  638. package/dist/lexicon/types/com/atproto/server/createInviteCode.js +4 -0
  639. package/dist/lexicon/types/com/atproto/server/createInviteCode.js.map +1 -1
  640. package/dist/lexicon/types/com/atproto/server/createInviteCodes.d.ts +3 -5
  641. package/dist/lexicon/types/com/atproto/server/createInviteCodes.d.ts.map +1 -1
  642. package/dist/lexicon/types/com/atproto/server/createInviteCodes.js +5 -4
  643. package/dist/lexicon/types/com/atproto/server/createInviteCodes.js.map +1 -1
  644. package/dist/lexicon/types/com/atproto/server/createSession.d.ts +3 -3
  645. package/dist/lexicon/types/com/atproto/server/createSession.d.ts.map +1 -1
  646. package/dist/lexicon/types/com/atproto/server/createSession.js +4 -0
  647. package/dist/lexicon/types/com/atproto/server/createSession.js.map +1 -1
  648. package/dist/lexicon/types/com/atproto/server/deactivateAccount.d.ts +0 -1
  649. package/dist/lexicon/types/com/atproto/server/deactivateAccount.d.ts.map +1 -1
  650. package/dist/lexicon/types/com/atproto/server/deactivateAccount.js +4 -0
  651. package/dist/lexicon/types/com/atproto/server/deactivateAccount.js.map +1 -1
  652. package/dist/lexicon/types/com/atproto/server/defs.d.ts +6 -6
  653. package/dist/lexicon/types/com/atproto/server/defs.d.ts.map +1 -1
  654. package/dist/lexicon/types/com/atproto/server/defs.js +8 -8
  655. package/dist/lexicon/types/com/atproto/server/defs.js.map +1 -1
  656. package/dist/lexicon/types/com/atproto/server/deleteAccount.d.ts +0 -1
  657. package/dist/lexicon/types/com/atproto/server/deleteAccount.d.ts.map +1 -1
  658. package/dist/lexicon/types/com/atproto/server/deleteAccount.js +4 -0
  659. package/dist/lexicon/types/com/atproto/server/deleteAccount.js.map +1 -1
  660. package/dist/lexicon/types/com/atproto/server/deleteSession.d.ts.map +1 -1
  661. package/dist/lexicon/types/com/atproto/server/deleteSession.js +4 -0
  662. package/dist/lexicon/types/com/atproto/server/deleteSession.js.map +1 -1
  663. package/dist/lexicon/types/com/atproto/server/describeServer.d.ts +6 -7
  664. package/dist/lexicon/types/com/atproto/server/describeServer.d.ts.map +1 -1
  665. package/dist/lexicon/types/com/atproto/server/describeServer.js +8 -8
  666. package/dist/lexicon/types/com/atproto/server/describeServer.js.map +1 -1
  667. package/dist/lexicon/types/com/atproto/server/getAccountInviteCodes.d.ts +1 -2
  668. package/dist/lexicon/types/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
  669. package/dist/lexicon/types/com/atproto/server/getAccountInviteCodes.js +4 -0
  670. package/dist/lexicon/types/com/atproto/server/getAccountInviteCodes.js.map +1 -1
  671. package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts +0 -1
  672. package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  673. package/dist/lexicon/types/com/atproto/server/getServiceAuth.js +4 -0
  674. package/dist/lexicon/types/com/atproto/server/getServiceAuth.js.map +1 -1
  675. package/dist/lexicon/types/com/atproto/server/getSession.d.ts +3 -2
  676. package/dist/lexicon/types/com/atproto/server/getSession.d.ts.map +1 -1
  677. package/dist/lexicon/types/com/atproto/server/getSession.js +4 -0
  678. package/dist/lexicon/types/com/atproto/server/getSession.js.map +1 -1
  679. package/dist/lexicon/types/com/atproto/server/listAppPasswords.d.ts +3 -4
  680. package/dist/lexicon/types/com/atproto/server/listAppPasswords.d.ts.map +1 -1
  681. package/dist/lexicon/types/com/atproto/server/listAppPasswords.js +5 -4
  682. package/dist/lexicon/types/com/atproto/server/listAppPasswords.js.map +1 -1
  683. package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts +3 -2
  684. package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts.map +1 -1
  685. package/dist/lexicon/types/com/atproto/server/refreshSession.js +4 -0
  686. package/dist/lexicon/types/com/atproto/server/refreshSession.js.map +1 -1
  687. package/dist/lexicon/types/com/atproto/server/requestAccountDelete.d.ts.map +1 -1
  688. package/dist/lexicon/types/com/atproto/server/requestAccountDelete.js +4 -0
  689. package/dist/lexicon/types/com/atproto/server/requestAccountDelete.js.map +1 -1
  690. package/dist/lexicon/types/com/atproto/server/requestEmailConfirmation.d.ts.map +1 -1
  691. package/dist/lexicon/types/com/atproto/server/requestEmailConfirmation.js +4 -0
  692. package/dist/lexicon/types/com/atproto/server/requestEmailConfirmation.js.map +1 -1
  693. package/dist/lexicon/types/com/atproto/server/requestEmailUpdate.d.ts +0 -1
  694. package/dist/lexicon/types/com/atproto/server/requestEmailUpdate.d.ts.map +1 -1
  695. package/dist/lexicon/types/com/atproto/server/requestEmailUpdate.js +4 -0
  696. package/dist/lexicon/types/com/atproto/server/requestEmailUpdate.js.map +1 -1
  697. package/dist/lexicon/types/com/atproto/server/requestPasswordReset.d.ts +0 -1
  698. package/dist/lexicon/types/com/atproto/server/requestPasswordReset.d.ts.map +1 -1
  699. package/dist/lexicon/types/com/atproto/server/requestPasswordReset.js +4 -0
  700. package/dist/lexicon/types/com/atproto/server/requestPasswordReset.js.map +1 -1
  701. package/dist/lexicon/types/com/atproto/server/reserveSigningKey.d.ts +0 -2
  702. package/dist/lexicon/types/com/atproto/server/reserveSigningKey.d.ts.map +1 -1
  703. package/dist/lexicon/types/com/atproto/server/reserveSigningKey.js +4 -0
  704. package/dist/lexicon/types/com/atproto/server/reserveSigningKey.js.map +1 -1
  705. package/dist/lexicon/types/com/atproto/server/resetPassword.d.ts +0 -1
  706. package/dist/lexicon/types/com/atproto/server/resetPassword.d.ts.map +1 -1
  707. package/dist/lexicon/types/com/atproto/server/resetPassword.js +4 -0
  708. package/dist/lexicon/types/com/atproto/server/resetPassword.js.map +1 -1
  709. package/dist/lexicon/types/com/atproto/server/revokeAppPassword.d.ts +0 -1
  710. package/dist/lexicon/types/com/atproto/server/revokeAppPassword.d.ts.map +1 -1
  711. package/dist/lexicon/types/com/atproto/server/revokeAppPassword.js +4 -0
  712. package/dist/lexicon/types/com/atproto/server/revokeAppPassword.js.map +1 -1
  713. package/dist/lexicon/types/com/atproto/server/updateEmail.d.ts +0 -1
  714. package/dist/lexicon/types/com/atproto/server/updateEmail.d.ts.map +1 -1
  715. package/dist/lexicon/types/com/atproto/server/updateEmail.js +4 -0
  716. package/dist/lexicon/types/com/atproto/server/updateEmail.js.map +1 -1
  717. package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts +1 -1
  718. package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts.map +1 -1
  719. package/dist/lexicon/types/com/atproto/sync/getBlob.js +4 -0
  720. package/dist/lexicon/types/com/atproto/sync/getBlob.js.map +1 -1
  721. package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts +1 -1
  722. package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts.map +1 -1
  723. package/dist/lexicon/types/com/atproto/sync/getBlocks.js +4 -0
  724. package/dist/lexicon/types/com/atproto/sync/getBlocks.js.map +1 -1
  725. package/dist/lexicon/types/com/atproto/sync/getCheckout.d.ts +1 -1
  726. package/dist/lexicon/types/com/atproto/sync/getCheckout.d.ts.map +1 -1
  727. package/dist/lexicon/types/com/atproto/sync/getCheckout.js +4 -0
  728. package/dist/lexicon/types/com/atproto/sync/getCheckout.js.map +1 -1
  729. package/dist/lexicon/types/com/atproto/sync/getHead.d.ts +0 -1
  730. package/dist/lexicon/types/com/atproto/sync/getHead.d.ts.map +1 -1
  731. package/dist/lexicon/types/com/atproto/sync/getHead.js +4 -0
  732. package/dist/lexicon/types/com/atproto/sync/getHead.js.map +1 -1
  733. package/dist/lexicon/types/com/atproto/sync/getLatestCommit.d.ts +0 -1
  734. package/dist/lexicon/types/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
  735. package/dist/lexicon/types/com/atproto/sync/getLatestCommit.js +4 -0
  736. package/dist/lexicon/types/com/atproto/sync/getLatestCommit.js.map +1 -1
  737. package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts +1 -1
  738. package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts.map +1 -1
  739. package/dist/lexicon/types/com/atproto/sync/getRecord.js +4 -0
  740. package/dist/lexicon/types/com/atproto/sync/getRecord.js.map +1 -1
  741. package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts +1 -1
  742. package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts.map +1 -1
  743. package/dist/lexicon/types/com/atproto/sync/getRepo.js +4 -0
  744. package/dist/lexicon/types/com/atproto/sync/getRepo.js.map +1 -1
  745. package/dist/lexicon/types/com/atproto/sync/getRepoStatus.d.ts +0 -1
  746. package/dist/lexicon/types/com/atproto/sync/getRepoStatus.d.ts.map +1 -1
  747. package/dist/lexicon/types/com/atproto/sync/getRepoStatus.js +4 -0
  748. package/dist/lexicon/types/com/atproto/sync/getRepoStatus.js.map +1 -1
  749. package/dist/lexicon/types/com/atproto/sync/listBlobs.d.ts +0 -1
  750. package/dist/lexicon/types/com/atproto/sync/listBlobs.d.ts.map +1 -1
  751. package/dist/lexicon/types/com/atproto/sync/listBlobs.js +4 -0
  752. package/dist/lexicon/types/com/atproto/sync/listBlobs.js.map +1 -1
  753. package/dist/lexicon/types/com/atproto/sync/listRepos.d.ts +3 -4
  754. package/dist/lexicon/types/com/atproto/sync/listRepos.d.ts.map +1 -1
  755. package/dist/lexicon/types/com/atproto/sync/listRepos.js +5 -4
  756. package/dist/lexicon/types/com/atproto/sync/listRepos.js.map +1 -1
  757. package/dist/lexicon/types/com/atproto/sync/notifyOfUpdate.d.ts +0 -1
  758. package/dist/lexicon/types/com/atproto/sync/notifyOfUpdate.d.ts.map +1 -1
  759. package/dist/lexicon/types/com/atproto/sync/notifyOfUpdate.js +4 -0
  760. package/dist/lexicon/types/com/atproto/sync/notifyOfUpdate.js.map +1 -1
  761. package/dist/lexicon/types/com/atproto/sync/requestCrawl.d.ts +0 -1
  762. package/dist/lexicon/types/com/atproto/sync/requestCrawl.d.ts.map +1 -1
  763. package/dist/lexicon/types/com/atproto/sync/requestCrawl.js +4 -0
  764. package/dist/lexicon/types/com/atproto/sync/requestCrawl.js.map +1 -1
  765. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +27 -27
  766. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
  767. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js +26 -32
  768. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js.map +1 -1
  769. package/dist/lexicon/types/com/atproto/temp/addReservedHandle.d.ts +0 -2
  770. package/dist/lexicon/types/com/atproto/temp/addReservedHandle.d.ts.map +1 -1
  771. package/dist/lexicon/types/com/atproto/temp/addReservedHandle.js +4 -0
  772. package/dist/lexicon/types/com/atproto/temp/addReservedHandle.js.map +1 -1
  773. package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.d.ts +0 -1
  774. package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.d.ts.map +1 -1
  775. package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.js +4 -0
  776. package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.js.map +1 -1
  777. package/dist/lexicon/types/com/atproto/temp/fetchLabels.d.ts +1 -2
  778. package/dist/lexicon/types/com/atproto/temp/fetchLabels.d.ts.map +1 -1
  779. package/dist/lexicon/types/com/atproto/temp/fetchLabels.js +4 -0
  780. package/dist/lexicon/types/com/atproto/temp/fetchLabels.js.map +1 -1
  781. package/dist/lexicon/types/com/atproto/temp/requestPhoneVerification.d.ts +0 -1
  782. package/dist/lexicon/types/com/atproto/temp/requestPhoneVerification.d.ts.map +1 -1
  783. package/dist/lexicon/types/com/atproto/temp/requestPhoneVerification.js +4 -0
  784. package/dist/lexicon/types/com/atproto/temp/requestPhoneVerification.js.map +1 -1
  785. package/dist/lexicon/types/tools/ozone/communication/createTemplate.d.ts +1 -2
  786. package/dist/lexicon/types/tools/ozone/communication/createTemplate.d.ts.map +1 -1
  787. package/dist/lexicon/types/tools/ozone/communication/createTemplate.js +4 -0
  788. package/dist/lexicon/types/tools/ozone/communication/createTemplate.js.map +1 -1
  789. package/dist/lexicon/types/tools/ozone/communication/defs.d.ts +3 -3
  790. package/dist/lexicon/types/tools/ozone/communication/defs.d.ts.map +1 -1
  791. package/dist/lexicon/types/tools/ozone/communication/defs.js +5 -4
  792. package/dist/lexicon/types/tools/ozone/communication/defs.js.map +1 -1
  793. package/dist/lexicon/types/tools/ozone/communication/deleteTemplate.d.ts +0 -1
  794. package/dist/lexicon/types/tools/ozone/communication/deleteTemplate.d.ts.map +1 -1
  795. package/dist/lexicon/types/tools/ozone/communication/deleteTemplate.js +4 -0
  796. package/dist/lexicon/types/tools/ozone/communication/deleteTemplate.js.map +1 -1
  797. package/dist/lexicon/types/tools/ozone/communication/listTemplates.d.ts +1 -2
  798. package/dist/lexicon/types/tools/ozone/communication/listTemplates.d.ts.map +1 -1
  799. package/dist/lexicon/types/tools/ozone/communication/listTemplates.js +4 -0
  800. package/dist/lexicon/types/tools/ozone/communication/listTemplates.js.map +1 -1
  801. package/dist/lexicon/types/tools/ozone/communication/updateTemplate.d.ts +1 -2
  802. package/dist/lexicon/types/tools/ozone/communication/updateTemplate.d.ts.map +1 -1
  803. package/dist/lexicon/types/tools/ozone/communication/updateTemplate.js +4 -0
  804. package/dist/lexicon/types/tools/ozone/communication/updateTemplate.js.map +1 -1
  805. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +144 -132
  806. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  807. package/dist/lexicon/types/tools/ozone/moderation/defs.js +123 -148
  808. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  809. package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts +6 -8
  810. package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
  811. package/dist/lexicon/types/tools/ozone/moderation/emitEvent.js +4 -0
  812. package/dist/lexicon/types/tools/ozone/moderation/emitEvent.js.map +1 -1
  813. package/dist/lexicon/types/tools/ozone/moderation/getEvent.d.ts +1 -1
  814. package/dist/lexicon/types/tools/ozone/moderation/getEvent.d.ts.map +1 -1
  815. package/dist/lexicon/types/tools/ozone/moderation/getEvent.js +4 -0
  816. package/dist/lexicon/types/tools/ozone/moderation/getEvent.js.map +1 -1
  817. package/dist/lexicon/types/tools/ozone/moderation/getRecord.d.ts +1 -1
  818. package/dist/lexicon/types/tools/ozone/moderation/getRecord.d.ts.map +1 -1
  819. package/dist/lexicon/types/tools/ozone/moderation/getRecord.js +4 -0
  820. package/dist/lexicon/types/tools/ozone/moderation/getRecord.js.map +1 -1
  821. package/dist/lexicon/types/tools/ozone/moderation/getRecords.d.ts +3 -4
  822. package/dist/lexicon/types/tools/ozone/moderation/getRecords.d.ts.map +1 -1
  823. package/dist/lexicon/types/tools/ozone/moderation/getRecords.js +4 -0
  824. package/dist/lexicon/types/tools/ozone/moderation/getRecords.js.map +1 -1
  825. package/dist/lexicon/types/tools/ozone/moderation/getRepo.d.ts +1 -1
  826. package/dist/lexicon/types/tools/ozone/moderation/getRepo.d.ts.map +1 -1
  827. package/dist/lexicon/types/tools/ozone/moderation/getRepo.js +4 -0
  828. package/dist/lexicon/types/tools/ozone/moderation/getRepo.js.map +1 -1
  829. package/dist/lexicon/types/tools/ozone/moderation/getRepos.d.ts +3 -4
  830. package/dist/lexicon/types/tools/ozone/moderation/getRepos.d.ts.map +1 -1
  831. package/dist/lexicon/types/tools/ozone/moderation/getRepos.js +4 -0
  832. package/dist/lexicon/types/tools/ozone/moderation/getRepos.js.map +1 -1
  833. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts +1 -2
  834. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  835. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.js +4 -0
  836. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.js.map +1 -1
  837. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +4 -3
  838. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  839. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.js +4 -0
  840. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  841. package/dist/lexicon/types/tools/ozone/moderation/searchRepos.d.ts +1 -2
  842. package/dist/lexicon/types/tools/ozone/moderation/searchRepos.d.ts.map +1 -1
  843. package/dist/lexicon/types/tools/ozone/moderation/searchRepos.js +4 -0
  844. package/dist/lexicon/types/tools/ozone/moderation/searchRepos.js.map +1 -1
  845. package/dist/lexicon/types/tools/ozone/server/getConfig.d.ts +6 -7
  846. package/dist/lexicon/types/tools/ozone/server/getConfig.d.ts.map +1 -1
  847. package/dist/lexicon/types/tools/ozone/server/getConfig.js +8 -8
  848. package/dist/lexicon/types/tools/ozone/server/getConfig.js.map +1 -1
  849. package/dist/lexicon/types/tools/ozone/set/addValues.d.ts +0 -1
  850. package/dist/lexicon/types/tools/ozone/set/addValues.d.ts.map +1 -1
  851. package/dist/lexicon/types/tools/ozone/set/addValues.js +4 -0
  852. package/dist/lexicon/types/tools/ozone/set/addValues.js.map +1 -1
  853. package/dist/lexicon/types/tools/ozone/set/defs.d.ts +6 -6
  854. package/dist/lexicon/types/tools/ozone/set/defs.d.ts.map +1 -1
  855. package/dist/lexicon/types/tools/ozone/set/defs.js +8 -6
  856. package/dist/lexicon/types/tools/ozone/set/defs.js.map +1 -1
  857. package/dist/lexicon/types/tools/ozone/set/deleteSet.d.ts +0 -2
  858. package/dist/lexicon/types/tools/ozone/set/deleteSet.d.ts.map +1 -1
  859. package/dist/lexicon/types/tools/ozone/set/deleteSet.js +4 -0
  860. package/dist/lexicon/types/tools/ozone/set/deleteSet.js.map +1 -1
  861. package/dist/lexicon/types/tools/ozone/set/deleteValues.d.ts +0 -1
  862. package/dist/lexicon/types/tools/ozone/set/deleteValues.d.ts.map +1 -1
  863. package/dist/lexicon/types/tools/ozone/set/deleteValues.js +4 -0
  864. package/dist/lexicon/types/tools/ozone/set/deleteValues.js.map +1 -1
  865. package/dist/lexicon/types/tools/ozone/set/getValues.d.ts +1 -2
  866. package/dist/lexicon/types/tools/ozone/set/getValues.d.ts.map +1 -1
  867. package/dist/lexicon/types/tools/ozone/set/getValues.js +4 -0
  868. package/dist/lexicon/types/tools/ozone/set/getValues.js.map +1 -1
  869. package/dist/lexicon/types/tools/ozone/set/querySets.d.ts +1 -2
  870. package/dist/lexicon/types/tools/ozone/set/querySets.d.ts.map +1 -1
  871. package/dist/lexicon/types/tools/ozone/set/querySets.js +4 -0
  872. package/dist/lexicon/types/tools/ozone/set/querySets.js.map +1 -1
  873. package/dist/lexicon/types/tools/ozone/set/upsertSet.d.ts +1 -1
  874. package/dist/lexicon/types/tools/ozone/set/upsertSet.d.ts.map +1 -1
  875. package/dist/lexicon/types/tools/ozone/set/upsertSet.js +4 -0
  876. package/dist/lexicon/types/tools/ozone/set/upsertSet.js.map +1 -1
  877. package/dist/lexicon/types/tools/ozone/setting/defs.d.ts +6 -4
  878. package/dist/lexicon/types/tools/ozone/setting/defs.d.ts.map +1 -1
  879. package/dist/lexicon/types/tools/ozone/setting/defs.js +5 -4
  880. package/dist/lexicon/types/tools/ozone/setting/defs.js.map +1 -1
  881. package/dist/lexicon/types/tools/ozone/setting/listOptions.d.ts +1 -2
  882. package/dist/lexicon/types/tools/ozone/setting/listOptions.d.ts.map +1 -1
  883. package/dist/lexicon/types/tools/ozone/setting/listOptions.js +4 -0
  884. package/dist/lexicon/types/tools/ozone/setting/listOptions.js.map +1 -1
  885. package/dist/lexicon/types/tools/ozone/setting/removeOptions.d.ts +0 -2
  886. package/dist/lexicon/types/tools/ozone/setting/removeOptions.d.ts.map +1 -1
  887. package/dist/lexicon/types/tools/ozone/setting/removeOptions.js +4 -0
  888. package/dist/lexicon/types/tools/ozone/setting/removeOptions.js.map +1 -1
  889. package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts +4 -4
  890. package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts.map +1 -1
  891. package/dist/lexicon/types/tools/ozone/setting/upsertOption.js +4 -0
  892. package/dist/lexicon/types/tools/ozone/setting/upsertOption.js.map +1 -1
  893. package/dist/lexicon/types/tools/ozone/signature/defs.d.ts +3 -3
  894. package/dist/lexicon/types/tools/ozone/signature/defs.d.ts.map +1 -1
  895. package/dist/lexicon/types/tools/ozone/signature/defs.js +5 -4
  896. package/dist/lexicon/types/tools/ozone/signature/defs.js.map +1 -1
  897. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.d.ts +1 -2
  898. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.d.ts.map +1 -1
  899. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.js +4 -0
  900. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.js.map +1 -1
  901. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.d.ts +5 -6
  902. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.d.ts.map +1 -1
  903. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js +5 -4
  904. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js.map +1 -1
  905. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.d.ts +1 -2
  906. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.d.ts.map +1 -1
  907. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.js +4 -0
  908. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.js.map +1 -1
  909. package/dist/lexicon/types/tools/ozone/team/addMember.d.ts +1 -2
  910. package/dist/lexicon/types/tools/ozone/team/addMember.d.ts.map +1 -1
  911. package/dist/lexicon/types/tools/ozone/team/addMember.js +4 -0
  912. package/dist/lexicon/types/tools/ozone/team/addMember.js.map +1 -1
  913. package/dist/lexicon/types/tools/ozone/team/defs.d.ts +4 -4
  914. package/dist/lexicon/types/tools/ozone/team/defs.d.ts.map +1 -1
  915. package/dist/lexicon/types/tools/ozone/team/defs.js +8 -7
  916. package/dist/lexicon/types/tools/ozone/team/defs.js.map +1 -1
  917. package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts +0 -1
  918. package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts.map +1 -1
  919. package/dist/lexicon/types/tools/ozone/team/deleteMember.js +4 -0
  920. package/dist/lexicon/types/tools/ozone/team/deleteMember.js.map +1 -1
  921. package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts +1 -2
  922. package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts.map +1 -1
  923. package/dist/lexicon/types/tools/ozone/team/listMembers.js +4 -0
  924. package/dist/lexicon/types/tools/ozone/team/listMembers.js.map +1 -1
  925. package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts +1 -2
  926. package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts.map +1 -1
  927. package/dist/lexicon/types/tools/ozone/team/updateMember.js +4 -0
  928. package/dist/lexicon/types/tools/ozone/team/updateMember.js.map +1 -1
  929. package/dist/lexicon/util.d.ts +33 -2
  930. package/dist/lexicon/util.d.ts.map +1 -1
  931. package/dist/lexicon/util.js +31 -7
  932. package/dist/lexicon/util.js.map +1 -1
  933. package/dist/pipethrough.js.map +1 -1
  934. package/dist/read-after-write/viewer.d.ts +13 -84
  935. package/dist/read-after-write/viewer.d.ts.map +1 -1
  936. package/dist/read-after-write/viewer.js +5 -1
  937. package/dist/read-after-write/viewer.js.map +1 -1
  938. package/dist/repo/prepare.d.ts.map +1 -1
  939. package/dist/repo/prepare.js +26 -19
  940. package/dist/repo/prepare.js.map +1 -1
  941. package/jest.config.js +1 -0
  942. package/package.json +12 -12
  943. package/src/actor-store/record/reader.ts +2 -2
  944. package/src/api/app/bsky/feed/getActorLikes.ts +1 -1
  945. package/src/api/app/bsky/feed/getPostThread.ts +6 -5
  946. package/src/api/com/atproto/identity/signPlcOperation.ts +10 -2
  947. package/src/api/com/atproto/identity/updateHandle.ts +1 -0
  948. package/src/api/com/atproto/repo/putRecord.ts +1 -1
  949. package/src/db/tables/moderation.ts +4 -0
  950. package/src/lexicon/index.ts +186 -186
  951. package/src/lexicon/lexicons.ts +72 -3
  952. package/src/lexicon/types/app/bsky/actor/defs.ts +211 -257
  953. package/src/lexicon/types/app/bsky/actor/getPreferences.ts +7 -4
  954. package/src/lexicon/types/app/bsky/actor/getProfile.ts +7 -3
  955. package/src/lexicon/types/app/bsky/actor/getProfiles.ts +7 -4
  956. package/src/lexicon/types/app/bsky/actor/getSuggestions.ts +7 -4
  957. package/src/lexicon/types/app/bsky/actor/profile.ts +16 -16
  958. package/src/lexicon/types/app/bsky/actor/putPreferences.ts +7 -4
  959. package/src/lexicon/types/app/bsky/actor/searchActors.ts +7 -4
  960. package/src/lexicon/types/app/bsky/actor/searchActorsTypeahead.ts +7 -4
  961. package/src/lexicon/types/app/bsky/embed/defs.ts +13 -11
  962. package/src/lexicon/types/app/bsky/embed/external.ts +34 -39
  963. package/src/lexicon/types/app/bsky/embed/images.ts +35 -36
  964. package/src/lexicon/types/app/bsky/embed/record.ts +74 -81
  965. package/src/lexicon/types/app/bsky/embed/recordWithMedia.ts +32 -33
  966. package/src/lexicon/types/app/bsky/embed/video.ts +28 -29
  967. package/src/lexicon/types/app/bsky/feed/defs.ts +183 -212
  968. package/src/lexicon/types/app/bsky/feed/describeFeedGenerator.ts +20 -21
  969. package/src/lexicon/types/app/bsky/feed/generator.ts +16 -16
  970. package/src/lexicon/types/app/bsky/feed/getActorFeeds.ts +7 -4
  971. package/src/lexicon/types/app/bsky/feed/getActorLikes.ts +7 -4
  972. package/src/lexicon/types/app/bsky/feed/getAuthorFeed.ts +7 -4
  973. package/src/lexicon/types/app/bsky/feed/getFeed.ts +7 -4
  974. package/src/lexicon/types/app/bsky/feed/getFeedGenerator.ts +7 -4
  975. package/src/lexicon/types/app/bsky/feed/getFeedGenerators.ts +7 -4
  976. package/src/lexicon/types/app/bsky/feed/getFeedSkeleton.ts +7 -4
  977. package/src/lexicon/types/app/bsky/feed/getLikes.ts +14 -11
  978. package/src/lexicon/types/app/bsky/feed/getListFeed.ts +7 -4
  979. package/src/lexicon/types/app/bsky/feed/getPostThread.ts +11 -8
  980. package/src/lexicon/types/app/bsky/feed/getPosts.ts +7 -4
  981. package/src/lexicon/types/app/bsky/feed/getQuotes.ts +7 -4
  982. package/src/lexicon/types/app/bsky/feed/getRepostedBy.ts +7 -4
  983. package/src/lexicon/types/app/bsky/feed/getSuggestedFeeds.ts +7 -4
  984. package/src/lexicon/types/app/bsky/feed/getTimeline.ts +7 -4
  985. package/src/lexicon/types/app/bsky/feed/like.ts +14 -11
  986. package/src/lexicon/types/app/bsky/feed/post.ts +49 -50
  987. package/src/lexicon/types/app/bsky/feed/postgate.ts +21 -21
  988. package/src/lexicon/types/app/bsky/feed/repost.ts +14 -12
  989. package/src/lexicon/types/app/bsky/feed/searchPosts.ts +7 -4
  990. package/src/lexicon/types/app/bsky/feed/sendInteractions.ts +8 -7
  991. package/src/lexicon/types/app/bsky/feed/threadgate.ts +46 -52
  992. package/src/lexicon/types/app/bsky/graph/block.ts +13 -11
  993. package/src/lexicon/types/app/bsky/graph/defs.ts +71 -83
  994. package/src/lexicon/types/app/bsky/graph/follow.ts +13 -11
  995. package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +7 -4
  996. package/src/lexicon/types/app/bsky/graph/getBlocks.ts +7 -4
  997. package/src/lexicon/types/app/bsky/graph/getFollowers.ts +7 -4
  998. package/src/lexicon/types/app/bsky/graph/getFollows.ts +7 -4
  999. package/src/lexicon/types/app/bsky/graph/getKnownFollowers.ts +7 -4
  1000. package/src/lexicon/types/app/bsky/graph/getList.ts +7 -4
  1001. package/src/lexicon/types/app/bsky/graph/getListBlocks.ts +7 -4
  1002. package/src/lexicon/types/app/bsky/graph/getListMutes.ts +7 -4
  1003. package/src/lexicon/types/app/bsky/graph/getLists.ts +7 -4
  1004. package/src/lexicon/types/app/bsky/graph/getMutes.ts +7 -4
  1005. package/src/lexicon/types/app/bsky/graph/getRelationships.ts +10 -7
  1006. package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +7 -4
  1007. package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +7 -4
  1008. package/src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts +7 -4
  1009. package/src/lexicon/types/app/bsky/graph/list.ts +17 -17
  1010. package/src/lexicon/types/app/bsky/graph/listblock.ts +13 -11
  1011. package/src/lexicon/types/app/bsky/graph/listitem.ts +13 -11
  1012. package/src/lexicon/types/app/bsky/graph/muteActor.ts +6 -3
  1013. package/src/lexicon/types/app/bsky/graph/muteActorList.ts +6 -3
  1014. package/src/lexicon/types/app/bsky/graph/muteThread.ts +6 -3
  1015. package/src/lexicon/types/app/bsky/graph/searchStarterPacks.ts +7 -4
  1016. package/src/lexicon/types/app/bsky/graph/starterpack.ts +21 -21
  1017. package/src/lexicon/types/app/bsky/graph/unmuteActor.ts +6 -3
  1018. package/src/lexicon/types/app/bsky/graph/unmuteActorList.ts +6 -3
  1019. package/src/lexicon/types/app/bsky/graph/unmuteThread.ts +6 -3
  1020. package/src/lexicon/types/app/bsky/labeler/defs.ts +36 -40
  1021. package/src/lexicon/types/app/bsky/labeler/getServices.ts +10 -7
  1022. package/src/lexicon/types/app/bsky/labeler/service.ts +16 -16
  1023. package/src/lexicon/types/app/bsky/notification/getUnreadCount.ts +6 -3
  1024. package/src/lexicon/types/app/bsky/notification/listNotifications.ts +16 -18
  1025. package/src/lexicon/types/app/bsky/notification/putPreferences.ts +6 -3
  1026. package/src/lexicon/types/app/bsky/notification/registerPush.ts +6 -3
  1027. package/src/lexicon/types/app/bsky/notification/updateSeen.ts +6 -3
  1028. package/src/lexicon/types/app/bsky/richtext/facet.ts +42 -47
  1029. package/src/lexicon/types/app/bsky/unspecced/defs.ts +36 -43
  1030. package/src/lexicon/types/app/bsky/unspecced/getConfig.ts +6 -3
  1031. package/src/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.ts +7 -4
  1032. package/src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +7 -4
  1033. package/src/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.ts +13 -15
  1034. package/src/lexicon/types/app/bsky/unspecced/getTrendingTopics.ts +7 -4
  1035. package/src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts +7 -4
  1036. package/src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts +7 -4
  1037. package/src/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +7 -4
  1038. package/src/lexicon/types/app/bsky/video/defs.ts +13 -11
  1039. package/src/lexicon/types/app/bsky/video/getJobStatus.ts +7 -4
  1040. package/src/lexicon/types/app/bsky/video/getUploadLimits.ts +6 -3
  1041. package/src/lexicon/types/app/bsky/video/uploadVideo.ts +8 -5
  1042. package/src/lexicon/types/chat/bsky/actor/declaration.ts +13 -11
  1043. package/src/lexicon/types/chat/bsky/actor/defs.ts +15 -13
  1044. package/src/lexicon/types/chat/bsky/actor/deleteAccount.ts +7 -5
  1045. package/src/lexicon/types/chat/bsky/actor/exportAccountData.ts +7 -3
  1046. package/src/lexicon/types/chat/bsky/convo/defs.ts +86 -108
  1047. package/src/lexicon/types/chat/bsky/convo/deleteMessageForSelf.ts +7 -4
  1048. package/src/lexicon/types/chat/bsky/convo/getConvo.ts +7 -4
  1049. package/src/lexicon/types/chat/bsky/convo/getConvoForMembers.ts +7 -4
  1050. package/src/lexicon/types/chat/bsky/convo/getLog.ts +12 -9
  1051. package/src/lexicon/types/chat/bsky/convo/getMessages.ts +10 -7
  1052. package/src/lexicon/types/chat/bsky/convo/leaveConvo.ts +6 -4
  1053. package/src/lexicon/types/chat/bsky/convo/listConvos.ts +7 -4
  1054. package/src/lexicon/types/chat/bsky/convo/muteConvo.ts +7 -5
  1055. package/src/lexicon/types/chat/bsky/convo/sendMessage.ts +7 -4
  1056. package/src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts +14 -14
  1057. package/src/lexicon/types/chat/bsky/convo/unmuteConvo.ts +7 -5
  1058. package/src/lexicon/types/chat/bsky/convo/updateRead.ts +7 -5
  1059. package/src/lexicon/types/chat/bsky/moderation/getActorMetadata.ts +13 -12
  1060. package/src/lexicon/types/chat/bsky/moderation/getMessageContext.ts +10 -7
  1061. package/src/lexicon/types/chat/bsky/moderation/updateActorAccess.ts +6 -3
  1062. package/src/lexicon/types/com/atproto/admin/defs.ts +43 -49
  1063. package/src/lexicon/types/com/atproto/admin/deleteAccount.ts +6 -3
  1064. package/src/lexicon/types/com/atproto/admin/disableAccountInvites.ts +6 -3
  1065. package/src/lexicon/types/com/atproto/admin/disableInviteCodes.ts +6 -3
  1066. package/src/lexicon/types/com/atproto/admin/enableAccountInvites.ts +6 -3
  1067. package/src/lexicon/types/com/atproto/admin/getAccountInfo.ts +7 -3
  1068. package/src/lexicon/types/com/atproto/admin/getAccountInfos.ts +7 -4
  1069. package/src/lexicon/types/com/atproto/admin/getInviteCodes.ts +7 -4
  1070. package/src/lexicon/types/com/atproto/admin/getSubjectStatus.ts +12 -9
  1071. package/src/lexicon/types/com/atproto/admin/searchAccounts.ts +7 -4
  1072. package/src/lexicon/types/com/atproto/admin/sendEmail.ts +6 -4
  1073. package/src/lexicon/types/com/atproto/admin/updateAccountEmail.ts +6 -3
  1074. package/src/lexicon/types/com/atproto/admin/updateAccountHandle.ts +6 -3
  1075. package/src/lexicon/types/com/atproto/admin/updateAccountPassword.ts +6 -3
  1076. package/src/lexicon/types/com/atproto/admin/updateSubjectStatus.ts +16 -14
  1077. package/src/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.ts +8 -5
  1078. package/src/lexicon/types/com/atproto/identity/requestPlcOperationSignature.ts +6 -2
  1079. package/src/lexicon/types/com/atproto/identity/resolveHandle.ts +6 -3
  1080. package/src/lexicon/types/com/atproto/identity/signPlcOperation.ts +9 -7
  1081. package/src/lexicon/types/com/atproto/identity/submitPlcOperation.ts +7 -4
  1082. package/src/lexicon/types/com/atproto/identity/updateHandle.ts +6 -3
  1083. package/src/lexicon/types/com/atproto/label/defs.ts +43 -52
  1084. package/src/lexicon/types/com/atproto/label/queryLabels.ts +7 -4
  1085. package/src/lexicon/types/com/atproto/label/subscribeLabels.ts +23 -26
  1086. package/src/lexicon/types/com/atproto/lexicon/schema.ts +13 -11
  1087. package/src/lexicon/types/com/atproto/moderation/createReport.ts +15 -13
  1088. package/src/lexicon/types/com/atproto/moderation/defs.ts +13 -9
  1089. package/src/lexicon/types/com/atproto/repo/applyWrites.ts +57 -63
  1090. package/src/lexicon/types/com/atproto/repo/createRecord.ts +8 -6
  1091. package/src/lexicon/types/com/atproto/repo/defs.ts +13 -11
  1092. package/src/lexicon/types/com/atproto/repo/deleteRecord.ts +7 -5
  1093. package/src/lexicon/types/com/atproto/repo/describeRepo.ts +7 -4
  1094. package/src/lexicon/types/com/atproto/repo/getRecord.ts +7 -4
  1095. package/src/lexicon/types/com/atproto/repo/importRepo.ts +7 -3
  1096. package/src/lexicon/types/com/atproto/repo/listMissingBlobs.ts +13 -12
  1097. package/src/lexicon/types/com/atproto/repo/listRecords.ts +14 -13
  1098. package/src/lexicon/types/com/atproto/repo/putRecord.ts +8 -6
  1099. package/src/lexicon/types/com/atproto/repo/strongRef.ts +13 -12
  1100. package/src/lexicon/types/com/atproto/repo/uploadBlob.ts +7 -4
  1101. package/src/lexicon/types/com/atproto/server/activateAccount.ts +6 -2
  1102. package/src/lexicon/types/com/atproto/server/checkAccountStatus.ts +6 -3
  1103. package/src/lexicon/types/com/atproto/server/confirmEmail.ts +6 -3
  1104. package/src/lexicon/types/com/atproto/server/createAccount.ts +8 -6
  1105. package/src/lexicon/types/com/atproto/server/createAppPassword.ts +13 -15
  1106. package/src/lexicon/types/com/atproto/server/createInviteCode.ts +6 -4
  1107. package/src/lexicon/types/com/atproto/server/createInviteCodes.ts +13 -16
  1108. package/src/lexicon/types/com/atproto/server/createSession.ts +7 -5
  1109. package/src/lexicon/types/com/atproto/server/deactivateAccount.ts +6 -3
  1110. package/src/lexicon/types/com/atproto/server/defs.ts +20 -20
  1111. package/src/lexicon/types/com/atproto/server/deleteAccount.ts +6 -3
  1112. package/src/lexicon/types/com/atproto/server/deleteSession.ts +6 -2
  1113. package/src/lexicon/types/com/atproto/server/describeServer.ts +20 -21
  1114. package/src/lexicon/types/com/atproto/server/getAccountInviteCodes.ts +7 -4
  1115. package/src/lexicon/types/com/atproto/server/getServiceAuth.ts +6 -3
  1116. package/src/lexicon/types/com/atproto/server/getSession.ts +7 -4
  1117. package/src/lexicon/types/com/atproto/server/listAppPasswords.ts +13 -12
  1118. package/src/lexicon/types/com/atproto/server/refreshSession.ts +7 -4
  1119. package/src/lexicon/types/com/atproto/server/requestAccountDelete.ts +6 -2
  1120. package/src/lexicon/types/com/atproto/server/requestEmailConfirmation.ts +6 -2
  1121. package/src/lexicon/types/com/atproto/server/requestEmailUpdate.ts +6 -3
  1122. package/src/lexicon/types/com/atproto/server/requestPasswordReset.ts +6 -3
  1123. package/src/lexicon/types/com/atproto/server/reserveSigningKey.ts +6 -4
  1124. package/src/lexicon/types/com/atproto/server/resetPassword.ts +6 -3
  1125. package/src/lexicon/types/com/atproto/server/revokeAppPassword.ts +6 -3
  1126. package/src/lexicon/types/com/atproto/server/updateEmail.ts +6 -3
  1127. package/src/lexicon/types/com/atproto/sync/getBlob.ts +7 -3
  1128. package/src/lexicon/types/com/atproto/sync/getBlocks.ts +7 -3
  1129. package/src/lexicon/types/com/atproto/sync/getCheckout.ts +7 -3
  1130. package/src/lexicon/types/com/atproto/sync/getHead.ts +6 -3
  1131. package/src/lexicon/types/com/atproto/sync/getLatestCommit.ts +6 -3
  1132. package/src/lexicon/types/com/atproto/sync/getRecord.ts +7 -3
  1133. package/src/lexicon/types/com/atproto/sync/getRepo.ts +7 -3
  1134. package/src/lexicon/types/com/atproto/sync/getRepoStatus.ts +6 -3
  1135. package/src/lexicon/types/com/atproto/sync/listBlobs.ts +6 -3
  1136. package/src/lexicon/types/com/atproto/sync/listRepos.ts +13 -12
  1137. package/src/lexicon/types/com/atproto/sync/notifyOfUpdate.ts +6 -3
  1138. package/src/lexicon/types/com/atproto/sync/requestCrawl.ts +6 -3
  1139. package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +71 -83
  1140. package/src/lexicon/types/com/atproto/temp/addReservedHandle.ts +7 -6
  1141. package/src/lexicon/types/com/atproto/temp/checkSignupQueue.ts +6 -3
  1142. package/src/lexicon/types/com/atproto/temp/fetchLabels.ts +7 -4
  1143. package/src/lexicon/types/com/atproto/temp/requestPhoneVerification.ts +6 -3
  1144. package/src/lexicon/types/tools/ozone/communication/createTemplate.ts +7 -4
  1145. package/src/lexicon/types/tools/ozone/communication/defs.ts +13 -11
  1146. package/src/lexicon/types/tools/ozone/communication/deleteTemplate.ts +6 -3
  1147. package/src/lexicon/types/tools/ozone/communication/listTemplates.ts +7 -4
  1148. package/src/lexicon/types/tools/ozone/communication/updateTemplate.ts +7 -4
  1149. package/src/lexicon/types/tools/ozone/moderation/defs.ts +347 -414
  1150. package/src/lexicon/types/tools/ozone/moderation/emitEvent.ts +31 -27
  1151. package/src/lexicon/types/tools/ozone/moderation/getEvent.ts +7 -3
  1152. package/src/lexicon/types/tools/ozone/moderation/getRecord.ts +7 -3
  1153. package/src/lexicon/types/tools/ozone/moderation/getRecords.ts +10 -7
  1154. package/src/lexicon/types/tools/ozone/moderation/getRepo.ts +7 -3
  1155. package/src/lexicon/types/tools/ozone/moderation/getRepos.ts +10 -7
  1156. package/src/lexicon/types/tools/ozone/moderation/queryEvents.ts +7 -4
  1157. package/src/lexicon/types/tools/ozone/moderation/queryStatuses.ts +10 -4
  1158. package/src/lexicon/types/tools/ozone/moderation/searchRepos.ts +7 -4
  1159. package/src/lexicon/types/tools/ozone/server/getConfig.ts +20 -21
  1160. package/src/lexicon/types/tools/ozone/set/addValues.ts +6 -3
  1161. package/src/lexicon/types/tools/ozone/set/defs.ts +20 -18
  1162. package/src/lexicon/types/tools/ozone/set/deleteSet.ts +7 -6
  1163. package/src/lexicon/types/tools/ozone/set/deleteValues.ts +6 -3
  1164. package/src/lexicon/types/tools/ozone/set/getValues.ts +7 -4
  1165. package/src/lexicon/types/tools/ozone/set/querySets.ts +7 -4
  1166. package/src/lexicon/types/tools/ozone/set/upsertSet.ts +7 -3
  1167. package/src/lexicon/types/tools/ozone/setting/defs.ts +14 -12
  1168. package/src/lexicon/types/tools/ozone/setting/listOptions.ts +7 -4
  1169. package/src/lexicon/types/tools/ozone/setting/removeOptions.ts +7 -6
  1170. package/src/lexicon/types/tools/ozone/setting/upsertOption.ts +8 -6
  1171. package/src/lexicon/types/tools/ozone/signature/defs.ts +13 -11
  1172. package/src/lexicon/types/tools/ozone/signature/findCorrelation.ts +7 -4
  1173. package/src/lexicon/types/tools/ozone/signature/findRelatedAccounts.ts +15 -17
  1174. package/src/lexicon/types/tools/ozone/signature/searchAccounts.ts +7 -4
  1175. package/src/lexicon/types/tools/ozone/team/addMember.ts +7 -4
  1176. package/src/lexicon/types/tools/ozone/team/defs.ts +17 -15
  1177. package/src/lexicon/types/tools/ozone/team/deleteMember.ts +6 -3
  1178. package/src/lexicon/types/tools/ozone/team/listMembers.ts +7 -4
  1179. package/src/lexicon/types/tools/ozone/team/updateMember.ts +7 -4
  1180. package/src/lexicon/util.ts +76 -7
  1181. package/src/pipethrough.ts +2 -2
  1182. package/src/read-after-write/viewer.ts +25 -12
  1183. package/src/repo/prepare.ts +27 -19
  1184. package/tests/__snapshots__/takedown-appeal.test.ts.snap +1 -0
  1185. package/tests/_util.ts +7 -4
  1186. package/tests/app-passwords.test.ts +4 -4
  1187. package/tests/create-post.test.ts +3 -2
  1188. package/tests/crud.test.ts +3 -6
  1189. package/tests/file-uploads.test.ts +2 -0
  1190. package/tests/moderation.test.ts +17 -4
  1191. package/tests/moderator-auth.test.ts +5 -2
  1192. package/tests/preferences.test.ts +2 -0
  1193. package/tests/proxied/__snapshots__/admin.test.ts.snap +4 -1
  1194. package/tests/proxied/admin.test.ts +6 -0
  1195. package/tests/proxied/read-after-write.test.ts +30 -15
  1196. package/tests/seeds/basic.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAA;AAEhE,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAA;IAC9C,SA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AgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gCAErC;AAED,oEAAoE;AACpE,eAAO,MAAM,SAAS,oCAAoB,CAAA;AAC1C,gDAAgD;AAChD,eAAO,MAAM,aAAa,wCAAwB,CAAA;AAClD,yEAAyE;AACzE,eAAO,MAAM,UAAU,qCAAqB,CAAA"}
@@ -5,18 +5,19 @@ exports.isMember = isMember;
5
5
  exports.validateMember = validateMember;
6
6
  const lexicons_1 = require("../../../../lexicons");
7
7
  const util_1 = require("../../../../util");
8
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
9
+ const id = 'tools.ozone.team.defs';
10
+ const hashMember = 'member';
8
11
  function isMember(v) {
9
- return ((0, util_1.isObj)(v) &&
10
- (0, util_1.hasProp)(v, '$type') &&
11
- v.$type === 'tools.ozone.team.defs#member');
12
+ return is$typed(v, id, hashMember);
12
13
  }
13
14
  function validateMember(v) {
14
- return lexicons_1.lexicons.validate('tools.ozone.team.defs#member', v);
15
+ return validate(v, id, hashMember);
15
16
  }
16
17
  /** Admin role. Highest level of access, can perform all actions. */
17
- exports.ROLEADMIN = 'tools.ozone.team.defs#roleAdmin';
18
+ exports.ROLEADMIN = `${id}#roleAdmin`;
18
19
  /** Moderator role. Can perform most actions. */
19
- exports.ROLEMODERATOR = 'tools.ozone.team.defs#roleModerator';
20
+ exports.ROLEMODERATOR = `${id}#roleModerator`;
20
21
  /** Triage role. Mostly intended for monitoring and escalating issues. */
21
- exports.ROLETRIAGE = 'tools.ozone.team.defs#roleTriage';
22
+ exports.ROLETRIAGE = `${id}#roleTriage`;
22
23
  //# sourceMappingURL=defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/defs.ts"],"names":[],"mappings":";;;AAwBA,4BAMC;AAED,wCAEC;AA9BD,mDAA+C;AAC/C,2CAAiD;AAmBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,8BAA8B,CAC3C,CAAA;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAED,oEAAoE;AACvD,QAAA,SAAS,GAAG,iCAAiC,CAAA;AAC1D,gDAAgD;AACnC,QAAA,aAAa,GAAG,qCAAqC,CAAA;AAClE,yEAAyE;AAC5D,QAAA,UAAU,GAAG,kCAAkC,CAAA"}
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/defs.ts"],"names":[],"mappings":";;;AA8BA,4BAEC;AAED,wCAEC;AA/BD,mDAA4D;AAC5D,2CAAyE;AAGzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,uBAAuB,CAAA;AAiBlC,MAAM,UAAU,GAAG,QAAQ,CAAA;AAE3B,SAAgB,QAAQ,CAAI,CAAI;IAC9B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AACpC,CAAC;AAED,SAAgB,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAa,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AAChD,CAAC;AAED,oEAAoE;AACvD,QAAA,SAAS,GAAG,GAAG,EAAE,YAAY,CAAA;AAC1C,gDAAgD;AACnC,QAAA,aAAa,GAAG,GAAG,EAAE,gBAAgB,CAAA;AAClD,yEAAyE;AAC5D,QAAA,UAAU,GAAG,GAAG,EAAE,aAAa,CAAA"}
@@ -7,7 +7,6 @@ export interface QueryParams {
7
7
  }
8
8
  export interface InputSchema {
9
9
  did: string;
10
- [k: string]: unknown;
11
10
  }
12
11
  export interface HandlerInput {
13
12
  encoding: 'application/json';
@@ -1 +1 @@
1
- {"version":3,"file":"deleteMember.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/deleteMember.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAsB,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,gBAAgB,GAAG,kBAAkB,CAAA;CAC9C;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,IAAI,CAAA;AAC/C,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;IACrB,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC1C,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
1
+ {"version":3,"file":"deleteMember.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/deleteMember.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAsB,MAAM,sBAAsB,CAAA;AAMtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,gBAAgB,GAAG,kBAAkB,CAAA;CAC9C;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,IAAI,CAAA;AAC/C,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;IACrB,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC1C,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -1,3 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'tools.ozone.team.deleteMember';
3
7
  //# sourceMappingURL=deleteMember.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deleteMember.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/deleteMember.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"deleteMember.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/deleteMember.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAAyE;AAGzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,+BAA+B,CAAA"}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import express from 'express';
5
5
  import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
- import * as ToolsOzoneTeamDefs from './defs';
6
+ import type * as ToolsOzoneTeamDefs from './defs.js';
7
7
  export interface QueryParams {
8
8
  limit: number;
9
9
  cursor?: string;
@@ -12,7 +12,6 @@ export type InputSchema = undefined;
12
12
  export interface OutputSchema {
13
13
  cursor?: string;
14
14
  members: ToolsOzoneTeamDefs.Member[];
15
- [k: string]: unknown;
16
15
  }
17
16
  export type HandlerInput = undefined;
18
17
  export interface HandlerSuccess {
@@ -1 +1 @@
1
- {"version":3,"file":"listMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/listMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,kBAAkB,MAAM,QAAQ,CAAA;AAE5C,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,kBAAkB,CAAC,MAAM,EAAE,CAAA;IACpC,CAAC,CAAC,EAAE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M,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,kBAAkB,CAAC,MAAM,EAAE,CAAA;CACrC;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;IACrB,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC1C,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -1,3 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'tools.ozone.team.listMembers';
3
7
  //# sourceMappingURL=listMembers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"listMembers.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/listMembers.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"listMembers.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/listMembers.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAAyE;AAIzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,8BAA8B,CAAA"}
@@ -3,14 +3,13 @@
3
3
  */
4
4
  import express from 'express';
5
5
  import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
- import * as ToolsOzoneTeamDefs from './defs';
6
+ import type * as ToolsOzoneTeamDefs from './defs.js';
7
7
  export interface QueryParams {
8
8
  }
9
9
  export interface InputSchema {
10
10
  did: string;
11
11
  disabled?: boolean;
12
12
  role?: 'tools.ozone.team.defs#roleAdmin' | 'tools.ozone.team.defs#roleModerator' | 'tools.ozone.team.defs#roleTriage' | (string & {});
13
- [k: string]: unknown;
14
13
  }
15
14
  export type OutputSchema = ToolsOzoneTeamDefs.Member;
16
15
  export interface HandlerInput {
@@ -1 +1 @@
1
- {"version":3,"file":"updateMember.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/updateMember.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,kBAAkB,MAAM,QAAQ,CAAA;AAE5C,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EACD,iCAAiC,GACjC,qCAAqC,GACrC,kCAAkC,GAClC,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,kBAAkB,CAAC,MAAM,CAAA;AAEpD,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,gBAAgB,CAAA;CACzB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;IACrB,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC1C,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
1
+ {"version":3,"file":"updateMember.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/updateMember.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,C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E,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -1,3 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'tools.ozone.team.updateMember';
3
7
  //# sourceMappingURL=updateMember.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateMember.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/updateMember.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"updateMember.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/updateMember.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAAyE;AAIzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,+BAA+B,CAAA"}
@@ -1,6 +1,37 @@
1
1
  /**
2
2
  * GENERATED CODE - DO NOT MODIFY
3
3
  */
4
- export declare function isObj(v: unknown): v is Record<string, unknown>;
5
- export declare function hasProp<K extends PropertyKey>(data: object, prop: K): data is Record<K, unknown>;
4
+ import { ValidationResult } from '@atproto/lexicon';
5
+ export type OmitKey<T, K extends keyof T> = {
6
+ [K2 in keyof T as K2 extends K ? never : K2]: T[K2];
7
+ };
8
+ export type $Typed<V, T extends string = string> = V & {
9
+ $type: T;
10
+ };
11
+ export type Un$Typed<V extends {
12
+ $type?: string;
13
+ }> = OmitKey<V, '$type'>;
14
+ export type $Type<Id extends string, Hash extends string> = Hash extends 'main' ? Id : `${Id}#${Hash}`;
15
+ export type $TypedObject<V, Id extends string, Hash extends string> = V extends {
16
+ $type: $Type<Id, Hash>;
17
+ } ? V : V extends {
18
+ $type?: string;
19
+ } ? V extends {
20
+ $type?: infer T extends $Type<Id, Hash>;
21
+ } ? V & {
22
+ $type: T;
23
+ } : never : V & {
24
+ $type: $Type<Id, Hash>;
25
+ };
26
+ export declare function is$typed<V, Id extends string, Hash extends string>(v: V, id: Id, hash: Hash): v is $TypedObject<V, Id, Hash>;
27
+ export declare function maybe$typed<V, Id extends string, Hash extends string>(v: V, id: Id, hash: Hash): v is V & object & {
28
+ $type?: $Type<Id, Hash>;
29
+ };
30
+ export type Validator<R = unknown> = (v: unknown) => ValidationResult<R>;
31
+ export type ValidatorParam<V extends Validator> = V extends Validator<infer R> ? R : never;
32
+ /**
33
+ * Utility function that allows to convert a "validate*" utility function into a
34
+ * type predicate.
35
+ */
36
+ export declare function asPredicate<V extends Validator>(validate: V): <T>(v: T) => v is T & ValidatorParam<V>;
6
37
  //# sourceMappingURL=util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/lexicon/util.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,KAAK,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAE9D;AAED,wBAAgB,OAAO,CAAC,CAAC,SAAS,WAAW,EAC3C,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,CAAC,GACN,IAAI,IAAI,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAE5B"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/lexicon/util.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAEnD,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI;KACzC,EAAE,IAAI,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,KAAK,GAAG,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC;CACpD,CAAA;AAED,MAAM,MA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AC,EACJ,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,GACT,CAAC,IAAI,CAAC,GAAG,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;CAAE,CAK/C;AAED,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,OAAO,IAAI,CAAC,CAAC,EAAE,OAAO,KAAK,gBAAgB,CAAC,CAAC,CAAC,CAAA;AACxE,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,SAAS,IAC5C,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAA;AAE1C;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,QAAQ,EAAE,CAAC,IACzC,CAAC,KAAK,CAAC,KAAG,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAGtD"}
@@ -1,14 +1,38 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isObj = isObj;
4
- exports.hasProp = hasProp;
5
2
  /**
6
3
  * GENERATED CODE - DO NOT MODIFY
7
4
  */
8
- function isObj(v) {
9
- return typeof v === 'object' && v !== null;
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.is$typed = is$typed;
7
+ exports.maybe$typed = maybe$typed;
8
+ exports.asPredicate = asPredicate;
9
+ function isObject(v) {
10
+ return v != null && typeof v === 'object';
11
+ }
12
+ function is$type($type, id, hash) {
13
+ return hash === 'main'
14
+ ? $type === id
15
+ : // $type === `${id}#${hash}`
16
+ typeof $type === 'string' &&
17
+ $type.length === id.length + 1 + hash.length &&
18
+ $type.charCodeAt(id.length) === 35 /* '#' */ &&
19
+ $type.startsWith(id) &&
20
+ $type.endsWith(hash);
21
+ }
22
+ function is$typed(v, id, hash) {
23
+ return isObject(v) && '$type' in v && is$type(v.$type, id, hash);
10
24
  }
11
- function hasProp(data, prop) {
12
- return prop in data;
25
+ function maybe$typed(v, id, hash) {
26
+ return (isObject(v) &&
27
+ ('$type' in v ? v.$type === undefined || is$type(v.$type, id, hash) : true));
28
+ }
29
+ /**
30
+ * Utility function that allows to convert a "validate*" utility function into a
31
+ * type predicate.
32
+ */
33
+ function asPredicate(validate) {
34
+ return function (v) {
35
+ return validate(v).success;
36
+ };
13
37
  }
14
38
  //# sourceMappingURL=util.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../../src/lexicon/util.ts"],"names":[],"mappings":";;AAGA,sBAEC;AAED,0BAKC;AAZD;;GAEG;AACH,SAAgB,KAAK,CAAC,CAAU;IAC9B,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,IAAI,CAAA;AAC5C,CAAC;AAED,SAAgB,OAAO,CACrB,IAAY,EACZ,IAAO;IAEP,OAAO,IAAI,IAAI,IAAI,CAAA;AACrB,CAAC"}
1
+ {"version":3,"file":"util.js","sourceRoot":"","sources":["../../src/lexicon/util.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAgDH,4BAMC;AAED,kCASC;AAUD,kCAIC;AAhED,SAAS,QAAQ,CAAI,CAAI;IACvB,OAAO,CAAC,IAAI,IAAI,IAAI,OAAO,CAAC,KAAK,QAAQ,CAAA;AAC3C,CAAC;AAED,SAAS,OAAO,CACd,KAAc,EACd,EAAM,EACN,IAAU;IAEV,OAAO,IAAI,KAAK,MAAM;QACpB,CAAC,CAAC,KAAK,KAAK,EAAE;QACd,CAAC,CAAC,4BAA4B;YAC5B,OAAO,KAAK,KAAK,QAAQ;gBACvB,KAAK,CAAC,MAAM,KAAK,EAAE,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,MAAM;gBAC5C,KAAK,CAAC,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,SAAS;gBAC5C,KAAK,CAAC,UAAU,CAAC,EAAE,CAAC;gBACpB,KAAK,CAAC,QAAQ,CA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AAC,yBAAyB,CAAC;QACnC,KAAK,cAAG,CAAC,qCAAqC,CAAC;QAC/C,KAAK,cAAG,CAAC,qCAAqC,CAAC;QAC/C,KAAK,cAAG,CAAC,qCAAqC,CAAC;QAC/C,KAAK,cAAG,CAAC,oCAAoC,CAAC;QAC9C,KAAK,cAAG,CAAC,6BAA6B,CAAC;QACvC,KAAK,cAAG,CAAC,4BAA4B,CAAC;QACtC,KAAK,cAAG,CAAC,6BAA6B,CAAC;QACvC,KAAK,cAAG,CAAC,2BAA2B,CAAC;QACrC,KAAK,cAAG,CAAC,+BAA+B,CAAC;QACzC,KAAK,cAAG,CAAC,iCAAiC,CAAC;QAC3C,KAAK,cAAG,CAAC,+BAA+B;YACtC,OAAO,GAAG,CAAC,GAAG,CAAC,UAAU,CAAA;QAC3B,KAAK,cAAG,CAAC,gCAAgC;YACvC,OAAO,GAAG,CAAC,GAAG,CAAC,aAAa,CAAA;QAC9B;YACE,OAAO,GAAG,CAAC,GAAG,CAAC,WAAW,CAAA;IAC9B,CAAC;AACH,CAAC,CAAA;AAED,MAAM,UAAU,GAAG,CAAC,GAAY,EAAsB,EAAE;IACtD,OAAO,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAA;AAClD,CAAC,CAAA;AAED,SAAS,gBAAgB,CAAuB,GAAY;IAC1D,mBAAU,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,EAAE,oCAAoC,CAAC,CAAA;AAChE,CAAC"}
@@ -4,12 +4,13 @@ import { BskyAppView } from '../bsky-app-view';
4
4
  import { ImageUrlBuilder } from '../image/image-url-builder';
5
5
  import { ProfileView, ProfileViewBasic, ProfileViewDetailed } from '../lexicon/types/app/bsky/actor/defs';
6
6
  import { Record as ProfileRecord } from '../lexicon/types/app/bsky/actor/profile';
7
- import { Main as EmbedExternal } from '../lexicon/types/app/bsky/embed/external';
8
- import { Main as EmbedImages } from '../lexicon/types/app/bsky/embed/images';
7
+ import { Main as EmbedExternal, View as EmbedExternalView } from '../lexicon/types/app/bsky/embed/external';
8
+ import { Main as EmbedImages, View as EmbedImagesView } from '../lexicon/types/app/bsky/embed/images';
9
9
  import { Main as EmbedRecord, View as EmbedRecordView } from '../lexicon/types/app/bsky/embed/record';
10
10
  import { Main as EmbedRecordWithMedia } from '../lexicon/types/app/bsky/embed/recordWithMedia';
11
11
  import { FeedViewPost, PostView } from '../lexicon/types/app/bsky/feed/defs';
12
12
  import { Record as PostRecord } from '../lexicon/types/app/bsky/feed/post';
13
+ import { $Typed } from '../lexicon/util';
13
14
  import { LocalRecords, RecordDescript } from './types';
14
15
  type CommonSignedUris = 'avatar' | 'banner' | 'feed_thumbnail' | 'feed_fullsize';
15
16
  export type LocalViewerCreator = (actorStoreReader: ActorStoreReader) => LocalViewer;
@@ -31,94 +32,22 @@ export declare class LocalViewer {
31
32
  getProfileBasic(): Promise<ProfileViewBasic | null>;
32
33
  formatAndInsertPostsInFeed(feed: FeedViewPost[], posts: RecordDescript<PostRecord>[]): Promise<FeedViewPost[]>;
33
34
  getPost(descript: RecordDescript<PostRecord>): Promise<PostView | null>;
34
- formatPostEmbed(did: string, post: PostRecord): Promise<EmbedRecordView | {
35
+ formatPostEmbed(did: string, post: PostRecord): Promise<$Typed<EmbedImagesView> | $Typed<EmbedExternalView> | $Typed<EmbedRecordView> | {
35
36
  $type: string;
36
- images: {
37
- thumb: string;
38
- fullsize: string;
39
- aspectRatio: import("../lexicon/types/app/bsky/embed/defs").AspectRatio | undefined;
40
- alt: string;
41
- }[];
42
- external?: undefined;
43
- } | {
44
- $type: string;
45
- external: {
46
- uri: string;
47
- title: string;
48
- description: string;
49
- thumb: string | undefined;
50
- };
51
- images?: undefined;
52
- } | {
53
- $type: string;
54
- record: EmbedRecordView;
55
- media: Promise<{
56
- $type: string;
57
- images: {
58
- thumb: string;
59
- fullsize: string;
60
- aspectRatio: import("../lexicon/types/app/bsky/embed/defs").AspectRatio | undefined;
61
- alt: string;
62
- }[];
63
- external?: undefined;
64
- } | {
65
- $type: string;
66
- external: {
67
- uri: string;
68
- title: string;
69
- description: string;
70
- thumb: string | undefined;
71
- };
72
- images?: undefined;
73
- }>;
37
+ record: $Typed<EmbedRecordView>;
38
+ media: Promise<$Typed<EmbedImagesView> | $Typed<EmbedExternalView>>;
74
39
  } | null>;
75
- formatSimpleEmbed(embed: EmbedImages | EmbedExternal): Promise<{
76
- $type: string;
77
- images: {
78
- thumb: string;
79
- fullsize: string;
80
- aspectRatio: import("../lexicon/types/app/bsky/embed/defs").AspectRatio | undefined;
81
- alt: string;
82
- }[];
83
- external?: undefined;
84
- } | {
85
- $type: string;
86
- external: {
87
- uri: string;
88
- title: string;
89
- description: string;
90
- thumb: string | undefined;
91
- };
92
- images?: undefined;
93
- }>;
94
- formatRecordEmbed(embed: EmbedRecord): Promise<EmbedRecordView>;
40
+ formatSimpleEmbed(embed: $Typed<EmbedImages> | $Typed<EmbedExternal>): Promise<$Typed<EmbedImagesView> | $Typed<EmbedExternalView>>;
41
+ formatRecordEmbed(embed: EmbedRecord): Promise<$Typed<EmbedRecordView>>;
95
42
  private formatRecordEmbedInternal;
96
43
  formatRecordWithMediaEmbed(did: string, embed: EmbedRecordWithMedia): Promise<{
97
44
  $type: string;
98
- record: EmbedRecordView;
99
- media: Promise<{
100
- $type: string;
101
- images: {
102
- thumb: string;
103
- fullsize: string;
104
- aspectRatio: import("../lexicon/types/app/bsky/embed/defs").AspectRatio | undefined;
105
- alt: string;
106
- }[];
107
- external?: undefined;
108
- } | {
109
- $type: string;
110
- external: {
111
- uri: string;
112
- title: string;
113
- description: string;
114
- thumb: string | undefined;
115
- };
116
- images?: undefined;
117
- }>;
45
+ record: $Typed<EmbedRecordView>;
46
+ media: Promise<$Typed<EmbedImagesView> | $Typed<EmbedExternalView>>;
118
47
  } | null>;
119
- updateProfileViewBasic(view: ProfileViewBasic, record: ProfileRecord): ProfileViewBasic;
120
- updateProfileView(view: ProfileView, record: ProfileRecord): ProfileView;
121
- updateProfileDetailed(view: ProfileViewDetailed, record: ProfileRecord): ProfileViewDetailed;
48
+ updateProfileViewBasic<T extends ProfileViewDetailed | ProfileViewBasic | ProfileView>(view: T, record: ProfileRecord): T;
49
+ updateProfileView<T extends ProfileViewDetailed | ProfileViewBasic | ProfileView>(view: T, record: ProfileRecord): T;
50
+ updateProfileDetailed<T extends ProfileViewDetailed>(view: T, record: ProfileRecord): T;
122
51
  }
123
52
  export {};
124
53
  //# sourceMappingURL=viewer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"viewer.d.ts","sourceRoot":"","sources":["../../src/read-after-write/viewer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,yCAAyC,CAAA;AACjF,OAAO,EACL,IAAI,IAAI,aAAa,EAEtB,MAAM,0CAA0C,CAAA;AACjD,OAAO,EACL,IAAI,IAAI,WAAW,EAEpB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,IAAI,IAAI,WAAW,EACnB,IAAI,IAAI,eAAe,EAGxB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,IAAI,IAAI,oBAAoB,EAE7B,MAAM,iDAAiD,CAAA;AACxD,OAAO,EACL,YAAY,EAEZ,QAAQ,EACT,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAE1E,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAEtD,KAAK,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GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU;;;;;IAc7C,iBAAiB,CACrB,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC,aAAa,CAAC,GACjD,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;IA+BzD,iBAAiB,CACrB,KAAK,EAAE,WAAW,GACjB,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;YAcrB,yBAAyB;IAmDjC,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB;;;;;IAazE,sBAAsB,CACpB,CAAC,SAAS,mBAAmB,GAAG,gBAAgB,GAAG,WAAW,EAC9D,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,aAAa,GAAG,CAAC;IAUpC,iBAAiB,CACf,CAAC,SAAS,mBAAmB,GAAG,gBAAgB,GAAG,WAAW,EAC9D,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,aAAa,GAAG,CAAC;IAOpC,qBAAqB,CAAC,CAAC,SAAS,mBAAmB,EACjD,IAAI,EAAE,CAAC,EACP,MAAM,EAAE,aAAa,GACpB,CAAC;CAQL"}
@@ -146,7 +146,7 @@ class LocalViewer {
146
146
  images,
147
147
  };
148
148
  }
149
- else {
149
+ else if ((0, external_1.isMain)(embed)) {
150
150
  const { uri, title, description, thumb } = embed.external;
151
151
  return {
152
152
  $type: 'app.bsky.embed.external#view',
@@ -160,6 +160,10 @@ class LocalViewer {
160
160
  },
161
161
  };
162
162
  }
163
+ else {
164
+ // @ts-expect-error
165
+ throw new TypeError(`Unexpected embed type: ${embed.$type}`);
166
+ }
163
167
  }
164
168
  async formatRecordEmbed(embed) {
165
169
  const view = await this.formatRecordEmbedInternal(embed);
@@ -1 +1 @@
1
- {"version":3,"file":"viewer.js","sourceRoot":"","sources":["../../src/read-after-write/viewer.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,sDAA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AE,OAAO,CAAA;CACnB,KAAG,OAAO,CAAC,cAAc,CAwBzB,CAAA;AAED,eAAO,MAAM,aAAa,SAAgB;IACxC,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,UAAU,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,KAAG,OAAO,CAAC,cAAc,CAoBzB,CAAA;AAED,eAAO,MAAM,aAAa,SAAU;IAClC,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;CACrB,KAAG,cAOH,CAAA;AAED,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAKtD,CAAA;AAEF,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAKtD,CAAA;AAEF,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAItD,CAAA;AAEF,eAAO,MAAM,SAAS,UAAW,aAAa,KAAG,aAWhD,CAAA;AA6CD,KAAK,YAAY,GAAG;IAClB,GAAG,EAAE,OAAO,CAAA;IACZ,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,CAAA;AAED,eAAO,MAAM,aAAa,WAChB,UAAU,YACR,OAAO,KAChB,eAAe,EAmBjB,CAAA;AAED,eAAO,MAAM,YAAY,QAClB,QAAQ,SACP,MAAM,EAAE,qBAEb,YAAY,EA6Bd,CAAA"}
@@ -31,13 +31,19 @@ const repo_1 = require("@atproto/repo");
31
31
  const syntax_1 = require("@atproto/syntax");
32
32
  const explicit_slurs_1 = require("../handle/explicit-slurs");
33
33
  const lex = __importStar(require("../lexicon/lexicons"));
34
- const profile_1 = require("../lexicon/types/app/bsky/actor/profile");
35
- const generator_1 = require("../lexicon/types/app/bsky/feed/generator");
36
- const post_1 = require("../lexicon/types/app/bsky/feed/post");
37
- const list_1 = require("../lexicon/types/app/bsky/graph/list");
38
- const starterpack_1 = require("../lexicon/types/app/bsky/graph/starterpack");
34
+ const AppBskyActorProfile = __importStar(require("../lexicon/types/app/bsky/actor/profile"));
35
+ const AppBskyFeedGenerator = __importStar(require("../lexicon/types/app/bsky/feed/generator"));
36
+ const AppBskyFeedPost = __importStar(require("../lexicon/types/app/bsky/feed/post"));
37
+ const AppBskyGraphList = __importStar(require("../lexicon/types/app/bsky/graph/list"));
38
+ const AppBskyGraphStarterpack = __importStar(require("../lexicon/types/app/bsky/graph/starterpack"));
39
39
  const facet_1 = require("../lexicon/types/app/bsky/richtext/facet");
40
+ const util_1 = require("../lexicon/util");
40
41
  const types_1 = require("./types");
42
+ const isValidFeedGenerator = (0, util_1.asPredicate)(AppBskyFeedGenerator.validateRecord);
43
+ const isValidStarterPack = (0, util_1.asPredicate)(AppBskyGraphStarterpack.validateRecord);
44
+ const isValidPost = (0, util_1.asPredicate)(AppBskyFeedPost.validateRecord);
45
+ const isValidList = (0, util_1.asPredicate)(AppBskyGraphList.validateRecord);
46
+ const isValidProfile = (0, util_1.asPredicate)(AppBskyActorProfile.validateRecord);
41
47
  const assertValidRecordWithStatus = (record, opts) => {
42
48
  if (typeof record.$type !== 'string') {
43
49
  throw new types_1.InvalidRecordError('No $type provided');
@@ -189,33 +195,34 @@ async function cidForSafeRecord(record) {
189
195
  }
190
196
  }
191
197
  function assertNoExplicitSlurs(rkey, record) {
192
- let toCheck = '';
193
- if ((0, profile_1.isRecord)(record)) {
194
- toCheck += ' ' + record.displayName;
198
+ const toCheck = [];
199
+ if (isValidProfile(record)) {
200
+ if (record.displayName)
201
+ toCheck.push(record.displayName);
195
202
  }
196
- else if ((0, list_1.isRecord)(record)) {
197
- toCheck += ' ' + record.name;
203
+ else if (isValidList(record)) {
204
+ toCheck.push(record.name);
198
205
  }
199
- else if ((0, starterpack_1.isRecord)(record)) {
200
- toCheck += ' ' + record.name;
206
+ else if (isValidStarterPack(record)) {
207
+ toCheck.push(record.name);
201
208
  }
202
- else if ((0, generator_1.isRecord)(record)) {
203
- toCheck += ' ' + rkey;
204
- toCheck += ' ' + record.displayName;
209
+ else if (isValidFeedGenerator(record)) {
210
+ toCheck.push(rkey);
211
+ toCheck.push(record.displayName);
205
212
  }
206
- else if ((0, post_1.isRecord)(record)) {
213
+ else if (isValidPost(record)) {
207
214
  if (record.tags) {
208
- toCheck += record.tags.join(' ');
215
+ toCheck.push(...record.tags);
209
216
  }
210
217
  for (const facet of record.facets || []) {
211
218
  for (const feat of facet.features) {
212
219
  if ((0, facet_1.isTag)(feat)) {
213
- toCheck += ' ' + feat.tag;
220
+ toCheck.push(feat.tag);
214
221
  }
215
222
  }
216
223
  }
217
224
  }
218
- if ((0, explicit_slurs_1.hasExplicitSlur)(toCheck)) {
225
+ if ((0, explicit_slurs_1.hasExplicitSlur)(toCheck.join(' '))) {
219
226
  throw new types_1.InvalidRecordError('Unacceptable slur in record');
220
227
  }
221
228
  }