@atcute/atproto 3.1.6 → 3.1.7

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 (296) hide show
  1. package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.d.ts +3 -0
  2. package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.d.ts.map +1 -1
  3. package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js +3 -0
  4. package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js.map +1 -1
  5. package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.d.ts +3 -0
  6. package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.d.ts.map +1 -1
  7. package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js +3 -0
  8. package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js.map +1 -1
  9. package/dist/lexicons/types/com/atproto/admin/getAccountInfos.d.ts +3 -0
  10. package/dist/lexicons/types/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
  11. package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js +3 -0
  12. package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js.map +1 -1
  13. package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts +8 -0
  14. package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
  15. package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js +8 -0
  16. package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js.map +1 -1
  17. package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts +5 -0
  18. package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts.map +1 -1
  19. package/dist/lexicons/types/com/atproto/admin/searchAccounts.js +5 -0
  20. package/dist/lexicons/types/com/atproto/admin/searchAccounts.js.map +1 -1
  21. package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts +3 -0
  22. package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts.map +1 -1
  23. package/dist/lexicons/types/com/atproto/admin/sendEmail.js +3 -0
  24. package/dist/lexicons/types/com/atproto/admin/sendEmail.js.map +1 -1
  25. package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.d.ts +3 -0
  26. package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.d.ts.map +1 -1
  27. package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js +3 -0
  28. package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js.map +1 -1
  29. package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.d.ts +3 -0
  30. package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.d.ts.map +1 -1
  31. package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.js +3 -0
  32. package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.js.map +1 -1
  33. package/dist/lexicons/types/com/atproto/identity/defs.d.ts +6 -0
  34. package/dist/lexicons/types/com/atproto/identity/defs.d.ts.map +1 -1
  35. package/dist/lexicons/types/com/atproto/identity/defs.js +6 -0
  36. package/dist/lexicons/types/com/atproto/identity/defs.js.map +1 -1
  37. package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +3 -0
  38. package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
  39. package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js +3 -0
  40. package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
  41. package/dist/lexicons/types/com/atproto/identity/resolveDid.d.ts +6 -0
  42. package/dist/lexicons/types/com/atproto/identity/resolveDid.d.ts.map +1 -1
  43. package/dist/lexicons/types/com/atproto/identity/resolveDid.js +6 -0
  44. package/dist/lexicons/types/com/atproto/identity/resolveDid.js.map +1 -1
  45. package/dist/lexicons/types/com/atproto/identity/resolveHandle.d.ts +3 -0
  46. package/dist/lexicons/types/com/atproto/identity/resolveHandle.d.ts.map +1 -1
  47. package/dist/lexicons/types/com/atproto/identity/resolveHandle.js +3 -0
  48. package/dist/lexicons/types/com/atproto/identity/resolveHandle.js.map +1 -1
  49. package/dist/lexicons/types/com/atproto/identity/resolveIdentity.d.ts +3 -0
  50. package/dist/lexicons/types/com/atproto/identity/resolveIdentity.d.ts.map +1 -1
  51. package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js +3 -0
  52. package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js.map +1 -1
  53. package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts +6 -0
  54. package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
  55. package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js +6 -0
  56. package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js.map +1 -1
  57. package/dist/lexicons/types/com/atproto/identity/updateHandle.d.ts +3 -0
  58. package/dist/lexicons/types/com/atproto/identity/updateHandle.d.ts.map +1 -1
  59. package/dist/lexicons/types/com/atproto/identity/updateHandle.js +3 -0
  60. package/dist/lexicons/types/com/atproto/identity/updateHandle.js.map +1 -1
  61. package/dist/lexicons/types/com/atproto/label/defs.d.ts +66 -0
  62. package/dist/lexicons/types/com/atproto/label/defs.d.ts.map +1 -1
  63. package/dist/lexicons/types/com/atproto/label/defs.js +66 -0
  64. package/dist/lexicons/types/com/atproto/label/defs.js.map +1 -1
  65. package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts +12 -0
  66. package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts.map +1 -1
  67. package/dist/lexicons/types/com/atproto/label/queryLabels.js +12 -0
  68. package/dist/lexicons/types/com/atproto/label/queryLabels.js.map +1 -1
  69. package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts +3 -0
  70. package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts.map +1 -1
  71. package/dist/lexicons/types/com/atproto/label/subscribeLabels.js +3 -0
  72. package/dist/lexicons/types/com/atproto/label/subscribeLabels.js.map +1 -1
  73. package/dist/lexicons/types/com/atproto/lexicon/schema.d.ts +3 -0
  74. package/dist/lexicons/types/com/atproto/lexicon/schema.d.ts.map +1 -1
  75. package/dist/lexicons/types/com/atproto/lexicon/schema.js +3 -0
  76. package/dist/lexicons/types/com/atproto/lexicon/schema.js.map +1 -1
  77. package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts +18 -0
  78. package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts.map +1 -1
  79. package/dist/lexicons/types/com/atproto/moderation/createReport.js +18 -0
  80. package/dist/lexicons/types/com/atproto/moderation/createReport.js.map +1 -1
  81. package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts +13 -0
  82. package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
  83. package/dist/lexicons/types/com/atproto/repo/applyWrites.js +13 -0
  84. package/dist/lexicons/types/com/atproto/repo/applyWrites.js.map +1 -1
  85. package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts +19 -0
  86. package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts.map +1 -1
  87. package/dist/lexicons/types/com/atproto/repo/createRecord.js +19 -0
  88. package/dist/lexicons/types/com/atproto/repo/createRecord.js.map +1 -1
  89. package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts +15 -0
  90. package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts.map +1 -1
  91. package/dist/lexicons/types/com/atproto/repo/deleteRecord.js +15 -0
  92. package/dist/lexicons/types/com/atproto/repo/deleteRecord.js.map +1 -1
  93. package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts +12 -0
  94. package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts.map +1 -1
  95. package/dist/lexicons/types/com/atproto/repo/describeRepo.js +12 -0
  96. package/dist/lexicons/types/com/atproto/repo/describeRepo.js.map +1 -1
  97. package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts +12 -0
  98. package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts.map +1 -1
  99. package/dist/lexicons/types/com/atproto/repo/getRecord.js +12 -0
  100. package/dist/lexicons/types/com/atproto/repo/getRecord.js.map +1 -1
  101. package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts +5 -0
  102. package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
  103. package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js +5 -0
  104. package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js.map +1 -1
  105. package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts +15 -0
  106. package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts.map +1 -1
  107. package/dist/lexicons/types/com/atproto/repo/listRecords.js +15 -0
  108. package/dist/lexicons/types/com/atproto/repo/listRecords.js.map +1 -1
  109. package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts +22 -0
  110. package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts.map +1 -1
  111. package/dist/lexicons/types/com/atproto/repo/putRecord.js +22 -0
  112. package/dist/lexicons/types/com/atproto/repo/putRecord.js.map +1 -1
  113. package/dist/lexicons/types/com/atproto/server/createAccount.d.ts +21 -0
  114. package/dist/lexicons/types/com/atproto/server/createAccount.d.ts.map +1 -1
  115. package/dist/lexicons/types/com/atproto/server/createAccount.js +21 -0
  116. package/dist/lexicons/types/com/atproto/server/createAccount.js.map +1 -1
  117. package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts +6 -0
  118. package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts.map +1 -1
  119. package/dist/lexicons/types/com/atproto/server/createAppPassword.js +6 -0
  120. package/dist/lexicons/types/com/atproto/server/createAppPassword.js.map +1 -1
  121. package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts +3 -0
  122. package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts.map +1 -1
  123. package/dist/lexicons/types/com/atproto/server/createInviteCodes.js +3 -0
  124. package/dist/lexicons/types/com/atproto/server/createInviteCodes.js.map +1 -1
  125. package/dist/lexicons/types/com/atproto/server/createSession.d.ts +9 -0
  126. package/dist/lexicons/types/com/atproto/server/createSession.d.ts.map +1 -1
  127. package/dist/lexicons/types/com/atproto/server/createSession.js +9 -0
  128. package/dist/lexicons/types/com/atproto/server/createSession.js.map +1 -1
  129. package/dist/lexicons/types/com/atproto/server/deactivateAccount.d.ts +3 -0
  130. package/dist/lexicons/types/com/atproto/server/deactivateAccount.d.ts.map +1 -1
  131. package/dist/lexicons/types/com/atproto/server/deactivateAccount.js +3 -0
  132. package/dist/lexicons/types/com/atproto/server/deactivateAccount.js.map +1 -1
  133. package/dist/lexicons/types/com/atproto/server/describeServer.d.ts +15 -0
  134. package/dist/lexicons/types/com/atproto/server/describeServer.d.ts.map +1 -1
  135. package/dist/lexicons/types/com/atproto/server/describeServer.js +15 -0
  136. package/dist/lexicons/types/com/atproto/server/describeServer.js.map +1 -1
  137. package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts +7 -0
  138. package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
  139. package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js +7 -0
  140. package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js.map +1 -1
  141. package/dist/lexicons/types/com/atproto/server/getServiceAuth.d.ts +9 -0
  142. package/dist/lexicons/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  143. package/dist/lexicons/types/com/atproto/server/getServiceAuth.js +9 -0
  144. package/dist/lexicons/types/com/atproto/server/getServiceAuth.js.map +1 -1
  145. package/dist/lexicons/types/com/atproto/server/getSession.d.ts +3 -0
  146. package/dist/lexicons/types/com/atproto/server/getSession.d.ts.map +1 -1
  147. package/dist/lexicons/types/com/atproto/server/getSession.js +3 -0
  148. package/dist/lexicons/types/com/atproto/server/getSession.js.map +1 -1
  149. package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts +3 -0
  150. package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts.map +1 -1
  151. package/dist/lexicons/types/com/atproto/server/refreshSession.js +3 -0
  152. package/dist/lexicons/types/com/atproto/server/refreshSession.js.map +1 -1
  153. package/dist/lexicons/types/com/atproto/server/reserveSigningKey.d.ts +6 -0
  154. package/dist/lexicons/types/com/atproto/server/reserveSigningKey.d.ts.map +1 -1
  155. package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js +6 -0
  156. package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js.map +1 -1
  157. package/dist/lexicons/types/com/atproto/server/updateEmail.d.ts +3 -0
  158. package/dist/lexicons/types/com/atproto/server/updateEmail.d.ts.map +1 -1
  159. package/dist/lexicons/types/com/atproto/server/updateEmail.js +3 -0
  160. package/dist/lexicons/types/com/atproto/server/updateEmail.js.map +1 -1
  161. package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts +6 -0
  162. package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts.map +1 -1
  163. package/dist/lexicons/types/com/atproto/sync/getBlob.js +6 -0
  164. package/dist/lexicons/types/com/atproto/sync/getBlob.js.map +1 -1
  165. package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts +6 -0
  166. package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts.map +1 -1
  167. package/dist/lexicons/types/com/atproto/sync/getBlocks.js +6 -0
  168. package/dist/lexicons/types/com/atproto/sync/getBlocks.js.map +1 -1
  169. package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts +3 -0
  170. package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts.map +1 -1
  171. package/dist/lexicons/types/com/atproto/sync/getCheckout.js +3 -0
  172. package/dist/lexicons/types/com/atproto/sync/getCheckout.js.map +1 -1
  173. package/dist/lexicons/types/com/atproto/sync/getHead.d.ts +3 -0
  174. package/dist/lexicons/types/com/atproto/sync/getHead.d.ts.map +1 -1
  175. package/dist/lexicons/types/com/atproto/sync/getHead.js +3 -0
  176. package/dist/lexicons/types/com/atproto/sync/getHead.js.map +1 -1
  177. package/dist/lexicons/types/com/atproto/sync/getHostStatus.d.ts +9 -0
  178. package/dist/lexicons/types/com/atproto/sync/getHostStatus.d.ts.map +1 -1
  179. package/dist/lexicons/types/com/atproto/sync/getHostStatus.js +9 -0
  180. package/dist/lexicons/types/com/atproto/sync/getHostStatus.js.map +1 -1
  181. package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts +3 -0
  182. package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
  183. package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js +3 -0
  184. package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js.map +1 -1
  185. package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts +6 -0
  186. package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts.map +1 -1
  187. package/dist/lexicons/types/com/atproto/sync/getRecord.js +6 -0
  188. package/dist/lexicons/types/com/atproto/sync/getRecord.js.map +1 -1
  189. package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts +6 -0
  190. package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts.map +1 -1
  191. package/dist/lexicons/types/com/atproto/sync/getRepo.js +6 -0
  192. package/dist/lexicons/types/com/atproto/sync/getRepo.js.map +1 -1
  193. package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts +9 -0
  194. package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts.map +1 -1
  195. package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js +9 -0
  196. package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js.map +1 -1
  197. package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts +11 -0
  198. package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts.map +1 -1
  199. package/dist/lexicons/types/com/atproto/sync/listBlobs.js +11 -0
  200. package/dist/lexicons/types/com/atproto/sync/listBlobs.js.map +1 -1
  201. package/dist/lexicons/types/com/atproto/sync/listHosts.d.ts +14 -0
  202. package/dist/lexicons/types/com/atproto/sync/listHosts.d.ts.map +1 -1
  203. package/dist/lexicons/types/com/atproto/sync/listHosts.js +14 -0
  204. package/dist/lexicons/types/com/atproto/sync/listHosts.js.map +1 -1
  205. package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts +11 -0
  206. package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts.map +1 -1
  207. package/dist/lexicons/types/com/atproto/sync/listRepos.js +11 -0
  208. package/dist/lexicons/types/com/atproto/sync/listRepos.js.map +1 -1
  209. package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts +6 -0
  210. package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts.map +1 -1
  211. package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js +6 -0
  212. package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js.map +1 -1
  213. package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.d.ts +3 -0
  214. package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.d.ts.map +1 -1
  215. package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js +3 -0
  216. package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js.map +1 -1
  217. package/dist/lexicons/types/com/atproto/sync/requestCrawl.d.ts +3 -0
  218. package/dist/lexicons/types/com/atproto/sync/requestCrawl.d.ts.map +1 -1
  219. package/dist/lexicons/types/com/atproto/sync/requestCrawl.js +3 -0
  220. package/dist/lexicons/types/com/atproto/sync/requestCrawl.js.map +1 -1
  221. package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts +68 -0
  222. package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
  223. package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js +68 -0
  224. package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js.map +1 -1
  225. package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.d.ts +18 -0
  226. package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.d.ts.map +1 -1
  227. package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.js +18 -0
  228. package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.js.map +1 -1
  229. package/dist/lexicons/types/com/atproto/temp/dereferenceScope.d.ts +6 -0
  230. package/dist/lexicons/types/com/atproto/temp/dereferenceScope.d.ts.map +1 -1
  231. package/dist/lexicons/types/com/atproto/temp/dereferenceScope.js +6 -0
  232. package/dist/lexicons/types/com/atproto/temp/dereferenceScope.js.map +1 -1
  233. package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts +5 -0
  234. package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts.map +1 -1
  235. package/dist/lexicons/types/com/atproto/temp/fetchLabels.js +5 -0
  236. package/dist/lexicons/types/com/atproto/temp/fetchLabels.js.map +1 -1
  237. package/lib/lexicons/types/com/atproto/admin/disableAccountInvites.ts +3 -0
  238. package/lib/lexicons/types/com/atproto/admin/enableAccountInvites.ts +3 -0
  239. package/lib/lexicons/types/com/atproto/admin/getAccountInfos.ts +3 -0
  240. package/lib/lexicons/types/com/atproto/admin/getInviteCodes.ts +8 -0
  241. package/lib/lexicons/types/com/atproto/admin/searchAccounts.ts +5 -0
  242. package/lib/lexicons/types/com/atproto/admin/sendEmail.ts +3 -0
  243. package/lib/lexicons/types/com/atproto/admin/updateAccountEmail.ts +3 -0
  244. package/lib/lexicons/types/com/atproto/admin/updateAccountSigningKey.ts +3 -0
  245. package/lib/lexicons/types/com/atproto/identity/defs.ts +6 -0
  246. package/lib/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.ts +3 -0
  247. package/lib/lexicons/types/com/atproto/identity/resolveDid.ts +6 -0
  248. package/lib/lexicons/types/com/atproto/identity/resolveHandle.ts +3 -0
  249. package/lib/lexicons/types/com/atproto/identity/resolveIdentity.ts +3 -0
  250. package/lib/lexicons/types/com/atproto/identity/signPlcOperation.ts +6 -0
  251. package/lib/lexicons/types/com/atproto/identity/updateHandle.ts +3 -0
  252. package/lib/lexicons/types/com/atproto/label/defs.ts +66 -0
  253. package/lib/lexicons/types/com/atproto/label/queryLabels.ts +12 -0
  254. package/lib/lexicons/types/com/atproto/label/subscribeLabels.ts +3 -0
  255. package/lib/lexicons/types/com/atproto/lexicon/schema.ts +3 -0
  256. package/lib/lexicons/types/com/atproto/moderation/createReport.ts +18 -0
  257. package/lib/lexicons/types/com/atproto/repo/applyWrites.ts +13 -0
  258. package/lib/lexicons/types/com/atproto/repo/createRecord.ts +19 -0
  259. package/lib/lexicons/types/com/atproto/repo/deleteRecord.ts +15 -0
  260. package/lib/lexicons/types/com/atproto/repo/describeRepo.ts +12 -0
  261. package/lib/lexicons/types/com/atproto/repo/getRecord.ts +12 -0
  262. package/lib/lexicons/types/com/atproto/repo/listMissingBlobs.ts +5 -0
  263. package/lib/lexicons/types/com/atproto/repo/listRecords.ts +15 -0
  264. package/lib/lexicons/types/com/atproto/repo/putRecord.ts +22 -0
  265. package/lib/lexicons/types/com/atproto/server/createAccount.ts +21 -0
  266. package/lib/lexicons/types/com/atproto/server/createAppPassword.ts +6 -0
  267. package/lib/lexicons/types/com/atproto/server/createInviteCodes.ts +3 -0
  268. package/lib/lexicons/types/com/atproto/server/createSession.ts +9 -0
  269. package/lib/lexicons/types/com/atproto/server/deactivateAccount.ts +3 -0
  270. package/lib/lexicons/types/com/atproto/server/describeServer.ts +15 -0
  271. package/lib/lexicons/types/com/atproto/server/getAccountInviteCodes.ts +7 -0
  272. package/lib/lexicons/types/com/atproto/server/getServiceAuth.ts +9 -0
  273. package/lib/lexicons/types/com/atproto/server/getSession.ts +3 -0
  274. package/lib/lexicons/types/com/atproto/server/refreshSession.ts +3 -0
  275. package/lib/lexicons/types/com/atproto/server/reserveSigningKey.ts +6 -0
  276. package/lib/lexicons/types/com/atproto/server/updateEmail.ts +3 -0
  277. package/lib/lexicons/types/com/atproto/sync/getBlob.ts +6 -0
  278. package/lib/lexicons/types/com/atproto/sync/getBlocks.ts +6 -0
  279. package/lib/lexicons/types/com/atproto/sync/getCheckout.ts +3 -0
  280. package/lib/lexicons/types/com/atproto/sync/getHead.ts +3 -0
  281. package/lib/lexicons/types/com/atproto/sync/getHostStatus.ts +9 -0
  282. package/lib/lexicons/types/com/atproto/sync/getLatestCommit.ts +3 -0
  283. package/lib/lexicons/types/com/atproto/sync/getRecord.ts +6 -0
  284. package/lib/lexicons/types/com/atproto/sync/getRepo.ts +6 -0
  285. package/lib/lexicons/types/com/atproto/sync/getRepoStatus.ts +9 -0
  286. package/lib/lexicons/types/com/atproto/sync/listBlobs.ts +11 -0
  287. package/lib/lexicons/types/com/atproto/sync/listHosts.ts +14 -0
  288. package/lib/lexicons/types/com/atproto/sync/listRepos.ts +11 -0
  289. package/lib/lexicons/types/com/atproto/sync/listReposByCollection.ts +6 -0
  290. package/lib/lexicons/types/com/atproto/sync/notifyOfUpdate.ts +3 -0
  291. package/lib/lexicons/types/com/atproto/sync/requestCrawl.ts +3 -0
  292. package/lib/lexicons/types/com/atproto/sync/subscribeRepos.ts +68 -0
  293. package/lib/lexicons/types/com/atproto/temp/checkHandleAvailability.ts +18 -0
  294. package/lib/lexicons/types/com/atproto/temp/dereferenceScope.ts +6 -0
  295. package/lib/lexicons/types/com/atproto/temp/fetchLabels.ts +5 -0
  296. package/package.json +2 -2
