@atproto/pds 0.4.91 → 0.4.92

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 (762) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/bin/migration-create.ts +2 -2
  3. package/dist/account-manager/db/index.d.ts.map +1 -1
  4. package/dist/account-manager/db/index.js.map +1 -1
  5. package/dist/account-manager/db/schema/authorization-request.d.ts +1 -1
  6. package/dist/account-manager/db/schema/authorization-request.d.ts.map +1 -1
  7. package/dist/account-manager/db/schema/device.d.ts +1 -1
  8. package/dist/account-manager/db/schema/device.d.ts.map +1 -1
  9. package/dist/account-manager/db/schema/index.d.ts +7 -7
  10. package/dist/account-manager/db/schema/index.d.ts.map +1 -1
  11. package/dist/account-manager/db/schema/token.d.ts +1 -1
  12. package/dist/account-manager/db/schema/token.d.ts.map +1 -1
  13. package/dist/account-manager/db/schema/token.js.map +1 -1
  14. package/dist/account-manager/db/schema/used-refresh-token.d.ts +1 -1
  15. package/dist/account-manager/db/schema/used-refresh-token.d.ts.map +1 -1
  16. package/dist/account-manager/helpers/account.d.ts +8 -8
  17. package/dist/account-manager/helpers/account.d.ts.map +1 -1
  18. package/dist/account-manager/helpers/account.js +1 -1
  19. package/dist/account-manager/helpers/account.js.map +1 -1
  20. package/dist/account-manager/helpers/authorization-request.d.ts +1 -1
  21. package/dist/account-manager/helpers/authorization-request.d.ts.map +1 -1
  22. package/dist/account-manager/helpers/device-account.d.ts +37 -37
  23. package/dist/account-manager/helpers/device-account.d.ts.map +1 -1
  24. package/dist/account-manager/helpers/device-account.js.map +1 -1
  25. package/dist/account-manager/helpers/device.d.ts +2 -2
  26. package/dist/account-manager/helpers/device.d.ts.map +1 -1
  27. package/dist/account-manager/helpers/email-token.js +1 -1
  28. package/dist/account-manager/helpers/email-token.js.map +1 -1
  29. package/dist/account-manager/helpers/invite.d.ts.map +1 -1
  30. package/dist/account-manager/helpers/invite.js.map +1 -1
  31. package/dist/account-manager/helpers/password.d.ts +1 -1
  32. package/dist/account-manager/helpers/password.d.ts.map +1 -1
  33. package/dist/account-manager/helpers/password.js.map +1 -1
  34. package/dist/account-manager/helpers/scrypt.js +6 -6
  35. package/dist/account-manager/helpers/scrypt.js.map +1 -1
  36. package/dist/account-manager/helpers/token.d.ts +201 -201
  37. package/dist/account-manager/helpers/token.d.ts.map +1 -1
  38. package/dist/account-manager/index.d.ts +8 -3
  39. package/dist/account-manager/index.d.ts.map +1 -1
  40. package/dist/account-manager/index.js +34 -5
  41. package/dist/account-manager/index.js.map +1 -1
  42. package/dist/actor-store/actor-store-reader.d.ts +19 -0
  43. package/dist/actor-store/actor-store-reader.d.ts.map +1 -0
  44. package/dist/actor-store/actor-store-reader.js +69 -0
  45. package/dist/actor-store/actor-store-reader.js.map +1 -0
  46. package/dist/actor-store/actor-store-resources.d.ts +8 -0
  47. package/dist/actor-store/actor-store-resources.d.ts.map +1 -0
  48. package/dist/actor-store/actor-store-resources.js +3 -0
  49. package/dist/actor-store/actor-store-resources.js.map +1 -0
  50. package/dist/actor-store/actor-store-transactor.d.ts +17 -0
  51. package/dist/actor-store/actor-store-transactor.d.ts.map +1 -0
  52. package/dist/actor-store/actor-store-transactor.js +58 -0
  53. package/dist/actor-store/actor-store-transactor.js.map +1 -0
  54. package/dist/actor-store/actor-store-writer.d.ts +5 -0
  55. package/dist/actor-store/actor-store-writer.d.ts.map +1 -0
  56. package/dist/actor-store/actor-store-writer.js +14 -0
  57. package/dist/actor-store/actor-store-writer.js.map +1 -0
  58. package/dist/actor-store/actor-store.d.ts +33 -0
  59. package/dist/actor-store/actor-store.d.ts.map +1 -0
  60. package/dist/actor-store/{index.js → actor-store.js} +37 -82
  61. package/dist/actor-store/actor-store.js.map +1 -0
  62. package/dist/actor-store/blob/reader.d.ts +4 -2
  63. package/dist/actor-store/blob/reader.d.ts.map +1 -1
  64. package/dist/actor-store/blob/reader.js +14 -0
  65. package/dist/actor-store/blob/reader.js.map +1 -1
  66. package/dist/actor-store/blob/transactor.d.ts +6 -5
  67. package/dist/actor-store/blob/transactor.d.ts.map +1 -1
  68. package/dist/actor-store/blob/transactor.js +18 -5
  69. package/dist/actor-store/blob/transactor.js.map +1 -1
  70. package/dist/actor-store/db/index.d.ts +1 -1
  71. package/dist/actor-store/db/index.d.ts.map +1 -1
  72. package/dist/actor-store/db/index.js.map +1 -1
  73. package/dist/actor-store/db/schema/index.d.ts +3 -3
  74. package/dist/actor-store/db/schema/index.d.ts.map +1 -1
  75. package/dist/actor-store/migrate.d.ts +1 -1
  76. package/dist/actor-store/migrate.d.ts.map +1 -1
  77. package/dist/actor-store/migrate.js.map +1 -1
  78. package/dist/actor-store/preference/transactor.d.ts +1 -1
  79. package/dist/actor-store/preference/transactor.d.ts.map +1 -1
  80. package/dist/actor-store/preference/transactor.js.map +1 -1
  81. package/dist/actor-store/record/reader.d.ts +18 -6
  82. package/dist/actor-store/record/reader.d.ts.map +1 -1
  83. package/dist/actor-store/record/reader.js +104 -2
  84. package/dist/actor-store/record/reader.js.map +1 -1
  85. package/dist/actor-store/record/transactor.d.ts +3 -3
  86. package/dist/actor-store/record/transactor.d.ts.map +1 -1
  87. package/dist/actor-store/record/transactor.js.map +1 -1
  88. package/dist/actor-store/repo/reader.d.ts +1 -1
  89. package/dist/actor-store/repo/reader.d.ts.map +1 -1
  90. package/dist/actor-store/repo/reader.js +1 -1
  91. package/dist/actor-store/repo/reader.js.map +1 -1
  92. package/dist/actor-store/repo/sql-repo-reader.d.ts +2 -2
  93. package/dist/actor-store/repo/sql-repo-reader.d.ts.map +1 -1
  94. package/dist/actor-store/repo/sql-repo-reader.js +6 -5
  95. package/dist/actor-store/repo/sql-repo-reader.js.map +1 -1
  96. package/dist/actor-store/repo/sql-repo-transactor.d.ts +1 -1
  97. package/dist/actor-store/repo/sql-repo-transactor.d.ts.map +1 -1
  98. package/dist/actor-store/repo/sql-repo-transactor.js +2 -2
  99. package/dist/actor-store/repo/sql-repo-transactor.js.map +1 -1
  100. package/dist/actor-store/repo/transactor.d.ts +7 -6
  101. package/dist/actor-store/repo/transactor.d.ts.map +1 -1
  102. package/dist/actor-store/repo/transactor.js +22 -15
  103. package/dist/actor-store/repo/transactor.js.map +1 -1
  104. package/dist/api/app/bsky/actor/getPreferences.d.ts +1 -1
  105. package/dist/api/app/bsky/actor/getPreferences.d.ts.map +1 -1
  106. package/dist/api/app/bsky/actor/getPreferences.js +1 -1
  107. package/dist/api/app/bsky/actor/getPreferences.js.map +1 -1
  108. package/dist/api/app/bsky/actor/getProfile.d.ts +1 -1
  109. package/dist/api/app/bsky/actor/getProfile.d.ts.map +1 -1
  110. package/dist/api/app/bsky/actor/getProfile.js +1 -2
  111. package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
  112. package/dist/api/app/bsky/actor/getProfiles.d.ts +1 -1
  113. package/dist/api/app/bsky/actor/getProfiles.d.ts.map +1 -1
  114. package/dist/api/app/bsky/actor/getProfiles.js +1 -2
  115. package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
  116. package/dist/api/app/bsky/actor/index.d.ts +1 -1
  117. package/dist/api/app/bsky/actor/index.d.ts.map +1 -1
  118. package/dist/api/app/bsky/actor/index.js.map +1 -1
  119. package/dist/api/app/bsky/actor/putPreferences.d.ts +1 -1
  120. package/dist/api/app/bsky/actor/putPreferences.d.ts.map +1 -1
  121. package/dist/api/app/bsky/actor/putPreferences.js +1 -1
  122. package/dist/api/app/bsky/actor/putPreferences.js.map +1 -1
  123. package/dist/api/app/bsky/feed/getActorLikes.d.ts +1 -1
  124. package/dist/api/app/bsky/feed/getActorLikes.d.ts.map +1 -1
  125. package/dist/api/app/bsky/feed/getActorLikes.js +1 -2
  126. package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
  127. package/dist/api/app/bsky/feed/getAuthorFeed.d.ts +1 -1
  128. package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
  129. package/dist/api/app/bsky/feed/getAuthorFeed.js +1 -2
  130. package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
  131. package/dist/api/app/bsky/feed/getFeed.d.ts +1 -1
  132. package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
  133. package/dist/api/app/bsky/feed/getFeed.js +6 -7
  134. package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
  135. package/dist/api/app/bsky/feed/getPostThread.d.ts +1 -1
  136. package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
  137. package/dist/api/app/bsky/feed/getPostThread.js +4 -5
  138. package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
  139. package/dist/api/app/bsky/feed/getTimeline.d.ts +1 -1
  140. package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
  141. package/dist/api/app/bsky/feed/getTimeline.js +1 -2
  142. package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
  143. package/dist/api/app/bsky/feed/index.d.ts +1 -1
  144. package/dist/api/app/bsky/feed/index.d.ts.map +1 -1
  145. package/dist/api/app/bsky/index.d.ts +1 -1
  146. package/dist/api/app/bsky/index.d.ts.map +1 -1
  147. package/dist/api/app/bsky/notification/index.d.ts +1 -1
  148. package/dist/api/app/bsky/notification/index.d.ts.map +1 -1
  149. package/dist/api/app/bsky/notification/registerPush.d.ts +1 -1
  150. package/dist/api/app/bsky/notification/registerPush.d.ts.map +1 -1
  151. package/dist/api/app/bsky/notification/registerPush.js +6 -6
  152. package/dist/api/app/bsky/notification/registerPush.js.map +1 -1
  153. package/dist/api/app/bsky/util/resolver.d.ts +1 -1
  154. package/dist/api/app/bsky/util/resolver.d.ts.map +1 -1
  155. package/dist/api/app/bsky/util/resolver.js.map +1 -1
  156. package/dist/api/com/atproto/admin/deleteAccount.d.ts +1 -1
  157. package/dist/api/com/atproto/admin/deleteAccount.d.ts.map +1 -1
  158. package/dist/api/com/atproto/admin/deleteAccount.js.map +1 -1
  159. package/dist/api/com/atproto/admin/disableAccountInvites.d.ts +1 -1
  160. package/dist/api/com/atproto/admin/disableAccountInvites.d.ts.map +1 -1
  161. package/dist/api/com/atproto/admin/disableInviteCodes.d.ts +1 -1
  162. package/dist/api/com/atproto/admin/disableInviteCodes.d.ts.map +1 -1
  163. package/dist/api/com/atproto/admin/enableAccountInvites.d.ts +1 -1
  164. package/dist/api/com/atproto/admin/enableAccountInvites.d.ts.map +1 -1
  165. package/dist/api/com/atproto/admin/getAccountInfo.d.ts +1 -1
  166. package/dist/api/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
  167. package/dist/api/com/atproto/admin/getAccountInfo.js.map +1 -1
  168. package/dist/api/com/atproto/admin/getAccountInfos.d.ts +1 -1
  169. package/dist/api/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
  170. package/dist/api/com/atproto/admin/getInviteCodes.d.ts +2 -2
  171. package/dist/api/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
  172. package/dist/api/com/atproto/admin/getInviteCodes.js +1 -1
  173. package/dist/api/com/atproto/admin/getInviteCodes.js.map +1 -1
  174. package/dist/api/com/atproto/admin/getSubjectStatus.d.ts +1 -1
  175. package/dist/api/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
  176. package/dist/api/com/atproto/admin/index.d.ts +1 -1
  177. package/dist/api/com/atproto/admin/index.d.ts.map +1 -1
  178. package/dist/api/com/atproto/admin/index.js +8 -8
  179. package/dist/api/com/atproto/admin/index.js.map +1 -1
  180. package/dist/api/com/atproto/admin/sendEmail.d.ts +1 -1
  181. package/dist/api/com/atproto/admin/sendEmail.d.ts.map +1 -1
  182. package/dist/api/com/atproto/admin/sendEmail.js +1 -1
  183. package/dist/api/com/atproto/admin/sendEmail.js.map +1 -1
  184. package/dist/api/com/atproto/admin/updateAccountEmail.d.ts +1 -1
  185. package/dist/api/com/atproto/admin/updateAccountEmail.d.ts.map +1 -1
  186. package/dist/api/com/atproto/admin/updateAccountHandle.d.ts +1 -1
  187. package/dist/api/com/atproto/admin/updateAccountHandle.d.ts.map +1 -1
  188. package/dist/api/com/atproto/admin/updateAccountHandle.js.map +1 -1
  189. package/dist/api/com/atproto/admin/updateAccountPassword.d.ts +1 -1
  190. package/dist/api/com/atproto/admin/updateAccountPassword.d.ts.map +1 -1
  191. package/dist/api/com/atproto/admin/updateSubjectStatus.d.ts +1 -1
  192. package/dist/api/com/atproto/admin/updateSubjectStatus.d.ts.map +1 -1
  193. package/dist/api/com/atproto/admin/updateSubjectStatus.js +1 -1
  194. package/dist/api/com/atproto/admin/updateSubjectStatus.js.map +1 -1
  195. package/dist/api/com/atproto/admin/util.d.ts.map +1 -1
  196. package/dist/api/com/atproto/admin/util.js.map +1 -1
  197. package/dist/api/com/atproto/identity/getRecommendedDidCredentials.d.ts +1 -1
  198. package/dist/api/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
  199. package/dist/api/com/atproto/identity/index.d.ts +1 -1
  200. package/dist/api/com/atproto/identity/index.d.ts.map +1 -1
  201. package/dist/api/com/atproto/identity/index.js +2 -2
  202. package/dist/api/com/atproto/identity/index.js.map +1 -1
  203. package/dist/api/com/atproto/identity/requestPlcOperationSignature.d.ts +1 -1
  204. package/dist/api/com/atproto/identity/requestPlcOperationSignature.d.ts.map +1 -1
  205. package/dist/api/com/atproto/identity/requestPlcOperationSignature.js +1 -1
  206. package/dist/api/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
  207. package/dist/api/com/atproto/identity/resolveHandle.d.ts +1 -1
  208. package/dist/api/com/atproto/identity/resolveHandle.d.ts.map +1 -1
  209. package/dist/api/com/atproto/identity/resolveHandle.js +11 -14
  210. package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
  211. package/dist/api/com/atproto/identity/signPlcOperation.d.ts +1 -1
  212. package/dist/api/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
  213. package/dist/api/com/atproto/identity/signPlcOperation.js +1 -1
  214. package/dist/api/com/atproto/identity/signPlcOperation.js.map +1 -1
  215. package/dist/api/com/atproto/identity/submitPlcOperation.d.ts +1 -1
  216. package/dist/api/com/atproto/identity/submitPlcOperation.d.ts.map +1 -1
  217. package/dist/api/com/atproto/identity/submitPlcOperation.js.map +1 -1
  218. package/dist/api/com/atproto/identity/updateHandle.d.ts +1 -1
  219. package/dist/api/com/atproto/identity/updateHandle.d.ts.map +1 -1
  220. package/dist/api/com/atproto/identity/updateHandle.js +2 -2
  221. package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
  222. package/dist/api/com/atproto/index.d.ts +1 -1
  223. package/dist/api/com/atproto/index.d.ts.map +1 -1
  224. package/dist/api/com/atproto/moderation/createReport.d.ts +1 -1
  225. package/dist/api/com/atproto/moderation/createReport.d.ts.map +1 -1
  226. package/dist/api/com/atproto/moderation/createReport.js +2 -2
  227. package/dist/api/com/atproto/moderation/createReport.js.map +1 -1
  228. package/dist/api/com/atproto/moderation/index.d.ts +1 -1
  229. package/dist/api/com/atproto/moderation/index.d.ts.map +1 -1
  230. package/dist/api/com/atproto/repo/applyWrites.d.ts +1 -1
  231. package/dist/api/com/atproto/repo/applyWrites.d.ts.map +1 -1
  232. package/dist/api/com/atproto/repo/applyWrites.js +4 -5
  233. package/dist/api/com/atproto/repo/applyWrites.js.map +1 -1
  234. package/dist/api/com/atproto/repo/createRecord.d.ts +1 -1
  235. package/dist/api/com/atproto/repo/createRecord.d.ts.map +1 -1
  236. package/dist/api/com/atproto/repo/createRecord.js +3 -4
  237. package/dist/api/com/atproto/repo/createRecord.js.map +1 -1
  238. package/dist/api/com/atproto/repo/deleteRecord.d.ts +1 -1
  239. package/dist/api/com/atproto/repo/deleteRecord.d.ts.map +1 -1
  240. package/dist/api/com/atproto/repo/deleteRecord.js +3 -4
  241. package/dist/api/com/atproto/repo/deleteRecord.js.map +1 -1
  242. package/dist/api/com/atproto/repo/describeRepo.d.ts +1 -1
  243. package/dist/api/com/atproto/repo/describeRepo.d.ts.map +1 -1
  244. package/dist/api/com/atproto/repo/describeRepo.js +1 -1
  245. package/dist/api/com/atproto/repo/describeRepo.js.map +1 -1
  246. package/dist/api/com/atproto/repo/getRecord.d.ts +1 -1
  247. package/dist/api/com/atproto/repo/getRecord.d.ts.map +1 -1
  248. package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
  249. package/dist/api/com/atproto/repo/importRepo.d.ts +2 -2
  250. package/dist/api/com/atproto/repo/importRepo.d.ts.map +1 -1
  251. package/dist/api/com/atproto/repo/importRepo.js +6 -22
  252. package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
  253. package/dist/api/com/atproto/repo/index.d.ts +1 -1
  254. package/dist/api/com/atproto/repo/index.d.ts.map +1 -1
  255. package/dist/api/com/atproto/repo/index.js +2 -2
  256. package/dist/api/com/atproto/repo/index.js.map +1 -1
  257. package/dist/api/com/atproto/repo/listMissingBlobs.d.ts +1 -1
  258. package/dist/api/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
  259. package/dist/api/com/atproto/repo/listRecords.d.ts +1 -1
  260. package/dist/api/com/atproto/repo/listRecords.d.ts.map +1 -1
  261. package/dist/api/com/atproto/repo/listRecords.js +1 -1
  262. package/dist/api/com/atproto/repo/listRecords.js.map +1 -1
  263. package/dist/api/com/atproto/repo/putRecord.d.ts +1 -1
  264. package/dist/api/com/atproto/repo/putRecord.d.ts.map +1 -1
  265. package/dist/api/com/atproto/repo/putRecord.js +5 -6
  266. package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
  267. package/dist/api/com/atproto/repo/uploadBlob.d.ts +1 -1
  268. package/dist/api/com/atproto/repo/uploadBlob.d.ts.map +1 -1
  269. package/dist/api/com/atproto/server/activateAccount.d.ts +1 -1
  270. package/dist/api/com/atproto/server/activateAccount.d.ts.map +1 -1
  271. package/dist/api/com/atproto/server/activateAccount.js +1 -1
  272. package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
  273. package/dist/api/com/atproto/server/checkAccountStatus.d.ts +1 -1
  274. package/dist/api/com/atproto/server/checkAccountStatus.d.ts.map +1 -1
  275. package/dist/api/com/atproto/server/confirmEmail.d.ts +1 -1
  276. package/dist/api/com/atproto/server/confirmEmail.d.ts.map +1 -1
  277. package/dist/api/com/atproto/server/confirmEmail.js.map +1 -1
  278. package/dist/api/com/atproto/server/createAccount.d.ts +1 -1
  279. package/dist/api/com/atproto/server/createAccount.d.ts.map +1 -1
  280. package/dist/api/com/atproto/server/createAccount.js +5 -5
  281. package/dist/api/com/atproto/server/createAccount.js.map +1 -1
  282. package/dist/api/com/atproto/server/createAppPassword.d.ts +1 -1
  283. package/dist/api/com/atproto/server/createAppPassword.d.ts.map +1 -1
  284. package/dist/api/com/atproto/server/createAppPassword.js.map +1 -1
  285. package/dist/api/com/atproto/server/createInviteCode.d.ts +1 -1
  286. package/dist/api/com/atproto/server/createInviteCode.d.ts.map +1 -1
  287. package/dist/api/com/atproto/server/createInviteCodes.d.ts +1 -1
  288. package/dist/api/com/atproto/server/createInviteCodes.d.ts.map +1 -1
  289. package/dist/api/com/atproto/server/createInviteCodes.js.map +1 -1
  290. package/dist/api/com/atproto/server/createSession.d.ts +1 -1
  291. package/dist/api/com/atproto/server/createSession.d.ts.map +1 -1
  292. package/dist/api/com/atproto/server/createSession.js.map +1 -1
  293. package/dist/api/com/atproto/server/deactivateAccount.d.ts +1 -1
  294. package/dist/api/com/atproto/server/deactivateAccount.d.ts.map +1 -1
  295. package/dist/api/com/atproto/server/deleteAccount.d.ts +1 -1
  296. package/dist/api/com/atproto/server/deleteAccount.d.ts.map +1 -1
  297. package/dist/api/com/atproto/server/deleteAccount.js +1 -1
  298. package/dist/api/com/atproto/server/deleteAccount.js.map +1 -1
  299. package/dist/api/com/atproto/server/deleteSession.d.ts +1 -1
  300. package/dist/api/com/atproto/server/deleteSession.d.ts.map +1 -1
  301. package/dist/api/com/atproto/server/describeServer.d.ts +1 -1
  302. package/dist/api/com/atproto/server/describeServer.d.ts.map +1 -1
  303. package/dist/api/com/atproto/server/getAccountInviteCodes.d.ts +1 -1
  304. package/dist/api/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
  305. package/dist/api/com/atproto/server/getAccountInviteCodes.js +1 -1
  306. package/dist/api/com/atproto/server/getAccountInviteCodes.js.map +1 -1
  307. package/dist/api/com/atproto/server/getServiceAuth.d.ts +1 -1
  308. package/dist/api/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  309. package/dist/api/com/atproto/server/getServiceAuth.js +2 -2
  310. package/dist/api/com/atproto/server/getServiceAuth.js.map +1 -1
  311. package/dist/api/com/atproto/server/getSession.d.ts +1 -1
  312. package/dist/api/com/atproto/server/getSession.d.ts.map +1 -1
  313. package/dist/api/com/atproto/server/getSession.js +2 -2
  314. package/dist/api/com/atproto/server/getSession.js.map +1 -1
  315. package/dist/api/com/atproto/server/index.d.ts +1 -1
  316. package/dist/api/com/atproto/server/index.d.ts.map +1 -1
  317. package/dist/api/com/atproto/server/index.js +17 -17
  318. package/dist/api/com/atproto/server/index.js.map +1 -1
  319. package/dist/api/com/atproto/server/listAppPasswords.d.ts +1 -1
  320. package/dist/api/com/atproto/server/listAppPasswords.d.ts.map +1 -1
  321. package/dist/api/com/atproto/server/listAppPasswords.js.map +1 -1
  322. package/dist/api/com/atproto/server/refreshSession.d.ts +1 -1
  323. package/dist/api/com/atproto/server/refreshSession.d.ts.map +1 -1
  324. package/dist/api/com/atproto/server/refreshSession.js +1 -1
  325. package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
  326. package/dist/api/com/atproto/server/requestAccountDelete.d.ts +1 -1
  327. package/dist/api/com/atproto/server/requestAccountDelete.d.ts.map +1 -1
  328. package/dist/api/com/atproto/server/requestAccountDelete.js.map +1 -1
  329. package/dist/api/com/atproto/server/requestEmailConfirmation.d.ts +1 -1
  330. package/dist/api/com/atproto/server/requestEmailConfirmation.d.ts.map +1 -1
  331. package/dist/api/com/atproto/server/requestEmailConfirmation.js.map +1 -1
  332. package/dist/api/com/atproto/server/requestEmailUpdate.d.ts +1 -1
  333. package/dist/api/com/atproto/server/requestEmailUpdate.d.ts.map +1 -1
  334. package/dist/api/com/atproto/server/requestEmailUpdate.js +1 -1
  335. package/dist/api/com/atproto/server/requestEmailUpdate.js.map +1 -1
  336. package/dist/api/com/atproto/server/requestPasswordReset.d.ts +1 -1
  337. package/dist/api/com/atproto/server/requestPasswordReset.d.ts.map +1 -1
  338. package/dist/api/com/atproto/server/reserveSigningKey.d.ts +1 -1
  339. package/dist/api/com/atproto/server/reserveSigningKey.d.ts.map +1 -1
  340. package/dist/api/com/atproto/server/resetPassword.d.ts +1 -1
  341. package/dist/api/com/atproto/server/resetPassword.d.ts.map +1 -1
  342. package/dist/api/com/atproto/server/resetPassword.js.map +1 -1
  343. package/dist/api/com/atproto/server/revokeAppPassword.d.ts +1 -1
  344. package/dist/api/com/atproto/server/revokeAppPassword.d.ts.map +1 -1
  345. package/dist/api/com/atproto/server/revokeAppPassword.js.map +1 -1
  346. package/dist/api/com/atproto/server/updateEmail.d.ts +1 -1
  347. package/dist/api/com/atproto/server/updateEmail.d.ts.map +1 -1
  348. package/dist/api/com/atproto/server/updateEmail.js +1 -1
  349. package/dist/api/com/atproto/server/updateEmail.js.map +1 -1
  350. package/dist/api/com/atproto/server/util.d.ts +1 -1
  351. package/dist/api/com/atproto/server/util.d.ts.map +1 -1
  352. package/dist/api/com/atproto/server/util.js +2 -2
  353. package/dist/api/com/atproto/server/util.js.map +1 -1
  354. package/dist/api/com/atproto/sync/deprecated/getCheckout.d.ts +1 -1
  355. package/dist/api/com/atproto/sync/deprecated/getCheckout.d.ts.map +1 -1
  356. package/dist/api/com/atproto/sync/deprecated/getHead.d.ts +1 -1
  357. package/dist/api/com/atproto/sync/deprecated/getHead.d.ts.map +1 -1
  358. package/dist/api/com/atproto/sync/getBlob.d.ts +1 -1
  359. package/dist/api/com/atproto/sync/getBlob.d.ts.map +1 -1
  360. package/dist/api/com/atproto/sync/getBlob.js +2 -2
  361. package/dist/api/com/atproto/sync/getBlob.js.map +1 -1
  362. package/dist/api/com/atproto/sync/getBlocks.d.ts +1 -1
  363. package/dist/api/com/atproto/sync/getBlocks.d.ts.map +1 -1
  364. package/dist/api/com/atproto/sync/getBlocks.js +1 -1
  365. package/dist/api/com/atproto/sync/getBlocks.js.map +1 -1
  366. package/dist/api/com/atproto/sync/getLatestCommit.d.ts +1 -1
  367. package/dist/api/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
  368. package/dist/api/com/atproto/sync/getRecord.d.ts +1 -1
  369. package/dist/api/com/atproto/sync/getRecord.d.ts.map +1 -1
  370. package/dist/api/com/atproto/sync/getRecord.js +1 -1
  371. package/dist/api/com/atproto/sync/getRecord.js.map +1 -1
  372. package/dist/api/com/atproto/sync/getRepo.d.ts +2 -2
  373. package/dist/api/com/atproto/sync/getRepo.d.ts.map +1 -1
  374. package/dist/api/com/atproto/sync/getRepo.js +1 -1
  375. package/dist/api/com/atproto/sync/getRepo.js.map +1 -1
  376. package/dist/api/com/atproto/sync/getRepoStatus.d.ts +1 -1
  377. package/dist/api/com/atproto/sync/getRepoStatus.d.ts.map +1 -1
  378. package/dist/api/com/atproto/sync/getRepoStatus.js +1 -1
  379. package/dist/api/com/atproto/sync/getRepoStatus.js.map +1 -1
  380. package/dist/api/com/atproto/sync/index.d.ts +1 -1
  381. package/dist/api/com/atproto/sync/index.d.ts.map +1 -1
  382. package/dist/api/com/atproto/sync/index.js +4 -4
  383. package/dist/api/com/atproto/sync/index.js.map +1 -1
  384. package/dist/api/com/atproto/sync/listBlobs.d.ts +1 -1
  385. package/dist/api/com/atproto/sync/listBlobs.d.ts.map +1 -1
  386. package/dist/api/com/atproto/sync/listBlobs.js +1 -1
  387. package/dist/api/com/atproto/sync/listBlobs.js.map +1 -1
  388. package/dist/api/com/atproto/sync/listRepos.d.ts +2 -2
  389. package/dist/api/com/atproto/sync/listRepos.d.ts.map +1 -1
  390. package/dist/api/com/atproto/sync/listRepos.js +1 -1
  391. package/dist/api/com/atproto/sync/listRepos.js.map +1 -1
  392. package/dist/api/com/atproto/sync/subscribeRepos.d.ts +1 -1
  393. package/dist/api/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
  394. package/dist/api/com/atproto/sync/subscribeRepos.js +2 -5
  395. package/dist/api/com/atproto/sync/subscribeRepos.js.map +1 -1
  396. package/dist/api/com/atproto/sync/util.d.ts +1 -1
  397. package/dist/api/com/atproto/sync/util.d.ts.map +1 -1
  398. package/dist/api/com/atproto/temp/checkSignupQueue.d.ts +1 -1
  399. package/dist/api/com/atproto/temp/checkSignupQueue.d.ts.map +1 -1
  400. package/dist/api/com/atproto/temp/checkSignupQueue.js +1 -1
  401. package/dist/api/com/atproto/temp/checkSignupQueue.js.map +1 -1
  402. package/dist/api/com/atproto/temp/index.d.ts +1 -1
  403. package/dist/api/com/atproto/temp/index.d.ts.map +1 -1
  404. package/dist/api/index.d.ts +1 -1
  405. package/dist/api/index.d.ts.map +1 -1
  406. package/dist/api/index.js +1 -1
  407. package/dist/api/index.js.map +1 -1
  408. package/dist/api/proxy.d.ts +1 -1
  409. package/dist/api/proxy.d.ts.map +1 -1
  410. package/dist/api/proxy.js.map +1 -1
  411. package/dist/auth-routes.d.ts +1 -1
  412. package/dist/auth-routes.d.ts.map +1 -1
  413. package/dist/auth-routes.js +1 -1
  414. package/dist/auth-routes.js.map +1 -1
  415. package/dist/auth-verifier.d.ts +1 -1
  416. package/dist/auth-verifier.d.ts.map +1 -1
  417. package/dist/auth-verifier.js +2 -2
  418. package/dist/auth-verifier.js.map +1 -1
  419. package/dist/basic-routes.d.ts +3 -3
  420. package/dist/basic-routes.d.ts.map +1 -1
  421. package/dist/basic-routes.js +2 -5
  422. package/dist/basic-routes.js.map +1 -1
  423. package/dist/bsky-app-view.d.ts +15 -0
  424. package/dist/bsky-app-view.d.ts.map +1 -0
  425. package/dist/bsky-app-view.js +43 -0
  426. package/dist/bsky-app-view.js.map +1 -0
  427. package/dist/config/config.js +1 -1
  428. package/dist/config/config.js.map +1 -1
  429. package/dist/context.d.ts +15 -15
  430. package/dist/context.d.ts.map +1 -1
  431. package/dist/context.js +30 -36
  432. package/dist/context.js.map +1 -1
  433. package/dist/crawlers.d.ts.map +1 -1
  434. package/dist/crawlers.js +1 -1
  435. package/dist/crawlers.js.map +1 -1
  436. package/dist/db/db.d.ts +2 -2
  437. package/dist/db/db.d.ts.map +1 -1
  438. package/dist/db/db.js +4 -4
  439. package/dist/db/db.js.map +1 -1
  440. package/dist/db/migrator.d.ts +1 -1
  441. package/dist/db/migrator.d.ts.map +1 -1
  442. package/dist/db/tables/moderation.d.ts +1 -1
  443. package/dist/db/tables/moderation.d.ts.map +1 -1
  444. package/dist/db/util.d.ts.map +1 -1
  445. package/dist/db/util.js +1 -1
  446. package/dist/db/util.js.map +1 -1
  447. package/dist/did-cache/db/index.d.ts.map +1 -1
  448. package/dist/did-cache/db/index.js.map +1 -1
  449. package/dist/disk-blobstore.d.ts +1 -2
  450. package/dist/disk-blobstore.d.ts.map +1 -1
  451. package/dist/disk-blobstore.js +17 -18
  452. package/dist/disk-blobstore.js.map +1 -1
  453. package/dist/error.d.ts.map +1 -1
  454. package/dist/error.js +1 -1
  455. package/dist/error.js.map +1 -1
  456. package/dist/handle/index.d.ts +1 -1
  457. package/dist/handle/index.d.ts.map +1 -1
  458. package/dist/handle/index.js +1 -1
  459. package/dist/handle/index.js.map +1 -1
  460. package/dist/image/image-url-builder.d.ts +8 -0
  461. package/dist/image/image-url-builder.d.ts.map +1 -0
  462. package/dist/image/image-url-builder.js +26 -0
  463. package/dist/image/image-url-builder.js.map +1 -0
  464. package/dist/image/index.d.ts +1 -1
  465. package/dist/image/index.d.ts.map +1 -1
  466. package/dist/image/index.js +1 -1
  467. package/dist/image/index.js.map +1 -1
  468. package/dist/index.d.ts +2 -2
  469. package/dist/index.d.ts.map +1 -1
  470. package/dist/index.js +10 -10
  471. package/dist/index.js.map +1 -1
  472. package/dist/lexicon/lexicons.d.ts +56 -2
  473. package/dist/lexicon/lexicons.d.ts.map +1 -1
  474. package/dist/lexicon/lexicons.js +32 -0
  475. package/dist/lexicon/lexicons.js.map +1 -1
  476. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +19 -1
  477. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  478. package/dist/lexicon/types/app/bsky/actor/defs.js +10 -0
  479. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  480. package/dist/lexicon/types/app/bsky/feed/postgate.d.ts +1 -0
  481. package/dist/lexicon/types/app/bsky/feed/postgate.d.ts.map +1 -1
  482. package/dist/lexicon/types/app/bsky/feed/postgate.js.map +1 -1
  483. package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts +1 -0
  484. package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts.map +1 -1
  485. package/dist/lexicon/types/app/bsky/feed/threadgate.js.map +1 -1
  486. package/dist/logger.js +2 -5
  487. package/dist/logger.js.map +1 -1
  488. package/dist/mailer/index.d.ts.map +1 -1
  489. package/dist/mailer/index.js.map +1 -1
  490. package/dist/mailer/moderation.d.ts.map +1 -1
  491. package/dist/mailer/moderation.js.map +1 -1
  492. package/dist/oauth/provider.d.ts +1 -5
  493. package/dist/oauth/provider.d.ts.map +1 -1
  494. package/dist/oauth/provider.js +2 -6
  495. package/dist/oauth/provider.js.map +1 -1
  496. package/dist/pipethrough.d.ts +2 -2
  497. package/dist/pipethrough.d.ts.map +1 -1
  498. package/dist/pipethrough.js +1 -1
  499. package/dist/pipethrough.js.map +1 -1
  500. package/dist/read-after-write/types.d.ts +3 -3
  501. package/dist/read-after-write/types.d.ts.map +1 -1
  502. package/dist/read-after-write/util.d.ts +2 -2
  503. package/dist/read-after-write/util.d.ts.map +1 -1
  504. package/dist/read-after-write/util.js +1 -2
  505. package/dist/read-after-write/util.js.map +1 -1
  506. package/dist/read-after-write/viewer.d.ts +16 -31
  507. package/dist/read-after-write/viewer.d.ts.map +1 -1
  508. package/dist/read-after-write/viewer.js +28 -110
  509. package/dist/read-after-write/viewer.js.map +1 -1
  510. package/dist/redis.js +2 -2
  511. package/dist/redis.js.map +1 -1
  512. package/dist/repo/prepare.d.ts +2 -2
  513. package/dist/repo/prepare.d.ts.map +1 -1
  514. package/dist/repo/prepare.js +6 -6
  515. package/dist/repo/prepare.js.map +1 -1
  516. package/dist/repo/types.d.ts +2 -2
  517. package/dist/repo/types.d.ts.map +1 -1
  518. package/dist/scripts/rebuild-repo.d.ts +1 -1
  519. package/dist/scripts/rebuild-repo.d.ts.map +1 -1
  520. package/dist/scripts/rebuild-repo.js +3 -46
  521. package/dist/scripts/rebuild-repo.js.map +1 -1
  522. package/dist/sequencer/db/index.d.ts.map +1 -1
  523. package/dist/sequencer/db/index.js.map +1 -1
  524. package/dist/sequencer/events.d.ts +7 -7
  525. package/dist/sequencer/events.d.ts.map +1 -1
  526. package/dist/sequencer/events.js.map +1 -1
  527. package/dist/sequencer/outbox.d.ts +1 -2
  528. package/dist/sequencer/outbox.d.ts.map +1 -1
  529. package/dist/sequencer/outbox.js +0 -1
  530. package/dist/sequencer/outbox.js.map +1 -1
  531. package/dist/sequencer/sequencer.d.ts +4 -4
  532. package/dist/sequencer/sequencer.d.ts.map +1 -1
  533. package/dist/sequencer/sequencer.js +9 -9
  534. package/dist/sequencer/sequencer.js.map +1 -1
  535. package/dist/util/compression.js.map +1 -1
  536. package/dist/util/params.d.ts.map +1 -1
  537. package/dist/util/params.js +1 -1
  538. package/dist/util/params.js.map +1 -1
  539. package/dist/well-known.d.ts +3 -3
  540. package/dist/well-known.d.ts.map +1 -1
  541. package/dist/well-known.js +2 -5
  542. package/dist/well-known.js.map +1 -1
  543. package/package.json +21 -18
  544. package/src/account-manager/db/index.ts +1 -1
  545. package/src/account-manager/db/schema/authorization-request.ts +1 -1
  546. package/src/account-manager/db/schema/device.ts +1 -1
  547. package/src/account-manager/db/schema/index.ts +7 -7
  548. package/src/account-manager/db/schema/token.ts +1 -2
  549. package/src/account-manager/db/schema/used-refresh-token.ts +1 -1
  550. package/src/account-manager/helpers/account.ts +2 -2
  551. package/src/account-manager/helpers/authorization-request.ts +2 -2
  552. package/src/account-manager/helpers/device-account.ts +1 -2
  553. package/src/account-manager/helpers/device.ts +3 -3
  554. package/src/account-manager/helpers/email-token.ts +1 -1
  555. package/src/account-manager/helpers/invite.ts +1 -1
  556. package/src/account-manager/helpers/password.ts +2 -2
  557. package/src/account-manager/helpers/scrypt.ts +2 -2
  558. package/src/account-manager/helpers/token.ts +1 -1
  559. package/src/account-manager/index.ts +38 -8
  560. package/src/actor-store/actor-store-reader.ts +45 -0
  561. package/src/actor-store/actor-store-resources.ts +8 -0
  562. package/src/actor-store/actor-store-transactor.ts +31 -0
  563. package/src/actor-store/actor-store-writer.ts +17 -0
  564. package/src/actor-store/{index.ts → actor-store.ts} +26 -117
  565. package/src/actor-store/blob/reader.ts +17 -2
  566. package/src/actor-store/blob/transactor.ts +25 -10
  567. package/src/actor-store/db/index.ts +1 -1
  568. package/src/actor-store/db/schema/index.ts +3 -3
  569. package/src/actor-store/migrate.ts +1 -1
  570. package/src/actor-store/preference/transactor.ts +2 -2
  571. package/src/actor-store/record/reader.ts +125 -4
  572. package/src/actor-store/record/transactor.ts +3 -3
  573. package/src/actor-store/repo/reader.ts +1 -1
  574. package/src/actor-store/repo/sql-repo-reader.ts +7 -6
  575. package/src/actor-store/repo/sql-repo-transactor.ts +2 -2
  576. package/src/actor-store/repo/transactor.ts +16 -9
  577. package/src/api/app/bsky/actor/getPreferences.ts +4 -3
  578. package/src/api/app/bsky/actor/getProfile.ts +4 -4
  579. package/src/api/app/bsky/actor/getProfiles.ts +4 -4
  580. package/src/api/app/bsky/actor/index.ts +1 -2
  581. package/src/api/app/bsky/actor/putPreferences.ts +4 -3
  582. package/src/api/app/bsky/feed/getActorLikes.ts +4 -4
  583. package/src/api/app/bsky/feed/getAuthorFeed.ts +5 -5
  584. package/src/api/app/bsky/feed/getFeed.ts +8 -8
  585. package/src/api/app/bsky/feed/getPostThread.ts +14 -14
  586. package/src/api/app/bsky/feed/getTimeline.ts +4 -4
  587. package/src/api/app/bsky/feed/index.ts +1 -1
  588. package/src/api/app/bsky/index.ts +1 -1
  589. package/src/api/app/bsky/notification/index.ts +1 -1
  590. package/src/api/app/bsky/notification/registerPush.ts +9 -8
  591. package/src/api/app/bsky/util/resolver.ts +1 -1
  592. package/src/api/com/atproto/admin/deleteAccount.ts +2 -2
  593. package/src/api/com/atproto/admin/disableAccountInvites.ts +1 -1
  594. package/src/api/com/atproto/admin/disableInviteCodes.ts +1 -1
  595. package/src/api/com/atproto/admin/enableAccountInvites.ts +1 -1
  596. package/src/api/com/atproto/admin/getAccountInfo.ts +2 -3
  597. package/src/api/com/atproto/admin/getAccountInfos.ts +1 -1
  598. package/src/api/com/atproto/admin/getInviteCodes.ts +4 -4
  599. package/src/api/com/atproto/admin/getSubjectStatus.ts +1 -1
  600. package/src/api/com/atproto/admin/index.ts +9 -9
  601. package/src/api/com/atproto/admin/sendEmail.ts +2 -2
  602. package/src/api/com/atproto/admin/updateAccountEmail.ts +1 -1
  603. package/src/api/com/atproto/admin/updateAccountHandle.ts +1 -1
  604. package/src/api/com/atproto/admin/updateAccountPassword.ts +1 -1
  605. package/src/api/com/atproto/admin/updateSubjectStatus.ts +3 -3
  606. package/src/api/com/atproto/admin/util.ts +1 -1
  607. package/src/api/com/atproto/identity/getRecommendedDidCredentials.ts +1 -1
  608. package/src/api/com/atproto/identity/index.ts +3 -3
  609. package/src/api/com/atproto/identity/requestPlcOperationSignature.ts +2 -4
  610. package/src/api/com/atproto/identity/resolveHandle.ts +12 -16
  611. package/src/api/com/atproto/identity/signPlcOperation.ts +2 -4
  612. package/src/api/com/atproto/identity/submitPlcOperation.ts +2 -2
  613. package/src/api/com/atproto/identity/updateHandle.ts +3 -3
  614. package/src/api/com/atproto/index.ts +1 -1
  615. package/src/api/com/atproto/moderation/createReport.ts +4 -4
  616. package/src/api/com/atproto/moderation/index.ts +1 -1
  617. package/src/api/com/atproto/repo/applyWrites.ts +9 -7
  618. package/src/api/com/atproto/repo/createRecord.ts +4 -3
  619. package/src/api/com/atproto/repo/deleteRecord.ts +7 -4
  620. package/src/api/com/atproto/repo/describeRepo.ts +3 -3
  621. package/src/api/com/atproto/repo/getRecord.ts +2 -2
  622. package/src/api/com/atproto/repo/importRepo.ts +12 -27
  623. package/src/api/com/atproto/repo/index.ts +3 -3
  624. package/src/api/com/atproto/repo/listMissingBlobs.ts +1 -1
  625. package/src/api/com/atproto/repo/listRecords.ts +2 -2
  626. package/src/api/com/atproto/repo/putRecord.ts +8 -7
  627. package/src/api/com/atproto/repo/uploadBlob.ts +2 -2
  628. package/src/api/com/atproto/server/activateAccount.ts +2 -3
  629. package/src/api/com/atproto/server/checkAccountStatus.ts +1 -1
  630. package/src/api/com/atproto/server/confirmEmail.ts +1 -3
  631. package/src/api/com/atproto/server/createAccount.ts +6 -7
  632. package/src/api/com/atproto/server/createAppPassword.ts +1 -2
  633. package/src/api/com/atproto/server/createInviteCode.ts +1 -1
  634. package/src/api/com/atproto/server/createInviteCodes.ts +2 -2
  635. package/src/api/com/atproto/server/createSession.ts +1 -2
  636. package/src/api/com/atproto/server/deactivateAccount.ts +1 -1
  637. package/src/api/com/atproto/server/deleteAccount.ts +2 -2
  638. package/src/api/com/atproto/server/deleteSession.ts +1 -1
  639. package/src/api/com/atproto/server/describeServer.ts +1 -1
  640. package/src/api/com/atproto/server/getAccountInviteCodes.ts +2 -4
  641. package/src/api/com/atproto/server/getServiceAuth.ts +4 -4
  642. package/src/api/com/atproto/server/getSession.ts +3 -4
  643. package/src/api/com/atproto/server/index.ts +18 -27
  644. package/src/api/com/atproto/server/listAppPasswords.ts +1 -2
  645. package/src/api/com/atproto/server/refreshSession.ts +2 -3
  646. package/src/api/com/atproto/server/requestAccountDelete.ts +1 -3
  647. package/src/api/com/atproto/server/requestEmailConfirmation.ts +1 -3
  648. package/src/api/com/atproto/server/requestEmailUpdate.ts +2 -4
  649. package/src/api/com/atproto/server/requestPasswordReset.ts +1 -1
  650. package/src/api/com/atproto/server/reserveSigningKey.ts +1 -1
  651. package/src/api/com/atproto/server/resetPassword.ts +2 -2
  652. package/src/api/com/atproto/server/revokeAppPassword.ts +1 -2
  653. package/src/api/com/atproto/server/updateEmail.ts +2 -4
  654. package/src/api/com/atproto/server/util.ts +3 -3
  655. package/src/api/com/atproto/sync/deprecated/getCheckout.ts +1 -1
  656. package/src/api/com/atproto/sync/deprecated/getHead.ts +1 -1
  657. package/src/api/com/atproto/sync/getBlob.ts +4 -4
  658. package/src/api/com/atproto/sync/getBlocks.ts +2 -2
  659. package/src/api/com/atproto/sync/getLatestCommit.ts +1 -1
  660. package/src/api/com/atproto/sync/getRecord.ts +4 -4
  661. package/src/api/com/atproto/sync/getRepo.ts +4 -4
  662. package/src/api/com/atproto/sync/getRepoStatus.ts +2 -2
  663. package/src/api/com/atproto/sync/index.ts +5 -5
  664. package/src/api/com/atproto/sync/listBlobs.ts +2 -2
  665. package/src/api/com/atproto/sync/listRepos.ts +3 -3
  666. package/src/api/com/atproto/sync/subscribeRepos.ts +2 -2
  667. package/src/api/com/atproto/sync/util.ts +1 -1
  668. package/src/api/com/atproto/temp/checkSignupQueue.ts +2 -2
  669. package/src/api/com/atproto/temp/index.ts +1 -1
  670. package/src/api/index.ts +2 -2
  671. package/src/api/proxy.ts +1 -1
  672. package/src/auth-routes.ts +2 -3
  673. package/src/auth-verifier.ts +2 -3
  674. package/src/basic-routes.ts +4 -4
  675. package/src/bsky-app-view.ts +26 -0
  676. package/src/config/config.ts +1 -1
  677. package/src/config/env.ts +1 -1
  678. package/src/context.ts +49 -46
  679. package/src/crawlers.ts +1 -1
  680. package/src/db/db.ts +7 -7
  681. package/src/db/migrator.ts +1 -1
  682. package/src/db/tables/moderation.ts +2 -2
  683. package/src/db/util.ts +2 -2
  684. package/src/did-cache/db/index.ts +1 -1
  685. package/src/did-cache/index.ts +1 -1
  686. package/src/disk-blobstore.ts +6 -8
  687. package/src/error.ts +2 -2
  688. package/src/handle/index.ts +2 -2
  689. package/src/image/image-url-builder.ts +16 -0
  690. package/src/image/index.ts +2 -2
  691. package/src/index.ts +15 -13
  692. package/src/lexicon/lexicons.ts +37 -0
  693. package/src/lexicon/types/app/bsky/actor/defs.ts +36 -0
  694. package/src/lexicon/types/app/bsky/feed/postgate.ts +1 -0
  695. package/src/lexicon/types/app/bsky/feed/threadgate.ts +1 -0
  696. package/src/logger.ts +1 -1
  697. package/src/mailer/index.ts +1 -2
  698. package/src/mailer/moderation.ts +1 -1
  699. package/src/mailer/templates/confirm-email.d.ts +1 -1
  700. package/src/mailer/templates/delete-account.d.ts +1 -1
  701. package/src/mailer/templates/plc-operation.d.ts +1 -1
  702. package/src/mailer/templates/reset-password.d.ts +1 -1
  703. package/src/mailer/templates/update-email.d.ts +1 -1
  704. package/src/oauth/provider.ts +1 -17
  705. package/src/pipethrough.ts +4 -6
  706. package/src/read-after-write/types.ts +3 -3
  707. package/src/read-after-write/util.ts +3 -5
  708. package/src/read-after-write/viewer.ts +50 -124
  709. package/src/redis.ts +1 -1
  710. package/src/repo/prepare.ts +18 -18
  711. package/src/repo/types.ts +2 -2
  712. package/src/scripts/rebuild-repo.ts +4 -61
  713. package/src/sequencer/db/index.ts +1 -1
  714. package/src/sequencer/events.ts +3 -3
  715. package/src/sequencer/outbox.ts +1 -3
  716. package/src/sequencer/sequencer.ts +12 -12
  717. package/src/util/compression.ts +1 -1
  718. package/src/util/params.ts +1 -1
  719. package/src/well-known.ts +4 -4
  720. package/tests/_util.ts +5 -5
  721. package/tests/account-deletion.test.ts +7 -7
  722. package/tests/account-migration.test.ts +3 -3
  723. package/tests/account.test.ts +2 -2
  724. package/tests/app-passwords.test.ts +1 -1
  725. package/tests/blob-deletes.test.ts +4 -6
  726. package/tests/create-post.test.ts +3 -3
  727. package/tests/crud.test.ts +12 -16
  728. package/tests/email-confirmation.test.ts +5 -5
  729. package/tests/entryway.test.ts +5 -5
  730. package/tests/file-uploads.test.ts +7 -7
  731. package/tests/handles.test.ts +3 -3
  732. package/tests/invites-admin.test.ts +1 -1
  733. package/tests/moderation.test.ts +2 -2
  734. package/tests/moderator-auth.test.ts +4 -4
  735. package/tests/oauth.test.ts +4 -4
  736. package/tests/plc-operations.test.ts +6 -6
  737. package/tests/preferences.test.ts +2 -2
  738. package/tests/proxied/admin.test.ts +2 -2
  739. package/tests/proxied/feedgen.test.ts +4 -4
  740. package/tests/proxied/notif.test.ts +5 -5
  741. package/tests/proxied/procedures.test.ts +1 -1
  742. package/tests/proxied/proxy-catchall.test.ts +6 -6
  743. package/tests/proxied/proxy-header.test.ts +5 -5
  744. package/tests/proxied/read-after-write.test.ts +6 -6
  745. package/tests/proxied/views.test.ts +3 -3
  746. package/tests/races.test.ts +2 -2
  747. package/tests/rate-limits.test.ts +1 -1
  748. package/tests/sequencer.test.ts +7 -7
  749. package/tests/server.test.ts +4 -4
  750. package/tests/sync/list.test.ts +1 -1
  751. package/tests/sync/subscribe-repos.test.ts +9 -9
  752. package/tests/sync/sync.test.ts +3 -3
  753. package/tests/takedown-appeal.test.ts +1 -1
  754. package/tsconfig.build.tsbuildinfo +1 -1
  755. package/dist/actor-store/index.d.ts +0 -65
  756. package/dist/actor-store/index.d.ts.map +0 -1
  757. package/dist/actor-store/index.js.map +0 -1
  758. package/dist/oauth/detailed-account-store.d.ts +0 -27
  759. package/dist/oauth/detailed-account-store.d.ts.map +0 -1
  760. package/dist/oauth/detailed-account-store.js +0 -76
  761. package/dist/oauth/detailed-account-store.js.map +0 -1
  762. package/src/oauth/detailed-account-store.ts +0 -96
