dineway 0.2.31 → 0.2.33
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/NOTICE +5 -0
- package/dist/{activity-DTJtloA1.mjs → activity-CfryM8jO.mjs} +2 -2
- package/dist/{activity-events-C1U22VYR.mjs → activity-events-BVo9rMUz.mjs} +1 -1
- package/dist/{allowed-origins-C-7CVG6J.mjs → allowed-origins-DGSyhRCz.mjs} +1 -1
- package/dist/api/route-utils.d.mts +10 -10
- package/dist/api/route-utils.mjs +14 -14
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +4 -4
- package/dist/{api-CBL6bNU1.mjs → api-CTf1SLmg.mjs} +19 -19
- package/dist/{api-tokens-d43xs7C1.mjs → api-tokens-CSomx-l3.mjs} +1 -1
- package/dist/{apply-D5i71kfi.mjs → apply-Bs2jXsms.mjs} +19 -19
- package/dist/astro/index.d.mts +11 -11
- package/dist/astro/index.mjs +32 -4
- package/dist/astro/middleware/auth.d.mts +9 -9
- package/dist/astro/middleware/auth.mjs +33 -8
- package/dist/astro/middleware/redirect.mjs +5 -5
- package/dist/astro/middleware/request-context.mjs +2 -2
- 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 +150 -108
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +6 -6
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +6 -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 +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 +9 -9
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +9 -9
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +9 -9
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +16 -16
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +16 -16
- package/dist/astro/routes/api/admin/bylines/index.mjs +16 -16
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +12 -12
- package/dist/astro/routes/api/admin/comments/_id_.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/bulk.mjs +10 -10
- package/dist/astro/routes/api/admin/comments/counts.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/index.mjs +10 -10
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +25 -25
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +25 -25
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +30 -30
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +30 -30
- package/dist/astro/routes/api/admin/context/diff.mjs +29 -29
- package/dist/astro/routes/api/admin/context/index.mjs +30 -30
- package/dist/astro/routes/api/admin/context/stale.mjs +29 -29
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +25 -25
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +29 -29
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +29 -29
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +26 -26
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +2 -2
- 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 +60 -56
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +60 -56
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +52 -48
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +59 -55
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +59 -55
- package/dist/astro/routes/api/admin/plugins/index.mjs +52 -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 +52 -48
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +59 -55
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +52 -48
- package/dist/astro/routes/api/admin/plugins/updates.mjs +52 -48
- package/dist/astro/routes/api/admin/review-requests/_id_/image.d.mts +7 -0
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +62 -0
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +24 -5
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +38 -30
- package/dist/astro/routes/api/admin/review-requests/_id_/revoke.d.mts +7 -0
- package/dist/astro/routes/api/admin/review-requests/_id_/revoke.mjs +35 -0
- package/dist/astro/routes/api/admin/review-requests/index.mjs +35 -30
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +52 -48
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +52 -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 +7 -7
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +6 -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 +10 -10
- package/dist/astro/routes/api/auth/invite/index.mjs +7 -7
- package/dist/astro/routes/api/auth/invite/register-options.mjs +9 -9
- package/dist/astro/routes/api/auth/logout.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +9 -9
- package/dist/astro/routes/api/auth/magic-link/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +8 -8
- 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 +6 -6
- package/dist/astro/routes/api/auth/passkey/index.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +11 -11
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +9 -9
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +10 -10
- package/dist/astro/routes/api/auth/passkey/verify.mjs +10 -10
- 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 +10 -10
- package/dist/astro/routes/api/auth/signup/request.mjs +9 -9
- package/dist/astro/routes/api/auth/signup/verify.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +13 -13
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +12 -12
- 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 +15 -15
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +17 -17
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +8 -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 +17 -17
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +14 -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 +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 +7 -7
- package/dist/astro/routes/api/dashboard.mjs +8 -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 +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 +35 -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 +34 -34
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +10 -10
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +31 -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 +40 -40
- package/dist/astro/routes/api/integration/artifact.d.mts +7 -0
- package/dist/astro/routes/api/integration/artifact.mjs +39 -0
- package/dist/astro/routes/api/integration/dispatch.d.mts +7 -0
- package/dist/astro/routes/api/integration/dispatch.mjs +121 -0
- package/dist/astro/routes/api/integrations/_provider_.mjs +6 -6
- package/dist/astro/routes/api/integrations/index.mjs +5 -5
- package/dist/astro/routes/api/manifest.mjs +4 -4
- package/dist/astro/routes/api/mcp.mjs +130 -107
- package/dist/astro/routes/api/media/_id_/confirm.mjs +10 -10
- package/dist/astro/routes/api/media/_id_.mjs +7 -7
- 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 +13 -13
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +30 -30
- package/dist/astro/routes/api/menus/_name_/items.mjs +30 -30
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +30 -30
- package/dist/astro/routes/api/menus/_name_/translations.mjs +30 -30
- package/dist/astro/routes/api/menus/_name_.mjs +30 -30
- package/dist/astro/routes/api/menus/index.mjs +30 -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 +4 -4
- package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +4 -4
- package/dist/astro/routes/api/redirects/404s/index.mjs +10 -10
- package/dist/astro/routes/api/redirects/404s/summary.mjs +10 -10
- package/dist/astro/routes/api/redirects/_id_.mjs +31 -31
- package/dist/astro/routes/api/redirects/index.mjs +31 -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 +54 -50
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +54 -50
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +54 -50
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +54 -50
- package/dist/astro/routes/api/schema/collections/index.mjs +54 -50
- package/dist/astro/routes/api/schema/index.mjs +8 -8
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +52 -48
- package/dist/astro/routes/api/schema/orphans/index.mjs +52 -48
- package/dist/astro/routes/api/search/enable.mjs +11 -11
- package/dist/astro/routes/api/search/index.mjs +10 -10
- package/dist/astro/routes/api/search/rebuild.mjs +11 -11
- package/dist/astro/routes/api/search/stats.mjs +6 -6
- package/dist/astro/routes/api/search/suggest.mjs +10 -10
- package/dist/astro/routes/api/sections/_slug_.mjs +30 -30
- package/dist/astro/routes/api/sections/index.mjs +30 -30
- package/dist/astro/routes/api/settings/email.mjs +3 -3
- package/dist/astro/routes/api/settings/reviews.d.mts +8 -0
- package/dist/astro/routes/api/settings/reviews.mjs +57 -0
- package/dist/astro/routes/api/settings.mjs +30 -30
- package/dist/astro/routes/api/setup/admin-verify.mjs +12 -12
- package/dist/astro/routes/api/setup/admin.mjs +10 -10
- package/dist/astro/routes/api/setup/dev-bypass.mjs +25 -25
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +27 -27
- package/dist/astro/routes/api/setup/status.mjs +3 -3
- package/dist/astro/routes/api/snapshot.mjs +6 -6
- package/dist/astro/routes/api/system/heartbeat.d.mts +7 -0
- package/dist/astro/routes/api/system/heartbeat.mjs +23 -0
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +33 -33
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +33 -33
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +33 -33
- package/dist/astro/routes/api/taxonomies/index.mjs +33 -33
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +4 -4
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- 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 +29 -29
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +30 -30
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +30 -30
- package/dist/astro/routes/api/widget-areas/_name_.mjs +27 -27
- package/dist/astro/routes/api/widget-areas/index.mjs +30 -30
- package/dist/astro/routes/api/widget-components.mjs +2 -2
- package/dist/astro/routes/robots.txt.mjs +6 -6
- 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/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +12 -12
- package/dist/{audit-CLEMKs-Q.mjs → audit-CYjfxG9i.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-Bg93z3D6.mjs → auth-control-guard-CITT8ZA_.mjs} +1 -1
- package/dist/{authorize-Dg75h4BN.mjs → authorize-KcI0pAfN.mjs} +1 -1
- package/dist/{briefing-32h1e5FV.mjs → briefing-BgQTljQt.mjs} +21 -12
- package/dist/{briefing-BbpmZz_4.mjs → briefing-r3hXCDQC.mjs} +1 -1
- package/dist/{bundle-Cn8X5ATg.mjs → bundle-S6zx-V4D.mjs} +2 -2
- package/dist/{byline-BfL607qj.mjs → byline-Ctil4rij.mjs} +6 -6
- package/dist/{byline-fields-CexmiaFr.d.mts → byline-fields-51ja6JDa.d.mts} +20 -19
- package/dist/{byline-fields-GoUVaGw4.mjs → byline-fields-DiCyW6eQ.mjs} +1 -1
- package/dist/{byline-fields-C4OeOttq.mjs → byline-fields-QpmruT5r.mjs} +5 -4
- package/dist/{byline-registry-CF9nobxT.mjs → byline-registry-rkr73qSE.mjs} +2 -2
- package/dist/{bylines-DpjxbnYL.mjs → bylines-BcuBpzVi.mjs} +3 -3
- package/dist/{bylines-Cy5KBNpg.mjs → bylines-v_ZUQnR-.mjs} +5 -5
- package/dist/{cache-Bwds591_.mjs → cache-V2BCplaY.mjs} +2 -2
- package/dist/{chunks-0oflHOGr.mjs → chunks-CnuL55JE.mjs} +1 -1
- package/dist/cli/index.mjs +202 -32
- 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 +34 -11
- package/dist/client/index.mjs +24 -20
- package/dist/{client-factory-Dr5FUjPd.mjs → client-factory-C-y9VZDX.mjs} +1 -1
- package/dist/{comment-CLb7ynlP.mjs → comment-_nvJSS-A.mjs} +1 -1
- package/dist/{comment-reaction-HMk3Ugvo.mjs → comment-reaction-DhVgJ17S.mjs} +1 -1
- package/dist/{comments-D5I0CLKB.mjs → comments-D4mIDjvA.mjs} +1 -1
- package/dist/{content-DW-BRHF4.mjs → content-CVCrcuvD.mjs} +2 -2
- package/dist/{content-refresh-iarREtUO.mjs → content-refresh-QvBIyb_g.mjs} +6 -6
- package/dist/{context-DJ1J727I.mjs → context-JjKucxBm.mjs} +2 -2
- package/dist/{context-D8yUDM9d.mjs → context-MftkHbWx.mjs} +10 -10
- package/dist/{context-route-helpers-Bd8p_JI2.mjs → context-route-helpers-e1APrqSm.mjs} +2 -2
- package/dist/{dashboard-CdsvXt0T.mjs → dashboard-ZJ7sMcBI.mjs} +4 -4
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.mjs +1 -1
- package/dist/db/libsql-http.d.mts +1 -1
- package/dist/db/libsql-http.mjs +1 -1
- package/dist/db/libsql.d.mts +1 -1
- package/dist/db/libsql.mjs +1 -1
- package/dist/db/postgres.d.mts +1 -1
- package/dist/db/sqlite.d.mts +1 -1
- package/dist/{device-flow-BED7L-O7.mjs → device-flow-eOcL5m0Q.mjs} +5 -5
- package/dist/{discovery-yoK6-UaX.mjs → discovery-CJkuHGhZ.mjs} +3 -3
- package/dist/{enrich-Uw_OA9Ve.mjs → enrich-KErvJOuI.mjs} +1 -1
- package/dist/evidence-6IUv9ML3.mjs +251 -0
- package/dist/{field-defs-cache-Cf3F5lHw.mjs → field-defs-cache-CwrIyZFT.mjs} +4 -4
- package/dist/{service-BB1n90wh.mjs → forgeway-account-lYJ8iX3G.mjs} +1 -103
- package/dist/{fts-manager-Bv4U_Qw0.mjs → fts-manager-DX7ZkrCa.mjs} +1 -1
- package/dist/{hitl-requests-DmA_ViQf.mjs → hitl-requests-CmYVunm-.mjs} +2 -2
- package/dist/{hitl-route-helpers-DRdeq7Ld.mjs → hitl-route-helpers-CRm537zS.mjs} +5 -5
- package/dist/{import-iQ3y2-4Q.mjs → import-DqRAgsKr.mjs} +7 -7
- package/dist/{index-DXcPysP3.d.mts → index-Co7xtjkd.d.mts} +3 -3
- package/dist/index.d.mts +15 -15
- package/dist/index.mjs +86 -83
- package/dist/{integration-credentials-CTrvXgEc.mjs → integration-credentials-qudN6yRr.mjs} +2 -2
- package/dist/{jsonld-BM0JqNLm.d.mts → jsonld-BpvnSp2m.d.mts} +2 -2
- package/dist/{load-dOITHB_Z.mjs → load-fCOciq0Q.mjs} +1 -1
- package/dist/{loader-BFsHwbxI.mjs → loader-BDje8ME2.mjs} +2 -2
- package/dist/{manifest-schema-owbEUmv1.mjs → manifest-schema-CfKD0thC.mjs} +1 -1
- package/dist/{mcp-reviewed-executor-BUEO0Osb.mjs → mcp-reviewed-executor-DmhM3Cy6.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-allowlist-BdbIzYO3.mjs → media-allowlist-DaG6lNoy.mjs} +1 -1
- package/dist/{media-Dnpc2hW8.mjs → media-dvRjj4po.mjs} +1 -1
- package/dist/{menus-BRMcey1A.mjs → menus-CZbz5L_V.mjs} +6 -6
- package/dist/{menus-F1fYny2w.mjs → menus-CpuR4Qkm.mjs} +2 -2
- package/dist/{oauth-authorization-TG2Kxgur.mjs → oauth-authorization-Jf5e3azH.mjs} +5 -5
- package/dist/{oauth-clients-DLJMG4h7.mjs → oauth-clients-tovQ4D4h.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-CJC9DGe9.mjs → parse-IsGn-5lt.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-Cz4PAYJf.mjs → plugins-DXyLI3Hb.mjs} +5 -5
- package/dist/policy-DKdNMv8y.mjs +124 -0
- package/dist/{preview-CjL_29aE.mjs → preview-BXmS1SXL.mjs} +2 -2
- package/dist/{provider-loader-CGoW_-Bs.d.mts → provider-loader-DDq7R_RN.d.mts} +1 -1
- package/dist/{public-url-CbmE-u2t.d.mts → public-url-BQ9vf0AS.d.mts} +2 -2
- package/dist/{public-url-CPw0dhAQ.d.mts → public-url-Ci7UbC0W.d.mts} +1 -1
- package/dist/{publication-authorization-BQpdXnha.mjs → publication-authorization-C-vYPGD8.mjs} +73 -11
- package/dist/{query-qGr7GGfF.mjs → query-CrW2yI6G.mjs} +13 -13
- package/dist/{query-DQOB6OEA.mjs → query-DcB9uGTW.mjs} +3 -3
- package/dist/{rate-limit-JhnJUEno.mjs → rate-limit-DEkoxTsP.mjs} +2 -2
- package/dist/{redirect-DtjSpGWp.mjs → redirect-DG-o0CKV.mjs} +2 -2
- package/dist/{redirects-CY6GCHPX.mjs → redirects-Bjp4iKJU.mjs} +4 -4
- package/dist/{redirects-C9pg6Dcg.mjs → redirects-N8gmWhVM.mjs} +2 -2
- package/dist/{registry-Czz6avGn.mjs → registry-D-IV_h50.mjs} +7 -7
- package/dist/request-context.d.mts +2 -0
- package/dist/{request-meta-DnZm9Kbu.mjs → request-meta-BW0the1R.mjs} +1 -1
- package/dist/{review-payload-BuLgXTY6.mjs → review-payload-f1L4lzQg.mjs} +1 -1
- package/dist/{review-requests-lVwh6U-G.mjs → review-requests-BTKfeWlS.mjs} +17 -48
- package/dist/{review-requests-D-lhld0A.mjs → review-requests-DICrYH2-.mjs} +70 -7
- package/dist/{review-route-helpers-3MNvw1AH.mjs → review-route-helpers-DaZBBps8.mjs} +2 -2
- package/dist/revocation-CkTOhdlw.mjs +42 -0
- package/dist/{runner-CPugEIU8.mjs → runner-DJiRFyLI.mjs} +545 -475
- package/dist/{runner-CvwzNJHj.d.mts → runner-Dye73myO.d.mts} +1 -1
- package/dist/runs-DEujUDOj.mjs +1234 -0
- package/dist/runtime.d.mts +10 -10
- package/dist/runtime.mjs +3 -3
- package/dist/schema-IjuRxkqq.mjs +8 -0
- package/dist/{search-D-wOjRiP.mjs → search-DxUKN9Zz.mjs} +3 -3
- package/dist/{secrets-MqvM60s_.mjs → secrets-AdCrGg1c.mjs} +1 -1
- package/dist/{sections-jAOXJcIV.mjs → sections-BPFOEMK6.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +19 -19
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.mjs +7 -7
- package/dist/{seo-Cbj0_Opd.mjs → seo-DWHdo5aW.mjs} +1 -1
- package/dist/{seo-B0n_oZM5.mjs → seo-GfovzqpU.mjs} +1 -1
- package/dist/{service-TRFrPW8z.mjs → service-BrNKVCjC.mjs} +2 -2
- package/dist/service-DbgjHWyW.mjs +18 -0
- package/dist/service-DeX1PRNt.mjs +121 -0
- package/dist/{settings-CYt46_A5.mjs → settings-BKEHw6Bu.mjs} +2 -2
- package/dist/{settings-Bx3wzDK_.mjs → settings-CAsQLi0N.mjs} +4 -4
- package/dist/{site-activity-MiKT38qx.mjs → site-activity-7oezuHXK.mjs} +1 -1
- package/dist/{site-context-CqNMaJ5s.mjs → site-context-CA7rbxux.mjs} +15 -15
- package/dist/{ssrf-D00lPvtF.mjs → ssrf-C7tTSD1r.mjs} +13 -2
- 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-BtCoeap4.mjs → store-c4qx3gVh.mjs} +1 -1
- package/dist/submission-C47cHBIg.mjs +67 -0
- package/dist/{taxonomies-iZGA_8zf.mjs → taxonomies-93DV-1QT.mjs} +6 -6
- package/dist/{taxonomies-BMArg_t1.mjs → taxonomies-ALDiRQ84.mjs} +3 -3
- package/dist/{taxonomy-DKG0n_q8.mjs → taxonomy-BOBTJ_aE.mjs} +2 -2
- package/dist/{types-m37xNtUj.d.mts → types-6KmeXInJ.d.mts} +1 -1
- package/dist/{types-B7Ifhtyz.d.mts → types-BRCUO8NR.d.mts} +31 -2
- package/dist/{types-DXwmu5rT.mjs → types-BpSTdH1H.mjs} +1 -1
- package/dist/{types-DB9weIZo.d.mts → types-CfpX1og5.d.mts} +57 -45
- package/dist/ui/server-runtime.d.mts +13 -13
- package/dist/ui/server-runtime.mjs +20 -20
- package/dist/{user-D-dGG5Om.mjs → user-D0NJ7gYf.mjs} +2 -2
- package/dist/{utils-iGiCys50.mjs → utils-BK2efsHv.mjs} +1 -1
- package/dist/{validate-AzYhwCD8.mjs → validate-C9g9iX3q.mjs} +2 -2
- package/dist/{validate-BRq01mTo.d.mts → validate-CDWVODvc.d.mts} +3 -3
- package/dist/version-CJqc1mwj.mjs +6 -0
- package/dist/{widgets-B18H_Xgl.mjs → widgets-Cm5Qx2Np.mjs} +3 -3
- package/dist/{wordpress-slugs-BYW2B_5x.mjs → wordpress-slugs-WdPZaVXf.mjs} +1 -1
- package/dist/worker-Bhuu7eqS.mjs +224 -0
- package/dist/{zod-generator-3jqAzlTK.mjs → zod-generator-DS5oZNaL.mjs} +2 -2
- package/licenses/forgeway.txt +201 -0
- package/package.json +6 -3
- package/LICENSE +0 -9
- package/dist/schema-DxDfwabF.mjs +0 -8
- package/dist/version-BIlVseq9.mjs +0 -6
- /package/dist/{actor-BraTCiOp.mjs → actor-DrJJsvy6.mjs} +0 -0
- /package/dist/{adapters-C-iHnQYy.d.mts → adapters-DHt3f2lu.d.mts} +0 -0
- /package/dist/{api-tokens-CZ472rzA.mjs → api-tokens-CmT83Bgj.mjs} +0 -0
- /package/dist/{challenge-store-Dae5cL-_.mjs → challenge-store-CDKfye2r.mjs} +0 -0
- /package/dist/{components-CINP4h-l.mjs → components-DAq_4iPX.mjs} +0 -0
- /package/dist/{context-types-fEeyXC1D.mjs → context-types-CPWAJRs5.mjs} +0 -0
- /package/dist/{cron-DIsnItPn.mjs → cron-mGVPQ5e6.mjs} +0 -0
- /package/dist/{default-D8jeKsT3.mjs → default-BeIzUa1e.mjs} +0 -0
- /package/dist/{email-console-DRb6jkoC.mjs → email-console-Bfi_exVg.mjs} +0 -0
- /package/dist/{error-BPA9T0AW.mjs → error-DLg1H2LT.mjs} +0 -0
- /package/dist/{escape-DgNqnHuj.mjs → escape-C6lkys0j.mjs} +0 -0
- /package/dist/{experimental-workflows-DOo7QDRn.mjs → experimental-workflows-B9x8delL.mjs} +0 -0
- /package/dist/{hash-CEky-IDp.mjs → hash-jhbF98tT.mjs} +0 -0
- /package/dist/{libsql-dialect-DMqpBfJI.mjs → libsql-dialect-CANq6UNI.mjs} +0 -0
- /package/dist/{media-url-BhbJfG3Y.mjs → media-url-CL3NzgLh.mjs} +0 -0
- /package/dist/{mime-Bg7yUeHW.mjs → mime-CDTtL7jE.mjs} +0 -0
- /package/dist/{mode-fm1eCVhz.mjs → mode-DJeacFCZ.mjs} +0 -0
- /package/dist/{normalize-BY2gOygP.mjs → normalize-Ev3FiBMx.mjs} +0 -0
- /package/dist/{oauth-state-store-Dbj-J0K5.mjs → oauth-state-store-Do1a_o3H.mjs} +0 -0
- /package/dist/{oauth-user-lookup-D2NAYPjU.mjs → oauth-user-lookup-B451pZmd.mjs} +0 -0
- /package/dist/{output-A4ZfzzA0.mjs → output-8j9oltTf.mjs} +0 -0
- /package/dist/{parser-C3ux7a3Y.mjs → parser-C9rzPuSZ.mjs} +0 -0
- /package/dist/{passkey-config-DUc1iP_-.mjs → passkey-config-CRN44T04.mjs} +0 -0
- /package/dist/{patterns-CP9gkiCE.mjs → patterns-3XE9bU4r.mjs} +0 -0
- /package/dist/{placeholder-0cGpMonY.d.mts → placeholder-D03pGvqM.d.mts} +0 -0
- /package/dist/{portable-text-Cu4n_8zI.d.mts → portable-text-BdRm4uZq.d.mts} +0 -0
- /package/dist/{portable-text-U85hOafW.mjs → portable-text-tIk9_uz_.mjs} +0 -0
- /package/dist/{process-cache-DsMwJ3LM.mjs → process-cache-B-L-A9zg.mjs} +0 -0
- /package/dist/{provider-loader-BPHG3BR5.mjs → provider-loader-C4i82ll1.mjs} +0 -0
- /package/dist/{public-url-CmBKcpsJ.mjs → public-url-BVIjzMo3.mjs} +0 -0
- /package/dist/{public-url-DjWfilkD.mjs → public-url-oudwI7K0.mjs} +0 -0
- /package/dist/{redirect-D_bb_Cc3.mjs → redirect-Dp5u-8dH.mjs} +0 -0
- /package/dist/{request-cache-DoT2mKBT.mjs → request-cache-BruBnFAR.mjs} +0 -0
- /package/dist/{resolve-BDWXnk_V.mjs → resolve-pZ4NQM-X.mjs} +0 -0
- /package/dist/{seo-contributions-DzusM9lG.mjs → seo-contributions-BAtRDXEQ.mjs} +0 -0
- /package/dist/{session-user-BT8vRgt3.mjs → session-user-D8WwGEPH.mjs} +0 -0
- /package/dist/{setup-complete-BRbTCbUF.mjs → setup-complete-CHCYS5KV.mjs} +0 -0
- /package/dist/{setup-nonce-220YhE1R.mjs → setup-nonce-D-CEYlw7.mjs} +0 -0
- /package/dist/{sidecar-client-SDgPreXV.mjs → sidecar-client-Bw2C0XTf.mjs} +0 -0
- /package/dist/{site-url-AGgA46Lw.mjs → site-url-DoZf_jVj.mjs} +0 -0
- /package/dist/{stable-hash-_A3p1ln2.mjs → stable-hash-DF7R5eN8.mjs} +0 -0
- /package/dist/{status-BdZSXIP_.mjs → status-Bba6RbkS.mjs} +0 -0
- /package/dist/{tokens-ShJZm_QS.mjs → tokens-c-qxNqzC.mjs} +0 -0
- /package/dist/{transaction-L0tzAOfM.mjs → transaction-BGQgnwUi.mjs} +0 -0
- /package/dist/{transport-DtrY0-hI.mjs → transport-BddGhTAI.mjs} +0 -0
- /package/dist/{transport-SoRbXDM4.d.mts → transport-ktLL9r2O.d.mts} +0 -0
- /package/dist/{trusted-proxy-9b2fSXK2.mjs → trusted-proxy-CdEl6g6B.mjs} +0 -0
- /package/dist/{types-ZdWRfUsC.d.mts → types--3oJQ0hs.d.mts} +0 -0
- /package/dist/{types-dgGPmsl_.mjs → types-BQZFeZjd.mjs} +0 -0
- /package/dist/{types-B-nDjnzA.mjs → types-BbkkkAb6.mjs} +0 -0
- /package/dist/{types-D1l9cCKM.mjs → types-C0DPvhR5.mjs} +0 -0
- /package/dist/{types-Cd_2Jeqp.d.mts → types-CKIt_jmM.d.mts} +0 -0
- /package/dist/{types-D8iukuuI.d.mts → types-CLMOusxP.d.mts} +0 -0
- /package/dist/{types-BdsNqnHA.d.mts → types-CPaVj_GC.d.mts} +0 -0
- /package/dist/{types-B-KSspMO.d.mts → types-CU3Wn2HC.d.mts} +0 -0
- /package/dist/{url-CmjWycVK.mjs → url-Dumsft7G.mjs} +0 -0
package/dist/cli/index.mjs
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as runMigrations, n as getMigrationStatus, t as getMigrationFingerprint } from "../runner-
|
|
2
|
+
import { i as runMigrations, n as getMigrationStatus, t as getMigrationFingerprint } from "../runner-DJiRFyLI.mjs";
|
|
3
3
|
import { t as createDatabase } from "../connection-DJ3GzHVH.mjs";
|
|
4
4
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
5
5
|
import { l as listTablesLike } from "../dialect-helpers-fk43GbDb.mjs";
|
|
6
6
|
import { n as getI18nConfig, r as isI18nEnabled } from "../config-CVssduLe.mjs";
|
|
7
7
|
import { i as encodeBase64url } from "../base64-F8-DUraK.mjs";
|
|
8
|
-
import "../types-
|
|
9
|
-
import { o as isMissingTableError } from "../loader-
|
|
8
|
+
import "../types-BpSTdH1H.mjs";
|
|
9
|
+
import { o as isMissingTableError } from "../loader-BDje8ME2.mjs";
|
|
10
10
|
import "../object-cache-D51qOseS.mjs";
|
|
11
11
|
import { n as slugify } from "../slugify-KSsVD_D3.mjs";
|
|
12
12
|
import "../revision-De7OmYVD.mjs";
|
|
13
|
-
import { t as ContentRepository } from "../content-
|
|
14
|
-
import { t as MediaRepository } from "../media-
|
|
15
|
-
import { t as TaxonomyRepository } from "../taxonomy-
|
|
13
|
+
import { t as ContentRepository } from "../content-CVCrcuvD.mjs";
|
|
14
|
+
import { t as MediaRepository } from "../media-dvRjj4po.mjs";
|
|
15
|
+
import { t as TaxonomyRepository } from "../taxonomy-BOBTJ_aE.mjs";
|
|
16
16
|
import { t as OptionsRepository } from "../options-1dBRkoCl.mjs";
|
|
17
|
-
import "../redirect-
|
|
18
|
-
import "../request-cache-
|
|
19
|
-
import "../byline-registry-
|
|
20
|
-
import "../field-defs-cache-
|
|
21
|
-
import { t as BylineRepository } from "../byline-
|
|
22
|
-
import "../content-refresh-
|
|
23
|
-
import "../fts-manager-
|
|
17
|
+
import "../redirect-DG-o0CKV.mjs";
|
|
18
|
+
import "../request-cache-BruBnFAR.mjs";
|
|
19
|
+
import "../byline-registry-rkr73qSE.mjs";
|
|
20
|
+
import "../field-defs-cache-CwrIyZFT.mjs";
|
|
21
|
+
import { t as BylineRepository } from "../byline-Ctil4rij.mjs";
|
|
22
|
+
import "../content-refresh-QvBIyb_g.mjs";
|
|
23
|
+
import "../fts-manager-DX7ZkrCa.mjs";
|
|
24
24
|
import "../public-discovery-CyDzK1-S.mjs";
|
|
25
|
-
import { n as SchemaRegistry } from "../registry-
|
|
26
|
-
import "../settings-
|
|
27
|
-
import { n as
|
|
28
|
-
import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-
|
|
29
|
-
import { t as
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { t as
|
|
34
|
-
import {
|
|
35
|
-
import { n as
|
|
25
|
+
import { n as SchemaRegistry } from "../registry-D-IV_h50.mjs";
|
|
26
|
+
import "../settings-CAsQLi0N.mjs";
|
|
27
|
+
import { n as DinewayToolsService, r as integrationResponse, t as DinewayToolsError } from "../service-DeX1PRNt.mjs";
|
|
28
|
+
import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-AdCrGg1c.mjs";
|
|
29
|
+
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../ssrf-C7tTSD1r.mjs";
|
|
30
|
+
import { n as VERSION } from "../version-CJqc1mwj.mjs";
|
|
31
|
+
import { t as IntegrationCredentialStore } from "../store-c4qx3gVh.mjs";
|
|
32
|
+
import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-CfKD0thC.mjs";
|
|
33
|
+
import { t as validateSeed } from "../validate-C9g9iX3q.mjs";
|
|
34
|
+
import { t as applySeed } from "../apply-Bs2jXsms.mjs";
|
|
35
|
+
import { a as createForgewayAccountClient, c as normalizeForgewayApiUrl, d as refreshForgewayAccountCredentials, f as removeStoredForgewayAccount, g as writeForgewayCredentials, h as readForgewayCredentials, i as completeForgewayAccountLogin, l as normalizeForgewayEmail, m as listForgewayCredentials, n as DEFAULT_FORGEWAY_API_BASE_URL, o as getForgewayDinewayAccount, p as sendForgewayAccountLoginLink, r as InvalidForgewayAccountCredentialsError, s as normalizeDinewayWebUrl, t as DEFAULT_DINEWAY_WEB_URL, u as readStoredForgewayAccount } from "../forgeway-account-lYJ8iX3G.mjs";
|
|
36
|
+
import { n as output, t as configureOutputMode } from "../output-8j9oltTf.mjs";
|
|
36
37
|
import { createHeaderAwareFetch, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
|
|
37
|
-
import { t as convertDataForRead } from "../portable-text-
|
|
38
|
-
import { _ as saveMarketplaceCredential, a as ensureProjectGitignoreDinewayLocalState, c as resolveDinewayBaseUrl, d as getCredentials, f as getMarketplaceCredential, g as saveCredentials, h as resolveCredentialKey, i as DEFAULT_DINEWAY_URL, l as resolveDinewayToken, m as removeMarketplaceCredential, n as connectionArgs, o as ensureProjectGitignoreEntry, p as removeCredentials, r as createClientFromArgs, s as readProjectEnv, u as upsertProjectEnv } from "../client-factory-
|
|
38
|
+
import { t as convertDataForRead } from "../portable-text-tIk9_uz_.mjs";
|
|
39
|
+
import { _ as saveMarketplaceCredential, a as ensureProjectGitignoreDinewayLocalState, c as resolveDinewayBaseUrl, d as getCredentials, f as getMarketplaceCredential, g as saveCredentials, h as resolveCredentialKey, i as DEFAULT_DINEWAY_URL, l as resolveDinewayToken, m as removeMarketplaceCredential, n as connectionArgs, o as ensureProjectGitignoreEntry, p as removeCredentials, r as createClientFromArgs, s as readProjectEnv, u as upsertProjectEnv } from "../client-factory-C-y9VZDX.mjs";
|
|
39
40
|
import { LocalStorage } from "../storage/local.mjs";
|
|
40
|
-
import { r as fileExists$11, t as bundleCommand } from "../bundle-
|
|
41
|
+
import { r as fileExists$11, t as bundleCommand } from "../bundle-S6zx-V4D.mjs";
|
|
41
42
|
import { createRequire } from "node:module";
|
|
42
43
|
import { createHash } from "node:crypto";
|
|
43
44
|
import { sql } from "kysely";
|
|
@@ -3808,7 +3809,7 @@ const devCommand = defineCommand({
|
|
|
3808
3809
|
const remoteUrl = pkg.dineway?.url || process.env.DINEWAY_URL;
|
|
3809
3810
|
if (!remoteUrl) consola.warn("No remote URL configured. Set DINEWAY_URL or dineway.url in package.json");
|
|
3810
3811
|
else try {
|
|
3811
|
-
const { createClientFromArgs } = await import("../client-factory-
|
|
3812
|
+
const { createClientFromArgs } = await import("../client-factory-C-y9VZDX.mjs").then((n) => n.t);
|
|
3812
3813
|
const client = createClientFromArgs({ url: remoteUrl });
|
|
3813
3814
|
const schema = await client.schemaExport();
|
|
3814
3815
|
const types = await client.schemaTypes();
|
|
@@ -4520,6 +4521,8 @@ async function getTaxonomyAssignments(taxonomyRepo, collection, entryId) {
|
|
|
4520
4521
|
//#region src/integration-credentials/environment-import.ts
|
|
4521
4522
|
const INTEGRATION_CREDENTIAL_IMPORT_MARKER = "dineway:integration_credentials_environment_import_v1";
|
|
4522
4523
|
const INTEGRATION_TOKEN_ENV_SOURCES = [
|
|
4524
|
+
["openrouter", "OPENROUTER_API_KEY"],
|
|
4525
|
+
["zernio", "ZERNIO_API_KEY"],
|
|
4523
4526
|
["akta", "AKTA_API_KEY"],
|
|
4524
4527
|
["apify", "APIFY_API_TOKEN"],
|
|
4525
4528
|
["apollo", "APOLLO_API_KEY"],
|
|
@@ -4545,7 +4548,7 @@ async function importIntegrationCredentialsFromEnvironment(db, env) {
|
|
|
4545
4548
|
if (credentials.length > 0 && (!keys || keys.length === 0)) throw new DinewaySecretsError("DINEWAY_ENCRYPTION_KEY is required to import Integration credentials.", "ENCRYPTION_KEY_REQUIRED");
|
|
4546
4549
|
await db.transaction().execute(async (trx) => {
|
|
4547
4550
|
const store = new IntegrationCredentialStore(trx, { keys: keys ?? [] });
|
|
4548
|
-
for (const entry of credentials) await store.set(entry.provider, entry.credential, "environment");
|
|
4551
|
+
for (const entry of credentials) if (!await store.status(entry.provider)) await store.set(entry.provider, entry.credential, "environment");
|
|
4549
4552
|
await new OptionsRepository(trx).set(INTEGRATION_CREDENTIAL_IMPORT_MARKER, {
|
|
4550
4553
|
completedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
4551
4554
|
providerCount: credentials.length
|
|
@@ -5804,7 +5807,7 @@ const publishCommand = defineCommand({
|
|
|
5804
5807
|
const pluginDir = resolve(args.dir);
|
|
5805
5808
|
try {
|
|
5806
5809
|
const { runCommand } = await import("citty");
|
|
5807
|
-
const { bundleCommand } = await import("../bundle-
|
|
5810
|
+
const { bundleCommand } = await import("../bundle-S6zx-V4D.mjs").then((n) => n.n);
|
|
5808
5811
|
await runCommand(bundleCommand, { rawArgs: ["--dir", pluginDir] });
|
|
5809
5812
|
} catch {
|
|
5810
5813
|
consola.error("Build failed");
|
|
@@ -6035,6 +6038,128 @@ const pluginCommand = defineCommand({
|
|
|
6035
6038
|
}
|
|
6036
6039
|
});
|
|
6037
6040
|
|
|
6041
|
+
//#endregion
|
|
6042
|
+
//#region src/cli/commands/reviews.ts
|
|
6043
|
+
const idArg = { id: {
|
|
6044
|
+
type: "positional",
|
|
6045
|
+
required: true,
|
|
6046
|
+
description: "Review request ID"
|
|
6047
|
+
} };
|
|
6048
|
+
const submit = defineCommand({
|
|
6049
|
+
meta: {
|
|
6050
|
+
name: "submit",
|
|
6051
|
+
description: "Submit the current saved draft for automated review"
|
|
6052
|
+
},
|
|
6053
|
+
args: {
|
|
6054
|
+
...connectionArgs,
|
|
6055
|
+
collection: {
|
|
6056
|
+
type: "positional",
|
|
6057
|
+
required: true
|
|
6058
|
+
},
|
|
6059
|
+
id: {
|
|
6060
|
+
type: "positional",
|
|
6061
|
+
required: true
|
|
6062
|
+
},
|
|
6063
|
+
summary: { type: "string" }
|
|
6064
|
+
},
|
|
6065
|
+
async run({ args }) {
|
|
6066
|
+
configureOutputMode(args);
|
|
6067
|
+
output(await createClientFromArgs(args).reviewSubmit({
|
|
6068
|
+
collection: args.collection,
|
|
6069
|
+
id: args.id,
|
|
6070
|
+
summary: args.summary
|
|
6071
|
+
}), args);
|
|
6072
|
+
}
|
|
6073
|
+
});
|
|
6074
|
+
const list = defineCommand({
|
|
6075
|
+
meta: {
|
|
6076
|
+
name: "list",
|
|
6077
|
+
description: "List review history with cursor pagination"
|
|
6078
|
+
},
|
|
6079
|
+
args: {
|
|
6080
|
+
...connectionArgs,
|
|
6081
|
+
status: { type: "string" },
|
|
6082
|
+
cursor: { type: "string" }
|
|
6083
|
+
},
|
|
6084
|
+
async run({ args }) {
|
|
6085
|
+
configureOutputMode(args);
|
|
6086
|
+
const status = args.status;
|
|
6087
|
+
if (status !== void 0 && status !== "pending" && status !== "approved" && status !== "rejected") throw new Error("Status must be pending, approved, or rejected");
|
|
6088
|
+
output(await createClientFromArgs(args).reviews({
|
|
6089
|
+
status,
|
|
6090
|
+
cursor: args.cursor
|
|
6091
|
+
}), args);
|
|
6092
|
+
}
|
|
6093
|
+
});
|
|
6094
|
+
const get = defineCommand({
|
|
6095
|
+
meta: {
|
|
6096
|
+
name: "get",
|
|
6097
|
+
description: "Inspect a review and its publication outcome"
|
|
6098
|
+
},
|
|
6099
|
+
args: {
|
|
6100
|
+
...connectionArgs,
|
|
6101
|
+
...idArg
|
|
6102
|
+
},
|
|
6103
|
+
async run({ args }) {
|
|
6104
|
+
configureOutputMode(args);
|
|
6105
|
+
output(await createClientFromArgs(args).reviewGet(args.id), args);
|
|
6106
|
+
}
|
|
6107
|
+
});
|
|
6108
|
+
const resolve$1 = defineCommand({
|
|
6109
|
+
meta: {
|
|
6110
|
+
name: "resolve",
|
|
6111
|
+
description: "Approve or reject a pending review"
|
|
6112
|
+
},
|
|
6113
|
+
args: {
|
|
6114
|
+
...connectionArgs,
|
|
6115
|
+
...idArg,
|
|
6116
|
+
decision: {
|
|
6117
|
+
type: "string",
|
|
6118
|
+
required: true
|
|
6119
|
+
},
|
|
6120
|
+
note: { type: "string" }
|
|
6121
|
+
},
|
|
6122
|
+
async run({ args }) {
|
|
6123
|
+
configureOutputMode(args);
|
|
6124
|
+
if (args.decision !== "approved" && args.decision !== "rejected") throw new Error("Decision must be approved or rejected");
|
|
6125
|
+
output(await createClientFromArgs(args).reviewResolve(args.id, {
|
|
6126
|
+
decision: args.decision,
|
|
6127
|
+
reviewNote: args.note
|
|
6128
|
+
}), args);
|
|
6129
|
+
}
|
|
6130
|
+
});
|
|
6131
|
+
const revoke = defineCommand({
|
|
6132
|
+
meta: {
|
|
6133
|
+
name: "revoke",
|
|
6134
|
+
description: "Revoke an approved review (Admin)"
|
|
6135
|
+
},
|
|
6136
|
+
args: {
|
|
6137
|
+
...connectionArgs,
|
|
6138
|
+
...idArg,
|
|
6139
|
+
reason: {
|
|
6140
|
+
type: "string",
|
|
6141
|
+
required: true
|
|
6142
|
+
}
|
|
6143
|
+
},
|
|
6144
|
+
async run({ args }) {
|
|
6145
|
+
configureOutputMode(args);
|
|
6146
|
+
output(await createClientFromArgs(args).reviewRevoke(args.id, args.reason), args);
|
|
6147
|
+
}
|
|
6148
|
+
});
|
|
6149
|
+
const reviewsCommand = defineCommand({
|
|
6150
|
+
meta: {
|
|
6151
|
+
name: "reviews",
|
|
6152
|
+
description: "Submit content for automated review and manage review decisions"
|
|
6153
|
+
},
|
|
6154
|
+
subCommands: {
|
|
6155
|
+
submit,
|
|
6156
|
+
list,
|
|
6157
|
+
get,
|
|
6158
|
+
resolve: resolve$1,
|
|
6159
|
+
revoke
|
|
6160
|
+
}
|
|
6161
|
+
});
|
|
6162
|
+
|
|
6038
6163
|
//#endregion
|
|
6039
6164
|
//#region src/cli/commands/schema.ts
|
|
6040
6165
|
/**
|
|
@@ -7524,6 +7649,13 @@ const taxonomyCommand = defineCommand({
|
|
|
7524
7649
|
const ENV_NAME_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
7525
7650
|
const CREDENTIAL_HEADER_PATTERN = /^(authorization|proxy-authorization|x-api-key|api-key|apikey|token|access-token|private-key)$/i;
|
|
7526
7651
|
const accountArgs = {
|
|
7652
|
+
url: connectionArgs.url,
|
|
7653
|
+
token: connectionArgs.token,
|
|
7654
|
+
"billing-mode": {
|
|
7655
|
+
type: "string",
|
|
7656
|
+
default: "site_byok",
|
|
7657
|
+
description: "site_byok (default) or hosted Forgeway"
|
|
7658
|
+
},
|
|
7527
7659
|
email: {
|
|
7528
7660
|
type: "string",
|
|
7529
7661
|
alias: "e",
|
|
@@ -7578,7 +7710,7 @@ function createToolsCommand(options = {}) {
|
|
|
7578
7710
|
discover: defineCommand({
|
|
7579
7711
|
meta: {
|
|
7580
7712
|
name: "discover",
|
|
7581
|
-
description: "Find
|
|
7713
|
+
description: "Find Integration endpoints from a natural-language need"
|
|
7582
7714
|
},
|
|
7583
7715
|
args: {
|
|
7584
7716
|
...accountArgs,
|
|
@@ -7635,7 +7767,7 @@ function createToolsCommand(options = {}) {
|
|
|
7635
7767
|
run: defineCommand({
|
|
7636
7768
|
meta: {
|
|
7637
7769
|
name: "run",
|
|
7638
|
-
description: "Run one inspected
|
|
7770
|
+
description: "Run one inspected Integration endpoint"
|
|
7639
7771
|
},
|
|
7640
7772
|
args: {
|
|
7641
7773
|
...accountArgs,
|
|
@@ -7807,6 +7939,43 @@ function createToolsCommand(options = {}) {
|
|
|
7807
7939
|
}
|
|
7808
7940
|
const toolsCommand = createToolsCommand();
|
|
7809
7941
|
async function createCliToolsService(args) {
|
|
7942
|
+
const mode = args["billing-mode"] ?? "site_byok";
|
|
7943
|
+
if (mode !== "site_byok" && mode !== "hosted") throw new DinewayToolsError("Billing mode must be site_byok or hosted.", "INVALID_BILLING_MODE");
|
|
7944
|
+
if (mode === "site_byok") {
|
|
7945
|
+
if (args["credential-token-env"] || args["credential-basic-username-env"] || args["credential-basic-password-env"]) throw new DinewayToolsError("Site BYOK uses credentials stored in Admin. Credential environment flags require explicit hosted mode.", "INLINE_CREDENTIAL_NOT_ALLOWED");
|
|
7946
|
+
const client = createClientFromArgs({
|
|
7947
|
+
url: optionalString(args.url),
|
|
7948
|
+
token: optionalString(args.token)
|
|
7949
|
+
});
|
|
7950
|
+
return new DinewayToolsService({
|
|
7951
|
+
discover: (input) => integrationResponse(() => client.integration({
|
|
7952
|
+
...input,
|
|
7953
|
+
action: "discover"
|
|
7954
|
+
})),
|
|
7955
|
+
inspect: (input) => integrationResponse(() => client.integration({
|
|
7956
|
+
...input,
|
|
7957
|
+
action: "inspect"
|
|
7958
|
+
})),
|
|
7959
|
+
run: (input, options) => integrationResponse(() => client.integration({
|
|
7960
|
+
...input,
|
|
7961
|
+
action: "run",
|
|
7962
|
+
idempotencyKey: options?.idempotencyKey
|
|
7963
|
+
})),
|
|
7964
|
+
getRun: (runId) => integrationResponse(() => client.integration({
|
|
7965
|
+
action: "get",
|
|
7966
|
+
runId
|
|
7967
|
+
})),
|
|
7968
|
+
listRuns: (input) => integrationResponse(() => client.integration({
|
|
7969
|
+
action: "list",
|
|
7970
|
+
limit: input?.limit,
|
|
7971
|
+
cursor: input?.cursor
|
|
7972
|
+
})),
|
|
7973
|
+
stopRun: (runId) => integrationResponse(() => client.integration({
|
|
7974
|
+
action: "stop",
|
|
7975
|
+
runId
|
|
7976
|
+
}))
|
|
7977
|
+
});
|
|
7978
|
+
}
|
|
7810
7979
|
const credentials = await readStoredForgewayAccount({
|
|
7811
7980
|
platformApiUrl: normalizeForgewayApiUrl(optionalString(args["api-url"]) ?? process.env["DINEWAY_API_BASE_URL"] ?? process.env["FORGEWAY_API_URL"]),
|
|
7812
7981
|
email: normalizeForgewayEmail(optionalString(args.email))
|
|
@@ -8139,6 +8308,7 @@ const builtInCommands = {
|
|
|
8139
8308
|
media: mediaCommand,
|
|
8140
8309
|
search: searchCommand,
|
|
8141
8310
|
tools: toolsCommand,
|
|
8311
|
+
reviews: reviewsCommand,
|
|
8142
8312
|
seo: seoCommand,
|
|
8143
8313
|
taxonomy: taxonomyCommand,
|
|
8144
8314
|
menu: menuCommand,
|
|
@@ -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-CfpX1og5.mjs";
|
|
2
|
+
import "../types-BRCUO8NR.mjs";
|
|
3
|
+
import "../runner-Dye73myO.mjs";
|
|
4
|
+
import "../index-Co7xtjkd.mjs";
|
|
5
|
+
import "../types-CPaVj_GC.mjs";
|
|
6
|
+
import "../public-url-BQ9vf0AS.mjs";
|
|
7
|
+
import "../validate-CDWVODvc.mjs";
|
|
8
|
+
import "../byline-fields-51ja6JDa.mjs";
|
|
9
|
+
import "../types--3oJQ0hs.mjs";
|
|
10
10
|
import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
|
|
11
11
|
import { SubCommandsDef } from "citty";
|
|
12
12
|
|
package/dist/cli/plugin-kit.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as output, t as configureOutputMode } from "../output-
|
|
2
|
-
import { n as connectionArgs, r as createClientFromArgs } from "../client-factory-
|
|
1
|
+
import { n as output, t as configureOutputMode } from "../output-8j9oltTf.mjs";
|
|
2
|
+
import { n as connectionArgs, r as createClientFromArgs } from "../client-factory-C-y9VZDX.mjs";
|
|
3
3
|
|
|
4
4
|
export { configureOutputMode, connectionArgs, createClientFromArgs, output };
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Jt as PublicationReadinessResult, Ut as PublicationPolicyOverride, Xt as PublicationReceipt } 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 { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-
|
|
11
|
-
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-
|
|
1
|
+
import { Cs as ReviewRequestStatus, Jt as PublicationReadinessResult, Ss as ReviewRequest, Ut as PublicationPolicyOverride, Xt as PublicationReceipt } from "../types-CfpX1og5.mjs";
|
|
2
|
+
import "../types-BRCUO8NR.mjs";
|
|
3
|
+
import "../runner-Dye73myO.mjs";
|
|
4
|
+
import "../index-Co7xtjkd.mjs";
|
|
5
|
+
import "../types-CPaVj_GC.mjs";
|
|
6
|
+
import "../public-url-BQ9vf0AS.mjs";
|
|
7
|
+
import "../validate-CDWVODvc.mjs";
|
|
8
|
+
import "../byline-fields-51ja6JDa.mjs";
|
|
9
|
+
import "../types--3oJQ0hs.mjs";
|
|
10
|
+
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-ktLL9r2O.mjs";
|
|
11
|
+
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-BdRm4uZq.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/client/index.d.ts
|
|
14
14
|
interface DinewayClientOptions {
|
|
@@ -390,6 +390,29 @@ declare class DinewayClient {
|
|
|
390
390
|
createSetupLink(): Promise<SetupLinkResult>;
|
|
391
391
|
/** Invoke a deterministic application-service route contributed by an active plugin. */
|
|
392
392
|
pluginRequest<T>(pluginId: string, routePath: string, options?: PluginRequestOptions): Promise<T>;
|
|
393
|
+
reviewSubmit(input: {
|
|
394
|
+
collection: string;
|
|
395
|
+
id: string;
|
|
396
|
+
summary?: string;
|
|
397
|
+
}): Promise<{
|
|
398
|
+
item: ReviewRequest;
|
|
399
|
+
created: boolean;
|
|
400
|
+
}>;
|
|
401
|
+
reviews(input?: {
|
|
402
|
+
status?: ReviewRequestStatus;
|
|
403
|
+
cursor?: string;
|
|
404
|
+
}): Promise<{
|
|
405
|
+
items: ReviewRequest[];
|
|
406
|
+
nextCursor?: string;
|
|
407
|
+
}>;
|
|
408
|
+
reviewGet(id: string): Promise<ReviewRequest>;
|
|
409
|
+
reviewResolve(id: string, input: {
|
|
410
|
+
decision: "approved" | "rejected";
|
|
411
|
+
reviewNote?: string;
|
|
412
|
+
}): Promise<ReviewRequest>;
|
|
413
|
+
reviewRevoke(id: string, reason: string): Promise<ReviewRequest>;
|
|
414
|
+
/** Call a site Integration operation using the current site authentication. */
|
|
415
|
+
integration<T>(input: Record<string, unknown>): Promise<T>;
|
|
393
416
|
/** Make a typed JSON request to the API */
|
|
394
417
|
private request;
|
|
395
418
|
/** Make a raw request — caller handles response */
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,26 +1,8 @@
|
|
|
1
|
-
import { i as portableTextToMarkdown, n as convertDataForWrite, r as markdownToPortableText, t as convertDataForRead } from "../portable-text-
|
|
2
|
-
import { a as tokenInterceptor, i as refreshInterceptor, n as csrfInterceptor, r as devBypassInterceptor, t as createTransport } from "../transport-
|
|
1
|
+
import { i as portableTextToMarkdown, n as convertDataForWrite, r as markdownToPortableText, t as convertDataForRead } from "../portable-text-tIk9_uz_.mjs";
|
|
2
|
+
import { a as tokenInterceptor, i as refreshInterceptor, n as csrfInterceptor, r as devBypassInterceptor, t as createTransport } from "../transport-BddGhTAI.mjs";
|
|
3
3
|
import mime from "mime/lite";
|
|
4
4
|
|
|
5
5
|
//#region src/client/index.ts
|
|
6
|
-
/**
|
|
7
|
-
* DinewayClient — typed HTTP client for the Dineway REST API.
|
|
8
|
-
*
|
|
9
|
-
* Handles auth, CSRF, PT ↔ Markdown conversion, and optional `_rev`
|
|
10
|
-
* concurrency tokens. Shared foundation for the CLI and future MCP server.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* import { DinewayClient } from "dineway/client";
|
|
15
|
-
*
|
|
16
|
-
* const client = new DinewayClient({
|
|
17
|
-
* baseUrl: "http://localhost:4321",
|
|
18
|
-
* devBypass: true,
|
|
19
|
-
* });
|
|
20
|
-
*
|
|
21
|
-
* const posts = await client.list("posts", { status: "published" });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
6
|
const TRAILING_SLASH_PATTERN = /\/$/;
|
|
25
7
|
const LEADING_TRAILING_SLASH_PATTERN = /^\/+|\/+$/g;
|
|
26
8
|
const PLUGIN_ID_PATTERN = /^[a-z][a-z0-9-]*$/;
|
|
@@ -333,6 +315,28 @@ var DinewayClient = class {
|
|
|
333
315
|
const suffix = query.size > 0 ? `?${query.toString()}` : "";
|
|
334
316
|
return this.request(options.method ?? "GET", `/plugins/${encodeURIComponent(pluginId)}/${encodedPath}${suffix}`, options.body);
|
|
335
317
|
}
|
|
318
|
+
async reviewSubmit(input) {
|
|
319
|
+
return this.request("POST", "/admin/review-requests", input);
|
|
320
|
+
}
|
|
321
|
+
async reviews(input = {}) {
|
|
322
|
+
const query = new URLSearchParams();
|
|
323
|
+
if (input.status) query.set("status", input.status);
|
|
324
|
+
if (input.cursor) query.set("cursor", input.cursor);
|
|
325
|
+
return this.request("GET", `/admin/review-requests?${query}`);
|
|
326
|
+
}
|
|
327
|
+
async reviewGet(id) {
|
|
328
|
+
return (await this.request("GET", `/admin/review-requests/${encodeURIComponent(id)}`)).item;
|
|
329
|
+
}
|
|
330
|
+
async reviewResolve(id, input) {
|
|
331
|
+
return (await this.request("POST", `/admin/review-requests/${encodeURIComponent(id)}/resolve`, input)).item;
|
|
332
|
+
}
|
|
333
|
+
async reviewRevoke(id, reason) {
|
|
334
|
+
return (await this.request("POST", `/admin/review-requests/${encodeURIComponent(id)}/revoke`, { reason })).item;
|
|
335
|
+
}
|
|
336
|
+
/** Call a site Integration operation using the current site authentication. */
|
|
337
|
+
async integration(input) {
|
|
338
|
+
return this.request("POST", `/integration/${encodeURIComponent(String(input.action))}`, input);
|
|
339
|
+
}
|
|
336
340
|
/** Make a typed JSON request to the API */
|
|
337
341
|
async request(method, path, body) {
|
|
338
342
|
const response = await this.requestRaw(method, path, body);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-DJiRFyLI.mjs";
|
|
2
2
|
import { customHeadersInterceptor, resolveCustomHeaders } from "./client/external-auth-headers.mjs";
|
|
3
3
|
import { DinewayClient } from "./client/index.mjs";
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
1
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-BpSTdH1H.mjs";
|
|
2
2
|
import { s as invalidateCommentObjectCache } from "./object-cache-D51qOseS.mjs";
|
|
3
3
|
import { sql } from "kysely";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-DJiRFyLI.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
|
-
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-
|
|
3
|
+
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-BpSTdH1H.mjs";
|
|
4
4
|
import { o as invalidateCollectionCache } from "./object-cache-D51qOseS.mjs";
|
|
5
5
|
import { n as slugify } from "./slugify-KSsVD_D3.mjs";
|
|
6
6
|
import { t as RevisionRepository } from "./revision-De7OmYVD.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { r as isI18nEnabled } from "./config-CVssduLe.mjs";
|
|
3
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
4
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-
|
|
5
|
-
import { t as withTransaction } from "./transaction-
|
|
6
|
-
import { n as normalizeMime } from "./mime-
|
|
7
|
-
import { n as hashString } from "./hash-
|
|
3
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-BpSTdH1H.mjs";
|
|
4
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-CnuL55JE.mjs";
|
|
5
|
+
import { t as withTransaction } from "./transaction-BGQgnwUi.mjs";
|
|
6
|
+
import { n as normalizeMime } from "./mime-CDTtL7jE.mjs";
|
|
7
|
+
import { n as hashString } from "./hash-jhbF98tT.mjs";
|
|
8
8
|
import { sql } from "kysely";
|
|
9
9
|
import { ulid } from "ulidx";
|
|
10
10
|
|
|
@@ -1573,4 +1573,4 @@ function isContentUsageLockMap(value) {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
1575
1575
|
//#endregion
|
|
1576
|
-
export { markContentMediaUsageCollectionStaleSafely as a, markContentMediaUsageCollectionStale as i, deleteContentMediaUsageCollection as n, refreshContentMediaUsageAfterWrite as o, findNonTranslatableSiblingContentIds as r, deleteContentMediaUsage as t };
|
|
1576
|
+
export { markContentMediaUsageCollectionStaleSafely as a, markContentMediaUsageCollectionStale as i, deleteContentMediaUsageCollection as n, refreshContentMediaUsageAfterWrite as o, findNonTranslatableSiblingContentIds as r, loadContentMediaUsageFields as s, deleteContentMediaUsage as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-CA7rbxux.mjs";
|
|
2
|
+
import { i as parseSiteBriefingScope, n as SiteBriefingError, o as ContextRepository } from "./briefing-BgQTljQt.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/context.ts
|
|
5
5
|
async function handleContextEntryList(db, input = {}) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { n as validateJsonFieldName } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { c as jsonExtractExpr } from "./dialect-helpers-fk43GbDb.mjs";
|
|
3
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
4
|
-
import { t as ContentRepository } from "./content-
|
|
5
|
-
import { t as MediaRepository } from "./media-
|
|
6
|
-
import { t as UserRepository } from "./user-
|
|
3
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-BpSTdH1H.mjs";
|
|
4
|
+
import { t as ContentRepository } from "./content-CVCrcuvD.mjs";
|
|
5
|
+
import { t as MediaRepository } from "./media-dvRjj4po.mjs";
|
|
6
|
+
import { t as UserRepository } from "./user-D0NJ7gYf.mjs";
|
|
7
7
|
import { t as OptionsRepository } from "./options-1dBRkoCl.mjs";
|
|
8
|
-
import { t as withTransaction } from "./transaction-
|
|
9
|
-
import { t as enrichImageMetadata } from "./enrich-
|
|
10
|
-
import { t as SeoRepository } from "./seo-
|
|
11
|
-
import { a as markContentMediaUsageCollectionStaleSafely } from "./content-refresh-
|
|
12
|
-
import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-
|
|
13
|
-
import { t as CronAccessImpl } from "./cron-
|
|
8
|
+
import { t as withTransaction } from "./transaction-BGQgnwUi.mjs";
|
|
9
|
+
import { t as enrichImageMetadata } from "./enrich-KErvJOuI.mjs";
|
|
10
|
+
import { t as SeoRepository } from "./seo-DWHdo5aW.mjs";
|
|
11
|
+
import { a as markContentMediaUsageCollectionStaleSafely } from "./content-refresh-QvBIyb_g.mjs";
|
|
12
|
+
import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-C7tTSD1r.mjs";
|
|
13
|
+
import { t as CronAccessImpl } from "./cron-mGVPQ5e6.mjs";
|
|
14
14
|
import { sql } from "kysely";
|
|
15
15
|
import { ulid } from "ulidx";
|
|
16
16
|
|
|
@@ -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-DrJJsvy6.mjs";
|
|
2
|
+
import { p as logSiteActivitySafely } from "./activity-events-BVo9rMUz.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/context-route-helpers.ts
|
|
5
5
|
function resolveContextRouteActor(locals) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
|
-
import { t as ContentRepository } from "./content-
|
|
3
|
-
import { t as MediaRepository } from "./media-
|
|
4
|
-
import { t as UserRepository } from "./user-
|
|
5
|
-
import {
|
|
2
|
+
import { t as ContentRepository } from "./content-CVCrcuvD.mjs";
|
|
3
|
+
import { t as MediaRepository } from "./media-dvRjj4po.mjs";
|
|
4
|
+
import { t as UserRepository } from "./user-D0NJ7gYf.mjs";
|
|
5
|
+
import { n as ReviewRequestRepository } from "./review-requests-DICrYH2-.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
|
|
8
8
|
//#region src/api/handlers/dashboard.ts
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
2
|
-
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-
|
|
3
|
-
import { a as PostgresConfig, c as libsqlHttp, i as LibsqlHttpConfig, l as postgres, n as DatabaseDialectType, o as SqliteConfig, r as LibsqlConfig, s as libsql, t as DatabaseDescriptor, u as sqlite } from "../adapters-
|
|
1
|
+
import "../types-BRCUO8NR.mjs";
|
|
2
|
+
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-Dye73myO.mjs";
|
|
3
|
+
import { a as PostgresConfig, c as libsqlHttp, i as LibsqlHttpConfig, l as postgres, n as DatabaseDialectType, o as SqliteConfig, r as LibsqlConfig, s as libsql, t as DatabaseDescriptor, u as sqlite } from "../adapters-DHt3f2lu.mjs";
|
|
4
4
|
export { type DatabaseDescriptor, type DatabaseDialectType, type LibsqlConfig, type LibsqlHttpConfig, type MigrationStatus, type PostgresConfig, type SqliteConfig, getMigrationStatus, libsql, libsqlHttp, postgres, rollbackMigration, runMigrations, sqlite };
|
package/dist/db/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-
|
|
1
|
+
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-DJiRFyLI.mjs";
|
|
2
2
|
import "../dialect-helpers-fk43GbDb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/db/adapters.ts
|
package/dist/db/libsql-http.mjs
CHANGED
package/dist/db/libsql.d.mts
CHANGED