@@ -16,15 +16,30 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.server.describeServer', {
16
16
  output: {
17
17
  type: 'lex',
18
18
  schema: /*#__PURE__*/ v.object({
19
+ /**
20
+ * List of domain suffixes that can be used in account handles.
21
+ */
19
22
  availableUserDomains: /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()),
23
+ /**
24
+ * Contact information
25
+ */
20
26
  get contact() {
21
27
  return /*#__PURE__*/ v.optional(contactSchema);
22
28
  },
23
29
  did: /*#__PURE__*/ v.didString(),
30
+ /**
31
+ * If true, an invite code must be supplied to create an account on this instance.
32
+ */
24
33
  inviteCodeRequired: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
34
+ /**
35
+ * URLs of service policy documents.
36
+ */
25
37
  get links() {
26
38
  return /*#__PURE__*/ v.optional(linksSchema);
27
39
  },
40
+ /**
41
+ * If true, a phone verification token must be supplied to create an account on this instance.
42
+ */
28
43
  phoneVerificationRequired: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
29
44
  }),
30
45
  },
@@ -5,7 +5,14 @@ import * as ComAtprotoServerDefs from './defs.js';
5
5
 
6
6
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.server.getAccountInviteCodes', {
7
7
  params: /*#__PURE__*/ v.object({
8
+ /**
9
+ * Controls whether any new 'earned' but not 'created' invites should be created.
10
+ * @default true
11
+ */
8
12
  createAvailable: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true),
13
+ /**
14
+ * @default true
15
+ */
9
16
  includeUsed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true),