@@ -5,6 +5,8 @@ import { ValidationResult } from '@atproto/lexicon';
5
5
  import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
6
6
  import * as AppBskyGraphDefs from '../graph/defs';
7
7
  import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
8
+ import * as AppBskyFeedThreadgate from '../feed/threadgate';
9
+ import * as AppBskyFeedPostgate from '../feed/postgate';
8
10
  export interface ProfileViewBasic {
9
11
  did: string;
10
12
  handle: string;
@@ -92,7 +94,7 @@ export interface KnownFollowers {
92
94
  }
93
95
  export declare function isKnownFollowers(v: unknown): v is KnownFollowers;
94
96
  export declare function validateKnownFollowers(v: unknown): ValidationResult;
95
- export type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | SavedFeedsPrefV2 | PersonalDetailsPref | FeedViewPref | ThreadViewPref | InterestsPref | MutedWordsPref | HiddenPostsPref | BskyAppStatePref | LabelersPref | {
97
+ export type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | SavedFeedsPrefV2 | PersonalDetailsPref | FeedViewPref | ThreadViewPref | InterestsPref | MutedWordsPref | HiddenPostsPref | BskyAppStatePref | LabelersPref | PostInteractionSettingsPref | {
96
98
  $type: string;
97
99
  [k: string]: unknown;
98
100
  })[];
@@ -246,4 +248,20 @@ export interface Nux {
246
248
  }
247
249
  export declare function isNux(v: unknown): v is Nux;
248
250
  export declare function validateNux(v: unknown): ValidationResult;
251
+ /** Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly. */
252
+ export interface PostInteractionSettingsPref {
253
+ /** Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */
254
+ threadgateAllowRules?: (AppBskyFeedThreadgate.MentionRule | AppBskyFeedThreadgate.FollowingRule | AppBskyFeedThreadgate.ListRule | {
255
+ $type: string;
256
+ [k: string]: unknown;
257
+ })[];
258
+ /** Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed. */
259
+ postgateEmbeddingRules?: (AppBskyFeedPostgate.DisableRule | {
260
+ $type: string;
261
+ [k: string]: unknown;
262
+ })[];
263
+ [k: string]: unknown;
264
+ }
265
+ export declare function isPostInteractionSettingsPref(v: unknown): v is PostInteractionSettingsPref;
266
+ export declare function validatePostInteractionSettingsPref(v: unknown): ValidationResult;
249
267
  //# sourceMappingURL=defs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OA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yFAAyF;IACzF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,KAAK,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,GAAG,CAI1C;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAExD;AAED,yMAAyM;AACzM,MAAM,WAAW,2BAA2B;IAC1C,kLAAkL;IAClL,oBAAoB,CAAC,EAAE,CACnB,qBAAqB,CAAC,WAAW,GACjC,qBAAqB,CAAC,aAAa,GACnC,qBAAqB,CAAC,QAAQ,GAC9B;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAC1C,EAAE,CAAA;IACH,kLAAkL;IAClL,sBAAsB,CAAC,EAAE,CACrB,mBAAmB,CAAC,WAAW,GAC/B;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAC1C,EAAE,CAAA;IACH,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,6BAA6B,CAC3C,CAAC,EAAE,OAAO,GACT,CAAC,IAAI,2BAA2B,CAMlC;AAED,wBAAgB,mCAAmC,CACjD,CAAC,EAAE,OAAO,GACT,gBAAgB,CAElB"}
@@ -48,6 +48,8 @@ exports.isBskyAppProgressGuide = isBskyAppProgressGuide;
48
48
  exports.validateBskyAppProgressGuide = validateBskyAppProgressGuide;
49
49
  exports.isNux = isNux;
50
50
  exports.validateNux = validateNux;
51
+ exports.isPostInteractionSettingsPref = isPostInteractionSettingsPref;
52
+ exports.validatePostInteractionSettingsPref = validatePostInteractionSettingsPref;
51
53
  const lexicons_1 = require("../../../../lexicons");
52
54
  const util_1 = require("../../../../util");
53
55
  function isProfileViewBasic(v) {
@@ -240,4 +242,12 @@ function isNux(v) {
240
242
  function validateNux(v) {
241
243
  return lexicons_1.lexicons.validate('app.bsky.actor.defs#nux', v);
242
244
  }
245
+ function isPostInteractionSettingsPref(v) {
246
+ return ((0, util_1.isObj)(v) &&
247
+ (0, util_1.hasProp)(v, '$type') &&
248
+ v.$type === 'app.bsky.actor.defs#postInteractionSettingsPref');
249
+ }
250
+ function validatePostInteractionSettingsPref(v) {
251
+ return lexicons_1.lexicons.validate('app.bsky.actor.defs#postInteractionSettingsPref', v);
252
+ }
243
253
  //# sourceMappingURL=defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":";;AAuBA,gDAMC;AAED,4DAEC;AAgBD,sCAMC;AAED,kDAEC;AAsBD,sDAMC;AAED,kEAEC;AAWD,kDAMC;AAED,8DAEC;AAOD,0DAQC;AAED,sEAEC;AAeD,sCAMC;AAED,kDAEC;AASD,4CAMC;AAED,wDAEC;AAuBD,gDAMC;AAED,4DAEC;AAUD,gDAMC;AAED,4DAEC;AAUD,kCAMC;AAED,8CAEC;AAOD,gDAMC;AAED,4DAEC;AASD,4CAMC;AAED,wDAEC;AAQD,sDAMC;AAED,kEAEC;AAkBD,wCAMC;AAED,oDAEC;AAgBD,4CAMC;AAED,wDAEC;AAQD,0CAMC;AAED,sDAEC;AAkBD,kCAMC;AAED,8CAEC;AAQD,4CAMC;AAED,wDAEC;AAQD,8CAMC;AAED,0DAEC;AAOD,wCAMC;AAED,oDAEC;AAOD,8CAMC;AAED,0DAEC;AAYD,gDAMC;AAED,4DAEC;AAQD,wDAMC;AAED,oEAEC;AAaD,sBAIC;AAED,kCAEC;AAjhBD,mDAA+C;AAC/C,2CAAiD;AAkBjD,SAAgB,kBAAkB,CAAC,CAAU;IAC3C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,K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,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,0CAA0C,CACvD,CAAA;AACH,CAAC;AAED,SAAgB,4BAA4B,CAAC,CAAU;IACrD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAA;AACzE,CAAC;AAaD,SAAgB,KAAK,CAAC,CAAU;IAC9B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,yBAAyB,CACzE,CAAA;AACH,CAAC;AAED,SAAgB,WAAW,CAAC,CAAU;IACpC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,yBAAyB,EAAE,CAAC,CAAC,CAAA;AACxD,CAAC;AAmBD,SAAgB,6BAA6B,CAC3C,CAAU;IAEV,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,iDAAiD,CAC9D,CAAA;AACH,CAAC;AAED,SAAgB,mCAAmC,CACjD,CAAU;IAEV,OAAO,mBAAQ,CAAC,QAAQ,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAA;AAChF,CAAC"}
@@ -8,6 +8,7 @@ export interface Record {
8
8
  post: string;
9
9
  /** List of AT-URIs embedding this post that the author has detached from. */
10
10
  detachedEmbeddingUris?: string[];
11
+ /** List of rules defining who can embed this post. If value is an empty array or is undefined, no particular rules apply and anyone can embed. */
11
12
  embeddingRules?: (DisableRule | {
12
13
  $type: string;
13
14
  [k: string]: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"postgate.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/postgate.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,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,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAA;AACnE,CAAC"}
1
+ {"version":3,"file":"postgate.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/postgate.ts"],"names":[],"mappings":";;AAmBA,4BAOC;AAED,wCAEC;AAOD,sCAMC;AAED,kDAEC;AA3CD,mDAA+C;AAC/C,2CAAiD;AAcjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,6BAA6B;YACxC,CAAC,CAAC,KAAK,KAAK,wBAAwB,CAAC,CACxC,CAAA;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAA;AAC5D,CAAC;AAOD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,oCAAoC,CACjD,CAAA;AACH,CAAC;AAED,SAAgB,mBAAmB,CAAC,CAAU;IAC5C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAA;AACnE,CAAC"}
@@ -5,6 +5,7 @@ import { ValidationResult } from '@atproto/lexicon';
5
5
  export interface Record {
6
6
  /** Reference (AT-URI) to the post record. */
7
7
  post: string;
8
+ /** List of rules defining who can reply to this post. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */
8
9
  allow?: (MentionRule | FollowingRule | ListRule | {
9
10
  $type: string;
10
11
  [k: string]: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"threadgate.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/threadgate.ts"],"names":[],"mappings":"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ACxC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,wCAAwC,CACrD,CAAA;AACH,CAAC;AAED,SAAgB,qBAAqB,CAAC,CAAU;IAC9C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAA;AACvE,CAAC;AAQD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,mCAAmC,CAChD,CAAA;AACH,CAAC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAA;AAClE,CAAC"}
1
+ {"version":3,"file":"threadgate.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/threadgate.ts"],"names":[],"mappings":";;AAwBA,4BAOC;AAED,wCAEC;AAOD,sCAMC;AAED,kDAEC;AAOD,0CAMC;AAED,sDAEC;AAQD,gCAMC;AAED,4CAEC;AAnFD,mDAA+C;AAC/C,2CAAiD;AAmBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,+BAA+B;YAC1C,CAAC,CAAC,KAAK,KAAK,0BAA0B,CAAC,CAC1C,CAAA;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,+BAA+B,EAAE,CAAC,CAAC,CAAA;AAC9D,CAAC;AAOD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,sCAAsC,CACnD,CAAA;AACH,CAAC;AAED,SAAgB,mBAAmB,CAAC,CAAU;IAC5C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAA;AACrE,CAAC;AAOD,SAAgB,eAAe,CAAC,CAAU;IACxC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,wCAAwC,CACrD,CAAA;AACH,CAAC;AAED,SAAgB,qBAAqB,CAAC,CAAU;IAC9C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAA;AACvE,CAAC;AAQD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,mCAAmC,CAChD,CAAA;AACH,CAAC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAA;AAClE,CAAC"}
package/dist/logger.js CHANGED
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.loggerMiddleware = exports.oauthLogger = exports.fetchLogger = exports.httpLogger = exports.crawlerLogger = exports.labelerLogger = exports.mailerLogger = exports.seqLogger = exports.redisLogger = exports.readStickyLogger = exports.didCacheLogger = exports.dbLogger = void 0;
7
4
  const pino_1 = require("pino");
8
- const pino_http_1 = __importDefault(require("pino-http"));
5
+ const pino_http_1 = require("pino-http");
9
6
  const common_1 = require("@atproto/common");
10
7
  exports.dbLogger = (0, common_1.subsystemLogger)('pds:db');
11
8
  exports.didCacheLogger = (0, common_1.subsystemLogger)('pds:did-cache');
@@ -18,7 +15,7 @@ exports.crawlerLogger = (0, common_1.subsystemLogger)('pds:crawler');
18
15
  exports.httpLogger = (0, common_1.subsystemLogger)('pds');
19
16
  exports.fetchLogger = (0, common_1.subsystemLogger)('pds:fetch');
20
17
  exports.oauthLogger = (0, common_1.subsystemLogger)('pds:oauth');
21
- exports.loggerMiddleware = (0, pino_http_1.default)({
18
+ exports.loggerMiddleware = (0, pino_http_1.pinoHttp)({
22
19
  logger: exports.httpLogger,
23
20
  serializers: {
24
21
  err: (err) => ({
@@ -1 +1 @@
1
- {"version":3,"file":"logger.js","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":";;;;;;AACA,+BAAqC;AACrC,0DAAgC;AAChC,4CAAmE;AAEtD,QAAA,QAAQ,GAAG,IAAA,wBAAe,EAAC,QAAQ,CAAC,CAAA;AACpC,QAAA,cAAc,GAAG,IAAA,wBAAe,EAAC,eAAe,CAAC,CAAA;AACjD,QAAA,gBAAgB,GAAG,IAAA,wBAAe,EAAC,iBAAiB,CAAC,CAAA;AACrD,QAAA,WAAW,GAAG,IAAA,wBAAe,EAAC,WAAW,CAAC,CAAA;AAC1C,QAAA,SAAS,GAAG,IAAA,wBAAe,EAAC,eAAe,CAAC,CAAA;AAC5C,QAAA,YAAY,GAAG,IAAA,wBAAe,EAAC,YAAY,CAAC,CAAA;AAC5C,QAAA,aAAa,GAAG,IAAA,wBAAe,EAAC,aAAa,CAAC,CAAA;AAC9C,QAAA,aAAa,GAAG,IAAA,wBAAe,EAAC,aAAa,CAAC,CAAA;AAC9C,QAAA,UAAU,GAAG,IAAA,wBAAe,EAAC,KAAK,CAAC,CAAA;AACnC,QAAA,WAAW,GAAG,IAAA,wBAAe,EAAC,WAAW,CAAC,CAAA;AAC1C,QAAA,WAAW,GAA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IAOhB,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO;CAiBpE"}
1
+ {"version":3,"file":"moderation.d.ts","sourceRoot":"","sources":["../../src/mailer/moderation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,IAAI,MAAM,uBAAuB,CAAA;AACxC,OAAO,aAAa,MAAM,+BAA+B,CAAA;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAGxC,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAc;IAC5B,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,eAAe,CAAC,CAAA;gBAGrD,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,eAAe,CAAC,EACvD,MAAM,EAAE,YAAY;IAOhB,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO;CAiBpE"}
@@ -1 +1 @@
1
- {"version":3,"file":"moderation.js","sourceRoot":"","sources":["../../src/mailer/moderation.ts"],"names":[],"mappings":";;;AAEA,qEAAoD;AAGpD,sCAAwC;AAExC,MAAa,gBAAgB;IAI3B,YACE,WAAuD,EACvD,MAAoB;QALd;;;;;WAAoB;QAC5B;;;;;WAAuD;QAMrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,SAAS,EAAE,IAAA,oCAAU,GAAE,CAAC,CAAA;IAC/C,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAuB,EAAE,QAAsB;QACjE,MAAM,IAAI,GAAG;YACX,GAAG,QAAQ;YACX,IAAI,EAAE,OAAO;YACb,IAAI,E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,EAAE,CAAC,CAAC,CAC/B,CAAA;QACH,CAAC;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AA9BD,4CA8BC"}
@@ -1,14 +1,10 @@
1
1
  import { OAuthProvider, OAuthProviderOptions } from '@atproto/oauth-provider';
2
2
  import { AccountManager } from '../account-manager/index';
3
- import { ActorStore } from '../actor-store/index';
4
- import { LocalViewerCreator } from '../read-after-write/index';
5
3
  export type AuthProviderOptions = {
6
4
  accountManager: AccountManager;
7
- actorStore: ActorStore;
8
- localViewer: LocalViewerCreator;
9
5
  } & Pick<OAuthProviderOptions, 'issuer' | 'redis' | 'keyset' | 'dpopSecret' | 'customization'> & Required<Pick<OAuthProviderOptions, 'safeFetch'>>;
10
6
  export declare class PdsOAuthProvider extends OAuthProvider {
11
- constructor({ accountManager, actorStore, localViewer, keyset, redis, dpopSecret, issuer, customization, safeFetch, }: AuthProviderOptions);
7
+ constructor({ accountManager, keyset, redis, dpopSecret, issuer, customization, safeFetch, }: AuthProviderOptions);
12
8
  createRouter(): import("@atproto/oauth-provider").Handler<void, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>>;
13
9
  }
14
10
  //# sourceMappingURL=provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/oauth/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACb,oBAAoB,EACrB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,MAAM,MAAM,mBAAmB,GAAG;IAChC,cAAc,EAAE,cAAc,CAAA;IAC9B,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,kBAAkB,CAAA;CAChC,GAAG,IAAI,CACN,oBAAoB,EACpB,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,YAAY,GAAG,eAAe,CAC/D,GACC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,WAAW,CAAC,CAAC,CAAA;AAEnD,qBAAa,gBAAiB,SAAQ,aAAa;gBACrC,EACV,cAAc,EACd,UAAU,EACV,WAAW,EACX,MAAM,EACN,KAAK,EACL,UAAU,EACV,MAAM,EACN,aAAa,EACb,SAAS,GACV,EAAE,mBAAmB;IAwCtB,YAAY;CAKb"}
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/oauth/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACb,oBAAoB,EACrB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAGzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,cAAc,EAAE,cAAc,CAAA;CAC/B,GAAG,IAAI,CACN,oBAAoB,EACpB,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,YAAY,GAAG,eAAe,CAC/D,GACC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,WAAW,CAAC,CAAC,CAAA;AAEnD,qBAAa,gBAAiB,SAAQ,aAAa;gBACrC,EACV,cAAc,EACd,MAAM,EACN,KAAK,EACL,UAAU,EACV,MAAM,EACN,aAAa,EACb,SAAS,GACV,EAAE,mBAAmB;IAgCtB,YAAY;CAKb"}
@@ -3,9 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PdsOAuthProvider = void 0;
4
4
  const oauth_provider_1 = require("@atproto/oauth-provider");
5
5
  const logger_1 = require("../logger");
6
- const detailed_account_store_1 = require("./detailed-account-store");
7
6
  class PdsOAuthProvider extends oauth_provider_1.OAuthProvider {
8
- constructor({ accountManager, actorStore, localViewer, keyset, redis, dpopSecret, issuer, customization, safeFetch, }) {
7
+ constructor({ accountManager, keyset, redis, dpopSecret, issuer, customization, safeFetch, }) {
9
8
  super({
10
9
  issuer,
11
10
  keyset,
@@ -13,6 +12,7 @@ class PdsOAuthProvider extends oauth_provider_1.OAuthProvider {
13
12
  redis,
14
13
  safeFetch,
15
14
  customization,
15
+ store: accountManager,
16
16
  metadata: {
17
17
  // PdsOAuthProvider is used when the PDS is both an authorization server
18
18
  // & resource server, in which case the issuer origin is also the
@@ -20,10 +20,6 @@ class PdsOAuthProvider extends oauth_provider_1.OAuthProvider {
20
20
  protected_resources: [new URL(issuer).origin],
21
21
  scopes_supported: ['transition:generic', 'transition:chat.bsky'],
22
22
  },
23
- accountStore: new detailed_account_store_1.DetailedAccountStore(accountManager, actorStore, localViewer),
24
- requestStore: accountManager,
25
- deviceStore: accountManager,
26
- tokenStore: accountManager,
27
23
  // If the PDS is both an authorization server & resource server (no
28
24
  // entryway), there is no need to use JWTs as access tokens. Instead,
29
25
  // the PDS can use tokenId as access tokens. This allows the PDS to
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/oauth/provider.ts"],"names":[],"mappings":";;;AAAA,4DAIgC;AAIhC,sCAAuC;AAEvC,qEAA+D;AAY/D,MAAa,gBAAiB,SAAQ,8BAAa;IACjD,YAAY,EACV,cAAc,EACd,UAAU,EACV,WAAW,EACX,MAAM,EACN,KAAK,EACL,UAAU,EACV,MAAM,EACN,aAAa,EACb,SAAS,GACW;QACpB,KAAK,CAAC;YACJ,MAAM;YACN,MAAM;YACN,UAAU;YACV,KAAK;YACL,SAAS;YACT,aAAa;YACb,QAAQ,EAAE;gBACR,wEAAwE;gBACxE,iEAAiE;gBACjE,uBAAuB;gBACvB,mBAAmB,EAAE,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC;gBAE7C,gBAAgB,EAAE,CAAC,oBAAoB,EAAE,sBAAsB,CAAC;aACjE;YAED,YAAY,EAAE,IAAI,6CAAoB,CACpC,cAAc,EACd,UAAU,EACV,WAAW,CACZ;YACD,YAAY,EAAE,cAAc;YAC5B,WAAW,EA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,EAAE,CAAC,CAAC;gBAC3B,YAAY,EAAE,QAAQ,KAAK,mBAAmB;gBAC9C,8CAA8C;gBAC9C,SAAS,EAAE,SAAS;aACrB,CAAC;SACH,CAAC,CAAA;IACJ,CAAC;IAED,YAAY;QACV,OAAO,IAAI,CAAC,WAAW,CAAC;YACtB,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,oBAAW,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,EAAE,OAAO,CAAC;SACzE,CAAC,CAAA;IACJ,CAAC;CACF;AA9CD,4CA8CC"}
@@ -1,7 +1,7 @@
1
- import express from 'express';
2
1
  import { Readable } from 'node:stream';
2
+ import express from 'express';
3
3
  import { CatchallHandler, HandlerPipeThroughBuffer, HandlerPipeThroughStream } from '@atproto/xrpc-server';
4
- import AppContext from './context';
4
+ import { AppContext } from './context';
5
5
  export declare const proxyHandler: (ctx: AppContext) => CatchallHandler;
6
6
  export type PipethroughOptions = {
7
7
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"pipethrough.d.ts","sourceRoot":"","sources":["../src/pipethrough.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,OAAO,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAA;AAWnD,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EAKzB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,UAAU,MAAM,WAAW,CAAA;AAIlC,eAAO,MAAM,YAAY,QAAS,UAAU,KAAG,eA2E9C,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,wBAAsB,WAAW,CAC/B,GAAG,EAAE,UAAU,EACf,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PipeThroughBuffer;
8
8
  const node_stream_1 = require("node:stream");
9
- const xrpc_utils_1 = require("@atproto-labs/xrpc-utils");
10
9
  const common_1 = require("@atproto/common");
11
10
  const xrpc_1 = require("@atproto/xrpc");
12
11
  const xrpc_server_1 = require("@atproto/xrpc-server");
12
+ const xrpc_utils_1 = require("@atproto-labs/xrpc-utils");
13
13
  const lexicons_1 = require("./lexicon/lexicons");
14
14
  const logger_1 = require("./logger");
15
15
  const proxyHandler = (ctx) => {
@@ -1 +1 @@
1
- {"version":3,"file":"pipethrough.js","sourceRoot":"","sources":["../src/pipethrough.ts"],"names":[],"mappings":";;;AA4HA,kCAgEC;AAKD,wCAcC;AA2JD,8CAGC;AAyDD,kDAWC;AA/aD,6CAAmD;AAGnD,yDAAsE;AACtE,4CAKwB;AACxB,wCAA0E;AAC1E,sDAQ6B;AAG7B,iDAAwC;AACxC,qCAAqC;AAE9B,MAAM,YAAY,GAAG,CAAC,GAAe,EAAmB,EAAE;IAC/D,MAAM,cAAc,GAAG,GAAG,CAAC,YAAY,CAAC,cAAc,EAAE,CAAA;IACxD,OAAO,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC9B,eAAe;QACf,IAAI,CAAC;YACH,IACE,GAAG,CAAC,MAAM,KAAK,KAAK;gBACpB,GAAG,CAAC,MAAM,KAAK,MAAM;gBACrB,GAAG,CAAC,MAAM,KAAK,MAAM,EACrB,CAAC;gBACD,MAAM,IAAI,uBAAe,CACvB,mBAAY,CAAC,cAAc,EAC3B,0CAA0C,CAC3C,CAAA;YACH,CAAC;YAED,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAA;YACpD,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACnC,qDAAqD;gBACrD,MAAM,IAAI,iCAAmB,CAAC,8BAA8B,CAAC,CAAA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AAC,iCAAiC,CAAC;QAC3C,KAAK,cAAG,CAAC,+BAA+B;YACtC,OAAO,GAAG,CAAC,GAAG,CAAC,UAAU,CAAA;QAC3B,KAAK,cAAG,CAAC,gCAAgC;YACvC,OAAO,GAAG,CAAC,GAAG,CAAC,aAAa,CAAA;QAC9B;YACE,OAAO,GAAG,CAAC,GAAG,CAAC,WAAW,CAAA;IAC9B,CAAC;AACH,CAAC,CAAA;AAED,MAAM,UAAU,GAAG,CAAC,GAAY,EAAsB,EAAE;IACtD,OAAO,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAA;AAClD,CAAC,CAAA;AAED,SAAS,gBAAgB,CAAuB,GAAY;IAC1D,mBAAU,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,EAAE,oCAAoC,CAAC,CAAA;AAChE,CAAC"}
@@ -1,8 +1,8 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import { AtUri } from '@atproto/syntax';
3
1
  import { CID } from 'multiformats/cid';
4
- import { Record as PostRecord } from '../lexicon/types/app/bsky/feed/post';
2
+ import { AtUri } from '@atproto/syntax';
3
+ import { Headers } from '@atproto/xrpc';
5
4
  import { Record as ProfileRecord } from '../lexicon/types/app/bsky/actor/profile';
5
+ import { Record as PostRecord } from '../lexicon/types/app/bsky/feed/post';
6
6
  import { LocalViewer } from './viewer';
7
7
  export type LocalRecords = {
8
8
  count: number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/read-after-write/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAAE,MAAM,IAAI,aAAa,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MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAEtC,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAA;IAC7C,KAAK,EAAE,cAAc,CAAC,UAAU,CAAC,EAAE,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI;IAC9B,GAAG,EAAE,KAAK,CAAA;IACV,GAAG,EAAE,GAAG,CAAA;IACR,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,CAAC,CAAA;CACV,CAAA;AAED,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI;IACtB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,CAAC,CAAA;CACR,CAAA;AAED,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,CACvB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,CAAC,EACX,KAAK,EAAE,YAAY,EACnB,SAAS,EAAE,MAAM,KACd,OAAO,CAAC,CAAC,CAAC,CAAA;AAEf,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;IAC/B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,CAAC,CAAA;IACP,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC,CAAA"}
@@ -1,7 +1,7 @@
1
+ import express from 'express';
1
2
  import { HeadersMap } from '@atproto/xrpc';
2
3
  import { HandlerPipeThrough } from '@atproto/xrpc-server';
3
- import express from 'express';
4
- import AppContext from '../context';
4
+ import { AppContext } from '../context';
5
5
  import { HandlerResponse, LocalRecords, MungeFn } from './types';
6
6
  export declare const getRepoRev: (headers: HeadersMap) => string | undefined;
7
7
  export declare const getLocalLag: (local: LocalRecords) => number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/read-after-write/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EACL,kBAAkB,EAGnB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,OAAO,UAAU,MAAM,YAAY,CAAA;AAQnC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAKhE,eAAO,MAAM,UAAU,YAAa,UAAU,KAAG,MAAM,GAAG,SAEzD,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,YAAY,KAAG,MAAM,GAAG,SAS1D,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAU,CAAC,OAC1C,UAAU,UACP;IAAE,GAAG,EAAE,OAAO,CAAC,OAAO,CAAC;IAAC,IAAI,EAAE;QAAE,WAAW,EAAE;YAAE,GAAG,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;CAAE,SACjE,OAAO,CAAC,CAAC,CAAC,KAChB,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,kBAAkB,CA4CjD,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,QAC9B,CAAC,QACD,MAAM,KACX,eAAe,CAAC,CAAC,CASlB,CAAA"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/read-after-write/util.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EACL,kBAAkB,EAGnB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAQvC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAIhE,eAAO,MAAM,UAAU,YAAa,UAAU,KAAG,MAAM,GAAG,SAEzD,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,YAAY,KAAG,MAAM,GAAG,SAS1D,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAU,CAAC,OAC1C,UAAU,UACP;IAAE,GAAG,EAAE,OAAO,CAAC,OAAO,CAAC;IAAC,IAAI,EAAE;QAAE,WAAW,EAAE;YAAE,GAAG,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;CAAE,SACjE,OAAO,CAAC,CAAC,CAAC,KAChB,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,kBAAkB,CA4CjD,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,QAC9B,CAAC,QACD,MAAM,KACX,eAAe,CAAC,CAAC,CASlB,CAAA"}
@@ -6,7 +6,6 @@ const xrpc_server_1 = require("@atproto/xrpc-server");
6
6
  const lexicons_1 = require("../lexicon/lexicons");
7
7
  const logger_1 = require("../logger");
8
8
  const pipethrough_1 = require("../pipethrough");
9
- const viewer_1 = require("./viewer");
10
9
  const REPO_REV_HEADER = 'atproto-repo-rev';
11
10
  const getRepoRev = (headers) => {
12
11
  return headers[REPO_REV_HEADER];
@@ -42,7 +41,7 @@ const pipethroughReadAfterWrite = async (ctx, reqCtx, munge) => {
42
41
  try {
43
42
  const lxm = (0, xrpc_server_1.parseReqNsid)(req);
44
43
  return await ctx.actorStore.read(requester, async (store) => {
45
- const local = await (0, viewer_1.getRecordsSinceRev)(store, rev);
44
+ const local = await store.record.getRecordsSinceRev(rev);
46
45
  if (local.count === 0)
47
46
  return streamRes;
48
47
  const { buffer } = (bufferRes = await (0, pipethrough_1.asPipeThroughBuffer)(streamRes));
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../../src/read-after-write/util.ts"],"names":[],"mappings":";;;AAAA,8CAA4C;AAE5C,sDAI6B;AAI7B,kDAA8C;AAC9C,sCAAmD;AACnD,gDAIuB;AAEvB,qCAA6C;AAE7C,MAAM,eAAe,GAAG,kBAAkB,CAAA;AAEnC,MAAM,UA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,CAAC,GAAG,EAAE,GAAG,CAAM,CAAA;YAE/D,MAAM,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;YAE1C,MAAM,IAAI,GAAG,MAAM,KAAK,CAAC,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,CAAC,CAAA;YAClE,OAAO,IAAA,4BAAoB,EAAC,IAAI,EAAE,IAAA,mBAAW,EAAC,KAAK,CAAC,CAAC,CAAA;QACvD,CAAC,CAAC,CAAA;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,uEAAuE;QACvE,IAAI,CAAC,SAAS,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ;YAAE,MAAM,GAAG,CAAA;QAEvD,yBAAG,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,iCAAiC,CAAC,CAAA;QAC/D,OAAO,SAAS,IAAI,SAAS,CAAA;IAC/B,CAAC;AACH,CAAC,CAAA;AAhDY,QAAA,yBAAyB,6BAgDrC;AAEM,MAAM,oBAAoB,GAAG,CAClC,IAAO,EACP,GAAY,EACQ,EAAE,CAAC,CAAC;IACxB,QAAQ,EAAE,kBAAkB;IAC5B,IAAI;IACJ,OAAO,EACL,GAAG,KAAK,SAAS;QACf,CAAC,CAAC;YACE,sBAAsB,EAAE,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;SACzC;QACH,CAAC,CAAC,SAAS;CAChB,CAAC,CAAA;AAZW,QAAA,oBAAoB,wBAY/B"}
@@ -1,40 +1,26 @@
1
- import { AtpAgent } from '@atproto/api';
2
- import { Record as PostRecord } from '../lexicon/types/app/bsky/feed/post';
1
+ import { AccountManager } from '../account-manager';
2
+ import { ActorStoreReader } from '../actor-store/actor-store-reader';
3
+ import { BskyAppView } from '../bsky-app-view';
4
+ import { ImageUrlBuilder } from '../image/image-url-builder';
5
+ import { ProfileView, ProfileViewBasic, ProfileViewDetailed } from '../lexicon/types/app/bsky/actor/defs';
3
6
  import { Record as ProfileRecord } from '../lexicon/types/app/bsky/actor/profile';
4
- import { ProfileViewBasic, ProfileView, ProfileViewDetailed } from '../lexicon/types/app/bsky/actor/defs';
5
- import { FeedViewPost, PostView } from '../lexicon/types/app/bsky/feed/defs';
6
- import { Main as EmbedImages } from '../lexicon/types/app/bsky/embed/images';
7
7
  import { Main as EmbedExternal } from '../lexicon/types/app/bsky/embed/external';
8
+ import { Main as EmbedImages } from '../lexicon/types/app/bsky/embed/images';
8
9
  import { Main as EmbedRecord, View as EmbedRecordView } from '../lexicon/types/app/bsky/embed/record';
9
10
  import { Main as EmbedRecordWithMedia } from '../lexicon/types/app/bsky/embed/recordWithMedia';
10
- import { ActorStoreReader } from '../actor-store';
11
+ import { FeedViewPost, PostView } from '../lexicon/types/app/bsky/feed/defs';
12
+ import { Record as PostRecord } from '../lexicon/types/app/bsky/feed/post';
11
13
  import { LocalRecords, RecordDescript } from './types';
12
- import { AccountManager } from '../account-manager';
13
14
  type CommonSignedUris = 'avatar' | 'banner' | 'feed_thumbnail' | 'feed_fullsize';
14
- export type LocalViewerCreator = (actorStore: ActorStoreReader) => LocalViewer;
15
+ export type LocalViewerCreator = (actorStoreReader: ActorStoreReader) => LocalViewer;
15
16
  export declare class LocalViewer {
16
- did: string;
17
- actorStore: ActorStoreReader;
18
- accountManager: AccountManager;
19
- pdsHostname: string;
20
- appViewAgent?: AtpAgent;
21
- appviewDid?: string;
22
- appviewCdnUrlPattern?: string;
23
- constructor(params: {
24
- actorStore: ActorStoreReader;
25
- accountManager: AccountManager;
26
- pdsHostname: string;
27
- appViewAgent?: AtpAgent;
28
- appviewDid?: string;
29
- appviewCdnUrlPattern?: string;
30
- });
31
- static creator(params: {
32
- accountManager: AccountManager;
33
- pdsHostname: string;
34
- appViewAgent?: AtpAgent;
35
- appviewDid?: string;
36
- appviewCdnUrlPattern?: string;
37
- }): LocalViewerCreator;
17
+ readonly actorStoreReader: ActorStoreReader;
18
+ readonly accountManager: AccountManager;
19
+ readonly imageUrlBuilder: ImageUrlBuilder;
20
+ readonly bskyAppView?: BskyAppView | undefined;
21
+ constructor(actorStoreReader: ActorStoreReader, accountManager: AccountManager, imageUrlBuilder: ImageUrlBuilder, bskyAppView?: BskyAppView | undefined);
22
+ get did(): string;
23
+ static creator(accountManager: AccountManager, imageUrlBuilder: ImageUrlBuilder, bskyAppView?: BskyAppView): LocalViewerCreator;
38
24
  getImageUrl(pattern: CommonSignedUris, cid: string): string;
39
25
  serviceAuthHeaders(did: string, lxm: string): Promise<{
40
26
  headers: {
@@ -134,6 +120,5 @@ export declare class LocalViewer {
134
120
  updateProfileView(view: ProfileView, record: ProfileRecord): ProfileView;
135
121
  updateProfileDetailed(view: ProfileViewDetailed, record: ProfileRecord): ProfileViewDetailed;
136
122
  }
137
- export declare const getRecordsSinceRev: (actorStore: ActorStoreReader, rev: string) => Promise<LocalRecords>;
138
123
  export {};
139
124
  //# sourceMappingURL=viewer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"viewer.d.ts","sourceRoot":"","sources":["../../src/read-after-write/viewer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,yCAAyC,CAAA;AAEjF,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,mBAAmB,EACpB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,YAAY,EAEZ,QAAQ,EACT,MAAM,qCAAqC,CAAA;AAE5C,OAAO,EACL,IAAI,IAAI,WAAW,EAEpB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,IAAI,IAAI,aAAa,EAEtB,MAAM,0CAA0C,CAAA;AACjD,OAAO,EACL,IAAI,IAAI,WAAW,EAEnB,IAAI,IAAI,eAAe,EAExB,MAAM,wCAAwC,CAAA;AAC/C,OAAO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