@atproto/pds 0.4.94 → 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 (1192) hide show
  1. package/CHANGELOG.md +18 -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/lexicon/index.d.ts +185 -185
  14. package/dist/lexicon/index.d.ts.map +1 -1
  15. package/dist/lexicon/index.js +2 -2
  16. package/dist/lexicon/index.js.map +1 -1
  17. package/dist/lexicon/lexicons.d.ts +235 -229
  18. package/dist/lexicon/lexicons.d.ts.map +1 -1
  19. package/dist/lexicon/lexicons.js +10 -0
  20. package/dist/lexicon/lexicons.js.map +1 -1
  21. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +84 -86
  22. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  23. package/dist/lexicon/types/app/bsky/actor/defs.js +77 -98
  24. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  25. package/dist/lexicon/types/app/bsky/actor/getPreferences.d.ts +1 -2
  26. package/dist/lexicon/types/app/bsky/actor/getPreferences.d.ts.map +1 -1
  27. package/dist/lexicon/types/app/bsky/actor/getPreferences.js +4 -0
  28. package/dist/lexicon/types/app/bsky/actor/getPreferences.js.map +1 -1
  29. package/dist/lexicon/types/app/bsky/actor/getProfile.d.ts +1 -1
  30. package/dist/lexicon/types/app/bsky/actor/getProfile.d.ts.map +1 -1
  31. package/dist/lexicon/types/app/bsky/actor/getProfile.js +4 -0
  32. package/dist/lexicon/types/app/bsky/actor/getProfile.js.map +1 -1
  33. package/dist/lexicon/types/app/bsky/actor/getProfiles.d.ts +1 -2
  34. package/dist/lexicon/types/app/bsky/actor/getProfiles.d.ts.map +1 -1
  35. package/dist/lexicon/types/app/bsky/actor/getProfiles.js +4 -0
  36. package/dist/lexicon/types/app/bsky/actor/getProfiles.js.map +1 -1
  37. package/dist/lexicon/types/app/bsky/actor/getSuggestions.d.ts +1 -2
  38. package/dist/lexicon/types/app/bsky/actor/getSuggestions.d.ts.map +1 -1
  39. package/dist/lexicon/types/app/bsky/actor/getSuggestions.js +4 -0
  40. package/dist/lexicon/types/app/bsky/actor/getSuggestions.js.map +1 -1
  41. package/dist/lexicon/types/app/bsky/actor/profile.d.ts +7 -6
  42. package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
  43. package/dist/lexicon/types/app/bsky/actor/profile.js +5 -5
  44. package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
  45. package/dist/lexicon/types/app/bsky/actor/putPreferences.d.ts +1 -2
  46. package/dist/lexicon/types/app/bsky/actor/putPreferences.d.ts.map +1 -1
  47. package/dist/lexicon/types/app/bsky/actor/putPreferences.js +4 -0
  48. package/dist/lexicon/types/app/bsky/actor/putPreferences.js.map +1 -1
  49. package/dist/lexicon/types/app/bsky/actor/searchActors.d.ts +1 -2
  50. package/dist/lexicon/types/app/bsky/actor/searchActors.d.ts.map +1 -1
  51. package/dist/lexicon/types/app/bsky/actor/searchActors.js +4 -0
  52. package/dist/lexicon/types/app/bsky/actor/searchActors.js.map +1 -1
  53. package/dist/lexicon/types/app/bsky/actor/searchActorsTypeahead.d.ts +1 -2
  54. package/dist/lexicon/types/app/bsky/actor/searchActorsTypeahead.d.ts.map +1 -1
  55. package/dist/lexicon/types/app/bsky/actor/searchActorsTypeahead.js +4 -0
  56. package/dist/lexicon/types/app/bsky/actor/searchActorsTypeahead.js.map +1 -1
  57. package/dist/lexicon/types/app/bsky/embed/defs.d.ts +3 -3
  58. package/dist/lexicon/types/app/bsky/embed/defs.d.ts.map +1 -1
  59. package/dist/lexicon/types/app/bsky/embed/defs.js +5 -4
  60. package/dist/lexicon/types/app/bsky/embed/defs.js.map +1 -1
  61. package/dist/lexicon/types/app/bsky/embed/external.d.ts +12 -12
  62. package/dist/lexicon/types/app/bsky/embed/external.d.ts.map +1 -1
  63. package/dist/lexicon/types/app/bsky/embed/external.js +14 -17
  64. package/dist/lexicon/types/app/bsky/embed/external.js.map +1 -1
  65. package/dist/lexicon/types/app/bsky/embed/images.d.ts +13 -13
  66. package/dist/lexicon/types/app/bsky/embed/images.d.ts.map +1 -1
  67. package/dist/lexicon/types/app/bsky/embed/images.js +14 -13
  68. package/dist/lexicon/types/app/bsky/embed/images.js.map +1 -1
  69. package/dist/lexicon/types/app/bsky/embed/record.d.ts +34 -33
  70. package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
  71. package/dist/lexicon/types/app/bsky/embed/record.js +20 -23
  72. package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
  73. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.d.ts +13 -14
  74. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.d.ts.map +1 -1
  75. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.js +8 -9
  76. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.js.map +1 -1
  77. package/dist/lexicon/types/app/bsky/embed/video.d.ts +10 -10
  78. package/dist/lexicon/types/app/bsky/embed/video.d.ts.map +1 -1
  79. package/dist/lexicon/types/app/bsky/embed/video.js +11 -11
  80. package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -1
  81. package/dist/lexicon/types/app/bsky/feed/defs.d.ts +77 -79
  82. package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
  83. package/dist/lexicon/types/app/bsky/feed/defs.js +70 -82
  84. package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
  85. package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.d.ts +6 -7
  86. package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.d.ts.map +1 -1
  87. package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.js +8 -8
  88. package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.js.map +1 -1
  89. package/dist/lexicon/types/app/bsky/feed/generator.d.ts +7 -6
  90. package/dist/lexicon/types/app/bsky/feed/generator.d.ts.map +1 -1
  91. package/dist/lexicon/types/app/bsky/feed/generator.js +5 -5
  92. package/dist/lexicon/types/app/bsky/feed/generator.js.map +1 -1
  93. package/dist/lexicon/types/app/bsky/feed/getActorFeeds.d.ts +1 -2
  94. package/dist/lexicon/types/app/bsky/feed/getActorFeeds.d.ts.map +1 -1
  95. package/dist/lexicon/types/app/bsky/feed/getActorFeeds.js +4 -0
  96. package/dist/lexicon/types/app/bsky/feed/getActorFeeds.js.map +1 -1
  97. package/dist/lexicon/types/app/bsky/feed/getActorLikes.d.ts +1 -2
  98. package/dist/lexicon/types/app/bsky/feed/getActorLikes.d.ts.map +1 -1
  99. package/dist/lexicon/types/app/bsky/feed/getActorLikes.js +4 -0
  100. package/dist/lexicon/types/app/bsky/feed/getActorLikes.js.map +1 -1
  101. package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.d.ts +1 -2
  102. package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
  103. package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.js +4 -0
  104. package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.js.map +1 -1
  105. package/dist/lexicon/types/app/bsky/feed/getFeed.d.ts +1 -2
  106. package/dist/lexicon/types/app/bsky/feed/getFeed.d.ts.map +1 -1
  107. package/dist/lexicon/types/app/bsky/feed/getFeed.js +4 -0
  108. package/dist/lexicon/types/app/bsky/feed/getFeed.js.map +1 -1
  109. package/dist/lexicon/types/app/bsky/feed/getFeedGenerator.d.ts +1 -2
  110. package/dist/lexicon/types/app/bsky/feed/getFeedGenerator.d.ts.map +1 -1
  111. package/dist/lexicon/types/app/bsky/feed/getFeedGenerator.js +4 -0
  112. package/dist/lexicon/types/app/bsky/feed/getFeedGenerator.js.map +1 -1
  113. package/dist/lexicon/types/app/bsky/feed/getFeedGenerators.d.ts +1 -2
  114. package/dist/lexicon/types/app/bsky/feed/getFeedGenerators.d.ts.map +1 -1
  115. package/dist/lexicon/types/app/bsky/feed/getFeedGenerators.js +4 -0
  116. package/dist/lexicon/types/app/bsky/feed/getFeedGenerators.js.map +1 -1
  117. package/dist/lexicon/types/app/bsky/feed/getFeedSkeleton.d.ts +1 -2
  118. package/dist/lexicon/types/app/bsky/feed/getFeedSkeleton.d.ts.map +1 -1
  119. package/dist/lexicon/types/app/bsky/feed/getFeedSkeleton.js +4 -0
  120. package/dist/lexicon/types/app/bsky/feed/getFeedSkeleton.js.map +1 -1
  121. package/dist/lexicon/types/app/bsky/feed/getLikes.d.ts +4 -5
  122. package/dist/lexicon/types/app/bsky/feed/getLikes.d.ts.map +1 -1
  123. package/dist/lexicon/types/app/bsky/feed/getLikes.js +5 -2
  124. package/dist/lexicon/types/app/bsky/feed/getLikes.js.map +1 -1
  125. package/dist/lexicon/types/app/bsky/feed/getListFeed.d.ts +1 -2
  126. package/dist/lexicon/types/app/bsky/feed/getListFeed.d.ts.map +1 -1
  127. package/dist/lexicon/types/app/bsky/feed/getListFeed.js +4 -0
  128. package/dist/lexicon/types/app/bsky/feed/getListFeed.js.map +1 -1
  129. package/dist/lexicon/types/app/bsky/feed/getPostThread.d.ts +3 -4
  130. package/dist/lexicon/types/app/bsky/feed/getPostThread.d.ts.map +1 -1
  131. package/dist/lexicon/types/app/bsky/feed/getPostThread.js +4 -0
  132. package/dist/lexicon/types/app/bsky/feed/getPostThread.js.map +1 -1
  133. package/dist/lexicon/types/app/bsky/feed/getPosts.d.ts +1 -2
  134. package/dist/lexicon/types/app/bsky/feed/getPosts.d.ts.map +1 -1
  135. package/dist/lexicon/types/app/bsky/feed/getPosts.js +4 -0
  136. package/dist/lexicon/types/app/bsky/feed/getPosts.js.map +1 -1
  137. package/dist/lexicon/types/app/bsky/feed/getQuotes.d.ts +1 -2
  138. package/dist/lexicon/types/app/bsky/feed/getQuotes.d.ts.map +1 -1
  139. package/dist/lexicon/types/app/bsky/feed/getQuotes.js +4 -0
  140. package/dist/lexicon/types/app/bsky/feed/getQuotes.js.map +1 -1
  141. package/dist/lexicon/types/app/bsky/feed/getRepostedBy.d.ts +1 -2
  142. package/dist/lexicon/types/app/bsky/feed/getRepostedBy.d.ts.map +1 -1
  143. package/dist/lexicon/types/app/bsky/feed/getRepostedBy.js +4 -0
  144. package/dist/lexicon/types/app/bsky/feed/getRepostedBy.js.map +1 -1
  145. package/dist/lexicon/types/app/bsky/feed/getSuggestedFeeds.d.ts +1 -2
  146. package/dist/lexicon/types/app/bsky/feed/getSuggestedFeeds.d.ts.map +1 -1
  147. package/dist/lexicon/types/app/bsky/feed/getSuggestedFeeds.js +4 -0
  148. package/dist/lexicon/types/app/bsky/feed/getSuggestedFeeds.js.map +1 -1
  149. package/dist/lexicon/types/app/bsky/feed/getTimeline.d.ts +1 -2
  150. package/dist/lexicon/types/app/bsky/feed/getTimeline.d.ts.map +1 -1
  151. package/dist/lexicon/types/app/bsky/feed/getTimeline.js +4 -0
  152. package/dist/lexicon/types/app/bsky/feed/getTimeline.js.map +1 -1
  153. package/dist/lexicon/types/app/bsky/feed/like.d.ts +4 -3
  154. package/dist/lexicon/types/app/bsky/feed/like.d.ts.map +1 -1
  155. package/dist/lexicon/types/app/bsky/feed/like.js +5 -4
  156. package/dist/lexicon/types/app/bsky/feed/like.js.map +1 -1
  157. package/dist/lexicon/types/app/bsky/feed/post.d.ts +23 -23
  158. package/dist/lexicon/types/app/bsky/feed/post.d.ts.map +1 -1
  159. package/dist/lexicon/types/app/bsky/feed/post.js +14 -12
  160. package/dist/lexicon/types/app/bsky/feed/post.js.map +1 -1
  161. package/dist/lexicon/types/app/bsky/feed/postgate.d.ts +8 -7
  162. package/dist/lexicon/types/app/bsky/feed/postgate.d.ts.map +1 -1
  163. package/dist/lexicon/types/app/bsky/feed/postgate.js +8 -9
  164. package/dist/lexicon/types/app/bsky/feed/postgate.js.map +1 -1
  165. package/dist/lexicon/types/app/bsky/feed/repost.d.ts +4 -3
  166. package/dist/lexicon/types/app/bsky/feed/repost.d.ts.map +1 -1
  167. package/dist/lexicon/types/app/bsky/feed/repost.js +5 -5
  168. package/dist/lexicon/types/app/bsky/feed/repost.js.map +1 -1
  169. package/dist/lexicon/types/app/bsky/feed/searchPosts.d.ts +1 -2
  170. package/dist/lexicon/types/app/bsky/feed/searchPosts.d.ts.map +1 -1
  171. package/dist/lexicon/types/app/bsky/feed/searchPosts.js +4 -0
  172. package/dist/lexicon/types/app/bsky/feed/searchPosts.js.map +1 -1
  173. package/dist/lexicon/types/app/bsky/feed/sendInteractions.d.ts +1 -3
  174. package/dist/lexicon/types/app/bsky/feed/sendInteractions.d.ts.map +1 -1
  175. package/dist/lexicon/types/app/bsky/feed/sendInteractions.js +4 -0
  176. package/dist/lexicon/types/app/bsky/feed/sendInteractions.js.map +1 -1
  177. package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts +17 -16
  178. package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts.map +1 -1
  179. package/dist/lexicon/types/app/bsky/feed/threadgate.js +17 -21
  180. package/dist/lexicon/types/app/bsky/feed/threadgate.js.map +1 -1
  181. package/dist/lexicon/types/app/bsky/graph/block.d.ts +3 -2
  182. package/dist/lexicon/types/app/bsky/graph/block.d.ts.map +1 -1
  183. package/dist/lexicon/types/app/bsky/graph/block.js +5 -5
  184. package/dist/lexicon/types/app/bsky/graph/block.js.map +1 -1
  185. package/dist/lexicon/types/app/bsky/graph/defs.d.ts +34 -30
  186. package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
  187. package/dist/lexicon/types/app/bsky/graph/defs.js +29 -35
  188. package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
  189. package/dist/lexicon/types/app/bsky/graph/follow.d.ts +3 -2
  190. package/dist/lexicon/types/app/bsky/graph/follow.d.ts.map +1 -1
  191. package/dist/lexicon/types/app/bsky/graph/follow.js +5 -5
  192. package/dist/lexicon/types/app/bsky/graph/follow.js.map +1 -1
  193. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts +1 -2
  194. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -1
  195. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js +4 -0
  196. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js.map +1 -1
  197. package/dist/lexicon/types/app/bsky/graph/getBlocks.d.ts +1 -2
  198. package/dist/lexicon/types/app/bsky/graph/getBlocks.d.ts.map +1 -1
  199. package/dist/lexicon/types/app/bsky/graph/getBlocks.js +4 -0
  200. package/dist/lexicon/types/app/bsky/graph/getBlocks.js.map +1 -1
  201. package/dist/lexicon/types/app/bsky/graph/getFollowers.d.ts +1 -2
  202. package/dist/lexicon/types/app/bsky/graph/getFollowers.d.ts.map +1 -1
  203. package/dist/lexicon/types/app/bsky/graph/getFollowers.js +4 -0
  204. package/dist/lexicon/types/app/bsky/graph/getFollowers.js.map +1 -1
  205. package/dist/lexicon/types/app/bsky/graph/getFollows.d.ts +1 -2
  206. package/dist/lexicon/types/app/bsky/graph/getFollows.d.ts.map +1 -1
  207. package/dist/lexicon/types/app/bsky/graph/getFollows.js +4 -0
  208. package/dist/lexicon/types/app/bsky/graph/getFollows.js.map +1 -1
  209. package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.d.ts +1 -2
  210. package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.d.ts.map +1 -1
  211. package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.js +4 -0
  212. package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.js.map +1 -1
  213. package/dist/lexicon/types/app/bsky/graph/getList.d.ts +1 -2
  214. package/dist/lexicon/types/app/bsky/graph/getList.d.ts.map +1 -1
  215. package/dist/lexicon/types/app/bsky/graph/getList.js +4 -0
  216. package/dist/lexicon/types/app/bsky/graph/getList.js.map +1 -1
  217. package/dist/lexicon/types/app/bsky/graph/getListBlocks.d.ts +1 -2
  218. package/dist/lexicon/types/app/bsky/graph/getListBlocks.d.ts.map +1 -1
  219. package/dist/lexicon/types/app/bsky/graph/getListBlocks.js +4 -0
  220. package/dist/lexicon/types/app/bsky/graph/getListBlocks.js.map +1 -1
  221. package/dist/lexicon/types/app/bsky/graph/getListMutes.d.ts +1 -2
  222. package/dist/lexicon/types/app/bsky/graph/getListMutes.d.ts.map +1 -1
  223. package/dist/lexicon/types/app/bsky/graph/getListMutes.js +4 -0
  224. package/dist/lexicon/types/app/bsky/graph/getListMutes.js.map +1 -1
  225. package/dist/lexicon/types/app/bsky/graph/getLists.d.ts +1 -2
  226. package/dist/lexicon/types/app/bsky/graph/getLists.d.ts.map +1 -1
  227. package/dist/lexicon/types/app/bsky/graph/getLists.js +4 -0
  228. package/dist/lexicon/types/app/bsky/graph/getLists.js.map +1 -1
  229. package/dist/lexicon/types/app/bsky/graph/getMutes.d.ts +1 -2
  230. package/dist/lexicon/types/app/bsky/graph/getMutes.d.ts.map +1 -1
  231. package/dist/lexicon/types/app/bsky/graph/getMutes.js +4 -0
  232. package/dist/lexicon/types/app/bsky/graph/getMutes.js.map +1 -1
  233. package/dist/lexicon/types/app/bsky/graph/getRelationships.d.ts +3 -4
  234. package/dist/lexicon/types/app/bsky/graph/getRelationships.d.ts.map +1 -1
  235. package/dist/lexicon/types/app/bsky/graph/getRelationships.js +4 -0
  236. package/dist/lexicon/types/app/bsky/graph/getRelationships.js.map +1 -1
  237. package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts +1 -2
  238. package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts.map +1 -1
  239. package/dist/lexicon/types/app/bsky/graph/getStarterPack.js +4 -0
  240. package/dist/lexicon/types/app/bsky/graph/getStarterPack.js.map +1 -1
  241. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts +1 -2
  242. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -1
  243. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js +4 -0
  244. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js.map +1 -1
  245. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +1 -2
  246. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
  247. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.js +4 -0
  248. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
  249. package/dist/lexicon/types/app/bsky/graph/list.d.ts +8 -7
  250. package/dist/lexicon/types/app/bsky/graph/list.d.ts.map +1 -1
  251. package/dist/lexicon/types/app/bsky/graph/list.js +5 -5
  252. package/dist/lexicon/types/app/bsky/graph/list.js.map +1 -1
  253. package/dist/lexicon/types/app/bsky/graph/listblock.d.ts +3 -2
  254. package/dist/lexicon/types/app/bsky/graph/listblock.d.ts.map +1 -1
  255. package/dist/lexicon/types/app/bsky/graph/listblock.js +5 -5
  256. package/dist/lexicon/types/app/bsky/graph/listblock.js.map +1 -1
  257. package/dist/lexicon/types/app/bsky/graph/listitem.d.ts +3 -2
  258. package/dist/lexicon/types/app/bsky/graph/listitem.d.ts.map +1 -1
  259. package/dist/lexicon/types/app/bsky/graph/listitem.js +5 -5
  260. package/dist/lexicon/types/app/bsky/graph/listitem.js.map +1 -1
  261. package/dist/lexicon/types/app/bsky/graph/muteActor.d.ts +0 -1
  262. package/dist/lexicon/types/app/bsky/graph/muteActor.d.ts.map +1 -1
  263. package/dist/lexicon/types/app/bsky/graph/muteActor.js +4 -0
  264. package/dist/lexicon/types/app/bsky/graph/muteActor.js.map +1 -1
  265. package/dist/lexicon/types/app/bsky/graph/muteActorList.d.ts +0 -1
  266. package/dist/lexicon/types/app/bsky/graph/muteActorList.d.ts.map +1 -1
  267. package/dist/lexicon/types/app/bsky/graph/muteActorList.js +4 -0
  268. package/dist/lexicon/types/app/bsky/graph/muteActorList.js.map +1 -1
  269. package/dist/lexicon/types/app/bsky/graph/muteThread.d.ts +0 -1
  270. package/dist/lexicon/types/app/bsky/graph/muteThread.d.ts.map +1 -1
  271. package/dist/lexicon/types/app/bsky/graph/muteThread.js +4 -0
  272. package/dist/lexicon/types/app/bsky/graph/muteThread.js.map +1 -1
  273. package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.d.ts +1 -2
  274. package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.d.ts.map +1 -1
  275. package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.js +4 -0
  276. package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.js.map +1 -1
  277. package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts +7 -6
  278. package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts.map +1 -1
  279. package/dist/lexicon/types/app/bsky/graph/starterpack.js +8 -9
  280. package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -1
  281. package/dist/lexicon/types/app/bsky/graph/unmuteActor.d.ts +0 -1
  282. package/dist/lexicon/types/app/bsky/graph/unmuteActor.d.ts.map +1 -1
  283. package/dist/lexicon/types/app/bsky/graph/unmuteActor.js +4 -0
  284. package/dist/lexicon/types/app/bsky/graph/unmuteActor.js.map +1 -1
  285. package/dist/lexicon/types/app/bsky/graph/unmuteActorList.d.ts +0 -1
  286. package/dist/lexicon/types/app/bsky/graph/unmuteActorList.d.ts.map +1 -1
  287. package/dist/lexicon/types/app/bsky/graph/unmuteActorList.js +4 -0
  288. package/dist/lexicon/types/app/bsky/graph/unmuteActorList.js.map +1 -1
  289. package/dist/lexicon/types/app/bsky/graph/unmuteThread.d.ts +0 -1
  290. package/dist/lexicon/types/app/bsky/graph/unmuteThread.d.ts.map +1 -1
  291. package/dist/lexicon/types/app/bsky/graph/unmuteThread.js +4 -0
  292. package/dist/lexicon/types/app/bsky/graph/unmuteThread.js.map +1 -1
  293. package/dist/lexicon/types/app/bsky/labeler/defs.d.ts +14 -14
  294. package/dist/lexicon/types/app/bsky/labeler/defs.d.ts.map +1 -1
  295. package/dist/lexicon/types/app/bsky/labeler/defs.js +14 -16
  296. package/dist/lexicon/types/app/bsky/labeler/defs.js.map +1 -1
  297. package/dist/lexicon/types/app/bsky/labeler/getServices.d.ts +3 -4
  298. package/dist/lexicon/types/app/bsky/labeler/getServices.d.ts.map +1 -1
  299. package/dist/lexicon/types/app/bsky/labeler/getServices.js +4 -0
  300. package/dist/lexicon/types/app/bsky/labeler/getServices.js.map +1 -1
  301. package/dist/lexicon/types/app/bsky/labeler/service.d.ts +7 -6
  302. package/dist/lexicon/types/app/bsky/labeler/service.d.ts.map +1 -1
  303. package/dist/lexicon/types/app/bsky/labeler/service.js +5 -5
  304. package/dist/lexicon/types/app/bsky/labeler/service.js.map +1 -1
  305. package/dist/lexicon/types/app/bsky/notification/getUnreadCount.d.ts +0 -1
  306. package/dist/lexicon/types/app/bsky/notification/getUnreadCount.d.ts.map +1 -1
  307. package/dist/lexicon/types/app/bsky/notification/getUnreadCount.js +4 -0
  308. package/dist/lexicon/types/app/bsky/notification/getUnreadCount.js.map +1 -1
  309. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +8 -7
  310. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  311. package/dist/lexicon/types/app/bsky/notification/listNotifications.js +5 -4
  312. package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
  313. package/dist/lexicon/types/app/bsky/notification/putPreferences.d.ts +0 -1
  314. package/dist/lexicon/types/app/bsky/notification/putPreferences.d.ts.map +1 -1
  315. package/dist/lexicon/types/app/bsky/notification/putPreferences.js +4 -0
  316. package/dist/lexicon/types/app/bsky/notification/putPreferences.js.map +1 -1
  317. package/dist/lexicon/types/app/bsky/notification/registerPush.d.ts +0 -1
  318. package/dist/lexicon/types/app/bsky/notification/registerPush.d.ts.map +1 -1
  319. package/dist/lexicon/types/app/bsky/notification/registerPush.js +4 -0
  320. package/dist/lexicon/types/app/bsky/notification/registerPush.js.map +1 -1
  321. package/dist/lexicon/types/app/bsky/notification/updateSeen.d.ts +0 -1
  322. package/dist/lexicon/types/app/bsky/notification/updateSeen.d.ts.map +1 -1
  323. package/dist/lexicon/types/app/bsky/notification/updateSeen.js +4 -0
  324. package/dist/lexicon/types/app/bsky/notification/updateSeen.js.map +1 -1
  325. package/dist/lexicon/types/app/bsky/richtext/facet.d.ts +17 -17
  326. package/dist/lexicon/types/app/bsky/richtext/facet.d.ts.map +1 -1
  327. package/dist/lexicon/types/app/bsky/richtext/facet.js +17 -19
  328. package/dist/lexicon/types/app/bsky/richtext/facet.js.map +1 -1
  329. package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts +12 -12
  330. package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts.map +1 -1
  331. package/dist/lexicon/types/app/bsky/unspecced/defs.js +14 -16
  332. package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
  333. package/dist/lexicon/types/app/bsky/unspecced/getConfig.d.ts +0 -1
  334. package/dist/lexicon/types/app/bsky/unspecced/getConfig.d.ts.map +1 -1
  335. package/dist/lexicon/types/app/bsky/unspecced/getConfig.js +4 -0
  336. package/dist/lexicon/types/app/bsky/unspecced/getConfig.js.map +1 -1
  337. package/dist/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +1 -2
  338. package/dist/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +1 -1
  339. package/dist/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.js +4 -0
  340. package/dist/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.js.map +1 -1
  341. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +1 -2
  342. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
  343. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.js +4 -0
  344. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -1
  345. package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.d.ts +3 -4
  346. package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.d.ts.map +1 -1
  347. package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.js +5 -4
  348. package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.js.map +1 -1
  349. package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.d.ts +1 -2
  350. package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -1
  351. package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.js +4 -0
  352. package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.js.map +1 -1
  353. package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +1 -2
  354. package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.d.ts.map +1 -1
  355. package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.js +4 -0
  356. package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.js.map +1 -1
  357. package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +1 -2
  358. package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.d.ts.map +1 -1
  359. package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.js +4 -0
  360. package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.js.map +1 -1
  361. package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts +1 -2
  362. package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts.map +1 -1
  363. package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.js +4 -0
  364. package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.js.map +1 -1
  365. package/dist/lexicon/types/app/bsky/video/defs.d.ts +3 -3
  366. package/dist/lexicon/types/app/bsky/video/defs.d.ts.map +1 -1
  367. package/dist/lexicon/types/app/bsky/video/defs.js +5 -4
  368. package/dist/lexicon/types/app/bsky/video/defs.js.map +1 -1
  369. package/dist/lexicon/types/app/bsky/video/getJobStatus.d.ts +1 -2
  370. package/dist/lexicon/types/app/bsky/video/getJobStatus.d.ts.map +1 -1
  371. package/dist/lexicon/types/app/bsky/video/getJobStatus.js +4 -0
  372. package/dist/lexicon/types/app/bsky/video/getJobStatus.js.map +1 -1
  373. package/dist/lexicon/types/app/bsky/video/getUploadLimits.d.ts +0 -1
  374. package/dist/lexicon/types/app/bsky/video/getUploadLimits.d.ts.map +1 -1
  375. package/dist/lexicon/types/app/bsky/video/getUploadLimits.js +4 -0
  376. package/dist/lexicon/types/app/bsky/video/getUploadLimits.js.map +1 -1
  377. package/dist/lexicon/types/app/bsky/video/uploadVideo.d.ts +2 -3
  378. package/dist/lexicon/types/app/bsky/video/uploadVideo.d.ts.map +1 -1
  379. package/dist/lexicon/types/app/bsky/video/uploadVideo.js +4 -0
  380. package/dist/lexicon/types/app/bsky/video/uploadVideo.js.map +1 -1
  381. package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts +3 -2
  382. package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts.map +1 -1
  383. package/dist/lexicon/types/chat/bsky/actor/declaration.js +5 -5
  384. package/dist/lexicon/types/chat/bsky/actor/declaration.js.map +1 -1
  385. package/dist/lexicon/types/chat/bsky/actor/defs.d.ts +5 -5
  386. package/dist/lexicon/types/chat/bsky/actor/defs.d.ts.map +1 -1
  387. package/dist/lexicon/types/chat/bsky/actor/defs.js +5 -4
  388. package/dist/lexicon/types/chat/bsky/actor/defs.js.map +1 -1
  389. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.d.ts +0 -1
  390. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.d.ts.map +1 -1
  391. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.js +4 -0
  392. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.js.map +1 -1
  393. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts +1 -1
  394. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts.map +1 -1
  395. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.js +4 -0
  396. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.js.map +1 -1
  397. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +39 -43
  398. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
  399. package/dist/lexicon/types/chat/bsky/convo/defs.js +32 -40
  400. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  401. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.d.ts +1 -2
  402. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.d.ts.map +1 -1
  403. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.js +4 -0
  404. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.js.map +1 -1
  405. package/dist/lexicon/types/chat/bsky/convo/getConvo.d.ts +1 -2
  406. package/dist/lexicon/types/chat/bsky/convo/getConvo.d.ts.map +1 -1
  407. package/dist/lexicon/types/chat/bsky/convo/getConvo.js +4 -0
  408. package/dist/lexicon/types/chat/bsky/convo/getConvo.js.map +1 -1
  409. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts +1 -2
  410. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
  411. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js +4 -0
  412. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
  413. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +3 -4
  414. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  415. package/dist/lexicon/types/chat/bsky/convo/getLog.js +4 -0
  416. package/dist/lexicon/types/chat/bsky/convo/getLog.js.map +1 -1
  417. package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts +3 -4
  418. package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
  419. package/dist/lexicon/types/chat/bsky/convo/getMessages.js +4 -0
  420. package/dist/lexicon/types/chat/bsky/convo/getMessages.js.map +1 -1
  421. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.d.ts +0 -2
  422. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.d.ts.map +1 -1
  423. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.js +4 -0
  424. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.js.map +1 -1
  425. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts +1 -2
  426. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
  427. package/dist/lexicon/types/chat/bsky/convo/listConvos.js +4 -0
  428. package/dist/lexicon/types/chat/bsky/convo/listConvos.js.map +1 -1
  429. package/dist/lexicon/types/chat/bsky/convo/muteConvo.d.ts +1 -3
  430. package/dist/lexicon/types/chat/bsky/convo/muteConvo.d.ts.map +1 -1
  431. package/dist/lexicon/types/chat/bsky/convo/muteConvo.js +4 -0
  432. package/dist/lexicon/types/chat/bsky/convo/muteConvo.js.map +1 -1
  433. package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts +1 -2
  434. package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts.map +1 -1
  435. package/dist/lexicon/types/chat/bsky/convo/sendMessage.js +4 -0
  436. package/dist/lexicon/types/chat/bsky/convo/sendMessage.js.map +1 -1
  437. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts +4 -6
  438. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -1
  439. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js +5 -4
  440. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js.map +1 -1
  441. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.d.ts +1 -3
  442. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.d.ts.map +1 -1
  443. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.js +4 -0
  444. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.js.map +1 -1
  445. package/dist/lexicon/types/chat/bsky/convo/updateRead.d.ts +1 -3
  446. package/dist/lexicon/types/chat/bsky/convo/updateRead.d.ts.map +1 -1
  447. package/dist/lexicon/types/chat/bsky/convo/updateRead.js +4 -0
  448. package/dist/lexicon/types/chat/bsky/convo/updateRead.js.map +1 -1
  449. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.d.ts +3 -4
  450. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.d.ts.map +1 -1
  451. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js +5 -4
  452. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js.map +1 -1
  453. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts +3 -4
  454. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
  455. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.js +4 -0
  456. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.js.map +1 -1
  457. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.d.ts +0 -1
  458. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.d.ts.map +1 -1
  459. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.js +4 -0
  460. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.js.map +1 -1
  461. package/dist/lexicon/types/com/atproto/admin/defs.d.ts +19 -17
  462. package/dist/lexicon/types/com/atproto/admin/defs.d.ts.map +1 -1
  463. package/dist/lexicon/types/com/atproto/admin/defs.js +17 -20
  464. package/dist/lexicon/types/com/atproto/admin/defs.js.map +1 -1
  465. package/dist/lexicon/types/com/atproto/admin/deleteAccount.d.ts +0 -1
  466. package/dist/lexicon/types/com/atproto/admin/deleteAccount.d.ts.map +1 -1
  467. package/dist/lexicon/types/com/atproto/admin/deleteAccount.js +4 -0
  468. package/dist/lexicon/types/com/atproto/admin/deleteAccount.js.map +1 -1
  469. package/dist/lexicon/types/com/atproto/admin/disableAccountInvites.d.ts +0 -1
  470. package/dist/lexicon/types/com/atproto/admin/disableAccountInvites.d.ts.map +1 -1
  471. package/dist/lexicon/types/com/atproto/admin/disableAccountInvites.js +4 -0
  472. package/dist/lexicon/types/com/atproto/admin/disableAccountInvites.js.map +1 -1
  473. package/dist/lexicon/types/com/atproto/admin/disableInviteCodes.d.ts +0 -1
  474. package/dist/lexicon/types/com/atproto/admin/disableInviteCodes.d.ts.map +1 -1
  475. package/dist/lexicon/types/com/atproto/admin/disableInviteCodes.js +4 -0
  476. package/dist/lexicon/types/com/atproto/admin/disableInviteCodes.js.map +1 -1
  477. package/dist/lexicon/types/com/atproto/admin/enableAccountInvites.d.ts +0 -1
  478. package/dist/lexicon/types/com/atproto/admin/enableAccountInvites.d.ts.map +1 -1
  479. package/dist/lexicon/types/com/atproto/admin/enableAccountInvites.js +4 -0
  480. package/dist/lexicon/types/com/atproto/admin/enableAccountInvites.js.map +1 -1
  481. package/dist/lexicon/types/com/atproto/admin/getAccountInfo.d.ts +1 -1
  482. package/dist/lexicon/types/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
  483. package/dist/lexicon/types/com/atproto/admin/getAccountInfo.js +4 -0
  484. package/dist/lexicon/types/com/atproto/admin/getAccountInfo.js.map +1 -1
  485. package/dist/lexicon/types/com/atproto/admin/getAccountInfos.d.ts +1 -2
  486. package/dist/lexicon/types/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
  487. package/dist/lexicon/types/com/atproto/admin/getAccountInfos.js +4 -0
  488. package/dist/lexicon/types/com/atproto/admin/getAccountInfos.js.map +1 -1
  489. package/dist/lexicon/types/com/atproto/admin/getInviteCodes.d.ts +1 -2
  490. package/dist/lexicon/types/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
  491. package/dist/lexicon/types/com/atproto/admin/getInviteCodes.js +4 -0
  492. package/dist/lexicon/types/com/atproto/admin/getInviteCodes.js.map +1 -1
  493. package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.d.ts +4 -5
  494. package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
  495. package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.js +4 -0
  496. package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.js.map +1 -1
  497. package/dist/lexicon/types/com/atproto/admin/searchAccounts.d.ts +1 -2
  498. package/dist/lexicon/types/com/atproto/admin/searchAccounts.d.ts.map +1 -1
  499. package/dist/lexicon/types/com/atproto/admin/searchAccounts.js +4 -0
  500. package/dist/lexicon/types/com/atproto/admin/searchAccounts.js.map +1 -1
  501. package/dist/lexicon/types/com/atproto/admin/sendEmail.d.ts +0 -2
  502. package/dist/lexicon/types/com/atproto/admin/sendEmail.d.ts.map +1 -1
  503. package/dist/lexicon/types/com/atproto/admin/sendEmail.js +4 -0
  504. package/dist/lexicon/types/com/atproto/admin/sendEmail.js.map +1 -1
  505. package/dist/lexicon/types/com/atproto/admin/updateAccountEmail.d.ts +0 -1
  506. package/dist/lexicon/types/com/atproto/admin/updateAccountEmail.d.ts.map +1 -1
  507. package/dist/lexicon/types/com/atproto/admin/updateAccountEmail.js +4 -0
  508. package/dist/lexicon/types/com/atproto/admin/updateAccountEmail.js.map +1 -1
  509. package/dist/lexicon/types/com/atproto/admin/updateAccountHandle.d.ts +0 -1
  510. package/dist/lexicon/types/com/atproto/admin/updateAccountHandle.d.ts.map +1 -1
  511. package/dist/lexicon/types/com/atproto/admin/updateAccountHandle.js +4 -0
  512. package/dist/lexicon/types/com/atproto/admin/updateAccountHandle.js.map +1 -1
  513. package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.d.ts +0 -1
  514. package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.d.ts.map +1 -1
  515. package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.js +4 -0
  516. package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.js.map +1 -1
  517. package/dist/lexicon/types/com/atproto/admin/updateSubjectStatus.d.ts +5 -8
  518. package/dist/lexicon/types/com/atproto/admin/updateSubjectStatus.d.ts.map +1 -1
  519. package/dist/lexicon/types/com/atproto/admin/updateSubjectStatus.js +4 -0
  520. package/dist/lexicon/types/com/atproto/admin/updateSubjectStatus.js.map +1 -1
  521. package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +6 -3
  522. package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
  523. package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.js +4 -0
  524. package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
  525. package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.d.ts.map +1 -1
  526. package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.js +4 -0
  527. package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
  528. package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts +0 -1
  529. package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts.map +1 -1
  530. package/dist/lexicon/types/com/atproto/identity/resolveHandle.js +4 -0
  531. package/dist/lexicon/types/com/atproto/identity/resolveHandle.js.map +1 -1
  532. package/dist/lexicon/types/com/atproto/identity/signPlcOperation.d.ts +9 -5
  533. package/dist/lexicon/types/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
  534. package/dist/lexicon/types/com/atproto/identity/signPlcOperation.js +4 -0
  535. package/dist/lexicon/types/com/atproto/identity/signPlcOperation.js.map +1 -1
  536. package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.d.ts +3 -2
  537. package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.d.ts.map +1 -1
  538. package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.js +4 -0
  539. package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.js.map +1 -1
  540. package/dist/lexicon/types/com/atproto/identity/updateHandle.d.ts +0 -1
  541. package/dist/lexicon/types/com/atproto/identity/updateHandle.d.ts.map +1 -1
  542. package/dist/lexicon/types/com/atproto/identity/updateHandle.js +4 -0
  543. package/dist/lexicon/types/com/atproto/identity/updateHandle.js.map +1 -1
  544. package/dist/lexicon/types/com/atproto/label/defs.d.ts +15 -15
  545. package/dist/lexicon/types/com/atproto/label/defs.d.ts.map +1 -1
  546. package/dist/lexicon/types/com/atproto/label/defs.js +17 -20
  547. package/dist/lexicon/types/com/atproto/label/defs.js.map +1 -1
  548. package/dist/lexicon/types/com/atproto/label/queryLabels.d.ts +1 -2
  549. package/dist/lexicon/types/com/atproto/label/queryLabels.d.ts.map +1 -1
  550. package/dist/lexicon/types/com/atproto/label/queryLabels.js +4 -0
  551. package/dist/lexicon/types/com/atproto/label/queryLabels.js.map +1 -1
  552. package/dist/lexicon/types/com/atproto/label/subscribeLabels.d.ts +10 -10
  553. package/dist/lexicon/types/com/atproto/label/subscribeLabels.d.ts.map +1 -1
  554. package/dist/lexicon/types/com/atproto/label/subscribeLabels.js +8 -8
  555. package/dist/lexicon/types/com/atproto/label/subscribeLabels.js.map +1 -1
  556. package/dist/lexicon/types/com/atproto/lexicon/schema.d.ts +3 -2
  557. package/dist/lexicon/types/com/atproto/lexicon/schema.d.ts.map +1 -1
  558. package/dist/lexicon/types/com/atproto/lexicon/schema.js +5 -5
  559. package/dist/lexicon/types/com/atproto/lexicon/schema.js.map +1 -1
  560. package/dist/lexicon/types/com/atproto/moderation/createReport.d.ts +6 -9
  561. package/dist/lexicon/types/com/atproto/moderation/createReport.d.ts.map +1 -1
  562. package/dist/lexicon/types/com/atproto/moderation/createReport.js +4 -0
  563. package/dist/lexicon/types/com/atproto/moderation/createReport.js.map +1 -1
  564. package/dist/lexicon/types/com/atproto/moderation/defs.d.ts.map +1 -1
  565. package/dist/lexicon/types/com/atproto/moderation/defs.js +11 -7
  566. package/dist/lexicon/types/com/atproto/moderation/defs.js.map +1 -1
  567. package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts +28 -25
  568. package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
  569. package/dist/lexicon/types/com/atproto/repo/applyWrites.js +20 -24
  570. package/dist/lexicon/types/com/atproto/repo/applyWrites.js.map +1 -1
  571. package/dist/lexicon/types/com/atproto/repo/createRecord.d.ts +4 -4
  572. package/dist/lexicon/types/com/atproto/repo/createRecord.d.ts.map +1 -1
  573. package/dist/lexicon/types/com/atproto/repo/createRecord.js +4 -0
  574. package/dist/lexicon/types/com/atproto/repo/createRecord.js.map +1 -1
  575. package/dist/lexicon/types/com/atproto/repo/defs.d.ts +3 -3
  576. package/dist/lexicon/types/com/atproto/repo/defs.d.ts.map +1 -1
  577. package/dist/lexicon/types/com/atproto/repo/defs.js +5 -4
  578. package/dist/lexicon/types/com/atproto/repo/defs.js.map +1 -1
  579. package/dist/lexicon/types/com/atproto/repo/deleteRecord.d.ts +1 -3
  580. package/dist/lexicon/types/com/atproto/repo/deleteRecord.d.ts.map +1 -1
  581. package/dist/lexicon/types/com/atproto/repo/deleteRecord.js +4 -0
  582. package/dist/lexicon/types/com/atproto/repo/deleteRecord.js.map +1 -1
  583. package/dist/lexicon/types/com/atproto/repo/describeRepo.d.ts +3 -2
  584. package/dist/lexicon/types/com/atproto/repo/describeRepo.d.ts.map +1 -1
  585. package/dist/lexicon/types/com/atproto/repo/describeRepo.js +4 -0
  586. package/dist/lexicon/types/com/atproto/repo/describeRepo.js.map +1 -1
  587. package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts +3 -2
  588. package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts.map +1 -1
  589. package/dist/lexicon/types/com/atproto/repo/getRecord.js +4 -0
  590. package/dist/lexicon/types/com/atproto/repo/getRecord.js.map +1 -1
  591. package/dist/lexicon/types/com/atproto/repo/importRepo.d.ts +1 -1
  592. package/dist/lexicon/types/com/atproto/repo/importRepo.d.ts.map +1 -1
  593. package/dist/lexicon/types/com/atproto/repo/importRepo.js +4 -0
  594. package/dist/lexicon/types/com/atproto/repo/importRepo.js.map +1 -1
  595. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.d.ts +3 -4
  596. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
  597. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.js +5 -4
  598. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.js.map +1 -1
  599. package/dist/lexicon/types/com/atproto/repo/listRecords.d.ts +6 -5
  600. package/dist/lexicon/types/com/atproto/repo/listRecords.d.ts.map +1 -1
  601. package/dist/lexicon/types/com/atproto/repo/listRecords.js +5 -4
  602. package/dist/lexicon/types/com/atproto/repo/listRecords.js.map +1 -1
  603. package/dist/lexicon/types/com/atproto/repo/putRecord.d.ts +4 -4
  604. package/dist/lexicon/types/com/atproto/repo/putRecord.d.ts.map +1 -1
  605. package/dist/lexicon/types/com/atproto/repo/putRecord.js +4 -0
  606. package/dist/lexicon/types/com/atproto/repo/putRecord.js.map +1 -1
  607. package/dist/lexicon/types/com/atproto/repo/strongRef.d.ts +3 -3
  608. package/dist/lexicon/types/com/atproto/repo/strongRef.d.ts.map +1 -1
  609. package/dist/lexicon/types/com/atproto/repo/strongRef.js +5 -5
  610. package/dist/lexicon/types/com/atproto/repo/strongRef.js.map +1 -1
  611. package/dist/lexicon/types/com/atproto/repo/uploadBlob.d.ts +1 -2
  612. package/dist/lexicon/types/com/atproto/repo/uploadBlob.d.ts.map +1 -1
  613. package/dist/lexicon/types/com/atproto/repo/uploadBlob.js +4 -0
  614. package/dist/lexicon/types/com/atproto/repo/uploadBlob.js.map +1 -1
  615. package/dist/lexicon/types/com/atproto/server/activateAccount.d.ts.map +1 -1
  616. package/dist/lexicon/types/com/atproto/server/activateAccount.js +4 -0
  617. package/dist/lexicon/types/com/atproto/server/activateAccount.js.map +1 -1
  618. package/dist/lexicon/types/com/atproto/server/checkAccountStatus.d.ts +0 -1
  619. package/dist/lexicon/types/com/atproto/server/checkAccountStatus.d.ts.map +1 -1
  620. package/dist/lexicon/types/com/atproto/server/checkAccountStatus.js +4 -0
  621. package/dist/lexicon/types/com/atproto/server/checkAccountStatus.js.map +1 -1
  622. package/dist/lexicon/types/com/atproto/server/confirmEmail.d.ts +0 -1
  623. package/dist/lexicon/types/com/atproto/server/confirmEmail.d.ts.map +1 -1
  624. package/dist/lexicon/types/com/atproto/server/confirmEmail.js +4 -0
  625. package/dist/lexicon/types/com/atproto/server/confirmEmail.js.map +1 -1
  626. package/dist/lexicon/types/com/atproto/server/createAccount.d.ts +6 -4
  627. package/dist/lexicon/types/com/atproto/server/createAccount.d.ts.map +1 -1
  628. package/dist/lexicon/types/com/atproto/server/createAccount.js +4 -0
  629. package/dist/lexicon/types/com/atproto/server/createAccount.js.map +1 -1
  630. package/dist/lexicon/types/com/atproto/server/createAppPassword.d.ts +3 -4
  631. package/dist/lexicon/types/com/atproto/server/createAppPassword.d.ts.map +1 -1
  632. package/dist/lexicon/types/com/atproto/server/createAppPassword.js +5 -4
  633. package/dist/lexicon/types/com/atproto/server/createAppPassword.js.map +1 -1
  634. package/dist/lexicon/types/com/atproto/server/createInviteCode.d.ts +0 -2
  635. package/dist/lexicon/types/com/atproto/server/createInviteCode.d.ts.map +1 -1
  636. package/dist/lexicon/types/com/atproto/server/createInviteCode.js +4 -0
  637. package/dist/lexicon/types/com/atproto/server/createInviteCode.js.map +1 -1
  638. package/dist/lexicon/types/com/atproto/server/createInviteCodes.d.ts +3 -5
  639. package/dist/lexicon/types/com/atproto/server/createInviteCodes.d.ts.map +1 -1
  640. package/dist/lexicon/types/com/atproto/server/createInviteCodes.js +5 -4
  641. package/dist/lexicon/types/com/atproto/server/createInviteCodes.js.map +1 -1
  642. package/dist/lexicon/types/com/atproto/server/createSession.d.ts +3 -3
  643. package/dist/lexicon/types/com/atproto/server/createSession.d.ts.map +1 -1
  644. package/dist/lexicon/types/com/atproto/server/createSession.js +4 -0
  645. package/dist/lexicon/types/com/atproto/server/createSession.js.map +1 -1
  646. package/dist/lexicon/types/com/atproto/server/deactivateAccount.d.ts +0 -1
  647. package/dist/lexicon/types/com/atproto/server/deactivateAccount.d.ts.map +1 -1
  648. package/dist/lexicon/types/com/atproto/server/deactivateAccount.js +4 -0
  649. package/dist/lexicon/types/com/atproto/server/deactivateAccount.js.map +1 -1
  650. package/dist/lexicon/types/com/atproto/server/defs.d.ts +6 -6
  651. package/dist/lexicon/types/com/atproto/server/defs.d.ts.map +1 -1
  652. package/dist/lexicon/types/com/atproto/server/defs.js +8 -8
  653. package/dist/lexicon/types/com/atproto/server/defs.js.map +1 -1
  654. package/dist/lexicon/types/com/atproto/server/deleteAccount.d.ts +0 -1
  655. package/dist/lexicon/types/com/atproto/server/deleteAccount.d.ts.map +1 -1
  656. package/dist/lexicon/types/com/atproto/server/deleteAccount.js +4 -0
  657. package/dist/lexicon/types/com/atproto/server/deleteAccount.js.map +1 -1
  658. package/dist/lexicon/types/com/atproto/server/deleteSession.d.ts.map +1 -1
  659. package/dist/lexicon/types/com/atproto/server/deleteSession.js +4 -0
  660. package/dist/lexicon/types/com/atproto/server/deleteSession.js.map +1 -1
  661. package/dist/lexicon/types/com/atproto/server/describeServer.d.ts +6 -7
  662. package/dist/lexicon/types/com/atproto/server/describeServer.d.ts.map +1 -1
  663. package/dist/lexicon/types/com/atproto/server/describeServer.js +8 -8
  664. package/dist/lexicon/types/com/atproto/server/describeServer.js.map +1 -1
  665. package/dist/lexicon/types/com/atproto/server/getAccountInviteCodes.d.ts +1 -2
  666. package/dist/lexicon/types/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
  667. package/dist/lexicon/types/com/atproto/server/getAccountInviteCodes.js +4 -0
  668. package/dist/lexicon/types/com/atproto/server/getAccountInviteCodes.js.map +1 -1
  669. package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts +0 -1
  670. package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  671. package/dist/lexicon/types/com/atproto/server/getServiceAuth.js +4 -0
  672. package/dist/lexicon/types/com/atproto/server/getServiceAuth.js.map +1 -1
  673. package/dist/lexicon/types/com/atproto/server/getSession.d.ts +3 -2
  674. package/dist/lexicon/types/com/atproto/server/getSession.d.ts.map +1 -1
  675. package/dist/lexicon/types/com/atproto/server/getSession.js +4 -0
  676. package/dist/lexicon/types/com/atproto/server/getSession.js.map +1 -1
  677. package/dist/lexicon/types/com/atproto/server/listAppPasswords.d.ts +3 -4
  678. package/dist/lexicon/types/com/atproto/server/listAppPasswords.d.ts.map +1 -1
  679. package/dist/lexicon/types/com/atproto/server/listAppPasswords.js +5 -4
  680. package/dist/lexicon/types/com/atproto/server/listAppPasswords.js.map +1 -1
  681. package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts +3 -2
  682. package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts.map +1 -1
  683. package/dist/lexicon/types/com/atproto/server/refreshSession.js +4 -0
  684. package/dist/lexicon/types/com/atproto/server/refreshSession.js.map +1 -1
  685. package/dist/lexicon/types/com/atproto/server/requestAccountDelete.d.ts.map +1 -1
  686. package/dist/lexicon/types/com/atproto/server/requestAccountDelete.js +4 -0
  687. package/dist/lexicon/types/com/atproto/server/requestAccountDelete.js.map +1 -1
  688. package/dist/lexicon/types/com/atproto/server/requestEmailConfirmation.d.ts.map +1 -1
  689. package/dist/lexicon/types/com/atproto/server/requestEmailConfirmation.js +4 -0
  690. package/dist/lexicon/types/com/atproto/server/requestEmailConfirmation.js.map +1 -1
  691. package/dist/lexicon/types/com/atproto/server/requestEmailUpdate.d.ts +0 -1
  692. package/dist/lexicon/types/com/atproto/server/requestEmailUpdate.d.ts.map +1 -1
  693. package/dist/lexicon/types/com/atproto/server/requestEmailUpdate.js +4 -0
  694. package/dist/lexicon/types/com/atproto/server/requestEmailUpdate.js.map +1 -1
  695. package/dist/lexicon/types/com/atproto/server/requestPasswordReset.d.ts +0 -1
  696. package/dist/lexicon/types/com/atproto/server/requestPasswordReset.d.ts.map +1 -1
  697. package/dist/lexicon/types/com/atproto/server/requestPasswordReset.js +4 -0
  698. package/dist/lexicon/types/com/atproto/server/requestPasswordReset.js.map +1 -1
  699. package/dist/lexicon/types/com/atproto/server/reserveSigningKey.d.ts +0 -2
  700. package/dist/lexicon/types/com/atproto/server/reserveSigningKey.d.ts.map +1 -1
  701. package/dist/lexicon/types/com/atproto/server/reserveSigningKey.js +4 -0
  702. package/dist/lexicon/types/com/atproto/server/reserveSigningKey.js.map +1 -1
  703. package/dist/lexicon/types/com/atproto/server/resetPassword.d.ts +0 -1
  704. package/dist/lexicon/types/com/atproto/server/resetPassword.d.ts.map +1 -1
  705. package/dist/lexicon/types/com/atproto/server/resetPassword.js +4 -0
  706. package/dist/lexicon/types/com/atproto/server/resetPassword.js.map +1 -1
  707. package/dist/lexicon/types/com/atproto/server/revokeAppPassword.d.ts +0 -1
  708. package/dist/lexicon/types/com/atproto/server/revokeAppPassword.d.ts.map +1 -1
  709. package/dist/lexicon/types/com/atproto/server/revokeAppPassword.js +4 -0
  710. package/dist/lexicon/types/com/atproto/server/revokeAppPassword.js.map +1 -1
  711. package/dist/lexicon/types/com/atproto/server/updateEmail.d.ts +0 -1
  712. package/dist/lexicon/types/com/atproto/server/updateEmail.d.ts.map +1 -1
  713. package/dist/lexicon/types/com/atproto/server/updateEmail.js +4 -0
  714. package/dist/lexicon/types/com/atproto/server/updateEmail.js.map +1 -1
  715. package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts +1 -1
  716. package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts.map +1 -1
  717. package/dist/lexicon/types/com/atproto/sync/getBlob.js +4 -0
  718. package/dist/lexicon/types/com/atproto/sync/getBlob.js.map +1 -1
  719. package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts +1 -1
  720. package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts.map +1 -1
  721. package/dist/lexicon/types/com/atproto/sync/getBlocks.js +4 -0
  722. package/dist/lexicon/types/com/atproto/sync/getBlocks.js.map +1 -1
  723. package/dist/lexicon/types/com/atproto/sync/getCheckout.d.ts +1 -1
  724. package/dist/lexicon/types/com/atproto/sync/getCheckout.d.ts.map +1 -1
  725. package/dist/lexicon/types/com/atproto/sync/getCheckout.js +4 -0
  726. package/dist/lexicon/types/com/atproto/sync/getCheckout.js.map +1 -1
  727. package/dist/lexicon/types/com/atproto/sync/getHead.d.ts +0 -1
  728. package/dist/lexicon/types/com/atproto/sync/getHead.d.ts.map +1 -1
  729. package/dist/lexicon/types/com/atproto/sync/getHead.js +4 -0
  730. package/dist/lexicon/types/com/atproto/sync/getHead.js.map +1 -1
  731. package/dist/lexicon/types/com/atproto/sync/getLatestCommit.d.ts +0 -1
  732. package/dist/lexicon/types/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
  733. package/dist/lexicon/types/com/atproto/sync/getLatestCommit.js +4 -0
  734. package/dist/lexicon/types/com/atproto/sync/getLatestCommit.js.map +1 -1
  735. package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts +1 -1
  736. package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts.map +1 -1
  737. package/dist/lexicon/types/com/atproto/sync/getRecord.js +4 -0
  738. package/dist/lexicon/types/com/atproto/sync/getRecord.js.map +1 -1
  739. package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts +1 -1
  740. package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts.map +1 -1
  741. package/dist/lexicon/types/com/atproto/sync/getRepo.js +4 -0
  742. package/dist/lexicon/types/com/atproto/sync/getRepo.js.map +1 -1
  743. package/dist/lexicon/types/com/atproto/sync/getRepoStatus.d.ts +0 -1
  744. package/dist/lexicon/types/com/atproto/sync/getRepoStatus.d.ts.map +1 -1
  745. package/dist/lexicon/types/com/atproto/sync/getRepoStatus.js +4 -0
  746. package/dist/lexicon/types/com/atproto/sync/getRepoStatus.js.map +1 -1
  747. package/dist/lexicon/types/com/atproto/sync/listBlobs.d.ts +0 -1
  748. package/dist/lexicon/types/com/atproto/sync/listBlobs.d.ts.map +1 -1
  749. package/dist/lexicon/types/com/atproto/sync/listBlobs.js +4 -0
  750. package/dist/lexicon/types/com/atproto/sync/listBlobs.js.map +1 -1
  751. package/dist/lexicon/types/com/atproto/sync/listRepos.d.ts +3 -4
  752. package/dist/lexicon/types/com/atproto/sync/listRepos.d.ts.map +1 -1
  753. package/dist/lexicon/types/com/atproto/sync/listRepos.js +5 -4
  754. package/dist/lexicon/types/com/atproto/sync/listRepos.js.map +1 -1
  755. package/dist/lexicon/types/com/atproto/sync/notifyOfUpdate.d.ts +0 -1
  756. package/dist/lexicon/types/com/atproto/sync/notifyOfUpdate.d.ts.map +1 -1
  757. package/dist/lexicon/types/com/atproto/sync/notifyOfUpdate.js +4 -0
  758. package/dist/lexicon/types/com/atproto/sync/notifyOfUpdate.js.map +1 -1
  759. package/dist/lexicon/types/com/atproto/sync/requestCrawl.d.ts +0 -1
  760. package/dist/lexicon/types/com/atproto/sync/requestCrawl.d.ts.map +1 -1
  761. package/dist/lexicon/types/com/atproto/sync/requestCrawl.js +4 -0
  762. package/dist/lexicon/types/com/atproto/sync/requestCrawl.js.map +1 -1
  763. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +27 -27
  764. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
  765. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js +26 -32
  766. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js.map +1 -1
  767. package/dist/lexicon/types/com/atproto/temp/addReservedHandle.d.ts +0 -2
  768. package/dist/lexicon/types/com/atproto/temp/addReservedHandle.d.ts.map +1 -1
  769. package/dist/lexicon/types/com/atproto/temp/addReservedHandle.js +4 -0
  770. package/dist/lexicon/types/com/atproto/temp/addReservedHandle.js.map +1 -1
  771. package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.d.ts +0 -1
  772. package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.d.ts.map +1 -1
  773. package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.js +4 -0
  774. package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.js.map +1 -1
  775. package/dist/lexicon/types/com/atproto/temp/fetchLabels.d.ts +1 -2
  776. package/dist/lexicon/types/com/atproto/temp/fetchLabels.d.ts.map +1 -1
  777. package/dist/lexicon/types/com/atproto/temp/fetchLabels.js +4 -0
  778. package/dist/lexicon/types/com/atproto/temp/fetchLabels.js.map +1 -1
  779. package/dist/lexicon/types/com/atproto/temp/requestPhoneVerification.d.ts +0 -1
  780. package/dist/lexicon/types/com/atproto/temp/requestPhoneVerification.d.ts.map +1 -1
  781. package/dist/lexicon/types/com/atproto/temp/requestPhoneVerification.js +4 -0
  782. package/dist/lexicon/types/com/atproto/temp/requestPhoneVerification.js.map +1 -1
  783. package/dist/lexicon/types/tools/ozone/communication/createTemplate.d.ts +1 -2
  784. package/dist/lexicon/types/tools/ozone/communication/createTemplate.d.ts.map +1 -1
  785. package/dist/lexicon/types/tools/ozone/communication/createTemplate.js +4 -0
  786. package/dist/lexicon/types/tools/ozone/communication/createTemplate.js.map +1 -1
  787. package/dist/lexicon/types/tools/ozone/communication/defs.d.ts +3 -3
  788. package/dist/lexicon/types/tools/ozone/communication/defs.d.ts.map +1 -1
  789. package/dist/lexicon/types/tools/ozone/communication/defs.js +5 -4
  790. package/dist/lexicon/types/tools/ozone/communication/defs.js.map +1 -1
  791. package/dist/lexicon/types/tools/ozone/communication/deleteTemplate.d.ts +0 -1
  792. package/dist/lexicon/types/tools/ozone/communication/deleteTemplate.d.ts.map +1 -1
  793. package/dist/lexicon/types/tools/ozone/communication/deleteTemplate.js +4 -0
  794. package/dist/lexicon/types/tools/ozone/communication/deleteTemplate.js.map +1 -1
  795. package/dist/lexicon/types/tools/ozone/communication/listTemplates.d.ts +1 -2
  796. package/dist/lexicon/types/tools/ozone/communication/listTemplates.d.ts.map +1 -1
  797. package/dist/lexicon/types/tools/ozone/communication/listTemplates.js +4 -0
  798. package/dist/lexicon/types/tools/ozone/communication/listTemplates.js.map +1 -1
  799. package/dist/lexicon/types/tools/ozone/communication/updateTemplate.d.ts +1 -2
  800. package/dist/lexicon/types/tools/ozone/communication/updateTemplate.d.ts.map +1 -1
  801. package/dist/lexicon/types/tools/ozone/communication/updateTemplate.js +4 -0
  802. package/dist/lexicon/types/tools/ozone/communication/updateTemplate.js.map +1 -1
  803. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +137 -135
  804. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  805. package/dist/lexicon/types/tools/ozone/moderation/defs.js +117 -152
  806. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  807. package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts +6 -8
  808. package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
  809. package/dist/lexicon/types/tools/ozone/moderation/emitEvent.js +4 -0
  810. package/dist/lexicon/types/tools/ozone/moderation/emitEvent.js.map +1 -1
  811. package/dist/lexicon/types/tools/ozone/moderation/getEvent.d.ts +1 -1
  812. package/dist/lexicon/types/tools/ozone/moderation/getEvent.d.ts.map +1 -1
  813. package/dist/lexicon/types/tools/ozone/moderation/getEvent.js +4 -0
  814. package/dist/lexicon/types/tools/ozone/moderation/getEvent.js.map +1 -1
  815. package/dist/lexicon/types/tools/ozone/moderation/getRecord.d.ts +1 -1
  816. package/dist/lexicon/types/tools/ozone/moderation/getRecord.d.ts.map +1 -1
  817. package/dist/lexicon/types/tools/ozone/moderation/getRecord.js +4 -0
  818. package/dist/lexicon/types/tools/ozone/moderation/getRecord.js.map +1 -1
  819. package/dist/lexicon/types/tools/ozone/moderation/getRecords.d.ts +3 -4
  820. package/dist/lexicon/types/tools/ozone/moderation/getRecords.d.ts.map +1 -1
  821. package/dist/lexicon/types/tools/ozone/moderation/getRecords.js +4 -0
  822. package/dist/lexicon/types/tools/ozone/moderation/getRecords.js.map +1 -1
  823. package/dist/lexicon/types/tools/ozone/moderation/getRepo.d.ts +1 -1
  824. package/dist/lexicon/types/tools/ozone/moderation/getRepo.d.ts.map +1 -1
  825. package/dist/lexicon/types/tools/ozone/moderation/getRepo.js +4 -0
  826. package/dist/lexicon/types/tools/ozone/moderation/getRepo.js.map +1 -1
  827. package/dist/lexicon/types/tools/ozone/moderation/getRepos.d.ts +3 -4
  828. package/dist/lexicon/types/tools/ozone/moderation/getRepos.d.ts.map +1 -1
  829. package/dist/lexicon/types/tools/ozone/moderation/getRepos.js +4 -0
  830. package/dist/lexicon/types/tools/ozone/moderation/getRepos.js.map +1 -1
  831. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts +1 -2
  832. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  833. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.js +4 -0
  834. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.js.map +1 -1
  835. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +1 -2
  836. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  837. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.js +4 -0
  838. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  839. package/dist/lexicon/types/tools/ozone/moderation/searchRepos.d.ts +1 -2
  840. package/dist/lexicon/types/tools/ozone/moderation/searchRepos.d.ts.map +1 -1
  841. package/dist/lexicon/types/tools/ozone/moderation/searchRepos.js +4 -0
  842. package/dist/lexicon/types/tools/ozone/moderation/searchRepos.js.map +1 -1
  843. package/dist/lexicon/types/tools/ozone/server/getConfig.d.ts +6 -7
  844. package/dist/lexicon/types/tools/ozone/server/getConfig.d.ts.map +1 -1
  845. package/dist/lexicon/types/tools/ozone/server/getConfig.js +8 -8
  846. package/dist/lexicon/types/tools/ozone/server/getConfig.js.map +1 -1
  847. package/dist/lexicon/types/tools/ozone/set/addValues.d.ts +0 -1
  848. package/dist/lexicon/types/tools/ozone/set/addValues.d.ts.map +1 -1
  849. package/dist/lexicon/types/tools/ozone/set/addValues.js +4 -0
  850. package/dist/lexicon/types/tools/ozone/set/addValues.js.map +1 -1
  851. package/dist/lexicon/types/tools/ozone/set/defs.d.ts +6 -6
  852. package/dist/lexicon/types/tools/ozone/set/defs.d.ts.map +1 -1
  853. package/dist/lexicon/types/tools/ozone/set/defs.js +8 -6
  854. package/dist/lexicon/types/tools/ozone/set/defs.js.map +1 -1
  855. package/dist/lexicon/types/tools/ozone/set/deleteSet.d.ts +0 -2
  856. package/dist/lexicon/types/tools/ozone/set/deleteSet.d.ts.map +1 -1
  857. package/dist/lexicon/types/tools/ozone/set/deleteSet.js +4 -0
  858. package/dist/lexicon/types/tools/ozone/set/deleteSet.js.map +1 -1
  859. package/dist/lexicon/types/tools/ozone/set/deleteValues.d.ts +0 -1
  860. package/dist/lexicon/types/tools/ozone/set/deleteValues.d.ts.map +1 -1
  861. package/dist/lexicon/types/tools/ozone/set/deleteValues.js +4 -0
  862. package/dist/lexicon/types/tools/ozone/set/deleteValues.js.map +1 -1
  863. package/dist/lexicon/types/tools/ozone/set/getValues.d.ts +1 -2
  864. package/dist/lexicon/types/tools/ozone/set/getValues.d.ts.map +1 -1
  865. package/dist/lexicon/types/tools/ozone/set/getValues.js +4 -0
  866. package/dist/lexicon/types/tools/ozone/set/getValues.js.map +1 -1
  867. package/dist/lexicon/types/tools/ozone/set/querySets.d.ts +1 -2
  868. package/dist/lexicon/types/tools/ozone/set/querySets.d.ts.map +1 -1
  869. package/dist/lexicon/types/tools/ozone/set/querySets.js +4 -0
  870. package/dist/lexicon/types/tools/ozone/set/querySets.js.map +1 -1
  871. package/dist/lexicon/types/tools/ozone/set/upsertSet.d.ts +1 -1
  872. package/dist/lexicon/types/tools/ozone/set/upsertSet.d.ts.map +1 -1
  873. package/dist/lexicon/types/tools/ozone/set/upsertSet.js +4 -0
  874. package/dist/lexicon/types/tools/ozone/set/upsertSet.js.map +1 -1
  875. package/dist/lexicon/types/tools/ozone/setting/defs.d.ts +6 -4
  876. package/dist/lexicon/types/tools/ozone/setting/defs.d.ts.map +1 -1
  877. package/dist/lexicon/types/tools/ozone/setting/defs.js +5 -4
  878. package/dist/lexicon/types/tools/ozone/setting/defs.js.map +1 -1
  879. package/dist/lexicon/types/tools/ozone/setting/listOptions.d.ts +1 -2
  880. package/dist/lexicon/types/tools/ozone/setting/listOptions.d.ts.map +1 -1
  881. package/dist/lexicon/types/tools/ozone/setting/listOptions.js +4 -0
  882. package/dist/lexicon/types/tools/ozone/setting/listOptions.js.map +1 -1
  883. package/dist/lexicon/types/tools/ozone/setting/removeOptions.d.ts +0 -2
  884. package/dist/lexicon/types/tools/ozone/setting/removeOptions.d.ts.map +1 -1
  885. package/dist/lexicon/types/tools/ozone/setting/removeOptions.js +4 -0
  886. package/dist/lexicon/types/tools/ozone/setting/removeOptions.js.map +1 -1
  887. package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts +4 -4
  888. package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts.map +1 -1
  889. package/dist/lexicon/types/tools/ozone/setting/upsertOption.js +4 -0
  890. package/dist/lexicon/types/tools/ozone/setting/upsertOption.js.map +1 -1
  891. package/dist/lexicon/types/tools/ozone/signature/defs.d.ts +3 -3
  892. package/dist/lexicon/types/tools/ozone/signature/defs.d.ts.map +1 -1
  893. package/dist/lexicon/types/tools/ozone/signature/defs.js +5 -4
  894. package/dist/lexicon/types/tools/ozone/signature/defs.js.map +1 -1
  895. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.d.ts +1 -2
  896. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.d.ts.map +1 -1
  897. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.js +4 -0
  898. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.js.map +1 -1
  899. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.d.ts +5 -6
  900. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.d.ts.map +1 -1
  901. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js +5 -4
  902. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js.map +1 -1
  903. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.d.ts +1 -2
  904. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.d.ts.map +1 -1
  905. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.js +4 -0
  906. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.js.map +1 -1
  907. package/dist/lexicon/types/tools/ozone/team/addMember.d.ts +1 -2
  908. package/dist/lexicon/types/tools/ozone/team/addMember.d.ts.map +1 -1
  909. package/dist/lexicon/types/tools/ozone/team/addMember.js +4 -0
  910. package/dist/lexicon/types/tools/ozone/team/addMember.js.map +1 -1
  911. package/dist/lexicon/types/tools/ozone/team/defs.d.ts +4 -4
  912. package/dist/lexicon/types/tools/ozone/team/defs.d.ts.map +1 -1
  913. package/dist/lexicon/types/tools/ozone/team/defs.js +8 -7
  914. package/dist/lexicon/types/tools/ozone/team/defs.js.map +1 -1
  915. package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts +0 -1
  916. package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts.map +1 -1
  917. package/dist/lexicon/types/tools/ozone/team/deleteMember.js +4 -0
  918. package/dist/lexicon/types/tools/ozone/team/deleteMember.js.map +1 -1
  919. package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts +1 -2
  920. package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts.map +1 -1
  921. package/dist/lexicon/types/tools/ozone/team/listMembers.js +4 -0
  922. package/dist/lexicon/types/tools/ozone/team/listMembers.js.map +1 -1
  923. package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts +1 -2
  924. package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts.map +1 -1
  925. package/dist/lexicon/types/tools/ozone/team/updateMember.js +4 -0
  926. package/dist/lexicon/types/tools/ozone/team/updateMember.js.map +1 -1
  927. package/dist/lexicon/util.d.ts +33 -2
  928. package/dist/lexicon/util.d.ts.map +1 -1
  929. package/dist/lexicon/util.js +31 -7
  930. package/dist/lexicon/util.js.map +1 -1
  931. package/dist/pipethrough.js.map +1 -1
  932. package/dist/read-after-write/viewer.d.ts +13 -84
  933. package/dist/read-after-write/viewer.d.ts.map +1 -1
  934. package/dist/read-after-write/viewer.js +5 -1
  935. package/dist/read-after-write/viewer.js.map +1 -1
  936. package/dist/repo/prepare.d.ts.map +1 -1
  937. package/dist/repo/prepare.js +26 -19
  938. package/dist/repo/prepare.js.map +1 -1
  939. package/jest.config.js +1 -0
  940. package/package.json +12 -12
  941. package/src/actor-store/record/reader.ts +2 -2
  942. package/src/api/app/bsky/feed/getActorLikes.ts +1 -1
  943. package/src/api/app/bsky/feed/getPostThread.ts +6 -5
  944. package/src/api/com/atproto/identity/signPlcOperation.ts +10 -2
  945. package/src/api/com/atproto/identity/updateHandle.ts +1 -0
  946. package/src/api/com/atproto/repo/putRecord.ts +1 -1
  947. package/src/lexicon/index.ts +186 -186
  948. package/src/lexicon/lexicons.ts +38 -3
  949. package/src/lexicon/types/app/bsky/actor/defs.ts +211 -257
  950. package/src/lexicon/types/app/bsky/actor/getPreferences.ts +7 -4
  951. package/src/lexicon/types/app/bsky/actor/getProfile.ts +7 -3
  952. package/src/lexicon/types/app/bsky/actor/getProfiles.ts +7 -4
  953. package/src/lexicon/types/app/bsky/actor/getSuggestions.ts +7 -4
  954. package/src/lexicon/types/app/bsky/actor/profile.ts +16 -16
  955. package/src/lexicon/types/app/bsky/actor/putPreferences.ts +7 -4
  956. package/src/lexicon/types/app/bsky/actor/searchActors.ts +7 -4
  957. package/src/lexicon/types/app/bsky/actor/searchActorsTypeahead.ts +7 -4
  958. package/src/lexicon/types/app/bsky/embed/defs.ts +13 -11
  959. package/src/lexicon/types/app/bsky/embed/external.ts +34 -39
  960. package/src/lexicon/types/app/bsky/embed/images.ts +35 -36
  961. package/src/lexicon/types/app/bsky/embed/record.ts +74 -81
  962. package/src/lexicon/types/app/bsky/embed/recordWithMedia.ts +32 -33
  963. package/src/lexicon/types/app/bsky/embed/video.ts +28 -29
  964. package/src/lexicon/types/app/bsky/feed/defs.ts +183 -212
  965. package/src/lexicon/types/app/bsky/feed/describeFeedGenerator.ts +20 -21
  966. package/src/lexicon/types/app/bsky/feed/generator.ts +16 -16
  967. package/src/lexicon/types/app/bsky/feed/getActorFeeds.ts +7 -4
  968. package/src/lexicon/types/app/bsky/feed/getActorLikes.ts +7 -4
  969. package/src/lexicon/types/app/bsky/feed/getAuthorFeed.ts +7 -4
  970. package/src/lexicon/types/app/bsky/feed/getFeed.ts +7 -4
  971. package/src/lexicon/types/app/bsky/feed/getFeedGenerator.ts +7 -4
  972. package/src/lexicon/types/app/bsky/feed/getFeedGenerators.ts +7 -4
  973. package/src/lexicon/types/app/bsky/feed/getFeedSkeleton.ts +7 -4
  974. package/src/lexicon/types/app/bsky/feed/getLikes.ts +14 -11
  975. package/src/lexicon/types/app/bsky/feed/getListFeed.ts +7 -4
  976. package/src/lexicon/types/app/bsky/feed/getPostThread.ts +11 -8
  977. package/src/lexicon/types/app/bsky/feed/getPosts.ts +7 -4
  978. package/src/lexicon/types/app/bsky/feed/getQuotes.ts +7 -4
  979. package/src/lexicon/types/app/bsky/feed/getRepostedBy.ts +7 -4
  980. package/src/lexicon/types/app/bsky/feed/getSuggestedFeeds.ts +7 -4
  981. package/src/lexicon/types/app/bsky/feed/getTimeline.ts +7 -4
  982. package/src/lexicon/types/app/bsky/feed/like.ts +14 -11
  983. package/src/lexicon/types/app/bsky/feed/post.ts +49 -50
  984. package/src/lexicon/types/app/bsky/feed/postgate.ts +21 -21
  985. package/src/lexicon/types/app/bsky/feed/repost.ts +14 -12
  986. package/src/lexicon/types/app/bsky/feed/searchPosts.ts +7 -4
  987. package/src/lexicon/types/app/bsky/feed/sendInteractions.ts +8 -7
  988. package/src/lexicon/types/app/bsky/feed/threadgate.ts +46 -52
  989. package/src/lexicon/types/app/bsky/graph/block.ts +13 -11
  990. package/src/lexicon/types/app/bsky/graph/defs.ts +71 -83
  991. package/src/lexicon/types/app/bsky/graph/follow.ts +13 -11
  992. package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +7 -4
  993. package/src/lexicon/types/app/bsky/graph/getBlocks.ts +7 -4
  994. package/src/lexicon/types/app/bsky/graph/getFollowers.ts +7 -4
  995. package/src/lexicon/types/app/bsky/graph/getFollows.ts +7 -4
  996. package/src/lexicon/types/app/bsky/graph/getKnownFollowers.ts +7 -4
  997. package/src/lexicon/types/app/bsky/graph/getList.ts +7 -4
  998. package/src/lexicon/types/app/bsky/graph/getListBlocks.ts +7 -4
  999. package/src/lexicon/types/app/bsky/graph/getListMutes.ts +7 -4
  1000. package/src/lexicon/types/app/bsky/graph/getLists.ts +7 -4
  1001. package/src/lexicon/types/app/bsky/graph/getMutes.ts +7 -4
  1002. package/src/lexicon/types/app/bsky/graph/getRelationships.ts +10 -7
  1003. package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +7 -4
  1004. package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +7 -4
  1005. package/src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts +7 -4
  1006. package/src/lexicon/types/app/bsky/graph/list.ts +17 -17
  1007. package/src/lexicon/types/app/bsky/graph/listblock.ts +13 -11
  1008. package/src/lexicon/types/app/bsky/graph/listitem.ts +13 -11
  1009. package/src/lexicon/types/app/bsky/graph/muteActor.ts +6 -3
  1010. package/src/lexicon/types/app/bsky/graph/muteActorList.ts +6 -3
  1011. package/src/lexicon/types/app/bsky/graph/muteThread.ts +6 -3
  1012. package/src/lexicon/types/app/bsky/graph/searchStarterPacks.ts +7 -4
  1013. package/src/lexicon/types/app/bsky/graph/starterpack.ts +21 -21
  1014. package/src/lexicon/types/app/bsky/graph/unmuteActor.ts +6 -3
  1015. package/src/lexicon/types/app/bsky/graph/unmuteActorList.ts +6 -3
  1016. package/src/lexicon/types/app/bsky/graph/unmuteThread.ts +6 -3
  1017. package/src/lexicon/types/app/bsky/labeler/defs.ts +36 -40
  1018. package/src/lexicon/types/app/bsky/labeler/getServices.ts +10 -7
  1019. package/src/lexicon/types/app/bsky/labeler/service.ts +16 -16
  1020. package/src/lexicon/types/app/bsky/notification/getUnreadCount.ts +6 -3
  1021. package/src/lexicon/types/app/bsky/notification/listNotifications.ts +16 -18
  1022. package/src/lexicon/types/app/bsky/notification/putPreferences.ts +6 -3
  1023. package/src/lexicon/types/app/bsky/notification/registerPush.ts +6 -3
  1024. package/src/lexicon/types/app/bsky/notification/updateSeen.ts +6 -3
  1025. package/src/lexicon/types/app/bsky/richtext/facet.ts +42 -47
  1026. package/src/lexicon/types/app/bsky/unspecced/defs.ts +36 -43
  1027. package/src/lexicon/types/app/bsky/unspecced/getConfig.ts +6 -3
  1028. package/src/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.ts +7 -4
  1029. package/src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +7 -4
  1030. package/src/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.ts +13 -15
  1031. package/src/lexicon/types/app/bsky/unspecced/getTrendingTopics.ts +7 -4
  1032. package/src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts +7 -4
  1033. package/src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts +7 -4
  1034. package/src/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +7 -4
  1035. package/src/lexicon/types/app/bsky/video/defs.ts +13 -11
  1036. package/src/lexicon/types/app/bsky/video/getJobStatus.ts +7 -4
  1037. package/src/lexicon/types/app/bsky/video/getUploadLimits.ts +6 -3
  1038. package/src/lexicon/types/app/bsky/video/uploadVideo.ts +8 -5
  1039. package/src/lexicon/types/chat/bsky/actor/declaration.ts +13 -11
  1040. package/src/lexicon/types/chat/bsky/actor/defs.ts +15 -13
  1041. package/src/lexicon/types/chat/bsky/actor/deleteAccount.ts +7 -5
  1042. package/src/lexicon/types/chat/bsky/actor/exportAccountData.ts +7 -3
  1043. package/src/lexicon/types/chat/bsky/convo/defs.ts +86 -108
  1044. package/src/lexicon/types/chat/bsky/convo/deleteMessageForSelf.ts +7 -4
  1045. package/src/lexicon/types/chat/bsky/convo/getConvo.ts +7 -4
  1046. package/src/lexicon/types/chat/bsky/convo/getConvoForMembers.ts +7 -4
  1047. package/src/lexicon/types/chat/bsky/convo/getLog.ts +12 -9
  1048. package/src/lexicon/types/chat/bsky/convo/getMessages.ts +10 -7
  1049. package/src/lexicon/types/chat/bsky/convo/leaveConvo.ts +6 -4
  1050. package/src/lexicon/types/chat/bsky/convo/listConvos.ts +7 -4
  1051. package/src/lexicon/types/chat/bsky/convo/muteConvo.ts +7 -5
  1052. package/src/lexicon/types/chat/bsky/convo/sendMessage.ts +7 -4
  1053. package/src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts +14 -14
  1054. package/src/lexicon/types/chat/bsky/convo/unmuteConvo.ts +7 -5
  1055. package/src/lexicon/types/chat/bsky/convo/updateRead.ts +7 -5
  1056. package/src/lexicon/types/chat/bsky/moderation/getActorMetadata.ts +13 -12
  1057. package/src/lexicon/types/chat/bsky/moderation/getMessageContext.ts +10 -7
  1058. package/src/lexicon/types/chat/bsky/moderation/updateActorAccess.ts +6 -3
  1059. package/src/lexicon/types/com/atproto/admin/defs.ts +43 -49
  1060. package/src/lexicon/types/com/atproto/admin/deleteAccount.ts +6 -3
  1061. package/src/lexicon/types/com/atproto/admin/disableAccountInvites.ts +6 -3
  1062. package/src/lexicon/types/com/atproto/admin/disableInviteCodes.ts +6 -3
  1063. package/src/lexicon/types/com/atproto/admin/enableAccountInvites.ts +6 -3
  1064. package/src/lexicon/types/com/atproto/admin/getAccountInfo.ts +7 -3
  1065. package/src/lexicon/types/com/atproto/admin/getAccountInfos.ts +7 -4
  1066. package/src/lexicon/types/com/atproto/admin/getInviteCodes.ts +7 -4
  1067. package/src/lexicon/types/com/atproto/admin/getSubjectStatus.ts +12 -9
  1068. package/src/lexicon/types/com/atproto/admin/searchAccounts.ts +7 -4
  1069. package/src/lexicon/types/com/atproto/admin/sendEmail.ts +6 -4
  1070. package/src/lexicon/types/com/atproto/admin/updateAccountEmail.ts +6 -3
  1071. package/src/lexicon/types/com/atproto/admin/updateAccountHandle.ts +6 -3
  1072. package/src/lexicon/types/com/atproto/admin/updateAccountPassword.ts +6 -3
  1073. package/src/lexicon/types/com/atproto/admin/updateSubjectStatus.ts +16 -14
  1074. package/src/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.ts +8 -5
  1075. package/src/lexicon/types/com/atproto/identity/requestPlcOperationSignature.ts +6 -2
  1076. package/src/lexicon/types/com/atproto/identity/resolveHandle.ts +6 -3
  1077. package/src/lexicon/types/com/atproto/identity/signPlcOperation.ts +9 -7
  1078. package/src/lexicon/types/com/atproto/identity/submitPlcOperation.ts +7 -4
  1079. package/src/lexicon/types/com/atproto/identity/updateHandle.ts +6 -3
  1080. package/src/lexicon/types/com/atproto/label/defs.ts +43 -52
  1081. package/src/lexicon/types/com/atproto/label/queryLabels.ts +7 -4
  1082. package/src/lexicon/types/com/atproto/label/subscribeLabels.ts +23 -26
  1083. package/src/lexicon/types/com/atproto/lexicon/schema.ts +13 -11
  1084. package/src/lexicon/types/com/atproto/moderation/createReport.ts +15 -13
  1085. package/src/lexicon/types/com/atproto/moderation/defs.ts +13 -9
  1086. package/src/lexicon/types/com/atproto/repo/applyWrites.ts +57 -63
  1087. package/src/lexicon/types/com/atproto/repo/createRecord.ts +8 -6
  1088. package/src/lexicon/types/com/atproto/repo/defs.ts +13 -11
  1089. package/src/lexicon/types/com/atproto/repo/deleteRecord.ts +7 -5
  1090. package/src/lexicon/types/com/atproto/repo/describeRepo.ts +7 -4
  1091. package/src/lexicon/types/com/atproto/repo/getRecord.ts +7 -4
  1092. package/src/lexicon/types/com/atproto/repo/importRepo.ts +7 -3
  1093. package/src/lexicon/types/com/atproto/repo/listMissingBlobs.ts +13 -12
  1094. package/src/lexicon/types/com/atproto/repo/listRecords.ts +14 -13
  1095. package/src/lexicon/types/com/atproto/repo/putRecord.ts +8 -6
  1096. package/src/lexicon/types/com/atproto/repo/strongRef.ts +13 -12
  1097. package/src/lexicon/types/com/atproto/repo/uploadBlob.ts +7 -4
  1098. package/src/lexicon/types/com/atproto/server/activateAccount.ts +6 -2
  1099. package/src/lexicon/types/com/atproto/server/checkAccountStatus.ts +6 -3
  1100. package/src/lexicon/types/com/atproto/server/confirmEmail.ts +6 -3
  1101. package/src/lexicon/types/com/atproto/server/createAccount.ts +8 -6
  1102. package/src/lexicon/types/com/atproto/server/createAppPassword.ts +13 -15
  1103. package/src/lexicon/types/com/atproto/server/createInviteCode.ts +6 -4
  1104. package/src/lexicon/types/com/atproto/server/createInviteCodes.ts +13 -16
  1105. package/src/lexicon/types/com/atproto/server/createSession.ts +7 -5
  1106. package/src/lexicon/types/com/atproto/server/deactivateAccount.ts +6 -3
  1107. package/src/lexicon/types/com/atproto/server/defs.ts +20 -20
  1108. package/src/lexicon/types/com/atproto/server/deleteAccount.ts +6 -3
  1109. package/src/lexicon/types/com/atproto/server/deleteSession.ts +6 -2
  1110. package/src/lexicon/types/com/atproto/server/describeServer.ts +20 -21
  1111. package/src/lexicon/types/com/atproto/server/getAccountInviteCodes.ts +7 -4
  1112. package/src/lexicon/types/com/atproto/server/getServiceAuth.ts +6 -3
  1113. package/src/lexicon/types/com/atproto/server/getSession.ts +7 -4
  1114. package/src/lexicon/types/com/atproto/server/listAppPasswords.ts +13 -12
  1115. package/src/lexicon/types/com/atproto/server/refreshSession.ts +7 -4
  1116. package/src/lexicon/types/com/atproto/server/requestAccountDelete.ts +6 -2
  1117. package/src/lexicon/types/com/atproto/server/requestEmailConfirmation.ts +6 -2
  1118. package/src/lexicon/types/com/atproto/server/requestEmailUpdate.ts +6 -3
  1119. package/src/lexicon/types/com/atproto/server/requestPasswordReset.ts +6 -3
  1120. package/src/lexicon/types/com/atproto/server/reserveSigningKey.ts +6 -4
  1121. package/src/lexicon/types/com/atproto/server/resetPassword.ts +6 -3
  1122. package/src/lexicon/types/com/atproto/server/revokeAppPassword.ts +6 -3
  1123. package/src/lexicon/types/com/atproto/server/updateEmail.ts +6 -3
  1124. package/src/lexicon/types/com/atproto/sync/getBlob.ts +7 -3
  1125. package/src/lexicon/types/com/atproto/sync/getBlocks.ts +7 -3
  1126. package/src/lexicon/types/com/atproto/sync/getCheckout.ts +7 -3
  1127. package/src/lexicon/types/com/atproto/sync/getHead.ts +6 -3
  1128. package/src/lexicon/types/com/atproto/sync/getLatestCommit.ts +6 -3
  1129. package/src/lexicon/types/com/atproto/sync/getRecord.ts +7 -3
  1130. package/src/lexicon/types/com/atproto/sync/getRepo.ts +7 -3
  1131. package/src/lexicon/types/com/atproto/sync/getRepoStatus.ts +6 -3
  1132. package/src/lexicon/types/com/atproto/sync/listBlobs.ts +6 -3
  1133. package/src/lexicon/types/com/atproto/sync/listRepos.ts +13 -12
  1134. package/src/lexicon/types/com/atproto/sync/notifyOfUpdate.ts +6 -3
  1135. package/src/lexicon/types/com/atproto/sync/requestCrawl.ts +6 -3
  1136. package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +71 -83
  1137. package/src/lexicon/types/com/atproto/temp/addReservedHandle.ts +7 -6
  1138. package/src/lexicon/types/com/atproto/temp/checkSignupQueue.ts +6 -3
  1139. package/src/lexicon/types/com/atproto/temp/fetchLabels.ts +7 -4
  1140. package/src/lexicon/types/com/atproto/temp/requestPhoneVerification.ts +6 -3
  1141. package/src/lexicon/types/tools/ozone/communication/createTemplate.ts +7 -4
  1142. package/src/lexicon/types/tools/ozone/communication/defs.ts +13 -11
  1143. package/src/lexicon/types/tools/ozone/communication/deleteTemplate.ts +6 -3
  1144. package/src/lexicon/types/tools/ozone/communication/listTemplates.ts +7 -4
  1145. package/src/lexicon/types/tools/ozone/communication/updateTemplate.ts +7 -4
  1146. package/src/lexicon/types/tools/ozone/moderation/defs.ts +335 -430
  1147. package/src/lexicon/types/tools/ozone/moderation/emitEvent.ts +31 -28
  1148. package/src/lexicon/types/tools/ozone/moderation/getEvent.ts +7 -3
  1149. package/src/lexicon/types/tools/ozone/moderation/getRecord.ts +7 -3
  1150. package/src/lexicon/types/tools/ozone/moderation/getRecords.ts +10 -7
  1151. package/src/lexicon/types/tools/ozone/moderation/getRepo.ts +7 -3
  1152. package/src/lexicon/types/tools/ozone/moderation/getRepos.ts +10 -7
  1153. package/src/lexicon/types/tools/ozone/moderation/queryEvents.ts +7 -4
  1154. package/src/lexicon/types/tools/ozone/moderation/queryStatuses.ts +7 -4
  1155. package/src/lexicon/types/tools/ozone/moderation/searchRepos.ts +7 -4
  1156. package/src/lexicon/types/tools/ozone/server/getConfig.ts +20 -21
  1157. package/src/lexicon/types/tools/ozone/set/addValues.ts +6 -3
  1158. package/src/lexicon/types/tools/ozone/set/defs.ts +20 -18
  1159. package/src/lexicon/types/tools/ozone/set/deleteSet.ts +7 -6
  1160. package/src/lexicon/types/tools/ozone/set/deleteValues.ts +6 -3
  1161. package/src/lexicon/types/tools/ozone/set/getValues.ts +7 -4
  1162. package/src/lexicon/types/tools/ozone/set/querySets.ts +7 -4
  1163. package/src/lexicon/types/tools/ozone/set/upsertSet.ts +7 -3
  1164. package/src/lexicon/types/tools/ozone/setting/defs.ts +14 -12
  1165. package/src/lexicon/types/tools/ozone/setting/listOptions.ts +7 -4
  1166. package/src/lexicon/types/tools/ozone/setting/removeOptions.ts +7 -6
  1167. package/src/lexicon/types/tools/ozone/setting/upsertOption.ts +8 -6
  1168. package/src/lexicon/types/tools/ozone/signature/defs.ts +13 -11
  1169. package/src/lexicon/types/tools/ozone/signature/findCorrelation.ts +7 -4
  1170. package/src/lexicon/types/tools/ozone/signature/findRelatedAccounts.ts +15 -17
  1171. package/src/lexicon/types/tools/ozone/signature/searchAccounts.ts +7 -4
  1172. package/src/lexicon/types/tools/ozone/team/addMember.ts +7 -4
  1173. package/src/lexicon/types/tools/ozone/team/defs.ts +17 -15
  1174. package/src/lexicon/types/tools/ozone/team/deleteMember.ts +6 -3
  1175. package/src/lexicon/types/tools/ozone/team/listMembers.ts +7 -4
  1176. package/src/lexicon/types/tools/ozone/team/updateMember.ts +7 -4
  1177. package/src/lexicon/util.ts +76 -7
  1178. package/src/pipethrough.ts +2 -2
  1179. package/src/read-after-write/viewer.ts +25 -12
  1180. package/src/repo/prepare.ts +27 -19
  1181. package/tests/_util.ts +7 -4
  1182. package/tests/app-passwords.test.ts +4 -4
  1183. package/tests/create-post.test.ts +3 -2
  1184. package/tests/crud.test.ts +3 -6
  1185. package/tests/file-uploads.test.ts +2 -0
  1186. package/tests/moderation.test.ts +17 -4
  1187. package/tests/moderator-auth.test.ts +5 -2
  1188. package/tests/preferences.test.ts +2 -0
  1189. package/tests/proxied/__snapshots__/admin.test.ts.snap +1 -1
  1190. package/tests/proxied/admin.test.ts +6 -0
  1191. package/tests/proxied/read-after-write.test.ts +30 -15
  1192. package/tests/seeds/basic.ts +1 -1
