@geekity/cms 0.42.1 → 0.42.2

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 (728) hide show
  1. package/dist/admin/admin-bar.d.ts +2 -3
  2. package/dist/admin/admin-bar.d.ts.map +1 -1
  3. package/dist/admin/admin-bar.js +4 -5
  4. package/dist/admin/admin-bar.js.map +1 -1
  5. package/dist/admin/app-activity.d.ts +1 -1
  6. package/dist/admin/appearance.d.ts +5 -5
  7. package/dist/admin/appearance.js +5 -5
  8. package/dist/admin/comments.d.ts +3 -3
  9. package/dist/admin/comments.js +2 -2
  10. package/dist/admin/comments.js.map +1 -1
  11. package/dist/admin/connected-apps.d.ts +1 -1
  12. package/dist/admin/connected-apps.js +1 -1
  13. package/dist/admin/credentials.d.ts +3 -3
  14. package/dist/admin/credentials.js +3 -3
  15. package/dist/admin/dashboard.js +2 -2
  16. package/dist/admin/dashboard.js.map +1 -1
  17. package/dist/admin/documents.d.ts +4 -4
  18. package/dist/admin/documents.d.ts.map +1 -1
  19. package/dist/admin/documents.js +150 -144
  20. package/dist/admin/documents.js.map +1 -1
  21. package/dist/admin/editor-actions.d.ts +1 -1
  22. package/dist/admin/editor-actions.js +1 -1
  23. package/dist/admin/federation.d.ts +11 -11
  24. package/dist/admin/federation.d.ts.map +1 -1
  25. package/dist/admin/federation.js +10 -10
  26. package/dist/admin/flash.d.ts +8 -0
  27. package/dist/admin/flash.d.ts.map +1 -1
  28. package/dist/admin/flash.js +11 -0
  29. package/dist/admin/flash.js.map +1 -1
  30. package/dist/admin/indieauth-consent.d.ts +1 -1
  31. package/dist/admin/indieauth-consent.js +1 -1
  32. package/dist/admin/legacy-migrations.d.ts +20 -19
  33. package/dist/admin/legacy-migrations.d.ts.map +1 -1
  34. package/dist/admin/legacy-migrations.js +14 -13
  35. package/dist/admin/legacy-migrations.js.map +1 -1
  36. package/dist/admin/media.js +1 -1
  37. package/dist/admin/menu.d.ts +1 -1
  38. package/dist/admin/menu.js +4 -4
  39. package/dist/admin/menu.js.map +1 -1
  40. package/dist/admin/messages.d.ts +2 -2
  41. package/dist/admin/messages.js +2 -2
  42. package/dist/admin/navigation.d.ts +3 -3
  43. package/dist/admin/navigation.js +3 -3
  44. package/dist/admin/personal-data.d.ts +1 -1
  45. package/dist/admin/personal-data.js +1 -1
  46. package/dist/admin/plugins.d.ts +1 -1
  47. package/dist/admin/plugins.js +1 -1
  48. package/dist/admin/preview.js +3 -3
  49. package/dist/admin/preview.js.map +1 -1
  50. package/dist/admin/recovery.d.ts +1 -1
  51. package/dist/admin/recovery.js +1 -1
  52. package/dist/admin/routes.d.ts +3 -3
  53. package/dist/admin/routes.js +14 -14
  54. package/dist/admin/routes.js.map +1 -1
  55. package/dist/admin/settings-discussion.d.ts +3 -3
  56. package/dist/admin/settings-discussion.js +3 -3
  57. package/dist/admin/settings-federation.d.ts +2 -2
  58. package/dist/admin/settings-federation.js +5 -5
  59. package/dist/admin/settings-federation.js.map +1 -1
  60. package/dist/admin/settings-general.d.ts +1 -1
  61. package/dist/admin/settings-general.js +2 -2
  62. package/dist/admin/settings-general.js.map +1 -1
  63. package/dist/admin/settings-page.d.ts +2 -2
  64. package/dist/admin/settings-page.js +1 -1
  65. package/dist/admin/settings-pages.d.ts +1 -1
  66. package/dist/admin/settings-pages.js +1 -1
  67. package/dist/admin/settings-reading.d.ts +2 -2
  68. package/dist/admin/settings-reading.js +2 -2
  69. package/dist/admin/syndication-targets.d.ts +2 -2
  70. package/dist/admin/syndication-targets.js +2 -2
  71. package/dist/admin/taxonomy.d.ts +4 -4
  72. package/dist/admin/taxonomy.js +4 -4
  73. package/dist/admin/templates.d.ts +2 -2
  74. package/dist/admin/templates.js +2 -2
  75. package/dist/admin/tools.d.ts +1 -1
  76. package/dist/admin/tools.js +1 -1
  77. package/dist/admin/users.d.ts +0 -159
  78. package/dist/admin/users.d.ts.map +1 -1
  79. package/dist/admin/users.js +204 -498
  80. package/dist/admin/users.js.map +1 -1
  81. package/dist/avatars/avatars.d.ts +2 -2
  82. package/dist/avatars/avatars.js +2 -2
  83. package/dist/cache.d.ts +1 -1
  84. package/dist/cache.js +1 -1
  85. package/dist/cli/args.d.ts +20 -0
  86. package/dist/cli/args.d.ts.map +1 -0
  87. package/dist/cli/args.js +138 -0
  88. package/dist/cli/args.js.map +1 -0
  89. package/dist/cli/commands.d.ts +10 -0
  90. package/dist/cli/commands.d.ts.map +1 -0
  91. package/dist/cli/commands.js +261 -0
  92. package/dist/cli/commands.js.map +1 -0
  93. package/dist/cli/database-in-use.d.ts +9 -0
  94. package/dist/cli/database-in-use.d.ts.map +1 -0
  95. package/dist/cli/database-in-use.js +38 -0
  96. package/dist/cli/database-in-use.js.map +1 -0
  97. package/dist/cli/dev-mode.d.ts +3 -0
  98. package/dist/cli/dev-mode.d.ts.map +1 -0
  99. package/dist/cli/dev-mode.js +31 -0
  100. package/dist/cli/dev-mode.js.map +1 -0
  101. package/dist/cli/export.d.ts +3 -0
  102. package/dist/cli/export.d.ts.map +1 -0
  103. package/dist/cli/export.js +53 -0
  104. package/dist/cli/export.js.map +1 -0
  105. package/dist/cli/format.d.ts +3 -0
  106. package/dist/cli/format.d.ts.map +1 -0
  107. package/dist/cli/format.js +10 -0
  108. package/dist/cli/format.js.map +1 -0
  109. package/dist/cli/gemini.d.ts +3 -0
  110. package/dist/cli/gemini.d.ts.map +1 -0
  111. package/dist/cli/gemini.js +34 -0
  112. package/dist/cli/gemini.js.map +1 -0
  113. package/dist/cli/help.d.ts +2 -0
  114. package/dist/cli/help.d.ts.map +1 -0
  115. package/dist/cli/help.js +111 -0
  116. package/dist/cli/help.js.map +1 -0
  117. package/dist/cli/import.d.ts +3 -0
  118. package/dist/cli/import.d.ts.map +1 -0
  119. package/dist/cli/import.js +84 -0
  120. package/dist/cli/import.js.map +1 -0
  121. package/dist/cli/init.d.ts +3 -0
  122. package/dist/cli/init.d.ts.map +1 -0
  123. package/dist/cli/init.js +21 -0
  124. package/dist/cli/init.js.map +1 -0
  125. package/dist/cli/maintenance.d.ts +3 -0
  126. package/dist/cli/maintenance.d.ts.map +1 -0
  127. package/dist/cli/maintenance.js +57 -0
  128. package/dist/cli/maintenance.js.map +1 -0
  129. package/dist/cli/options.d.ts +16 -0
  130. package/dist/cli/options.d.ts.map +1 -0
  131. package/dist/cli/options.js +27 -0
  132. package/dist/cli/options.js.map +1 -0
  133. package/dist/cli/password.d.ts +21 -0
  134. package/dist/cli/password.d.ts.map +1 -0
  135. package/dist/cli/password.js +52 -0
  136. package/dist/cli/password.js.map +1 -0
  137. package/dist/cli/plugin-commands.d.ts +11 -0
  138. package/dist/cli/plugin-commands.d.ts.map +1 -0
  139. package/dist/cli/plugin-commands.js +79 -0
  140. package/dist/cli/plugin-commands.js.map +1 -0
  141. package/dist/cli/plugin-folder.d.ts +3 -0
  142. package/dist/cli/plugin-folder.d.ts.map +1 -0
  143. package/dist/cli/plugin-folder.js +93 -0
  144. package/dist/cli/plugin-folder.js.map +1 -0
  145. package/dist/cli/rebuild.d.ts +5 -0
  146. package/dist/cli/rebuild.d.ts.map +1 -0
  147. package/dist/cli/rebuild.js +44 -0
  148. package/dist/cli/rebuild.js.map +1 -0
  149. package/dist/cli/resend.d.ts +3 -0
  150. package/dist/cli/resend.d.ts.map +1 -0
  151. package/dist/cli/resend.js +36 -0
  152. package/dist/cli/resend.js.map +1 -0
  153. package/dist/cli/run-job.d.ts +5 -0
  154. package/dist/cli/run-job.d.ts.map +1 -0
  155. package/dist/cli/run-job.js +29 -0
  156. package/dist/cli/run-job.js.map +1 -0
  157. package/dist/cli/serve.d.ts +3 -0
  158. package/dist/cli/serve.d.ts.map +1 -0
  159. package/dist/cli/serve.js +65 -0
  160. package/dist/cli/serve.js.map +1 -0
  161. package/dist/cli/settings.d.ts +5 -0
  162. package/dist/cli/settings.d.ts.map +1 -0
  163. package/dist/cli/settings.js +144 -0
  164. package/dist/cli/settings.js.map +1 -0
  165. package/dist/cli/site-plugins.d.ts +5 -0
  166. package/dist/cli/site-plugins.d.ts.map +1 -0
  167. package/dist/cli/site-plugins.js +7 -0
  168. package/dist/cli/site-plugins.js.map +1 -0
  169. package/dist/cli/strip-metadata.d.ts +3 -0
  170. package/dist/cli/strip-metadata.d.ts.map +1 -0
  171. package/dist/cli/strip-metadata.js +20 -0
  172. package/dist/cli/strip-metadata.js.map +1 -0
  173. package/dist/cli/sync.d.ts +3 -0
  174. package/dist/cli/sync.d.ts.map +1 -0
  175. package/dist/cli/sync.js +22 -0
  176. package/dist/cli/sync.js.map +1 -0
  177. package/dist/cli/user.d.ts +3 -0
  178. package/dist/cli/user.d.ts.map +1 -0
  179. package/dist/cli/user.js +54 -0
  180. package/dist/cli/user.js.map +1 -0
  181. package/dist/cli.d.ts +0 -62
  182. package/dist/cli.d.ts.map +1 -1
  183. package/dist/cli.js +6 -1566
  184. package/dist/cli.js.map +1 -1
  185. package/dist/cms/app.js +10 -10
  186. package/dist/cms/app.js.map +1 -1
  187. package/dist/cms/boot.js +5 -5
  188. package/dist/cms/boot.js.map +1 -1
  189. package/dist/cms/create.d.ts +17 -17
  190. package/dist/cms/create.d.ts.map +1 -1
  191. package/dist/cms/create.js +1 -1
  192. package/dist/cms/create.js.map +1 -1
  193. package/dist/cms/server-error.d.ts +1 -1
  194. package/dist/cms/server-error.js +1 -1
  195. package/dist/cms/services.js +14 -14
  196. package/dist/cms/services.js.map +1 -1
  197. package/dist/comments/akismet.d.ts +4 -4
  198. package/dist/comments/akismet.js +6 -6
  199. package/dist/comments/akismet.js.map +1 -1
  200. package/dist/comments/conversation.d.ts +29 -29
  201. package/dist/comments/conversation.d.ts.map +1 -1
  202. package/dist/comments/conversation.js +2 -2
  203. package/dist/comments/conversation.js.map +1 -1
  204. package/dist/comments/form.d.ts +3 -3
  205. package/dist/comments/form.d.ts.map +1 -1
  206. package/dist/comments/intake.d.ts +4 -4
  207. package/dist/comments/intake.d.ts.map +1 -1
  208. package/dist/comments/intake.js +1 -1
  209. package/dist/comments/migrations.d.ts +3 -3
  210. package/dist/comments/migrations.js +3 -3
  211. package/dist/comments/moderate.d.ts +2 -2
  212. package/dist/comments/moderate.js +2 -2
  213. package/dist/comments/page-form.d.ts +1 -1
  214. package/dist/comments/page-form.js +1 -1
  215. package/dist/comments/records.d.ts +9 -9
  216. package/dist/comments/records.d.ts.map +1 -1
  217. package/dist/comments/records.js +11 -10
  218. package/dist/comments/records.js.map +1 -1
  219. package/dist/comments/reply-notices.d.ts +2 -2
  220. package/dist/comments/reply-post.d.ts +2 -2
  221. package/dist/comments/submission.d.ts +8 -8
  222. package/dist/comments/submission.d.ts.map +1 -1
  223. package/dist/comments/submission.js +9 -9
  224. package/dist/comments/submission.js.map +1 -1
  225. package/dist/config.d.ts +27 -27
  226. package/dist/config.js +3 -3
  227. package/dist/contact/index.d.ts +1 -1
  228. package/dist/contact/index.js +1 -1
  229. package/dist/contact/records.d.ts +7 -7
  230. package/dist/contact/records.js +7 -7
  231. package/dist/content/alt-text.d.ts +2 -2
  232. package/dist/content/alt-text.js +2 -2
  233. package/dist/content/authors.d.ts +6 -6
  234. package/dist/content/authors.d.ts.map +1 -1
  235. package/dist/content/authors.js +6 -6
  236. package/dist/content/authors.js.map +1 -1
  237. package/dist/content/citation.d.ts +1 -1
  238. package/dist/content/content-tree.d.ts +5 -0
  239. package/dist/content/content-tree.d.ts.map +1 -0
  240. package/dist/content/content-tree.js +54 -0
  241. package/dist/content/content-tree.js.map +1 -0
  242. package/dist/content/content-watcher.d.ts +15 -0
  243. package/dist/content/content-watcher.d.ts.map +1 -0
  244. package/dist/content/content-watcher.js +104 -0
  245. package/dist/content/content-watcher.js.map +1 -0
  246. package/dist/content/document-form.d.ts +25 -24
  247. package/dist/content/document-form.d.ts.map +1 -1
  248. package/dist/content/document-form.js +7 -7
  249. package/dist/content/document-form.js.map +1 -1
  250. package/dist/content/document-kind.d.ts +6 -6
  251. package/dist/content/document.d.ts +1 -1
  252. package/dist/content/enclosure-form.js +1 -1
  253. package/dist/content/enclosure.js +1 -1
  254. package/dist/content/event-form.d.ts +2 -2
  255. package/dist/content/event.d.ts +3 -3
  256. package/dist/content/event.js +3 -3
  257. package/dist/content/guids.d.ts +6 -6
  258. package/dist/content/guids.d.ts.map +1 -1
  259. package/dist/content/guids.js +7 -7
  260. package/dist/content/guids.js.map +1 -1
  261. package/dist/content/handles.d.ts +1 -1
  262. package/dist/content/handles.js +1 -1
  263. package/dist/content/html-to-markdown.js +2 -2
  264. package/dist/content/language.d.ts +1 -1
  265. package/dist/content/language.js +1 -1
  266. package/dist/content/locale.d.ts +1 -1
  267. package/dist/content/locale.js +1 -1
  268. package/dist/content/markdown.d.ts +1 -1
  269. package/dist/content/markdown.js +1 -1
  270. package/dist/content/parser.d.ts +1 -1
  271. package/dist/content/parser.d.ts.map +1 -1
  272. package/dist/content/permalinks.d.ts +4 -4
  273. package/dist/content/permalinks.js +4 -4
  274. package/dist/content/photo-form.js +2 -2
  275. package/dist/content/photo.d.ts +2 -2
  276. package/dist/content/photo.js +1 -1
  277. package/dist/content/pinned.d.ts +3 -3
  278. package/dist/content/pinned.js +3 -3
  279. package/dist/content/post-fields.js +2 -2
  280. package/dist/content/post-fields.js.map +1 -1
  281. package/dist/content/post-type.d.ts +4 -4
  282. package/dist/content/post-type.js +1 -1
  283. package/dist/content/reconcile.d.ts +15 -0
  284. package/dist/content/reconcile.d.ts.map +1 -0
  285. package/dist/content/reconcile.js +106 -0
  286. package/dist/content/reconcile.js.map +1 -0
  287. package/dist/content/redirects.d.ts +2 -3
  288. package/dist/content/redirects.d.ts.map +1 -1
  289. package/dist/content/redirects.js +2 -3
  290. package/dist/content/redirects.js.map +1 -1
  291. package/dist/content/rsvp.d.ts +1 -1
  292. package/dist/content/rsvp.js +1 -1
  293. package/dist/content/sanitize.js +1 -1
  294. package/dist/content/save.d.ts +3 -3
  295. package/dist/content/save.js +4 -4
  296. package/dist/content/scan.d.ts +12 -0
  297. package/dist/content/scan.d.ts.map +1 -0
  298. package/dist/content/scan.js +58 -0
  299. package/dist/content/scan.js.map +1 -0
  300. package/dist/content/search.d.ts +3 -3
  301. package/dist/content/search.js +3 -3
  302. package/dist/content/served.d.ts +5 -5
  303. package/dist/content/served.js +4 -4
  304. package/dist/content/site-links.d.ts +3 -4
  305. package/dist/content/site-links.d.ts.map +1 -1
  306. package/dist/content/site-links.js +1 -2
  307. package/dist/content/site-links.js.map +1 -1
  308. package/dist/content/sqlite/clauses.d.ts +1 -1
  309. package/dist/content/sqlite/clauses.js +1 -1
  310. package/dist/content/sqlite/rows.d.ts +1 -1
  311. package/dist/content/sqlite/rows.js +1 -1
  312. package/dist/content/store.d.ts +26 -26
  313. package/dist/content/sync.d.ts +3 -3
  314. package/dist/content/sync.d.ts.map +1 -1
  315. package/dist/content/sync.js +65 -382
  316. package/dist/content/sync.js.map +1 -1
  317. package/dist/content/taxonomy.d.ts +9 -8
  318. package/dist/content/taxonomy.d.ts.map +1 -1
  319. package/dist/content/taxonomy.js +9 -8
  320. package/dist/content/taxonomy.js.map +1 -1
  321. package/dist/content/time.d.ts +1 -1
  322. package/dist/content/time.js +1 -1
  323. package/dist/content/trash.d.ts +4 -5
  324. package/dist/content/trash.d.ts.map +1 -1
  325. package/dist/content/trash.js +4 -5
  326. package/dist/content/trash.js.map +1 -1
  327. package/dist/content/write.d.ts +4 -4
  328. package/dist/content/write.js +19 -19
  329. package/dist/content/write.js.map +1 -1
  330. package/dist/drain.d.ts +1 -1
  331. package/dist/drain.js +1 -1
  332. package/dist/federation/actor.d.ts +9 -9
  333. package/dist/federation/actor.js +10 -10
  334. package/dist/federation/article.d.ts +14 -14
  335. package/dist/federation/article.js +27 -27
  336. package/dist/federation/article.js.map +1 -1
  337. package/dist/federation/backfill.d.ts +2 -2
  338. package/dist/federation/backfill.js +2 -2
  339. package/dist/federation/citations.d.ts +1 -1
  340. package/dist/federation/citations.js +1 -1
  341. package/dist/federation/cited-post.d.ts +1 -1
  342. package/dist/federation/cited-post.js +1 -1
  343. package/dist/federation/delivery-plan.d.ts +1 -1
  344. package/dist/federation/delivery.d.ts +3 -3
  345. package/dist/federation/delivery.d.ts.map +1 -1
  346. package/dist/federation/delivery.js +11 -12
  347. package/dist/federation/delivery.js.map +1 -1
  348. package/dist/federation/federation.d.ts +3 -3
  349. package/dist/federation/federation.d.ts.map +1 -1
  350. package/dist/federation/federation.js +7 -8
  351. package/dist/federation/federation.js.map +1 -1
  352. package/dist/federation/handles.d.ts +1 -1
  353. package/dist/federation/handles.js +1 -1
  354. package/dist/federation/inbox.d.ts +6 -6
  355. package/dist/federation/inbox.js +9 -9
  356. package/dist/federation/keys.d.ts +3 -3
  357. package/dist/federation/keys.js +3 -3
  358. package/dist/federation/object-ids.d.ts +1 -1
  359. package/dist/federation/paths.d.ts +8 -8
  360. package/dist/federation/paths.js +8 -8
  361. package/dist/federation/profiles.d.ts +2 -3
  362. package/dist/federation/profiles.d.ts.map +1 -1
  363. package/dist/federation/profiles.js +2 -3
  364. package/dist/federation/profiles.js.map +1 -1
  365. package/dist/federation/quotes.d.ts +1 -1
  366. package/dist/federation/records.d.ts +24 -24
  367. package/dist/federation/records.js +23 -23
  368. package/dist/federation/records.js.map +1 -1
  369. package/dist/federation/refusals.d.ts +1 -1
  370. package/dist/federation/relays.d.ts +1 -1
  371. package/dist/federation/relays.js +6 -6
  372. package/dist/federation/webfinger.d.ts +2 -2
  373. package/dist/federation/webfinger.js +2 -2
  374. package/dist/files/atomic.d.ts +2 -2
  375. package/dist/files/atomic.js +1 -1
  376. package/dist/forms/checker.d.ts +2 -2
  377. package/dist/forms/checker.d.ts.map +1 -1
  378. package/dist/forms/protection.d.ts +1 -1
  379. package/dist/forms/protection.js +1 -1
  380. package/dist/gemini/certificate.js +1 -1
  381. package/dist/images/markup.d.ts +2 -2
  382. package/dist/images/variants.d.ts +8 -8
  383. package/dist/images/variants.js +1 -1
  384. package/dist/indexnow.d.ts +1 -1
  385. package/dist/indieauth/grants.d.ts +2 -2
  386. package/dist/indieauth/identity.d.ts +3 -5
  387. package/dist/indieauth/identity.d.ts.map +1 -1
  388. package/dist/indieauth/identity.js +3 -5
  389. package/dist/indieauth/identity.js.map +1 -1
  390. package/dist/indieauth/redeem.d.ts +2 -2
  391. package/dist/indieauth/redeem.js +2 -2
  392. package/dist/indieauth/request.d.ts +2 -2
  393. package/dist/indieauth/request.js +2 -2
  394. package/dist/indieauth/tokens.d.ts +3 -5
  395. package/dist/indieauth/tokens.d.ts.map +1 -1
  396. package/dist/indieauth/tokens.js +3 -5
  397. package/dist/indieauth/tokens.js.map +1 -1
  398. package/dist/jobs/file-records.d.ts +1 -1
  399. package/dist/jobs/file-records.js +1 -1
  400. package/dist/jobs/in-process.d.ts +1 -1
  401. package/dist/jobs/in-process.js +1 -1
  402. package/dist/jobs/queue.d.ts +1 -1
  403. package/dist/jobs/queue.js +1 -1
  404. package/dist/mail/provider.d.ts +2 -2
  405. package/dist/mail/provider.js +2 -2
  406. package/dist/media/library.d.ts +2 -2
  407. package/dist/media/uploads.js +2 -2
  408. package/dist/media/uploads.js.map +1 -1
  409. package/dist/micropub/create.d.ts +1 -1
  410. package/dist/micropub/endpoint.d.ts +7 -7
  411. package/dist/micropub/endpoint.js +8 -8
  412. package/dist/micropub/endpoint.js.map +1 -1
  413. package/dist/micropub/media.d.ts +4 -4
  414. package/dist/micropub/media.js +4 -4
  415. package/dist/micropub/update.d.ts +1 -1
  416. package/dist/micropub/update.js +1 -1
  417. package/dist/notifications/comments.d.ts +1 -1
  418. package/dist/notifications/comments.js +2 -2
  419. package/dist/notifications/comments.js.map +1 -1
  420. package/dist/notifications/digest.d.ts +7 -7
  421. package/dist/notifications/digest.js +7 -7
  422. package/dist/notifications/mail-service.d.ts +4 -4
  423. package/dist/notifications/mail-service.d.ts.map +1 -1
  424. package/dist/notifications/mail-service.js +3 -3
  425. package/dist/notifications/mail-templates.d.ts +3 -3
  426. package/dist/notifications/optouts.d.ts +1 -1
  427. package/dist/notifications/optouts.js +1 -1
  428. package/dist/notifications/tokens.d.ts +2 -2
  429. package/dist/plugin.d.ts +5 -5
  430. package/dist/plugin.js +5 -5
  431. package/dist/plugins/changes.js +2 -2
  432. package/dist/plugins/folder.d.ts +2 -2
  433. package/dist/plugins/folder.js +2 -2
  434. package/dist/plugins/install.d.ts +1 -1
  435. package/dist/plugins/install.js +1 -1
  436. package/dist/plugins/registry.d.ts +1 -1
  437. package/dist/plugins/registry.js +1 -1
  438. package/dist/plugins/site.d.ts +1 -1
  439. package/dist/plugins/site.js +1 -1
  440. package/dist/privacy/erase.d.ts +1 -1
  441. package/dist/privacy/erase.js +1 -1
  442. package/dist/privacy/retention.d.ts +2 -2
  443. package/dist/privacy/retention.js +2 -2
  444. package/dist/site/admin-paths.d.ts +2 -2
  445. package/dist/site/admin-paths.js +2 -2
  446. package/dist/site/authors.d.ts +6 -6
  447. package/dist/site/authors.js +5 -5
  448. package/dist/site/dashboard-layout.d.ts +1 -1
  449. package/dist/site/indexnow-key.js +1 -1
  450. package/dist/site/namespace.d.ts +1 -1
  451. package/dist/site/namespace.js +1 -1
  452. package/dist/site/navigation.d.ts +10 -10
  453. package/dist/site/navigation.js +10 -10
  454. package/dist/site/notification-preferences.d.ts +3 -3
  455. package/dist/site/notification-preferences.js +2 -2
  456. package/dist/site/retention-policy.d.ts +1 -1
  457. package/dist/site/retention-policy.js +1 -1
  458. package/dist/site/users.d.ts +23 -24
  459. package/dist/site/users.d.ts.map +1 -1
  460. package/dist/site/users.js +6 -6
  461. package/dist/site/users.js.map +1 -1
  462. package/dist/store/admin-store.d.ts +2 -2
  463. package/dist/store/comments.d.ts +17 -17
  464. package/dist/store/comments.d.ts.map +1 -1
  465. package/dist/store/comments.js +14 -21
  466. package/dist/store/comments.js.map +1 -1
  467. package/dist/store/conversation.d.ts +2 -2
  468. package/dist/store/deliveries.d.ts +1 -1
  469. package/dist/store/deliveries.d.ts.map +1 -1
  470. package/dist/store/deliveries.js +10 -15
  471. package/dist/store/deliveries.js.map +1 -1
  472. package/dist/store/followers.d.ts +5 -5
  473. package/dist/store/followers.d.ts.map +1 -1
  474. package/dist/store/followers.js +7 -10
  475. package/dist/store/followers.js.map +1 -1
  476. package/dist/store/inbox-replies.d.ts +4 -4
  477. package/dist/store/inbox-replies.js +4 -4
  478. package/dist/store/inbox.d.ts +5 -5
  479. package/dist/store/inbox.d.ts.map +1 -1
  480. package/dist/store/inbox.js +21 -34
  481. package/dist/store/inbox.js.map +1 -1
  482. package/dist/store/profiles.d.ts +5 -5
  483. package/dist/store/profiles.d.ts.map +1 -1
  484. package/dist/store/profiles.js +4 -5
  485. package/dist/store/profiles.js.map +1 -1
  486. package/dist/store/relays.d.ts.map +1 -1
  487. package/dist/store/relays.js +7 -9
  488. package/dist/store/relays.js.map +1 -1
  489. package/dist/store/rows.d.ts +6 -20
  490. package/dist/store/rows.d.ts.map +1 -1
  491. package/dist/store/rows.js +10 -15
  492. package/dist/store/rows.js.map +1 -1
  493. package/dist/store/schema.js +35 -35
  494. package/dist/store/schema.js.map +1 -1
  495. package/dist/store/sessions.d.ts +1 -1
  496. package/dist/store/sessions.d.ts.map +1 -1
  497. package/dist/store/sessions.js +10 -10
  498. package/dist/store/sessions.js.map +1 -1
  499. package/dist/store/state.d.ts.map +1 -1
  500. package/dist/store/state.js +2 -2
  501. package/dist/store/state.js.map +1 -1
  502. package/dist/store/tokens.d.ts +1 -1
  503. package/dist/store/tokens.d.ts.map +1 -1
  504. package/dist/store/tokens.js +5 -5
  505. package/dist/store/tokens.js.map +1 -1
  506. package/dist/store/webmentions.d.ts +2 -2
  507. package/dist/store/webmentions.d.ts.map +1 -1
  508. package/dist/store/webmentions.js +11 -11
  509. package/dist/store/webmentions.js.map +1 -1
  510. package/dist/supervisor/plugin-watcher.d.ts +26 -0
  511. package/dist/supervisor/plugin-watcher.d.ts.map +1 -0
  512. package/dist/supervisor/plugin-watcher.js +90 -0
  513. package/dist/supervisor/plugin-watcher.js.map +1 -0
  514. package/dist/supervisor/primary.d.ts +4 -7
  515. package/dist/supervisor/primary.d.ts.map +1 -1
  516. package/dist/supervisor/primary.js +37 -94
  517. package/dist/supervisor/primary.js.map +1 -1
  518. package/dist/supervisor/protocol.d.ts +1 -1
  519. package/dist/supervisor/protocol.js +1 -1
  520. package/dist/supervisor/reload-queue.d.ts +10 -0
  521. package/dist/supervisor/reload-queue.d.ts.map +1 -0
  522. package/dist/supervisor/reload-queue.js +28 -0
  523. package/dist/supervisor/reload-queue.js.map +1 -0
  524. package/dist/supervisor/supervision.d.ts +2 -2
  525. package/dist/supervisor/supervision.js +2 -2
  526. package/dist/supervisor/worker.d.ts +1 -1
  527. package/dist/supervisor/worker.js +1 -1
  528. package/dist/theme/site-data.d.ts +3 -3
  529. package/dist/theme/site-data.js +2 -2
  530. package/dist/theme/templates.d.ts +3 -3
  531. package/dist/theme/templates.js +16 -16
  532. package/dist/theme/templates.js.map +1 -1
  533. package/dist/theme/themes.d.ts +11 -13
  534. package/dist/theme/themes.d.ts.map +1 -1
  535. package/dist/theme/themes.js +8 -9
  536. package/dist/theme/themes.js.map +1 -1
  537. package/dist/web/activity-folding.d.ts +33 -0
  538. package/dist/web/activity-folding.d.ts.map +1 -0
  539. package/dist/web/activity-folding.js +238 -0
  540. package/dist/web/activity-folding.js.map +1 -0
  541. package/dist/web/archive.d.ts +2 -3
  542. package/dist/web/archive.d.ts.map +1 -1
  543. package/dist/web/archive.js +2 -3
  544. package/dist/web/archive.js.map +1 -1
  545. package/dist/web/asset-routes.d.ts +1 -1
  546. package/dist/web/asset-routes.js +1 -1
  547. package/dist/web/comment-routes.js +2 -2
  548. package/dist/web/comment-routes.js.map +1 -1
  549. package/dist/web/compression.d.ts +1 -1
  550. package/dist/web/compression.js +1 -1
  551. package/dist/web/context.d.ts +21 -21
  552. package/dist/web/context.d.ts.map +1 -1
  553. package/dist/web/context.js +7 -7
  554. package/dist/web/conversation-context.d.ts +15 -0
  555. package/dist/web/conversation-context.d.ts.map +1 -0
  556. package/dist/web/conversation-context.js +2 -0
  557. package/dist/web/conversation-context.js.map +1 -0
  558. package/dist/web/conversation-feed.d.ts +18 -0
  559. package/dist/web/conversation-feed.d.ts.map +1 -0
  560. package/dist/web/conversation-feed.js +53 -0
  561. package/dist/web/conversation-feed.js.map +1 -0
  562. package/dist/web/conversation-gather.d.ts +12 -0
  563. package/dist/web/conversation-gather.d.ts.map +1 -0
  564. package/dist/web/conversation-gather.js +189 -0
  565. package/dist/web/conversation-gather.js.map +1 -0
  566. package/dist/web/conversation-lookup.d.ts +15 -0
  567. package/dist/web/conversation-lookup.d.ts.map +1 -0
  568. package/dist/web/conversation-lookup.js +101 -0
  569. package/dist/web/conversation-lookup.js.map +1 -0
  570. package/dist/web/conversation-threads.d.ts +12 -0
  571. package/dist/web/conversation-threads.d.ts.map +1 -0
  572. package/dist/web/conversation-threads.js +144 -0
  573. package/dist/web/conversation-threads.js.map +1 -0
  574. package/dist/web/conversation.d.ts +25 -61
  575. package/dist/web/conversation.d.ts.map +1 -1
  576. package/dist/web/conversation.js +14 -854
  577. package/dist/web/conversation.js.map +1 -1
  578. package/dist/web/document-page.js +4 -4
  579. package/dist/web/document-page.js.map +1 -1
  580. package/dist/web/document-render.d.ts +9 -0
  581. package/dist/web/document-render.d.ts.map +1 -0
  582. package/dist/web/document-render.js +130 -0
  583. package/dist/web/document-render.js.map +1 -0
  584. package/dist/web/document-site.d.ts +1 -1
  585. package/dist/web/document-site.d.ts.map +1 -1
  586. package/dist/web/document-site.js +1 -1
  587. package/dist/web/document-site.js.map +1 -1
  588. package/dist/web/env.d.ts +19 -19
  589. package/dist/web/env.d.ts.map +1 -1
  590. package/dist/web/federation-routes.d.ts +2 -2
  591. package/dist/web/federation-routes.d.ts.map +1 -1
  592. package/dist/web/federation-routes.js +22 -21
  593. package/dist/web/federation-routes.js.map +1 -1
  594. package/dist/web/feed-atom.d.ts +3 -3
  595. package/dist/web/feed-atom.js +3 -3
  596. package/dist/web/feed-item.d.ts +15 -16
  597. package/dist/web/feed-item.d.ts.map +1 -1
  598. package/dist/web/feed-item.js +1 -1
  599. package/dist/web/feed-item.js.map +1 -1
  600. package/dist/web/feed-json.d.ts +4 -4
  601. package/dist/web/feed-json.d.ts.map +1 -1
  602. package/dist/web/feed-json.js +2 -2
  603. package/dist/web/feed-routes.d.ts +3 -3
  604. package/dist/web/feed-routes.js +4 -4
  605. package/dist/web/feed-routes.js.map +1 -1
  606. package/dist/web/feed-rss.d.ts +2 -2
  607. package/dist/web/feed-rss.js +4 -4
  608. package/dist/web/feed-rss.js.map +1 -1
  609. package/dist/web/feed-source.d.ts +5 -5
  610. package/dist/web/feed-source.d.ts.map +1 -1
  611. package/dist/web/feed-source.js +2 -2
  612. package/dist/web/feed-source.js.map +1 -1
  613. package/dist/web/feed-xml.d.ts +4 -4
  614. package/dist/web/feed-xml.d.ts.map +1 -1
  615. package/dist/web/feed-xml.js +4 -4
  616. package/dist/web/feed-xml.js.map +1 -1
  617. package/dist/web/font-routes.d.ts +1 -1
  618. package/dist/web/font-routes.js +1 -1
  619. package/dist/web/health.d.ts +1 -1
  620. package/dist/web/index.d.ts +5 -3
  621. package/dist/web/index.d.ts.map +1 -1
  622. package/dist/web/index.js +4 -2
  623. package/dist/web/index.js.map +1 -1
  624. package/dist/web/indieauth-activity-log.js +1 -1
  625. package/dist/web/indieauth-bearer.d.ts +2 -2
  626. package/dist/web/indieauth-discovery.d.ts +12 -12
  627. package/dist/web/indieauth-discovery.d.ts.map +1 -1
  628. package/dist/web/indieauth-discovery.js +12 -12
  629. package/dist/web/indieauth-discovery.js.map +1 -1
  630. package/dist/web/indieauth-token.d.ts +2 -2
  631. package/dist/web/indieauth-token.js +2 -2
  632. package/dist/web/listing-render.d.ts +11 -0
  633. package/dist/web/listing-render.d.ts.map +1 -0
  634. package/dist/web/listing-render.js +76 -0
  635. package/dist/web/listing-render.js.map +1 -0
  636. package/dist/web/listing-subject.js +1 -1
  637. package/dist/web/listing-subject.js.map +1 -1
  638. package/dist/web/llms.d.ts +1 -1
  639. package/dist/web/llms.js +1 -1
  640. package/dist/web/maintenance.d.ts +1 -1
  641. package/dist/web/maintenance.js +1 -1
  642. package/dist/web/manifest.d.ts +1 -1
  643. package/dist/web/manifest.js +1 -1
  644. package/dist/web/markdown-chrome.d.ts +11 -0
  645. package/dist/web/markdown-chrome.d.ts.map +1 -0
  646. package/dist/web/markdown-chrome.js +178 -0
  647. package/dist/web/markdown-chrome.js.map +1 -0
  648. package/dist/web/markdown-conversation.d.ts +1 -1
  649. package/dist/web/markdown-conversation.d.ts.map +1 -1
  650. package/dist/web/markdown-environment.d.ts +10 -0
  651. package/dist/web/markdown-environment.d.ts.map +1 -0
  652. package/dist/web/markdown-environment.js +56 -0
  653. package/dist/web/markdown-environment.js.map +1 -0
  654. package/dist/web/markdown-representation.d.ts +1 -1
  655. package/dist/web/markdown-representation.d.ts.map +1 -1
  656. package/dist/web/markdown-representation.js +2 -2
  657. package/dist/web/markdown-representation.js.map +1 -1
  658. package/dist/web/negotiate.d.ts +5 -5
  659. package/dist/web/negotiate.d.ts.map +1 -1
  660. package/dist/web/negotiate.js +3 -3
  661. package/dist/web/negotiate.js.map +1 -1
  662. package/dist/web/oembed.d.ts +3 -3
  663. package/dist/web/oembed.js +3 -3
  664. package/dist/web/opensearch.d.ts +1 -1
  665. package/dist/web/opensearch.js +1 -1
  666. package/dist/web/page-context.d.ts +29 -0
  667. package/dist/web/page-context.d.ts.map +1 -0
  668. package/dist/web/page-context.js +126 -0
  669. package/dist/web/page-context.js.map +1 -0
  670. package/dist/web/page-tags.js +1 -1
  671. package/dist/web/page-tags.js.map +1 -1
  672. package/dist/web/paths.d.ts +1 -1
  673. package/dist/web/paths.js +3 -3
  674. package/dist/web/plugin-federation.d.ts +1 -1
  675. package/dist/web/plugin-federation.js +1 -1
  676. package/dist/web/render-scope.d.ts +20 -0
  677. package/dist/web/render-scope.d.ts.map +1 -0
  678. package/dist/web/render-scope.js +36 -0
  679. package/dist/web/render-scope.js.map +1 -0
  680. package/dist/web/render.d.ts +21 -363
  681. package/dist/web/render.d.ts.map +1 -1
  682. package/dist/web/render.js +46 -899
  683. package/dist/web/render.js.map +1 -1
  684. package/dist/web/request.d.ts +1 -1
  685. package/dist/web/request.js +1 -1
  686. package/dist/web/robots.d.ts +1 -1
  687. package/dist/web/robots.js +1 -1
  688. package/dist/web/routes.js +19 -19
  689. package/dist/web/routes.js.map +1 -1
  690. package/dist/web/search.d.ts +1 -1
  691. package/dist/web/search.js +1 -1
  692. package/dist/web/session.d.ts +8 -8
  693. package/dist/web/session.js +8 -8
  694. package/dist/web/share-image.d.ts +2 -3
  695. package/dist/web/share-image.d.ts.map +1 -1
  696. package/dist/web/share-image.js +1 -1
  697. package/dist/web/share-image.js.map +1 -1
  698. package/dist/web/site-view.d.ts +2 -2
  699. package/dist/web/status-pages.d.ts +1 -1
  700. package/dist/web/status-pages.d.ts.map +1 -1
  701. package/dist/web/theme-environment.d.ts +14 -0
  702. package/dist/web/theme-environment.d.ts.map +1 -0
  703. package/dist/web/theme-environment.js +112 -0
  704. package/dist/web/theme-environment.js.map +1 -0
  705. package/dist/web/theme-templates.d.ts +67 -0
  706. package/dist/web/theme-templates.d.ts.map +1 -0
  707. package/dist/web/theme-templates.js +65 -0
  708. package/dist/web/theme-templates.js.map +1 -0
  709. package/dist/webmention/microformats.d.ts +5 -5
  710. package/dist/webmention/microformats.d.ts.map +1 -1
  711. package/dist/webmention/receive.d.ts +7 -7
  712. package/dist/webmention/receive.d.ts.map +1 -1
  713. package/dist/webmention/receive.js +4 -4
  714. package/dist/webmention/receive.js.map +1 -1
  715. package/dist/webmention/reply-context/oembed.js +1 -1
  716. package/dist/webmention/reply-context.d.ts +10 -10
  717. package/dist/webmention/reply-context.d.ts.map +1 -1
  718. package/dist/webmention/reply-context.js +5 -5
  719. package/dist/webmention/reply-contexts.d.ts +6 -6
  720. package/dist/webmention/reply-contexts.d.ts.map +1 -1
  721. package/dist/webmention/reply-contexts.js +2 -2
  722. package/dist/webmention/service.d.ts +13 -13
  723. package/dist/webmention/service.js +9 -9
  724. package/dist/webmention/syndication.d.ts +6 -6
  725. package/dist/webmention/syndication.d.ts.map +1 -1
  726. package/dist/webmention/syndication.js +6 -6
  727. package/dist/webmention/syndication.js.map +1 -1
  728. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"federation.js","sourceRoot":"","sources":["../../src/federation/federation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAQjE,OAAO,EAAE,MAAM,EAA2B,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAgBpF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,OAAO,EACL,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,UAAU,EACV,aAAa,EACb,WAAW,EACX,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE1E,2FAA2F;AAC3F,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,CAAC;AA0CnC;;;;;;;GAO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;IAC/C,MAAM,QAAQ,GAAG,OAAO,CAAC,oBAAoB,CAAyB,CAAC;IACvE,OAAO,QAAQ,CAAC,OAAO,IAAI,OAAO,CAAC;AACrC,CAAC"}
