dineway 0.1.47 → 0.1.49
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/README.md +57 -54
- package/dist/{activity-events-CNk3clTT.mjs → activity-events-CwM7yxPW.mjs} +1 -1
- package/dist/{allowed-origins-QirBXiDj.mjs → allowed-origins-CyGnbgBd.mjs} +1 -1
- package/dist/api/route-utils.d.mts +8 -22
- package/dist/api/route-utils.mjs +10 -10
- package/dist/api/schemas/index.d.mts +2 -2
- package/dist/api/schemas/index.mjs +4 -4
- package/dist/{api-ePsOhL3q.mjs → api-BMIxRIEN.mjs} +65 -18
- package/dist/{apply-BpRBCqUt.mjs → apply-D_RlTYtC.mjs} +54 -48
- package/dist/astro/index.d.mts +8 -8
- package/dist/astro/index.mjs +67 -25
- package/dist/astro/middleware/auth.d.mts +7 -7
- package/dist/astro/middleware/auth.mjs +1 -1
- package/dist/astro/middleware/redirect.mjs +5 -5
- package/dist/astro/middleware/request-context.mjs +4 -4
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +2 -2
- package/dist/astro/middleware.d.mts +2 -1
- package/dist/astro/middleware.mjs +366 -147
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +3 -3
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +3 -3
- package/dist/astro/routes/api/admin/briefing.mjs +16 -16
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +5 -5
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +5 -5
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +5 -5
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +11 -11
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +11 -11
- package/dist/astro/routes/api/admin/bylines/index.mjs +11 -11
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +10 -10
- package/dist/astro/routes/api/admin/comments/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/bulk.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/counts.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/index.mjs +7 -7
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +26 -26
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +26 -26
- package/dist/astro/routes/api/admin/context/diff.mjs +25 -25
- package/dist/astro/routes/api/admin/context/index.mjs +26 -26
- package/dist/astro/routes/api/admin/context/stale.mjs +25 -25
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +24 -24
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +26 -26
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +26 -26
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +23 -23
- package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +43 -43
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +43 -43
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +43 -43
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +43 -43
- package/dist/astro/routes/api/admin/plugins/index.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +43 -43
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/updates.mjs +37 -37
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +25 -25
- package/dist/astro/routes/api/admin/review-requests/index.mjs +7 -7
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +37 -37
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +37 -37
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +3 -3
- package/dist/astro/routes/api/auth/dev-bypass.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +6 -6
- package/dist/astro/routes/api/auth/invite/index.mjs +5 -5
- package/dist/astro/routes/api/auth/invite/register-options.mjs +5 -5
- package/dist/astro/routes/api/auth/magic-link/send.mjs +5 -5
- package/dist/astro/routes/api/auth/me.mjs +7 -7
- package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +1 -1
- package/dist/astro/routes/api/auth/oauth/_provider_.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/options.mjs +5 -5
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +5 -5
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +6 -6
- package/dist/astro/routes/api/auth/passkey/verify.mjs +6 -6
- package/dist/astro/routes/api/auth/setup-token/index.mjs +4 -4
- package/dist/astro/routes/api/auth/signup/complete.mjs +6 -6
- package/dist/astro/routes/api/auth/signup/request.mjs +5 -5
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +11 -11
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +7 -6
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +10 -9
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +13 -11
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +7 -6
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +10 -9
- package/dist/astro/routes/api/content/_collection_/authors.d.mts +7 -0
- package/dist/astro/routes/api/content/_collection_/authors.mjs +16 -0
- package/dist/astro/routes/api/content/_collection_/index.mjs +7 -7
- package/dist/astro/routes/api/content/_collection_/trash.mjs +3 -3
- package/dist/astro/routes/api/dashboard.mjs +7 -7
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +2 -2
- package/dist/astro/routes/api/import/probe.mjs +6 -6
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.mjs +28 -28
- package/dist/astro/routes/api/import/wordpress/media.mjs +6 -6
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +29 -29
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +27 -27
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs +1 -1
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +29 -29
- package/dist/astro/routes/api/manifest.mjs +1 -1
- package/dist/astro/routes/api/mcp.mjs +49 -49
- package/dist/astro/routes/api/media/_id_/confirm.mjs +6 -6
- package/dist/astro/routes/api/media/_id_.mjs +3 -3
- package/dist/astro/routes/api/media/upload-url.mjs +8 -8
- package/dist/astro/routes/api/media.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +26 -26
- package/dist/astro/routes/api/menus/_name_/items.mjs +26 -26
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +26 -26
- package/dist/astro/routes/api/menus/_name_/translations.mjs +26 -26
- package/dist/astro/routes/api/menus/_name_.mjs +26 -26
- package/dist/astro/routes/api/menus/index.mjs +26 -26
- package/dist/astro/routes/api/oauth/authorize.mjs +2 -2
- package/dist/astro/routes/api/oauth/device/authorize.mjs +1 -1
- package/dist/astro/routes/api/oauth/device/code.mjs +2 -2
- package/dist/astro/routes/api/oauth/device/token.mjs +1 -1
- package/dist/astro/routes/api/oauth/token/refresh.mjs +1 -1
- package/dist/astro/routes/api/oauth/token/revoke.mjs +1 -1
- package/dist/astro/routes/api/oauth/token.mjs +2 -2
- package/dist/astro/routes/api/openapi.json.mjs +16 -2
- package/dist/astro/routes/api/redirects/404s/index.mjs +8 -8
- package/dist/astro/routes/api/redirects/404s/summary.mjs +8 -8
- package/dist/astro/routes/api/redirects/_id_.mjs +27 -27
- package/dist/astro/routes/api/redirects/index.mjs +27 -27
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +38 -38
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +38 -38
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +38 -38
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +38 -38
- package/dist/astro/routes/api/schema/collections/index.mjs +38 -38
- package/dist/astro/routes/api/schema/index.mjs +3 -3
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +37 -37
- package/dist/astro/routes/api/schema/orphans/index.mjs +37 -37
- package/dist/astro/routes/api/search/enable.mjs +8 -8
- package/dist/astro/routes/api/search/index.mjs +8 -8
- package/dist/astro/routes/api/search/rebuild.mjs +8 -8
- package/dist/astro/routes/api/search/stats.mjs +5 -5
- package/dist/astro/routes/api/search/suggest.mjs +8 -8
- package/dist/astro/routes/api/sections/_slug_.mjs +26 -26
- package/dist/astro/routes/api/sections/index.mjs +26 -26
- package/dist/astro/routes/api/settings/email.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +26 -26
- package/dist/astro/routes/api/setup/admin-verify.mjs +7 -7
- package/dist/astro/routes/api/setup/admin.mjs +5 -5
- package/dist/astro/routes/api/setup/dev-bypass.mjs +19 -19
- package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +22 -22
- package/dist/astro/routes/api/setup/status.mjs +1 -1
- package/dist/astro/routes/api/snapshot.mjs +4 -4
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +28 -28
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +28 -28
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +28 -28
- package/dist/astro/routes/api/taxonomies/index.mjs +28 -28
- package/dist/astro/routes/api/themes/preview.mjs +4 -4
- package/dist/astro/routes/api/typegen.mjs +3 -3
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +1 -1
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +25 -25
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +26 -26
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +26 -26
- package/dist/astro/routes/api/widget-areas/_name_.mjs +24 -24
- package/dist/astro/routes/api/widget-areas/index.mjs +26 -26
- package/dist/astro/routes/robots.txt.mjs +47 -24
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +8 -8
- package/dist/astro/routes/sitemap.xml.mjs +8 -8
- package/dist/astro/session-driver.d.mts +1 -1
- package/dist/astro/session-driver.mjs +3 -3
- package/dist/astro/types.d.mts +15 -8
- package/dist/{audit-DuRbTm8L.mjs → audit-BeNsSyfU.mjs} +1 -1
- package/dist/{briefing-BFEWeJtR.mjs → briefing-CkTee1ex.mjs} +7 -7
- package/dist/{briefing-C4fJSVYW.mjs → briefing-DJX6irto.mjs} +1 -1
- package/dist/{byline-CXQcMsBu.mjs → byline-BVC1lV6G.mjs} +5 -5
- package/dist/{byline-fields-Dc7L6Yry.mjs → byline-fields-Cj39WhXC.mjs} +1 -1
- package/dist/{byline-fields-D7TJ_oHF.mjs → byline-fields-cNrLJVRs.mjs} +3 -3
- package/dist/{byline-fields-Cuo-JI3B.d.mts → byline-fields-uJlygdzM.d.mts} +34 -10
- package/dist/{byline-registry-CL8BxPPp.mjs → byline-registry-4v6tXMNX.mjs} +2 -2
- package/dist/{bylines-BgriNlW7.mjs → bylines-DwokOFj6.mjs} +38 -4
- package/dist/{bylines-D2vqm1aZ.mjs → bylines-LN9XISRo.mjs} +2 -2
- package/dist/{cache-GRK71jOU.mjs → cache-Bac05gBd.mjs} +2 -2
- package/dist/{chunks-DgEw12Bc.mjs → chunks-CuUt7K50.mjs} +1 -1
- package/dist/cli/index.mjs +709 -589
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/{comment-ogMaF1gk.mjs → comment-Beue8-15.mjs} +1 -1
- package/dist/{comments-CTSOKrZq.mjs → comments-DcjFIfqX.mjs} +1 -1
- package/dist/{content-BfyjOiMi.mjs → content-CBxYGWfL.mjs} +104 -41
- package/dist/{context-ZMHhwzkG.mjs → context-CQVNZaR8.mjs} +7 -7
- package/dist/{context-CdsYb1m8.mjs → context-Df1xVYyr.mjs} +2 -2
- package/dist/{context-route-helpers-YLWx2N1j.mjs → context-route-helpers-B9wj8Rmh.mjs} +1 -1
- package/dist/{dashboard-D0gWuzNp.mjs → dashboard-B7ZUNuyF.mjs} +4 -4
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.mjs +1 -1
- package/dist/{default-BHauvIdG.mjs → default-B6iaLvP7.mjs} +4 -2
- package/dist/{device-flow-B3_FEoMI.mjs → device-flow-BZVGftqi.mjs} +1 -1
- package/dist/{fts-manager-EHY2Kes9.mjs → fts-manager-B5l_qwrA.mjs} +1 -1
- package/dist/{hitl-requests-B1Zqgut6.mjs → hitl-requests-7NlzVeUA.mjs} +1 -1
- package/dist/{hitl-route-helpers-CjpWUMuw.mjs → hitl-route-helpers-k---_H3-.mjs} +2 -2
- package/dist/{import-CvHY6sf5.mjs → import-4YBXbDkI.mjs} +2 -2
- package/dist/{index-DJVaYiUV.d.mts → index-CZiWCQDp.d.mts} +1 -1
- package/dist/index.d.mts +10 -10
- package/dist/index.mjs +59 -59
- package/dist/{jsonld-AcPnCEGD.d.mts → jsonld-DZ67souc.d.mts} +1 -1
- package/dist/{load-BdbvtoDb.mjs → load-D9OiGr2m.mjs} +1 -1
- package/dist/{loader-Y0QvC_QO.mjs → loader--GOYux8M.mjs} +138 -36
- package/dist/media/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +7 -7
- package/dist/media/local-runtime.mjs +3 -3
- package/dist/{media-DhBwiCYR.mjs → media-CbKyYukG.mjs} +1 -1
- package/dist/{media-allowlist-BsXkT9RK.mjs → media-allowlist-BYxJIcTO.mjs} +1 -1
- package/dist/{menus-BzGQpw9d.mjs → menus-BZbXf-ej.mjs} +2 -2
- package/dist/{menus-fqqzXyHd.mjs → menus-C7F0sCrC.mjs} +13 -8
- package/dist/{normalize-O-hi3a27.mjs → normalize-ByemhhfW.mjs} +1 -1
- package/dist/{oauth-authorization-DsF81vki.mjs → oauth-authorization-DF-LCsIA.mjs} +1 -1
- package/dist/page/index.d.mts +2 -2
- package/dist/plugin-utils.d.mts +7 -7
- package/dist/plugins/adapt-sandbox-entry.d.mts +7 -7
- package/dist/{plugins-BQ5Joz6v.mjs → plugins-DzfqRREq.mjs} +195 -5
- package/dist/{preview-D5rvDhRt.mjs → preview-C-3YTX2U.mjs} +1 -1
- package/dist/public-url-B4xV4rGa.d.mts +19 -0
- package/dist/{public-url-DLUM5OOv.mjs → public-url-B_m9IwdV.mjs} +24 -18
- package/dist/{query-BJuUydtD.mjs → query-CZ3TH_Uu.mjs} +3 -3
- package/dist/{query-CSx0EdSW.mjs → query-Ds0EnMFX.mjs} +29 -18
- package/dist/{redirect-BqFMj67n.mjs → redirect-CEACczxo.mjs} +2 -2
- package/dist/{redirects-CJwHl_YG.mjs → redirects-DYj1yPxs.mjs} +4 -4
- package/dist/{redirects-q_cToaHv.mjs → redirects-ocRJmQHP.mjs} +23 -3
- package/dist/{registry-Cq3QRBW2.mjs → registry-D7HACema.mjs} +38 -6
- package/dist/{review-requests-tPw8_pAO.mjs → review-requests-BW2NxY-l.mjs} +1 -1
- package/dist/{review-requests-GYqjl2jO.mjs → review-requests-Qum4713s.mjs} +1 -1
- package/dist/{runner-Cnz4dl0f.d.mts → runner-09sTqtv0.d.mts} +1 -1
- package/dist/{runner-DTfG5v0G.mjs → runner-DzIpHGND.mjs} +328 -193
- package/dist/{runtime-Cd-kjPfN.d.mts → runtime-C4-2lSFg.d.mts} +261 -128
- package/dist/runtime.d.mts +8 -8
- package/dist/runtime.mjs +3 -3
- package/dist/schema-Bsi-VpYv.mjs +8 -0
- package/dist/{search-BAiFLz81.mjs → search-Gdrqj582.mjs} +3 -3
- package/dist/{secrets-CPoFLJjm.mjs → secrets-CeGpBFV2.mjs} +2 -2
- package/dist/{sections-DsuIrFDC.mjs → sections-BOjU13Y-.mjs} +2 -2
- package/dist/seed/index.d.mts +2 -2
- package/dist/seed/index.mjs +18 -18
- package/dist/seo/index.d.mts +1 -1
- package/dist/{seo-uMFBaR8G.mjs → seo-CLj8lS7Q.mjs} +1 -1
- package/dist/{service-CifrxCru.mjs → service-jGlhrICs.mjs} +1 -1
- package/dist/{settings-DNRQuX3d.mjs → settings-CUXOxzsT.mjs} +4 -4
- package/dist/{settings-BYGdocdj.mjs → settings-DlBsT2VS.mjs} +2 -2
- package/dist/{setup-complete-4EiBS1E5.mjs → setup-complete-BRrdPYjZ.mjs} +1 -1
- package/dist/{site-activity-6x1JccoR.mjs → site-activity-DONFrMBJ.mjs} +1 -1
- package/dist/{site-context-c1ZFa_OF.mjs → site-context-C8Az_P_I.mjs} +13 -13
- package/dist/{site-url-C-cu8Ff2.mjs → site-url-DIMD68go.mjs} +1 -1
- package/dist/{taxonomies-faQVeMgj.mjs → taxonomies-CZ-_DitR.mjs} +9 -7
- package/dist/{taxonomies-CQFmkP5u.mjs → taxonomies-D9Sw4wWM.mjs} +3 -3
- package/dist/{taxonomy-BnH-6VsX.mjs → taxonomy-B169Nm6B.mjs} +2 -2
- package/dist/{tokens-CjSgb0AC.mjs → tokens-SLmgowfd.mjs} +1 -1
- package/dist/{types-Ck7-WoUD.mjs → types-CSgR9nQB.mjs} +10 -3
- package/dist/{types-DYKtk8f1.d.mts → types-CuJOqHfM.d.mts} +128 -0
- package/dist/{types-DEAQG87T.d.mts → types-CwawBUTa.d.mts} +1 -1
- package/dist/{types-B7_vSiPD.d.mts → types-DRIKLmJI.d.mts} +14 -2
- package/dist/{types-UGmU5sWx.d.mts → types-DSPGWjxO.d.mts} +1 -1
- package/dist/ui/server-runtime.d.mts +58 -10
- package/dist/ui/server-runtime.mjs +98 -16
- package/dist/{user-CqZwN21P.mjs → user-DTLoZs16.mjs} +15 -1
- package/dist/{utils-wv-zvC-Y.mjs → utils-B8hBJ9Oz.mjs} +1 -1
- package/dist/{validate-CK4a1sIF.mjs → validate-DWmPO6oj.mjs} +5 -2
- package/dist/{validate-BJuG-ISL.d.mts → validate-DzjCdy6v.d.mts} +10 -2
- package/dist/version-C4gfn0PJ.mjs +6 -0
- package/dist/{widgets-CdDvF4fV.mjs → widgets-BpJ8EpPd.mjs} +1 -1
- package/dist/{wordpress-slugs-B6Gw9q3Q.mjs → wordpress-slugs-DHNR9LpG.mjs} +1 -1
- package/dist/{zod-generator-D1ROBNuC.mjs → zod-generator-K91-g665.mjs} +3 -2
- package/package.json +6 -5
- package/src/components/DinewayImage.astro +23 -5
- package/src/components/Image.astro +19 -3
- package/dist/schema-DmHMWnSA.mjs +0 -8
- package/dist/version-Cb1tZ6s_.mjs +0 -6
- /package/dist/{base64-C1Q9yr0B.mjs → base64-F8-DUraK.mjs} +0 -0
- /package/dist/{context-types-DQh_XKkn.mjs → context-types-r8oFvyOq.mjs} +0 -0
- /package/dist/{entity-aliases-uOrKvlPg.mjs → entity-aliases-4y93Yjuc.mjs} +0 -0
- /package/dist/{mime-8pAB8-77.mjs → mime-CbKsKDCB.mjs} +0 -0
- /package/dist/{options-BF11H_FD.mjs → options-LsPjZlqD.mjs} +0 -0
- /package/dist/{patterns-D9iDO3j8.mjs → patterns-DKAX6oqN.mjs} +0 -0
- /package/dist/{placeholder-BDo81Is5.mjs → placeholder-d54Qr_7n.mjs} +0 -0
- /package/dist/{provider-loader-B5PMjpN7.d.mts → provider-loader-9it4vd6L.d.mts} +0 -0
- /package/dist/{request-cache-w5cj5itT.mjs → request-cache-ho99schz.mjs} +0 -0
- /package/dist/{slugify-BzGxlOFx.mjs → slugify-BqebcqBg.mjs} +0 -0
- /package/dist/{transaction-D0FOsb3X.mjs → transaction-CFLhEOuH.mjs} +0 -0
- /package/dist/{transport-DidKKxvW.d.mts → transport-BnsNxh2l.d.mts} +0 -0
- /package/dist/{types-DbZhHtqS.mjs → types-CJ8DkL0q.mjs} +0 -0
package/dist/client/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-
|
|
1
|
+
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-BnsNxh2l.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/client/portable-text.d.ts
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
|
-
import { n as
|
|
4
|
-
import { n as
|
|
3
|
+
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-CSgR9nQB.mjs";
|
|
4
|
+
import { n as slugify } from "./slugify-BqebcqBg.mjs";
|
|
5
5
|
import { sql } from "kysely";
|
|
6
6
|
import { monotonicFactory, ulid } from "ulidx";
|
|
7
7
|
|
|
@@ -109,6 +109,11 @@ var RevisionRepository = class {
|
|
|
109
109
|
var content_exports = /* @__PURE__ */ __exportAll({ ContentRepository: () => ContentRepository });
|
|
110
110
|
const ULID_PATTERN = /^[0-9A-Z]{26}$/;
|
|
111
111
|
const LIKE_WILDCARD_RE = /[\\%_]/g;
|
|
112
|
+
const DATE_FILTER_COLUMNS = {
|
|
113
|
+
createdAt: "created_at",
|
|
114
|
+
updatedAt: "updated_at",
|
|
115
|
+
publishedAt: "published_at"
|
|
116
|
+
};
|
|
112
117
|
/**
|
|
113
118
|
* System columns that exist in every ec_* table
|
|
114
119
|
*/
|
|
@@ -408,6 +413,7 @@ var ContentRepository = class {
|
|
|
408
413
|
if (options.where?.authorId) query = query.where("author_id", "=", options.where.authorId);
|
|
409
414
|
if (options.where?.locale) query = query.where("locale", "=", options.where.locale);
|
|
410
415
|
query = this.applySearchFilter(query, options.where);
|
|
416
|
+
query = this.applyDateFilter(query, options.where);
|
|
411
417
|
if (options.cursor) {
|
|
412
418
|
const decoded = decodeCursor(options.cursor);
|
|
413
419
|
if (decoded) {
|
|
@@ -548,10 +554,18 @@ var ContentRepository = class {
|
|
|
548
554
|
if (where?.authorId) query = query.where("author_id", "=", where.authorId);
|
|
549
555
|
if (where?.locale) query = query.where("locale", "=", where.locale);
|
|
550
556
|
query = this.applySearchFilter(query, where);
|
|
557
|
+
query = this.applyDateFilter(query, where);
|
|
551
558
|
const result = await query.executeTakeFirst();
|
|
552
559
|
return Number(result?.count || 0);
|
|
553
560
|
}
|
|
554
561
|
/**
|
|
562
|
+
* Distinct, non-null author IDs across non-trashed content in a collection.
|
|
563
|
+
*/
|
|
564
|
+
async findDistinctAuthorIds(type) {
|
|
565
|
+
const tableName = getTableName(type);
|
|
566
|
+
return (await this.db.selectFrom(tableName).select("author_id").distinct().where("deleted_at", "is", null).where("author_id", "is not", null).execute()).map((row) => row.author_id).filter((id) => id !== null);
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
555
569
|
* Apply an optional case-insensitive substring search across handler-resolved
|
|
556
570
|
* columns. User input is treated literally by escaping LIKE wildcards.
|
|
557
571
|
*/
|
|
@@ -565,6 +579,18 @@ var ContentRepository = class {
|
|
|
565
579
|
return eb(sql`lower(${sql.ref(column)})`, "like", sql`lower(${pattern}) escape '\\'`);
|
|
566
580
|
})));
|
|
567
581
|
}
|
|
582
|
+
applyDateFilter(query, where) {
|
|
583
|
+
const filter = where?.dateFilter;
|
|
584
|
+
if (!filter) return query;
|
|
585
|
+
const column = DATE_FILTER_COLUMNS[filter.field];
|
|
586
|
+
if (!column) throw new DinewayValidationError(`Invalid date filter field: ${filter.field}`);
|
|
587
|
+
const { from, to } = filter;
|
|
588
|
+
if (!from && !to) return query;
|
|
589
|
+
let next = query;
|
|
590
|
+
if (from) next = next.where((eb) => eb(column, ">=", from));
|
|
591
|
+
if (to) next = next.where((eb) => eb(column, "<=", to));
|
|
592
|
+
return next;
|
|
593
|
+
}
|
|
568
594
|
async getStats(type) {
|
|
569
595
|
const tableName = getTableName(type);
|
|
570
596
|
const result = await this.db.selectFrom(tableName).select((eb) => [
|
|
@@ -637,15 +663,17 @@ var ContentRepository = class {
|
|
|
637
663
|
* This covers both draft-scheduled posts (status='scheduled') and
|
|
638
664
|
* published posts with scheduled draft changes (status='published').
|
|
639
665
|
*/
|
|
640
|
-
async findReadyToPublish(type) {
|
|
666
|
+
async findReadyToPublish(type, limit) {
|
|
641
667
|
const tableName = getTableName(type);
|
|
642
668
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
669
|
+
const limitClause = typeof limit === "number" && Number.isInteger(limit) && limit > 0 ? sql`LIMIT ${limit}` : sql``;
|
|
643
670
|
return (await sql`
|
|
644
671
|
SELECT * FROM ${sql.ref(tableName)}
|
|
645
672
|
WHERE scheduled_at IS NOT NULL
|
|
646
673
|
AND scheduled_at <= ${now}
|
|
647
674
|
AND deleted_at IS NULL
|
|
648
675
|
ORDER BY scheduled_at ASC
|
|
676
|
+
${limitClause}
|
|
649
677
|
`.execute(this.db)).rows.map((row) => this.mapRow(type, row));
|
|
650
678
|
}
|
|
651
679
|
/**
|
|
@@ -671,52 +699,87 @@ var ContentRepository = class {
|
|
|
671
699
|
* `publishedAt` overrides the publication timestamp. If omitted, an existing
|
|
672
700
|
* `published_at` is preserved and first publish falls back to the current time.
|
|
673
701
|
*/
|
|
674
|
-
async publish(type, id, publishedAt) {
|
|
702
|
+
async publish(type, id, publishedAt, requireScheduledDue = false) {
|
|
675
703
|
const tableName = getTableName(type);
|
|
676
704
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
677
705
|
const existing = await this.findById(type, id);
|
|
678
706
|
if (!existing) throw new DinewayValidationError("Content item not found");
|
|
679
|
-
|
|
680
|
-
let
|
|
681
|
-
if (
|
|
682
|
-
|
|
683
|
-
entryId: id,
|
|
684
|
-
data: existing.data
|
|
685
|
-
})).id;
|
|
686
|
-
const revision = await revisionRepo.findById(revisionToPublish);
|
|
687
|
-
if (revision) {
|
|
688
|
-
await this.syncDataColumns(type, id, revision.data);
|
|
689
|
-
if (typeof revision.data._slug === "string") await sql`
|
|
690
|
-
UPDATE ${sql.ref(tableName)}
|
|
691
|
-
SET slug = ${revision.data._slug}
|
|
692
|
-
WHERE id = ${id}
|
|
693
|
-
`.execute(this.db);
|
|
694
|
-
}
|
|
695
|
-
if (publishedAt !== void 0) await sql`
|
|
696
|
-
UPDATE ${sql.ref(tableName)}
|
|
697
|
-
SET live_revision_id = ${revisionToPublish},
|
|
698
|
-
draft_revision_id = NULL,
|
|
699
|
-
status = 'published',
|
|
700
|
-
scheduled_at = NULL,
|
|
701
|
-
published_at = ${publishedAt},
|
|
702
|
-
updated_at = ${now}
|
|
703
|
-
WHERE id = ${id}
|
|
704
|
-
AND deleted_at IS NULL
|
|
705
|
-
`.execute(this.db);
|
|
706
|
-
else await sql`
|
|
707
|
+
let claimedScheduledAt = null;
|
|
708
|
+
let claimedUpdatedAt = null;
|
|
709
|
+
if (requireScheduledDue) {
|
|
710
|
+
const claim = await sql`
|
|
707
711
|
UPDATE ${sql.ref(tableName)}
|
|
708
|
-
SET
|
|
709
|
-
draft_revision_id = NULL,
|
|
710
|
-
status = 'published',
|
|
711
|
-
scheduled_at = NULL,
|
|
712
|
-
published_at = COALESCE(published_at, ${now}),
|
|
712
|
+
SET scheduled_at = NULL,
|
|
713
713
|
updated_at = ${now}
|
|
714
714
|
WHERE id = ${id}
|
|
715
|
+
AND scheduled_at IS NOT NULL
|
|
716
|
+
AND scheduled_at <= ${now}
|
|
715
717
|
AND deleted_at IS NULL
|
|
716
718
|
`.execute(this.db);
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
719
|
+
if (Number(claim.numAffectedRows ?? 0) === 0) throw new ScheduledNotDueError();
|
|
720
|
+
claimedScheduledAt = existing.scheduledAt;
|
|
721
|
+
claimedUpdatedAt = existing.updatedAt;
|
|
722
|
+
}
|
|
723
|
+
let publishCommitted = false;
|
|
724
|
+
try {
|
|
725
|
+
const revisionRepo = new RevisionRepository(this.db);
|
|
726
|
+
let revisionToPublish = existing.draftRevisionId || existing.liveRevisionId;
|
|
727
|
+
if (!revisionToPublish) revisionToPublish = (await revisionRepo.create({
|
|
728
|
+
collection: type,
|
|
729
|
+
entryId: id,
|
|
730
|
+
data: existing.data
|
|
731
|
+
})).id;
|
|
732
|
+
const revision = await revisionRepo.findById(revisionToPublish);
|
|
733
|
+
if (revision) {
|
|
734
|
+
await this.syncDataColumns(type, id, revision.data);
|
|
735
|
+
if (typeof revision.data._slug === "string") await sql`
|
|
736
|
+
UPDATE ${sql.ref(tableName)}
|
|
737
|
+
SET slug = ${revision.data._slug}
|
|
738
|
+
WHERE id = ${id}
|
|
739
|
+
`.execute(this.db);
|
|
740
|
+
}
|
|
741
|
+
if (publishedAt !== void 0) await sql`
|
|
742
|
+
UPDATE ${sql.ref(tableName)}
|
|
743
|
+
SET live_revision_id = ${revisionToPublish},
|
|
744
|
+
draft_revision_id = NULL,
|
|
745
|
+
status = 'published',
|
|
746
|
+
scheduled_at = NULL,
|
|
747
|
+
published_at = ${publishedAt},
|
|
748
|
+
updated_at = ${now}
|
|
749
|
+
WHERE id = ${id}
|
|
750
|
+
AND deleted_at IS NULL
|
|
751
|
+
`.execute(this.db);
|
|
752
|
+
else await sql`
|
|
753
|
+
UPDATE ${sql.ref(tableName)}
|
|
754
|
+
SET live_revision_id = ${revisionToPublish},
|
|
755
|
+
draft_revision_id = NULL,
|
|
756
|
+
status = 'published',
|
|
757
|
+
scheduled_at = NULL,
|
|
758
|
+
published_at = COALESCE(published_at, ${now}),
|
|
759
|
+
updated_at = ${now}
|
|
760
|
+
WHERE id = ${id}
|
|
761
|
+
AND deleted_at IS NULL
|
|
762
|
+
`.execute(this.db);
|
|
763
|
+
publishCommitted = true;
|
|
764
|
+
const updated = await this.findById(type, id);
|
|
765
|
+
if (!updated) throw new Error("Content not found");
|
|
766
|
+
return updated;
|
|
767
|
+
} catch (error) {
|
|
768
|
+
if (requireScheduledDue && claimedScheduledAt && !publishCommitted) try {
|
|
769
|
+
await sql`
|
|
770
|
+
UPDATE ${sql.ref(tableName)}
|
|
771
|
+
SET scheduled_at = ${claimedScheduledAt},
|
|
772
|
+
updated_at = ${claimedUpdatedAt ?? now}
|
|
773
|
+
WHERE id = ${id}
|
|
774
|
+
AND scheduled_at IS NULL
|
|
775
|
+
AND deleted_at IS NULL
|
|
776
|
+
AND (status != 'published' OR draft_revision_id IS NOT NULL)
|
|
777
|
+
`.execute(this.db);
|
|
778
|
+
} catch (restoreError) {
|
|
779
|
+
console.error(`[content] Failed to restore schedule for ${type}/${id} after publish failure:`, restoreError);
|
|
780
|
+
}
|
|
781
|
+
throw error;
|
|
782
|
+
}
|
|
720
783
|
}
|
|
721
784
|
/**
|
|
722
785
|
* Stage an existing revision as the draft for a content item.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as validateJsonFieldName } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { c as jsonExtractExpr } from "./dialect-helpers-fk43GbDb.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as MediaRepository } from "./media-
|
|
6
|
-
import { t as UserRepository } from "./user-
|
|
7
|
-
import { t as OptionsRepository } from "./options-
|
|
8
|
-
import { t as withTransaction } from "./transaction-
|
|
9
|
-
import { t as SeoRepository } from "./seo-
|
|
3
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-CSgR9nQB.mjs";
|
|
4
|
+
import { t as ContentRepository } from "./content-CBxYGWfL.mjs";
|
|
5
|
+
import { t as MediaRepository } from "./media-CbKyYukG.mjs";
|
|
6
|
+
import { t as UserRepository } from "./user-DTLoZs16.mjs";
|
|
7
|
+
import { t as OptionsRepository } from "./options-LsPjZlqD.mjs";
|
|
8
|
+
import { t as withTransaction } from "./transaction-CFLhEOuH.mjs";
|
|
9
|
+
import { t as SeoRepository } from "./seo-CLj8lS7Q.mjs";
|
|
10
10
|
import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-DiKqWd3N.mjs";
|
|
11
11
|
import { t as CronAccessImpl } from "./cron-DxCAU_Sn.mjs";
|
|
12
12
|
import { sql } from "kysely";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-
|
|
2
|
-
import { b as toPublicContextEntry, x as toPublicContextEntryPage, y as toPublicContextDiff } from "./site-context-
|
|
1
|
+
import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-CkTee1ex.mjs";
|
|
2
|
+
import { b as toPublicContextEntry, x as toPublicContextEntryPage, y as toPublicContextDiff } from "./site-context-C8Az_P_I.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/context.ts
|
|
5
5
|
async function handleContextEntryList(db, input = {}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-
|
|
1
|
+
import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-CwM7yxPW.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/api/context-route-helpers.ts
|
|
4
4
|
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 { t as ReviewRequestRepository } from "./review-requests-
|
|
2
|
+
import { t as ContentRepository } from "./content-CBxYGWfL.mjs";
|
|
3
|
+
import { t as MediaRepository } from "./media-CbKyYukG.mjs";
|
|
4
|
+
import { t as UserRepository } from "./user-DTLoZs16.mjs";
|
|
5
|
+
import { t as ReviewRequestRepository } from "./review-requests-BW2NxY-l.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-
|
|
1
|
+
import "../types-CuJOqHfM.mjs";
|
|
2
2
|
import { a as SqliteConfig, c as sqlite, i as PostgresConfig, n as DatabaseDialectType, o as libsql, r as LibsqlConfig, s as postgres, t as DatabaseDescriptor } from "../adapters-OQCImOL7.mjs";
|
|
3
|
-
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-
|
|
3
|
+
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-09sTqtv0.mjs";
|
|
4
4
|
export { type DatabaseDescriptor, type DatabaseDialectType, type LibsqlConfig, type MigrationStatus, type PostgresConfig, type SqliteConfig, getMigrationStatus, libsql, 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-DzIpHGND.mjs";
|
|
2
2
|
import "../dialect-helpers-fk43GbDb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/db/adapters.ts
|
|
@@ -13,7 +13,8 @@ const defaultSeed = {
|
|
|
13
13
|
supports: [
|
|
14
14
|
"drafts",
|
|
15
15
|
"revisions",
|
|
16
|
-
"search"
|
|
16
|
+
"search",
|
|
17
|
+
"seo"
|
|
17
18
|
],
|
|
18
19
|
fields: [
|
|
19
20
|
{
|
|
@@ -48,7 +49,8 @@ const defaultSeed = {
|
|
|
48
49
|
supports: [
|
|
49
50
|
"drafts",
|
|
50
51
|
"revisions",
|
|
51
|
-
"search"
|
|
52
|
+
"search",
|
|
53
|
+
"seo"
|
|
52
54
|
],
|
|
53
55
|
fields: [{
|
|
54
56
|
slug: "title",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as withTransaction } from "./transaction-
|
|
1
|
+
import { t as withTransaction } from "./transaction-CFLhEOuH.mjs";
|
|
2
2
|
import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-CSMffP6q.mjs";
|
|
3
3
|
import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-CYUoFGo7.mjs";
|
|
4
4
|
import { o as lookupOAuthClient } from "./oauth-clients-Du-V0fEm.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-DzIpHGND.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
3
|
import { s as isSqlite, u as tableExists } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { sql } from "kysely";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CSMffP6q.mjs";
|
|
2
|
-
import { n as HitlRequestService } from "./site-context-
|
|
2
|
+
import { n as HitlRequestService } from "./site-context-C8Az_P_I.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/hitl-requests.ts
|
|
5
5
|
const HITL_NOT_FOUND_RE = /not found/i;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as apiError } from "./error-DCSuUAZW.mjs";
|
|
2
2
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CSMffP6q.mjs";
|
|
3
|
-
import { t as WorkflowHitlCoordinator } from "./site-context-
|
|
4
|
-
import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-
|
|
3
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-C8Az_P_I.mjs";
|
|
4
|
+
import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-CwM7yxPW.mjs";
|
|
5
5
|
import { Role } from "@dineway-ai/auth";
|
|
6
6
|
|
|
7
7
|
//#region src/api/hitl-route-helpers.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as slugify } from "./slugify-
|
|
1
|
+
import { n as slugify } from "./slugify-BqebcqBg.mjs";
|
|
2
2
|
import { n as parseWxrString } from "./parser-DxfsARXL.mjs";
|
|
3
3
|
import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-DiKqWd3N.mjs";
|
|
4
|
-
import { a as getFilenameFromUrl, c as isInternalMetaKey, d as mapPostTypeToCollection, f as mapWpStatus, i as checkSchemaCompatibility, l as isInternalPostType, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as normalizeUrl$1, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as mapMetaKeyToField } from "./utils-
|
|
4
|
+
import { a as getFilenameFromUrl, c as isInternalMetaKey, d as mapPostTypeToCollection, f as mapWpStatus, i as checkSchemaCompatibility, l as isInternalPostType, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as normalizeUrl$1, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as mapMetaKeyToField } from "./utils-B8hBJ9Oz.mjs";
|
|
5
5
|
import { ulid } from "ulidx";
|
|
6
6
|
import { gutenbergToPortableText } from "@dineway-ai/gutenberg-to-portable-text";
|
|
7
7
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as UpdateFieldInput, a as ColumnType, d as FieldType, f as FieldValidation, g as UpdateCollectionInput, h as RESERVED_FIELD_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as RESERVED_COLLECTION_SLUGS, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field } from "./types-
|
|
2
|
-
import { a as
|
|
3
|
-
import { $ as
|
|
4
|
-
import { n as MediaTable, r as UserTable, t as Database } from "./types-
|
|
5
|
-
import { $ as StandardHookEntry, A as PageMetadataContribution, B as PluginDefinition, C as MediaAccess, D as PageFragmentContribution, E as ModerationDecision, F as PluginAdminConfig, G as PortableTextBlockConfig, H as PluginManifest, I as PluginAdminExports, K as PortableTextBlockField, L as PluginAdminPage, M as PageMetadataHandler, O as PageFragmentEvent, P as PagePlacement, Q as RouteContext, R as PluginCapability, S as LogAccess, T as MediaUploadEvent, U as PluginRoute, V as PluginHooks, W as PluginStorageConfig, X as ResolvedPlugin, Y as ResolvedHook, Z as ResolvedPluginHooks, _ as FieldWidgetConfig, a as CommentAfterModerateEvent, b as HttpAccess, c as CommentBeforeCreateHandler, d as ContentAccess, et as StandardHookHandler, f as ContentDeleteEvent, i as CommentAfterCreateHandler, it as StorageCollection, j as PageMetadataEvent, k as PageFragmentHandler, l as CommentModerateEvent, m as ContentPublishStateChangeEvent, n as CollectionCommentSettings, nt as StandardRouteEntry, o as CommentAfterModerateHandler, ot as StoredComment, p as ContentHookEvent, q as PublicPageContext, r as CommentAfterCreateEvent, rt as StandardRouteHandler, s as CommentBeforeCreateEvent, st as isStandardPluginDefinition, t as BreadcrumbItem, tt as StandardPluginDefinition, u as CommentModerateHandler, v as HookConfig, x as KVAccess, y as HookName, z as PluginContext } from "./types-
|
|
1
|
+
import { _ as UpdateFieldInput, a as ColumnType, d as FieldType, f as FieldValidation, g as UpdateCollectionInput, h as RESERVED_FIELD_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as RESERVED_COLLECTION_SLUGS, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field } from "./types-CwawBUTa.mjs";
|
|
2
|
+
import { a as ContentSeo, c as DinewayValidationError, d as ScheduledNotDueError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, n as ContentBylineCredit, o as ContentSeoInput, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-DRIKLmJI.mjs";
|
|
3
|
+
import { $ as CreateMenuItemInput, $n as PortableTextMarkDef, $r as handleContentUnpublish, $t as createFilePreviewMiddleware, A as UpdateWidgetInput, An as ResolvePathResult, Ar as RevisionListResponse, At as GeneratePreviewTokenOptions, B as getTerm, Bi as FieldDescriptor, Bn as FieldAnnotation, Br as handleContentCreate, Bt as SandboxNotAvailableError, C as getWidgetArea, Ci as WhereRange, Cn as CollectionFilter, Cr as MediaListResponse, Ct as renderPreviewLoadingPage, D as CreateWidgetInput, Di as DatabaseConfig, Dn as EditFieldMeta, Dr as handleMediaGet, Dt as GetPreviewUrlOptions, E as CreateWidgetAreaInput, Ei as getDb, En as DinewayCollections, Er as handleMediaDelete, Et as isPreviewRequest, F as getEntriesByTerm, Fn as getEditMeta, Fr as generateManifest, Ft as parseContentId, G as TaxonomyTermRow, Gn as computeContentHash, Gr as handleContentGetIncludingTrashed, H as CreateTermInput, Hi as ManifestResponse, Hn as createNoop, Hr as handleContentDiscardDraft, Ht as PluginManager, I as getEntryTerms, In as getTranslations, Ir as handleContentAuthors, It as verifyPreviewToken, J as getBylineBySlug, Jn as prosemirrorToPortableText, Jr as handleContentPermanentDelete, Jt as createHookPipeline, K as UpdateTermInput, Kn as hashString, Kr as handleContentList, Kt as HookPipeline, L as getTaxonomyDef, Li as ApiContext, Ln as resolveDinewayPath, Lr as handleContentCompare, Lt as NodeSandboxRunner, M as WidgetArea, Mn as TranslationsResult, Mr as handleRevisionGet, Mt as VerifyPreviewTokenOptions, N as WidgetComponentDef, Nn as getDinewayCollection, Nr as handleRevisionList, Nt as VerifyPreviewTokenResult, O as PropDef, Oi as DinewayDatabaseError, On as EntryResult, Or as handleMediaList, Ot as buildPreviewUrl, P as WidgetType, Pn as getDinewayEntry, Pr as handleRevisionRestore, Pt as generatePreviewToken, Q as CreateMenuInput, Qn as PortableTextLinkMark, Qr as handleContentTranslations, Qt as FilePreviewMiddlewareConfig, R as getTaxonomyDefs, Ri as ContentListResponse, Rn as CMSAnnotation, Rr as handleContentCountScheduled, Rt as createNodeSandboxRunner, S as Suggestion, Si as EntryFilter, Sn as CacheHint, Sr as SchemaRegistry, St as Snapshot, T as getWidgetComponents, Tn as ContentEntry, Tr as handleMediaCreate, Tt as getPreviewToken, U as TaxonomyDef, Un as isSafeHref, Ur as handleContentDuplicate, Ut as createPluginManager, V as getTermsForEntries, Vi as ListResponse, Vn as createEditable, Vr as handleContentDelete, Vt as createNoopSandboxRunner, W as TaxonomyTerm, Wn as sanitizeHref, Wr as handleContentGet, Wt as PluginRouteError, X as getMenu, Xn as PortableTextHtmlBlock, Xr as handleContentRestore, Xt as pluginManifestSchema, Y as getEntriesByByline, Yn as PortableTextCodeBlock, Yr as handleContentPublish, Yt as ValidatedPluginManifest, Z as getMenus, Zn as PortableTextImageBlock, Zr as handleContentSchedule, Zt as definePlugin, _ as SearchOptions, _i as MediaItem, _n as getFallbackChain, _r as Section, _t as AppliedSnapshotMeta, ai as FieldDefinition, an as SessionDatabaseInfo, ar as ProseMirrorNode, at as UpdateMenuItemInput, b as SearchStats, bi as CollectionFilter$1, bn as AfterCallback, br as getCollectionInfo, bt as dropSessionDatabaseTables, c as extractSearchableFields, ci as ImageValue, cn as SessionOpenOrCreateOptions, cr as SandboxOptions, ct as getCommentCount, d as search, di as CreateRelationInput, dn as buildPreviewSignatureHeader, dr as SandboxedPlugin, dt as getPluginSettings, ei as handleContentUnschedule, en as FileSessionDatabaseFactory, er as PortableTextSpan, et as Menu, f as searchCollection, fi as Relation, fn as defaultPreviewSidecarClient, fr as SerializedRequest, ft as getSiteSetting, g as SearchConfig, gi as CreateMediaInput, gn as I18nConfig, gr as GetSectionsOptions, gt as renderPreviewToolbar, h as CollectionSearchOptions, hn as verifyPreviewSignature, hr as CreateSectionInput, ht as PreviewToolbarConfig, ii as image, in as SessionDatabaseHandle, ir as ProseMirrorMark, it as UpdateMenuInput, j as Widget, jn as TranslationSummary, jr as RevisionResponse, jt as PreviewTokenPayload, k as ReorderWidgetsInput, kn as InferCollectionData, kr as handleMediaUpdate, kt as getPreviewUrl, l as getSearchStats, li as PortableTextBlock, ln as PreviewSidecarClient, lr as SandboxRunner, lt as getComments, m as FTSManager, mi as UpdateRelationInput, mn as signPreviewUrl, mr as getSections, mt as setSiteSettings, n as PluginDescriptor, ni as portableText, nn as SessionCleanupResult, nr as PortableTextUnknownBlock, nt as MenuItemType, oi as FieldUIHints, on as SessionDatabaseLimitError, or as SandboxEmailMessage, ot as GetCommentsOptions, p as searchWithDb, pi as RelationRepository, pn as parsePreviewSignatureHeader, pr as getSection, pt as getSiteSettings, q as getByline, qn as portableTextToProsemirror, qr as handleContentListTrashed, qt as HookResult, ri as reference, rn as SessionDatabaseFactory, rr as ProseMirrorDocument, rt as ReorderMenuItemsInput, s as extractPlainText, si as FileValue, sn as SessionOpenOptions, sr as SandboxEmailSendCallback, st as GetCommentsResult, ti as handleContentUpdate, tn as FileSessionDatabaseFactoryOptions, tr as PortableTextTextBlock, tt as MenuItem, u as getSuggestions, ui as ContentReference, un as PreviewSidecarSignature, ur as SandboxRunnerFactory, ut as getPluginSetting, v as SearchResponse, vi as MediaRepository, vn as getI18nConfig, vr as SectionSource, vt as ApplySnapshotToDatabaseOptions, w as getWidgetAreas, wi as WhereValue, wn as CollectionResult, wr as MediaResponse, wt as isBlockedInPreview, x as SuggestOptions, xi as EntryData, xn as after, xr as SchemaError, xt as getAppliedSnapshotMeta, y as SearchResult, yi as ContentRepository, yn as isI18nEnabled, yr as UpdateSectionInput, yt as applySnapshotToDatabase, z as getTaxonomyTerms, zi as ContentResponse, zn as EditProxy, zr as handleContentCountTrashed, zt as NoopSandboxRunner } from "./runtime-C4-2lSFg.mjs";
|
|
4
|
+
import { n as MediaTable, r as UserTable, t as Database } from "./types-CuJOqHfM.mjs";
|
|
5
|
+
import { $ as StandardHookEntry, A as PageMetadataContribution, B as PluginDefinition, C as MediaAccess, D as PageFragmentContribution, E as ModerationDecision, F as PluginAdminConfig, G as PortableTextBlockConfig, H as PluginManifest, I as PluginAdminExports, K as PortableTextBlockField, L as PluginAdminPage, M as PageMetadataHandler, O as PageFragmentEvent, P as PagePlacement, Q as RouteContext, R as PluginCapability, S as LogAccess, T as MediaUploadEvent, U as PluginRoute, V as PluginHooks, W as PluginStorageConfig, X as ResolvedPlugin, Y as ResolvedHook, Z as ResolvedPluginHooks, _ as FieldWidgetConfig, a as CommentAfterModerateEvent, b as HttpAccess, c as CommentBeforeCreateHandler, d as ContentAccess, et as StandardHookHandler, f as ContentDeleteEvent, i as CommentAfterCreateHandler, it as StorageCollection, j as PageMetadataEvent, k as PageFragmentHandler, l as CommentModerateEvent, m as ContentPublishStateChangeEvent, n as CollectionCommentSettings, nt as StandardRouteEntry, o as CommentAfterModerateHandler, ot as StoredComment, p as ContentHookEvent, q as PublicPageContext, r as CommentAfterCreateEvent, rt as StandardRouteHandler, s as CommentBeforeCreateEvent, st as isStandardPluginDefinition, t as BreadcrumbItem, tt as StandardPluginDefinition, u as CommentModerateHandler, v as HookConfig, x as KVAccess, y as HookName, z as PluginContext } from "./types-DSPGWjxO.mjs";
|
|
6
6
|
import { a as AuthResult, i as AuthProviderModule, n as AuthProviderAdminExports, o as AuthRouteDescriptor, r as AuthProviderDescriptor, s as ExternalAuthConfig, t as AuthDescriptor } from "./types-Dryvv7LH.mjs";
|
|
7
7
|
import { a as SqliteConfig, i as PostgresConfig, n as DatabaseDialectType, r as LibsqlConfig, t as DatabaseDescriptor } from "./adapters-OQCImOL7.mjs";
|
|
8
8
|
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-CXfoCtCd.mjs";
|
|
9
|
-
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-
|
|
10
|
-
import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-
|
|
9
|
+
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-09sTqtv0.mjs";
|
|
10
|
+
import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-CZiWCQDp.mjs";
|
|
11
11
|
import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-DZpT-PnG.mjs";
|
|
12
12
|
import { i as SiteSettings, n as SeoSettings, r as SiteSettingKey, t as MediaReference } from "./types-nP9vGUFq.mjs";
|
|
13
|
-
import "./byline-fields-
|
|
13
|
+
import "./byline-fields-uJlygdzM.mjs";
|
|
14
14
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
15
15
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
16
16
|
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-GaCtZ1k9.mjs";
|
|
17
17
|
import { SeoMeta, SeoMetaOptions, getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
18
|
-
import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "./validate-
|
|
18
|
+
import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "./validate-DzjCdy6v.mjs";
|
|
19
19
|
import "./seed/index.mjs";
|
|
20
20
|
import { ulid } from "ulidx";
|
|
21
|
-
export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BylineSummary, type CMSAnnotation, type CacheHint, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ContentAccess, type ContentBylineCredit, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateSectionInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginRoute, PluginRouteError, type PluginStorageConfig, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type RevisionListResponse, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, clearSources, computeContentHash, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, isBlockedInPreview, isI18nEnabled, isPreviewRequest, isSafeHref, isStandardPluginDefinition, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|
|
21
|
+
export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BylineSummary, type CMSAnnotation, type CacheHint, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ContentAccess, type ContentBylineCredit, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, type ContentReference, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateRelationInput, type CreateSectionInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginRoute, PluginRouteError, type PluginStorageConfig, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type Relation, RelationRepository, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type RevisionListResponse, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, ScheduledNotDueError, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateRelationInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, clearSources, computeContentHash, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDb, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByByline, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, isBlockedInPreview, isI18nEnabled, isPreviewRequest, isSafeHref, isStandardPluginDefinition, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|