10
17
  }),
11
18
  output: {
@@ -4,8 +4,17 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.server.getServiceAuth', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * The DID of the service that the token will be used to authenticate with
9
+ */
7
10
  aud: /*#__PURE__*/ v.didString(),
11
+ /**
12
+ * The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope.
13
+ */
8
14
  exp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
15
+ /**
16
+ * Lexicon (XRPC) method to bind the requested token to
17
+ */
9
18
  lxm: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.nsidString()),
10
19
  }),
11
20
  output: {
@@ -14,6 +14,9 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.server.getSession', {
14
14
  emailAuthFactor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
15
15
  emailConfirmed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
16
16
  handle: /*#__PURE__*/ v.handleString(),
17
+ /**
18
+ * If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
19
+ */
17
20
  status: /*#__PURE__*/ v.optional(
18
21
  /*#__PURE__*/ v.string<'deactivated' | 'suspended' | 'takendown' | (string & {})>(),
19
22
  ),
@@ -14,6 +14,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.refreshSession
14
14
  didDoc: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
15
15
  handle: /*#__PURE__*/ v.handleString(),
16
16
  refreshJwt: /*#__PURE__*/ v.string(),
17
+ /**
18
+ * Hosting status of the account. If not specified, then assume 'active'.
19
+ */
17
20
  status: /*#__PURE__*/ v.optional(
18
21
  /*#__PURE__*/ v.string<'deactivated' | 'suspended' | 'takendown' | (string & {})>(),
19
22
  ),
@@ -7,12 +7,18 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.reserveSigning
7
7
  input: {
8
8
  type: 'lex',
9
9
  schema: /*#__PURE__*/ v.object({
10
+ /**
11
+ * The DID to reserve a key for.
12
+ */
10
13
  did: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
11
14
  }),
12
15
  },
13
16
  output: {
14
17
  type: 'lex',
15
18
  schema: /*#__PURE__*/ v.object({
19
+ /**
20
+ * The public key for the reserved signing key, in did:key serialization.
21
+ */
16
22
  signingKey: /*#__PURE__*/ v.string(),
17
23
  }),
18
24
  },
@@ -9,6 +9,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.updateEmail',
9
9
  schema: /*#__PURE__*/ v.object({
10
10
  email: /*#__PURE__*/ v.string(),
11
11
  emailAuthFactor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
12
+ /**
13
+ * Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed.
14
+ */
12
15
  token: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
13
16
  }),
14
17
  },