@@ -2,121 +2,119 @@
2
2
  * GENERATED CODE - DO NOT MODIFY
3
3
  */
4
4
  import { ValidationResult, BlobRef } from '@atproto/lexicon'
5
- import { lexicons } from '../../../../lexicons'
6
- import { isObj, hasProp } from '../../../../util'
7
5
  import { CID } from 'multiformats/cid'
8
- import * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs'
9
- import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'
10
- import * as ChatBskyConvoDefs from '../../../chat/bsky/convo/defs'
11
- import * as ComAtprotoModerationDefs from '../../../com/atproto/moderation/defs'
12
- import * as ComAtprotoServerDefs from '../../../com/atproto/server/defs'
13
- import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs'
6
+ import { validate as _validate } from '../../../../lexicons'
7
+ import { $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
8
+ import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'
9
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'
10
+ import type * as ChatBskyConvoDefs from '../../../chat/bsky/convo/defs.js'
11
+ import type * as ComAtprotoModerationDefs from '../../../com/atproto/moderation/defs.js'
12
+ import type * as ComAtprotoServerDefs from '../../../com/atproto/server/defs.js'
13
+ import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'
14
+
15
+ const is$typed = _is$typed,
16
+ validate = _validate
17
+ const id = 'tools.ozone.moderation.defs'
14
18
 
15
19
  export interface ModEventView {
20
+ $type?: 'tools.ozone.moderation.defs#modEventView'
16
21
  id: number
17
22
  event:
18
- | ModEventTakedown
19
- | ModEventReverseTakedown
20
- | ModEventComment
21
- | ModEventReport
22
- | ModEventLabel
23
- | ModEventAcknowledge
24
- | ModEventEscalate
25
- | ModEventMute
26
- | ModEventUnmute
27
- | ModEventMuteReporter
28
- | ModEventUnmuteReporter
29
- | ModEventEmail
30
- | ModEventResolveAppeal
31
- | ModEventDivert
32
- | ModEventTag
33
- | AccountEvent
34
- | IdentityEvent
35
- | RecordEvent
36
- | ModEventPriorityScore
37
- | { $type: string; [k: string]: unknown }
23
+ | $Typed<ModEventTakedown>
24
+ | $Typed<ModEventReverseTakedown>
25
+ | $Typed<ModEventComment>
26
+ | $Typed<ModEventReport>
27
+ | $Typed<ModEventLabel>
28
+ | $Typed<ModEventAcknowledge>
29
+ | $Typed<ModEventEscalate>
30
+ | $Typed<ModEventMute>
31
+ | $Typed<ModEventUnmute>
32
+ | $Typed<ModEventMuteReporter>
33
+ | $Typed<ModEventUnmuteReporter>
34
+ | $Typed<ModEventEmail>
35
+ | $Typed<ModEventResolveAppeal>
36
+ | $Typed<ModEventDivert>
37
+ | $Typed<ModEventTag>
38
+ | $Typed<AccountEvent>
39
+ | $Typed<IdentityEvent>
40
+ | $Typed<RecordEvent>
41
+ | $Typed<ModEventPriorityScore>
42
+ | { $type: string }
38
43
  subject:
39
- | ComAtprotoAdminDefs.RepoRef
40
- | ComAtprotoRepoStrongRef.Main
41
- | ChatBskyConvoDefs.MessageRef
42
- | { $type: string; [k: string]: unknown }
44
+ | $Typed<ComAtprotoAdminDefs.RepoRef>
45
+ | $Typed<ComAtprotoRepoStrongRef.Main>
46
+ | $Typed<ChatBskyConvoDefs.MessageRef>
47
+ | { $type: string }
43
48
  subjectBlobCids: string[]
44
49
  createdBy: string
45
50
  createdAt: string
46
51
  creatorHandle?: string
47
52
  subjectHandle?: string
48
- [k: string]: unknown
49
53
  }
50
54
 
51
- export function isModEventView(v: unknown): v is ModEventView {
52
- return (
53
- isObj(v) &&
54
- hasProp(v, '$type') &&
55
- v.$type === 'tools.ozone.moderation.defs#modEventView'
56
- )
55
+ const hashModEventView = 'modEventView'
56
+
57
+ export function isModEventView<V>(v: V) {
58
+ return is$typed(v, id, hashModEventView)
57
59
  }
58
60
 
59
- export function validateModEventView(v: unknown): ValidationResult {
60
- return lexicons.validate('tools.ozone.moderation.defs#modEventView', v)
61
+ export function validateModEventView<V>(v: V) {
62
+ return validate<ModEventView & V>(v, id, hashModEventView)
61
63
  }
62
64
 
63
65
  export interface ModEventViewDetail {
66
+ $type?: 'tools.ozone.moderation.defs#modEventViewDetail'
64
67
  id: number
65
68
  event:
66
- | ModEventTakedown
67
- | ModEventReverseTakedown
68
- | ModEventComment
69
- | ModEventReport
70
- | ModEventLabel
71
- | ModEventAcknowledge
72
- | ModEventEscalate
73
- | ModEventMute
74
- | ModEventUnmute
75
- | ModEventMuteReporter
76
- | ModEventUnmuteReporter
77
- | ModEventEmail
78
- | ModEventResolveAppeal
79
- | ModEventDivert
80
- | ModEventTag
81
- | AccountEvent
82
- | IdentityEvent
83
- | RecordEvent
84
- | ModEventPriorityScore
85
- | { $type: string; [k: string]: unknown }
69
+ | $Typed<ModEventTakedown>
70
+ | $Typed<ModEventReverseTakedown>
71
+ | $Typed<ModEventComment>
72
+ | $Typed<ModEventReport>
73
+ | $Typed<ModEventLabel>
74
+ | $Typed<ModEventAcknowledge>
75
+ | $Typed<ModEventEscalate>
76
+ | $Typed<ModEventMute>
77
+ | $Typed<ModEventUnmute>
78
+ | $Typed<ModEventMuteReporter>
79
+ | $Typed<ModEventUnmuteReporter>
80
+ | $Typed<ModEventEmail>
81
+ | $Typed<ModEventResolveAppeal>
82
+ | $Typed<ModEventDivert>
83
+ | $Typed<ModEventTag>
84
+ | $Typed<AccountEvent>
85
+ | $Typed<IdentityEvent>
86
+ | $Typed<RecordEvent>
87
+ | $Typed<ModEventPriorityScore>
88
+ | { $type: string }
86
89
  subject:
87
- | RepoView
88
- | RepoViewNotFound
89
- | RecordView
90
- | RecordViewNotFound
91
- | { $type: string; [k: string]: unknown }
90
+ | $Typed<RepoView>
91
+ | $Typed<RepoViewNotFound>
92
+ | $Typed<RecordView>
93
+ | $Typed<RecordViewNotFound>
94
+ | { $type: string }
92
95
  subjectBlobs: BlobView[]
93
96
  createdBy: string
94
97
  createdAt: string
95
- [k: string]: unknown
96
98
  }
97
99
 
98
- export function isModEventViewDetail(v: unknown): v is ModEventViewDetail {
99
- return (
100
- isObj(v) &&
101
- hasProp(v, '$type') &&
102
- v.$type === 'tools.ozone.moderation.defs#modEventViewDetail'
103
- )
100
+ const hashModEventViewDetail = 'modEventViewDetail'
101
+
102
+ export function isModEventViewDetail<V>(v: V) {
103
+ return is$typed(v, id, hashModEventViewDetail)
104
104
  }
105
105
 
106
- export function validateModEventViewDetail(v: unknown): ValidationResult {
107
- return lexicons.validate('tools.ozone.moderation.defs#modEventViewDetail', v)
106
+ export function validateModEventViewDetail<V>(v: V) {
107
+ return validate<ModEventViewDetail & V>(v, id, hashModEventViewDetail)
108
108
  }
109
109
 
110
110
  export interface SubjectStatusView {
111
+ $type?: 'tools.ozone.moderation.defs#subjectStatusView'
111
112
  id: number
112
113
  subject:
113
- | ComAtprotoAdminDefs.RepoRef
114
- | ComAtprotoRepoStrongRef.Main
115
- | { $type: string; [k: string]: unknown }
116
- hosting?:
117
- | AccountHosting
118
- | RecordHosting
119
- | { $type: string; [k: string]: unknown }
114
+ | $Typed<ComAtprotoAdminDefs.RepoRef>
115
+ | $Typed<ComAtprotoRepoStrongRef.Main>
116
+ | { $type: string }
117
+ hosting?: $Typed<AccountHosting> | $Typed<RecordHosting> | { $type: string }
120
118
  subjectBlobCids?: string[]
121
119
  subjectRepoHandle?: string
122
120
  /** Timestamp referencing when the last update was made to the moderation status of the subject */
@@ -142,23 +140,21 @@ export interface SubjectStatusView {
142
140
  tags?: string[]
143
141
  accountStats?: AccountStats
144
142
  recordsStats?: RecordsStats
145
- [k: string]: unknown
146
143
  }
147
144
 
148
- export function isSubjectStatusView(v: unknown): v is SubjectStatusView {
149
- return (
150
- isObj(v) &&
151
- hasProp(v, '$type') &&
152
- v.$type === 'tools.ozone.moderation.defs#subjectStatusView'
153
- )
145
+ const hashSubjectStatusView = 'subjectStatusView'
146
+
147
+ export function isSubjectStatusView<V>(v: V) {
148
+ return is$typed(v, id, hashSubjectStatusView)
154
149
  }
155
150
 
156
- export function validateSubjectStatusView(v: unknown): ValidationResult {
157
- return lexicons.validate('tools.ozone.moderation.defs#subjectStatusView', v)
151
+ export function validateSubjectStatusView<V>(v: V) {
152
+ return validate<SubjectStatusView & V>(v, id, hashSubjectStatusView)
158
153
  }
159
154
 
160
155
  /** Statistics about a particular account subject */
161
156
  export interface AccountStats {
157
+ $type?: 'tools.ozone.moderation.defs#accountStats'
162
158
  /** Total number of reports on the account */
163
159
  reportCount?: number
164
160
  /** Total number of appeals against a moderation action on the account */
@@ -169,23 +165,21 @@ export interface AccountStats {
169
165
  escalateCount?: number
170
166
  /** Number of times the account was taken down */
171
167
  takedownCount?: number
172
- [k: string]: unknown
173
168
  }
174
169
 
175
- export function isAccountStats(v: unknown): v is AccountStats {
176
- return (
177
- isObj(v) &&
178
- hasProp(v, '$type') &&
179
- v.$type === 'tools.ozone.moderation.defs#accountStats'
180
- )
170
+ const hashAccountStats = 'accountStats'
171
+
172
+ export function isAccountStats<V>(v: V) {
173
+ return is$typed(v, id, hashAccountStats)
181
174
  }
182
175
 
183
- export function validateAccountStats(v: unknown): ValidationResult {
184
- return lexicons.validate('tools.ozone.moderation.defs#accountStats', v)
176
+ export function validateAccountStats<V>(v: V) {
177
+ return validate<AccountStats & V>(v, id, hashAccountStats)
185
178
  }
186
179
 
187
180
  /** Statistics about a set of record subject items */
188
181
  export interface RecordsStats {
182
+ $type?: 'tools.ozone.moderation.defs#recordsStats'
189
183
  /** Cumulative sum of the number of reports on the items in the set */
190
184
  totalReports?: number
191
185
  /** Number of items that were reported at least once */
@@ -202,19 +196,16 @@ export interface RecordsStats {
202
196
  processedCount?: number
203
197
  /** Number of item currently taken down */
204
198
  takendownCount?: number
205
- [k: string]: unknown
206
199
  }
207
200
 
208
- export function isRecordsStats(v: unknown): v is RecordsStats {
209
- return (
210
- isObj(v) &&
211
- hasProp(v, '$type') &&
212
- v.$type === 'tools.ozone.moderation.defs#recordsStats'
213
- )
201
+ const hashRecordsStats = 'recordsStats'
202
+
203
+ export function isRecordsStats<V>(v: V) {
204
+ return is$typed(v, id, hashRecordsStats)
214
205
  }
215
206
 
216
- export function validateRecordsStats(v: unknown): ValidationResult {
217
- return lexicons.validate('tools.ozone.moderation.defs#recordsStats', v)
207
+ export function validateRecordsStats<V>(v: V) {
208
+ return validate<RecordsStats & V>(v, id, hashRecordsStats)
218
209
  }
219
210
 
220
211
  export type SubjectReviewState =
@@ -225,16 +216,17 @@ export type SubjectReviewState =
225
216
  | (string & {})
226
217
 
227
218
  /** Moderator review status of a subject: Open. Indicates that the subject needs to be reviewed by a moderator */
228
- export const REVIEWOPEN = 'tools.ozone.moderation.defs#reviewOpen'
219
+ export const REVIEWOPEN = `${id}#reviewOpen`
229
220
  /** Moderator review status of a subject: Escalated. Indicates that the subject was escalated for review by a moderator */
230
- export const REVIEWESCALATED = 'tools.ozone.moderation.defs#reviewEscalated'
221
+ export const REVIEWESCALATED = `${id}#reviewEscalated`
231
222
  /** Moderator review status of a subject: Closed. Indicates that the subject was already reviewed and resolved by a moderator */
232
- export const REVIEWCLOSED = 'tools.ozone.moderation.defs#reviewClosed'
223
+ export const REVIEWCLOSED = `${id}#reviewClosed`
233
224
  /** Moderator review status of a subject: Unnecessary. Indicates that the subject does not need a review at the moment but there is probably some moderation related metadata available for it */
234
- export const REVIEWNONE = 'tools.ozone.moderation.defs#reviewNone'
225
+ export const REVIEWNONE = `${id}#reviewNone`
235
226
 
236
227
  /** Take down a subject permanently or temporarily */
237
228
  export interface ModEventTakedown {
229
+ $type?: 'tools.ozone.moderation.defs#modEventTakedown'
238
230
  comment?: string
239
231
  /** Indicates how long the takedown should be in effect before automatically expiring. */
240
232
  durationInHours?: number
@@ -242,344 +234,293 @@ export interface ModEventTakedown {
242
234
  acknowledgeAccountSubjects?: boolean
243
235
  /** Names/Keywords of the policies that drove the decision. */
244
236
  policies?: string[]
245
- [k: string]: unknown
246
237
  }
247
238
 
248
- export function isModEventTakedown(v: unknown): v is ModEventTakedown {
249
- return (
250
- isObj(v) &&
251
- hasProp(v, '$type') &&
252
- v.$type === 'tools.ozone.moderation.defs#modEventTakedown'
253
- )
239
+ const hashModEventTakedown = 'modEventTakedown'
240
+
241
+ export function isModEventTakedown<V>(v: V) {
242
+ return is$typed(v, id, hashModEventTakedown)
254
243
  }
255
244
 
256
- export function validateModEventTakedown(v: unknown): ValidationResult {
257
- return lexicons.validate('tools.ozone.moderation.defs#modEventTakedown', v)
245
+ export function validateModEventTakedown<V>(v: V) {
246
+ return validate<ModEventTakedown & V>(v, id, hashModEventTakedown)
258
247
  }
259
248
 
260
249
  /** Revert take down action on a subject */
261
250
  export interface ModEventReverseTakedown {
251
+ $type?: 'tools.ozone.moderation.defs#modEventReverseTakedown'
262
252
  /** Describe reasoning behind the reversal. */
263
253
  comment?: string
264
- [k: string]: unknown
265
254
  }
266
255
 
267
- export function isModEventReverseTakedown(
268
- v: unknown,
269
- ): v is ModEventReverseTakedown {
270
- return (
271
- isObj(v) &&
272
- hasProp(v, '$type') &&
273
- v.$type === 'tools.ozone.moderation.defs#modEventReverseTakedown'
274
- )
256
+ const hashModEventReverseTakedown = 'modEventReverseTakedown'
257
+
258
+ export function isModEventReverseTakedown<V>(v: V) {
259
+ return is$typed(v, id, hashModEventReverseTakedown)
275
260
  }
276
261
 
277
- export function validateModEventReverseTakedown(v: unknown): ValidationResult {
278
- return lexicons.validate(
279
- 'tools.ozone.moderation.defs#modEventReverseTakedown',
262
+ export function validateModEventReverseTakedown<V>(v: V) {
263
+ return validate<ModEventReverseTakedown & V>(
280
264
  v,
265
+ id,
266
+ hashModEventReverseTakedown,
281
267
  )
282
268
  }
283
269
 
284
270
  /** Resolve appeal on a subject */
285
271
  export interface ModEventResolveAppeal {
272
+ $type?: 'tools.ozone.moderation.defs#modEventResolveAppeal'
286
273
  /** Describe resolution. */
287
274
  comment?: string
288
- [k: string]: unknown
289
275
  }
290
276
 
291
- export function isModEventResolveAppeal(
292
- v: unknown,
293
- ): v is ModEventResolveAppeal {
294
- return (
295
- isObj(v) &&
296
- hasProp(v, '$type') &&
297
- v.$type === 'tools.ozone.moderation.defs#modEventResolveAppeal'
298
- )
277
+ const hashModEventResolveAppeal = 'modEventResolveAppeal'
278
+
279
+ export function isModEventResolveAppeal<V>(v: V) {
280
+ return is$typed(v, id, hashModEventResolveAppeal)
299
281
  }
300
282
 
301
- export function validateModEventResolveAppeal(v: unknown): ValidationResult {
302
- return lexicons.validate(
303
- 'tools.ozone.moderation.defs#modEventResolveAppeal',
304
- v,
305
- )
283
+ export function validateModEventResolveAppeal<V>(v: V) {
284
+ return validate<ModEventResolveAppeal & V>(v, id, hashModEventResolveAppeal)
306
285
  }
307
286
 
308
287
  /** Add a comment to a subject */
309
288
  export interface ModEventComment {
289
+ $type?: 'tools.ozone.moderation.defs#modEventComment'
310
290
  comment: string
311
291
  /** Make the comment persistent on the subject */
312
292
  sticky?: boolean
313
- [k: string]: unknown
314
293
  }
315
294
 
316
- export function isModEventComment(v: unknown): v is ModEventComment {
317
- return (
318
- isObj(v) &&
319
- hasProp(v, '$type') &&
320
- v.$type === 'tools.ozone.moderation.defs#modEventComment'
321
- )
295
+ const hashModEventComment = 'modEventComment'
296
+
297
+ export function isModEventComment<V>(v: V) {
298
+ return is$typed(v, id, hashModEventComment)
322
299
  }
323
300
 
324
- export function validateModEventComment(v: unknown): ValidationResult {
325
- return lexicons.validate('tools.ozone.moderation.defs#modEventComment', v)
301
+ export function validateModEventComment<V>(v: V) {
302
+ return validate<ModEventComment & V>(v, id, hashModEventComment)
326
303
  }
327
304
 
328
305
  /** Report a subject */
329
306
  export interface ModEventReport {
307
+ $type?: 'tools.ozone.moderation.defs#modEventReport'
330
308
  comment?: string
331
309
  /** Set to true if the reporter was muted from reporting at the time of the event. These reports won't impact the reviewState of the subject. */
332
310
  isReporterMuted?: boolean
333
311
  reportType: ComAtprotoModerationDefs.ReasonType
334
- [k: string]: unknown
335
312
  }
336
313
 
337
- export function isModEventReport(v: unknown): v is ModEventReport {
338
- return (
339
- isObj(v) &&
340
- hasProp(v, '$type') &&
341
- v.$type === 'tools.ozone.moderation.defs#modEventReport'
342
- )
314
+ const hashModEventReport = 'modEventReport'
315
+
316
+ export function isModEventReport<V>(v: V) {
317
+ return is$typed(v, id, hashModEventReport)
343
318
  }
344
319
 
345
- export function validateModEventReport(v: unknown): ValidationResult {
346
- return lexicons.validate('tools.ozone.moderation.defs#modEventReport', v)
320
+ export function validateModEventReport<V>(v: V) {
321
+ return validate<ModEventReport & V>(v, id, hashModEventReport)
347
322
  }
348
323
 
349
324
  /** Apply/Negate labels on a subject */
350
325
  export interface ModEventLabel {
326
+ $type?: 'tools.ozone.moderation.defs#modEventLabel'
351
327
  comment?: string
352
328
  createLabelVals: string[]
353
329
  negateLabelVals: string[]
354
330
  /** Indicates how long the label will remain on the subject. Only applies on labels that are being added. */
355
331
  durationInHours?: number
356
- [k: string]: unknown
357
332
  }
358
333
 
359
- export function isModEventLabel(v: unknown): v is ModEventLabel {
360
- return (
361
- isObj(v) &&
362
- hasProp(v, '$type') &&
363
- v.$type === 'tools.ozone.moderation.defs#modEventLabel'
364
- )
334
+ const hashModEventLabel = 'modEventLabel'
335
+
336
+ export function isModEventLabel<V>(v: V) {
337
+ return is$typed(v, id, hashModEventLabel)
365
338
  }
366
339
 
367
- export function validateModEventLabel(v: unknown): ValidationResult {
368
- return lexicons.validate('tools.ozone.moderation.defs#modEventLabel', v)
340
+ export function validateModEventLabel<V>(v: V) {
341
+ return validate<ModEventLabel & V>(v, id, hashModEventLabel)
369
342
  }
370
343
 
371
344
  /** Set priority score of the subject. Higher score means higher priority. */
372
345
  export interface ModEventPriorityScore {
346
+ $type?: 'tools.ozone.moderation.defs#modEventPriorityScore'
373
347
  comment?: string
374
348
  score: number
375
- [k: string]: unknown
376
349
  }
377
350
 
378
- export function isModEventPriorityScore(
379
- v: unknown,
380
- ): v is ModEventPriorityScore {
381
- return (
382
- isObj(v) &&
383
- hasProp(v, '$type') &&
384
- v.$type === 'tools.ozone.moderation.defs#modEventPriorityScore'
385
- )
351
+ const hashModEventPriorityScore = 'modEventPriorityScore'
352
+
353
+ export function isModEventPriorityScore<V>(v: V) {
354
+ return is$typed(v, id, hashModEventPriorityScore)
386
355
  }
387
356
 
388
- export function validateModEventPriorityScore(v: unknown): ValidationResult {
389
- return lexicons.validate(
390
- 'tools.ozone.moderation.defs#modEventPriorityScore',
391
- v,
392
- )
357
+ export function validateModEventPriorityScore<V>(v: V) {
358
+ return validate<ModEventPriorityScore & V>(v, id, hashModEventPriorityScore)
393
359
  }
394
360
 
395
361
  export interface ModEventAcknowledge {
362
+ $type?: 'tools.ozone.moderation.defs#modEventAcknowledge'
396
363
  comment?: string
397
364
  /** If true, all other reports on content authored by this account will be resolved (acknowledged). */
398
365
  acknowledgeAccountSubjects?: boolean
399
- [k: string]: unknown
400
366
  }
401
367
 
402
- export function isModEventAcknowledge(v: unknown): v is ModEventAcknowledge {
403
- return (
404
- isObj(v) &&
405
- hasProp(v, '$type') &&
406
- v.$type === 'tools.ozone.moderation.defs#modEventAcknowledge'
407
- )
368
+ const hashModEventAcknowledge = 'modEventAcknowledge'
369
+
370
+ export function isModEventAcknowledge<V>(v: V) {
371
+ return is$typed(v, id, hashModEventAcknowledge)
408
372
  }
409
373
 
410
- export function validateModEventAcknowledge(v: unknown): ValidationResult {
411
- return lexicons.validate('tools.ozone.moderation.defs#modEventAcknowledge', v)
374
+ export function validateModEventAcknowledge<V>(v: V) {
375
+ return validate<ModEventAcknowledge & V>(v, id, hashModEventAcknowledge)
412
376
  }
413
377
 
414
378
  export interface ModEventEscalate {
379
+ $type?: 'tools.ozone.moderation.defs#modEventEscalate'
415
380
  comment?: string
416
- [k: string]: unknown
417
381
  }
418
382
 
419
- export function isModEventEscalate(v: unknown): v is ModEventEscalate {
420
- return (
421
- isObj(v) &&
422
- hasProp(v, '$type') &&
423
- v.$type === 'tools.ozone.moderation.defs#modEventEscalate'
424
- )
383
+ const hashModEventEscalate = 'modEventEscalate'
384
+
385
+ export function isModEventEscalate<V>(v: V) {
386
+ return is$typed(v, id, hashModEventEscalate)
425
387
  }
426
388
 
427
- export function validateModEventEscalate(v: unknown): ValidationResult {
428
- return lexicons.validate('tools.ozone.moderation.defs#modEventEscalate', v)
389
+ export function validateModEventEscalate<V>(v: V) {
390
+ return validate<ModEventEscalate & V>(v, id, hashModEventEscalate)
429
391
  }
430
392
 
431
393
  /** Mute incoming reports on a subject */
432
394
  export interface ModEventMute {
395
+ $type?: 'tools.ozone.moderation.defs#modEventMute'
433
396
  comment?: string
434
397
  /** Indicates how long the subject should remain muted. */
435
398
  durationInHours: number
436
- [k: string]: unknown
437
399
  }
438
400
 
439
- export function isModEventMute(v: unknown): v is ModEventMute {
440
- return (
441
- isObj(v) &&
442
- hasProp(v, '$type') &&
443
- v.$type === 'tools.ozone.moderation.defs#modEventMute'
444
- )
401
+ const hashModEventMute = 'modEventMute'
402
+
403
+ export function isModEventMute<V>(v: V) {
404
+ return is$typed(v, id, hashModEventMute)
445
405
  }
446
406
 
447
- export function validateModEventMute(v: unknown): ValidationResult {
448
- return lexicons.validate('tools.ozone.moderation.defs#modEventMute', v)
407
+ export function validateModEventMute<V>(v: V) {
408
+ return validate<ModEventMute & V>(v, id, hashModEventMute)
449
409
  }
450
410
 
451
411
  /** Unmute action on a subject */
452
412
  export interface ModEventUnmute {
413
+ $type?: 'tools.ozone.moderation.defs#modEventUnmute'
453
414
  /** Describe reasoning behind the reversal. */
454
415
  comment?: string
455
- [k: string]: unknown
456
416
  }
457
417
 
458
- export function isModEventUnmute(v: unknown): v is ModEventUnmute {
459
- return (
460
- isObj(v) &&
461
- hasProp(v, '$type') &&
462
- v.$type === 'tools.ozone.moderation.defs#modEventUnmute'
463
- )
418
+ const hashModEventUnmute = 'modEventUnmute'
419
+
420
+ export function isModEventUnmute<V>(v: V) {
421
+ return is$typed(v, id, hashModEventUnmute)
464
422
  }
465
423
 
466
- export function validateModEventUnmute(v: unknown): ValidationResult {
467
- return lexicons.validate('tools.ozone.moderation.defs#modEventUnmute', v)
424
+ export function validateModEventUnmute<V>(v: V) {
425
+ return validate<ModEventUnmute & V>(v, id, hashModEventUnmute)
468
426
  }
469
427
 
470
428
  /** Mute incoming reports from an account */
471
429
  export interface ModEventMuteReporter {
430
+ $type?: 'tools.ozone.moderation.defs#modEventMuteReporter'
472
431
  comment?: string
473
432
  /** Indicates how long the account should remain muted. Falsy value here means a permanent mute. */
474
433
  durationInHours?: number
475
- [k: string]: unknown
476
434
  }
477
435
 
478
- export function isModEventMuteReporter(v: unknown): v is ModEventMuteReporter {
479
- return (
480
- isObj(v) &&
481
- hasProp(v, '$type') &&
482
- v.$type === 'tools.ozone.moderation.defs#modEventMuteReporter'
483
- )
436
+ const hashModEventMuteReporter = 'modEventMuteReporter'
437
+
438
+ export function isModEventMuteReporter<V>(v: V) {
439
+ return is$typed(v, id, hashModEventMuteReporter)
484
440
  }
485
441
 
486
- export function validateModEventMuteReporter(v: unknown): ValidationResult {
487
- return lexicons.validate(
488
- 'tools.ozone.moderation.defs#modEventMuteReporter',
489
- v,
490
- )
442
+ export function validateModEventMuteReporter<V>(v: V) {
443
+ return validate<ModEventMuteReporter & V>(v, id, hashModEventMuteReporter)
491
444
  }
492
445
 
493
446
  /** Unmute incoming reports from an account */
494
447
  export interface ModEventUnmuteReporter {
448
+ $type?: 'tools.ozone.moderation.defs#modEventUnmuteReporter'
495
449
  /** Describe reasoning behind the reversal. */
496
450
  comment?: string
497
- [k: string]: unknown
498
451
  }
499
452
 
500
- export function isModEventUnmuteReporter(
501
- v: unknown,
502
- ): v is ModEventUnmuteReporter {
503
- return (
504
- isObj(v) &&
505
- hasProp(v, '$type') &&
506
- v.$type === 'tools.ozone.moderation.defs#modEventUnmuteReporter'
507
- )
453
+ const hashModEventUnmuteReporter = 'modEventUnmuteReporter'
454
+
455
+ export function isModEventUnmuteReporter<V>(v: V) {
456
+ return is$typed(v, id, hashModEventUnmuteReporter)
508
457
  }
509
458
 
510
- export function validateModEventUnmuteReporter(v: unknown): ValidationResult {
511
- return lexicons.validate(
512
- 'tools.ozone.moderation.defs#modEventUnmuteReporter',
513
- v,
514
- )
459
+ export function validateModEventUnmuteReporter<V>(v: V) {
460
+ return validate<ModEventUnmuteReporter & V>(v, id, hashModEventUnmuteReporter)
515
461
  }
516
462
 
517
463
  /** Keep a log of outgoing email to a user */
518
464
  export interface ModEventEmail {
465
+ $type?: 'tools.ozone.moderation.defs#modEventEmail'
519
466
  /** The subject line of the email sent to the user. */
520
467
  subjectLine: string
521
468
  /** The content of the email sent to the user. */
522
469
  content?: string
523
470
  /** Additional comment about the outgoing comm. */
524
471
  comment?: string
525
- [k: string]: unknown
526
472
  }
527
473
 
528
- export function isModEventEmail(v: unknown): v is ModEventEmail {
529
- return (
530
- isObj(v) &&
531
- hasProp(v, '$type') &&
532
- v.$type === 'tools.ozone.moderation.defs#modEventEmail'
533
- )
474
+ const hashModEventEmail = 'modEventEmail'
475
+
476
+ export function isModEventEmail<V>(v: V) {
477
+ return is$typed(v, id, hashModEventEmail)
534
478
  }
535
479
 
536
- export function validateModEventEmail(v: unknown): ValidationResult {
537
- return lexicons.validate('tools.ozone.moderation.defs#modEventEmail', v)
480
+ export function validateModEventEmail<V>(v: V) {
481
+ return validate<ModEventEmail & V>(v, id, hashModEventEmail)
538
482
  }
539
483
 
540
484
  /** Divert a record's blobs to a 3rd party service for further scanning/tagging */
541
485
  export interface ModEventDivert {
486
+ $type?: 'tools.ozone.moderation.defs#modEventDivert'
542
487
  comment?: string
543
- [k: string]: unknown
544
488
  }
545
489
 
546
- export function isModEventDivert(v: unknown): v is ModEventDivert {
547
- return (
548
- isObj(v) &&
549
- hasProp(v, '$type') &&
550
- v.$type === 'tools.ozone.moderation.defs#modEventDivert'
551
- )
490
+ const hashModEventDivert = 'modEventDivert'
491
+
492
+ export function isModEventDivert<V>(v: V) {
493
+ return is$typed(v, id, hashModEventDivert)
552
494
  }
553
495
 
554
- export function validateModEventDivert(v: unknown): ValidationResult {
555
- return lexicons.validate('tools.ozone.moderation.defs#modEventDivert', v)
496
+ export function validateModEventDivert<V>(v: V) {
497
+ return validate<ModEventDivert & V>(v, id, hashModEventDivert)
556
498
  }
557
499
 
558
500
  /** Add/Remove a tag on a subject */
559
501
  export interface ModEventTag {
502
+ $type?: 'tools.ozone.moderation.defs#modEventTag'
560
503
  /** Tags to be added to the subject. If already exists, won't be duplicated. */
561
504
  add: string[]
562
505
  /** Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated. */
563
506
  remove: string[]
564
507
  /** Additional comment about added/removed tags. */
565
508
  comment?: string
566
- [k: string]: unknown
567
509
  }
568
510
 
569
- export function isModEventTag(v: unknown): v is ModEventTag {
570
- return (
571
- isObj(v) &&
572
- hasProp(v, '$type') &&
573
- v.$type === 'tools.ozone.moderation.defs#modEventTag'
574
- )
511
+ const hashModEventTag = 'modEventTag'
512
+
513
+ export function isModEventTag<V>(v: V) {
514
+ return is$typed(v, id, hashModEventTag)
575
515
  }
576
516
 
577
- export function validateModEventTag(v: unknown): ValidationResult {
578
- return lexicons.validate('tools.ozone.moderation.defs#modEventTag', v)
517
+ export function validateModEventTag<V>(v: V) {
518
+ return validate<ModEventTag & V>(v, id, hashModEventTag)
579
519
  }
580
520
 
581
521
  /** Logs account status related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. */
582
522
  export interface AccountEvent {
523
+ $type?: 'tools.ozone.moderation.defs#accountEvent'
583
524
  comment?: string
584
525
  /** Indicates that the account has a repository which can be fetched from the host that emitted this event. */
585
526
  active: boolean
@@ -592,69 +533,63 @@ export interface AccountEvent {
592
533
  | 'tombstoned'
593
534
  | (string & {})
594
535
  timestamp: string
595
- [k: string]: unknown
596
536
  }
597
537
 
598
- export function isAccountEvent(v: unknown): v is AccountEvent {
599
- return (
600
- isObj(v) &&
601
- hasProp(v, '$type') &&
602
- v.$type === 'tools.ozone.moderation.defs#accountEvent'
603
- )
538
+ const hashAccountEvent = 'accountEvent'
539
+
540
+ export function isAccountEvent<V>(v: V) {
541
+ return is$typed(v, id, hashAccountEvent)
604
542
  }
605
543
 
606
- export function validateAccountEvent(v: unknown): ValidationResult {
607
- return lexicons.validate('tools.ozone.moderation.defs#accountEvent', v)
544
+ export function validateAccountEvent<V>(v: V) {
545
+ return validate<AccountEvent & V>(v, id, hashAccountEvent)
608
546
  }
609
547
 
610
548
  /** Logs identity related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. */
611
549
  export interface IdentityEvent {
550
+ $type?: 'tools.ozone.moderation.defs#identityEvent'
612
551
  comment?: string
613
552
  handle?: string
614
553
  pdsHost?: string
615
554
  tombstone?: boolean
616
555
  timestamp: string
617
- [k: string]: unknown
618
556
  }
619
557
 
620
- export function isIdentityEvent(v: unknown): v is IdentityEvent {
621
- return (
622
- isObj(v) &&
623
- hasProp(v, '$type') &&
624
- v.$type === 'tools.ozone.moderation.defs#identityEvent'
625
- )
558
+ const hashIdentityEvent = 'identityEvent'
559
+
560
+ export function isIdentityEvent<V>(v: V) {
561
+ return is$typed(v, id, hashIdentityEvent)
626
562
  }
627
563
 
628
- export function validateIdentityEvent(v: unknown): ValidationResult {
629
- return lexicons.validate('tools.ozone.moderation.defs#identityEvent', v)
564
+ export function validateIdentityEvent<V>(v: V) {
565
+ return validate<IdentityEvent & V>(v, id, hashIdentityEvent)
630
566
  }
631
567
 
632
568
  /** Logs lifecycle event on a record subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. */
633
569
  export interface RecordEvent {
570
+ $type?: 'tools.ozone.moderation.defs#recordEvent'
634
571
  comment?: string
635
572
  op: 'create' | 'update' | 'delete' | (string & {})
636
573
  cid?: string
637
574
  timestamp: string
638
- [k: string]: unknown
639
575
  }
640
576
 
641
- export function isRecordEvent(v: unknown): v is RecordEvent {
642
- return (
643
- isObj(v) &&
644
- hasProp(v, '$type') &&
645
- v.$type === 'tools.ozone.moderation.defs#recordEvent'
646
- )
577
+ const hashRecordEvent = 'recordEvent'
578
+
579
+ export function isRecordEvent<V>(v: V) {
580
+ return is$typed(v, id, hashRecordEvent)
647
581
  }
648
582
 
649
- export function validateRecordEvent(v: unknown): ValidationResult {
650
- return lexicons.validate('tools.ozone.moderation.defs#recordEvent', v)
583
+ export function validateRecordEvent<V>(v: V) {
584
+ return validate<RecordEvent & V>(v, id, hashRecordEvent)
651
585
  }
652
586
 
653
587
  export interface RepoView {
588
+ $type?: 'tools.ozone.moderation.defs#repoView'
654
589
  did: string
655
590
  handle: string
656
591
  email?: string
657
- relatedRecords: {}[]
592
+ relatedRecords: { [_ in string]: unknown }[]
658
593
  indexedAt: string
659
594
  moderation: Moderation
660
595
  invitedBy?: ComAtprotoServerDefs.InviteCode
@@ -662,26 +597,24 @@ export interface RepoView {
662
597
  inviteNote?: string
663
598
  deactivatedAt?: string
664
599
  threatSignatures?: ComAtprotoAdminDefs.ThreatSignature[]
665
- [k: string]: unknown
666
600
  }
667
601
 
668
- export function isRepoView(v: unknown): v is RepoView {
669
- return (
670
- isObj(v) &&
671
- hasProp(v, '$type') &&
672
- v.$type === 'tools.ozone.moderation.defs#repoView'
673
- )
602
+ const hashRepoView = 'repoView'
603
+
604
+ export function isRepoView<V>(v: V) {
605
+ return is$typed(v, id, hashRepoView)
674
606
  }
675
607
 
676
- export function validateRepoView(v: unknown): ValidationResult {
677
- return lexicons.validate('tools.ozone.moderation.defs#repoView', v)
608
+ export function validateRepoView<V>(v: V) {
609
+ return validate<RepoView & V>(v, id, hashRepoView)
678
610
  }
679
611
 
680
612
  export interface RepoViewDetail {
613
+ $type?: 'tools.ozone.moderation.defs#repoViewDetail'
681
614
  did: string
682
615
  handle: string
683
616
  email?: string
684
- relatedRecords: {}[]
617
+ relatedRecords: { [_ in string]: unknown }[]
685
618
  indexedAt: string
686
619
  moderation: ModerationDetail
687
620
  labels?: ComAtprotoLabelDefs.Label[]
@@ -692,199 +625,176 @@ export interface RepoViewDetail {
692
625
  emailConfirmedAt?: string
693
626
  deactivatedAt?: string
694
627
  threatSignatures?: ComAtprotoAdminDefs.ThreatSignature[]
695
- [k: string]: unknown
696
628
  }
697
629
 
698
- export function isRepoViewDetail(v: unknown): v is RepoViewDetail {
699
- return (
700
- isObj(v) &&
701
- hasProp(v, '$type') &&
702
- v.$type === 'tools.ozone.moderation.defs#repoViewDetail'
703
- )
630
+ const hashRepoViewDetail = 'repoViewDetail'
631
+
632
+ export function isRepoViewDetail<V>(v: V) {
633
+ return is$typed(v, id, hashRepoViewDetail)
704
634
  }
705
635
 
706
- export function validateRepoViewDetail(v: unknown): ValidationResult {
707
- return lexicons.validate('tools.ozone.moderation.defs#repoViewDetail', v)
636
+ export function validateRepoViewDetail<V>(v: V) {
637
+ return validate<RepoViewDetail & V>(v, id, hashRepoViewDetail)
708
638
  }
709
639
 
710
640
  export interface RepoViewNotFound {
641
+ $type?: 'tools.ozone.moderation.defs#repoViewNotFound'
711
642
  did: string
712
- [k: string]: unknown
713
643
  }
714
644
 
715
- export function isRepoViewNotFound(v: unknown): v is RepoViewNotFound {
716
- return (
717
- isObj(v) &&
718
- hasProp(v, '$type') &&
719
- v.$type === 'tools.ozone.moderation.defs#repoViewNotFound'
720
- )
645
+ const hashRepoViewNotFound = 'repoViewNotFound'
646
+
647
+ export function isRepoViewNotFound<V>(v: V) {
648
+ return is$typed(v, id, hashRepoViewNotFound)
721
649
  }
722
650
 
723
- export function validateRepoViewNotFound(v: unknown): ValidationResult {
724
- return lexicons.validate('tools.ozone.moderation.defs#repoViewNotFound', v)
651
+ export function validateRepoViewNotFound<V>(v: V) {
652
+ return validate<RepoViewNotFound & V>(v, id, hashRepoViewNotFound)
725
653
  }
726
654
 
727
655
  export interface RecordView {
656
+ $type?: 'tools.ozone.moderation.defs#recordView'
728
657
  uri: string
729
658
  cid: string
730
- value: {}
659
+ value: { [_ in string]: unknown }
731
660
  blobCids: string[]
732
661
  indexedAt: string
733
662
  moderation: Moderation
734
663
  repo: RepoView
735
- [k: string]: unknown
736
664
  }
737
665
 
738
- export function isRecordView(v: unknown): v is RecordView {
739
- return (
740
- isObj(v) &&
741
- hasProp(v, '$type') &&
742
- v.$type === 'tools.ozone.moderation.defs#recordView'
743
- )
666
+ const hashRecordView = 'recordView'
667
+
668
+ export function isRecordView<V>(v: V) {
669
+ return is$typed(v, id, hashRecordView)
744
670
  }
745
671
 
746
- export function validateRecordView(v: unknown): ValidationResult {
747
- return lexicons.validate('tools.ozone.moderation.defs#recordView', v)
672
+ export function validateRecordView<V>(v: V) {
673
+ return validate<RecordView & V>(v, id, hashRecordView)
748
674
  }
749
675
 
750
676
  export interface RecordViewDetail {
677
+ $type?: 'tools.ozone.moderation.defs#recordViewDetail'
751
678
  uri: string
752
679
  cid: string
753
- value: {}
680
+ value: { [_ in string]: unknown }
754
681
  blobs: BlobView[]
755
682
  labels?: ComAtprotoLabelDefs.Label[]
756
683
  indexedAt: string
757
684
  moderation: ModerationDetail
758
685
  repo: RepoView
759
- [k: string]: unknown
760
686
  }
761
687
 
762
- export function isRecordViewDetail(v: unknown): v is RecordViewDetail {
763
- return (
764
- isObj(v) &&
765
- hasProp(v, '$type') &&
766
- v.$type === 'tools.ozone.moderation.defs#recordViewDetail'
767
- )
688
+ const hashRecordViewDetail = 'recordViewDetail'
689
+
690
+ export function isRecordViewDetail<V>(v: V) {
691
+ return is$typed(v, id, hashRecordViewDetail)
768
692
  }
769
693
 
770
- export function validateRecordViewDetail(v: unknown): ValidationResult {
771
- return lexicons.validate('tools.ozone.moderation.defs#recordViewDetail', v)
694
+ export function validateRecordViewDetail<V>(v: V) {
695
+ return validate<RecordViewDetail & V>(v, id, hashRecordViewDetail)
772
696
  }
773
697
 
774
698
  export interface RecordViewNotFound {
699
+ $type?: 'tools.ozone.moderation.defs#recordViewNotFound'
775
700
  uri: string
776
- [k: string]: unknown
777
701
  }
778
702
 
779
- export function isRecordViewNotFound(v: unknown): v is RecordViewNotFound {
780
- return (
781
- isObj(v) &&
782
- hasProp(v, '$type') &&
783
- v.$type === 'tools.ozone.moderation.defs#recordViewNotFound'
784
- )
703
+ const hashRecordViewNotFound = 'recordViewNotFound'
704
+
705
+ export function isRecordViewNotFound<V>(v: V) {
706
+ return is$typed(v, id, hashRecordViewNotFound)
785
707
  }
786
708
 
787
- export function validateRecordViewNotFound(v: unknown): ValidationResult {
788
- return lexicons.validate('tools.ozone.moderation.defs#recordViewNotFound', v)
709
+ export function validateRecordViewNotFound<V>(v: V) {
710
+ return validate<RecordViewNotFound & V>(v, id, hashRecordViewNotFound)
789
711
  }
790
712
 
791
713
  export interface Moderation {
714
+ $type?: 'tools.ozone.moderation.defs#moderation'
792
715
  subjectStatus?: SubjectStatusView
793
- [k: string]: unknown
794
716
  }
795
717
 
796
- export function isModeration(v: unknown): v is Moderation {
797
- return (
798
- isObj(v) &&
799
- hasProp(v, '$type') &&
800
- v.$type === 'tools.ozone.moderation.defs#moderation'
801
- )
718
+ const hashModeration = 'moderation'
719
+
720
+ export function isModeration<V>(v: V) {
721
+ return is$typed(v, id, hashModeration)
802
722
  }
803
723
 
804
- export function validateModeration(v: unknown): ValidationResult {
805
- return lexicons.validate('tools.ozone.moderation.defs#moderation', v)
724
+ export function validateModeration<V>(v: V) {
725
+ return validate<Moderation & V>(v, id, hashModeration)
806
726
  }
807
727
 
808
728
  export interface ModerationDetail {
729
+ $type?: 'tools.ozone.moderation.defs#moderationDetail'
809
730
  subjectStatus?: SubjectStatusView
810
- [k: string]: unknown
811
731
  }
812
732
 
813
- export function isModerationDetail(v: unknown): v is ModerationDetail {
814
- return (
815
- isObj(v) &&
816
- hasProp(v, '$type') &&
817
- v.$type === 'tools.ozone.moderation.defs#moderationDetail'
818
- )
733
+ const hashModerationDetail = 'moderationDetail'
734
+
735
+ export function isModerationDetail<V>(v: V) {
736
+ return is$typed(v, id, hashModerationDetail)
819
737
  }
820
738
 
821
- export function validateModerationDetail(v: unknown): ValidationResult {
822
- return lexicons.validate('tools.ozone.moderation.defs#moderationDetail', v)
739
+ export function validateModerationDetail<V>(v: V) {
740
+ return validate<ModerationDetail & V>(v, id, hashModerationDetail)
823
741
  }
824
742
 
825
743
  export interface BlobView {
744
+ $type?: 'tools.ozone.moderation.defs#blobView'
826
745
  cid: string
827
746
  mimeType: string
828
747
  size: number
829
748
  createdAt: string
830
- details?:
831
- | ImageDetails
832
- | VideoDetails
833
- | { $type: string; [k: string]: unknown }
749
+ details?: $Typed<ImageDetails> | $Typed<VideoDetails> | { $type: string }
834
750
  moderation?: Moderation
835
- [k: string]: unknown
836
751
  }
837
752
 
838
- export function isBlobView(v: unknown): v is BlobView {
839
- return (
840
- isObj(v) &&
841
- hasProp(v, '$type') &&
842
- v.$type === 'tools.ozone.moderation.defs#blobView'
843
- )
753
+ const hashBlobView = 'blobView'
754
+
755
+ export function isBlobView<V>(v: V) {
756
+ return is$typed(v, id, hashBlobView)
844
757
  }
845
758
 
846
- export function validateBlobView(v: unknown): ValidationResult {
847
- return lexicons.validate('tools.ozone.moderation.defs#blobView', v)
759
+ export function validateBlobView<V>(v: V) {
760
+ return validate<BlobView & V>(v, id, hashBlobView)
848
761
  }
849
762
 
850
763
  export interface ImageDetails {
764
+ $type?: 'tools.ozone.moderation.defs#imageDetails'
851
765
  width: number
852
766
  height: number
853
- [k: string]: unknown
854
767
  }
855
768
 
856
- export function isImageDetails(v: unknown): v is ImageDetails {
857
- return (
858
- isObj(v) &&
859
- hasProp(v, '$type') &&
860
- v.$type === 'tools.ozone.moderation.defs#imageDetails'
861
- )
769
+ const hashImageDetails = 'imageDetails'
770
+
771
+ export function isImageDetails<V>(v: V) {
772
+ return is$typed(v, id, hashImageDetails)
862
773
  }
863
774
 
864
- export function validateImageDetails(v: unknown): ValidationResult {
865
- return lexicons.validate('tools.ozone.moderation.defs#imageDetails', v)
775
+ export function validateImageDetails<V>(v: V) {
776
+ return validate<ImageDetails & V>(v, id, hashImageDetails)
866
777
  }
867
778
 
868
779
  export interface VideoDetails {
780
+ $type?: 'tools.ozone.moderation.defs#videoDetails'
869
781
  width: number
870
782
  height: number
871
783
  length: number
872
- [k: string]: unknown
873
784
  }
874
785
 
875
- export function isVideoDetails(v: unknown): v is VideoDetails {
876
- return (
877
- isObj(v) &&
878
- hasProp(v, '$type') &&
879
- v.$type === 'tools.ozone.moderation.defs#videoDetails'
880
- )
786
+ const hashVideoDetails = 'videoDetails'
787
+
788
+ export function isVideoDetails<V>(v: V) {
789
+ return is$typed(v, id, hashVideoDetails)
881
790
  }
882
791
 
883
- export function validateVideoDetails(v: unknown): ValidationResult {
884
- return lexicons.validate('tools.ozone.moderation.defs#videoDetails', v)
792
+ export function validateVideoDetails<V>(v: V) {
793
+ return validate<VideoDetails & V>(v, id, hashVideoDetails)
885
794
  }
886
795
 
887
796
  export interface AccountHosting {
797
+ $type?: 'tools.ozone.moderation.defs#accountHosting'
888
798
  status:
889
799
  | 'takendown'
890
800
  | 'suspended'
@@ -897,37 +807,32 @@ export interface AccountHosting {
897
807
  deletedAt?: string
898
808
  deactivatedAt?: string
899
809
  reactivatedAt?: string
900
- [k: string]: unknown
901
810
  }
902
811
 
903
- export function isAccountHosting(v: unknown): v is AccountHosting {
904
- return (
905
- isObj(v) &&
906
- hasProp(v, '$type') &&
907
- v.$type === 'tools.ozone.moderation.defs#accountHosting'
908
- )
812
+ const hashAccountHosting = 'accountHosting'
813
+
814
+ export function isAccountHosting<V>(v: V) {
815
+ return is$typed(v, id, hashAccountHosting)
909
816
  }
910
817
 
911
- export function validateAccountHosting(v: unknown): ValidationResult {
912
- return lexicons.validate('tools.ozone.moderation.defs#accountHosting', v)
818
+ export function validateAccountHosting<V>(v: V) {
819
+ return validate<AccountHosting & V>(v, id, hashAccountHosting)
913
820
  }
914
821
 
915
822
  export interface RecordHosting {
823
+ $type?: 'tools.ozone.moderation.defs#recordHosting'
916
824
  status: 'deleted' | 'unknown' | (string & {})
917
825
  updatedAt?: string
918
826
  createdAt?: string
919
827
  deletedAt?: string
920
- [k: string]: unknown
921
828
  }
922
829
 
923
- export function isRecordHosting(v: unknown): v is RecordHosting {
924
- return (
925
- isObj(v) &&
926
- hasProp(v, '$type') &&
927
- v.$type === 'tools.ozone.moderation.defs#recordHosting'
928
- )
830
+ const hashRecordHosting = 'recordHosting'
831
+
832
+ export function isRecordHosting<V>(v: V) {
833
+ return is$typed(v, id, hashRecordHosting)
929
834
  }
930
835
 
931
- export function validateRecordHosting(v: unknown): ValidationResult {
932
- return lexicons.validate('tools.ozone.moderation.defs#recordHosting', v)
836
+ export function validateRecordHosting<V>(v: V) {
837
+ return validate<RecordHosting & V>(v, id, hashRecordHosting)
933
838
  }