@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.
- package/dist/admin/admin-bar.d.ts +2 -3
- package/dist/admin/admin-bar.d.ts.map +1 -1
- package/dist/admin/admin-bar.js +4 -5
- package/dist/admin/admin-bar.js.map +1 -1
- package/dist/admin/app-activity.d.ts +1 -1
- package/dist/admin/appearance.d.ts +5 -5
- package/dist/admin/appearance.js +5 -5
- package/dist/admin/comments.d.ts +3 -3
- package/dist/admin/comments.js +2 -2
- package/dist/admin/comments.js.map +1 -1
- package/dist/admin/connected-apps.d.ts +1 -1
- package/dist/admin/connected-apps.js +1 -1
- package/dist/admin/credentials.d.ts +3 -3
- package/dist/admin/credentials.js +3 -3
- package/dist/admin/dashboard.js +2 -2
- package/dist/admin/dashboard.js.map +1 -1
- package/dist/admin/documents.d.ts +4 -4
- package/dist/admin/documents.d.ts.map +1 -1
- package/dist/admin/documents.js +150 -144
- package/dist/admin/documents.js.map +1 -1
- package/dist/admin/editor-actions.d.ts +1 -1
- package/dist/admin/editor-actions.js +1 -1
- package/dist/admin/federation.d.ts +11 -11
- package/dist/admin/federation.d.ts.map +1 -1
- package/dist/admin/federation.js +10 -10
- package/dist/admin/flash.d.ts +8 -0
- package/dist/admin/flash.d.ts.map +1 -1
- package/dist/admin/flash.js +11 -0
- package/dist/admin/flash.js.map +1 -1
- package/dist/admin/indieauth-consent.d.ts +1 -1
- package/dist/admin/indieauth-consent.js +1 -1
- package/dist/admin/legacy-migrations.d.ts +20 -19
- package/dist/admin/legacy-migrations.d.ts.map +1 -1
- package/dist/admin/legacy-migrations.js +14 -13
- package/dist/admin/legacy-migrations.js.map +1 -1
- package/dist/admin/media.js +1 -1
- package/dist/admin/menu.d.ts +1 -1
- package/dist/admin/menu.js +4 -4
- package/dist/admin/menu.js.map +1 -1
- package/dist/admin/messages.d.ts +2 -2
- package/dist/admin/messages.js +2 -2
- package/dist/admin/navigation.d.ts +3 -3
- package/dist/admin/navigation.js +3 -3
- package/dist/admin/personal-data.d.ts +1 -1
- package/dist/admin/personal-data.js +1 -1
- package/dist/admin/plugins.d.ts +1 -1
- package/dist/admin/plugins.js +1 -1
- package/dist/admin/preview.js +3 -3
- package/dist/admin/preview.js.map +1 -1
- package/dist/admin/recovery.d.ts +1 -1
- package/dist/admin/recovery.js +1 -1
- package/dist/admin/routes.d.ts +3 -3
- package/dist/admin/routes.js +14 -14
- package/dist/admin/routes.js.map +1 -1
- package/dist/admin/settings-discussion.d.ts +3 -3
- package/dist/admin/settings-discussion.js +3 -3
- package/dist/admin/settings-federation.d.ts +2 -2
- package/dist/admin/settings-federation.js +5 -5
- package/dist/admin/settings-federation.js.map +1 -1
- package/dist/admin/settings-general.d.ts +1 -1
- package/dist/admin/settings-general.js +2 -2
- package/dist/admin/settings-general.js.map +1 -1
- package/dist/admin/settings-page.d.ts +2 -2
- package/dist/admin/settings-page.js +1 -1
- package/dist/admin/settings-pages.d.ts +1 -1
- package/dist/admin/settings-pages.js +1 -1
- package/dist/admin/settings-reading.d.ts +2 -2
- package/dist/admin/settings-reading.js +2 -2
- package/dist/admin/syndication-targets.d.ts +2 -2
- package/dist/admin/syndication-targets.js +2 -2
- package/dist/admin/taxonomy.d.ts +4 -4
- package/dist/admin/taxonomy.js +4 -4
- package/dist/admin/templates.d.ts +2 -2
- package/dist/admin/templates.js +2 -2
- package/dist/admin/tools.d.ts +1 -1
- package/dist/admin/tools.js +1 -1
- package/dist/admin/users.d.ts +0 -159
- package/dist/admin/users.d.ts.map +1 -1
- package/dist/admin/users.js +204 -498
- package/dist/admin/users.js.map +1 -1
- package/dist/avatars/avatars.d.ts +2 -2
- package/dist/avatars/avatars.js +2 -2
- package/dist/cache.d.ts +1 -1
- package/dist/cache.js +1 -1
- package/dist/cli/args.d.ts +20 -0
- package/dist/cli/args.d.ts.map +1 -0
- package/dist/cli/args.js +138 -0
- package/dist/cli/args.js.map +1 -0
- package/dist/cli/commands.d.ts +10 -0
- package/dist/cli/commands.d.ts.map +1 -0
- package/dist/cli/commands.js +261 -0
- package/dist/cli/commands.js.map +1 -0
- package/dist/cli/database-in-use.d.ts +9 -0
- package/dist/cli/database-in-use.d.ts.map +1 -0
- package/dist/cli/database-in-use.js +38 -0
- package/dist/cli/database-in-use.js.map +1 -0
- package/dist/cli/dev-mode.d.ts +3 -0
- package/dist/cli/dev-mode.d.ts.map +1 -0
- package/dist/cli/dev-mode.js +31 -0
- package/dist/cli/dev-mode.js.map +1 -0
- package/dist/cli/export.d.ts +3 -0
- package/dist/cli/export.d.ts.map +1 -0
- package/dist/cli/export.js +53 -0
- package/dist/cli/export.js.map +1 -0
- package/dist/cli/format.d.ts +3 -0
- package/dist/cli/format.d.ts.map +1 -0
- package/dist/cli/format.js +10 -0
- package/dist/cli/format.js.map +1 -0
- package/dist/cli/gemini.d.ts +3 -0
- package/dist/cli/gemini.d.ts.map +1 -0
- package/dist/cli/gemini.js +34 -0
- package/dist/cli/gemini.js.map +1 -0
- package/dist/cli/help.d.ts +2 -0
- package/dist/cli/help.d.ts.map +1 -0
- package/dist/cli/help.js +111 -0
- package/dist/cli/help.js.map +1 -0
- package/dist/cli/import.d.ts +3 -0
- package/dist/cli/import.d.ts.map +1 -0
- package/dist/cli/import.js +84 -0
- package/dist/cli/import.js.map +1 -0
- package/dist/cli/init.d.ts +3 -0
- package/dist/cli/init.d.ts.map +1 -0
- package/dist/cli/init.js +21 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/cli/maintenance.d.ts +3 -0
- package/dist/cli/maintenance.d.ts.map +1 -0
- package/dist/cli/maintenance.js +57 -0
- package/dist/cli/maintenance.js.map +1 -0
- package/dist/cli/options.d.ts +16 -0
- package/dist/cli/options.d.ts.map +1 -0
- package/dist/cli/options.js +27 -0
- package/dist/cli/options.js.map +1 -0
- package/dist/cli/password.d.ts +21 -0
- package/dist/cli/password.d.ts.map +1 -0
- package/dist/cli/password.js +52 -0
- package/dist/cli/password.js.map +1 -0
- package/dist/cli/plugin-commands.d.ts +11 -0
- package/dist/cli/plugin-commands.d.ts.map +1 -0
- package/dist/cli/plugin-commands.js +79 -0
- package/dist/cli/plugin-commands.js.map +1 -0
- package/dist/cli/plugin-folder.d.ts +3 -0
- package/dist/cli/plugin-folder.d.ts.map +1 -0
- package/dist/cli/plugin-folder.js +93 -0
- package/dist/cli/plugin-folder.js.map +1 -0
- package/dist/cli/rebuild.d.ts +5 -0
- package/dist/cli/rebuild.d.ts.map +1 -0
- package/dist/cli/rebuild.js +44 -0
- package/dist/cli/rebuild.js.map +1 -0
- package/dist/cli/resend.d.ts +3 -0
- package/dist/cli/resend.d.ts.map +1 -0
- package/dist/cli/resend.js +36 -0
- package/dist/cli/resend.js.map +1 -0
- package/dist/cli/run-job.d.ts +5 -0
- package/dist/cli/run-job.d.ts.map +1 -0
- package/dist/cli/run-job.js +29 -0
- package/dist/cli/run-job.js.map +1 -0
- package/dist/cli/serve.d.ts +3 -0
- package/dist/cli/serve.d.ts.map +1 -0
- package/dist/cli/serve.js +65 -0
- package/dist/cli/serve.js.map +1 -0
- package/dist/cli/settings.d.ts +5 -0
- package/dist/cli/settings.d.ts.map +1 -0
- package/dist/cli/settings.js +144 -0
- package/dist/cli/settings.js.map +1 -0
- package/dist/cli/site-plugins.d.ts +5 -0
- package/dist/cli/site-plugins.d.ts.map +1 -0
- package/dist/cli/site-plugins.js +7 -0
- package/dist/cli/site-plugins.js.map +1 -0
- package/dist/cli/strip-metadata.d.ts +3 -0
- package/dist/cli/strip-metadata.d.ts.map +1 -0
- package/dist/cli/strip-metadata.js +20 -0
- package/dist/cli/strip-metadata.js.map +1 -0
- package/dist/cli/sync.d.ts +3 -0
- package/dist/cli/sync.d.ts.map +1 -0
- package/dist/cli/sync.js +22 -0
- package/dist/cli/sync.js.map +1 -0
- package/dist/cli/user.d.ts +3 -0
- package/dist/cli/user.d.ts.map +1 -0
- package/dist/cli/user.js +54 -0
- package/dist/cli/user.js.map +1 -0
- package/dist/cli.d.ts +0 -62
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +6 -1566
- package/dist/cli.js.map +1 -1
- package/dist/cms/app.js +10 -10
- package/dist/cms/app.js.map +1 -1
- package/dist/cms/boot.js +5 -5
- package/dist/cms/boot.js.map +1 -1
- package/dist/cms/create.d.ts +17 -17
- package/dist/cms/create.d.ts.map +1 -1
- package/dist/cms/create.js +1 -1
- package/dist/cms/create.js.map +1 -1
- package/dist/cms/server-error.d.ts +1 -1
- package/dist/cms/server-error.js +1 -1
- package/dist/cms/services.js +14 -14
- package/dist/cms/services.js.map +1 -1
- package/dist/comments/akismet.d.ts +4 -4
- package/dist/comments/akismet.js +6 -6
- package/dist/comments/akismet.js.map +1 -1
- package/dist/comments/conversation.d.ts +29 -29
- package/dist/comments/conversation.d.ts.map +1 -1
- package/dist/comments/conversation.js +2 -2
- package/dist/comments/conversation.js.map +1 -1
- package/dist/comments/form.d.ts +3 -3
- package/dist/comments/form.d.ts.map +1 -1
- package/dist/comments/intake.d.ts +4 -4
- package/dist/comments/intake.d.ts.map +1 -1
- package/dist/comments/intake.js +1 -1
- package/dist/comments/migrations.d.ts +3 -3
- package/dist/comments/migrations.js +3 -3
- package/dist/comments/moderate.d.ts +2 -2
- package/dist/comments/moderate.js +2 -2
- package/dist/comments/page-form.d.ts +1 -1
- package/dist/comments/page-form.js +1 -1
- package/dist/comments/records.d.ts +9 -9
- package/dist/comments/records.d.ts.map +1 -1
- package/dist/comments/records.js +11 -10
- package/dist/comments/records.js.map +1 -1
- package/dist/comments/reply-notices.d.ts +2 -2
- package/dist/comments/reply-post.d.ts +2 -2
- package/dist/comments/submission.d.ts +8 -8
- package/dist/comments/submission.d.ts.map +1 -1
- package/dist/comments/submission.js +9 -9
- package/dist/comments/submission.js.map +1 -1
- package/dist/config.d.ts +27 -27
- package/dist/config.js +3 -3
- package/dist/contact/index.d.ts +1 -1
- package/dist/contact/index.js +1 -1
- package/dist/contact/records.d.ts +7 -7
- package/dist/contact/records.js +7 -7
- package/dist/content/alt-text.d.ts +2 -2
- package/dist/content/alt-text.js +2 -2
- package/dist/content/authors.d.ts +6 -6
- package/dist/content/authors.d.ts.map +1 -1
- package/dist/content/authors.js +6 -6
- package/dist/content/authors.js.map +1 -1
- package/dist/content/citation.d.ts +1 -1
- package/dist/content/content-tree.d.ts +5 -0
- package/dist/content/content-tree.d.ts.map +1 -0
- package/dist/content/content-tree.js +54 -0
- package/dist/content/content-tree.js.map +1 -0
- package/dist/content/content-watcher.d.ts +15 -0
- package/dist/content/content-watcher.d.ts.map +1 -0
- package/dist/content/content-watcher.js +104 -0
- package/dist/content/content-watcher.js.map +1 -0
- package/dist/content/document-form.d.ts +25 -24
- package/dist/content/document-form.d.ts.map +1 -1
- package/dist/content/document-form.js +7 -7
- package/dist/content/document-form.js.map +1 -1
- package/dist/content/document-kind.d.ts +6 -6
- package/dist/content/document.d.ts +1 -1
- package/dist/content/enclosure-form.js +1 -1
- package/dist/content/enclosure.js +1 -1
- package/dist/content/event-form.d.ts +2 -2
- package/dist/content/event.d.ts +3 -3
- package/dist/content/event.js +3 -3
- package/dist/content/guids.d.ts +6 -6
- package/dist/content/guids.d.ts.map +1 -1
- package/dist/content/guids.js +7 -7
- package/dist/content/guids.js.map +1 -1
- package/dist/content/handles.d.ts +1 -1
- package/dist/content/handles.js +1 -1
- package/dist/content/html-to-markdown.js +2 -2
- package/dist/content/language.d.ts +1 -1
- package/dist/content/language.js +1 -1
- package/dist/content/locale.d.ts +1 -1
- package/dist/content/locale.js +1 -1
- package/dist/content/markdown.d.ts +1 -1
- package/dist/content/markdown.js +1 -1
- package/dist/content/parser.d.ts +1 -1
- package/dist/content/parser.d.ts.map +1 -1
- package/dist/content/permalinks.d.ts +4 -4
- package/dist/content/permalinks.js +4 -4
- package/dist/content/photo-form.js +2 -2
- package/dist/content/photo.d.ts +2 -2
- package/dist/content/photo.js +1 -1
- package/dist/content/pinned.d.ts +3 -3
- package/dist/content/pinned.js +3 -3
- package/dist/content/post-fields.js +2 -2
- package/dist/content/post-fields.js.map +1 -1
- package/dist/content/post-type.d.ts +4 -4
- package/dist/content/post-type.js +1 -1
- package/dist/content/reconcile.d.ts +15 -0
- package/dist/content/reconcile.d.ts.map +1 -0
- package/dist/content/reconcile.js +106 -0
- package/dist/content/reconcile.js.map +1 -0
- package/dist/content/redirects.d.ts +2 -3
- package/dist/content/redirects.d.ts.map +1 -1
- package/dist/content/redirects.js +2 -3
- package/dist/content/redirects.js.map +1 -1
- package/dist/content/rsvp.d.ts +1 -1
- package/dist/content/rsvp.js +1 -1
- package/dist/content/sanitize.js +1 -1
- package/dist/content/save.d.ts +3 -3
- package/dist/content/save.js +4 -4
- package/dist/content/scan.d.ts +12 -0
- package/dist/content/scan.d.ts.map +1 -0
- package/dist/content/scan.js +58 -0
- package/dist/content/scan.js.map +1 -0
- package/dist/content/search.d.ts +3 -3
- package/dist/content/search.js +3 -3
- package/dist/content/served.d.ts +5 -5
- package/dist/content/served.js +4 -4
- package/dist/content/site-links.d.ts +3 -4
- package/dist/content/site-links.d.ts.map +1 -1
- package/dist/content/site-links.js +1 -2
- package/dist/content/site-links.js.map +1 -1
- package/dist/content/sqlite/clauses.d.ts +1 -1
- package/dist/content/sqlite/clauses.js +1 -1
- package/dist/content/sqlite/rows.d.ts +1 -1
- package/dist/content/sqlite/rows.js +1 -1
- package/dist/content/store.d.ts +26 -26
- package/dist/content/sync.d.ts +3 -3
- package/dist/content/sync.d.ts.map +1 -1
- package/dist/content/sync.js +65 -382
- package/dist/content/sync.js.map +1 -1
- package/dist/content/taxonomy.d.ts +9 -8
- package/dist/content/taxonomy.d.ts.map +1 -1
- package/dist/content/taxonomy.js +9 -8
- package/dist/content/taxonomy.js.map +1 -1
- package/dist/content/time.d.ts +1 -1
- package/dist/content/time.js +1 -1
- package/dist/content/trash.d.ts +4 -5
- package/dist/content/trash.d.ts.map +1 -1
- package/dist/content/trash.js +4 -5
- package/dist/content/trash.js.map +1 -1
- package/dist/content/write.d.ts +4 -4
- package/dist/content/write.js +19 -19
- package/dist/content/write.js.map +1 -1
- package/dist/drain.d.ts +1 -1
- package/dist/drain.js +1 -1
- package/dist/federation/actor.d.ts +9 -9
- package/dist/federation/actor.js +10 -10
- package/dist/federation/article.d.ts +14 -14
- package/dist/federation/article.js +27 -27
- package/dist/federation/article.js.map +1 -1
- package/dist/federation/backfill.d.ts +2 -2
- package/dist/federation/backfill.js +2 -2
- package/dist/federation/citations.d.ts +1 -1
- package/dist/federation/citations.js +1 -1
- package/dist/federation/cited-post.d.ts +1 -1
- package/dist/federation/cited-post.js +1 -1
- package/dist/federation/delivery-plan.d.ts +1 -1
- package/dist/federation/delivery.d.ts +3 -3
- package/dist/federation/delivery.d.ts.map +1 -1
- package/dist/federation/delivery.js +11 -12
- package/dist/federation/delivery.js.map +1 -1
- package/dist/federation/federation.d.ts +3 -3
- package/dist/federation/federation.d.ts.map +1 -1
- package/dist/federation/federation.js +7 -8
- package/dist/federation/federation.js.map +1 -1
- package/dist/federation/handles.d.ts +1 -1
- package/dist/federation/handles.js +1 -1
- package/dist/federation/inbox.d.ts +6 -6
- package/dist/federation/inbox.js +9 -9
- package/dist/federation/keys.d.ts +3 -3
- package/dist/federation/keys.js +3 -3
- package/dist/federation/object-ids.d.ts +1 -1
- package/dist/federation/paths.d.ts +8 -8
- package/dist/federation/paths.js +8 -8
- package/dist/federation/profiles.d.ts +2 -3
- package/dist/federation/profiles.d.ts.map +1 -1
- package/dist/federation/profiles.js +2 -3
- package/dist/federation/profiles.js.map +1 -1
- package/dist/federation/quotes.d.ts +1 -1
- package/dist/federation/records.d.ts +24 -24
- package/dist/federation/records.js +23 -23
- package/dist/federation/records.js.map +1 -1
- package/dist/federation/refusals.d.ts +1 -1
- package/dist/federation/relays.d.ts +1 -1
- package/dist/federation/relays.js +6 -6
- package/dist/federation/webfinger.d.ts +2 -2
- package/dist/federation/webfinger.js +2 -2
- package/dist/files/atomic.d.ts +2 -2
- package/dist/files/atomic.js +1 -1
- package/dist/forms/checker.d.ts +2 -2
- package/dist/forms/checker.d.ts.map +1 -1
- package/dist/forms/protection.d.ts +1 -1
- package/dist/forms/protection.js +1 -1
- package/dist/gemini/certificate.js +1 -1
- package/dist/images/markup.d.ts +2 -2
- package/dist/images/variants.d.ts +8 -8
- package/dist/images/variants.js +1 -1
- package/dist/indexnow.d.ts +1 -1
- package/dist/indieauth/grants.d.ts +2 -2
- package/dist/indieauth/identity.d.ts +3 -5
- package/dist/indieauth/identity.d.ts.map +1 -1
- package/dist/indieauth/identity.js +3 -5
- package/dist/indieauth/identity.js.map +1 -1
- package/dist/indieauth/redeem.d.ts +2 -2
- package/dist/indieauth/redeem.js +2 -2
- package/dist/indieauth/request.d.ts +2 -2
- package/dist/indieauth/request.js +2 -2
- package/dist/indieauth/tokens.d.ts +3 -5
- package/dist/indieauth/tokens.d.ts.map +1 -1
- package/dist/indieauth/tokens.js +3 -5
- package/dist/indieauth/tokens.js.map +1 -1
- package/dist/jobs/file-records.d.ts +1 -1
- package/dist/jobs/file-records.js +1 -1
- package/dist/jobs/in-process.d.ts +1 -1
- package/dist/jobs/in-process.js +1 -1
- package/dist/jobs/queue.d.ts +1 -1
- package/dist/jobs/queue.js +1 -1
- package/dist/mail/provider.d.ts +2 -2
- package/dist/mail/provider.js +2 -2
- package/dist/media/library.d.ts +2 -2
- package/dist/media/uploads.js +2 -2
- package/dist/media/uploads.js.map +1 -1
- package/dist/micropub/create.d.ts +1 -1
- package/dist/micropub/endpoint.d.ts +7 -7
- package/dist/micropub/endpoint.js +8 -8
- package/dist/micropub/endpoint.js.map +1 -1
- package/dist/micropub/media.d.ts +4 -4
- package/dist/micropub/media.js +4 -4
- package/dist/micropub/update.d.ts +1 -1
- package/dist/micropub/update.js +1 -1
- package/dist/notifications/comments.d.ts +1 -1
- package/dist/notifications/comments.js +2 -2
- package/dist/notifications/comments.js.map +1 -1
- package/dist/notifications/digest.d.ts +7 -7
- package/dist/notifications/digest.js +7 -7
- package/dist/notifications/mail-service.d.ts +4 -4
- package/dist/notifications/mail-service.d.ts.map +1 -1
- package/dist/notifications/mail-service.js +3 -3
- package/dist/notifications/mail-templates.d.ts +3 -3
- package/dist/notifications/optouts.d.ts +1 -1
- package/dist/notifications/optouts.js +1 -1
- package/dist/notifications/tokens.d.ts +2 -2
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.js +5 -5
- package/dist/plugins/changes.js +2 -2
- package/dist/plugins/folder.d.ts +2 -2
- package/dist/plugins/folder.js +2 -2
- package/dist/plugins/install.d.ts +1 -1
- package/dist/plugins/install.js +1 -1
- package/dist/plugins/registry.d.ts +1 -1
- package/dist/plugins/registry.js +1 -1
- package/dist/plugins/site.d.ts +1 -1
- package/dist/plugins/site.js +1 -1
- package/dist/privacy/erase.d.ts +1 -1
- package/dist/privacy/erase.js +1 -1
- package/dist/privacy/retention.d.ts +2 -2
- package/dist/privacy/retention.js +2 -2
- package/dist/site/admin-paths.d.ts +2 -2
- package/dist/site/admin-paths.js +2 -2
- package/dist/site/authors.d.ts +6 -6
- package/dist/site/authors.js +5 -5
- package/dist/site/dashboard-layout.d.ts +1 -1
- package/dist/site/indexnow-key.js +1 -1
- package/dist/site/namespace.d.ts +1 -1
- package/dist/site/namespace.js +1 -1
- package/dist/site/navigation.d.ts +10 -10
- package/dist/site/navigation.js +10 -10
- package/dist/site/notification-preferences.d.ts +3 -3
- package/dist/site/notification-preferences.js +2 -2
- package/dist/site/retention-policy.d.ts +1 -1
- package/dist/site/retention-policy.js +1 -1
- package/dist/site/users.d.ts +23 -24
- package/dist/site/users.d.ts.map +1 -1
- package/dist/site/users.js +6 -6
- package/dist/site/users.js.map +1 -1
- package/dist/store/admin-store.d.ts +2 -2
- package/dist/store/comments.d.ts +17 -17
- package/dist/store/comments.d.ts.map +1 -1
- package/dist/store/comments.js +14 -21
- package/dist/store/comments.js.map +1 -1
- package/dist/store/conversation.d.ts +2 -2
- package/dist/store/deliveries.d.ts +1 -1
- package/dist/store/deliveries.d.ts.map +1 -1
- package/dist/store/deliveries.js +10 -15
- package/dist/store/deliveries.js.map +1 -1
- package/dist/store/followers.d.ts +5 -5
- package/dist/store/followers.d.ts.map +1 -1
- package/dist/store/followers.js +7 -10
- package/dist/store/followers.js.map +1 -1
- package/dist/store/inbox-replies.d.ts +4 -4
- package/dist/store/inbox-replies.js +4 -4
- package/dist/store/inbox.d.ts +5 -5
- package/dist/store/inbox.d.ts.map +1 -1
- package/dist/store/inbox.js +21 -34
- package/dist/store/inbox.js.map +1 -1
- package/dist/store/profiles.d.ts +5 -5
- package/dist/store/profiles.d.ts.map +1 -1
- package/dist/store/profiles.js +4 -5
- package/dist/store/profiles.js.map +1 -1
- package/dist/store/relays.d.ts.map +1 -1
- package/dist/store/relays.js +7 -9
- package/dist/store/relays.js.map +1 -1
- package/dist/store/rows.d.ts +6 -20
- package/dist/store/rows.d.ts.map +1 -1
- package/dist/store/rows.js +10 -15
- package/dist/store/rows.js.map +1 -1
- package/dist/store/schema.js +35 -35
- package/dist/store/schema.js.map +1 -1
- package/dist/store/sessions.d.ts +1 -1
- package/dist/store/sessions.d.ts.map +1 -1
- package/dist/store/sessions.js +10 -10
- package/dist/store/sessions.js.map +1 -1
- package/dist/store/state.d.ts.map +1 -1
- package/dist/store/state.js +2 -2
- package/dist/store/state.js.map +1 -1
- package/dist/store/tokens.d.ts +1 -1
- package/dist/store/tokens.d.ts.map +1 -1
- package/dist/store/tokens.js +5 -5
- package/dist/store/tokens.js.map +1 -1
- package/dist/store/webmentions.d.ts +2 -2
- package/dist/store/webmentions.d.ts.map +1 -1
- package/dist/store/webmentions.js +11 -11
- package/dist/store/webmentions.js.map +1 -1
- package/dist/supervisor/plugin-watcher.d.ts +26 -0
- package/dist/supervisor/plugin-watcher.d.ts.map +1 -0
- package/dist/supervisor/plugin-watcher.js +90 -0
- package/dist/supervisor/plugin-watcher.js.map +1 -0
- package/dist/supervisor/primary.d.ts +4 -7
- package/dist/supervisor/primary.d.ts.map +1 -1
- package/dist/supervisor/primary.js +37 -94
- package/dist/supervisor/primary.js.map +1 -1
- package/dist/supervisor/protocol.d.ts +1 -1
- package/dist/supervisor/protocol.js +1 -1
- package/dist/supervisor/reload-queue.d.ts +10 -0
- package/dist/supervisor/reload-queue.d.ts.map +1 -0
- package/dist/supervisor/reload-queue.js +28 -0
- package/dist/supervisor/reload-queue.js.map +1 -0
- package/dist/supervisor/supervision.d.ts +2 -2
- package/dist/supervisor/supervision.js +2 -2
- package/dist/supervisor/worker.d.ts +1 -1
- package/dist/supervisor/worker.js +1 -1
- package/dist/theme/site-data.d.ts +3 -3
- package/dist/theme/site-data.js +2 -2
- package/dist/theme/templates.d.ts +3 -3
- package/dist/theme/templates.js +16 -16
- package/dist/theme/templates.js.map +1 -1
- package/dist/theme/themes.d.ts +11 -13
- package/dist/theme/themes.d.ts.map +1 -1
- package/dist/theme/themes.js +8 -9
- package/dist/theme/themes.js.map +1 -1
- package/dist/web/activity-folding.d.ts +33 -0
- package/dist/web/activity-folding.d.ts.map +1 -0
- package/dist/web/activity-folding.js +238 -0
- package/dist/web/activity-folding.js.map +1 -0
- package/dist/web/archive.d.ts +2 -3
- package/dist/web/archive.d.ts.map +1 -1
- package/dist/web/archive.js +2 -3
- package/dist/web/archive.js.map +1 -1
- package/dist/web/asset-routes.d.ts +1 -1
- package/dist/web/asset-routes.js +1 -1
- package/dist/web/comment-routes.js +2 -2
- package/dist/web/comment-routes.js.map +1 -1
- package/dist/web/compression.d.ts +1 -1
- package/dist/web/compression.js +1 -1
- package/dist/web/context.d.ts +21 -21
- package/dist/web/context.d.ts.map +1 -1
- package/dist/web/context.js +7 -7
- package/dist/web/conversation-context.d.ts +15 -0
- package/dist/web/conversation-context.d.ts.map +1 -0
- package/dist/web/conversation-context.js +2 -0
- package/dist/web/conversation-context.js.map +1 -0
- package/dist/web/conversation-feed.d.ts +18 -0
- package/dist/web/conversation-feed.d.ts.map +1 -0
- package/dist/web/conversation-feed.js +53 -0
- package/dist/web/conversation-feed.js.map +1 -0
- package/dist/web/conversation-gather.d.ts +12 -0
- package/dist/web/conversation-gather.d.ts.map +1 -0
- package/dist/web/conversation-gather.js +189 -0
- package/dist/web/conversation-gather.js.map +1 -0
- package/dist/web/conversation-lookup.d.ts +15 -0
- package/dist/web/conversation-lookup.d.ts.map +1 -0
- package/dist/web/conversation-lookup.js +101 -0
- package/dist/web/conversation-lookup.js.map +1 -0
- package/dist/web/conversation-threads.d.ts +12 -0
- package/dist/web/conversation-threads.d.ts.map +1 -0
- package/dist/web/conversation-threads.js +144 -0
- package/dist/web/conversation-threads.js.map +1 -0
- package/dist/web/conversation.d.ts +25 -61
- package/dist/web/conversation.d.ts.map +1 -1
- package/dist/web/conversation.js +14 -854
- package/dist/web/conversation.js.map +1 -1
- package/dist/web/document-page.js +4 -4
- package/dist/web/document-page.js.map +1 -1
- package/dist/web/document-render.d.ts +9 -0
- package/dist/web/document-render.d.ts.map +1 -0
- package/dist/web/document-render.js +130 -0
- package/dist/web/document-render.js.map +1 -0
- package/dist/web/document-site.d.ts +1 -1
- package/dist/web/document-site.d.ts.map +1 -1
- package/dist/web/document-site.js +1 -1
- package/dist/web/document-site.js.map +1 -1
- package/dist/web/env.d.ts +19 -19
- package/dist/web/env.d.ts.map +1 -1
- package/dist/web/federation-routes.d.ts +2 -2
- package/dist/web/federation-routes.d.ts.map +1 -1
- package/dist/web/federation-routes.js +22 -21
- package/dist/web/federation-routes.js.map +1 -1
- package/dist/web/feed-atom.d.ts +3 -3
- package/dist/web/feed-atom.js +3 -3
- package/dist/web/feed-item.d.ts +15 -16
- package/dist/web/feed-item.d.ts.map +1 -1
- package/dist/web/feed-item.js +1 -1
- package/dist/web/feed-item.js.map +1 -1
- package/dist/web/feed-json.d.ts +4 -4
- package/dist/web/feed-json.d.ts.map +1 -1
- package/dist/web/feed-json.js +2 -2
- package/dist/web/feed-routes.d.ts +3 -3
- package/dist/web/feed-routes.js +4 -4
- package/dist/web/feed-routes.js.map +1 -1
- package/dist/web/feed-rss.d.ts +2 -2
- package/dist/web/feed-rss.js +4 -4
- package/dist/web/feed-rss.js.map +1 -1
- package/dist/web/feed-source.d.ts +5 -5
- package/dist/web/feed-source.d.ts.map +1 -1
- package/dist/web/feed-source.js +2 -2
- package/dist/web/feed-source.js.map +1 -1
- package/dist/web/feed-xml.d.ts +4 -4
- package/dist/web/feed-xml.d.ts.map +1 -1
- package/dist/web/feed-xml.js +4 -4
- package/dist/web/feed-xml.js.map +1 -1
- package/dist/web/font-routes.d.ts +1 -1
- package/dist/web/font-routes.js +1 -1
- package/dist/web/health.d.ts +1 -1
- package/dist/web/index.d.ts +5 -3
- package/dist/web/index.d.ts.map +1 -1
- package/dist/web/index.js +4 -2
- package/dist/web/index.js.map +1 -1
- package/dist/web/indieauth-activity-log.js +1 -1
- package/dist/web/indieauth-bearer.d.ts +2 -2
- package/dist/web/indieauth-discovery.d.ts +12 -12
- package/dist/web/indieauth-discovery.d.ts.map +1 -1
- package/dist/web/indieauth-discovery.js +12 -12
- package/dist/web/indieauth-discovery.js.map +1 -1
- package/dist/web/indieauth-token.d.ts +2 -2
- package/dist/web/indieauth-token.js +2 -2
- package/dist/web/listing-render.d.ts +11 -0
- package/dist/web/listing-render.d.ts.map +1 -0
- package/dist/web/listing-render.js +76 -0
- package/dist/web/listing-render.js.map +1 -0
- package/dist/web/listing-subject.js +1 -1
- package/dist/web/listing-subject.js.map +1 -1
- package/dist/web/llms.d.ts +1 -1
- package/dist/web/llms.js +1 -1
- package/dist/web/maintenance.d.ts +1 -1
- package/dist/web/maintenance.js +1 -1
- package/dist/web/manifest.d.ts +1 -1
- package/dist/web/manifest.js +1 -1
- package/dist/web/markdown-chrome.d.ts +11 -0
- package/dist/web/markdown-chrome.d.ts.map +1 -0
- package/dist/web/markdown-chrome.js +178 -0
- package/dist/web/markdown-chrome.js.map +1 -0
- package/dist/web/markdown-conversation.d.ts +1 -1
- package/dist/web/markdown-conversation.d.ts.map +1 -1
- package/dist/web/markdown-environment.d.ts +10 -0
- package/dist/web/markdown-environment.d.ts.map +1 -0
- package/dist/web/markdown-environment.js +56 -0
- package/dist/web/markdown-environment.js.map +1 -0
- package/dist/web/markdown-representation.d.ts +1 -1
- package/dist/web/markdown-representation.d.ts.map +1 -1
- package/dist/web/markdown-representation.js +2 -2
- package/dist/web/markdown-representation.js.map +1 -1
- package/dist/web/negotiate.d.ts +9 -6
- package/dist/web/negotiate.d.ts.map +1 -1
- package/dist/web/negotiate.js +17 -13
- package/dist/web/negotiate.js.map +1 -1
- package/dist/web/oembed.d.ts +3 -3
- package/dist/web/oembed.js +3 -3
- package/dist/web/opensearch.d.ts +1 -1
- package/dist/web/opensearch.js +1 -1
- package/dist/web/page-context.d.ts +29 -0
- package/dist/web/page-context.d.ts.map +1 -0
- package/dist/web/page-context.js +126 -0
- package/dist/web/page-context.js.map +1 -0
- package/dist/web/page-tags.js +1 -1
- package/dist/web/page-tags.js.map +1 -1
- package/dist/web/paths.d.ts +1 -1
- package/dist/web/paths.js +3 -3
- package/dist/web/plugin-federation.d.ts +1 -1
- package/dist/web/plugin-federation.js +1 -1
- package/dist/web/render-scope.d.ts +20 -0
- package/dist/web/render-scope.d.ts.map +1 -0
- package/dist/web/render-scope.js +36 -0
- package/dist/web/render-scope.js.map +1 -0
- package/dist/web/render.d.ts +21 -363
- package/dist/web/render.d.ts.map +1 -1
- package/dist/web/render.js +46 -899
- package/dist/web/render.js.map +1 -1
- package/dist/web/request.d.ts +1 -1
- package/dist/web/request.js +1 -1
- package/dist/web/robots.d.ts +1 -1
- package/dist/web/robots.js +1 -1
- package/dist/web/routes.js +19 -19
- package/dist/web/routes.js.map +1 -1
- package/dist/web/search.d.ts +1 -1
- package/dist/web/search.js +1 -1
- package/dist/web/session.d.ts +8 -8
- package/dist/web/session.js +8 -8
- package/dist/web/share-image.d.ts +2 -3
- package/dist/web/share-image.d.ts.map +1 -1
- package/dist/web/share-image.js +1 -1
- package/dist/web/share-image.js.map +1 -1
- package/dist/web/site-view.d.ts +2 -2
- package/dist/web/status-pages.d.ts +1 -1
- package/dist/web/status-pages.d.ts.map +1 -1
- package/dist/web/theme-environment.d.ts +14 -0
- package/dist/web/theme-environment.d.ts.map +1 -0
- package/dist/web/theme-environment.js +112 -0
- package/dist/web/theme-environment.js.map +1 -0
- package/dist/web/theme-templates.d.ts +67 -0
- package/dist/web/theme-templates.d.ts.map +1 -0
- package/dist/web/theme-templates.js +65 -0
- package/dist/web/theme-templates.js.map +1 -0
- package/dist/webmention/microformats.d.ts +5 -5
- package/dist/webmention/microformats.d.ts.map +1 -1
- package/dist/webmention/receive.d.ts +7 -7
- package/dist/webmention/receive.d.ts.map +1 -1
- package/dist/webmention/receive.js +4 -4
- package/dist/webmention/receive.js.map +1 -1
- package/dist/webmention/reply-context/oembed.js +1 -1
- package/dist/webmention/reply-context.d.ts +10 -10
- package/dist/webmention/reply-context.d.ts.map +1 -1
- package/dist/webmention/reply-context.js +5 -5
- package/dist/webmention/reply-contexts.d.ts +6 -6
- package/dist/webmention/reply-contexts.d.ts.map +1 -1
- package/dist/webmention/reply-contexts.js +2 -2
- package/dist/webmention/service.d.ts +13 -13
- package/dist/webmention/service.js +9 -9
- package/dist/webmention/syndication.d.ts +6 -6
- package/dist/webmention/syndication.d.ts.map +1 -1
- package/dist/webmention/syndication.js +6 -6
- package/dist/webmention/syndication.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-watcher.js","sourceRoot":"","sources":["../../src/content/content-watcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC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,CAAC;IACxF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;QAAE,OAAO,KAAK,CAAC;IACzE,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC"}
|
|
@@ -33,7 +33,7 @@ export declare const COMMENT_SETTINGS: {
|
|
|
33
33
|
readonly closed: 'closed';
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
|
-
* The editor field each citing property fills
|
|
36
|
+
* The editor field each citing property fills. The form submits it
|
|
37
37
|
* under the property's own name, as `in-reply-to` is.
|
|
38
38
|
*/
|
|
39
39
|
export declare const CITATION_FIELDS: {
|
|
@@ -51,35 +51,36 @@ export interface EditorForm {
|
|
|
51
51
|
categories: string;
|
|
52
52
|
description: string;
|
|
53
53
|
/**
|
|
54
|
-
* Who the front matter says wrote this, as the select submits it
|
|
54
|
+
* Who the front matter says wrote this, as the select submits it.
|
|
55
55
|
*
|
|
56
|
-
* A username, because
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
56
|
+
* A username, because a post's `author` names a user — but kept as the raw
|
|
57
|
+
* string rather than as a resolved user, because a form is strings and
|
|
58
|
+
* because a file that still holds a display name from before every user
|
|
59
|
+
* became an actor has to be offered back as what it says until somebody
|
|
60
|
+
* saves it.
|
|
60
61
|
*/
|
|
61
62
|
author: string;
|
|
62
63
|
/** The post this one replies to, the mf2 `in-reply-to`. Posts only. */
|
|
63
64
|
inReplyTo: string;
|
|
64
65
|
/**
|
|
65
66
|
* Whether the author is going to the event `inReplyTo` names, the mf2
|
|
66
|
-
* `rsvp
|
|
67
|
+
* `rsvp`, as the file or the form spells it. Posts only.
|
|
67
68
|
*/
|
|
68
69
|
rsvp: string;
|
|
69
|
-
/** The post this one reposts, the mf2 `repost-of
|
|
70
|
+
/** The post this one reposts, the mf2 `repost-of`. Posts only. */
|
|
70
71
|
repostOf: string;
|
|
71
|
-
/** The post this one likes, the mf2 `like-of
|
|
72
|
+
/** The post this one likes, the mf2 `like-of`. Posts only. */
|
|
72
73
|
likeOf: string;
|
|
73
|
-
/** The page this one bookmarks, the mf2 `bookmark-of
|
|
74
|
+
/** The page this one bookmarks, the mf2 `bookmark-of`. Posts only. */
|
|
74
75
|
bookmarkOf: string;
|
|
75
|
-
/** When and where the post's event is
|
|
76
|
+
/** When and where the post's event is. Posts only. */
|
|
76
77
|
event: EventForm;
|
|
77
78
|
review: ReviewForm;
|
|
78
79
|
/** The language it is written in, the `lang` key; empty for the site's. */
|
|
79
80
|
lang: string;
|
|
80
81
|
draft: boolean;
|
|
81
82
|
/**
|
|
82
|
-
* Whether the document is listed or only served at its URL
|
|
83
|
+
* Whether the document is listed or only served at its URL, or a
|
|
83
84
|
* value the site does not recognize, which hides it until one is chosen.
|
|
84
85
|
*/
|
|
85
86
|
visibility: StoredVisibility;
|
|
@@ -87,15 +88,15 @@ export interface EditorForm {
|
|
|
87
88
|
exclude: boolean;
|
|
88
89
|
/** Whether the page offers a contact form. Pages only. */
|
|
89
90
|
contact: boolean;
|
|
90
|
-
/** Whether the post is pinned to its author's profile
|
|
91
|
+
/** Whether the post is pinned to its author's profile. Posts only. */
|
|
91
92
|
pinned: boolean;
|
|
92
93
|
/**
|
|
93
94
|
* Whether the post hides the previews of the pages it cites, `preview:
|
|
94
|
-
* false
|
|
95
|
+
* false`. Posts only.
|
|
95
96
|
*/
|
|
96
97
|
previewHidden: boolean;
|
|
97
98
|
/**
|
|
98
|
-
* The alt text of an image the post cites, `cited-alt
|
|
99
|
+
* The alt text of an image the post cites, `cited-alt`. Posts
|
|
99
100
|
* only; empty for none, when the post's title describes it.
|
|
100
101
|
*/
|
|
101
102
|
citedAlt: string;
|
|
@@ -108,17 +109,17 @@ export interface EditorForm {
|
|
|
108
109
|
* lose is the default every document starts at.
|
|
109
110
|
*/
|
|
110
111
|
comments: string;
|
|
111
|
-
/** The post's recording
|
|
112
|
+
/** The post's recording. Posts only; blank on a page. */
|
|
112
113
|
enclosure: EnclosureForm;
|
|
113
|
-
/** The post's photos
|
|
114
|
+
/** The post's photos, without the blank row the editor adds. Posts only. */
|
|
114
115
|
photos: PhotoRow[];
|
|
115
116
|
/**
|
|
116
|
-
* Where the post was written
|
|
117
|
+
* Where the post was written. Posts only; blank on a page. It is
|
|
117
118
|
* the one field that is not written into the file: the save puts it in
|
|
118
|
-
* `data/locations.json` under the post's permalink
|
|
119
|
+
* `data/locations.json` under the post's permalink.
|
|
119
120
|
*/
|
|
120
121
|
location: LocationForm;
|
|
121
|
-
/** The ids of the declared syndication targets it selects
|
|
122
|
+
/** The ids of the declared syndication targets it selects. Posts only. */
|
|
122
123
|
syndicateTo: string[];
|
|
123
124
|
body: string;
|
|
124
125
|
/** The hash of the file the form was filled in from; empty for a new one. */
|
|
@@ -145,8 +146,8 @@ export declare const AUTHOR_UNTIL_REQUEST = "";
|
|
|
145
146
|
* The editor for a document that does not exist yet.
|
|
146
147
|
*
|
|
147
148
|
* The date field is filled in with the clock as the site's own zone reads it,
|
|
148
|
-
* not with an instant: what a form offers is what a form takes back, and
|
|
149
|
-
*
|
|
149
|
+
* not with an instant: what a form offers is what a form takes back, and an
|
|
150
|
+
* offset-less date in this field means the site's zone.
|
|
150
151
|
*/
|
|
151
152
|
export declare function blankForm(kind: DocumentKind, timezone: string, now: Date): EditorForm;
|
|
152
153
|
/**
|
|
@@ -157,7 +158,7 @@ export declare function blankForm(kind: DocumentKind, timezone: string, now: Dat
|
|
|
157
158
|
* submitted with the field untouched writes back the very instant it was
|
|
158
159
|
* filled in from.
|
|
159
160
|
*
|
|
160
|
-
* `location` is what `data/locations.json` holds for the post
|
|
161
|
+
* `location` is what `data/locations.json` holds for the post,
|
|
161
162
|
* which a document does not carry. It is required because a form loaded
|
|
162
163
|
* without it would remove the stored location on save.
|
|
163
164
|
*/
|
|
@@ -176,7 +177,7 @@ export interface ResolvedMedia {
|
|
|
176
177
|
* The front matter to write that the CMS does not model.
|
|
177
178
|
*
|
|
178
179
|
* What the file already carried comes back out untouched, so a key somebody
|
|
179
|
-
* added by hand survives every admin save
|
|
180
|
+
* added by hand survives every admin save. The one such key the editor
|
|
180
181
|
* has a field for is `eleventyExcludeFromCollections`: ticking the box writes
|
|
181
182
|
* it, and clearing the box takes the key back out rather than leaving a
|
|
182
183
|
* `false` behind — unless the file spelled the key out itself, in which case
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-form.d.ts","sourceRoot":"","sources":["../../src/content/document-form.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,mCAAmC,CAAC;AAE5D;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;aAAK,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E,MAAM,GAAG,SAAS,CAAC;CACrC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,IAAI,EAAE,UAAU,EAChB,GAAG,EAAE,IAAI,EACT,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,SAAS,iBAAiB,EAAE,EACtC,QAAQ,EAAE,MAAM,GACf,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAqCzB;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,YAAY,EAClB,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,QAAQ,GAAG,SAAS,GAC7B,MAAM,GAAG,SAAS,CAGpB"}
|
|
@@ -33,7 +33,7 @@ function commentSettingOf(document) {
|
|
|
33
33
|
return COMMENT_SETTINGS.site;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
* The editor field each citing property fills
|
|
36
|
+
* The editor field each citing property fills. The form submits it
|
|
37
37
|
* under the property's own name, as `in-reply-to` is.
|
|
38
38
|
*/
|
|
39
39
|
export const CITATION_FIELDS = {
|
|
@@ -63,8 +63,8 @@ export const AUTHOR_UNTIL_REQUEST = '';
|
|
|
63
63
|
* The editor for a document that does not exist yet.
|
|
64
64
|
*
|
|
65
65
|
* The date field is filled in with the clock as the site's own zone reads it,
|
|
66
|
-
* not with an instant: what a form offers is what a form takes back, and
|
|
67
|
-
*
|
|
66
|
+
* not with an instant: what a form offers is what a form takes back, and an
|
|
67
|
+
* offset-less date in this field means the site's zone.
|
|
68
68
|
*/
|
|
69
69
|
export function blankForm(kind, timezone, now) {
|
|
70
70
|
return {
|
|
@@ -97,7 +97,7 @@ export function blankForm(kind, timezone, now) {
|
|
|
97
97
|
* submitted with the field untouched writes back the very instant it was
|
|
98
98
|
* filled in from.
|
|
99
99
|
*
|
|
100
|
-
* `location` is what `data/locations.json` holds for the post
|
|
100
|
+
* `location` is what `data/locations.json` holds for the post,
|
|
101
101
|
* which a document does not carry. It is required because a form loaded
|
|
102
102
|
* without it would remove the stored location on save.
|
|
103
103
|
*/
|
|
@@ -143,7 +143,7 @@ export function splitTags(value) {
|
|
|
143
143
|
* The front matter to write that the CMS does not model.
|
|
144
144
|
*
|
|
145
145
|
* What the file already carried comes back out untouched, so a key somebody
|
|
146
|
-
* added by hand survives every admin save
|
|
146
|
+
* added by hand survives every admin save. The one such key the editor
|
|
147
147
|
* has a field for is `eleventyExcludeFromCollections`: ticking the box writes
|
|
148
148
|
* it, and clearing the box takes the key back out rather than leaving a
|
|
149
149
|
* `false` behind — unless the file spelled the key out itself, in which case
|
|
@@ -161,7 +161,7 @@ export function extraFromForm(kind, document, form, now, media, declared, timezo
|
|
|
161
161
|
extra[VISIBILITY_FRONT_MATTER_KEY] = form.visibility;
|
|
162
162
|
else
|
|
163
163
|
extra[VISIBILITY_FRONT_MATTER_KEY] = form.visibility.unrecognized;
|
|
164
|
-
// Empty is the site's language, which is the key's absence
|
|
164
|
+
// Empty is the site's language, which is the key's absence.
|
|
165
165
|
if (form.lang === '')
|
|
166
166
|
delete extra[LANG_FRONT_MATTER_KEY];
|
|
167
167
|
else
|
|
@@ -184,7 +184,7 @@ export function extraFromForm(kind, document, form, now, media, declared, timezo
|
|
|
184
184
|
}
|
|
185
185
|
if (kind.contactable) {
|
|
186
186
|
// Written or removed, never `false`: it is the CMS's own key, and absent
|
|
187
|
-
// and false mean the same thing to everything that reads it
|
|
187
|
+
// and false mean the same thing to everything that reads it.
|
|
188
188
|
if (form.contact)
|
|
189
189
|
extra[CONTACT_FRONT_MATTER_KEY] = true;
|
|
190
190
|
else
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-form.js","sourceRoot":"","sources":["../../src/content/document-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AACxD,OAA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categorised: boolean;
|
|
17
17
|
/**
|
|
18
|
-
* Whether the editor offers the `eleventyExcludeFromCollections` flag.
|
|
19
|
-
* mirrors it for pages that should not list; a post is in the
|
|
20
|
-
* definition and has no use for it.
|
|
18
|
+
* Whether the editor offers the `eleventyExcludeFromCollections` flag. The
|
|
19
|
+
* content format mirrors it for pages that should not list; a post is in the
|
|
20
|
+
* archive by definition and has no use for it.
|
|
21
21
|
*/
|
|
22
22
|
excludable: boolean;
|
|
23
23
|
/**
|
|
24
|
-
* Whether the editor offers the contact form
|
|
24
|
+
* Whether the editor offers the contact form. Pages only: a form
|
|
25
25
|
* for writing to the site belongs on a standing page rather than under one
|
|
26
26
|
* post out of a thousand.
|
|
27
27
|
*
|
|
@@ -37,11 +37,11 @@ export interface DocumentKind {
|
|
|
37
37
|
replies: boolean;
|
|
38
38
|
/**
|
|
39
39
|
* Whether the editor records where it was written, which is kept beside it
|
|
40
|
-
* in `data/locations.json` rather than in its file
|
|
40
|
+
* in `data/locations.json` rather than in its file.
|
|
41
41
|
*/
|
|
42
42
|
located: boolean;
|
|
43
43
|
/**
|
|
44
|
-
* Whether it is a fediverse object whose id is its permalink
|
|
44
|
+
* Whether it is a fediverse object whose id is its permalink,
|
|
45
45
|
* so a moved one keeps its old URL as its id rather than as its feed guid.
|
|
46
46
|
*/
|
|
47
47
|
federated: boolean;
|
|
@@ -41,7 +41,7 @@ export interface Document {
|
|
|
41
41
|
* matter key (the name Jekyll's plugin gave the same list). Each one answers
|
|
42
42
|
* with a permanent redirect to {@link Document.permalink} while nothing else
|
|
43
43
|
* lives there. Written by the editor when a published document moves, so the
|
|
44
|
-
* record survives the index
|
|
44
|
+
* record survives the index. Absent when there are none.
|
|
45
45
|
*/
|
|
46
46
|
redirectFrom?: string[] | undefined;
|
|
47
47
|
/** Display title. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A post's recording: one main audio or video file, the other versions of it,
|
|
3
|
-
* and its transcript
|
|
3
|
+
* and its transcript.
|
|
4
4
|
*
|
|
5
5
|
* The front matter spells it the way RSS does, so a person reading the file
|
|
6
6
|
* and a person reading the feed see the same names:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { PostEvent } from './event.ts';
|
|
2
2
|
import type { FieldError } from './form-error.ts';
|
|
3
3
|
/**
|
|
4
|
-
* The editor's event fields
|
|
5
|
-
* time in the site's zone the way the Date field is
|
|
4
|
+
* The editor's event fields: when it starts and ends, as wall-clock
|
|
5
|
+
* time in the site's zone the way the Date field is, and where.
|
|
6
6
|
*/
|
|
7
7
|
export interface EventForm {
|
|
8
8
|
start: string;
|
package/dist/content/event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* An event post
|
|
2
|
+
* An event post: a post whose front matter says when
|
|
3
3
|
* it starts, under the mf2 names an h-event uses. Its title is the event's
|
|
4
4
|
* name and its body the description.
|
|
5
5
|
*
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
* location: Chicago Public Library, 400 S State St
|
|
11
11
|
* ```
|
|
12
12
|
*
|
|
13
|
-
* `start` and `end` are UTC instants
|
|
13
|
+
* `start` and `end` are UTC instants; one written with no
|
|
14
14
|
* offset is read as UTC. A `location` that is a web address is where to join
|
|
15
15
|
* an online event, and any other words are the place. An event's location is
|
|
16
16
|
* where the event is, public by nature, so it is the one location that lives
|
|
17
|
-
* in front matter (
|
|
17
|
+
* in front matter (the author's own location stays out of it).
|
|
18
18
|
*/
|
|
19
19
|
export declare const EVENT_KEYS: {
|
|
20
20
|
readonly start: 'start';
|
package/dist/content/event.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isWebUrl } from './enclosure.js';
|
|
2
2
|
import { toUtcInstant } from './time.js';
|
|
3
3
|
/**
|
|
4
|
-
* An event post
|
|
4
|
+
* An event post: a post whose front matter says when
|
|
5
5
|
* it starts, under the mf2 names an h-event uses. Its title is the event's
|
|
6
6
|
* name and its body the description.
|
|
7
7
|
*
|
|
@@ -12,11 +12,11 @@ import { toUtcInstant } from './time.js';
|
|
|
12
12
|
* location: Chicago Public Library, 400 S State St
|
|
13
13
|
* ```
|
|
14
14
|
*
|
|
15
|
-
* `start` and `end` are UTC instants
|
|
15
|
+
* `start` and `end` are UTC instants; one written with no
|
|
16
16
|
* offset is read as UTC. A `location` that is a web address is where to join
|
|
17
17
|
* an online event, and any other words are the place. An event's location is
|
|
18
18
|
* where the event is, public by nature, so it is the one location that lives
|
|
19
|
-
* in front matter (
|
|
19
|
+
* in front matter (the author's own location stays out of it).
|
|
20
20
|
*/
|
|
21
21
|
export const EVENT_KEYS = { start: 'start', end: 'end', location: 'location' };
|
|
22
22
|
export function eventOf(extra) {
|
package/dist/content/guids.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { Document } from './document.ts';
|
|
|
7
7
|
* A post's ActivityStreams object id: its permalink, absolute on the site's
|
|
8
8
|
* base URL, or the id its file already names.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* A permalink is by name permanent, and the fediverse id is the
|
|
11
11
|
* same promise made to a different audience, so one URL answers both: a
|
|
12
12
|
* browser gets the page and a peer gets the `Article`, by content negotiation.
|
|
13
13
|
* There is no second URL to mint and none to keep in step.
|
|
@@ -15,7 +15,7 @@ import type { Document } from './document.ts';
|
|
|
15
15
|
* A stored `activitypub.id` wins, for the life of the post. That is not a
|
|
16
16
|
* cache: it is what lets a post migrated from WordPress keep the
|
|
17
17
|
* `https://example.com/?p=813` id its followers, its replies and its RSS
|
|
18
|
-
* subscribers already hold
|
|
18
|
+
* subscribers already hold, so the CMS serves the object there
|
|
19
19
|
* too and names it in every `Update` and `Delete`. A hand-written
|
|
20
20
|
* `activitypub.id` that is not a URL is not an id, and the permalink is used
|
|
21
21
|
* instead.
|
|
@@ -26,17 +26,17 @@ import type { Document } from './document.ts';
|
|
|
26
26
|
*/
|
|
27
27
|
export declare function postObjectId(document: Document, baseUrl: string): string;
|
|
28
28
|
/**
|
|
29
|
-
* The guid every feed keys a document by
|
|
29
|
+
* The guid every feed keys a document by: a migrated document's
|
|
30
30
|
* stored `guid`, else a post's object id, else its permalink. The post feeds
|
|
31
31
|
* and the comments feeds both name it so, which is what lets a reply's
|
|
32
|
-
* `source:inReplyTo` name the item it answers
|
|
32
|
+
* `source:inReplyTo` name the item it answers.
|
|
33
33
|
*
|
|
34
34
|
* It is the guid the document has while it is served, which is the only time
|
|
35
35
|
* a feed carries it, so it does not depend on the clock and the index can
|
|
36
36
|
* hold its key.
|
|
37
37
|
*/
|
|
38
38
|
export declare function feedGuid(document: Document, baseUrl: string): string;
|
|
39
|
-
/** Where a native comment's own page is
|
|
39
|
+
/** Where a native comment's own page is, by its key. */
|
|
40
40
|
export declare function commentPageHref(key: string): string;
|
|
41
41
|
/** What every comment page's path starts with. */
|
|
42
42
|
export declare const COMMENT_PAGE_PREFIX = "/comment/";
|
|
@@ -44,7 +44,7 @@ export declare const COMMENT_PAGE_PREFIX = "/comment/";
|
|
|
44
44
|
export declare function repliesKey(guid: string): string;
|
|
45
45
|
/**
|
|
46
46
|
* A webmention's key: the key of its source and the post it was sent to,
|
|
47
|
-
* which together are its identity
|
|
47
|
+
* which together are its identity. The source alone would give one
|
|
48
48
|
* key to a page that mentions two posts. `undefined`, so a key is minted, for
|
|
49
49
|
* one with no source.
|
|
50
50
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guids.d.ts","sourceRoot":"","sources":["../../src/content/guids.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAUxE;AAED;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAMpE;AAED,
|
|
1
|
+
{"version":3,"file":"guids.d.ts","sourceRoot":"","sources":["../../src/content/guids.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAUxE;AAED;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAMpE;AAED,wDAAwD;AACxD,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,kDAAkD;AAClD,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAE/C,yGAAyG;AACzG,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C;AAYD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAE1F;AAED,iCAAiC;AACjC,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAE5C"}
|
package/dist/content/guids.js
CHANGED
|
@@ -8,7 +8,7 @@ import { absoluteUrl } from '../util/url.js';
|
|
|
8
8
|
* A post's ActivityStreams object id: its permalink, absolute on the site's
|
|
9
9
|
* base URL, or the id its file already names.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* A permalink is by name permanent, and the fediverse id is the
|
|
12
12
|
* same promise made to a different audience, so one URL answers both: a
|
|
13
13
|
* browser gets the page and a peer gets the `Article`, by content negotiation.
|
|
14
14
|
* There is no second URL to mint and none to keep in step.
|
|
@@ -16,7 +16,7 @@ import { absoluteUrl } from '../util/url.js';
|
|
|
16
16
|
* A stored `activitypub.id` wins, for the life of the post. That is not a
|
|
17
17
|
* cache: it is what lets a post migrated from WordPress keep the
|
|
18
18
|
* `https://example.com/?p=813` id its followers, its replies and its RSS
|
|
19
|
-
* subscribers already hold
|
|
19
|
+
* subscribers already hold, so the CMS serves the object there
|
|
20
20
|
* too and names it in every `Update` and `Delete`. A hand-written
|
|
21
21
|
* `activitypub.id` that is not a URL is not an id, and the permalink is used
|
|
22
22
|
* instead.
|
|
@@ -38,10 +38,10 @@ export function postObjectId(document, baseUrl) {
|
|
|
38
38
|
return absoluteUrl(document.permalink, baseUrl);
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* The guid every feed keys a document by
|
|
41
|
+
* The guid every feed keys a document by: a migrated document's
|
|
42
42
|
* stored `guid`, else a post's object id, else its permalink. The post feeds
|
|
43
43
|
* and the comments feeds both name it so, which is what lets a reply's
|
|
44
|
-
* `source:inReplyTo` name the item it answers
|
|
44
|
+
* `source:inReplyTo` name the item it answers.
|
|
45
45
|
*
|
|
46
46
|
* It is the guid the document has while it is served, which is the only time
|
|
47
47
|
* a feed carries it, so it does not depend on the clock and the index can
|
|
@@ -55,7 +55,7 @@ export function feedGuid(document, baseUrl) {
|
|
|
55
55
|
? postObjectId(document, baseUrl)
|
|
56
56
|
: absoluteUrl(document.permalink, baseUrl);
|
|
57
57
|
}
|
|
58
|
-
/** Where a native comment's own page is
|
|
58
|
+
/** Where a native comment's own page is, by its key. */
|
|
59
59
|
export function commentPageHref(key) {
|
|
60
60
|
return `${COMMENT_PAGE_PREFIX}${key}/`;
|
|
61
61
|
}
|
|
@@ -67,7 +67,7 @@ export function repliesKey(guid) {
|
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* A key: 16 lowercase hex digits, the one name every comment and every item
|
|
70
|
-
* that can be replied to has in a URL
|
|
70
|
+
* that can be replied to has in a URL: `/comment/{key}/`,
|
|
71
71
|
* `/replies/{key}/` and `#comment-{key}`. A stored comment's key is its id;
|
|
72
72
|
* anything else's is {@link repliesKey} of its feed guid. 64 bits, so two
|
|
73
73
|
* items of one site sharing a key is a birthday event only past about four
|
|
@@ -76,7 +76,7 @@ export function repliesKey(guid) {
|
|
|
76
76
|
const KEY = /^[0-9a-f]{16}$/;
|
|
77
77
|
/**
|
|
78
78
|
* A webmention's key: the key of its source and the post it was sent to,
|
|
79
|
-
* which together are its identity
|
|
79
|
+
* which together are its identity. The source alone would give one
|
|
80
80
|
* key to a page that mentions two posts. `undefined`, so a key is minted, for
|
|
81
81
|
* one with no source.
|
|
82
82
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guids.js","sourceRoot":"","sources":["../../src/content/guids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,UAAU,YAAY,CAAC,QAAkB,EAAE,OAAe;IAC9D,MAAM,MAAM,GAAG,QAAQ,CAAC,WAAW,EAAE,EAAE,CAAC;IACxC,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,EAAE,EAAE,CAAC;QAC1C,IAAI,CAAC;YACH,OAAO,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC;QAC9B,CAAC;QAAC,MAAM,CAAC;YACP,0DAA0D;QAC5D,CAAC;IACH,CAAC;IACD,OAAO,WAAW,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AAClD,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,QAAQ,CAAC,QAAkB,EAAE,OAAe;IAC1D,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAAE,OAAO,IAA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,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC;AAED,wDAAwD;AACxD,MAAM,UAAU,eAAe,CAAC,GAAW;IACzC,OAAO,GAAG,mBAAmB,GAAG,GAAG,GAAG,CAAC;AACzC,CAAC;AAED,kDAAkD;AAClD,MAAM,CAAC,MAAM,mBAAmB,GAAG,WAAW,CAAC;AAE/C,yGAAyG;AACzG,MAAM,UAAU,UAAU,CAAC,IAAY;IACrC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AACtE,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,GAAG,GAAG,gBAAgB,CAAC;AAE7B;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAAC,MAAqB,EAAE,SAAiB;IACpE,OAAO,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,MAAM,IAAI,SAAS,EAAE,CAAC,CAAC;AAC7F,CAAC;AAED,iCAAiC;AACjC,MAAM,UAAU,KAAK,CAAC,KAAa;IACjC,OAAO,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACzB,CAAC"}
|
|
@@ -12,7 +12,7 @@ export type HandleDirectory = (handle: string) => ResolvedHandle | undefined;
|
|
|
12
12
|
/**
|
|
13
13
|
* Where the resolved handles are kept, relative to the content directory: one
|
|
14
14
|
* JSON object keyed by `user@host`. It is beside `replyContexts.json` for the
|
|
15
|
-
* same reason
|
|
15
|
+
* same reason: what the web said, read when a page is drawn.
|
|
16
16
|
*/
|
|
17
17
|
export declare const HANDLES_FILE = "_data/handles.json";
|
|
18
18
|
/** The directory as the file holds it now, parsed again only when its bytes change. */
|
package/dist/content/handles.js
CHANGED
|
@@ -4,7 +4,7 @@ import { isWebUrl } from './enclosure.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* Where the resolved handles are kept, relative to the content directory: one
|
|
6
6
|
* JSON object keyed by `user@host`. It is beside `replyContexts.json` for the
|
|
7
|
-
* same reason
|
|
7
|
+
* same reason: what the web said, read when a page is drawn.
|
|
8
8
|
*/
|
|
9
9
|
export const HANDLES_FILE = '_data/handles.json';
|
|
10
10
|
function fileOf(contentDir) {
|
|
@@ -4,8 +4,8 @@ import { normalizeBody } from './writer.js';
|
|
|
4
4
|
import { cleanPostHtml } from './sanitize.js';
|
|
5
5
|
/**
|
|
6
6
|
* HTML as Markdown: a Micropub client's content as the post body the site
|
|
7
|
-
* stores
|
|
8
|
-
* document's Markdown
|
|
7
|
+
* stores, and a reply's sanitised words in a
|
|
8
|
+
* document's Markdown. The renderer passes raw HTML through, as
|
|
9
9
|
* Eleventy's does, so the body is cleaned here, at the boundary, before
|
|
10
10
|
* anything is written: HTML content is cleaned and converted to Markdown, and
|
|
11
11
|
* Markdown content keeps its text while every piece of raw HTML in it is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The front-matter key that names the language a post or a page is written
|
|
3
|
-
* in, when it is not the site's
|
|
3
|
+
* in, when it is not the site's. The name HTML gives the attribute,
|
|
4
4
|
* so an Eleventy build reads the same key as page data.
|
|
5
5
|
*/
|
|
6
6
|
export declare const LANG_FRONT_MATTER_KEY = "lang";
|
package/dist/content/language.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The front-matter key that names the language a post or a page is written
|
|
3
|
-
* in, when it is not the site's
|
|
3
|
+
* in, when it is not the site's. The name HTML gives the attribute,
|
|
4
4
|
* so an Eleventy build reads the same key as page data.
|
|
5
5
|
*/
|
|
6
6
|
export const LANG_FRONT_MATTER_KEY = 'lang';
|
package/dist/content/locale.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The locale a site's dates and counts are written in
|
|
2
|
+
* The locale a site's dates and counts are written in.
|
|
3
3
|
*
|
|
4
4
|
* One tag per render, resolved from the site data by `siteLocale` and handed
|
|
5
5
|
* to every formatter, so a page never mixes two conventions.
|
package/dist/content/locale.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LANG_FRONT_MATTER_KEY } from './language.js';
|
|
2
2
|
/**
|
|
3
|
-
* The locale a site's dates and counts are written in
|
|
3
|
+
* The locale a site's dates and counts are written in.
|
|
4
4
|
*
|
|
5
5
|
* One tag per render, resolved from the site data by `siteLocale` and handed
|
|
6
6
|
* to every formatter, so a page never mixes two conventions.
|
|
@@ -12,7 +12,7 @@ export declare function markdownTokens(body: string): Token[];
|
|
|
12
12
|
/**
|
|
13
13
|
* Where an `html_inline` token begins in its inline token's `content`, which
|
|
14
14
|
* markdown-it records for no inline token. A Micropub client's Markdown has
|
|
15
|
-
* its raw HTML cleaned in place
|
|
15
|
+
* its raw HTML cleaned in place, and this is how the tag is found
|
|
16
16
|
* without mistaking the same characters in a code span for it.
|
|
17
17
|
*/
|
|
18
18
|
export declare function htmlInlineOffset(token: Token): number | undefined;
|
package/dist/content/markdown.js
CHANGED
|
@@ -41,7 +41,7 @@ export function markdownTokens(body) {
|
|
|
41
41
|
/**
|
|
42
42
|
* Where an `html_inline` token begins in its inline token's `content`, which
|
|
43
43
|
* markdown-it records for no inline token. A Micropub client's Markdown has
|
|
44
|
-
* its raw HTML cleaned in place
|
|
44
|
+
* its raw HTML cleaned in place, and this is how the tag is found
|
|
45
45
|
* without mistaking the same characters in a code span for it.
|
|
46
46
|
*/
|
|
47
47
|
export function htmlInlineOffset(token) {
|
package/dist/content/parser.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface ParseDocumentOptions {
|
|
|
6
6
|
path: string;
|
|
7
7
|
/** Overrides the type the path implies. Needed for files under `_trash/`. */
|
|
8
8
|
type?: DocumentType | undefined;
|
|
9
|
-
/** The resolved fediverse handles, so a mention renders as a link
|
|
9
|
+
/** The resolved fediverse handles, so a mention renders as a link. */
|
|
10
10
|
handles?: HandleDirectory | undefined;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../src/content/parser.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAuB,QAAQ,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAQpD,wEAAwE;AACxE,MAAM,WAAW,oBAAoB;IACnC,gFAAgF;IAChF,IAAI,EAAE,MAAM,CAAC;IACb,6EAA6E;IAC7E,IAAI,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,
|
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../src/content/parser.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAuB,QAAQ,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAQpD,wEAAwE;AACxE,MAAM,WAAW,oBAAoB;IACnC,gFAAgF;IAChF,IAAI,EAAE,MAAM,CAAC;IACb,6EAA6E;IAC7E,IAAI,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,sEAAsE;IACtE,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;CACvC;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB,GAAG,QAAQ,CAmDrF;AAED,iFAAiF;AACjF,wBAAgB,YAAY,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAE7D;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAQtD;AAOD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAOtE"}
|
|
@@ -14,12 +14,12 @@ export declare function previewDocumentAt(store: DocumentLookup & IndexClock, pe
|
|
|
14
14
|
/**
|
|
15
15
|
* The ActivityStreams id of a document, or `undefined` when it has none.
|
|
16
16
|
*
|
|
17
|
-
* Only a published post federates
|
|
17
|
+
* Only a published post federates, so only a published post has an id
|
|
18
18
|
* to advertise. This is what the theme's `<link rel="alternate">` points at,
|
|
19
|
-
* what every feed keys the post by
|
|
19
|
+
* what every feed keys the post by and what the permalink
|
|
20
20
|
* answers an ActivityStreams request with: the page, the feed item and the
|
|
21
|
-
* object all agree about the post's name in the fediverse, because
|
|
22
|
-
*
|
|
21
|
+
* object all agree about the post's name in the fediverse, because they are
|
|
22
|
+
* the same URL.
|
|
23
23
|
*/
|
|
24
24
|
export declare function activityStreamsId(document: Document, baseUrl: string, now: Date): string | undefined;
|
|
25
25
|
/**
|
|
@@ -29,12 +29,12 @@ export function previewDocumentAt(store, permalink) {
|
|
|
29
29
|
/**
|
|
30
30
|
* The ActivityStreams id of a document, or `undefined` when it has none.
|
|
31
31
|
*
|
|
32
|
-
* Only a published post federates
|
|
32
|
+
* Only a published post federates, so only a published post has an id
|
|
33
33
|
* to advertise. This is what the theme's `<link rel="alternate">` points at,
|
|
34
|
-
* what every feed keys the post by
|
|
34
|
+
* what every feed keys the post by and what the permalink
|
|
35
35
|
* answers an ActivityStreams request with: the page, the feed item and the
|
|
36
|
-
* object all agree about the post's name in the fediverse, because
|
|
37
|
-
*
|
|
36
|
+
* object all agree about the post's name in the fediverse, because they are
|
|
37
|
+
* the same URL.
|
|
38
38
|
*/
|
|
39
39
|
export function activityStreamsId(document, baseUrl, now) {
|
|
40
40
|
if (document.type !== 'post' || !isServed(document, now))
|