dineway 0.2.25 → 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-Bm5x0dik.mjs → activity-DWlF3FUa.mjs} +2 -2
- package/dist/{activity-events-DpvhcjTP.mjs → activity-events-BYksOnTL.mjs} +1 -1
- package/dist/{adapters-DUVI3Mpc.d.mts → adapters-C-iHnQYy.d.mts} +8 -1
- package/dist/{allowed-origins-M5Rcl6XL.mjs → allowed-origins-DeknDs56.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +16 -15
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +5 -4
- package/dist/{api-Cod3v4JU.mjs → api-BTrQ7bjs.mjs} +21 -20
- package/dist/{api-tokens-BFgXg0l2.mjs → api-tokens-d43xs7C1.mjs} +1 -1
- package/dist/{apply-Hodkn7PL.mjs → apply-CS_138du.mjs} +22 -19
- 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 +5 -5
- package/dist/astro/middleware/request-context.mjs +3 -3
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +2 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +203 -91
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +7 -6
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +7 -6
- 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 +20 -19
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +10 -9
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +10 -9
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +10 -9
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +17 -16
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +17 -16
- package/dist/astro/routes/api/admin/bylines/index.mjs +17 -16
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +14 -13
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +11 -10
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +11 -10
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +28 -26
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +28 -26
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +33 -31
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +33 -31
- package/dist/astro/routes/api/admin/context/diff.mjs +32 -30
- package/dist/astro/routes/api/admin/context/index.mjs +33 -31
- package/dist/astro/routes/api/admin/context/stale.mjs +32 -30
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +28 -26
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +32 -30
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +32 -30
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +29 -27
- 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 +59 -57
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +59 -57
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +51 -49
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +58 -56
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +58 -56
- package/dist/astro/routes/api/admin/plugins/index.mjs +51 -49
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +51 -49
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +58 -56
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +51 -49
- package/dist/astro/routes/api/admin/plugins/updates.mjs +51 -49
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +33 -31
- package/dist/astro/routes/api/admin/review-requests/index.mjs +33 -31
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +51 -49
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +51 -49
- 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 -7
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +3 -3
- package/dist/astro/routes/api/admin/users/index.mjs +7 -6
- package/dist/astro/routes/api/auth/dev-bypass.mjs +4 -4
- package/dist/astro/routes/api/auth/invite/accept.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +12 -11
- package/dist/astro/routes/api/auth/invite/index.mjs +9 -8
- package/dist/astro/routes/api/auth/invite/register-options.mjs +11 -10
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +11 -10
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +10 -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 -6
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +13 -12
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +11 -10
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +12 -11
- package/dist/astro/routes/api/auth/passkey/verify.mjs +12 -11
- package/dist/astro/routes/api/auth/setup-token/index.mjs +5 -5
- package/dist/astro/routes/api/auth/setup-token/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +12 -11
- package/dist/astro/routes/api/auth/signup/request.mjs +11 -10
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +15 -14
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +14 -13
- package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +54 -15
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +19 -18
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +9 -8
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +19 -18
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +16 -14
- package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +6 -6
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +12 -11
- package/dist/astro/routes/api/content/_collection_/authors.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +12 -11
- package/dist/astro/routes/api/content/_collection_/trash.mjs +8 -7
- package/dist/astro/routes/api/dashboard.mjs +9 -8
- 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 +21 -20
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +9 -8
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/execute.mjs +38 -36
- package/dist/astro/routes/api/import/wordpress/media.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress/media.mjs +13 -12
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +37 -35
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +34 -32
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +24 -23
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +9 -9
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +43 -41
- 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 +70 -68
- package/dist/astro/routes/api/media/_id_/confirm.mjs +11 -10
- package/dist/astro/routes/api/media/_id_.mjs +9 -8
- 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 +12 -11
- package/dist/astro/routes/api/media.mjs +15 -14
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +33 -31
- package/dist/astro/routes/api/menus/_name_/items.mjs +33 -31
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +33 -31
- package/dist/astro/routes/api/menus/_name_/translations.mjs +33 -31
- package/dist/astro/routes/api/menus/_name_.mjs +33 -31
- package/dist/astro/routes/api/menus/index.mjs +33 -31
- 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 -4
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +12 -11
- package/dist/astro/routes/api/redirects/404s/summary.mjs +12 -11
- package/dist/astro/routes/api/redirects/_id_.mjs +34 -32
- package/dist/astro/routes/api/redirects/index.mjs +34 -32
- 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 +53 -51
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +53 -51
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +53 -51
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +53 -51
- package/dist/astro/routes/api/schema/collections/index.mjs +53 -51
- package/dist/astro/routes/api/schema/index.mjs +9 -8
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +51 -49
- package/dist/astro/routes/api/schema/orphans/index.mjs +51 -49
- package/dist/astro/routes/api/search/enable.mjs +12 -11
- package/dist/astro/routes/api/search/index.mjs +11 -10
- package/dist/astro/routes/api/search/rebuild.mjs +12 -11
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +11 -10
- package/dist/astro/routes/api/sections/_slug_.mjs +33 -31
- package/dist/astro/routes/api/sections/index.mjs +33 -31
- package/dist/astro/routes/api/settings/email.mjs +4 -4
- package/dist/astro/routes/api/settings.mjs +33 -31
- package/dist/astro/routes/api/setup/admin-verify.mjs +14 -13
- package/dist/astro/routes/api/setup/admin.mjs +12 -11
- package/dist/astro/routes/api/setup/dev-bypass.mjs +28 -26
- package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +30 -28
- 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 +36 -34
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +36 -34
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +36 -34
- package/dist/astro/routes/api/taxonomies/index.mjs +36 -34
- 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 +32 -30
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +33 -31
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +33 -31
- package/dist/astro/routes/api/widget-areas/_name_.mjs +30 -28
- package/dist/astro/routes/api/widget-areas/index.mjs +33 -31
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +7 -7
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +14 -13
- package/dist/astro/routes/sitemap.xml.mjs +13 -12
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +13 -12
- package/dist/{audit-nenmMR-2.mjs → audit-CmiNnrbj.mjs} +1 -1
- package/dist/auth/providers/github.d.mts +1 -1
- package/dist/auth/providers/google.d.mts +1 -1
- package/dist/{auth-control-guard-B7PdECn6.mjs → auth-control-guard-Bg93z3D6.mjs} +1 -1
- package/dist/{authorize-DTvHe9bm.mjs → authorize-Dg75h4BN.mjs} +1 -1
- package/dist/{briefing-PxagUoJJ.mjs → briefing-BoIXsh3Y.mjs} +1 -1
- package/dist/{briefing-CpU_z8qH.mjs → briefing-Cd2HhhHi.mjs} +7 -7
- package/dist/{bundle-dsO2-7eh.mjs → bundle-DicQY2p2.mjs} +2 -2
- package/dist/{byline-DEBDPF8R.mjs → byline-MGIfM2Is.mjs} +6 -6
- package/dist/{byline-fields-HoyRUnBy.d.mts → byline-fields-BJ5_tYj8.d.mts} +31 -7
- package/dist/{byline-fields-BQRx17y_.mjs → byline-fields-C4OeOttq.mjs} +3 -3
- package/dist/{byline-fields-DPi4Ri_5.mjs → byline-fields-GoUVaGw4.mjs} +1 -1
- package/dist/{byline-registry-BLgrU3dA.mjs → byline-registry-CF9nobxT.mjs} +2 -2
- package/dist/{bylines-YK6eGHvV.mjs → bylines-CL8Z6AxI.mjs} +5 -5
- package/dist/{bylines-C7hm1-iI.mjs → bylines-t_uHsP44.mjs} +3 -3
- package/dist/{cache-BuVpjvBc.mjs → cache-DrNKKDn0.mjs} +2 -2
- package/dist/{chunks-B-1_U3oF.mjs → chunks-Bw3_BuVW.mjs} +1 -1
- package/dist/cli/index.d.mts +1 -1
- package/dist/cli/index.mjs +399 -135
- 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-Nyp2sznG.mjs → client-factory-DXfeovxp.mjs} +3 -2
- package/dist/{comment-BX6H4NF-.mjs → comment-DuDtCn-f.mjs} +1 -1
- package/dist/{comment-reaction-QSENU_3S.mjs → comment-reaction-NZjadbiB.mjs} +1 -1
- package/dist/{comments-BHSYG53k.mjs → comments-Csi3B9JI.mjs} +1 -1
- package/dist/{connection-CiJWiWya.mjs → connection-DJ3GzHVH.mjs} +2 -3
- package/dist/{content-Bg_hMt4Q.mjs → content-CzUrmMC3.mjs} +5 -117
- package/dist/{content-refresh-CHBBZGwf.mjs → content-refresh-C_jcjzOr.mjs} +5 -5
- package/dist/{context-BGt7zfQ-.mjs → context-BET1jeas.mjs} +11 -11
- package/dist/{context-BHXgPEPC.mjs → context-D1WiuHGe.mjs} +2 -2
- package/dist/{context-route-helpers-SwM-_GT4.mjs → context-route-helpers-CgVXswZ_.mjs} +2 -2
- package/dist/{dashboard-ByLUL4c3.mjs → dashboard-CKAH1KwM.mjs} +4 -4
- package/dist/db/index.d.mts +4 -4
- package/dist/db/index.mjs +10 -2
- 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-XqdFNsv_.mjs → device-flow-BED7L-O7.mjs} +5 -5
- package/dist/{discovery-DvuRcbP-.mjs → discovery-SVnRaAxj.mjs} +9 -49
- package/dist/{enrich-Ck9tfMqe.mjs → enrich-Uw_OA9Ve.mjs} +1 -1
- package/dist/{field-defs-cache-sSdDeJXP.mjs → field-defs-cache-BIHTU5Yj.mjs} +4 -4
- package/dist/{fts-manager-C7pxxk6B.mjs → fts-manager-BB44uXMm.mjs} +1 -1
- package/dist/{hitl-requests-D7pfIM6q.mjs → hitl-requests-D117gyhv.mjs} +2 -2
- package/dist/{hitl-route-helpers-Br9uvIQs.mjs → hitl-route-helpers-BasbaWwG.mjs} +5 -5
- package/dist/{import-CrsquhXj.mjs → import-BCY1k1zB.mjs} +8 -8
- package/dist/{index-NdJMMO48.d.mts → index-DNNw5fp0.d.mts} +3 -3
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +87 -84
- package/dist/{integration-credentials-B7Pj6YCv.mjs → integration-credentials-CTrvXgEc.mjs} +2 -2
- package/dist/{jsonld-CfUj_enm.d.mts → jsonld-CxMRDv02.d.mts} +2 -2
- package/dist/libsql-dialect-DMqpBfJI.mjs +47 -0
- package/dist/{load-Bul8Tk6e.mjs → load-C-cMlsPv.mjs} +1 -1
- package/dist/{loader-BCr2VSzt.mjs → loader-CsX5pTud.mjs} +2 -2
- package/dist/{manifest-schema-U5qGq-iB.mjs → manifest-schema-owbEUmv1.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-C1lIimd0.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 +2 -2
- package/dist/{media-D8pQJSug.mjs → media-4xtXwq7L.mjs} +1 -1
- package/dist/{media-allowlist-9u_gxMG2.mjs → media-allowlist-BdbIzYO3.mjs} +1 -1
- package/dist/{menus-3B-PGTX3.mjs → menus-CRmcWAM5.mjs} +2 -2
- package/dist/{menus-DSWeEWXl.mjs → menus-Cu3TUXyl.mjs} +6 -6
- package/dist/{oauth-authorization-CMU5kREy.mjs → oauth-authorization-TG2Kxgur.mjs} +5 -5
- package/dist/{oauth-clients-CLdR0WyA.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-DEG06jjr.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-D8YxTh9q.mjs → plugins-BC9Rb6PJ.mjs} +6 -6
- package/dist/{preview-Bn59ztjn.mjs → preview-CjL_29aE.mjs} +3 -3
- package/dist/{provider-loader-jdkZM6xZ.d.mts → provider-loader-CGoW_-Bs.d.mts} +1 -1
- package/dist/public-discovery-CyDzK1-S.mjs +30 -0
- package/dist/{public-url-DifBmsDt.d.mts → public-url-BPnL5sTj.d.mts} +1 -1
- package/dist/public-url-DjWfilkD.mjs +46 -0
- package/dist/{public-url-DFX2c_20.d.mts → public-url-UpDevWVD.d.mts} +17 -2
- package/dist/{publication-authorization-BmazS4K0.mjs → publication-authorization-Bq4B0KIL.mjs} +15 -10
- package/dist/{query-CrUftarl.mjs → query-BAfn0Uxp.mjs} +13 -13
- package/dist/{query-DPC5GT6e.mjs → query-MvFwA1uK.mjs} +3 -3
- package/dist/{rate-limit-DvGL45wH.mjs → rate-limit-JhnJUEno.mjs} +2 -2
- package/dist/{redirect-8B-gorhg.mjs → redirect-CnG6nJ4H.mjs} +2 -2
- package/dist/{redirects-DdPaQiWQ.mjs → redirects-C9pg6Dcg.mjs} +6 -2
- package/dist/{redirects-D2SVS1zo.mjs → redirects-lCwNKPUn.mjs} +5 -5
- package/dist/{registry-D3n4-yUl.mjs → registry-QxrUJAWY.mjs} +14 -8
- package/dist/{request-meta-DZTiCIQR.mjs → request-meta-DnZm9Kbu.mjs} +1 -1
- package/dist/{review-payload-BysRWpxS.mjs → review-payload-BuLgXTY6.mjs} +1 -1
- package/dist/{review-requests-D5CJ4JCy.mjs → review-requests-DaYnr3XR.mjs} +1 -1
- package/dist/{review-requests-BQbmYLnz.mjs → review-requests-uI-yUXcr.mjs} +2 -2
- package/dist/{review-route-helpers-DYiujAPM.mjs → review-route-helpers-BvX04ahf.mjs} +2 -2
- package/dist/revision-De7OmYVD.mjs +118 -0
- package/dist/{runner-BWZ87FK-.mjs → runner-CQnzfBpD.mjs} +475 -461
- package/dist/{runner-BITx7yBF.d.mts → runner-o39FihbH.d.mts} +1 -1
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +3 -3
- package/dist/schema-CD3EA3nN.mjs +8 -0
- package/dist/{search-B_ir6H6m.mjs → search-BtCHwx_Z.mjs} +3 -3
- package/dist/{secrets-Dw3lXI42.mjs → secrets-MqvM60s_.mjs} +2 -2
- package/dist/{sections-pRy07N5I.mjs → sections-BM88PvRO.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +22 -20
- package/dist/seo/index.d.mts +4 -4
- package/dist/seo/index.mjs +9 -7
- package/dist/{seo-C4nlxiaY.mjs → seo-BhMH6i2e.mjs} +1 -1
- package/dist/{seo-DdNntVj-.mjs → seo-CTXMR4YD.mjs} +1 -1
- package/dist/{service-D6fJX7D7.mjs → service-evnf21UO.mjs} +2 -2
- package/dist/{settings-D-a7uy2z.mjs → settings-CCqefqC9.mjs} +6 -6
- package/dist/{settings-C4OMR0zf.mjs → settings-COtVNdOx.mjs} +2 -2
- package/dist/{setup-complete-Blqo_adb.mjs → setup-complete-C8LTo8cO.mjs} +1 -1
- package/dist/{site-activity-CnrmnFRy.mjs → site-activity-kfZ9X0no.mjs} +1 -1
- package/dist/{site-context-Bdsobbh9.mjs → site-context-D2DmqFnD.mjs} +15 -15
- package/dist/{site-url-CK5vBdFu.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-DerEE3jG.mjs → store-BtCoeap4.mjs} +1 -1
- package/dist/{taxonomies-6bWkaa_G.mjs → taxonomies-DxtqEjcj.mjs} +3 -3
- package/dist/{taxonomies-FKTevd14.mjs → taxonomies-xvaQ7gVM.mjs} +6 -6
- package/dist/{taxonomy-BU0eCfij.mjs → taxonomy--vcXXfwc.mjs} +2 -2
- package/dist/{types-C8cUW9dh.d.mts → types-B2W3CeZN.d.mts} +1 -0
- package/dist/{types-BkQ-l1Y5.d.mts → types-BcpWwh4c.d.mts} +51 -24
- package/dist/{types-C9F2TLQV.mjs → types-CFvpEEOl.mjs} +1 -1
- package/dist/{types-B2kbOwSj.d.mts → types-Cd_2Jeqp.d.mts} +12 -1
- package/dist/{types-B6r_SMeR.d.mts → types-m37xNtUj.d.mts} +1 -1
- package/dist/ui/server-runtime.d.mts +13 -13
- package/dist/ui/server-runtime.mjs +23 -22
- package/dist/{user-BV02bsWz.mjs → user-Dn3wV227.mjs} +2 -2
- package/dist/{utils-BPzpVHqR.mjs → utils-iGiCys50.mjs} +1 -1
- package/dist/{validate-Drps_jbV.mjs → validate-BHVQSpUy.mjs} +8 -2
- package/dist/{validate-Bc9gaua6.d.mts → validate-BiPYhXNZ.d.mts} +4 -3
- package/dist/version-BbuynKOY.mjs +6 -0
- package/dist/{widgets-BFqy7PYs.mjs → widgets-CBCHUg_u.mjs} +3 -3
- package/dist/{wordpress-slugs-fMvfO22_.mjs → wordpress-slugs-BYW2B_5x.mjs} +1 -1
- package/dist/{zod-generator-BlY_vGgR.mjs → zod-generator-DMlY4cI3.mjs} +2 -2
- package/package.json +11 -4
- package/src/components/DinewayImage.astro +4 -0
- package/dist/schema-kk9-6bUd.mjs +0 -8
- package/dist/version-BohmuXyf.mjs +0 -6
- /package/dist/{actor-D3A5PNkH.mjs → actor-BraTCiOp.mjs} +0 -0
- /package/dist/{api-tokens-CbMAy6xF.mjs → api-tokens-CZ472rzA.mjs} +0 -0
- /package/dist/{challenge-store-DtdQHXf5.mjs → challenge-store-ugPhBaVf.mjs} +0 -0
- /package/dist/{components-DGu-rih7.mjs → components-CINP4h-l.mjs} +0 -0
- /package/dist/{context-types-eBuMDAg-.mjs → context-types-fEeyXC1D.mjs} +0 -0
- /package/dist/{cron-BjKHo0QD.mjs → cron-DIsnItPn.mjs} +0 -0
- /package/dist/{default-CO47mlSA.mjs → default-D8jeKsT3.mjs} +0 -0
- /package/dist/{email-console-CFE1ay18.mjs → email-console-DRb6jkoC.mjs} +0 -0
- /package/dist/{error-Jz0EtEwI.mjs → error-BPA9T0AW.mjs} +0 -0
- /package/dist/{escape-HmHTC1Is.mjs → escape-DgNqnHuj.mjs} +0 -0
- /package/dist/{experimental-workflows-EYZRNkRR.mjs → experimental-workflows-DOo7QDRn.mjs} +0 -0
- /package/dist/{hash-mxxx2oPW.mjs → hash-CEky-IDp.mjs} +0 -0
- /package/dist/{media-url-DVoOhf4X.mjs → media-url-BhbJfG3Y.mjs} +0 -0
- /package/dist/{mime-C0vOHFm7.mjs → mime-Bg7yUeHW.mjs} +0 -0
- /package/dist/{mode-DqpBaEOy.mjs → mode-CgD_xAEJ.mjs} +0 -0
- /package/dist/{normalize-Cyt7JdF7.mjs → normalize-BY2gOygP.mjs} +0 -0
- /package/dist/{oauth-state-store-HdGg_nSm.mjs → oauth-state-store-Dbj-J0K5.mjs} +0 -0
- /package/dist/{oauth-user-lookup-CP16vyFW.mjs → oauth-user-lookup-D2NAYPjU.mjs} +0 -0
- /package/dist/{options-DQPTH5n0.mjs → options-1dBRkoCl.mjs} +0 -0
- /package/dist/{output-CXOC3BFr.mjs → output-A4ZfzzA0.mjs} +0 -0
- /package/dist/{parser-buoH2frr.mjs → parser-C3ux7a3Y.mjs} +0 -0
- /package/dist/{passkey-config-T47FwLtS.mjs → passkey-config-DUc1iP_-.mjs} +0 -0
- /package/dist/{patterns-CoqlXUvk.mjs → patterns-CP9gkiCE.mjs} +0 -0
- /package/dist/{placeholder-BsYSFPjY.d.mts → placeholder-0cGpMonY.d.mts} +0 -0
- /package/dist/{portable-text-Dm0bgrdZ.d.mts → portable-text-Cu4n_8zI.d.mts} +0 -0
- /package/dist/{portable-text-DQHE3b5v.mjs → portable-text-U85hOafW.mjs} +0 -0
- /package/dist/{process-cache-CCDgti7j.mjs → process-cache-DsMwJ3LM.mjs} +0 -0
- /package/dist/{provider-loader-Dxka0BDp.mjs → provider-loader-BPHG3BR5.mjs} +0 -0
- /package/dist/{public-url-CIAtNGEg.mjs → public-url-CmBKcpsJ.mjs} +0 -0
- /package/dist/{redirect-CzqnLxK-.mjs → redirect-D_bb_Cc3.mjs} +0 -0
- /package/dist/{request-cache-CBFjCwSt.mjs → request-cache-DoT2mKBT.mjs} +0 -0
- /package/dist/{resolve-CThKf9_X.mjs → resolve-BDWXnk_V.mjs} +0 -0
- /package/dist/{seo-contributions-BGBehNCN.mjs → seo-contributions-DzusM9lG.mjs} +0 -0
- /package/dist/{service-DOdvCW-9.mjs → service-BB1n90wh.mjs} +0 -0
- /package/dist/{session-user-CYjNeJoD.mjs → session-user-BQZHuGOS.mjs} +0 -0
- /package/dist/{setup-nonce-CGUTFWgQ.mjs → setup-nonce-220YhE1R.mjs} +0 -0
- /package/dist/{sidecar-client-C6ylL-0S.mjs → sidecar-client-SDgPreXV.mjs} +0 -0
- /package/dist/{ssrf-Dz2hqAiG.mjs → ssrf-D00lPvtF.mjs} +0 -0
- /package/dist/{stable-hash-DshcXvRE.mjs → stable-hash-_A3p1ln2.mjs} +0 -0
- /package/dist/{status-xz9JACSX.mjs → status-BdZSXIP_.mjs} +0 -0
- /package/dist/{tokens-DiodRT2y.mjs → tokens-ShJZm_QS.mjs} +0 -0
- /package/dist/{transaction-Chz7SBGr.mjs → transaction-L0tzAOfM.mjs} +0 -0
- /package/dist/{transport-zquJ7Bzm.mjs → transport-DtrY0-hI.mjs} +0 -0
- /package/dist/{transport-DKy93p6V.d.mts → transport-SoRbXDM4.d.mts} +0 -0
- /package/dist/{trusted-proxy-NySPw95m.mjs → trusted-proxy-9b2fSXK2.mjs} +0 -0
- /package/dist/{types-DY9lJRpo.d.mts → types-B-KSspMO.d.mts} +0 -0
- /package/dist/{types-ftxcMx5-.mjs → types-B-nDjnzA.mjs} +0 -0
- /package/dist/{types-C2LBO0t8.d.mts → types-BdsNqnHA.d.mts} +0 -0
- /package/dist/{types-B7TDDFMG.mjs → types-D1l9cCKM.mjs} +0 -0
- /package/dist/{types-Gd4kXLsa.d.mts → types-D8iukuuI.d.mts} +0 -0
- /package/dist/{types-BaKec6bx.d.mts → types-ZdWRfUsC.d.mts} +0 -0
- /package/dist/{types-C1LdZbQb.mjs → types-dgGPmsl_.mjs} +0 -0
- /package/dist/{url-guoXQQcV.mjs → url-C_pLSrGZ.mjs} +0 -0
- /package/dist/{url-C05Zz4pW.mjs → url-CmjWycVK.mjs} +0 -0
|
@@ -1,99 +1,103 @@
|
|
|
1
|
-
import { i as runMigrations } from "../runner-
|
|
2
|
-
import "../connection-
|
|
1
|
+
import { i as runMigrations } from "../runner-CQnzfBpD.mjs";
|
|
2
|
+
import "../connection-DJ3GzHVH.mjs";
|
|
3
3
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
4
4
|
import { s as isSqlite } from "../dialect-helpers-fk43GbDb.mjs";
|
|
5
5
|
import { i as setI18nConfig } from "../config-CVssduLe.mjs";
|
|
6
|
-
import { _ as DEFAULT_PLUGIN_RAW_BODY_LIMIT_BYTES, d as EmailPipeline, g as definePlugin, h as runPluginMigrations, m as resolveExclusiveHooks, p as createHookPipeline, u as PluginRouteRegistry, v as readBoundedPluginRouteBody } from "../plugins-
|
|
6
|
+
import { _ as DEFAULT_PLUGIN_RAW_BODY_LIMIT_BYTES, d as EmailPipeline, g as definePlugin, h as runPluginMigrations, m as resolveExclusiveHooks, p as createHookPipeline, u as PluginRouteRegistry, v as readBoundedPluginRouteBody } from "../plugins-BC9Rb6PJ.mjs";
|
|
7
7
|
import { createRequestMetrics, getRequestContext, runWithContext } from "../request-context.mjs";
|
|
8
8
|
import { createRecorder, flushRecorder, formatServerTimingHeader, isInstrumentationEnabled, isServerTimingEnabled, kyselyLogOption } from "../database/instrumentation.mjs";
|
|
9
9
|
import "../base64-F8-DUraK.mjs";
|
|
10
|
-
import "../types-
|
|
11
|
-
import { o as isMissingTableError, r as getDb } from "../loader-
|
|
10
|
+
import "../types-CFvpEEOl.mjs";
|
|
11
|
+
import { o as isMissingTableError, r as getDb } from "../loader-CsX5pTud.mjs";
|
|
12
12
|
import { t as after } from "../after-BfniwgIf.mjs";
|
|
13
13
|
import "../object-cache-D51qOseS.mjs";
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import "../
|
|
17
|
-
import "../
|
|
18
|
-
import "../
|
|
19
|
-
import
|
|
20
|
-
import "../
|
|
21
|
-
import "../
|
|
22
|
-
import "../
|
|
23
|
-
import {
|
|
24
|
-
import "../
|
|
25
|
-
import
|
|
26
|
-
import "../
|
|
27
|
-
import "../
|
|
28
|
-
import
|
|
29
|
-
import "../
|
|
30
|
-
import
|
|
31
|
-
import "../
|
|
32
|
-
import "../
|
|
33
|
-
import
|
|
34
|
-
import "../
|
|
35
|
-
import "../
|
|
36
|
-
import
|
|
37
|
-
import "../
|
|
38
|
-
import
|
|
39
|
-
import "../
|
|
40
|
-
import
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import
|
|
45
|
-
import "../
|
|
46
|
-
import "../
|
|
47
|
-
import "../
|
|
48
|
-
import
|
|
49
|
-
import "../
|
|
50
|
-
import "../
|
|
51
|
-
import "../
|
|
52
|
-
import "../
|
|
53
|
-
import "../
|
|
54
|
-
import "../
|
|
55
|
-
import "../
|
|
56
|
-
import "../
|
|
57
|
-
import "../
|
|
58
|
-
import
|
|
59
|
-
import "../
|
|
60
|
-
import "../
|
|
61
|
-
import "../
|
|
62
|
-
import "../
|
|
63
|
-
import "../
|
|
64
|
-
import
|
|
65
|
-
import "../
|
|
66
|
-
import "../
|
|
67
|
-
import "../
|
|
68
|
-
import "../
|
|
69
|
-
import
|
|
70
|
-
import "../
|
|
71
|
-
import
|
|
72
|
-
import "../
|
|
73
|
-
import "../
|
|
74
|
-
import {
|
|
75
|
-
import "../
|
|
76
|
-
import
|
|
77
|
-
import {
|
|
78
|
-
import "../
|
|
79
|
-
import { n as
|
|
80
|
-
import "../
|
|
81
|
-
import "../
|
|
82
|
-
import {
|
|
83
|
-
import "../
|
|
84
|
-
import "../
|
|
85
|
-
import "../
|
|
86
|
-
import "../
|
|
87
|
-
import "../
|
|
88
|
-
import "../
|
|
89
|
-
import "../
|
|
90
|
-
import "../
|
|
91
|
-
import "../
|
|
92
|
-
import "../
|
|
14
|
+
import { t as RevisionRepository } from "../revision-De7OmYVD.mjs";
|
|
15
|
+
import { t as ContentRepository } from "../content-CzUrmMC3.mjs";
|
|
16
|
+
import { t as MediaRepository } from "../media-4xtXwq7L.mjs";
|
|
17
|
+
import "../user-Dn3wV227.mjs";
|
|
18
|
+
import "../taxonomy--vcXXfwc.mjs";
|
|
19
|
+
import "../comment-DuDtCn-f.mjs";
|
|
20
|
+
import { t as OptionsRepository } from "../options-1dBRkoCl.mjs";
|
|
21
|
+
import "../audit-CmiNnrbj.mjs";
|
|
22
|
+
import "../site-activity-kfZ9X0no.mjs";
|
|
23
|
+
import { t as ReviewRequestRepository } from "../review-requests-DaYnr3XR.mjs";
|
|
24
|
+
import { c as ContentReleaseGrantRepository, n as PublicationAuthorizationService, r as publicationReceipt, t as PublicationAuthorizationError } from "../publication-authorization-Bq4B0KIL.mjs";
|
|
25
|
+
import "../site-context-D2DmqFnD.mjs";
|
|
26
|
+
import { t as PluginContextFactory } from "../context-BET1jeas.mjs";
|
|
27
|
+
import "../menus-CRmcWAM5.mjs";
|
|
28
|
+
import "../redirect-CnG6nJ4H.mjs";
|
|
29
|
+
import { r as requestCached } from "../request-cache-DoT2mKBT.mjs";
|
|
30
|
+
import "../byline-registry-CF9nobxT.mjs";
|
|
31
|
+
import { a as initWithLock, i as createInitLock, r as processCachedAsync, t as createProcessCache } from "../process-cache-DsMwJ3LM.mjs";
|
|
32
|
+
import "../field-defs-cache-BIHTU5Yj.mjs";
|
|
33
|
+
import "../byline-MGIfM2Is.mjs";
|
|
34
|
+
import { n as normalizeMediaValue } from "../normalize-BY2gOygP.mjs";
|
|
35
|
+
import "../enrich-Uw_OA9Ve.mjs";
|
|
36
|
+
import "../seo-BhMH6i2e.mjs";
|
|
37
|
+
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, d as createPluginBundleStore, et as decodeRev, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, tt as validateRev, z as handleContentDelete } from "../api-BTrQ7bjs.mjs";
|
|
38
|
+
import "../dashboard-CKAH1KwM.mjs";
|
|
39
|
+
import { u as PluginStateRepository } from "../briefing-Cd2HhhHi.mjs";
|
|
40
|
+
import "../context-types-fEeyXC1D.mjs";
|
|
41
|
+
import { i as markContentMediaUsageCollectionStale, o as refreshContentMediaUsageAfterWrite, r as findNonTranslatableSiblingContentIds, t as deleteContentMediaUsage } from "../content-refresh-C_jcjzOr.mjs";
|
|
42
|
+
import { n as hashString } from "../hash-CEky-IDp.mjs";
|
|
43
|
+
import { t as FTSManager } from "../fts-manager-BB44uXMm.mjs";
|
|
44
|
+
import "../public-discovery-CyDzK1-S.mjs";
|
|
45
|
+
import { n as SchemaRegistry } from "../registry-QxrUJAWY.mjs";
|
|
46
|
+
import { r as createPublicMediaUrlResolver } from "../url-C_pLSrGZ.mjs";
|
|
47
|
+
import "../settings-CCqefqC9.mjs";
|
|
48
|
+
import "../briefing-BoIXsh3Y.mjs";
|
|
49
|
+
import { t as ReviewPayloadBuilder } from "../review-payload-BuLgXTY6.mjs";
|
|
50
|
+
import "../review-requests-uI-yUXcr.mjs";
|
|
51
|
+
import { n as VERSION, t as COMMIT } from "../version-BbuynKOY.mjs";
|
|
52
|
+
import "../query-MvFwA1uK.mjs";
|
|
53
|
+
import "../zod-generator-DMlY4cI3.mjs";
|
|
54
|
+
import "../schema-CD3EA3nN.mjs";
|
|
55
|
+
import "../discovery-SVnRaAxj.mjs";
|
|
56
|
+
import "../seo-CTXMR4YD.mjs";
|
|
57
|
+
import "../bylines-t_uHsP44.mjs";
|
|
58
|
+
import "../byline-fields-GoUVaGw4.mjs";
|
|
59
|
+
import "../sections-BM88PvRO.mjs";
|
|
60
|
+
import "../settings-COtVNdOx.mjs";
|
|
61
|
+
import { o as validateEncryptionKeyAtStartup } from "../secrets-MqvM60s_.mjs";
|
|
62
|
+
import "../store-BtCoeap4.mjs";
|
|
63
|
+
import "../integration-credentials-CTrvXgEc.mjs";
|
|
64
|
+
import "../resolve-BDWXnk_V.mjs";
|
|
65
|
+
import "../taxonomies-xvaQ7gVM.mjs";
|
|
66
|
+
import "../taxonomies-DxtqEjcj.mjs";
|
|
67
|
+
import { r as normalizeManifestRoute } from "../manifest-schema-owbEUmv1.mjs";
|
|
68
|
+
import "../parse-CJC9DGe9.mjs";
|
|
69
|
+
import "../redirects-C9pg6Dcg.mjs";
|
|
70
|
+
import "../byline-fields-C4OeOttq.mjs";
|
|
71
|
+
import "../status-BdZSXIP_.mjs";
|
|
72
|
+
import { t as getTrustedProxyHeaders } from "../trusted-proxy-9b2fSXK2.mjs";
|
|
73
|
+
import "../rate-limit-JhnJUEno.mjs";
|
|
74
|
+
import { a as invalidateUrlPatternCache } from "../query-BAfn0Uxp.mjs";
|
|
75
|
+
import "../preview-CjL_29aE.mjs";
|
|
76
|
+
import "../parser-C3ux7a3Y.mjs";
|
|
77
|
+
import { n as sanitizeHeadersForSandbox, t as extractRequestMeta } from "../request-meta-DnZm9Kbu.mjs";
|
|
78
|
+
import "../ssrf-D00lPvtF.mjs";
|
|
79
|
+
import { n as CronExecutor } from "../cron-DIsnItPn.mjs";
|
|
80
|
+
import { r as devConsoleEmailDeliver, t as DEV_CONSOLE_EMAIL_PLUGIN_ID } from "../email-console-DRb6jkoC.mjs";
|
|
81
|
+
import "../api-tokens-CZ472rzA.mjs";
|
|
82
|
+
import { n as createActivePluginMcpRegistry } from "../mcp-reviewed-executor-BwI0ylf3.mjs";
|
|
83
|
+
import { n as redactActivityRecord } from "../activity-DWlF3FUa.mjs";
|
|
84
|
+
import "../activity-events-BYksOnTL.mjs";
|
|
85
|
+
import { i as experimentalSiteContextWorkflowsEnabled } from "../experimental-workflows-DOo7QDRn.mjs";
|
|
86
|
+
import "../utils-iGiCys50.mjs";
|
|
87
|
+
import "../search-BtCHwx_Z.mjs";
|
|
88
|
+
import "../import-BCY1k1zB.mjs";
|
|
89
|
+
import "../tokens-ShJZm_QS.mjs";
|
|
90
|
+
import "../comment-reaction-NZjadbiB.mjs";
|
|
91
|
+
import "../menus-Cu3TUXyl.mjs";
|
|
92
|
+
import "../bylines-CL8Z6AxI.mjs";
|
|
93
|
+
import "../widgets-CBCHUg_u.mjs";
|
|
94
|
+
import "../validate-BHVQSpUy.mjs";
|
|
95
|
+
import "../apply-CS_138du.mjs";
|
|
96
|
+
import "../load-C-cMlsPv.mjs";
|
|
93
97
|
import "../index.mjs";
|
|
94
|
-
import { t as getAuthMode } from "../mode-
|
|
95
|
-
import { t as cleanupExpiredChallenges } from "../challenge-store-
|
|
96
|
-
import { t as resolveSessionUser } from "../session-user-
|
|
98
|
+
import { t as getAuthMode } from "../mode-CgD_xAEJ.mjs";
|
|
99
|
+
import { t as cleanupExpiredChallenges } from "../challenge-store-ugPhBaVf.mjs";
|
|
100
|
+
import { t as resolveSessionUser } from "../session-user-BQZHuGOS.mjs";
|
|
97
101
|
import { Kysely, sql } from "kysely";
|
|
98
102
|
import { defineMiddleware } from "astro:middleware";
|
|
99
103
|
import virtualConfig from "virtual:dineway/config";
|
|
@@ -414,6 +418,102 @@ async function publishDueContent(db, options = {}) {
|
|
|
414
418
|
return published;
|
|
415
419
|
}
|
|
416
420
|
|
|
421
|
+
//#endregion
|
|
422
|
+
//#region src/site-context/confirmed-publication.ts
|
|
423
|
+
/** Internal runtime boundary. Native review, policy state, release and content commit
|
|
424
|
+
* together; notification hooks and media-usage refresh belong after its commit.
|
|
425
|
+
* Requires actual transactions, with no unsupported-adapter or retry fallback. */
|
|
426
|
+
async function publishConfirmedContent(db, input, authorize, policies) {
|
|
427
|
+
if (input.actor.actorType !== "user" || input.actor.authMetadata.auth_method !== "session" || !input.actor.actorId.trim()) throw new PublicationAuthorizationError("ACTOR_NOT_ALLOWED", "Explicit publication confirmation requires a human session");
|
|
428
|
+
if (!input.expectedRev.trim() || !input.expectedDraftRevisionId?.trim() || !(input.expectedLiveRevisionId === null || typeof input.expectedLiveRevisionId === "string" && input.expectedLiveRevisionId.trim()) || typeof authorize !== "function") throw new PublicationAuthorizationError("CONFIRMATION_REQUIRED", "An exact preview and host authorization are required");
|
|
429
|
+
if (db.isTransaction) throw new PublicationAuthorizationError("PUBLICATION_TRANSACTION_REQUIRED", "Confirmed publication must own its commit boundary");
|
|
430
|
+
return db.transaction().setIsolationLevel("serializable").execute((transaction) => runWithContext({
|
|
431
|
+
editMode: false,
|
|
432
|
+
...getRequestContext(),
|
|
433
|
+
db: transaction
|
|
434
|
+
}, async () => {
|
|
435
|
+
await authorize(transaction, input);
|
|
436
|
+
const current = await handleContentGet(transaction, input.collection, input.id);
|
|
437
|
+
if (!current.success) throw new PublicationAuthorizationError(current.error.code, current.error.message);
|
|
438
|
+
const previousContent = current.data.item;
|
|
439
|
+
if (previousContent.id !== input.id) throw new PublicationAuthorizationError("CONTENT_TARGET_INVALID", "Confirmation requires the native content ID");
|
|
440
|
+
const prior = await new ContentReleaseGrantRepository(transaction).findConfirmedPublication({
|
|
441
|
+
collection: input.collection,
|
|
442
|
+
entryId: input.id,
|
|
443
|
+
reviewedRev: input.expectedRev,
|
|
444
|
+
draftRevisionId: input.expectedDraftRevisionId,
|
|
445
|
+
liveRevisionId: input.expectedLiveRevisionId,
|
|
446
|
+
actorId: input.actor.actorId
|
|
447
|
+
});
|
|
448
|
+
if (prior && previousContent.status === "published" && previousContent.liveRevisionId === prior.draftRevisionId && previousContent.version === decodeRev(prior.reviewedRev)?.version && prior.authorizedAuthMetadata?.realm === input.actor.authMetadata.realm && (!previousContent.draftRevisionId || previousContent.draftRevisionId === previousContent.liveRevisionId)) return {
|
|
449
|
+
publication: {
|
|
450
|
+
...current.data,
|
|
451
|
+
receipt: publicationReceipt(prior, "published"),
|
|
452
|
+
replayed: true
|
|
453
|
+
},
|
|
454
|
+
previousContent
|
|
455
|
+
};
|
|
456
|
+
if (current.data._rev !== input.expectedRev || previousContent.draftRevisionId !== input.expectedDraftRevisionId || previousContent.liveRevisionId !== input.expectedLiveRevisionId) throw new PublicationAuthorizationError("CONTENT_CHANGED", "The Draft changed. Review the latest preview before publishing");
|
|
457
|
+
const handlers = {
|
|
458
|
+
handleContentGet: (collection, id) => handleContentGet(transaction, collection, id),
|
|
459
|
+
handleContentCompare: (collection, id) => handleContentCompare(transaction, collection, id)
|
|
460
|
+
};
|
|
461
|
+
const builder = new ReviewPayloadBuilder(handlers);
|
|
462
|
+
const reviewed = await builder.buildContentReviewPayload({
|
|
463
|
+
collection: input.collection,
|
|
464
|
+
id: input.id,
|
|
465
|
+
summary: input.summary
|
|
466
|
+
});
|
|
467
|
+
const reviews = new ReviewRequestRepository(transaction);
|
|
468
|
+
const review = await reviews.create({
|
|
469
|
+
...reviewed,
|
|
470
|
+
requestedByActorType: "user",
|
|
471
|
+
requestedByActorId: input.actor.actorId,
|
|
472
|
+
requestedAuthMetadata: redactActivityRecord(input.actor.authMetadata)
|
|
473
|
+
});
|
|
474
|
+
await reviews.resolve(review.id, {
|
|
475
|
+
decision: "approved",
|
|
476
|
+
resolvedByActorType: "user",
|
|
477
|
+
resolvedByActorId: input.actor.actorId,
|
|
478
|
+
resolvedAuthMetadata: redactActivityRecord(input.actor.authMetadata)
|
|
479
|
+
});
|
|
480
|
+
const result = await new PublicationAuthorizationService({
|
|
481
|
+
db: transaction,
|
|
482
|
+
policies,
|
|
483
|
+
handlers: {
|
|
484
|
+
...handlers,
|
|
485
|
+
handleContentPublish: async (collection, id, options) => {
|
|
486
|
+
await authorize(transaction, input);
|
|
487
|
+
if ((await builder.buildContentReviewPayload({
|
|
488
|
+
collection,
|
|
489
|
+
id
|
|
490
|
+
})).actionHash !== reviewed.actionHash) throw new PublicationAuthorizationError("CONTENT_CHANGED", "The confirmed Draft changed before publication");
|
|
491
|
+
return handleContentPublish(transaction, collection, id, options);
|
|
492
|
+
},
|
|
493
|
+
handleContentSchedule: (collection, id, at) => handleContentSchedule(transaction, collection, id, at),
|
|
494
|
+
handleContentUnschedule: (collection, id) => handleContentUnschedule(transaction, collection, id)
|
|
495
|
+
}
|
|
496
|
+
}).publishAuthorizedContent({
|
|
497
|
+
actor: input.actor,
|
|
498
|
+
collection: input.collection,
|
|
499
|
+
id: input.id,
|
|
500
|
+
editorialReviewRequestId: review.id,
|
|
501
|
+
sourceType: "api_route",
|
|
502
|
+
sourceName: input.sourceName ?? "host_confirmed_publication"
|
|
503
|
+
});
|
|
504
|
+
const saved = await handleContentGet(transaction, input.collection, input.id);
|
|
505
|
+
if (!saved.success) throw new PublicationAuthorizationError(saved.error.code, saved.error.message);
|
|
506
|
+
return {
|
|
507
|
+
publication: {
|
|
508
|
+
...saved.data,
|
|
509
|
+
receipt: result.receipt,
|
|
510
|
+
replayed: false
|
|
511
|
+
},
|
|
512
|
+
previousContent
|
|
513
|
+
};
|
|
514
|
+
}));
|
|
515
|
+
}
|
|
516
|
+
|
|
417
517
|
//#endregion
|
|
418
518
|
//#region src/dineway-runtime.ts
|
|
419
519
|
const LEADING_SLASH_PATTERN = /^\//;
|
|
@@ -1069,9 +1169,9 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1069
1169
|
}
|
|
1070
1170
|
})();
|
|
1071
1171
|
if (collectionCount.count === 0 && !setupDone) {
|
|
1072
|
-
const { applySeed } = await import("../apply-
|
|
1073
|
-
const { loadSeed } = await import("../load-
|
|
1074
|
-
const { validateSeed } = await import("../validate-
|
|
1172
|
+
const { applySeed } = await import("../apply-CS_138du.mjs").then((n) => n.n);
|
|
1173
|
+
const { loadSeed } = await import("../load-C-cMlsPv.mjs").then((n) => n.r);
|
|
1174
|
+
const { validateSeed } = await import("../validate-BHVQSpUy.mjs").then((n) => n.n);
|
|
1075
1175
|
const seed = await loadSeed();
|
|
1076
1176
|
if (validateSeed(seed).valid) {
|
|
1077
1177
|
await applySeed(db, seed, { onConflict: "skip" });
|
|
@@ -1527,6 +1627,17 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1527
1627
|
}
|
|
1528
1628
|
});
|
|
1529
1629
|
}
|
|
1630
|
+
/** Server-only integration for a host's own authenticated human publishing flow.
|
|
1631
|
+
* The host must check editorial and release authority inside authorize's transaction. */
|
|
1632
|
+
async publishConfirmedContent(input, authorize) {
|
|
1633
|
+
const policies = this.configuredPlugins.filter((plugin) => this.enabledPlugins.has(plugin.id)).flatMap((plugin) => plugin.publicationReleasePolicies ?? []);
|
|
1634
|
+
const { publication, previousContent } = await publishConfirmedContent(this.db, input, authorize, policies);
|
|
1635
|
+
if (!publication.replayed) {
|
|
1636
|
+
await this.refreshContentUsageAfterSuccessfulWrite(input.collection, [publication.item.id]);
|
|
1637
|
+
this.runAfterPublishHooks(contentItemToRecord(publication.item), input.collection, contentItemToRecord(previousContent));
|
|
1638
|
+
}
|
|
1639
|
+
return publication;
|
|
1640
|
+
}
|
|
1530
1641
|
async handleContentPublish(collection, id, options = {}) {
|
|
1531
1642
|
const previousContent = await this.previousContentForNotification(collection, id);
|
|
1532
1643
|
const result = await handleContentPublish(this.db, collection, id, options);
|
|
@@ -2258,7 +2369,7 @@ const onRequest = defineMiddleware(async (context, next) => {
|
|
|
2258
2369
|
if (!isSetupVerified() && !context.isPrerendered) {
|
|
2259
2370
|
const setupStart = startServerTiming(serverTimings);
|
|
2260
2371
|
try {
|
|
2261
|
-
const { getDb } = await import("../loader-
|
|
2372
|
+
const { getDb } = await import("../loader-CsX5pTud.mjs").then((n) => n.i);
|
|
2262
2373
|
await (await getDb()).selectFrom("_dineway_migrations").selectAll().limit(1).execute();
|
|
2263
2374
|
markSetupVerified();
|
|
2264
2375
|
} catch (error) {
|
|
@@ -2324,6 +2435,7 @@ const onRequest = defineMiddleware(async (context, next) => {
|
|
|
2324
2435
|
handleContentDuplicate: runtime.handleContentDuplicate.bind(runtime),
|
|
2325
2436
|
handleContentPublish: runtime.handleContentPublish.bind(runtime),
|
|
2326
2437
|
createPublicationAuthorizationService: runtime.createPublicationAuthorizationService.bind(runtime),
|
|
2438
|
+
publishConfirmedContent: runtime.publishConfirmedContent.bind(runtime),
|
|
2327
2439
|
handleContentUnpublish: runtime.handleContentUnpublish.bind(runtime),
|
|
2328
2440
|
handleContentSchedule: runtime.handleContentSchedule.bind(runtime),
|
|
2329
2441
|
handleContentUnschedule: runtime.handleContentUnschedule.bind(runtime),
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "../../../../../context-types-
|
|
2
|
-
import
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import "../../../../../
|
|
6
|
-
import "../../../../../
|
|
1
|
+
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
2
|
+
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
5
|
+
import { S as allowedDomainUpdateBody } from "../../../../../redirects-C9pg6Dcg.mjs";
|
|
6
|
+
import "../../../../../byline-fields-C4OeOttq.mjs";
|
|
7
|
+
import "../../../../../status-BdZSXIP_.mjs";
|
|
7
8
|
import "../../../../../api/schemas/index.mjs";
|
|
8
9
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
9
10
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "../../../../../context-types-
|
|
2
|
-
import
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import "../../../../../
|
|
6
|
-
import "../../../../../
|
|
1
|
+
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
2
|
+
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
3
|
+
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
4
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
5
|
+
import { x as allowedDomainCreateBody } from "../../../../../redirects-C9pg6Dcg.mjs";
|
|
6
|
+
import "../../../../../byline-fields-C4OeOttq.mjs";
|
|
7
|
+
import "../../../../../status-BdZSXIP_.mjs";
|
|
7
8
|
import "../../../../../api/schemas/index.mjs";
|
|
8
9
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
9
10
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
-
import "../../../../../api-tokens-
|
|
3
|
-
import { i as handleApiTokenRevoke } from "../../../../../api-tokens-
|
|
4
|
-
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-
|
|
1
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
2
|
+
import "../../../../../api-tokens-CZ472rzA.mjs";
|
|
3
|
+
import { i as handleApiTokenRevoke } from "../../../../../api-tokens-d43xs7C1.mjs";
|
|
4
|
+
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-Bg93z3D6.mjs";
|
|
5
5
|
import { Role } from "@dineway-ai/auth";
|
|
6
6
|
|
|
7
7
|
//#region src/astro/routes/api/admin/api-tokens/[id].ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-
|
|
2
|
-
import { n as parseBody, t as isParseError } from "../../../../../parse-
|
|
3
|
-
import { t as ALL_VALID_SCOPES } from "../../../../../api-tokens-
|
|
4
|
-
import { c as requestedExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, s as getExperimentalSiteContextWorkflowsDisabledMessage } from "../../../../../experimental-workflows-
|
|
5
|
-
import { n as handleApiTokenCreate, r as handleApiTokenList } from "../../../../../api-tokens-
|
|
6
|
-
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-
|
|
1
|
+
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
2
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
3
|
+
import { t as ALL_VALID_SCOPES } from "../../../../../api-tokens-CZ472rzA.mjs";
|
|
4
|
+
import { c as requestedExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, s as getExperimentalSiteContextWorkflowsDisabledMessage } from "../../../../../experimental-workflows-DOo7QDRn.mjs";
|
|
5
|
+
import { n as handleApiTokenCreate, r as handleApiTokenList } from "../../../../../api-tokens-d43xs7C1.mjs";
|
|
6
|
+
import { t as rejectApiTokenAuthControlWrite } from "../../../../../auth-control-guard-Bg93z3D6.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { Role } from "@dineway-ai/auth";
|
|
9
9
|
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import "../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../types-
|
|
4
|
-
import "../../../../loader-
|
|
3
|
+
import "../../../../types-CFvpEEOl.mjs";
|
|
4
|
+
import "../../../../loader-CsX5pTud.mjs";
|
|
5
5
|
import "../../../../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../../../../media-
|
|
7
|
-
import "../../../../options-
|
|
8
|
-
import "../../../../site-activity-
|
|
9
|
-
import "../../../../review-requests-
|
|
10
|
-
import "../../../../request-cache-
|
|
11
|
-
import "../../../../briefing-
|
|
12
|
-
import "../../../../context-types-
|
|
13
|
-
import "../../../../content-refresh-
|
|
14
|
-
import "../../../../fts-manager-
|
|
15
|
-
import "../../../../
|
|
16
|
-
import "../../../../
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import { i as
|
|
20
|
-
import "../../../../
|
|
21
|
-
import
|
|
22
|
-
import "../../../../
|
|
6
|
+
import "../../../../media-4xtXwq7L.mjs";
|
|
7
|
+
import "../../../../options-1dBRkoCl.mjs";
|
|
8
|
+
import "../../../../site-activity-kfZ9X0no.mjs";
|
|
9
|
+
import "../../../../review-requests-DaYnr3XR.mjs";
|
|
10
|
+
import "../../../../request-cache-DoT2mKBT.mjs";
|
|
11
|
+
import "../../../../briefing-Cd2HhhHi.mjs";
|
|
12
|
+
import "../../../../context-types-fEeyXC1D.mjs";
|
|
13
|
+
import "../../../../content-refresh-C_jcjzOr.mjs";
|
|
14
|
+
import "../../../../fts-manager-BB44uXMm.mjs";
|
|
15
|
+
import "../../../../public-discovery-CyDzK1-S.mjs";
|
|
16
|
+
import "../../../../registry-QxrUJAWY.mjs";
|
|
17
|
+
import "../../../../settings-CCqefqC9.mjs";
|
|
18
|
+
import { t as handleSiteBriefingGet } from "../../../../briefing-BoIXsh3Y.mjs";
|
|
19
|
+
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../error-BPA9T0AW.mjs";
|
|
20
|
+
import { i as parseQuery, t as isParseError } from "../../../../parse-CJC9DGe9.mjs";
|
|
21
|
+
import "../../../../redirects-C9pg6Dcg.mjs";
|
|
22
|
+
import { A as siteBriefingQuery } from "../../../../byline-fields-C4OeOttq.mjs";
|
|
23
|
+
import "../../../../status-BdZSXIP_.mjs";
|
|
23
24
|
import "../../../../api/schemas/index.mjs";
|
|
24
25
|
import { hasPermission } from "@dineway-ai/auth";
|
|
25
26
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../../../../../byline-registry-
|
|
2
|
-
import { s as handleBylineFieldUsage } from "../../../../../../byline-fields-
|
|
3
|
-
import { a as unwrapResult, t as apiError } from "../../../../../../error-
|
|
4
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
1
|
+
import "../../../../../../byline-registry-CF9nobxT.mjs";
|
|
2
|
+
import { s as handleBylineFieldUsage } from "../../../../../../byline-fields-GoUVaGw4.mjs";
|
|
3
|
+
import { a as unwrapResult, t as apiError } from "../../../../../../error-BPA9T0AW.mjs";
|
|
4
|
+
import { n as requirePerm } from "../../../../../../authorize-Dg75h4BN.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/astro/routes/api/admin/byline-fields/[slug]/usage.ts
|
|
7
7
|
const prerender = false;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "../../../../../byline-registry-
|
|
2
|
-
import "../../../../../context-types-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "../../../../../
|
|
7
|
-
import
|
|
8
|
-
import "../../../../../
|
|
1
|
+
import "../../../../../byline-registry-CF9nobxT.mjs";
|
|
2
|
+
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
3
|
+
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
4
|
+
import { n as handleBylineFieldDelete, o as handleBylineFieldUpdate, r as handleBylineFieldGet } from "../../../../../byline-fields-GoUVaGw4.mjs";
|
|
5
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
7
|
+
import "../../../../../redirects-C9pg6Dcg.mjs";
|
|
8
|
+
import { a as bylineFieldUpdateBody } from "../../../../../byline-fields-C4OeOttq.mjs";
|
|
9
|
+
import "../../../../../status-BdZSXIP_.mjs";
|
|
9
10
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
11
|
+
import { n as requirePerm } from "../../../../../authorize-Dg75h4BN.mjs";
|
|
11
12
|
|
|
12
13
|
//#region src/astro/routes/api/admin/byline-fields/[slug].ts
|
|
13
14
|
const prerender = false;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "../../../../../byline-registry-
|
|
2
|
-
import "../../../../../context-types-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "../../../../../
|
|
7
|
-
import
|
|
8
|
-
import "../../../../../
|
|
1
|
+
import "../../../../../byline-registry-CF9nobxT.mjs";
|
|
2
|
+
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
3
|
+
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
4
|
+
import { i as handleBylineFieldList, t as handleBylineFieldCreate } from "../../../../../byline-fields-GoUVaGw4.mjs";
|
|
5
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
7
|
+
import "../../../../../redirects-C9pg6Dcg.mjs";
|
|
8
|
+
import { t as bylineFieldCreateBody } from "../../../../../byline-fields-C4OeOttq.mjs";
|
|
9
|
+
import "../../../../../status-BdZSXIP_.mjs";
|
|
9
10
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
11
|
+
import { n as requirePerm } from "../../../../../authorize-Dg75h4BN.mjs";
|
|
11
12
|
|
|
12
13
|
//#region src/astro/routes/api/admin/byline-fields/index.ts
|
|
13
14
|
const prerender = false;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "../../../../../byline-registry-
|
|
2
|
-
import "../../../../../context-types-
|
|
3
|
-
import
|
|
4
|
-
import { a as
|
|
5
|
-
import {
|
|
6
|
-
import "../../../../../
|
|
7
|
-
import
|
|
8
|
-
import "../../../../../
|
|
1
|
+
import "../../../../../byline-registry-CF9nobxT.mjs";
|
|
2
|
+
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
3
|
+
import "../../../../../public-discovery-CyDzK1-S.mjs";
|
|
4
|
+
import { a as handleBylineFieldReorder } from "../../../../../byline-fields-GoUVaGw4.mjs";
|
|
5
|
+
import { a as unwrapResult, t as apiError } from "../../../../../error-BPA9T0AW.mjs";
|
|
6
|
+
import { n as parseBody, t as isParseError } from "../../../../../parse-CJC9DGe9.mjs";
|
|
7
|
+
import "../../../../../redirects-C9pg6Dcg.mjs";
|
|
8
|
+
import { i as bylineFieldReorderBody } from "../../../../../byline-fields-C4OeOttq.mjs";
|
|
9
|
+
import "../../../../../status-BdZSXIP_.mjs";
|
|
9
10
|
import "../../../../../api/schemas/index.mjs";
|
|
10
|
-
import { n as requirePerm } from "../../../../../authorize-
|
|
11
|
+
import { n as requirePerm } from "../../../../../authorize-Dg75h4BN.mjs";
|
|
11
12
|
|
|
12
13
|
//#region src/astro/routes/api/admin/byline-fields/reorder.ts
|
|
13
14
|
const prerender = false;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import "../../../../../../dialect-helpers-fk43GbDb.mjs";
|
|
2
2
|
import "../../../../../../base64-F8-DUraK.mjs";
|
|
3
|
-
import "../../../../../../types-
|
|
4
|
-
import "../../../../../../loader-
|
|
3
|
+
import "../../../../../../types-CFvpEEOl.mjs";
|
|
4
|
+
import "../../../../../../loader-CsX5pTud.mjs";
|
|
5
5
|
import "../../../../../../object-cache-D51qOseS.mjs";
|
|
6
|
-
import "../../../../../../request-cache-
|
|
7
|
-
import "../../../../../../byline-registry-
|
|
8
|
-
import "../../../../../../field-defs-cache-
|
|
9
|
-
import { t as BylineRepository } from "../../../../../../byline-
|
|
10
|
-
import "../../../../../../context-types-
|
|
11
|
-
import
|
|
12
|
-
import "../../../../../../
|
|
13
|
-
import
|
|
14
|
-
import { n as
|
|
15
|
-
import {
|
|
16
|
-
import "../../../../../../
|
|
17
|
-
import "../../../../../../
|
|
6
|
+
import "../../../../../../request-cache-DoT2mKBT.mjs";
|
|
7
|
+
import "../../../../../../byline-registry-CF9nobxT.mjs";
|
|
8
|
+
import "../../../../../../field-defs-cache-BIHTU5Yj.mjs";
|
|
9
|
+
import { t as BylineRepository } from "../../../../../../byline-MGIfM2Is.mjs";
|
|
10
|
+
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
11
|
+
import "../../../../../../public-discovery-CyDzK1-S.mjs";
|
|
12
|
+
import { i as handleBylineUpdate } from "../../../../../../bylines-t_uHsP44.mjs";
|
|
13
|
+
import "../../../../../../resolve-BDWXnk_V.mjs";
|
|
14
|
+
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BPA9T0AW.mjs";
|
|
15
|
+
import { n as parseBody, t as isParseError } from "../../../../../../parse-CJC9DGe9.mjs";
|
|
16
|
+
import { Tn as bylineUpdateBody } from "../../../../../../redirects-C9pg6Dcg.mjs";
|
|
17
|
+
import "../../../../../../byline-fields-C4OeOttq.mjs";
|
|
18
|
+
import "../../../../../../status-BdZSXIP_.mjs";
|
|
18
19
|
import "../../../../../../api/schemas/index.mjs";
|
|
19
|
-
import { a as invalidateBylineCache } from "../../../../../../bylines-
|
|
20
|
-
import { n as requirePerm } from "../../../../../../authorize-
|
|
20
|
+
import { a as invalidateBylineCache } from "../../../../../../bylines-CL8Z6AxI.mjs";
|
|
21
|
+
import { n as requirePerm } from "../../../../../../authorize-Dg75h4BN.mjs";
|
|
21
22
|
import { Role } from "@dineway-ai/auth";
|
|
22
23
|
|
|
23
24
|
//#region src/astro/routes/api/admin/bylines/[id]/index.ts
|