@@ -6,7 +6,7 @@ export declare const HANDLE_TIMEOUT_MS = 5000;
6
6
  /** Resolve and store the handles a body names that the directory does not know yet. */
7
7
  export type HandleLearner = (body: string) => Promise<void>;
8
8
  /**
9
- * The site's {@link HandleLearner} (TASK-194): WebFinger for each new
9
+ * The site's {@link HandleLearner}: WebFinger for each new
10
10
  * `@user@host`, then the actor it points at, fetched signed as the site's first
11
11
  * account for a server in authorized fetch mode.
12
12
  *
@@ -6,7 +6,7 @@ import { siteLoaders } from './site-loaders.js';
6
6
  /** How long one save waits for the handles it names to resolve. */
7
7
  export const HANDLE_TIMEOUT_MS = 5_000;
8
8
  /**
9
- * The site's {@link HandleLearner} (TASK-194): WebFinger for each new
9
+ * The site's {@link HandleLearner}: WebFinger for each new
10
10
  * `@user@host`, then the actor it points at, fetched signed as the site's first
11
11
  * account for a server in authorized fetch mode.
12
12
  *
@@ -58,9 +58,9 @@ export declare function handleQuoteRequest(context: SiteInboxContext, request: Q
58
58
  * Handle an `Accept`: a relay agreeing to the subscription the site asked
59
59
  * for, or somebody going to an event.
60
60
  *
61
- * The site follows nothing but relays (doc-4 keeps its `following` collection
62
- * empty), so an `Accept` addressed to it is an answer to one of the `Follow`
63
- * activities TASK-40 sends — or a stray, which {@link acceptRelay} recognises
61
+ * The site follows nothing but relays (its `following` collection stays empty),
62
+ * so an `Accept` addressed to it is an answer to one of the `Follow` activities
63
+ * a relay subscription sends — or a stray, which {@link acceptRelay} recognises
64
64
  * as one and leaves alone.
65
65
  */
