@atproto/pds 0.4.93 → 0.4.95

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