@@ -4,7 +4,13 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getBlob', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * The CID of the blob to fetch
9
+ */
7
10
  cid: /*#__PURE__*/ v.cidString(),
11
+ /**
12
+ * The DID of the account.
13
+ */
8
14
  did: /*#__PURE__*/ v.didString(),
9
15
  }),
10
16
  output: {
@@ -4,9 +4,15 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getBlocks', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * @minLength 1
9
+ */
7
10
  cids: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.cidString()), [
8
11
  /*#__PURE__*/ v.arrayLength(1),
9
12
  ]),
13
+ /**
14
+ * The DID of the repo.
15
+ */
10
16
  did: /*#__PURE__*/ v.didString(),
11
17
  }),
12
18
  output: {
@@ -4,6 +4,9 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getCheckout', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * The DID of the repo.
9
+ */
7
10
  did: /*#__PURE__*/ v.didString(),
8
11
  }),
9
12
  output: {
@@ -4,6 +4,9 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getHead', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * The DID of the repo.
9
+ */
7
10
  did: /*#__PURE__*/ v.didString(),
8
11
  }),
9
12
  output: {
@@ -5,13 +5,22 @@ import * as ComAtprotoSyncDefs from './defs.js';
5
5
 
6
6
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getHostStatus', {
7
7
  params: /*#__PURE__*/ v.object({
8
+ /**
9
+ * Hostname of the host (eg, PDS or relay) being queried.
10
+ */
8
11
  hostname: /*#__PURE__*/ v.string(),
9
12
  }),
10
13
  output: {
11
14
  type: 'lex',
12
15
  schema: /*#__PURE__*/ v.object({
16
+ /**
17
+ * Number of accounts on the server which are associated with the upstream host. Note that the upstream may actually have more accounts.
18
+ */
13
19
  accountCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
14
20
  hostname: /*#__PURE__*/ v.string(),
21
+ /**
22
+ * Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor).
23
+ */
15
24
  seq: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
16
25
  get status() {
17
26
  return /*#__PURE__*/ v.optional(ComAtprotoSyncDefs.hostStatusSchema);
@@ -4,6 +4,9 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getLatestCommit', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * The DID of the repo.
9
+ */
7
10
  did: /*#__PURE__*/ v.didString(),
8
11
  }),
9
12
  output: {
@@ -5,7 +5,13 @@ import type {} from '@atcute/lexicons/ambient';
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRecord', {
6
6
  params: /*#__PURE__*/ v.object({
7
7
  collection: /*#__PURE__*/ v.nsidString(),
8
+ /**
9
+ * The DID of the repo.
10
+ */
8
11
  did: /*#__PURE__*/ v.didString(),
12
+ /**
13
+ * Record Key
14
+ */
9
15
  rkey: /*#__PURE__*/ v.recordKeyString(),
10
16
  }),
11
17
  output: {
@@ -4,7 +4,13 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRepo', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * The DID of the repo.
9
+ */
7
10
  did: /*#__PURE__*/ v.didString(),
11
+ /**
12
+ * The revision ('rev') of the repo to create a diff from.
13
+ */
8
14
  since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.tidString()),
9
15
  }),
10
16
  output: {
@@ -4,6 +4,9 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRepoStatus', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * The DID of the repo.
9
+ */
7
10
  did: /*#__PURE__*/ v.didString(),
8
11
  }),
9
12
  output: {
@@ -11,7 +14,13 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRepoStatus', {
11
14
  schema: /*#__PURE__*/ v.object({
12
15
  active: /*#__PURE__*/ v.boolean(),
13
16
  did: /*#__PURE__*/ v.didString(),
17
+ /**
18
+ * Optional field, the current rev of the repo, if active=true
19
+ */
14
20
  rev: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.tidString()),
21
+ /**
22
+ * If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
23
+ */
15
24
  status: /*#__PURE__*/ v.optional(
16
25
  /*#__PURE__*/ v.string<
17
26
  | 'deactivated'
@@ -5,11 +5,22 @@ import type {} from '@atcute/lexicons/ambient';
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listBlobs', {
6
6
  params: /*#__PURE__*/ v.object({
7
7
  cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
8
+ /**
9
+ * The DID of the repo.
10
+ */
8
11
  did: /*#__PURE__*/ v.didString(),
12
+ /**
13
+ * @minimum 1
14
+ * @maximum 1000
15
+ * @default 500
16
+ */
9
17
  limit: /*#__PURE__*/ v.optional(
10
18
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
11
19
  500,
12
20
  ),
21
+ /**
22
+ * Optional revision of the repo to list blobs since.
23
+ */
13
24
  since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.tidString()),
14
25
  }),
15
26
  output: {
@@ -6,7 +6,13 @@ import * as ComAtprotoSyncDefs from './defs.js';
6
6
  const _hostSchema = /*#__PURE__*/ v.object({
7
7
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listHosts#host')),
8
8
  accountCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
9
+ /**
10
+ * hostname of server; not a URL (no scheme)
11
+ */
9
12
  hostname: /*#__PURE__*/ v.string(),
13
+ /**
14
+ * Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor).
15
+ */
10
16
  seq: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
11
17
  get status() {
12
18
  return /*#__PURE__*/ v.optional(ComAtprotoSyncDefs.hostStatusSchema);
@@ -15,6 +21,11 @@ const _hostSchema = /*#__PURE__*/ v.object({
15
21
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listHosts', {
16
22
  params: /*#__PURE__*/ v.object({
17
23
  cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
24
+ /**
25
+ * @minimum 1
26
+ * @maximum 1000
27
+ * @default 200
28
+ */
18
29
  limit: /*#__PURE__*/ v.optional(
19
30
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
20
31
  200,
@@ -24,6 +35,9 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listHosts', {
24
35
  type: 'lex',
25
36
  schema: /*#__PURE__*/ v.object({
26
37
  cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
38
+ /**
39
+ * Sort order is not formally specified. Recommended order is by time host was first seen by the server, with oldest first.
40
+ */
27
41
  get hosts() {
28
42
  return /*#__PURE__*/ v.array(hostSchema);
29
43
  },
@@ -5,6 +5,11 @@ import type {} from '@atcute/lexicons/ambient';
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listRepos', {
6
6
  params: /*#__PURE__*/ v.object({
7
7
  cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
8
+ /**
9
+ * @minimum 1
10
+ * @maximum 1000
11
+ * @default 500
12
+ */
8
13
  limit: /*#__PURE__*/ v.optional(
9
14
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
10
15
  500,
@@ -24,8 +29,14 @@ const _repoSchema = /*#__PURE__*/ v.object({
24
29
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listRepos#repo')),
25
30
  active: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
26
31
  did: /*#__PURE__*/ v.didString(),
32
+ /**
33
+ * Current repo commit CID
34
+ */
27
35
  head: /*#__PURE__*/ v.cidString(),
28
36
  rev: /*#__PURE__*/ v.tidString(),
37
+ /**
38
+ * If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
39
+ */
29
40
  status: /*#__PURE__*/ v.optional(
30
41
  /*#__PURE__*/ v.string<
31
42
  'deactivated' | 'deleted' | 'desynchronized' | 'suspended' | 'takendown' | 'throttled' | (string & {})
@@ -6,6 +6,12 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listReposByCollectio
6
6
  params: /*#__PURE__*/ v.object({
7
7
  collection: /*#__PURE__*/ v.nsidString(),
8
8
  cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
9
+ /**
10
+ * Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists.
11
+ * @minimum 1
12
+ * @maximum 2000
13
+ * @default 500
14
+ */
9
15
  limit: /*#__PURE__*/ v.optional(
10
16
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 2000)]),
11
17
  500,
@@ -7,6 +7,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.sync.notifyOfUpdate',
7
7
  input: {
8
8
  type: 'lex',
9
9
  schema: /*#__PURE__*/ v.object({
10
+ /**
11
+ * Hostname of the current service (usually a PDS) that is notifying of update.
12
+ */
10
13
  hostname: /*#__PURE__*/ v.string(),
11
14
  }),
12
15
  },
@@ -7,6 +7,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.sync.requestCrawl', {
7
7
  input: {
8
8
  type: 'lex',
9
9
  schema: /*#__PURE__*/ v.object({
10
+ /**
11
+ * Hostname of the current service (eg, PDS) that is requesting to be crawled.
12
+ */
10
13
  hostname: /*#__PURE__*/ v.string(),
11
14
  }),
12
15
  },
@@ -4,9 +4,15 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _accountSchema = /*#__PURE__*/ v.object({
6
6
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#account')),
7
+ /**
8
+ * Indicates that the account has a repository which can be fetched from the host that emitted this event.
9
+ */
7
10
  active: /*#__PURE__*/ v.boolean(),
8
11
  did: /*#__PURE__*/ v.didString(),
9
12
  seq: /*#__PURE__*/ v.integer(),
13
+ /**
14
+ * If active=false, this optional field indicates a reason for why the account is not active.
15
+ */
10
16
  status: /*#__PURE__*/ v.optional(
11
17
  /*#__PURE__*/ v.string<
12
18
  'deactivated' | 'deleted' | 'desynchronized' | 'suspended' | 'takendown' | 'throttled' | (string & {})
@@ -17,25 +23,62 @@ const _accountSchema = /*#__PURE__*/ v.object({
17
23
  const _commitSchema = /*#__PURE__*/ v.object({
18
24
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#commit')),
19
25
  blobs: /*#__PURE__*/ v.array(/*#__PURE__*/ v.cidLink()),
26
+ /**
27
+ * CAR file containing relevant blocks, as a diff since the previous repo state. The commit must be included as a block, and the commit block CID must be the first entry in the CAR header 'roots' list.
28
+ * @maxLength 2000000
29
+ */
20
30
  blocks: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(0, 2000000)]),
31
+ /**
32
+ * Repo commit object CID.
33
+ */
21
34
  commit: /*#__PURE__*/ v.cidLink(),
35
+ /**
36
+ * @maxLength 200
37
+ */
22
38
  get ops() {
23
39
  return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(repoOpSchema), [
24
40
  /*#__PURE__*/ v.arrayLength(0, 200),
25
41
  ]);
26
42
  },
43
+ /**
44
+ * The root CID of the MST tree for the previous commit from this repo (indicated by the 'since' revision field in this message). Corresponds to the 'data' field in the repo commit object. NOTE: this field is effectively required for the 'inductive' version of firehose.
45
+ */
27
46
  prevData: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidLink()),
47
+ /**
48
+ * DEPRECATED -- unused
49
+ */
28
50
  rebase: /*#__PURE__*/ v.boolean(),
51
+ /**
52
+ * The repo this event comes from. Note that all other message types name this field 'did'.
53
+ */
29
54
  repo: /*#__PURE__*/ v.didString(),
55
+ /**
56
+ * The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event.
57
+ */
30
58
  rev: /*#__PURE__*/ v.tidString(),
59
+ /**
60
+ * The stream sequence number of this message.
61
+ */
31
62
  seq: /*#__PURE__*/ v.integer(),
63
+ /**
64
+ * The rev of the last emitted commit from this repo (if any).
65
+ */
32
66
  since: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.tidString()),
67
+ /**
68
+ * Timestamp of when this message was originally broadcast.
69
+ */
33
70
  time: /*#__PURE__*/ v.datetimeString(),
71
+ /**
72
+ * DEPRECATED -- replaced by #sync event and data limits. Indicates that this commit contained too many ops, or data size was too large. Consumers will need to make a separate request to get missing data.
73
+ */
34
74
  tooBig: /*#__PURE__*/ v.boolean(),
35
75
  });
36
76
  const _identitySchema = /*#__PURE__*/ v.object({
37
77
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#identity')),
38
78
  did: /*#__PURE__*/ v.didString(),
79
+ /**
80
+ * The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details.
81
+ */
39
82
  handle: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.handleString()),
40
83
  seq: /*#__PURE__*/ v.integer(),
41
84
  time: /*#__PURE__*/ v.datetimeString(),
@@ -47,6 +90,9 @@ const _infoSchema = /*#__PURE__*/ v.object({
47
90
  });
48
91
  const _mainSchema = /*#__PURE__*/ v.subscription('com.atproto.sync.subscribeRepos', {
49
92
  params: /*#__PURE__*/ v.object({
93
+ /**
94
+ * The last known event seq number to backfill from.
95
+ */
50
96
  cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
51
97
  }),
52
98
  get message() {
@@ -56,16 +102,38 @@ const _mainSchema = /*#__PURE__*/ v.subscription('com.atproto.sync.subscribeRepo
56
102
  const _repoOpSchema = /*#__PURE__*/ v.object({
57
103
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#repoOp')),
58
104
  action: /*#__PURE__*/ v.string<'create' | 'delete' | 'update' | (string & {})>(),
105
+ /**
106
+ * For creates and updates, the new record CID. For deletions, null.
107
+ */
59
108
  cid: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.cidLink()),
60
109
  path: /*#__PURE__*/ v.string(),
110
+ /**
111
+ * For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined.
112
+ */
61
113
  prev: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidLink()),
62
114
  });
63
115
  const _syncSchema = /*#__PURE__*/ v.object({
64
116
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#sync')),
117
+ /**
118
+ * CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'.
119
+ * @maxLength 10000
120
+ */
65
121
  blocks: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(0, 10000)]),
122
+ /**
123
+ * The account this repo event corresponds to. Must match that in the commit object.
124
+ */
66
125
  did: /*#__PURE__*/ v.didString(),
126
+ /**
127
+ * The rev of the commit. This value must match that in the commit object.
128
+ */
67
129
  rev: /*#__PURE__*/ v.string(),
130
+ /**
131
+ * The stream sequence number of this message.
132
+ */
68
133
  seq: /*#__PURE__*/ v.integer(),
134
+ /**
135
+ * Timestamp of when this message was originally broadcast.
136
+ */
69
137
  time: /*#__PURE__*/ v.datetimeString(),
70
138
  });
71
139
 
@@ -4,13 +4,25 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.checkHandleAvailability', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * User-provided birth date. Might be used to build handle suggestions.
9
+ */
7
10
  birthDate: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
11
+ /**
12
+ * User-provided email. Might be used to build handle suggestions.
13
+ */
8
14
  email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
15
+ /**
16
+ * Tentative handle. Will be checked for availability or used to build handle suggestions.
17
+ */
9
18
  handle: /*#__PURE__*/ v.handleString(),
10
19
  }),
11
20
  output: {
12
21
  type: 'lex',
13
22
  schema: /*#__PURE__*/ v.object({
23
+ /**
24
+ * Echo of the input handle.
25
+ */
14
26
  handle: /*#__PURE__*/ v.handleString(),
15
27
  get result() {
16
28
  return /*#__PURE__*/ v.variant([resultAvailableSchema, resultUnavailableSchema]);
@@ -27,6 +39,9 @@ const _resultUnavailableSchema = /*#__PURE__*/ v.object({
27
39
  $type: /*#__PURE__*/ v.optional(
28
40
  /*#__PURE__*/ v.literal('com.atproto.temp.checkHandleAvailability#resultUnavailable'),
29
41
  ),
42
+ /**
43
+ * List of suggested handles based on the provided inputs.
44
+ */
30
45
  get suggestions() {
31
46
  return /*#__PURE__*/ v.array(suggestionSchema);
32
47
  },
@@ -36,6 +51,9 @@ const _suggestionSchema = /*#__PURE__*/ v.object({
36
51
  /*#__PURE__*/ v.literal('com.atproto.temp.checkHandleAvailability#suggestion'),
37
52
  ),
38
53
  handle: /*#__PURE__*/ v.handleString(),
54
+ /**
55
+ * Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.
56
+ */
39
57
  method: /*#__PURE__*/ v.string(),
40
58
  });
41
59
 
@@ -4,11 +4,17 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.dereferenceScope', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * The scope reference (starts with 'ref:')
9
+ */
7
10
  scope: /*#__PURE__*/ v.string(),
8
11
  }),
9
12
  output: {
10
13
  type: 'lex',
11
14
  schema: /*#__PURE__*/ v.object({
15
+ /**
16
+ * The full oauth permission scope
17
+ */
12
18
  scope: /*#__PURE__*/ v.string(),
13
19
  }),
14
20
  },
@@ -5,6 +5,11 @@ import * as ComAtprotoLabelDefs from '../label/defs.js';
5
5
 
6
6
  const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.fetchLabels', {
7
7
  params: /*#__PURE__*/ v.object({
8
+ /**
9
+ * @minimum 1
10
+ * @maximum 250
11
+ * @default 50
12
+ */
8
13
  limit: /*#__PURE__*/ v.optional(
9
14
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 250)]),
10
15
  50,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@atcute/atproto",
4
- "version": "3.1.6",
4
+ "version": "3.1.7",
5
5
  "description": "AT Protocol (com.atproto.*) schema definitions",
6
6
  "keywords": [
7
7
  "atcute",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@atcute/atproto": "file:",
30
- "@atcute/lex-cli": "^2.2.1"
30
+ "@atcute/lex-cli": "^2.2.2"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsc",