@geekity/cms 0.42.0 → 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 +9 -6
  659. package/dist/web/negotiate.d.ts.map +1 -1
  660. package/dist/web/negotiate.js +17 -13
  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
package/dist/config.d.ts CHANGED
@@ -28,8 +28,8 @@ export type DocumentChangeHook = (change: DocumentChange) => unknown;
28
28
  */
29
29
  export type AccessLogWriter = (line: string) => void;
30
30
  /**
31
- * The federation stores and guards a site may swap, which decision-5 promised
32
- * would be configuration rather than a redesign.
31
+ * The federation stores and guards a site may swap, as configuration rather
32
+ * than a redesign.
33
33
  *
34
34
  * Everything here has a default that is right for a single-process personal
35
35
  * blog; a site only names one when it has outgrown that, and a test names one
@@ -38,12 +38,12 @@ export type AccessLogWriter = (line: string) => void;
38
38
  export interface FederationOverrides {
39
39
  /**
40
40
  * Fedify's cache and idempotence store. Defaults to an in-memory one, per
41
- * decision-5: nothing that has to survive a restart lives in it.
41
+ * Nothing that has to survive a restart lives in it.
42
42
  */
43
43
  kv?: KvStore | undefined;
44
44
  /**
45
45
  * The delivery and inbox queue. Defaults to a `SqliteMessageQueue` in
46
- * `data/queue.sqlite` (decision-57), which keeps what waits across a restart.
46
+ * `data/queue.sqlite`, which keeps what waits across a restart.
47
47
  *
48
48
  * `null` means no queue at all: an inbound activity is handled, and an
49
49
  * outbound one delivered, before the request that carried it is answered.
@@ -61,7 +61,7 @@ export interface FederationOverrides {
61
61
  allowPrivateAddress?: boolean | undefined;
62
62
  }
63
63
  /**
64
- * The admin job queue's two swap points (decision-54), and the jobs a site
64
+ * The admin job queue's two swap points, and the jobs a site
65
65
  * adds to the CMS's own.
66
66
  */
67
67
  export interface JobOverrides {
@@ -77,7 +77,7 @@ export interface JobOverrides {
77
77
  definitions?: readonly JobDefinition[] | undefined;
78
78
  }
79
79
  /**
80
- * The mail pieces a site may swap (TASK-53).
80
+ * The mail pieces a site may swap.
81
81
  *
82
82
  * Everything here has a default that is right for a personal blog: the
83
83
  * provider comes from the settings screen and `data/mail.json`, a refused
@@ -107,7 +107,7 @@ export interface MailOverrides {
107
107
  logger?: MailLogger | undefined;
108
108
  }
109
109
  /**
110
- * The IndexNow pieces a site may swap (TASK-151).
110
+ * The IndexNow pieces a site may swap.
111
111
  *
112
112
  * Whether IndexNow is on is a setting; these are how it sends. A test names
113
113
  * `fetch` so that nothing it publishes reaches a search engine, and `batchMs`
@@ -142,7 +142,7 @@ export interface GeekityConfig {
142
142
  dataDir?: string;
143
143
  /**
144
144
  * Where this site's themes are, one directory per theme, each with a
145
- * `theme.json` (decision-15). Default `<cwd>/themes`. Overridden by
145
+ * `theme.json`. Default `<cwd>/themes`. Overridden by
146
146
  * `GEEKITY_THEMES_DIR`. It need not exist: a site using the packaged theme
147
147
  * has no themes of its own.
148
148
  *
@@ -194,7 +194,7 @@ export interface GeekityConfig {
194
194
  * Overridden by `GEEKITY_IMAGE_OPTIMIZATION`.
195
195
  *
196
196
  * Turning it off changes nothing on disk under `content/uploads/` — the
197
- * original was always the only source of truth (decision-10) — and nothing
197
+ * original was always the only source of truth — and nothing
198
198
  * about the feeds. The pages go back to the plain `<img>` the Markdown
199
199
  * asked for, and no encoding happens on upload.
200
200
  */
@@ -294,7 +294,7 @@ export interface GeekityConfig {
294
294
  seedContent?: boolean;
295
295
  /**
296
296
  * Keep the site in maintenance mode for the life of the process: public
297
- * pages, feeds and inbox deliveries answer 503 (TASK-130). Default `false`.
297
+ * pages, feeds and inbox deliveries answer 503. Default `false`.
298
298
  * Overridden by `GEEKITY_MAINTENANCE`.
299
299
  *
300
300
  * The boot-time switch, for a site that must come up already down. The
@@ -305,7 +305,7 @@ export interface GeekityConfig {
305
305
  */
306
306
  maintenance?: boolean;
307
307
  /**
308
- * Start the site in dev mode (TASK-295, decision-35): nothing it does is sent
308
+ * Start the site in dev mode: nothing it does is sent
309
309
  * to followers, relays, linked sites, feed hubs, search engines or inboxes,
310
310
  * and each held side effect is recorded in `data/dev-mode.jsonl`. Default
311
311
  * `false`. Overridden by `GEEKITY_DEV_MODE`.
@@ -335,7 +335,7 @@ export interface GeekityConfig {
335
335
  * `X-Frame-Options` whatever this says, so nothing here can loosen them.
336
336
  * The post editor sends this `Permissions-Policy` with `geolocation=()`
337
337
  * changed to `geolocation=(self)`, for its Use my location button.
338
- * The embed view at `/_geekity/embed` (TASK-208) keeps its own
338
+ * The embed view at `/_geekity/embed` keeps its own
339
339
  * `Content-Security-Policy`, whose `frame-ancestors *` lets any site frame
340
340
  * it, and never carries `X-Frame-Options`, even one configured here, so
341
341
  * nothing here can tighten it either.
@@ -357,7 +357,7 @@ export interface GeekityConfig {
357
357
  onPublish?: DocumentChangeHook;
358
358
  /**
359
359
  * A third-party opinion on native comments: Akismet, or anything else that
360
- * answers the same three questions (TASK-50).
360
+ * answers the same three questions.
361
361
  *
362
362
  * The whole of the CMS's knowledge of such a service. It is asked about
363
363
  * every comment that gets past the honeypot, the form's age and the rate
@@ -366,26 +366,26 @@ export interface GeekityConfig {
366
366
  * that is down never stops a site taking comments. The moderation screen
367
367
  * tells it when a human disagrees.
368
368
  *
369
- * Naming one here wins outright over the Akismet checker the package ships
370
- * (TASK-52): `createCms` builds that only when this is not set, so a site
369
+ * Naming one here wins outright over the Akismet checker the package ships:
370
+ * `createCms` builds that only when this is not set, so a site
371
371
  * that wrote a checker gets the checker it wrote whether or not there is a
372
372
  * key in `data/akismet.json`.
373
373
  */
374
374
  commentChecker?: CommentChecker;
375
375
  /**
376
- * How the site sends email (TASK-53). Every field has a default; see
376
+ * How the site sends email. Every field has a default; see
377
377
  * {@link MailOverrides}.
378
378
  */
379
379
  mail?: MailOverrides;
380
380
  /**
381
- * How the site submits URLs to IndexNow (TASK-151). Every field has a
381
+ * How the site submits URLs to IndexNow. Every field has a
382
382
  * default; see {@link IndexNowOverrides}.
383
383
  */
384
384
  indexNow?: IndexNowOverrides;
385
385
  /**
386
386
  * What the CMS reads the time from.
387
387
  *
388
- * A post's date decides whether it is public yet (TASK-44), so the index and
388
+ * A post's date decides whether it is public yet, so the index and
389
389
  * the scheduler both need a clock, and it is one clock so they cannot
390
390
  * disagree. Defaults to {@link systemClock}. A site has no reason to name
391
391
  * one; a test that wants to be somewhere else in time does.
@@ -409,21 +409,21 @@ export interface GeekityConfig {
409
409
  */
410
410
  jobs?: JobOverrides;
411
411
  /**
412
- * How a host name is resolved before the CMS fetches a page a reply answers
413
- * (TASK-123), so a name that resolves to this network is refused. Defaults
412
+ * How a host name is resolved before the CMS fetches a page a reply answers,
413
+ * so a name that resolves to this network is refused. Defaults
414
414
  * to the system resolver. A test names one so that nothing it does reaches
415
415
  * a real DNS server.
416
416
  */
417
417
  hostLookup?: HostLookup;
418
418
  /**
419
- * The plugins installed on this site (decision-33). Each is registered at
419
+ * The plugins installed on this site. Each is registered at
420
420
  * boot and runs only while the `plugins` key of `content/_data/site.json`
421
421
  * enables it, so installing one here changes nothing until it is enabled.
422
422
  */
423
423
  plugins?: readonly Plugin[];
424
424
  /**
425
425
  * A folder of plugins, one folder each with a bundled `index.js` whose
426
- * default export is the plugin (decision-33): `<name>/` or
426
+ * default export is the plugin: `<name>/` or
427
427
  * `@scope/<name>/`. `geekity serve` loads them at boot beside
428
428
  * {@link GeekityConfig.plugins}, and Reload on the Plugins screen loads a
429
429
  * changed folder without a restart. Overridden by `GEEKITY_PLUGINS_DIR`.
@@ -439,7 +439,7 @@ export interface GeekityConfig {
439
439
  /**
440
440
  * Whether `geekity serve` reloads by itself once
441
441
  * {@link GeekityConfig.pluginsDir} has changed and then stood still for
442
- * five seconds (TASK-309). On by default. Off leaves Reload on the Plugins
442
+ * five seconds. On by default. Off leaves Reload on the Plugins
443
443
  * screen and the reload `geekity plugin` and the admin ask for. Overridden
444
444
  * by `GEEKITY_PLUGIN_WATCH`.
445
445
  */
@@ -514,7 +514,7 @@ export interface ResolvedConfig {
514
514
  * The comment checker, when the site named one.
515
515
  *
516
516
  * `undefined` as this leaves {@link resolveConfig}. The boot's config, a new
517
- * one, has the Akismet checker (TASK-52) here when the site named none, so
517
+ * one, has the Akismet checker here when the site named none, so
518
518
  * by the time a request reads it off the context there is one — and with no key in
519
519
  * `data/akismet.json` that one sends nothing anywhere.
520
520
  */
@@ -576,8 +576,8 @@ export declare const DEFAULT_UPLOAD_TYPES: readonly string[];
576
576
  /**
577
577
  * The widths an image is offered at by default.
578
578
  *
579
- * These are 11ty/image's own defaults, and deliberately so: decision-10 makes
580
- * that plugin the reference for the markup and the width set, so a site that
579
+ * These are 11ty/image's own defaults, and deliberately so: that plugin is the
580
+ * reference for the markup and the width set, so a site that
581
581
  * builds the same `content/` with Eleventy and runs the plugin over the same
582
582
  * originals gets an equivalent `srcset` rather than a different one.
583
583
  */
@@ -598,7 +598,7 @@ export declare const DEFAULT_LOGIN_ATTEMPTS = 5;
598
598
  /** How long the first lockout lasts by default: a quarter of an hour, in seconds. */
599
599
  export declare const DEFAULT_LOGIN_LOCKOUT: number;
600
600
  /**
601
- * The security headers a site gets without asking (TASK-131).
601
+ * The security headers a site gets without asking.
602
602
  *
603
603
  * Each one restricts nothing a theme loads. `frame-ancestors` is the only
604
604
  * directive in the policy, so it says who may frame a page and nothing about
package/dist/config.js CHANGED
@@ -26,8 +26,8 @@ export const DEFAULT_UPLOAD_TYPES = KNOWN_UPLOAD_TYPES;
26
26
  /**
27
27
  * The widths an image is offered at by default.
28
28
  *
29
- * These are 11ty/image's own defaults, and deliberately so: decision-10 makes
30
- * that plugin the reference for the markup and the width set, so a site that
29
+ * These are 11ty/image's own defaults, and deliberately so: that plugin is the
30
+ * reference for the markup and the width set, so a site that
31
31
  * builds the same `content/` with Eleventy and runs the plugin over the same
32
32
  * originals gets an equivalent `srcset` rather than a different one.
33
33
  */
@@ -48,7 +48,7 @@ export const DEFAULT_LOGIN_ATTEMPTS = 5;
48
48
  /** How long the first lockout lasts by default: a quarter of an hour, in seconds. */
49
49
  export const DEFAULT_LOGIN_LOCKOUT = 15 * 60;
50
50
  /**
51
- * The security headers a site gets without asking (TASK-131).
51
+ * The security headers a site gets without asking.
52
52
  *
53
53
  * Each one restricts nothing a theme loads. `frame-ancestors` is the only
54
54
  * directive in the policy, so it says who may frame a page and nothing about
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The contact form (TASK-56): a page that offers one, the defences in front of
2
+ * The contact form: a page that offers one, the defences in front of
3
3
  * it, the file every message lands in, and the mail that carries it.
4
4
  *
5
5
  * The barrel every other module and the package index import from, so nothing
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The contact form (TASK-56): a page that offers one, the defences in front of
2
+ * The contact form: a page that offers one, the defences in front of
3
3
  * it, the file every message lands in, and the mail that carries it.
4
4
  *
5
5
  * The barrel every other module and the package index import from, so nothing
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * A contact message as the file that holds it.
3
3
  *
4
- * decision-9 makes the filesystem the source of truth for everything durable,
5
- * and a message somebody typed into this site is exactly that: nothing else
6
- * holds it, and no other server can be asked for it again. So it is written to
7
- * disk **before** anything is emailed, which is the point — a provider that is
8
- * down, a key that has expired, an address that bounces, and the message is
9
- * still on the Messages screen tomorrow.
4
+ * The filesystem is the source of truth for everything durable, and a message
5
+ * somebody typed into this site is exactly that: nothing else holds it, and no
6
+ * other server can be asked for it again. So it is written to disk **before**
7
+ * anything is emailed, which is the point — a provider that is down, a key that
8
+ * has expired, an address that bounces, and the message is still on the
9
+ * Messages screen tomorrow.
10
10
  *
11
11
  * Two things separate this from the comment files:
12
12
  *
@@ -119,7 +119,7 @@ export declare function setContactMessageRead(dataDir: string, id: string, read:
119
119
  *
120
120
  * The file is re-read inside the write, so two admins with the screen open
121
121
  * cannot make one of them undo the other's delete by writing back a message
122
- * that is not there any more, and the retention sweep (TASK-135) cannot write
122
+ * that is not there any more, and the retention sweep cannot write
123
123
  * over a Mark read that landed a moment before it.
124
124
  */
125
125
  export declare function updateContactMessage(dataDir: string, id: string, change: (message: ContactMessage) => ContactMessage | undefined): Promise<ContactMessage | undefined>;
@@ -7,12 +7,12 @@ import { stringOrEmpty } from '../util/forms.js';
7
7
  /**
8
8
  * A contact message as the file that holds it.
9
9
  *
10
- * decision-9 makes the filesystem the source of truth for everything durable,
11
- * and a message somebody typed into this site is exactly that: nothing else
12
- * holds it, and no other server can be asked for it again. So it is written to
13
- * disk **before** anything is emailed, which is the point — a provider that is
14
- * down, a key that has expired, an address that bounces, and the message is
15
- * still on the Messages screen tomorrow.
10
+ * The filesystem is the source of truth for everything durable, and a message
11
+ * somebody typed into this site is exactly that: nothing else holds it, and no
12
+ * other server can be asked for it again. So it is written to disk **before**
13
+ * anything is emailed, which is the point — a provider that is down, a key that
14
+ * has expired, an address that bounces, and the message is still on the
15
+ * Messages screen tomorrow.
16
16
  *
17
17
  * Two things separate this from the comment files:
18
18
  *
@@ -127,7 +127,7 @@ export async function setContactMessageRead(dataDir, id, read) {
127
127
  *
128
128
  * The file is re-read inside the write, so two admins with the screen open
129
129
  * cannot make one of them undo the other's delete by writing back a message
130
- * that is not there any more, and the retention sweep (TASK-135) cannot write
130
+ * that is not there any more, and the retention sweep cannot write
131
131
  * over a Mark read that landed a moment before it.
132
132
  */
133
133
  export async function updateContactMessage(dataDir, id, change) {
@@ -4,7 +4,7 @@ import type { Photo } from './photo.ts';
4
4
  *
5
5
  * It is kept in one JSON object keyed by the upload's path under
6
6
  * `content/uploads/`, beside `site.json` in `content/_data/`: it is public,
7
- * it cannot be derived from anything, and so it is a file (decision-9). An
7
+ * it cannot be derived from anything, and so it is a file. An
8
8
  * entry is `{"alt": "A dog asleep on a rug"}` or `{"decorative": true}`; an
9
9
  * upload with no entry has no alt text yet, which is the case to fix.
10
10
  *
@@ -51,7 +51,7 @@ export interface UndescribedImage {
51
51
  */
52
52
  export declare function undescribedImages(html: string, library: AltTextLibrary): UndescribedImage[];
53
53
  /**
54
- * A post's photos (TASK-166) that nobody has described, neither the post nor
54
+ * A post's photos that nobody has described, neither the post nor
55
55
  * the media library.
56
56
  */
57
57
  export declare function undescribedPhotos(photos: readonly Photo[], library: AltTextLibrary): UndescribedImage[];
@@ -8,7 +8,7 @@ import { imagesIn, uploadPath } from './image-tags.js';
8
8
  *
9
9
  * It is kept in one JSON object keyed by the upload's path under
10
10
  * `content/uploads/`, beside `site.json` in `content/_data/`: it is public,
11
- * it cannot be derived from anything, and so it is a file (decision-9). An
11
+ * it cannot be derived from anything, and so it is a file. An
12
12
  * entry is `{"alt": "A dog asleep on a rug"}` or `{"decorative": true}`; an
13
13
  * upload with no entry has no alt text yet, which is the case to fix.
14
14
  *
@@ -88,7 +88,7 @@ export function undescribedImages(html, library) {
88
88
  .map((image) => ({ src: image.src, name: imageName(image.src) }));
89
89
  }
90
90
  /**
91
- * A post's photos (TASK-166) that nobody has described, neither the post nor
91
+ * A post's photos that nobody has described, neither the post nor
92
92
  * the media library.
93
93
  */
94
94
  export function undescribedPhotos(photos, library) {
@@ -9,8 +9,8 @@ export interface AuthorUser {
9
9
  * The user a document's `author` names, or `undefined` when it names nobody.
10
10
  *
11
11
  * Two rules, in this order, and the order is the whole of it. A username is
12
- * what doc-2 says the key holds, and it is matched exactly, as a login is. A
13
- * display name is what files written before decision-14 hold — the demo's own
12
+ * what the key holds, and it is matched exactly, as a login is. A display name
13
+ * is what files written before every user became an actor hold — the demo's own
14
14
  * posts say `Andrew Shell` — and one that exactly one user answers to reads as
15
15
  * that user, so an existing site's posts get their bylines and their archives
16
16
  * without anybody rewriting a file. Exactly one: two people called the same
@@ -37,7 +37,7 @@ export declare function userForAuthor<U extends AuthorUser>(users: readonly U[],
37
37
  export declare function authorNames(users: readonly AuthorUser[], user: AuthorUser): string[];
38
38
  /** The first URL segment every author archive, feed and actor lives under. */
39
39
  export declare const AUTHOR_BASE = "author";
40
- /** Where the shared inbox goes (decision-14), and so the second reserved path. */
40
+ /** Where the shared inbox goes, and so the second reserved path. */
41
41
  export declare const INBOX_BASE = "inbox";
42
42
  /** One author archive, and which page of it. */
43
43
  export interface AuthorRequest {
@@ -62,17 +62,17 @@ export declare function authorHref(username: string, index?: number): string;
62
62
  * parses; the bare `/author/ada` is handled by the canonical redirect, like
63
63
  * every other missing trailing slash on the site — which is also where a
64
64
  * browser that followed an actor id without its slash lands, because Fedify
65
- * 404s that form and falls through (doc-8).
65
+ * 404s that form and falls through.
66
66
  *
67
67
  * `page/1/` parses to the first page, which lives at the archive root, so the
68
68
  * caller can collapse it the way `/page/1/` collapses onto `/`.
69
69
  */
70
70
  export declare function parseAuthorPath(pathname: string): AuthorRequest | undefined;
71
71
  /**
72
- * `{username}@{host}`: the account WebFinger answers for (decision-14).
72
+ * `{username}@{host}`: the account WebFinger answers for.
73
73
  *
74
74
  * WebFinger's `acct:` subject, the handle the admin shows and the
75
- * `fediverse:creator` a page names (TASK-202) are each this with a prefix, so
75
+ * `fediverse:creator` a page names are each this with a prefix, so
76
76
  * a page cannot credit an account the site does not answer for.
77
77
  */
78
78
  export declare function accountOf(username: string, baseUrl: string): string;
@@ -1 +1 @@
1
- {"version":3,"file":"authors.d.ts","sourceRoot":"","sources":["../../src/content/authors.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,SAAS,CAAC;CAC9E;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,UAAU,EAChD,KAAK,EAAE,SAAS,CAAC,EAAE,EACnB,MAAM,EAAE,MAAM,GAAG,SAAS,GACzB,CAAC,GAAG,SAAS,CASf;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,GAAG,MAAM,EAAE,CASpF;AAED,8EAA8E;AAC9E,eAAO,MAAM,WAAW,WAAW,CAAC;AAEpC,kFAAkF;AAClF,eAAO,MAAM,UAAU,UAAU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,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,SAAI,GAAG,MAAM,CAG9D;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAe3E;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAEnE"}
@@ -3,8 +3,8 @@ import { PAGE_SEGMENT } from './taxonomy.js';
3
3
  * The user a document's `author` names, or `undefined` when it names nobody.
4
4
  *
5
5
  * Two rules, in this order, and the order is the whole of it. A username is
6
- * what doc-2 says the key holds, and it is matched exactly, as a login is. A
7
- * display name is what files written before decision-14 hold — the demo's own
6
+ * what the key holds, and it is matched exactly, as a login is. A display name
7
+ * is what files written before every user became an actor hold — the demo's own
8
8
  * posts say `Andrew Shell` — and one that exactly one user answers to reads as
9
9
  * that user, so an existing site's posts get their bylines and their archives
10
10
  * without anybody rewriting a file. Exactly one: two people called the same
@@ -49,7 +49,7 @@ export function authorNames(users, user) {
49
49
  }
50
50
  /** The first URL segment every author archive, feed and actor lives under. */
51
51
  export const AUTHOR_BASE = 'author';
52
- /** Where the shared inbox goes (decision-14), and so the second reserved path. */
52
+ /** Where the shared inbox goes, and so the second reserved path. */
53
53
  export const INBOX_BASE = 'inbox';
54
54
  /**
55
55
  * The URL of a page of one user's archive, by zero-based index.
@@ -70,7 +70,7 @@ export function authorHref(username, index = 0) {
70
70
  * parses; the bare `/author/ada` is handled by the canonical redirect, like
71
71
  * every other missing trailing slash on the site — which is also where a
72
72
  * browser that followed an actor id without its slash lands, because Fedify
73
- * 404s that form and falls through (doc-8).
73
+ * 404s that form and falls through.
74
74
  *
75
75
  * `page/1/` parses to the first page, which lives at the archive root, so the
76
76
  * caller can collapse it the way `/page/1/` collapses onto `/`.
@@ -94,10 +94,10 @@ export function parseAuthorPath(pathname) {
94
94
  return { username, pageNumber: Number(requested) - 1 };
95
95
  }
96
96
  /**
97
- * `{username}@{host}`: the account WebFinger answers for (decision-14).
97
+ * `{username}@{host}`: the account WebFinger answers for.
98
98
  *
99
99
  * WebFinger's `acct:` subject, the handle the admin shows and the
100
- * `fediverse:creator` a page names (TASK-202) are each this with a prefix, so
100
+ * `fediverse:creator` a page names are each this with a prefix, so
101
101
  * a page cannot credit an account the site does not answer for.
102
102
  */
103
103
  export function accountOf(username, baseUrl) {
@@ -1 +1 @@
1
- {"version":3,"file":"authors.js","sourceRoot":"","sources":["../../src/content/authors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAQ7C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,UAAU,aAAa,CAC3B,KAAmB,EACnB,MAA0B;IAE1B,MAAM,MAAM,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACrC,IAAI,MAAM,KAAK,EAAE;QAAE,OAAO,SAAS,CAAC;IAEpC,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,KAAK,MAAM,CAAC,CAAC;IAClE,IAAI,UAAU,KAAK,SAAS;QAAE,OAAO,UAAU,CAAC;IAEhD,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,KAAK,MAAM,CAAC,CAAC;IAC3E,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACnD,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,WAAW,CAAC,KAA4B,EAAE,IAAgB;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D,OAAO,GAAG,QAAQ,IAAI,IAAI,GAAG,CAAC,OAAO,KAAK,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;AACtF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * What a like, a repost or a bookmark cites (TASK-169): the URL under the mf2
2
+ * What a like, a repost or a bookmark cites: the URL under the mf2
3
3
  * property of the same name, one to a post.
4
4
  *
5
5
  * ```yaml
@@ -0,0 +1,5 @@
1
+ import type { SyncLogger } from './sync.ts';
2
+ export declare function walk(contentDir: string, logger: SyncLogger, from?: string): Promise<string[]>;
3
+ export declare function isWalkableDirectory(name: string): boolean;
4
+ export declare function isDocumentPath(relativePath: string): boolean;
5
+ //# sourceMappingURL=content-tree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-tree.d.ts","sourceRoot":"","sources":["../../src/content/content-tree.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAS5C,wBAAsB,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,SAAK,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CA0B/F;AAGD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAIzD;AAED,wBAAgB,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAI5D"}
@@ -0,0 +1,54 @@
1
+ import { readdir } from 'node:fs/promises';
2
+ import path from 'node:path';
3
+ import { messageOf } from '../util/errors.js';
4
+ import { isNotFound } from '../util/files.js';
5
+ import { TRASH_DIRECTORY } from './store.js';
6
+ const MARKDOWN_EXTENSIONS = new Set(['.md', '.markdown']);
7
+ const DOCUMENT_DIRECTORIES = new Map([
8
+ ['posts', 'post'],
9
+ ['pages', 'page'],
10
+ ]);
11
+ export async function walk(contentDir, logger, from = '') {
12
+ const found = [];
13
+ async function visit(directory, prefix) {
14
+ let entries;
15
+ try {
16
+ entries = await readdir(directory, { withFileTypes: true });
17
+ }
18
+ catch (error) {
19
+ if (!isNotFound(error))
20
+ logger.warn(`Could not read ${directory}: ${messageOf(error)}`);
21
+ return;
22
+ }
23
+ for (const entry of entries) {
24
+ const relativePath = prefix === '' ? entry.name : `${prefix}/${entry.name}`;
25
+ if (entry.isDirectory()) {
26
+ if (!isWalkableDirectory(entry.name))
27
+ continue;
28
+ await visit(path.join(directory, entry.name), relativePath);
29
+ continue;
30
+ }
31
+ if (!entry.isFile())
32
+ continue;
33
+ if (isDocumentPath(relativePath))
34
+ found.push(relativePath);
35
+ }
36
+ }
37
+ await visit(path.join(contentDir, from), from);
38
+ return found.sort();
39
+ }
40
+ // Eleventy ignores directories whose name starts with an underscore.
41
+ export function isWalkableDirectory(name) {
42
+ if (name === TRASH_DIRECTORY)
43
+ return true;
44
+ if (name.startsWith('_') || name.startsWith('.'))
45
+ return false;
46
+ return name !== 'node_modules';
47
+ }
48
+ export function isDocumentPath(relativePath) {
49
+ if (!MARKDOWN_EXTENSIONS.has(path.extname(relativePath).toLowerCase()))
50
+ return false;
51
+ const segments = relativePath.split('/').slice(0, -1);
52
+ return segments.some((segment) => DOCUMENT_DIRECTORIES.has(segment));
53
+ }
54
+ //# sourceMappingURL=content-tree.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-tree.js","sourceRoot":"","sources":["../../src/content/content-tree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAG7C,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,WAAW,CA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AAY,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC;IAED,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAC/C,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC;AACtB,CAAC;AAED,qEAAqE;AACrE,MAAM,UAAU,mBAAmB,CAAC,IAAY;IAC9C,IAAI,IAAI,KAAK,eAAe;QAAE,OAAO,IAAI,CAAC;IAC1C,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;QAAE,OAAO,KAAK,CAAC;IAC/D,OAAO,IAAI,KAAK,cAAc,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,YAAoB;IACjD,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE,CAAC;QAAE,OAAO,KAAK,CAAC;IACrF,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACtD,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,oBAAoB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;AACvE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { SyncLogger } from './sync.ts';
2
+ import type { WatchDebounce } from './watch-debounce.ts';
3
+ export interface ContentWatcher {
4
+ start(): Promise<void>;
5
+ stop(): void;
6
+ waiting(): number;
7
+ }
8
+ export interface CreateContentWatcherOptions {
9
+ contentDir: string;
10
+ logger: SyncLogger;
11
+ debounce: WatchDebounce;
12
+ onSettledPath: (relativePath: string) => void;
13
+ }
14
+ export declare function createContentWatcher(options: CreateContentWatcherOptions): ContentWatcher;
15
+ //# sourceMappingURL=content-watcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-watcher.d.ts","sourceRoot":"","sources":["../../src/content/content-watcher.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAG5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAQzD,MAAM,WAAW,cAAc;IAC7B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvB,IAAI,IAAI,IAAI,CAAC;IACb,OAAO,IAAI,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,aAAa,CAAC;IACxB,aAAa,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,2BAA2B,GAAG,cAAc,CAwDzF"}
@@ -0,0 +1,104 @@
1
+ import { randomUUID } from 'node:crypto';
2
+ import { mkdir, rmdir } from 'node:fs/promises';
3
+ import path from 'node:path';
4
+ import { messageOf } from '../util/errors.js';
5
+ import { isWalkableDirectory } from './content-tree.js';
6
+ import { watchTree } from './tree-watch.js';
7
+ const PROBE_PREFIX = '.geekity-watch-';
8
+ const PROBE_INTERVAL_MS = 250;
9
+ const PROBE_DEADLINE_MS = 5_000;
10
+ export function createContentWatcher(options) {
11
+ const { contentDir, logger, debounce, onSettledPath } = options;
12
+ const pending = new Map();
13
+ let watcher;
14
+ function handle(relativePath) {
15
+ pending.get(relativePath)?.();
16
+ pending.set(relativePath, debounce(relativePath, () => {
17
+ pending.delete(relativePath);
18
+ onSettledPath(relativePath);
19
+ }));
20
+ }
21
+ async function start() {
22
+ if (watcher !== undefined)
23
+ return;
24
+ await mkdir(contentDir, { recursive: true });
25
+ const started = watchTree(contentDir, { ignore: isIgnored });
26
+ watcher = started;
27
+ started.on('change', (_type, relativePath) => {
28
+ if (relativePath === null) {
29
+ handle('');
30
+ return;
31
+ }
32
+ if (!path.basename(relativePath).startsWith(PROBE_PREFIX))
33
+ handle(relativePath);
34
+ });
35
+ started.on('error', (error) => {
36
+ logger.warn(`Content watcher error: ${messageOf(error)}`);
37
+ });
38
+ await started.ready;
39
+ if (!(await hearsChanges(started, contentDir, logger))) {
40
+ logger.warn(`The content watcher reported nothing for ${PROBE_DEADLINE_MS / 1000}s, so a file changed while the site runs may not show until it restarts.`);
41
+ }
42
+ }
43
+ return {
44
+ start,
45
+ stop() {
46
+ for (const cancel of pending.values())
47
+ cancel();
48
+ pending.clear();
49
+ watcher?.close();
50
+ watcher = undefined;
51
+ },
52
+ waiting() {
53
+ return pending.size;
54
+ },
55
+ };
56
+ }
57
+ /**
58
+ * Whether the watch reports changes yet, learned by making one: macOS
59
+ * starts reporting a moment after the watch returns, and a change made
60
+ * before then is never reported, so the boot scan waits for this.
61
+ */
62
+ async function hearsChanges(started, contentDir, logger) {
63
+ const deadline = Date.now() + PROBE_DEADLINE_MS;
64
+ while (Date.now() < deadline) {
65
+ const probe = `${PROBE_PREFIX}${randomUUID()}`;
66
+ const heard = new Promise((resolve) => {
67
+ const timer = setTimeout(() => {
68
+ started.off('change', listener);
69
+ resolve(false);
70
+ }, PROBE_INTERVAL_MS);
71
+ function listener(_type, filename) {
72
+ if (filename === null || path.basename(filename) !== probe)
73
+ return;
74
+ clearTimeout(timer);
75
+ started.off('change', listener);
76
+ resolve(true);
77
+ }
78
+ started.on('change', listener);
79
+ });
80
+ const probePath = path.join(contentDir, probe);
81
+ try {
82
+ await mkdir(probePath);
83
+ }
84
+ catch (error) {
85
+ logger.warn(`The content directory cannot be written, so whether the watcher reports changes was not checked: ${messageOf(error)}`);
86
+ return true;
87
+ }
88
+ const wasHeard = await heard;
89
+ await rmdir(probePath);
90
+ if (wasHeard)
91
+ return true;
92
+ }
93
+ return false;
94
+ }
95
+ function isIgnored(relativePath) {
96
+ const segments = relativePath.replace(/\\/g, '/').split('/');
97
+ const name = segments.at(-1);
98
+ if (segments.slice(0, -1).some((segment) => !isWalkableDirectory(segment)))
99
+ return true;
100
+ if (segments.length === 1 && name.startsWith(PROBE_PREFIX))
101
+ return false;
102
+ return !isWalkableDirectory(name);
103
+ }
104
+ //# sourceMappingURL=content-watcher.js.map