dineway 0.2.26 → 0.2.27
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/{activity-C6JLcUzM.mjs → activity-DWlF3FUa.mjs} +2 -2
- package/dist/{activity-events-u9wIH8CQ.mjs → activity-events-BYksOnTL.mjs} +1 -1
- package/dist/{adapters-BZWb3OVu.d.mts → adapters-C-iHnQYy.d.mts} +8 -1
- package/dist/{allowed-origins-CjTNO3cD.mjs → allowed-origins-DeknDs56.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +15 -14
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +5 -5
- package/dist/{api-COtLcrtJ.mjs → api-BTrQ7bjs.mjs} +19 -18
- package/dist/{api-tokens-CI5sgE1g.mjs → api-tokens-d43xs7C1.mjs} +1 -1
- package/dist/{apply-DNy1dp8W.mjs → apply-CS_138du.mjs} +19 -18
- package/dist/astro/index.d.mts +11 -11
- package/dist/astro/index.mjs +29 -7
- package/dist/astro/middleware/auth.d.mts +9 -9
- package/dist/astro/middleware/auth.mjs +6 -6
- package/dist/astro/middleware/redirect.mjs +3 -3
- package/dist/astro/middleware/request-context.mjs +3 -3
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +91 -90
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +7 -7
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +7 -7
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
- package/dist/astro/routes/api/admin/briefing.mjs +18 -18
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +10 -10
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +10 -10
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +10 -10
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +15 -15
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +15 -15
- package/dist/astro/routes/api/admin/bylines/index.mjs +15 -15
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +13 -13
- package/dist/astro/routes/api/admin/comments/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/bulk.mjs +10 -10
- package/dist/astro/routes/api/admin/comments/counts.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/index.mjs +10 -10
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +26 -25
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +26 -25
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +31 -30
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +31 -30
- package/dist/astro/routes/api/admin/context/diff.mjs +30 -29
- package/dist/astro/routes/api/admin/context/index.mjs +31 -30
- package/dist/astro/routes/api/admin/context/stale.mjs +30 -29
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +26 -25
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +30 -29
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +30 -29
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +27 -26
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +6 -6
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +57 -56
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +57 -56
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +49 -48
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +56 -55
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +56 -55
- package/dist/astro/routes/api/admin/plugins/index.mjs +49 -48
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +49 -48
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +56 -55
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +49 -48
- package/dist/astro/routes/api/admin/plugins/updates.mjs +49 -48
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +31 -30
- package/dist/astro/routes/api/admin/review-requests/index.mjs +31 -30
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +49 -48
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +49 -48
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +2 -2
- package/dist/astro/routes/api/admin/users/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +8 -8
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +3 -3
- package/dist/astro/routes/api/admin/users/index.mjs +7 -7
- package/dist/astro/routes/api/auth/dev-bypass.mjs +3 -3
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/invite/index.mjs +9 -9
- package/dist/astro/routes/api/auth/invite/register-options.mjs +11 -11
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +11 -11
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +9 -9
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +2 -2
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +7 -7
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +13 -13
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/passkey/verify.mjs +12 -12
- package/dist/astro/routes/api/auth/setup-token/index.mjs +4 -4
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +12 -12
- package/dist/astro/routes/api/auth/signup/request.mjs +11 -11
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +14 -14
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +13 -13
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +54 -16
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +17 -17
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +9 -9
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +17 -17
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +14 -13
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +11 -11
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +11 -11
- package/dist/astro/routes/api/content/_collection_/trash.mjs +8 -8
- package/dist/astro/routes/api/dashboard.mjs +8 -7
- package/dist/astro/routes/api/dev/emails.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +3 -3
- package/dist/astro/routes/api/import/probe.mjs +19 -19
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +36 -35
- package/dist/astro/routes/api/import/wordpress/media.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +12 -12
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +35 -34
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +32 -31
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +22 -22
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +41 -40
- package/dist/astro/routes/api/integrations/_provider_.mjs +7 -7
- package/dist/astro/routes/api/integrations/index.mjs +6 -6
- package/dist/astro/routes/api/manifest.mjs +5 -5
- package/dist/astro/routes/api/mcp.mjs +67 -66
- package/dist/astro/routes/api/media/_id_/confirm.mjs +10 -10
- package/dist/astro/routes/api/media/_id_.mjs +9 -9
- package/dist/astro/routes/api/media/file/_...key_.mjs +1 -1
- package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +2 -2
- package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +2 -2
- package/dist/astro/routes/api/media/providers/index.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +11 -11
- package/dist/astro/routes/api/media.mjs +14 -14
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +31 -30
- package/dist/astro/routes/api/menus/_name_/items.mjs +31 -30
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +31 -30
- package/dist/astro/routes/api/menus/_name_/translations.mjs +31 -30
- package/dist/astro/routes/api/menus/_name_.mjs +31 -30
- package/dist/astro/routes/api/menus/index.mjs +31 -30
- package/dist/astro/routes/api/oauth/authorize.mjs +7 -7
- package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
- package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
- package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
- package/dist/astro/routes/api/oauth/register.mjs +4 -4
- package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
- package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
- package/dist/astro/routes/api/oauth/token.mjs +6 -6
- package/dist/astro/routes/api/openapi.json.mjs +5 -5
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +11 -11
- package/dist/astro/routes/api/redirects/404s/summary.mjs +11 -11
- package/dist/astro/routes/api/redirects/_id_.mjs +32 -31
- package/dist/astro/routes/api/redirects/index.mjs +32 -31
- package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +2 -2
- package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +2 -2
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +51 -50
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +51 -50
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +51 -50
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +51 -50
- package/dist/astro/routes/api/schema/collections/index.mjs +51 -50
- package/dist/astro/routes/api/schema/index.mjs +8 -8
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +49 -48
- package/dist/astro/routes/api/schema/orphans/index.mjs +49 -48
- package/dist/astro/routes/api/search/enable.mjs +10 -10
- package/dist/astro/routes/api/search/index.mjs +9 -9
- package/dist/astro/routes/api/search/rebuild.mjs +10 -10
- package/dist/astro/routes/api/search/stats.mjs +4 -4
- package/dist/astro/routes/api/search/suggest.mjs +9 -9
- package/dist/astro/routes/api/sections/_slug_.mjs +31 -30
- package/dist/astro/routes/api/sections/index.mjs +31 -30
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings.mjs +31 -30
- package/dist/astro/routes/api/setup/admin-verify.mjs +14 -14
- package/dist/astro/routes/api/setup/admin.mjs +12 -12
- package/dist/astro/routes/api/setup/dev-bypass.mjs +25 -24
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +27 -26
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +7 -7
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +34 -33
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +34 -33
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +34 -33
- package/dist/astro/routes/api/taxonomies/index.mjs +34 -33
- package/dist/astro/routes/api/themes/preview.mjs +5 -5
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +3 -3
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +30 -29
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +31 -30
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +31 -30
- package/dist/astro/routes/api/widget-areas/_name_.mjs +28 -27
- package/dist/astro/routes/api/widget-areas/index.mjs +31 -30
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +12 -12
- package/dist/astro/routes/sitemap.xml.mjs +11 -11
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/types.d.mts +12 -12
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-BQLSUQd7.mjs → auth-control-guard-Bg93z3D6.mjs} +1 -1
- package/dist/{authorize-D8etr-1g.mjs → authorize-Dg75h4BN.mjs} +1 -1
- package/dist/{briefing-Yao75K3z.mjs → briefing-BoIXsh3Y.mjs} +1 -1
- package/dist/{briefing-DcDVI-0v.mjs → briefing-Cd2HhhHi.mjs} +6 -6
- package/dist/{bundle-MGZ2MLSb.mjs → bundle-DicQY2p2.mjs} +1 -1
- package/dist/{byline-CbFno1Kd.mjs → byline-MGIfM2Is.mjs} +4 -4
- package/dist/{byline-fields-CjCCA-Wn.d.mts → byline-fields-BJ5_tYj8.d.mts} +14 -14
- package/dist/{byline-fields-C0IOddTf.mjs → byline-fields-C4OeOttq.mjs} +3 -3
- package/dist/{byline-fields-CS1Hi2N4.mjs → byline-fields-GoUVaGw4.mjs} +1 -1
- package/dist/{byline-registry-BLgrU3dA.mjs → byline-registry-CF9nobxT.mjs} +2 -2
- package/dist/{bylines-DXXMlc1A.mjs → bylines-CL8Z6AxI.mjs} +3 -3
- package/dist/{bylines-BotyuTdY.mjs → bylines-t_uHsP44.mjs} +1 -1
- package/dist/{cache-Cf5yPNNw.mjs → cache-DrNKKDn0.mjs} +1 -1
- package/dist/cli/index.d.mts +1 -1
- package/dist/cli/index.mjs +395 -133
- package/dist/cli/plugin-kit.d.mts +9 -9
- package/dist/cli/plugin-kit.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +11 -11
- package/dist/client/index.mjs +2 -2
- package/dist/{client-factory-BDDerNBz.mjs → client-factory-DXfeovxp.mjs} +2 -1
- package/dist/{comment-reaction-mHuRHspq.mjs → comment-reaction-NZjadbiB.mjs} +1 -1
- package/dist/{comments-BFbF0xaG.mjs → comments-Csi3B9JI.mjs} +1 -1
- package/dist/{connection-CiJWiWya.mjs → connection-DJ3GzHVH.mjs} +2 -3
- package/dist/{content-C0qGd2Nt.mjs → content-CzUrmMC3.mjs} +3 -115
- package/dist/{content-refresh-BkGWtwUN.mjs → content-refresh-C_jcjzOr.mjs} +4 -4
- package/dist/{context-BEgiPeP-.mjs → context-BET1jeas.mjs} +10 -10
- package/dist/{context-CnCdZ2xZ.mjs → context-D1WiuHGe.mjs} +2 -2
- package/dist/{context-route-helpers-CXxj6-jq.mjs → context-route-helpers-CgVXswZ_.mjs} +2 -2
- package/dist/{dashboard-B8Sk45s8.mjs → dashboard-CKAH1KwM.mjs} +4 -4
- package/dist/db/index.d.mts +4 -4
- package/dist/db/index.mjs +9 -1
- package/dist/db/libsql-http.d.mts +27 -0
- package/dist/db/libsql-http.mjs +29 -0
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/libsql.mjs +3 -43
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-DCbF6FAE.mjs → device-flow-BED7L-O7.mjs} +5 -5
- package/dist/{discovery-CUX99M46.mjs → discovery-SVnRaAxj.mjs} +4 -48
- package/dist/{enrich-Ck9tfMqe.mjs → enrich-Uw_OA9Ve.mjs} +1 -1
- package/dist/{field-defs-cache-7Ka899yA.mjs → field-defs-cache-BIHTU5Yj.mjs} +3 -3
- package/dist/{hitl-requests-DU4wJSml.mjs → hitl-requests-D117gyhv.mjs} +2 -2
- package/dist/{hitl-route-helpers-CkRqaLaJ.mjs → hitl-route-helpers-BasbaWwG.mjs} +5 -5
- package/dist/{import-BcSW07F1.mjs → import-BCY1k1zB.mjs} +8 -8
- package/dist/{index-C7X4h_27.d.mts → index-DNNw5fp0.d.mts} +3 -3
- package/dist/index.d.mts +15 -15
- package/dist/index.mjs +84 -82
- package/dist/{integration-credentials-ylo0bguS.mjs → integration-credentials-CTrvXgEc.mjs} +2 -2
- package/dist/{jsonld-thSA4Rua.d.mts → jsonld-CxMRDv02.d.mts} +2 -2
- package/dist/libsql-dialect-DMqpBfJI.mjs +47 -0
- package/dist/{manifest-schema-VGSvatoU.mjs → manifest-schema-owbEUmv1.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-lqfDtcFo.mjs → mcp-reviewed-executor-BwI0ylf3.mjs} +6 -6
- package/dist/media/image-endpoint.mjs +1 -1
- package/dist/media/index.d.mts +1 -1
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +11 -11
- package/dist/media/local-runtime.mjs +1 -1
- package/dist/{media-allowlist-D3AHS_q3.mjs → media-allowlist-BdbIzYO3.mjs} +1 -1
- package/dist/{menus-oIJaGGUU.mjs → menus-CRmcWAM5.mjs} +1 -1
- package/dist/{menus-D_pqSYJ3.mjs → menus-Cu3TUXyl.mjs} +5 -5
- package/dist/{oauth-authorization-DHeVHdGr.mjs → oauth-authorization-TG2Kxgur.mjs} +5 -5
- package/dist/{oauth-clients-8cVhd-8W.mjs → oauth-clients-DLJMG4h7.mjs} +2 -2
- package/dist/object-cache/memory.d.mts +1 -1
- package/dist/page/index.d.mts +10 -10
- package/dist/page/index.mjs +1 -1
- package/dist/{parse-RN_EgAxL.mjs → parse-CJC9DGe9.mjs} +1 -1
- package/dist/plugin-utils.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.d.mts +9 -9
- package/dist/plugins/adapt-sandbox-entry.mjs +1 -1
- package/dist/{plugins-DMImBiT9.mjs → plugins-BC9Rb6PJ.mjs} +6 -6
- package/dist/{preview-DDtW5YuZ.mjs → preview-CjL_29aE.mjs} +3 -3
- package/dist/{provider-loader-DZ9uy48J.d.mts → provider-loader-CGoW_-Bs.d.mts} +1 -1
- package/dist/{public-url-Binfty0i.d.mts → public-url-BPnL5sTj.d.mts} +1 -1
- package/dist/public-url-DjWfilkD.mjs +46 -0
- package/dist/{public-url-BuERxOoY.d.mts → public-url-UpDevWVD.d.mts} +2 -2
- package/dist/{publication-authorization-DYAGeWto.mjs → publication-authorization-Bq4B0KIL.mjs} +6 -6
- package/dist/{query-DzsPhsZk.mjs → query-BAfn0Uxp.mjs} +7 -7
- package/dist/{query-qvv6Rar8.mjs → query-MvFwA1uK.mjs} +2 -2
- package/dist/{rate-limit-BIuuIxP3.mjs → rate-limit-JhnJUEno.mjs} +2 -2
- package/dist/{redirect-B_9GwIZd.mjs → redirect-CnG6nJ4H.mjs} +1 -1
- package/dist/{redirects-Cj4lrY_X.mjs → redirects-C9pg6Dcg.mjs} +3 -3
- package/dist/{redirects-DvsWZIiC.mjs → redirects-lCwNKPUn.mjs} +5 -5
- package/dist/{registry-BwcF6gAj.mjs → registry-QxrUJAWY.mjs} +7 -7
- package/dist/{request-meta-C0druWvK.mjs → request-meta-DnZm9Kbu.mjs} +1 -1
- package/dist/{review-payload-Cg9dtFgV.mjs → review-payload-BuLgXTY6.mjs} +1 -1
- package/dist/{review-requests-B2tCLjdA.mjs → review-requests-uI-yUXcr.mjs} +2 -2
- package/dist/{review-route-helpers-CeYzVpNa.mjs → review-route-helpers-BvX04ahf.mjs} +2 -2
- package/dist/revision-De7OmYVD.mjs +118 -0
- package/dist/{runner-DnswPQIl.d.mts → runner-o39FihbH.d.mts} +1 -1
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +1 -1
- package/dist/{schema-86uC3yVE.mjs → schema-CD3EA3nN.mjs} +1 -1
- package/dist/{search-CeXUu1KD.mjs → search-BtCHwx_Z.mjs} +1 -1
- package/dist/{secrets-re9BzPUD.mjs → secrets-MqvM60s_.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +20 -19
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +7 -6
- package/dist/{seo-BpuKUrBs.mjs → seo-BhMH6i2e.mjs} +1 -1
- package/dist/{seo-BVmdKP7v.mjs → seo-CTXMR4YD.mjs} +1 -1
- package/dist/{service-CSeV_04p.mjs → service-evnf21UO.mjs} +2 -2
- package/dist/{settings-DXp6vRdV.mjs → settings-CCqefqC9.mjs} +5 -5
- package/dist/{settings-ClnGCe1a.mjs → settings-COtVNdOx.mjs} +1 -1
- package/dist/{setup-complete-BcjodOdW.mjs → setup-complete-C8LTo8cO.mjs} +1 -1
- package/dist/{site-context-DRSrU7hX.mjs → site-context-D2DmqFnD.mjs} +14 -14
- package/dist/{site-url-C1PUhgWO.mjs → site-url-AGgA46Lw.mjs} +1 -1
- package/dist/storage/local.d.mts +1 -1
- package/dist/storage/local.mjs +1 -1
- package/dist/storage/s3.d.mts +1 -1
- package/dist/storage/s3.mjs +1 -1
- package/dist/{store-C6bydUdt.mjs → store-BtCoeap4.mjs} +1 -1
- package/dist/{taxonomies-CHHgZFzB.mjs → taxonomies-DxtqEjcj.mjs} +2 -2
- package/dist/{taxonomies-Dfmkapin.mjs → taxonomies-xvaQ7gVM.mjs} +4 -4
- package/dist/{taxonomy-BUo9B6qp.mjs → taxonomy--vcXXfwc.mjs} +1 -1
- package/dist/{types-ZDyMKdrZ.d.mts → types-BcpWwh4c.d.mts} +10 -10
- package/dist/{types-DCkWipbM.d.mts → types-m37xNtUj.d.mts} +1 -1
- package/dist/ui/server-runtime.d.mts +13 -13
- package/dist/ui/server-runtime.mjs +21 -21
- package/dist/{user-BprdjWGE.mjs → user-Dn3wV227.mjs} +1 -1
- package/dist/{utils-D_bwAtcb.mjs → utils-iGiCys50.mjs} +1 -1
- package/dist/{validate-Cdvc9APD.mjs → validate-BHVQSpUy.mjs} +2 -2
- package/dist/{validate-SXACKtqW.d.mts → validate-BiPYhXNZ.d.mts} +3 -3
- package/dist/version-BbuynKOY.mjs +6 -0
- package/dist/{widgets-DMzBMhsO.mjs → widgets-CBCHUg_u.mjs} +2 -2
- package/dist/{wordpress-slugs-CuizIp_V.mjs → wordpress-slugs-BYW2B_5x.mjs} +1 -1
- package/dist/{zod-generator-C0nwBbg8.mjs → zod-generator-DMlY4cI3.mjs} +1 -1
- package/package.json +9 -2
- package/src/components/DinewayImage.astro +4 -0
- package/dist/version-BjNGau7O.mjs +0 -6
- /package/dist/{actor-Bu9whHez.mjs → actor-BraTCiOp.mjs} +0 -0
- /package/dist/{api-tokens-BkXlt3V6.mjs → api-tokens-CZ472rzA.mjs} +0 -0
- /package/dist/{audit-BGHS3IuK.mjs → audit-CmiNnrbj.mjs} +0 -0
- /package/dist/{challenge-store-DvRxUsXv.mjs → challenge-store-ugPhBaVf.mjs} +0 -0
- /package/dist/{chunks-Dh8yqZt3.mjs → chunks-Bw3_BuVW.mjs} +0 -0
- /package/dist/{comment-eqM9KHbj.mjs → comment-DuDtCn-f.mjs} +0 -0
- /package/dist/{components-D5HxUv7y.mjs → components-CINP4h-l.mjs} +0 -0
- /package/dist/{context-types-eBuMDAg-.mjs → context-types-fEeyXC1D.mjs} +0 -0
- /package/dist/{cron-fQf7oVvf.mjs → cron-DIsnItPn.mjs} +0 -0
- /package/dist/{default-CnbyLh9W.mjs → default-D8jeKsT3.mjs} +0 -0
- /package/dist/{email-console-vFj2FFuJ.mjs → email-console-DRb6jkoC.mjs} +0 -0
- /package/dist/{error-DWL9Pwyt.mjs → error-BPA9T0AW.mjs} +0 -0
- /package/dist/{escape-DBggE3jq.mjs → escape-DgNqnHuj.mjs} +0 -0
- /package/dist/{experimental-workflows-Dvn_xgew.mjs → experimental-workflows-DOo7QDRn.mjs} +0 -0
- /package/dist/{fts-manager-D4K5mA0j.mjs → fts-manager-BB44uXMm.mjs} +0 -0
- /package/dist/{hash-mxxx2oPW.mjs → hash-CEky-IDp.mjs} +0 -0
- /package/dist/{load-B1cm00WU.mjs → load-C-cMlsPv.mjs} +0 -0
- /package/dist/{media-DNde5-Am.mjs → media-4xtXwq7L.mjs} +0 -0
- /package/dist/{media-url-LSeVcoln.mjs → media-url-BhbJfG3Y.mjs} +0 -0
- /package/dist/{mime-C0vOHFm7.mjs → mime-Bg7yUeHW.mjs} +0 -0
- /package/dist/{mode-DYsXVFoY.mjs → mode-CgD_xAEJ.mjs} +0 -0
- /package/dist/{normalize-Cyt7JdF7.mjs → normalize-BY2gOygP.mjs} +0 -0
- /package/dist/{oauth-state-store-CUU4azTF.mjs → oauth-state-store-Dbj-J0K5.mjs} +0 -0
- /package/dist/{oauth-user-lookup-CRFHKN_W.mjs → oauth-user-lookup-D2NAYPjU.mjs} +0 -0
- /package/dist/{options-DQPTH5n0.mjs → options-1dBRkoCl.mjs} +0 -0
- /package/dist/{output-13u4dvu-.mjs → output-A4ZfzzA0.mjs} +0 -0
- /package/dist/{parser-Co69H1x-.mjs → parser-C3ux7a3Y.mjs} +0 -0
- /package/dist/{passkey-config-e-0KLl2R.mjs → passkey-config-DUc1iP_-.mjs} +0 -0
- /package/dist/{patterns-CoqlXUvk.mjs → patterns-CP9gkiCE.mjs} +0 -0
- /package/dist/{placeholder-DeJydgkj.d.mts → placeholder-0cGpMonY.d.mts} +0 -0
- /package/dist/{portable-text-B7E-ali_.d.mts → portable-text-Cu4n_8zI.d.mts} +0 -0
- /package/dist/{portable-text-C8Tvp4_g.mjs → portable-text-U85hOafW.mjs} +0 -0
- /package/dist/{process-cache-CCDgti7j.mjs → process-cache-DsMwJ3LM.mjs} +0 -0
- /package/dist/{provider-loader-BIxppPHS.mjs → provider-loader-BPHG3BR5.mjs} +0 -0
- /package/dist/{public-discovery-BlJ80Hoh.mjs → public-discovery-CyDzK1-S.mjs} +0 -0
- /package/dist/{public-url-jFEiiLag.mjs → public-url-CmBKcpsJ.mjs} +0 -0
- /package/dist/{redirect-C2bJtYhP.mjs → redirect-D_bb_Cc3.mjs} +0 -0
- /package/dist/{request-cache-CBFjCwSt.mjs → request-cache-DoT2mKBT.mjs} +0 -0
- /package/dist/{resolve-Doh2USIE.mjs → resolve-BDWXnk_V.mjs} +0 -0
- /package/dist/{review-requests-Bo4jcxtU.mjs → review-requests-DaYnr3XR.mjs} +0 -0
- /package/dist/{sections-BQdtDQUw.mjs → sections-BM88PvRO.mjs} +0 -0
- /package/dist/{seo-contributions-CPDwm9MH.mjs → seo-contributions-DzusM9lG.mjs} +0 -0
- /package/dist/{service-CY0aH6eI.mjs → service-BB1n90wh.mjs} +0 -0
- /package/dist/{session-user-DTopk3zO.mjs → session-user-BQZHuGOS.mjs} +0 -0
- /package/dist/{setup-nonce-C76FNEst.mjs → setup-nonce-220YhE1R.mjs} +0 -0
- /package/dist/{sidecar-client-CQF4fcO7.mjs → sidecar-client-SDgPreXV.mjs} +0 -0
- /package/dist/{site-activity-By0wWO0g.mjs → site-activity-kfZ9X0no.mjs} +0 -0
- /package/dist/{ssrf-CxOWiF0p.mjs → ssrf-D00lPvtF.mjs} +0 -0
- /package/dist/{stable-hash-DshcXvRE.mjs → stable-hash-_A3p1ln2.mjs} +0 -0
- /package/dist/{status-DvSRKIiF.mjs → status-BdZSXIP_.mjs} +0 -0
- /package/dist/{tokens-COJxRo8q.mjs → tokens-ShJZm_QS.mjs} +0 -0
- /package/dist/{transaction-Chz7SBGr.mjs → transaction-L0tzAOfM.mjs} +0 -0
- /package/dist/{transport-BDQ73F0l.mjs → transport-DtrY0-hI.mjs} +0 -0
- /package/dist/{transport-BfF60P73.d.mts → transport-SoRbXDM4.d.mts} +0 -0
- /package/dist/{trusted-proxy-j2KYPN4r.mjs → trusted-proxy-9b2fSXK2.mjs} +0 -0
- /package/dist/{types-B0P-ECRI.d.mts → types-B-KSspMO.d.mts} +0 -0
- /package/dist/{types-DA4L0OLk.mjs → types-B-nDjnzA.mjs} +0 -0
- /package/dist/{types-gG3syKwc.d.mts → types-B2W3CeZN.d.mts} +0 -0
- /package/dist/{types-C0hcZkqG.d.mts → types-BdsNqnHA.d.mts} +0 -0
- /package/dist/{types-VkWKA-R2.d.mts → types-Cd_2Jeqp.d.mts} +0 -0
- /package/dist/{types-B7TDDFMG.mjs → types-D1l9cCKM.mjs} +0 -0
- /package/dist/{types-DN82MbYv.d.mts → types-D8iukuuI.d.mts} +0 -0
- /package/dist/{types-Cnz2EIEp.d.mts → types-ZdWRfUsC.d.mts} +0 -0
- /package/dist/{types-gnLXQcvx.mjs → types-dgGPmsl_.mjs} +0 -0
- /package/dist/{url-Bm__30we.mjs → url-C_pLSrGZ.mjs} +0 -0
- /package/dist/{url-BG-3f-Vy.mjs → url-CmjWycVK.mjs} +0 -0
package/dist/page/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as createPublicPageContext, a as createSha256CspHash, c as resolvePageMetadata, d as buildBlogPostingJsonLd, f as buildWebSiteJsonLd, h as resolvePageImage, i as resolveFragments, l as safeJsonLdSerialize, m as imageMetadataContributions, n as generateSiteSeoContributions, o as escapeHtmlAttr, p as cleanJsonLd, r as renderFragments, s as renderPageMetadata, t as generateBaseSeoContributions, u as mergePageSchema } from "../seo-contributions-
|
|
1
|
+
import { _ as createPublicPageContext, a as createSha256CspHash, c as resolvePageMetadata, d as buildBlogPostingJsonLd, f as buildWebSiteJsonLd, h as resolvePageImage, i as resolveFragments, l as safeJsonLdSerialize, m as imageMetadataContributions, n as generateSiteSeoContributions, o as escapeHtmlAttr, p as cleanJsonLd, r as renderFragments, s as renderPageMetadata, t as generateBaseSeoContributions, u as mergePageSchema } from "../seo-contributions-DzusM9lG.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/page/index.ts
|
|
4
4
|
/**
|
package/dist/plugin-utils.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./types-
|
|
2
|
-
import "./types-
|
|
3
|
-
import "./runner-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./public-url-
|
|
7
|
-
import "./validate-
|
|
8
|
-
import "./byline-fields-
|
|
9
|
-
import "./types-
|
|
1
|
+
import "./types-BcpWwh4c.mjs";
|
|
2
|
+
import "./types-B2W3CeZN.mjs";
|
|
3
|
+
import "./runner-o39FihbH.mjs";
|
|
4
|
+
import "./index-DNNw5fp0.mjs";
|
|
5
|
+
import "./types-BdsNqnHA.mjs";
|
|
6
|
+
import "./public-url-UpDevWVD.mjs";
|
|
7
|
+
import "./validate-BiPYhXNZ.mjs";
|
|
8
|
+
import "./byline-fields-BJ5_tYj8.mjs";
|
|
9
|
+
import "./types-ZdWRfUsC.mjs";
|
|
10
10
|
import { DinewayHandlers } from "./astro/types.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/plugin-utils.d.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Ft as StandardPluginDefinition, ko as PluginDescriptor, kt as ResolvedPlugin } from "../types-
|
|
2
|
-
import "../types-
|
|
3
|
-
import "../runner-
|
|
4
|
-
import "../index-
|
|
5
|
-
import "../types-
|
|
6
|
-
import "../public-url-
|
|
7
|
-
import "../validate-
|
|
8
|
-
import "../byline-fields-
|
|
9
|
-
import "../types-
|
|
1
|
+
import { Ft as StandardPluginDefinition, ko as PluginDescriptor, kt as ResolvedPlugin } from "../types-BcpWwh4c.mjs";
|
|
2
|
+
import "../types-B2W3CeZN.mjs";
|
|
3
|
+
import "../runner-o39FihbH.mjs";
|
|
4
|
+
import "../index-DNNw5fp0.mjs";
|
|
5
|
+
import "../types-BdsNqnHA.mjs";
|
|
6
|
+
import "../public-url-UpDevWVD.mjs";
|
|
7
|
+
import "../validate-BiPYhXNZ.mjs";
|
|
8
|
+
import "../byline-fields-BJ5_tYj8.mjs";
|
|
9
|
+
import "../types-ZdWRfUsC.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/plugins/adapt-sandbox-entry.d.ts
|
|
12
12
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as validatePluginIdentifier, t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { i as encodeBase64url, n as decodeBase64url } from "./base64-F8-DUraK.mjs";
|
|
3
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-
|
|
4
|
-
import { t as OptionsRepository } from "./options-
|
|
5
|
-
import { n as createPluginContext, t as PluginContextFactory } from "./context-
|
|
6
|
-
import { i as parseEncryptionKeys, t as DinewaySecretsError } from "./secrets-
|
|
7
|
-
import { t as extractRequestMeta } from "./request-meta-
|
|
8
|
-
import { r as setCronTasksEnabled } from "./cron-
|
|
3
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bw3_BuVW.mjs";
|
|
4
|
+
import { t as OptionsRepository } from "./options-1dBRkoCl.mjs";
|
|
5
|
+
import { n as createPluginContext, t as PluginContextFactory } from "./context-BET1jeas.mjs";
|
|
6
|
+
import { i as parseEncryptionKeys, t as DinewaySecretsError } from "./secrets-MqvM60s_.mjs";
|
|
7
|
+
import { t as extractRequestMeta } from "./request-meta-DnZm9Kbu.mjs";
|
|
8
|
+
import { r as setCronTasksEnabled } from "./cron-DIsnItPn.mjs";
|
|
9
9
|
import { Migrator, sql } from "kysely";
|
|
10
10
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
11
11
|
import { ulid } from "ulidx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as loadBetterSqlite3, t as createDatabase } from "./connection-
|
|
1
|
+
import { n as loadBetterSqlite3, t as createDatabase } from "./connection-DJ3GzHVH.mjs";
|
|
2
2
|
import { runWithContext } from "./request-context.mjs";
|
|
3
|
-
import { a as verifyPreviewSignature, t as buildPreviewSignatureHeader } from "./sidecar-client-
|
|
4
|
-
import { t as generatePreviewToken } from "./tokens-
|
|
3
|
+
import { a as verifyPreviewSignature, t as buildPreviewSignatureHeader } from "./sidecar-client-SDgPreXV.mjs";
|
|
4
|
+
import { t as generatePreviewToken } from "./tokens-ShJZm_QS.mjs";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
import { ulid } from "ulidx";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
//#region src/seo/public-url.ts
|
|
2
|
+
const PLACEHOLDER_RE = /\{[^}]+\}/;
|
|
3
|
+
const MULTIPLE_SLASHES_RE = /\/+/g;
|
|
4
|
+
const UNSAFE_SLUG_RE = /[\\/?#\s]/;
|
|
5
|
+
const UNSAFE_PATH_RE = /[\\?#\s]/;
|
|
6
|
+
const DOT_SEGMENT_RE = /(?:^|\/)\.{1,2}(?:\/|$)/;
|
|
7
|
+
/**
|
|
8
|
+
* Returns a same-origin public URL, or null when the collection has no usable route.
|
|
9
|
+
* urlField paths are authoritative, including case, trailing slash and locale prefix.
|
|
10
|
+
* Pattern routes add locale prefixes and preserve the declared slash convention. Never infer a route from
|
|
11
|
+
* a collection name when the site has not declared one.
|
|
12
|
+
*/
|
|
13
|
+
function resolveContentUrl(input) {
|
|
14
|
+
const { cfg, urlField, urlPattern } = input;
|
|
15
|
+
const locale = input.locale || cfg?.defaultLocale;
|
|
16
|
+
if (cfg && (!locale || !cfg.locales.includes(locale))) return null;
|
|
17
|
+
let path;
|
|
18
|
+
if (urlField) {
|
|
19
|
+
const value = input.data?.[urlField];
|
|
20
|
+
if (typeof value !== "string" || !value) return null;
|
|
21
|
+
path = value;
|
|
22
|
+
} else {
|
|
23
|
+
if (!urlPattern?.includes("{slug}") || !input.slug || UNSAFE_SLUG_RE.test(input.slug)) return null;
|
|
24
|
+
if (input.slug === "." || input.slug === "..") return null;
|
|
25
|
+
path = urlPattern.replaceAll("{slug}", encodeURIComponent(input.slug));
|
|
26
|
+
if (PLACEHOLDER_RE.test(path)) return null;
|
|
27
|
+
if (!path.startsWith("/")) path = `/${path}`;
|
|
28
|
+
if (path.startsWith("//")) return null;
|
|
29
|
+
path = path.replace(MULTIPLE_SLASHES_RE, "/");
|
|
30
|
+
if (cfg && (locale !== cfg.defaultLocale || cfg.prefixDefaultLocale)) path = `/${locale}${path}`;
|
|
31
|
+
}
|
|
32
|
+
if (!path.startsWith("/") || path.startsWith("//") || UNSAFE_PATH_RE.test(path)) return null;
|
|
33
|
+
try {
|
|
34
|
+
if (DOT_SEGMENT_RE.test(decodeURIComponent(path))) return null;
|
|
35
|
+
const origin = new URL(input.siteUrl);
|
|
36
|
+
if (!["http:", "https:"].includes(origin.protocol) || origin.username || origin.password) return null;
|
|
37
|
+
const url = new URL(path, origin.origin);
|
|
38
|
+
if (url.origin !== origin.origin) return null;
|
|
39
|
+
return url.href;
|
|
40
|
+
} catch {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
//#endregion
|
|
46
|
+
export { resolveContentUrl as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as CollectionWithFields } from "./types-
|
|
2
|
-
import { t as Database } from "./types-
|
|
1
|
+
import { i as CollectionWithFields } from "./types-Cd_2Jeqp.mjs";
|
|
2
|
+
import { t as Database } from "./types-B2W3CeZN.mjs";
|
|
3
3
|
import { Kysely } from "kysely";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
package/dist/{publication-authorization-DYAGeWto.mjs → publication-authorization-Bq4B0KIL.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { i as encodeCursor, r as decodeCursor } from "./types-CFvpEEOl.mjs";
|
|
2
|
-
import { t as SiteActivityRepository } from "./site-activity-
|
|
3
|
-
import { t as ReviewRequestRepository } from "./review-requests-
|
|
4
|
-
import { a as getSiteSettingsWithDb } from "./settings-
|
|
5
|
-
import { n as buildStableActionHash, t as ReviewPayloadBuilder } from "./review-payload-
|
|
6
|
-
import { t as SYSTEM_ACTOR_ID } from "./actor-
|
|
7
|
-
import { n as redactActivityRecord } from "./activity-
|
|
2
|
+
import { t as SiteActivityRepository } from "./site-activity-kfZ9X0no.mjs";
|
|
3
|
+
import { t as ReviewRequestRepository } from "./review-requests-DaYnr3XR.mjs";
|
|
4
|
+
import { a as getSiteSettingsWithDb } from "./settings-CCqefqC9.mjs";
|
|
5
|
+
import { n as buildStableActionHash, t as ReviewPayloadBuilder } from "./review-payload-BuLgXTY6.mjs";
|
|
6
|
+
import { t as SYSTEM_ACTOR_ID } from "./actor-BraTCiOp.mjs";
|
|
7
|
+
import { n as redactActivityRecord } from "./activity-DWlF3FUa.mjs";
|
|
8
8
|
import { ulid } from "ulidx";
|
|
9
9
|
|
|
10
10
|
//#region src/database/repositories/content-release-grants.ts
|
|
@@ -4,7 +4,7 @@ import { getRequestContext } from "./request-context.mjs";
|
|
|
4
4
|
import { i as encodeCursor } from "./types-CFvpEEOl.mjs";
|
|
5
5
|
import { o as isMissingTableError, s as takeLiveCollectionMeta, t as CURSOR_RAW_VALUES } from "./loader-CsX5pTud.mjs";
|
|
6
6
|
import { i as contentNamespaces, n as cachedQuery, u as invalidateSchemaObjectCache } from "./object-cache-D51qOseS.mjs";
|
|
7
|
-
import { r as requestCached } from "./request-cache-
|
|
7
|
+
import { r as requestCached } from "./request-cache-DoT2mKBT.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/visual-editing/editable.ts
|
|
10
10
|
/**
|
|
@@ -598,7 +598,7 @@ async function hydrateEntryBylines(type, entries) {
|
|
|
598
598
|
if (!needsQueryPath) try {
|
|
599
599
|
const { getDb } = await import("./loader-CsX5pTud.mjs").then((n) => n.i);
|
|
600
600
|
const db = await getDb();
|
|
601
|
-
const { getBylineFieldDefs } = await import("./field-defs-cache-
|
|
601
|
+
const { getBylineFieldDefs } = await import("./field-defs-cache-BIHTU5Yj.mjs").then((n) => n.t);
|
|
602
602
|
hasCustomFields = (await getBylineFieldDefs(db)).length > 0;
|
|
603
603
|
} catch (error) {
|
|
604
604
|
if (!isMissingTableError(error)) needsQueryPath = true;
|
|
@@ -612,7 +612,7 @@ async function hydrateEntryBylines(type, entries) {
|
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
try {
|
|
615
|
-
const { getBylinesForEntries } = await import("./bylines-
|
|
615
|
+
const { getBylinesForEntries } = await import("./bylines-CL8Z6AxI.mjs").then((n) => n.t);
|
|
616
616
|
const refs = entries.map((entry) => {
|
|
617
617
|
const data = entryData(entry);
|
|
618
618
|
const id = dataStr(data, "id");
|
|
@@ -670,12 +670,12 @@ async function hydrateEntryTerms(type, entries, locale) {
|
|
|
670
670
|
byTaxonomy: grouped
|
|
671
671
|
});
|
|
672
672
|
}
|
|
673
|
-
const { primeFoldedEntryTerms } = await import("./taxonomies-
|
|
673
|
+
const { primeFoldedEntryTerms } = await import("./taxonomies-xvaQ7gVM.mjs").then((n) => n.u);
|
|
674
674
|
primeFoldedEntryTerms(type, perEntry, { locale });
|
|
675
675
|
return;
|
|
676
676
|
}
|
|
677
677
|
try {
|
|
678
|
-
const { getAllTermsForEntries } = await import("./taxonomies-
|
|
678
|
+
const { getAllTermsForEntries } = await import("./taxonomies-xvaQ7gVM.mjs").then((n) => n.u);
|
|
679
679
|
const ids = entries.map((entry) => dataStr(entryData(entry), "id")).filter(Boolean);
|
|
680
680
|
if (ids.length === 0) return;
|
|
681
681
|
const termsMap = await getAllTermsForEntries(type, ids, { locale });
|
|
@@ -711,7 +711,7 @@ async function getTranslations(type, id) {
|
|
|
711
711
|
try {
|
|
712
712
|
const db = (await import("./loader-CsX5pTud.mjs").then((n) => n.i)).getDb;
|
|
713
713
|
const dbInstance = await db();
|
|
714
|
-
const { ContentRepository } = await import("./content-
|
|
714
|
+
const { ContentRepository } = await import("./content-CzUrmMC3.mjs").then((n) => n.n);
|
|
715
715
|
const repo = new ContentRepository(dbInstance);
|
|
716
716
|
const item = await repo.findByIdOrSlug(type, id);
|
|
717
717
|
if (!item) return {
|
|
@@ -780,7 +780,7 @@ async function resolveDinewayPath(path) {
|
|
|
780
780
|
let patterns = !hasDbOverride ? cachedUrlPatterns : null;
|
|
781
781
|
if (!patterns) {
|
|
782
782
|
const { getDb } = await import("./loader-CsX5pTud.mjs").then((n) => n.i);
|
|
783
|
-
const { SchemaRegistry } = await import("./registry-
|
|
783
|
+
const { SchemaRegistry } = await import("./registry-QxrUJAWY.mjs").then((n) => n.r);
|
|
784
784
|
patterns = (await new SchemaRegistry(await getDb()).listCollections()).filter((collection) => collection.urlPattern).map((collection) => {
|
|
785
785
|
const { regex, paramNames } = patternToRegex(collection.urlPattern);
|
|
786
786
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as getDb } from "./loader-CsX5pTud.mjs";
|
|
2
2
|
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-D51qOseS.mjs";
|
|
3
|
-
import { r as requestCached } from "./request-cache-
|
|
4
|
-
import { n as SchemaRegistry } from "./registry-
|
|
3
|
+
import { r as requestCached } from "./request-cache-DoT2mKBT.mjs";
|
|
4
|
+
import { n as SchemaRegistry } from "./registry-QxrUJAWY.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/schema/query.ts
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as apiError } from "./error-
|
|
2
|
-
import { n as normalizeTrustedHeaders } from "./trusted-proxy-
|
|
1
|
+
import { t as apiError } from "./error-BPA9T0AW.mjs";
|
|
2
|
+
import { n as normalizeTrustedHeaders } from "./trusted-proxy-9b2fSXK2.mjs";
|
|
3
3
|
import { sql } from "kysely";
|
|
4
4
|
|
|
5
5
|
//#region src/auth/rate-limit.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as currentTimestampValue } from "./dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import { i as encodeCursor, r as decodeCursor } from "./types-CFvpEEOl.mjs";
|
|
3
|
-
import { i as matchPattern, n as interpolateDestination, r as isPattern, t as compilePattern } from "./patterns-
|
|
3
|
+
import { i as matchPattern, n as interpolateDestination, r as isPattern, t as compilePattern } from "./patterns-CP9gkiCE.mjs";
|
|
4
4
|
import { sql } from "kysely";
|
|
5
5
|
import { ulid } from "ulidx";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as publicDiscoveryRulesSchema } from "./public-discovery-
|
|
2
|
-
import { t as isSafeHref } from "./url-
|
|
3
|
-
import { n as isTerminalStatus, t as REDIRECT_RULE_STATUSES } from "./status-
|
|
1
|
+
import { r as publicDiscoveryRulesSchema } from "./public-discovery-CyDzK1-S.mjs";
|
|
2
|
+
import { t as isSafeHref } from "./url-CmjWycVK.mjs";
|
|
3
|
+
import { n as isTerminalStatus, t as REDIRECT_RULE_STATUSES } from "./status-BdZSXIP_.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/api/schemas/common.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as OptionsRepository } from "./options-
|
|
2
|
-
import { t as RedirectRepository } from "./redirect-
|
|
3
|
-
import { a as validateDestinationParams, i as matchPattern, n as interpolateDestination, o as validatePattern, r as isPattern, t as compilePattern } from "./patterns-
|
|
4
|
-
import { i as invalidateRedirectCache } from "./cache-
|
|
5
|
-
import { n as isTerminalStatus } from "./status-
|
|
1
|
+
import { t as OptionsRepository } from "./options-1dBRkoCl.mjs";
|
|
2
|
+
import { t as RedirectRepository } from "./redirect-CnG6nJ4H.mjs";
|
|
3
|
+
import { a as validateDestinationParams, i as matchPattern, n as interpolateDestination, o as validatePattern, r as isPattern, t as compilePattern } from "./patterns-CP9gkiCE.mjs";
|
|
4
|
+
import { i as invalidateRedirectCache } from "./cache-DrNKKDn0.mjs";
|
|
5
|
+
import { n as isTerminalStatus } from "./status-BdZSXIP_.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/redirects/loops.ts
|
|
8
8
|
/**
|
|
@@ -2,13 +2,13 @@ import { a as __exportAll } from "./runner-CQnzfBpD.mjs";
|
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
3
|
import { i as currentTimestamp, l as listTablesLike, n as columnExists, u as tableExists } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { n as contentLocaleUpdatedIndexName, t as contentLocaleCreatedIndexName } from "./content-index-names-Bbu1FY1r.mjs";
|
|
5
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-
|
|
6
|
-
import { t as withTransaction } from "./transaction-
|
|
7
|
-
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-
|
|
8
|
-
import { a as markContentMediaUsageCollectionStaleSafely, n as deleteContentMediaUsageCollection } from "./content-refresh-
|
|
9
|
-
import { t as FTSManager } from "./fts-manager-
|
|
10
|
-
import { t as buildStableHash } from "./stable-hash-
|
|
11
|
-
import { t as parsePublicDiscoveryRules } from "./public-discovery-
|
|
5
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bw3_BuVW.mjs";
|
|
6
|
+
import { t as withTransaction } from "./transaction-L0tzAOfM.mjs";
|
|
7
|
+
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-D1l9cCKM.mjs";
|
|
8
|
+
import { a as markContentMediaUsageCollectionStaleSafely, n as deleteContentMediaUsageCollection } from "./content-refresh-C_jcjzOr.mjs";
|
|
9
|
+
import { t as FTSManager } from "./fts-manager-BB44uXMm.mjs";
|
|
10
|
+
import { t as buildStableHash } from "./stable-hash-_A3p1ln2.mjs";
|
|
11
|
+
import { t as parsePublicDiscoveryRules } from "./public-discovery-CyDzK1-S.mjs";
|
|
12
12
|
import { sql } from "kysely";
|
|
13
13
|
import { ulid } from "ulidx";
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as stableStringify, t as buildStableHash } from "./stable-hash-
|
|
1
|
+
import { n as stableStringify, t as buildStableHash } from "./stable-hash-_A3p1ln2.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/site-context/action-hash.ts
|
|
4
4
|
async function buildStableActionHash(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ReviewRequestRepository } from "./review-requests-
|
|
2
|
-
import { t as ReviewPayloadBuilder } from "./review-payload-
|
|
1
|
+
import { t as ReviewRequestRepository } from "./review-requests-DaYnr3XR.mjs";
|
|
2
|
+
import { t as ReviewPayloadBuilder } from "./review-payload-BuLgXTY6.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/review-requests.ts
|
|
5
5
|
async function handleReviewRequestCreate(db, handlers, input) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as resolveActorIdentity } from "./actor-
|
|
2
|
-
import { p as logSiteActivitySafely } from "./activity-events-
|
|
1
|
+
import { n as resolveActorIdentity } from "./actor-BraTCiOp.mjs";
|
|
2
|
+
import { p as logSiteActivitySafely } from "./activity-events-BYksOnTL.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/review-route-helpers.ts
|
|
5
5
|
function resolveReviewRouteActor(locals) {
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
|
+
import { sql } from "kysely";
|
|
3
|
+
import { monotonicFactory } from "ulidx";
|
|
4
|
+
|
|
5
|
+
//#region src/database/repositories/revision.ts
|
|
6
|
+
const monotonic = monotonicFactory();
|
|
7
|
+
/**
|
|
8
|
+
* Revision repository for version history
|
|
9
|
+
*
|
|
10
|
+
* Each revision stores a JSON snapshot of the content at a point in time.
|
|
11
|
+
* Used when collection has `supports: ["revisions"]` enabled.
|
|
12
|
+
*/
|
|
13
|
+
var RevisionRepository = class {
|
|
14
|
+
constructor(db) {
|
|
15
|
+
this.db = db;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Create a new revision
|
|
19
|
+
*/
|
|
20
|
+
async create(input) {
|
|
21
|
+
const id = monotonic();
|
|
22
|
+
const row = {
|
|
23
|
+
id,
|
|
24
|
+
collection: input.collection,
|
|
25
|
+
entry_id: input.entryId,
|
|
26
|
+
data: JSON.stringify(input.data),
|
|
27
|
+
author_id: input.authorId ?? null
|
|
28
|
+
};
|
|
29
|
+
await this.db.insertInto("revisions").values(row).execute();
|
|
30
|
+
const revision = await this.findById(id);
|
|
31
|
+
if (!revision) throw new Error("Failed to create revision");
|
|
32
|
+
return revision;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Find revision by ID
|
|
36
|
+
*/
|
|
37
|
+
async findById(id) {
|
|
38
|
+
const row = await this.db.selectFrom("revisions").selectAll().where("id", "=", id).executeTakeFirst();
|
|
39
|
+
return row ? this.rowToRevision(row) : null;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Get all revisions for an entry (newest first)
|
|
43
|
+
*
|
|
44
|
+
* Orders by monotonic ULID (descending). The monotonic factory
|
|
45
|
+
* guarantees strictly increasing IDs even within the same millisecond.
|
|
46
|
+
*/
|
|
47
|
+
async findByEntry(collection, entryId, options = {}) {
|
|
48
|
+
let query = this.db.selectFrom("revisions").selectAll().where("collection", "=", collection).where("entry_id", "=", entryId).orderBy("id", "desc");
|
|
49
|
+
if (options.limit) query = query.limit(options.limit);
|
|
50
|
+
return (await query.execute()).map((row) => this.rowToRevision(row));
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Get the most recent revision for an entry
|
|
54
|
+
*/
|
|
55
|
+
async findLatest(collection, entryId) {
|
|
56
|
+
const row = await this.db.selectFrom("revisions").selectAll().where("collection", "=", collection).where("entry_id", "=", entryId).orderBy("id", "desc").limit(1).executeTakeFirst();
|
|
57
|
+
return row ? this.rowToRevision(row) : null;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Count revisions for an entry
|
|
61
|
+
*/
|
|
62
|
+
async countByEntry(collection, entryId) {
|
|
63
|
+
const result = await this.db.selectFrom("revisions").select((eb) => eb.fn.count("id").as("count")).where("collection", "=", collection).where("entry_id", "=", entryId).executeTakeFirst();
|
|
64
|
+
return Number(result?.count || 0);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Delete all revisions for an entry (use when entry is deleted)
|
|
68
|
+
*/
|
|
69
|
+
async deleteByEntry(collection, entryId) {
|
|
70
|
+
const result = await this.db.deleteFrom("revisions").where("collection", "=", collection).where("entry_id", "=", entryId).executeTakeFirst();
|
|
71
|
+
return Number(result.numDeletedRows ?? 0);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Delete old revisions, keeping the most recent N and any revisions
|
|
75
|
+
* referenced by the content entry's live or draft pointers.
|
|
76
|
+
*/
|
|
77
|
+
async pruneOldRevisions(collection, entryId, keepCount) {
|
|
78
|
+
const keep = await this.db.selectFrom("revisions").select("id").where("collection", "=", collection).where("entry_id", "=", entryId).orderBy("created_at", "desc").orderBy("id", "desc").limit(keepCount).execute();
|
|
79
|
+
const keepIds = new Set(keep.map((r) => r.id));
|
|
80
|
+
if (keepIds.size === 0) return 0;
|
|
81
|
+
if (await this.db.selectFrom("_dineway_collections").select("slug").where("slug", "=", collection).executeTakeFirst()) {
|
|
82
|
+
validateIdentifier(collection, "collection slug");
|
|
83
|
+
const tableName = `ec_${collection}`;
|
|
84
|
+
const row = (await sql`
|
|
85
|
+
SELECT live_revision_id, draft_revision_id
|
|
86
|
+
FROM ${sql.ref(tableName)}
|
|
87
|
+
WHERE id = ${entryId}
|
|
88
|
+
`.execute(this.db)).rows[0];
|
|
89
|
+
if (row?.live_revision_id) keepIds.add(row.live_revision_id);
|
|
90
|
+
if (row?.draft_revision_id) keepIds.add(row.draft_revision_id);
|
|
91
|
+
}
|
|
92
|
+
const result = await this.db.deleteFrom("revisions").where("collection", "=", collection).where("entry_id", "=", entryId).where("id", "not in", [...keepIds]).executeTakeFirst();
|
|
93
|
+
return Number(result.numDeletedRows ?? 0);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Update revision data in place
|
|
97
|
+
* Used for autosave to avoid creating many small revisions.
|
|
98
|
+
*/
|
|
99
|
+
async updateData(id, data) {
|
|
100
|
+
await this.db.updateTable("revisions").set({ data: JSON.stringify(data) }).where("id", "=", id).execute();
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Convert database row to Revision object
|
|
104
|
+
*/
|
|
105
|
+
rowToRevision(row) {
|
|
106
|
+
return {
|
|
107
|
+
id: row.id,
|
|
108
|
+
collection: row.collection,
|
|
109
|
+
entryId: row.entry_id,
|
|
110
|
+
data: JSON.parse(row.data),
|
|
111
|
+
authorId: row.author_id,
|
|
112
|
+
createdAt: row.created_at
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
//#endregion
|
|
118
|
+
export { RevisionRepository as t };
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Bs as dinewayLoader, Fs as CollectionFilter, Is as EntryData, Ls as EntryFilter, Vs as getDb } from "./types-
|
|
2
|
-
import "./types-
|
|
3
|
-
import "./runner-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./public-url-
|
|
7
|
-
import "./validate-
|
|
8
|
-
import "./byline-fields-
|
|
9
|
-
import "./types-
|
|
10
|
-
import { t as getMediaProvider } from "./provider-loader-
|
|
1
|
+
import { Bs as dinewayLoader, Fs as CollectionFilter, Is as EntryData, Ls as EntryFilter, Vs as getDb } from "./types-BcpWwh4c.mjs";
|
|
2
|
+
import "./types-B2W3CeZN.mjs";
|
|
3
|
+
import "./runner-o39FihbH.mjs";
|
|
4
|
+
import "./index-DNNw5fp0.mjs";
|
|
5
|
+
import "./types-BdsNqnHA.mjs";
|
|
6
|
+
import "./public-url-UpDevWVD.mjs";
|
|
7
|
+
import "./validate-BiPYhXNZ.mjs";
|
|
8
|
+
import "./byline-fields-BJ5_tYj8.mjs";
|
|
9
|
+
import "./types-ZdWRfUsC.mjs";
|
|
10
|
+
import { t as getMediaProvider } from "./provider-loader-CGoW_-Bs.mjs";
|
|
11
11
|
export { type CollectionFilter, type EntryData, type EntryFilter, dinewayLoader, getDb, getMediaProvider };
|
package/dist/runtime.mjs
CHANGED
|
@@ -2,6 +2,6 @@ import "./dialect-helpers-fk43GbDb.mjs";
|
|
|
2
2
|
import "./base64-F8-DUraK.mjs";
|
|
3
3
|
import "./types-CFvpEEOl.mjs";
|
|
4
4
|
import { n as dinewayLoader, r as getDb } from "./loader-CsX5pTud.mjs";
|
|
5
|
-
import { t as getMediaProvider } from "./provider-loader-
|
|
5
|
+
import { t as getMediaProvider } from "./provider-loader-BPHG3BR5.mjs";
|
|
6
6
|
|
|
7
7
|
export { dinewayLoader, getDb, getMediaProvider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __exportAll } from "./runner-CQnzfBpD.mjs";
|
|
2
|
-
import { n as SchemaRegistry } from "./registry-
|
|
2
|
+
import { n as SchemaRegistry } from "./registry-QxrUJAWY.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/schema/index.ts
|
|
5
5
|
var schema_exports = /* @__PURE__ */ __exportAll({ SchemaRegistry: () => SchemaRegistry });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as __exportAll } from "./runner-CQnzfBpD.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
3
|
import { r as getDb } from "./loader-CsX5pTud.mjs";
|
|
4
|
-
import { t as FTSManager } from "./fts-manager-
|
|
4
|
+
import { t as FTSManager } from "./fts-manager-BB44uXMm.mjs";
|
|
5
5
|
import { sql } from "kysely";
|
|
6
6
|
import { toPlainText } from "@portabletext/toolkit";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as encodeBase64url, n as decodeBase64url } from "./base64-F8-DUraK.mjs";
|
|
2
2
|
import { t as after } from "./after-BfniwgIf.mjs";
|
|
3
|
-
import { t as OptionsRepository } from "./options-
|
|
4
|
-
import { r as processCachedAsync, t as createProcessCache } from "./process-cache-
|
|
3
|
+
import { t as OptionsRepository } from "./options-1dBRkoCl.mjs";
|
|
4
|
+
import { r as processCachedAsync, t as createProcessCache } from "./process-cache-DsMwJ3LM.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/config/secrets.ts
|
|
7
7
|
const ENCRYPTION_KEY_PREFIX = "dineway_enc_v1_";
|
package/dist/seed/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../types-
|
|
2
|
-
import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, h as SeedSection, i as defaultSeed, l as SeedContentEntry, m as SeedRedirect, n as loadSeed, o as SeedApplyOptions, p as SeedMenuItem, r as loadUserSeed, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "../validate-
|
|
1
|
+
import "../types-B2W3CeZN.mjs";
|
|
2
|
+
import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, h as SeedSection, i as defaultSeed, l as SeedContentEntry, m as SeedRedirect, n as loadSeed, o as SeedApplyOptions, p as SeedMenuItem, r as loadUserSeed, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "../validate-BiPYhXNZ.mjs";
|
|
3
3
|
export { type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedRedirect, type SeedSection, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type ValidationResult, applySeed, defaultSeed, loadSeed, loadUserSeed, validateSeed };
|
package/dist/seed/index.mjs
CHANGED
|
@@ -3,24 +3,25 @@ import "../base64-F8-DUraK.mjs";
|
|
|
3
3
|
import "../types-CFvpEEOl.mjs";
|
|
4
4
|
import "../loader-CsX5pTud.mjs";
|
|
5
5
|
import "../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../
|
|
7
|
-
import "../
|
|
8
|
-
import "../
|
|
9
|
-
import "../
|
|
10
|
-
import "../
|
|
11
|
-
import "../
|
|
12
|
-
import "../
|
|
13
|
-
import "../
|
|
14
|
-
import "../
|
|
15
|
-
import "../
|
|
16
|
-
import "../
|
|
17
|
-
import "../
|
|
18
|
-
import "../
|
|
19
|
-
import "../
|
|
20
|
-
import "../
|
|
21
|
-
import
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import {
|
|
6
|
+
import "../revision-De7OmYVD.mjs";
|
|
7
|
+
import "../content-CzUrmMC3.mjs";
|
|
8
|
+
import "../media-4xtXwq7L.mjs";
|
|
9
|
+
import "../taxonomy--vcXXfwc.mjs";
|
|
10
|
+
import "../options-1dBRkoCl.mjs";
|
|
11
|
+
import "../redirect-CnG6nJ4H.mjs";
|
|
12
|
+
import "../request-cache-DoT2mKBT.mjs";
|
|
13
|
+
import "../byline-registry-CF9nobxT.mjs";
|
|
14
|
+
import "../field-defs-cache-BIHTU5Yj.mjs";
|
|
15
|
+
import "../byline-MGIfM2Is.mjs";
|
|
16
|
+
import "../content-refresh-C_jcjzOr.mjs";
|
|
17
|
+
import "../fts-manager-BB44uXMm.mjs";
|
|
18
|
+
import "../public-discovery-CyDzK1-S.mjs";
|
|
19
|
+
import "../registry-QxrUJAWY.mjs";
|
|
20
|
+
import "../settings-CCqefqC9.mjs";
|
|
21
|
+
import "../ssrf-D00lPvtF.mjs";
|
|
22
|
+
import { t as validateSeed } from "../validate-BHVQSpUy.mjs";
|
|
23
|
+
import { t as applySeed } from "../apply-CS_138du.mjs";
|
|
24
|
+
import { t as defaultSeed } from "../default-D8jeKsT3.mjs";
|
|
25
|
+
import { n as loadUserSeed, t as loadSeed } from "../load-C-cMlsPv.mjs";
|
|
25
26
|
|
|
26
27
|
export { applySeed, defaultSeed, loadSeed, loadUserSeed, validateSeed };
|
package/dist/seo/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as ContentSeo } from "../types-
|
|
2
|
-
import "../types-
|
|
3
|
-
import { a as PublicContentEntry, i as resolveCanonicalUrl, n as resolveContentUrl, o as PublicContentOptions, r as satisfiesPublicDiscoveryRules, s as listPublicContent, t as ResolveContentUrlInput } from "../public-url-
|
|
1
|
+
import { a as ContentSeo } from "../types-m37xNtUj.mjs";
|
|
2
|
+
import "../types-B2W3CeZN.mjs";
|
|
3
|
+
import { a as PublicContentEntry, i as resolveCanonicalUrl, n as resolveContentUrl, o as PublicContentOptions, r as satisfiesPublicDiscoveryRules, s as listPublicContent, t as ResolveContentUrlInput } from "../public-url-UpDevWVD.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/seo/index.d.ts
|
|
6
6
|
/**
|