66
66
  export declare function handleAccept(context: SiteInboxContext, accept: Accept): Promise<void>;
@@ -76,7 +76,7 @@ export declare function handleReject(context: SiteInboxContext, reject: Reject):
76
76
  * Nothing about the activity is interpreted here: the conversation reads it
77
77
  * back out of the log, which is why the row keeps the whole JSON-LD rather
78
78
  * than a few columns of it. The profile is what a conversation names the
79
- * sender by when they are not a follower (TASK-184), and it is fetched in the
79
+ * sender by when they are not a follower, and it is fetched in the
80
80
  * background, so the inbox answers without waiting for it.
81
81
  */
82
82
  export declare function handleLoggedActivity(context: SiteInboxContext, activity: Like | Announce | Create): Promise<void>;
@@ -93,7 +93,7 @@ export declare function handleLoggedActivity(context: SiteInboxContext, activity
93
93
  * The recipient defaults to the inbox the delivery arrived at —
94
94
  * `context.recipient` is the username for a personal inbox and `null` for the
95
95
  * shared one — and a caller that has worked out the addressee for itself, as
96
- * `handleFollow` has, names it instead (decision-14).
96
+ * `handleFollow` has, names it instead.
97
97
  */
98
98
  export declare function logActivity(context: SiteInboxContext, activity: Activity, recipient?: string | undefined): Promise<void>;
99
99
  /**
@@ -117,7 +117,7 @@ export interface InboxListener {
117
117
  export declare const INBOX_LISTENERS: readonly InboxListener[];
118
118
  /**
119
119
  * Handle an activity another inbox has already verified, as the site's own
120
- * inbox would: what a plugin's federation hands over (decision-33).
120
+ * inbox would: what a plugin's federation hands over.
121
121
  *
122
122
  * The activity arrives as JSON-LD and is parsed here with this core's
123
123
  * vocabulary, because the plugin's copy of Fedify is not this one and a type
@@ -56,13 +56,13 @@ export async function handleFollow(context, follow) {
56
56
  *
57
57
  * `parseUri` is what decides whether the object is one of this site's actors:
58
58
  * comparing strings would have to know how Fedify spells an actor's URL, and
59
- * this asks Fedify instead. The identifier it answers with is the username
60
- * (decision-14), and a username nobody has is not a follow of anybody.
59
+ * this asks Fedify instead. The identifier it answers with is the username,
60
+ * and a username nobody has is not a follow of anybody.
61
61
  *
62
62
  * A stored actor id is the other way in, and the commoner one for a migrated
63
63
  * site: it is the `id` the actor document publishes, so it is what a peer that
64
64
  * just read the document names, and Fedify's router cannot parse it because it
65
- * is not a path Fedify dispatches (doc-8). Matched on the whole URL, as it is
65
+ * is not a path Fedify dispatches. Matched on the whole URL, as it is
66
66
  * everywhere else.
67
67
  */
68
68
  function followedUser(context, follow) {
@@ -203,9 +203,9 @@ export async function handleQuoteRequest(context, request) {
203
203
  * Handle an `Accept`: a relay agreeing to the subscription the site asked
204
204
  * for, or somebody going to an event.
205
205
  *
206
- * The site follows nothing but relays (doc-4 keeps its `following` collection
207
- * empty), so an `Accept` addressed to it is an answer to one of the `Follow`
208
- * activities TASK-40 sends — or a stray, which {@link acceptRelay} recognises
206
+ * The site follows nothing but relays (its `following` collection stays empty),
207
+ * so an `Accept` addressed to it is an answer to one of the `Follow` activities
208
+ * a relay subscription sends — or a stray, which {@link acceptRelay} recognises
209
209
  * as one and leaves alone.
210
210
  */
211
211
  export async function handleAccept(context, accept) {
@@ -234,7 +234,7 @@ function answersPost(context, activity) {
234
234
  * Nothing about the activity is interpreted here: the conversation reads it
235
235
  * back out of the log, which is why the row keeps the whole JSON-LD rather
236
236
  * than a few columns of it. The profile is what a conversation names the
237
- * sender by when they are not a follower (TASK-184), and it is fetched in the
237
+ * sender by when they are not a follower, and it is fetched in the
238
238
  * background, so the inbox answers without waiting for it.
239
239
  */
240
240
  export async function handleLoggedActivity(context, activity) {
@@ -255,7 +255,7 @@ export async function handleLoggedActivity(context, activity) {
255
255
  * The recipient defaults to the inbox the delivery arrived at —
256
256
  * `context.recipient` is the username for a personal inbox and `null` for the
257
257
  * shared one — and a caller that has worked out the addressee for itself, as
258
- * `handleFollow` has, names it instead (decision-14).
258
+ * `handleFollow` has, names it instead.
259
259
  */
260
260
  export async function logActivity(context, activity, recipient = context.recipient ?? undefined) {
261
261
  const sender = activity.actorId;
@@ -318,7 +318,7 @@ export const INBOX_LISTENERS = [
318
318
  ];
319
319
  /**
320
320
  * Handle an activity another inbox has already verified, as the site's own
321
- * inbox would: what a plugin's federation hands over (decision-33).
321
+ * inbox would: what a plugin's federation hands over.
322
322
  *
323
323
  * The activity arrives as JSON-LD and is parsed here with this core's
324
324
  * vocabulary, because the plugin's copy of Fedify is not this one and a type
@@ -11,7 +11,7 @@ export declare function actorKeysDir(dataDir: string): string;
11
11
  /**
12
12
  * The file one key pair lives in, e.g. `data/keys/ada.ed25519.jwk`.
13
13
  *
14
- * The identifier is the user's username (decision-14), which is also what
14
+ * The identifier is the user's username, which is also what
15
15
  * their actor id is built from, so a site can tell at a glance whose key a
16
16
  * file is; and the algorithm is in the name too, so the two pairs are
17
17
  * independent files that can be backed up, restored and regenerated one at a
@@ -27,7 +27,7 @@ export declare function actorKeyFile(dataDir: string, identifier: string, algori
27
27
  * whatever was there, and answer with the path it was written to.
28
28
  *
29
29
  * The only door into `data/keys` that is not {@link loadActorKeyPairs}, and it
30
- * exists for the import (TASK-71): a key pair that arrives from somewhere else
30
+ * exists for the import: a key pair that arrives from somewhere else
31
31
  * is the one case where a file has to be written from bytes the CMS did not
32
32
  * mint. Everything about the layout stays here rather than at the caller — the
33
33
  * name, the `0700` directory and the `0600` file — so there is one answer to
@@ -47,7 +47,7 @@ export declare function writeActorKeyFile(dataDir: string, identifier: string, a
47
47
  * one file per pair is one thing to back up and one thing that cannot fall
48
48
  * half out of step with itself.
49
49
  *
50
- * A file that will not import is thrown over rather than replaced (decision-9).
50
+ * A file that will not import is thrown over rather than replaced.
51
51
  * The old code healed a damaged row by generating a new pair, which is exactly
52
52
  * the wrong thing to do with an identity: every follower holds the public key
53
53
  * and would stop verifying the site's posts. A site that really does want a
@@ -17,7 +17,7 @@ export function actorKeysDir(dataDir) {
17
17
  /**
18
18
  * The file one key pair lives in, e.g. `data/keys/ada.ed25519.jwk`.
19
19
  *
20
- * The identifier is the user's username (decision-14), which is also what
20
+ * The identifier is the user's username, which is also what
21
21
  * their actor id is built from, so a site can tell at a glance whose key a
22
22
  * file is; and the algorithm is in the name too, so the two pairs are
23
23
  * independent files that can be backed up, restored and regenerated one at a
@@ -35,7 +35,7 @@ export function actorKeyFile(dataDir, identifier, algorithm) {
35
35
  * whatever was there, and answer with the path it was written to.
36
36
  *
37
37
  * The only door into `data/keys` that is not {@link loadActorKeyPairs}, and it
38
- * exists for the import (TASK-71): a key pair that arrives from somewhere else
38
+ * exists for the import: a key pair that arrives from somewhere else
39
39
  * is the one case where a file has to be written from bytes the CMS did not
40
40
  * mint. Everything about the layout stays here rather than at the caller — the
41
41
  * name, the `0700` directory and the `0600` file — so there is one answer to
@@ -60,7 +60,7 @@ export function writeActorKeyFile(dataDir, identifier, algorithm, privateJwk) {
60
60
  * one file per pair is one thing to back up and one thing that cannot fall
61
61
  * half out of step with itself.
62
62
  *
63
- * A file that will not import is thrown over rather than replaced (decision-9).
63
+ * A file that will not import is thrown over rather than replaced.
64
64
  * The old code healed a damaged row by generating a new pair, which is exactly
65
65
  * the wrong thing to do with an identity: every follower holds the public key
66
66
  * and would stop verifying the site's posts. A site that really does want a
@@ -11,7 +11,7 @@
11
11
  * which the permalink route ignores, so the id still dereferences to the post.
12
12
  *
13
13
  * Keyed by the natural id, and kept in `content/_data/federation/` beside the
14
- * followers, because the files are the truth (decision-9): a rebuilt database
14
+ * followers, because the files are the truth: a rebuilt database
15
15
  * must not forget what the fediverse has been told is gone.
16
16
  */
17
17
  export interface ObjectIdRecord {
@@ -2,16 +2,16 @@ import type { FederationOrigin } from '@fedify/fedify';
2
2
  /**
3
3
  * Where a user's ActivityPub endpoints live: at their author URL, and under it.
4
4
  *
5
- * decision-14 makes every user an actor whose id is their author archive,
5
+ * Every user is an actor whose id is their author archive,
6
6
  * `{baseUrl}/author/{username}/`, so there is no prefix of its own any more —
7
7
  * the actor is a page in a browser and an actor to a peer, exactly as a post
8
- * is its permalink to both (decision-13). The collections are the archive's
8
+ * is its permalink to both. The collections are the archive's
9
9
  * children, with the trailing slashes every URL on this site has, and Fedify
10
10
  * builds each id from these templates so nothing has to guess the form.
11
11
  *
12
12
  * A GET of `/author/ada` without the slash is a Fedify 404 that falls through
13
13
  * to the public site's own canonical redirect, which is where a browser that
14
- * followed an actor id without its slash lands (doc-8).
14
+ * followed an actor id without its slash lands.
15
15
  */
16
16
  export declare const ACTOR_PATH: "/author/{identifier}/";
17
17
  /** The actor's inbox, its outbox and its two follow collections. */
@@ -20,7 +20,7 @@ export declare const OUTBOX_PATH: "/author/{identifier}/outbox/";
20
20
  export declare const FOLLOWERS_PATH: "/author/{identifier}/followers/";
21
21
  export declare const FOLLOWING_PATH: "/author/{identifier}/following/";
22
22
  /**
23
- * The actor's pinned posts (TASK-207): Mastodon's `toot:featured`, which it
23
+ * The actor's pinned posts: Mastodon's `toot:featured`, which it
24
24
  * reads to show pins at the top of a profile and names as the `target` of the
25
25
  * `Add` and `Remove` that pin and unpin one.
26
26
  */
@@ -34,7 +34,7 @@ export declare const QUOTE_AUTHORIZATION_PATH: "/author/{identifier}/quotes/{id}
34
34
  * The instance-wide inbox, which a peer may use to deliver to every actor at
35
35
  * once.
36
36
  *
37
- * A reserved top-level path (decision-14), which is why `inbox` is one of the
37
+ * A reserved top-level path, which is why `inbox` is one of the
38
38
  * two names `content/authors.ts` keeps a user from taking.
39
39
  */
40
40
  export declare const SHARED_INBOX_PATH: "/inbox/";
@@ -71,8 +71,8 @@ export declare function updateActivityId(objectId: URL | string, revision: strin
71
71
  */
72
72
  export declare function deleteActivityId(objectId: URL | string, revision: string): URL;
73
73
  /**
74
- * The id of the `Add` that pinned an object or the `Remove` that unpinned it
75
- * (TASK-207), one per pin and per unpin for the same reason a `Delete` carries
74
+ * The id of the `Add` that pinned an object or the `Remove` that unpinned it,
75
+ * one per pin and per unpin for the same reason a `Delete` carries
76
76
  * its moment: a post can be pinned, unpinned and pinned again.
77
77
  */
78
78
  export declare function pinActivityId(objectId: URL | string, change: 'pin' | 'unpin', revision: string): URL;
@@ -88,7 +88,7 @@ export declare function pinActivityId(objectId: URL | string, change: 'pin' | 'u
88
88
  */
89
89
  export declare function federationOrigin(baseUrl: string): FederationOrigin;
90
90
  /**
91
- * The domain a user's actor lists in `attributionDomains` (TASK-210): the
91
+ * The domain a user's actor lists in `attributionDomains`: the
92
92
  * host links to this site are shared from.
93
93
  *
94
94
  * The hostname, not {@link federationOrigin}'s `handleHost`. Mastodon credits
@@ -2,16 +2,16 @@ import { AUTHOR_BASE, INBOX_BASE } from '../content/authors.js';
2
2
  /**
3
3
  * Where a user's ActivityPub endpoints live: at their author URL, and under it.
4
4
  *
5
- * decision-14 makes every user an actor whose id is their author archive,
5
+ * Every user is an actor whose id is their author archive,
6
6
  * `{baseUrl}/author/{username}/`, so there is no prefix of its own any more —
7
7
  * the actor is a page in a browser and an actor to a peer, exactly as a post
8
- * is its permalink to both (decision-13). The collections are the archive's
8
+ * is its permalink to both. The collections are the archive's
9
9
  * children, with the trailing slashes every URL on this site has, and Fedify
10
10
  * builds each id from these templates so nothing has to guess the form.
11
11
  *
12
12
  * A GET of `/author/ada` without the slash is a Fedify 404 that falls through
13
13
  * to the public site's own canonical redirect, which is where a browser that
14
- * followed an actor id without its slash lands (doc-8).
14
+ * followed an actor id without its slash lands.
15
15
  */
16
16
  export const ACTOR_PATH = `/${AUTHOR_BASE}/{identifier}/`;
17
17
  /** The actor's inbox, its outbox and its two follow collections. */
@@ -20,7 +20,7 @@ export const OUTBOX_PATH = `${ACTOR_PATH}outbox/`;
20
20
  export const FOLLOWERS_PATH = `${ACTOR_PATH}followers/`;
21
21
  export const FOLLOWING_PATH = `${ACTOR_PATH}following/`;
22
22
  /**
23
- * The actor's pinned posts (TASK-207): Mastodon's `toot:featured`, which it
23
+ * The actor's pinned posts: Mastodon's `toot:featured`, which it
24
24
  * reads to show pins at the top of a profile and names as the `target` of the
25
25
  * `Add` and `Remove` that pin and unpin one.
26
26
  */
@@ -34,7 +34,7 @@ export const QUOTE_AUTHORIZATION_PATH = `${ACTOR_PATH}quotes/{id}/`;
34
34
  * The instance-wide inbox, which a peer may use to deliver to every actor at
35
35
  * once.
36
36
  *
37
- * A reserved top-level path (decision-14), which is why `inbox` is one of the
37
+ * A reserved top-level path, which is why `inbox` is one of the
38
38
  * two names `content/authors.ts` keeps a user from taking.
39
39
  */
40
40
  export const SHARED_INBOX_PATH = `/${INBOX_BASE}/`;
@@ -79,8 +79,8 @@ export function deleteActivityId(objectId, revision) {
79
79
  return new URL(`${objectId.toString()}#delete/${encodeURIComponent(revision)}`);
80
80
  }
81
81
  /**
82
- * The id of the `Add` that pinned an object or the `Remove` that unpinned it
83
- * (TASK-207), one per pin and per unpin for the same reason a `Delete` carries
82
+ * The id of the `Add` that pinned an object or the `Remove` that unpinned it,
83
+ * one per pin and per unpin for the same reason a `Delete` carries
84
84
  * its moment: a post can be pinned, unpinned and pinned again.
85
85
  */
86
86
  export function pinActivityId(objectId, change, revision) {
@@ -101,7 +101,7 @@ export function federationOrigin(baseUrl) {
101
101
  return { handleHost: url.host, webOrigin: url.origin };
102
102
  }
103
103
  /**
104
- * The domain a user's actor lists in `attributionDomains` (TASK-210): the
104
+ * The domain a user's actor lists in `attributionDomains`: the
105
105
  * host links to this site are shared from.
106
106
  *
107
107
  * The hostname, not {@link federationOrigin}'s `handleHost`. Mastodon credits
@@ -5,8 +5,7 @@ import type { ResolvedConfig } from '../config.ts';
5
5
  import type { NotificationTimers } from '../notifications/digest.ts';
6
6
  import type { FederationContextData } from './federation.ts';
7
7
  /**
8
- * The names and faces of the fediverse actors who are not followers
9
- * (TASK-184).
8
+ * The names and faces of the fediverse actors who are not followers.
10
9
  *
11
10
  * A follower is named from the profile it published when it followed. Anybody
12
11
  * else who liked, boosted, answered or quoted a post used to be named by a
@@ -20,7 +19,7 @@ import type { FederationContextData } from './federation.ts';
20
19
  * the sweep fetches every inbox actor with no profile or a stale one, which is
21
20
  * the backfill of a log written before this existed, the refresh of profiles
22
21
  * that have changed, and the rebuild after the database has been deleted
23
- * (decision-9) all at once.
22
+ * all at once.
24
23
  */
25
24
  /** How old a stored profile gets before the sweep fetches it again. */
26
25
  export declare const PROFILE_MAX_AGE_MS: number;
@@ -1 +1 @@
1
- {"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/federation/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE9D,OAAO,KAAK,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,CACvC,OAAO,EAAE,gCAAgC,GACxC,mBAAmB,CAuFrB;AAED;;;;;;;;;GASG;AACH,wBAAsB,WAAW,CAC/B,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE;IAAE,cAAc,EAAE,cAAc,CAAC;IAAC,aAAa,EAAE,cAAc,CAAA;CAAE,GACzE,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAYnC"}
@@ -4,8 +4,7 @@ import { messageOf } from '../util/errors.js';
4
4
  import { createSerialQueue } from '../util/queue.js';
5
5
  import { siteLoaders } from './site-loaders.js';
6
6
  /**
7
- * The names and faces of the fediverse actors who are not followers
8
- * (TASK-184).
7
+ * The names and faces of the fediverse actors who are not followers.
9
8
  *
10
9
  * A follower is named from the profile it published when it followed. Anybody
11
10
  * else who liked, boosted, answered or quoted a post used to be named by a
@@ -19,7 +18,7 @@ import { siteLoaders } from './site-loaders.js';
19
18
  * the sweep fetches every inbox actor with no profile or a stale one, which is
20
19
  * the backfill of a log written before this existed, the refresh of profiles
21
20
  * that have changed, and the rebuild after the database has been deleted
22
- * (decision-9) all at once.
21
+ * all at once.
23
22
  */
24
23
  /** How old a stored profile gets before the sweep fetches it again. */
25
24
  export const PROFILE_MAX_AGE_MS = 7 * 24 * 60 * 60 * 1000;
@@ -1 +1 @@
1
- {"version":3,"file":"profiles.js","sourceRoot":"","sources":["../../src/federation/profiles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAMxC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;;;;;;;;;;;;;;;;GAiBG;AAEH,uEAAuE;AACvE,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,GAAG,EAAE,G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I,QAAQ,CAAC,QAAQ,EAAE,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE;QAC7E,IAAI,EAAE,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE;QACxD,OAAO,EAAE,QAAQ,CAAC,IAAI,EAAE,GAAG,IAAI,IAAI,CAAC,IAAI,KAAK,CAAC,MAAM,EAAE,IAAI,IAAI,IAAI;QAClE,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,IAAI;KACjC,CAAC;AACJ,CAAC;AAED,sDAAsD;AACtD,SAAS,QAAQ,CAAC,KAAwB;IACxC,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAChC,OAAO,KAAK,YAAY,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC;AACxE,CAAC"}
@@ -3,7 +3,7 @@ import { QuoteAuthorization } from '@fedify/vocab';
3
3
  import type { User } from '../site/users.ts';
4
4
  import type { FederationContextData } from './federation.ts';
5
5
  /**
6
- * Quote approvals (FEP-044f), as the files decision-9 makes the truth.
6
+ * Quote approvals (FEP-044f), as files, which are the truth.
7
7
  *
8
8
  * Mastodon 4.5 shows a quote only once the quoted author's server has stamped
9
9
  * it: an `Accept` of the `QuoteRequest` whose `result` is a
@@ -2,8 +2,8 @@ import type { AdminStore, Follower, InboxActivity, NewFollower, NewInboxActivity
2
2
  /**
3
3
  * The two things an ActivityPub site cannot regenerate, as files it publishes.
4
4
  *
5
- * decision-9 makes the filesystem the source of truth for everything durable,
6
- * and for federation that is the followers and the log of what the inbox was
5
+ * The filesystem is the source of truth for everything durable, and for
6
+ * federation that is the followers and the log of what the inbox was
7
7
  * told. Both live under `content/_data/federation/`, which puts them in git
8
8
  * beside the posts, hands them to an Eleventy build of the same directory as
9
9
  * `federation.followers` and `federation.inbox`, and leaves SQLite holding
@@ -32,9 +32,9 @@ export declare const INBOX_DIRECTORY = "_data/federation/inbox";
32
32
  * The directory one user's federation files live in, relative to the content
33
33
  * directory: `_data/federation/{username}`.
34
34
  *
35
- * decision-14 makes every user an actor, and an actor's followers are its own
36
- * — an actor that was followed and forgotten simply stops hearing from the
37
- * site — so the one file doc-4 had becomes one per user. The name is the
35
+ * Every user is an actor, and an actor's followers are its own — an actor that
36
+ * was followed and forgotten simply stops hearing from the site — so there is
37
+ * one followers file per user rather than one for the site. The name is the
38
38
  * username verbatim, because it is also the name in the actor's id and in the
39
39
  * key files, and a directory nobody can match to a person would be worse than
40
40
  * one with an unusual name in it.
@@ -52,7 +52,7 @@ export declare function followersFile(contentDir: string, username: string): str
52
52
  * Every user the content directory holds federation files for, sorted.
53
53
  *
54
54
  * Read from the directory rather than from `data/users.json`, because
55
- * decision-9 makes the files the truth: a rebuilt database has to put back
55
+ * the files are the truth: a rebuilt database has to put back
56
56
  * exactly what is on disk, including the followers of a user whose account was
57
57
  * removed — deleting the account is not the same act as unfollowing everybody
58
58
  * on their behalf, and only one of the two can be taken back.
@@ -86,7 +86,7 @@ export interface FederationRecords {
86
86
  * yet has. Anything else that is not a list of deliverable followers throws,
87
87
  * naming the file: this is read at boot to build the index, and a damaged file
88
88
  * read as "no followers" would quietly unfollow everybody — the one thing
89
- * doc-4 says an ActivityPub site can never take back.
89
+ * an ActivityPub site can never take back.
90
90
  */
91
91
  export declare function readFollowers(contentDir: string, username: string): Follower[];
92
92
  /**
@@ -125,15 +125,15 @@ export interface InboxLine {
125
125
  * The user it was addressed to, or `null` for one delivered to the shared
126
126
  * inbox without naming an actor of this site.
127
127
  *
128
- * decision-14 makes every user an actor, so "what the inbox was told" is no
128
+ * Every user is an actor, so "what the inbox was told" is no
129
129
  * longer one question: a `Follow` is a follow *of somebody*, and a reply is
130
130
  * a reply to somebody's post. The log stays one chronological record, as it
131
131
  * is a record of what this server was told, and each line says whose it was.
132
132
  */
133
133
  readonly recipient: string | null;
134
134
  /**
135
- * Whether the site read it off a remote server rather than was told it
136
- * (TASK-321): a reply found in another reply's `replies` collection, which
135
+ * Whether the site read it off a remote server rather than was told it:
136
+ * a reply found in another reply's `replies` collection, which
137
137
  * nobody delivered. Absent from the file for everything delivered.
138
138
  */
139
139
  readonly fetched: boolean;
@@ -154,9 +154,9 @@ export declare function readInboxLog(contentDir: string): InboxLine[];
154
154
  * Record one inbound activity: append it to the month's log and index it.
155
155
  *
156
156
  * `json` is the activity as compacted JSON-LD, which is what the handler has
157
- * and what doc-4 says to keep whole — nothing is picked out of it here beyond
158
- * the columns the index pages and counts by, because what a later phase will
159
- * want out of an activity is not knowable from here.
157
+ * and what the federation design keeps whole — nothing is picked out of it here
158
+ * beyond the columns the index pages and counts by, because what a later phase
159
+ * will want out of an activity is not knowable from here.
160
160
  *
161
161
  * An activity with no actor is dropped and nothing is written: Fedify has
162
162
  * already refused anything whose signature does not match its actor, so one
@@ -171,7 +171,7 @@ export declare function appendInboxActivity(records: FederationRecords, json: st
171
171
  }): Promise<InboxActivity | undefined>;
172
172
  /**
173
173
  * Take logged activities out of the log and the index: what a fetched reply
174
- * the remote server no longer lists comes to (TASK-321). Each line goes from
174
+ * the remote server no longer lists comes to. Each line goes from
175
175
  * the month file its row says it arrived in, under that file's lock.
176
176
  */
177
177
  export declare function removeInboxActivities(records: FederationRecords, activities: readonly InboxActivity[]): Promise<void>;
@@ -197,7 +197,7 @@ export interface FederationIndexReport {
197
197
  /**
198
198
  * Rebuild the followers and inbox indexes from the files.
199
199
  *
200
- * This is what makes `data/geekity.db` disposable for federation (decision-9):
200
+ * This is what makes `data/geekity.db` disposable for federation:
201
201
  * the two tables hold nothing but what these files say, so every boot throws
202
202
  * away what they hold and reads them again. That is also what makes editing
203
203
  * `followers.json` by hand and restarting a supported thing to do, and why a
@@ -212,16 +212,16 @@ export declare function rebuildFederationIndexes(records: FederationRecords): Fe
212
212
  /**
213
213
  * Write an older site's inbox rows out as files, once.
214
214
  *
215
- * Before decision-9 the table was the source rather than an index of one, so a
216
- * site upgrading has rows that no file carries. The rule is the simple one the
217
- * other decision-9 migrations use, and it is simple here because the log did
218
- * not exist as a file at all before: a log that is already there wins outright
219
- * and is not touched, and rows are written out only where there is none. The
220
- * lines it writes name no recipient, because the site they came from had one
221
- * actor and it is gone (decision-14).
215
+ * Before the files became the source of truth the table was the source rather
216
+ * than an index of one, so a site upgrading has rows that no file carries. The
217
+ * rule is the simple one the other file migrations use, and it is simple here
218
+ * because the log did not exist as a file at all before: a log that is already
219
+ * there wins outright and is not touched, and rows are written out only where
220
+ * there is none. The lines it writes name no recipient, because the site they
221
+ * came from had one actor and it is gone.
222
222
  *
223
- * The site actor's followers are **not** migrated. decision-14 replaces one
224
- * site actor with one actor per user, and there is no honest answer to which
223
+ * The site actor's followers are **not** migrated. The one site actor was
224
+ * replaced with one actor per user, and there is no honest answer to which
225
225
  * user inherited the followers of an account that no longer exists: a follow
226
226
  * is an agreement with somebody, and handing it to whoever happens to have the
227
227
  * lowest user id would be answering it for them. A site that federated as the