void 1.6.2 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-cmd-D903EEWQ.mjs → account-cmd-CZKntRH2.mjs} +6 -6
- package/dist/action-key-ByZ6DDld.mjs +64 -0
- package/dist/{application-analysis-DlUG-XNT.mjs → application-analysis-CyTagJQM.mjs} +31 -10
- package/dist/{application-routing-GCBSwXA9.mjs → application-routing-BLrMVpqi.mjs} +2 -1
- package/dist/{auth-CL-p_rqV.mjs → auth-BN0NU9dz.mjs} +1 -1
- package/dist/{auth-CH4PLAX1.d.mts → auth-Bk9VGtQW.d.mts} +9 -2
- package/dist/{auth-Dy8svcqQ.mjs → auth-CCk9Seol.mjs} +2 -2
- package/dist/{auth-YVjBX5NY.mjs → auth-DyWp-fSo.mjs} +7 -1
- package/dist/{auth-link-g9J7MSmP.mjs → auth-link-BOaQWMKw.mjs} +6 -6
- package/dist/{auth-router-DMZbG9Qn.mjs → auth-router-D0-VcmDs.mjs} +3 -3
- package/dist/{better-auth-shared-BJyG2mH0.d.mts → better-auth-shared-CQFdtguU.d.mts} +2 -2
- package/dist/{better-auth-shared-C958aM7W.mjs → better-auth-shared-CdVyCUou.mjs} +1 -1
- package/dist/boundary-plans-CRmWH68v.d.mts +25 -0
- package/dist/{build-cmd-DmjbuT6d.mjs → build-cmd-JTsXXf2F.mjs} +5 -5
- package/dist/{cache-2khBO1MR.mjs → cache-D0m3Z_Xf.mjs} +5 -5
- package/dist/{cancel-deploy-_itbbvY3.mjs → cancel-deploy-Ce6Os4fa.mjs} +4 -4
- package/dist/{cf-build-output-B1C8U83u.mjs → cf-build-output-CWNOH-KA.mjs} +2 -1
- package/dist/cf-build-output-DUZnAeZ1.mjs +1 -0
- package/dist/{cf-config-migrate-Dy8MrKgF.mjs → cf-config-migrate-Bb-EdAQq.mjs} +5 -1
- package/dist/cli/cli.mjs +68 -1868
- package/dist/cli/cloudflare-operation-process.mjs +101 -26
- package/dist/cli/env-schema-probe.d.mts +1 -1
- package/dist/cli/env-schema-probe.mjs +3 -3
- package/dist/cli-main-rkrJy2Ge.mjs +1889 -0
- package/dist/client-D1Vz1Zep.mjs +1 -0
- package/dist/{client-CoxPEhJq.mjs → client-SZPyj4X_.mjs} +10 -4
- package/dist/{cloudflare-auth-CuS42-9A.mjs → cloudflare-auth-7jTqy9Bx.mjs} +1 -1
- package/dist/{cloudflare-cmd-DTF19-j-.mjs → cloudflare-cmd-ChPLQcTP.mjs} +5 -5
- package/dist/{cloudflare-config-Ce8j5S7V.mjs → cloudflare-config-DtOGAbeB.mjs} +2 -2
- package/dist/{cloudflare-connect-BN4dHp8i.mjs → cloudflare-connect-Co93VYTo.mjs} +3 -3
- package/dist/{cloudflare-operations-DrZGzQap.mjs → cloudflare-operations-CXaDKYj2.mjs} +6 -6
- package/dist/{cloudflare-operations-laxRA8HN.mjs → cloudflare-operations-DATekLwI.mjs} +1 -1
- package/dist/{cloudflare-process-D9aC-jXr.mjs → cloudflare-process-DmTxZR-N.mjs} +2 -2
- package/dist/{config-hL-S-Y9D.mjs → config-5oSQhZNj.mjs} +3 -1
- package/dist/{config-CPxJmt4M.d.mts → config-CTlUaXWZ.d.mts} +3 -1
- package/dist/{config-CNDjO-15.mjs → config-DcqUBGCb.mjs} +1 -1
- package/dist/config-entry.d.mts +1 -1
- package/dist/{config-DMR0i3Z2.mjs → config-wo2EaH0X.mjs} +1 -1
- package/dist/{connect-DHepM7Xs.mjs → connect-DlvXt1JR.mjs} +7 -7
- package/dist/{create-project-Bq0M8MtO.mjs → create-project-CC_7hmYJ.mjs} +5 -5
- package/dist/{create-project-BiMmR5wA.mjs → create-project-DzY05xqC.mjs} +1 -1
- package/dist/{db-CqfT6lhV.mjs → db-FhyYGcJJ.mjs} +39 -39
- package/dist/{db-types-DRmxBJ2K.mjs → db-types-sVwEpyPR.mjs} +4 -2
- package/dist/{delete-CY4L8fi2.mjs → delete-CModjyOC.mjs} +5 -5
- package/dist/{deploy-La_Ly8g_.mjs → deploy-Cz9TEzZy.mjs} +502 -110
- package/dist/deploy-DMieisRu.mjs +2 -0
- package/dist/{deploy-managed-static-CESLfKHN.mjs → deploy-managed-static-DlxxXkAM.mjs} +16 -16
- package/dist/{deploy-transport-DcI6LXhY.mjs → deploy-transport-DUvm6-CR.mjs} +3 -3
- package/dist/deploy.mjs +8 -8
- package/dist/{dispatch-DM4Xdd2l.mjs → dispatch-CCiaAnSK.mjs} +7 -7
- package/dist/{dist-eV_Ep60B.mjs → dist-Cp4b1_T9.mjs} +1 -1
- package/dist/{dist-D23AAMxT.mjs → dist-STQXl8ck.mjs} +86 -138
- package/dist/{domain-BD1KOQL3.mjs → domain-DvdZPA50.mjs} +6 -6
- package/dist/{drizzle-C8MPqt5m.mjs → drizzle-D4V_06-B.mjs} +1 -1
- package/dist/{drizzle-lFdzSEa9.mjs → drizzle-DBSpPpU1.mjs} +34 -8
- package/dist/{email-XAspopcj.mjs → email-ASpNrfLd.mjs} +10 -10
- package/dist/{email-cloudflare-RxIQoPc9.mjs → email-cloudflare-kqoN9jst.mjs} +25 -16
- package/dist/{entry-DFBca6aS.mjs → entry-BweGTCgj.mjs} +1 -1
- package/dist/{env-DrYUh55t.mjs → env-Bpkg3G5i.mjs} +7 -7
- package/dist/{env-CuzZZyjB.mjs → env-UqS-21xi.mjs} +8 -1
- package/dist/env-mask-D31Qztl9.mjs +46 -0
- package/dist/{env-public-CeNeO_AT.d.mts → env-public-DtJL_hZq.d.mts} +8 -7
- package/dist/{env-validation-Del3C8AY.mjs → env-validation-BpCCQE_6.mjs} +6 -6
- package/dist/{env-validation-Bosj7EVg.mjs → env-validation-CN386Utu.mjs} +1 -1
- package/dist/{fetch-C8yhLoF3.mjs → fetch-CAIVkLvW.mjs} +1 -1
- package/dist/{fetch-B-gLGYVl.d.mts → fetch-CbI6lNnk.d.mts} +6 -4
- package/dist/{fetch-stream-DafNtVJC.mjs → fetch-stream-6Op0qlLd.mjs} +1 -1
- package/dist/{fetch-stream-DuwxWmBM.d.mts → fetch-stream-DoED9atq.d.mts} +1 -1
- package/dist/gen-M5fNQKfH.mjs +1 -0
- package/dist/{gen-DSkScMIz.mjs → gen-upKJChvd.mjs} +7 -7
- package/dist/{github-cmd-CA-lBdkn.mjs → github-cmd-BvMOlb8Z.mjs} +6 -6
- package/dist/{handler-BR6Tvjkp.d.mts → handler-BO7Od-z9.d.mts} +22 -8
- package/dist/{handler-DnI_au0K.mjs → handler-C9SnmeW1.mjs} +5 -4
- package/dist/{headers--cbz6iZ8.mjs → headers-COGEDoMN.mjs} +11 -2
- package/dist/help-CItQVDL4.mjs +1 -0
- package/dist/{help-1OCFDsRr.mjs → help-TPCjTu6e.mjs} +7 -3
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +379 -265
- package/dist/{info-BpxpsX0B.mjs → info-EsDyihwf.mjs} +4 -4
- package/dist/{init-DpVXO5S-.mjs → init-a4lVagrb.mjs} +33 -32
- package/dist/{link-DAXOT-G_.mjs → link-CE55DDzS.mjs} +6 -6
- package/dist/{list-BFQ0gcML.mjs → list-CxRthQks.mjs} +7 -7
- package/dist/{live-DF4HUl2m.mjs → live-CYJ4KGoR.mjs} +2 -2
- package/dist/{live-0xrcVpyq.d.mts → live-Kc55iuOQ.d.mts} +2 -2
- package/dist/{local-d1-CLVPP6v7.mjs → local-d1-CFcH9Bx3.mjs} +2 -2
- package/dist/{login-RIw7ffPe.mjs → login-AfcSGSmE.mjs} +5 -5
- package/dist/login-ZHsAm-I6.mjs +1 -0
- package/dist/{logs-B2OeLS4X.mjs → logs-BgRJuvb1.mjs} +6 -6
- package/dist/{migrate-DiI50Chz.mjs → migrate-BNAh6m_C.mjs} +5 -5
- package/dist/migrate-BflbbZQK.mjs +1 -0
- package/dist/nitro.d.mts +5 -0
- package/dist/nitro.mjs +27 -8
- package/dist/{node-Bc-dBAGL.mjs → node-CXFUw0Uz.mjs} +5 -5
- package/dist/{operator-args-D79WQP70.mjs → operator-args-DGTuCdSE.mjs} +9 -1
- package/dist/{operator-auth-CfDcmzpo.mjs → operator-auth-CD3pap65.mjs} +1 -1
- package/dist/{operator-client-BIY4-N_6.mjs → operator-client-XvXTkea6.mjs} +2 -2
- package/dist/{operator-cmd-CEI5Aaza.mjs → operator-cmd-C-viB7Si.mjs} +7 -7
- package/dist/operator-cmd-D6qNuJ_z.mjs +1 -0
- package/dist/output-BsdnNpxa.mjs +1 -0
- package/dist/{output-BCdLioKP.mjs → output-DNVILSz2.mjs} +1 -1
- package/dist/pages/client.d.mts +43 -15
- package/dist/pages/client.mjs +165 -80
- package/dist/pages/index.d.mts +6 -4
- package/dist/pages/index.mjs +6 -6
- package/dist/pages/islands-plugin.d.mts +1 -1
- package/dist/pages/islands-plugin.mjs +13 -2
- package/dist/pages/protocol.d.mts +2 -2
- package/dist/pages/protocol.mjs +1 -1
- package/dist/pages/serialize.d.mts +2 -2
- package/dist/pages/serialize.mjs +1 -1
- package/dist/{platform-args-Cx1M-7bq.mjs → platform-args-CiYeZmc5.mjs} +1 -1
- package/dist/platform-args-DJvF1-kl.mjs +1 -0
- package/dist/{platform-auth-config-ZrYm8KVs.mjs → platform-auth-config-Dt2qEc2w.mjs} +10 -10
- package/dist/{platform-auth-protection-t6mdY4nn.mjs → platform-auth-protection-B7TaF-PZ.mjs} +8 -8
- package/dist/{platform-auth-recovery-XeBmPTXx.mjs → platform-auth-recovery-suXSteJ6.mjs} +7 -7
- package/dist/{platform-cmd-EXehmSYA.mjs → platform-cmd-9rvYBBtr.mjs} +9 -9
- package/dist/{platform-cmd-C7BevP9b.mjs → platform-cmd-DuAsIxbU.mjs} +1 -1
- package/dist/{platform-domain-DR263ObA.mjs → platform-domain-DhH_vDr6.mjs} +5 -5
- package/dist/{platform-lifecycle-CN4aXldN.mjs → platform-lifecycle-3uI-E2bF.mjs} +1 -1
- package/dist/{platform-lifecycle-BvU_TNji.mjs → platform-lifecycle-CXmXe2xt.mjs} +17 -17
- package/dist/{platform-management-_UE1_GM8.mjs → platform-management-BBCHfwji.mjs} +4 -4
- package/dist/{platform-management-yS2sve3V.mjs → platform-management-PdrgDQTe.mjs} +1 -1
- package/dist/{platform-plans-config-Dx1agneU.mjs → platform-plans-config-BGwkXYDM.mjs} +5 -5
- package/dist/{platform-recovery-CPVk9-Q4.mjs → platform-recovery-C8NxXGRR.mjs} +3 -3
- package/dist/{platform-setup-Vw1AaUN8.mjs → platform-setup-Casiffqj.mjs} +3 -3
- package/dist/{plugin-inference-bQ1Be840.mjs → plugin-inference-CErfTgEx.mjs} +4 -4
- package/dist/{prepare-D8L9AQbw.mjs → prepare-BDKWZgfL.mjs} +12 -9
- package/dist/{prepare-BkRhDnxw.mjs → prepare-BLrzXjIl.mjs} +3 -3
- package/dist/prepare-a1_5usAn.mjs +1 -0
- package/dist/{prerender-render-RlAj6hh8.mjs → prerender-render-BAdYhivW.mjs} +44 -15
- package/dist/prerender-render.d.mts +12 -2
- package/dist/prerender-render.mjs +1 -1
- package/dist/{project-cmd-DH3CuFC6.mjs → project-cmd-DzGvxXKH.mjs} +18 -18
- package/dist/{project-team-MjT5K4rQ.mjs → project-team-C5XtHbZk.mjs} +5 -5
- package/dist/{project-token-BKHGwY3k.mjs → project-token-B4D5yhHQ.mjs} +5 -5
- package/dist/{project-tsconfig-BMveFb4b.mjs → project-tsconfig-nhnTWO_Y.mjs} +3 -1
- package/dist/{project-zero-trust-Bzdd05-h.mjs → project-zero-trust--0LvktDg.mjs} +5 -5
- package/dist/{protocol-COyySMki.mjs → protocol-B1Tvc9-x.mjs} +232 -74
- package/dist/{protocol-CkwjASep.d.mts → protocol-Cg2I81NA.d.mts} +13 -4
- package/dist/{provision-B0HqoRuI.mjs → provision-C3yiHdld.mjs} +2 -2
- package/dist/{provision-CYhZR_Mn.mjs → provision-CAcrauvr.mjs} +1 -1
- package/dist/{requests-daJmVpjk.mjs → requests-CrRiTgQA.mjs} +4 -4
- package/dist/resolve-project-C5wC-Hoi.mjs +1 -0
- package/dist/{resolve-project-D0YNnJfm.mjs → resolve-project-Da3OgCU1.mjs} +1 -1
- package/dist/{rollback-AVwiMAkk.mjs → rollback-BsmQyj-Q.mjs} +7 -7
- package/dist/{route-types-e69EqY88.mjs → route-types-CgtlFCDz.mjs} +268 -14
- package/dist/{route-url-C_YIH_zO.d.mts → route-url-C3JwYrER.d.mts} +8 -3
- package/dist/{route-url-CRDF-I0I.mjs → route-url-CfCR4oMj.mjs} +4 -3
- package/dist/routes-stub.d.mts +14 -4
- package/dist/routes-stub.mjs +1 -1
- package/dist/{runner-QMeOpScZ.mjs → runner-CTk21HrO.mjs} +1 -1
- package/dist/{runner-mysql-0zVmB1JW.mjs → runner-mysql-CHvEg_sy.mjs} +1 -1
- package/dist/runtime/ai.mjs +1 -1
- package/dist/runtime/auth.d.mts +2 -2
- package/dist/runtime/auth.mjs +1 -1
- package/dist/runtime/better-auth-mysql.d.mts +1 -1
- package/dist/runtime/better-auth-mysql.mjs +1 -1
- package/dist/runtime/better-auth-pg.d.mts +1 -1
- package/dist/runtime/better-auth-pg.mjs +1 -1
- package/dist/runtime/better-auth.d.mts +1 -1
- package/dist/runtime/better-auth.mjs +1 -1
- package/dist/runtime/client-react.d.mts +3 -3
- package/dist/runtime/client-react.mjs +2 -2
- package/dist/runtime/client-solid.d.mts +3 -3
- package/dist/runtime/client-solid.mjs +2 -2
- package/dist/runtime/client-svelte.d.mts +3 -3
- package/dist/runtime/client-svelte.mjs +2 -2
- package/dist/runtime/client-vue.d.mts +3 -3
- package/dist/runtime/client-vue.mjs +2 -2
- package/dist/runtime/client.d.mts +3 -3
- package/dist/runtime/client.mjs +2 -2
- package/dist/runtime/db.d.mts +6 -3
- package/dist/runtime/db.mjs +2 -2
- package/dist/runtime/email/testing.mjs +2 -2
- package/dist/runtime/email.mjs +3 -3
- package/dist/runtime/env-public.d.mts +1 -1
- package/dist/runtime/env-public.mjs +55 -85
- package/dist/runtime/fetch-server.d.mts +1 -1
- package/dist/runtime/fetch-server.mjs +1 -1
- package/dist/runtime/fetch-stream.d.mts +2 -2
- package/dist/runtime/fetch-stream.mjs +1 -1
- package/dist/runtime/fetch.d.mts +1 -1
- package/dist/runtime/fetch.mjs +1 -1
- package/dist/runtime/handler.d.mts +1 -1
- package/dist/runtime/handler.mjs +1 -1
- package/dist/runtime/isr.d.mts +3 -1
- package/dist/runtime/live-client.d.mts +11 -2
- package/dist/runtime/live-client.mjs +8 -0
- package/dist/runtime/live-server.mjs +1 -1
- package/dist/runtime/live.d.mts +1 -1
- package/dist/runtime/live.mjs +1 -1
- package/dist/runtime/log.mjs +1 -1
- package/dist/runtime/remote/index.mjs +1 -1
- package/dist/runtime/route-url.d.mts +2 -2
- package/dist/runtime/route-url.mjs +1 -1
- package/dist/runtime/routing.d.mts +21 -5
- package/dist/runtime/routing.mjs +251 -29
- package/dist/runtime/sandbox.mjs +1 -1
- package/dist/runtime/sse-client.d.mts +9 -1
- package/dist/runtime/sse-client.mjs +7 -0
- package/dist/runtime/validator.d.mts +1 -1
- package/dist/runtime/validator.mjs +1 -1
- package/dist/runtime/ws-server.d.mts +3 -3
- package/dist/runtime/ws-server.mjs +1 -1
- package/dist/runtime/ws.d.mts +1 -1
- package/dist/runtime/ws.mjs +1 -1
- package/dist/{scan-F0psanp7.mjs → scan-BJ3bj6aP.mjs} +236 -32
- package/dist/{secret-szNdoeKa.mjs → secret-D0g5oBsP.mjs} +7 -7
- package/dist/serialize-DN-envGQ.d.mts +18 -0
- package/dist/serialize-Pf-CIQK_.mjs +39 -0
- package/dist/{skills-D393E4lB.mjs → skills-CoBB9_Ao.mjs} +1 -1
- package/dist/{ast-bindings-BkivMJIo.mjs → static-exports-DFkzL-NX.mjs} +96 -33
- package/dist/{subcommand-prompt-CxJXporl.mjs → subcommand-prompt-0yIARXf2.mjs} +2 -2
- package/dist/{types-agfx0alu.d.mts → types-IPut3_Yx.d.mts} +15 -1
- package/dist/url-CuoEn0o3.mjs +43 -0
- package/dist/validator-8-NZs2Xr.mjs +168 -0
- package/dist/{version-metadata-BC3LK7Y-.mjs → version-metadata-eUd6Ar_U.mjs} +1 -1
- package/dist/wrangler-R3kMdJfw.mjs +1 -0
- package/dist/{wrangler-Gn4EoY4-.mjs → wrangler-k40T7XTQ.mjs} +2 -2
- package/dist/{wrapper-B9W9RE8z.mjs → wrapper-CVMZarxf.mjs} +11 -8
- package/dist/{ws-Dmjg5NH2.d.mts → ws--U7QicYy.d.mts} +2 -2
- package/docs/guide/ai.md +3 -0
- package/docs/guide/app-types.md +1 -0
- package/docs/guide/auth.md +63 -0
- package/docs/guide/database/d1.md +16 -1
- package/docs/guide/database/mysql.md +1 -0
- package/docs/guide/database/postgresql.md +1 -0
- package/docs/guide/database.md +34 -0
- package/docs/guide/deployment.md +9 -0
- package/docs/guide/durable-state.md +1 -0
- package/docs/guide/edge/headers.md +1 -0
- package/docs/guide/edge/prerendering.md +10 -4
- package/docs/guide/edge/redirects.md +1 -0
- package/docs/guide/edge/revalidation.md +6 -0
- package/docs/guide/edge/rewrites.md +1 -0
- package/docs/guide/edge/static-assets.md +1 -0
- package/docs/guide/email/domains.md +1 -0
- package/docs/guide/email/receiving.md +3 -2
- package/docs/guide/email/sending.md +3 -2
- package/docs/guide/email.md +1 -0
- package/docs/guide/env-vars.md +4 -0
- package/docs/guide/index.md +1 -0
- package/docs/guide/jobs.md +1 -0
- package/docs/guide/kv.md +1 -0
- package/docs/guide/live.md +3 -0
- package/docs/guide/pages-routing/actions-and-forms.md +51 -28
- package/docs/guide/pages-routing/errors.md +101 -0
- package/docs/guide/pages-routing/head.md +4 -1
- package/docs/guide/pages-routing/islands.md +2 -1
- package/docs/guide/pages-routing/layouts.md +3 -0
- package/docs/guide/pages-routing/loaders.md +3 -0
- package/docs/guide/pages-routing/markdown.md +3 -3
- package/docs/guide/pages-routing/overview.md +142 -10
- package/docs/guide/pages-routing/view-transitions.md +1 -0
- package/docs/guide/platform/administration/access.md +1 -0
- package/docs/guide/platform/administration/connected-apps.md +4 -0
- package/docs/guide/platform/administration/email.md +1 -0
- package/docs/guide/platform/administration/operations.md +1 -0
- package/docs/guide/platform/administration/plans.md +1 -0
- package/docs/guide/platform/administration/projects.md +11 -0
- package/docs/guide/platform/administration/zero-trust.md +1 -0
- package/docs/guide/platform/development/local.md +1 -0
- package/docs/guide/platform/development/runtime.md +1 -0
- package/docs/guide/platform/development/schema-ci.md +1 -0
- package/docs/guide/platform/installation/ci.md +1 -0
- package/docs/guide/platform/installation/credentials.md +1 -0
- package/docs/guide/platform/installation/domains.md +1 -0
- package/docs/guide/platform/installation/first-deployment.md +1 -0
- package/docs/guide/platform/installation/maintenance.md +1 -0
- package/docs/guide/platform/installation/prerequisites.md +1 -0
- package/docs/guide/platform/installation/setup.md +1 -0
- package/docs/guide/platform/installation/uninstall.md +1 -0
- package/docs/guide/platform-administration.md +1 -0
- package/docs/guide/platform-development.md +1 -0
- package/docs/guide/project-collaboration.md +1 -0
- package/docs/guide/queues.md +3 -0
- package/docs/guide/quickstart.md +4 -2
- package/docs/guide/remote-dev.md +1 -0
- package/docs/guide/sandboxes.md +1 -0
- package/docs/guide/self-hosted-platform.md +1 -0
- package/docs/guide/server-routing.md +1 -0
- package/docs/guide/sse.md +3 -0
- package/docs/guide/ssg.md +24 -2
- package/docs/guide/ssr.md +1 -0
- package/docs/guide/storage.md +7 -2
- package/docs/guide/testing.md +62 -0
- package/docs/guide/type-safety.md +308 -26
- package/docs/guide/typed-fetch.md +8 -3
- package/docs/guide/websockets.md +6 -5
- package/docs/index.md +1 -0
- package/docs/integrations/agents.md +1 -0
- package/docs/integrations/cloudflare.md +11 -10
- package/docs/integrations/frameworks/analog.md +1 -0
- package/docs/integrations/frameworks/astro.md +1 -0
- package/docs/integrations/frameworks/nuxt.md +3 -0
- package/docs/integrations/frameworks/overview.md +3 -0
- package/docs/integrations/frameworks/react-router.md +1 -0
- package/docs/integrations/frameworks/sveltekit.md +1 -0
- package/docs/integrations/frameworks/tanstack-start.md +1 -0
- package/docs/integrations/hono.md +1 -0
- package/docs/integrations/nodejs-bun-deno.md +66 -0
- package/docs/reference/api/auth.md +20 -0
- package/docs/reference/api/client.md +7 -4
- package/docs/reference/api/database.md +24 -1
- package/docs/reference/api/deploy.md +4 -0
- package/docs/reference/api/durable.md +1 -0
- package/docs/reference/api/env.md +1 -0
- package/docs/reference/api/handlers.md +4 -1
- package/docs/reference/api/pages.md +30 -12
- package/docs/reference/api/plugin.md +1 -0
- package/docs/reference/api/resources.md +4 -1
- package/docs/reference/api/rewrites.md +18 -5
- package/docs/reference/api/types.md +10 -2
- package/docs/reference/api.md +1 -0
- package/docs/reference/cli/auth.md +1 -0
- package/docs/reference/cli/database.md +3 -0
- package/docs/reference/cli/deploy.md +18 -11
- package/docs/reference/cli/domains.md +1 -0
- package/docs/reference/cli/email.md +1 -0
- package/docs/reference/cli/generate.md +1 -0
- package/docs/reference/cli/github.md +1 -0
- package/docs/reference/cli/platform-config.md +1 -0
- package/docs/reference/cli/platform-email.md +1 -0
- package/docs/reference/cli/platform-installation.md +1 -0
- package/docs/reference/cli/platform-operations.md +1 -0
- package/docs/reference/cli/platform-users.md +23 -0
- package/docs/reference/cli/platform-zero-trust.md +1 -0
- package/docs/reference/cli/platform.md +1 -0
- package/docs/reference/cli/project.md +1 -0
- package/docs/reference/cli/secrets.md +1 -0
- package/docs/reference/cli/setup.md +1 -0
- package/docs/reference/cli.md +6 -0
- package/docs/reference/config.md +25 -2
- package/docs/reference/resource-inference.md +1 -0
- package/docs/reference/structure.md +1 -0
- package/package.json +27 -25
- package/schema.json +4 -0
- package/skills/void/SKILL.md +7 -0
- package/dist/action-key-XtKKbbsi.mjs +0 -25
- package/dist/cf-build-output-CmDOcA7K.mjs +0 -1
- package/dist/client-CEtr5UOR.mjs +0 -1
- package/dist/deploy-DMhOyebt.mjs +0 -2
- package/dist/gen-BbT1Ku1P.mjs +0 -1
- package/dist/help-Ba8Dq5-r.mjs +0 -1
- package/dist/login-BX2gzHUt.mjs +0 -1
- package/dist/migrate-CUGMGaIM.mjs +0 -1
- package/dist/operator-cmd-oTT2MA9G.mjs +0 -1
- package/dist/output-E6gecbbV.mjs +0 -1
- package/dist/platform-args-C7XUw9mw.mjs +0 -1
- package/dist/prepare-CZRVGNld.mjs +0 -1
- package/dist/resolve-project-CgfjtOwz.mjs +0 -1
- package/dist/serialize-DUuYuaY3.mjs +0 -29
- package/dist/serialize-I4EmS-Wf.d.mts +0 -16
- package/dist/validator-CTfmzZYb.mjs +0 -69
- package/dist/wrangler-CQ5c-MtJ.mjs +0 -1
- package/dist/{cf-access-BmBT2h8_.mjs → cf-access-Dnyw8KFY.mjs} +1 -1
- package/dist/{config-s6TkpSat.mjs → config-eeDzKBS9.mjs} +1 -1
- package/dist/{env-types-Bd8DkQhl.mjs → env-types-Dz9qkiOn.mjs} +1 -1
- package/dist/{inbound-CdO-qY0w.mjs → inbound-C2H6Dzz1.mjs} +2 -2
- package/dist/{runner-5MCSimKx.mjs → runner-CMZb7jNU.mjs} +1 -1
- package/dist/{runner-mysql-Bdmsp_x4.mjs → runner-mysql-BXfcQQj3.mjs} +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import { A as confirm, L as log, U as password, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
1
2
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
+
import { p as readConfig } from "./config-5oSQhZNj.mjs";
|
|
2
4
|
import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
|
|
3
|
-
import { p as readConfig } from "./config-hL-S-Y9D.mjs";
|
|
4
5
|
import { i as scanEmailHandlersSync } from "./email-BHY72ixO.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { a as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { a as discoverRootWranglerConfig, c as runWranglerAuthToken, l as deriveWorkerName, o as createDeployWranglerRunner, s as isWranglerNonInteractiveOrCI } from "./deploy-La_Ly8g_.mjs";
|
|
6
|
+
import { c as getToken, u as openBrowser } from "./auth-CCk9Seol.mjs";
|
|
7
|
+
import { n as PlatformApiError, r as PlatformClient } from "./client-SZPyj4X_.mjs";
|
|
8
|
+
import { a as discoverRootWranglerConfig, c as runWranglerAuthToken, l as deriveWorkerName, o as createDeployWranglerRunner, s as isWranglerNonInteractiveOrCI } from "./deploy-Cz9TEzZy.mjs";
|
|
9
|
+
import { a as emailConfigInputs, c as renderAddressMap, i as createNodeEmailDns, l as renderEmailChecklist, o as preflightEmail, r as applyEmailSetup, s as probeMx } from "./email-cloudflare-kqoN9jst.mjs";
|
|
10
|
+
import { f as import_picocolors, l as formatUrl, m as printSuccess, p as note, r as createSpinner } from "./output-DNVILSz2.mjs";
|
|
11
|
+
import { i as resolveCommandProjectId } from "./resolve-project-Da3OgCU1.mjs";
|
|
12
|
+
import { o as resolveDeployTransport } from "./deploy-transport-DUvm6-CR.mjs";
|
|
13
|
+
import { M as writeProvisionedWranglerConfig } from "./wrangler-k40T7XTQ.mjs";
|
|
14
14
|
import { existsSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
15
15
|
import { tmpdir } from "node:os";
|
|
16
16
|
import { execSync } from "node:child_process";
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { n as __toESM } from "./rolldown-runtime-uD8oG6U2.mjs";
|
|
2
2
|
import { a as join, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
3
3
|
import { t as require_picocolors } from "./picocolors-D1NxSLw-.mjs";
|
|
4
|
-
import { p as readConfig } from "./config-
|
|
4
|
+
import { p as readConfig } from "./config-5oSQhZNj.mjs";
|
|
5
5
|
import { i as voidWarn, r as voidLog } from "./log-D9hwSySP.mjs";
|
|
6
6
|
import { i as readProjectIdField } from "./project-CLwxcEdq.mjs";
|
|
7
|
-
import { p as findBindingNameOwner, u as ensureWranglerCompat } from "./wrangler-
|
|
7
|
+
import { p as findBindingNameOwner, u as ensureWranglerCompat } from "./wrangler-k40T7XTQ.mjs";
|
|
8
8
|
import { n as scopedAccessCredentials } from "./cf-access-pejlJmuy.mjs";
|
|
9
|
-
import { n as ensurePlatformProxyAccess } from "./cf-access-
|
|
10
|
-
import { a as getApiUrl, c as getToken, o as getProxyUrl } from "./auth-
|
|
11
|
-
import {
|
|
9
|
+
import { n as ensurePlatformProxyAccess } from "./cf-access-Dnyw8KFY.mjs";
|
|
10
|
+
import { a as getApiUrl, c as getToken, o as getProxyUrl } from "./auth-CCk9Seol.mjs";
|
|
11
|
+
import { d as stripInternalEnvKeys } from "./env-UqS-21xi.mjs";
|
|
12
12
|
import { i as collectFiles } from "./isr-config-Czzb4mIq.mjs";
|
|
13
|
-
import {
|
|
13
|
+
import { a as renderPrerenderPaths, i as renderBoundary404, n as outputFileForPath, r as readPrerenderPathsResponse } from "./prerender-render-BAdYhivW.mjs";
|
|
14
14
|
import { t as renderDefaultErrorPage } from "./error-pages-COVBnzK7.mjs";
|
|
15
|
-
import { a as buildEnv } from "./version-metadata-
|
|
15
|
+
import { a as buildEnv } from "./version-metadata-eUd6Ar_U.mjs";
|
|
16
16
|
import { existsSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from "node:fs";
|
|
17
17
|
import { isRecord } from "@void/deploy-core";
|
|
18
18
|
import { execFile } from "node:child_process";
|
|
19
|
+
import { PAGES_PROTOCOL_VERSION } from "@void/edge";
|
|
19
20
|
// src/prerender.ts
|
|
20
21
|
var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
21
22
|
const PRERENDER_PATHS_ENDPOINT = "/__void/prerender-paths";
|
|
@@ -147,7 +148,8 @@ async function createCloudflarePrerenderRunner(options) {
|
|
|
147
148
|
return mf.dispatchFetch(`http://localhost${path}`, { headers: {
|
|
148
149
|
Accept: "application/json",
|
|
149
150
|
Purpose: "prefetch",
|
|
150
|
-
"X-VoidPages": "true"
|
|
151
|
+
"X-VoidPages": "true",
|
|
152
|
+
"X-VoidPages-Version": PAGES_PROTOCOL_VERSION
|
|
151
153
|
} });
|
|
152
154
|
},
|
|
153
155
|
async close() {
|
|
@@ -178,15 +180,19 @@ async function prerenderPages(options) {
|
|
|
178
180
|
const runner = await createCloudflarePrerenderRunner(options);
|
|
179
181
|
try {
|
|
180
182
|
const paths = await runner.collectPaths();
|
|
181
|
-
if (paths.length === 0)
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
if (paths.length === 0) {
|
|
184
|
+
await renderBoundary404(options.clientDir, () => runner.fetchPath("/__void/static-not-found"));
|
|
185
|
+
return {
|
|
186
|
+
paths,
|
|
187
|
+
rendered: [],
|
|
188
|
+
failed: []
|
|
189
|
+
};
|
|
190
|
+
}
|
|
186
191
|
const result = await renderPrerenderPaths(paths, options.clientDir, (path) => runner.fetchPath(path), (path) => runner.fetchPageData(path), (path, outputFile, error) => {
|
|
187
192
|
if (error !== void 0) voidWarn(`prerender ${path} failed: ${error}`);
|
|
188
193
|
else voidLog(`prerender ${import_picocolors.default.blue(outputFile)}`);
|
|
189
194
|
});
|
|
195
|
+
await renderBoundary404(options.clientDir, () => runner.fetchPath("/__void/static-not-found"));
|
|
190
196
|
ensureStatic404(options.clientDir);
|
|
191
197
|
return {
|
|
192
198
|
paths,
|
|
@@ -202,7 +208,7 @@ async function runNodePrerenderRunner(root, config) {
|
|
|
202
208
|
writeFileSync(runnerPath, `
|
|
203
209
|
import { pathToFileURL } from "node:url";
|
|
204
210
|
import { dirname, join } from "node:path";
|
|
205
|
-
import { readPrerenderPathsResponse, renderPrerenderPaths } from ${JSON.stringify(nodeRendererUrl)};
|
|
211
|
+
import { readPrerenderPathsResponse, renderPrerenderPaths, renderBoundary404 } from ${JSON.stringify(nodeRendererUrl)};
|
|
206
212
|
|
|
207
213
|
const config = JSON.parse(process.argv[2]);
|
|
208
214
|
const { mode, ssrDir, clientDir } = config;
|
|
@@ -232,8 +238,10 @@ async function renderPaths(paths) {
|
|
|
232
238
|
paths, clientDir,
|
|
233
239
|
(path) => fetch(new Request("http://localhost" + path)),
|
|
234
240
|
(path) => fetch(new Request("http://localhost" + path, {
|
|
235
|
-
headers: { "Accept": "application/json", "Purpose": "prefetch", "X-VoidPages": "true" },
|
|
241
|
+
headers: { "Accept": "application/json", "Purpose": "prefetch", "X-VoidPages": "true", "X-VoidPages-Version": ${JSON.stringify(PAGES_PROTOCOL_VERSION)} },
|
|
236
242
|
})),
|
|
243
|
+
undefined,
|
|
244
|
+
"node",
|
|
237
245
|
);
|
|
238
246
|
}
|
|
239
247
|
|
|
@@ -242,6 +250,7 @@ if (mode === "collect") {
|
|
|
242
250
|
} else {
|
|
243
251
|
const paths = await collectPaths();
|
|
244
252
|
const result = await renderPaths(paths);
|
|
253
|
+
if (clientDir) await renderBoundary404(clientDir, () => fetch(new Request("http://localhost/__void/static-not-found"), { __VOID_PRERENDER: "1" }));
|
|
245
254
|
process.stdout.write(JSON.stringify({ paths, ...result }));
|
|
246
255
|
}
|
|
247
256
|
`);
|
|
@@ -292,7 +301,7 @@ async function prerenderPagesNode(options) {
|
|
|
292
301
|
});
|
|
293
302
|
if (result.paths.length === 0) return result;
|
|
294
303
|
ensureStatic404(options.clientDir);
|
|
295
|
-
for (const path of result.rendered) voidLog(`prerender ${import_picocolors.default.blue(outputFileForPath(path))}`);
|
|
304
|
+
for (const path of result.rendered) voidLog(`prerender ${import_picocolors.default.blue(outputFileForPath(path, "node"))}`);
|
|
296
305
|
for (const { path, error } of result.failed) voidWarn(`prerender ${path} failed: ${error}`);
|
|
297
306
|
return result;
|
|
298
307
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as join, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
2
|
import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
|
|
3
|
+
import { a as unwrapStaticExpression, o as bindingNames, s as bindingResolver } from "./static-exports-DFkzL-NX.mjs";
|
|
3
4
|
import { n as isIdentifier, o as moduleExportName } from "./ast-Cv0JwXqb.mjs";
|
|
4
|
-
import { n as bindingResolver, o as unwrapStaticExpression, t as bindingNames } from "./ast-bindings-BkivMJIo.mjs";
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
6
6
|
import { parseSync } from "vite";
|
|
7
7
|
// src/ssr/entry.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { H as outro, L as log } from "./dist-STQXl8ck.mjs";
|
|
1
2
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
+
import { r as generateEnvTypes, t as findEnvFile } from "./env-types-Dz9qkiOn.mjs";
|
|
4
|
+
import { c as getToken } from "./auth-CCk9Seol.mjs";
|
|
5
|
+
import { r as PlatformClient } from "./client-SZPyj4X_.mjs";
|
|
6
|
+
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-BpCCQE_6.mjs";
|
|
7
|
+
import { m as printSuccess, p as note } from "./output-DNVILSz2.mjs";
|
|
2
8
|
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
3
|
-
import { c as getToken } from "./auth-Dy8svcqQ.mjs";
|
|
4
|
-
import { r as generateEnvTypes, t as findEnvFile } from "./env-types-Bd8DkQhl.mjs";
|
|
5
|
-
import { H as outro, L as log } from "./dist-D23AAMxT.mjs";
|
|
6
|
-
import { r as PlatformClient } from "./client-CoxPEhJq.mjs";
|
|
7
|
-
import { m as printSuccess, p as note } from "./output-BCdLioKP.mjs";
|
|
8
|
-
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-Del3C8AY.mjs";
|
|
9
9
|
import { mkdirSync, writeFileSync } from "node:fs";
|
|
10
10
|
// src/cli/env.ts
|
|
11
11
|
async function runEnvCommand(root, args) {
|
|
@@ -25,7 +25,7 @@ async function runCheck(root, useRemoteSecrets) {
|
|
|
25
25
|
const platform = readDeploymentPlatform(root);
|
|
26
26
|
if (platform === "none") throw new Error("env: Deployment is disabled. Run `void init` to choose a platform.");
|
|
27
27
|
if (platform === "cloudflare") {
|
|
28
|
-
const { listCloudflareSecrets, resolveCloudflareOperationContext } = await import("./cloudflare-operations-
|
|
28
|
+
const { listCloudflareSecrets, resolveCloudflareOperationContext } = await import("./cloudflare-operations-DATekLwI.mjs");
|
|
29
29
|
remoteSecrets = await listCloudflareSecrets(resolveCloudflareOperationContext(root));
|
|
30
30
|
} else {
|
|
31
31
|
const token = getToken(root);
|
|
@@ -39,6 +39,13 @@ function findLegacyEnvFiles(root) {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
+
* Sentence to append to a legacy-file error when `.env.example` is among the
|
|
43
|
+
* files, since it is usually added out of habit to document expected keys.
|
|
44
|
+
*/
|
|
45
|
+
function legacyEnvExampleHint(legacyFiles) {
|
|
46
|
+
return legacyFiles.includes(".env.example") ? " env.ts lists the keys this app expects, so .env.example is not needed." : "";
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
42
49
|
* Resolve whether the plugin should run in "remote" mode (proxy real
|
|
43
50
|
* D1/KV/R2 via the platform) based on the project config plus an optional
|
|
44
51
|
* `VOID_REMOTE` env override.
|
|
@@ -116,4 +123,4 @@ function stripInternalEnvKeys(input) {
|
|
|
116
123
|
stripped
|
|
117
124
|
};
|
|
118
125
|
}
|
|
119
|
-
export { findReservedEnvKeys as a,
|
|
126
|
+
export { findReservedEnvKeys as a, loadLocalEnv as c, stripInternalEnvKeys as d, findLegacyEnvFiles as i, reservedEnvKeysMessage as l, CLOUDFLARE_QUEUE_NAMES_BUILD_ENV as n, isClientEnvKey as o, LOCAL_ENV_FILE as r, legacyEnvExampleHint as s, CLOUDFLARE_DEPLOY_BUILD_ENV as t, resolveRemoteMode as u };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// src/shared/env-mask.ts
|
|
2
|
+
/**
|
|
3
|
+
* Secret redaction helpers for env-validation output.
|
|
4
|
+
*
|
|
5
|
+
* Values are redacted (replaced with `<redacted>`) whenever they flow into
|
|
6
|
+
* a user-visible string — `EnvValidationError` messages, CLI reports, the
|
|
7
|
+
* dev-server warning block. The key name is never masked (the user needs
|
|
8
|
+
* it to locate the offending entry).
|
|
9
|
+
*
|
|
10
|
+
* Server env values are production secrets by definition, so validator
|
|
11
|
+
* messages redact the raw input unconditionally.
|
|
12
|
+
*
|
|
13
|
+
* Users can opt out of the guard for local debugging via
|
|
14
|
+
* `VOID_ENV_UNMASK=1` in the environment; that path prints a one-shot
|
|
15
|
+
* notice on stderr so the loosened output is visibly attributed.
|
|
16
|
+
*
|
|
17
|
+
* This module is a leaf — no imports from non-leaf modules, safe to reach
|
|
18
|
+
* from both the runtime (worker bundle) and the CLI host.
|
|
19
|
+
*/
|
|
20
|
+
/** Sentinel emitted in place of a redacted value. */
|
|
21
|
+
const REDACTED = "<redacted>";
|
|
22
|
+
/** Environment variable that disables redaction when set to `1`. */
|
|
23
|
+
const UNMASK_ENV_VAR = "VOID_ENV_UNMASK";
|
|
24
|
+
/** Replace raw input in validator messages, regardless of its name or shape. */
|
|
25
|
+
function redactMessage(rawValue, message, options = {}) {
|
|
26
|
+
if (options.unmask) return message;
|
|
27
|
+
if (typeof rawValue !== "string" || rawValue.length === 0) return message;
|
|
28
|
+
return message.split(rawValue).join(REDACTED);
|
|
29
|
+
}
|
|
30
|
+
let unmaskResolved = null;
|
|
31
|
+
/**
|
|
32
|
+
* Resolve the effective unmask flag, consulting `process.env` exactly once
|
|
33
|
+
* per process. On the first affirmative read, we print a one-shot notice to
|
|
34
|
+
* stderr so CI logs clearly show the guard is off.
|
|
35
|
+
*/
|
|
36
|
+
function isUnmaskActive() {
|
|
37
|
+
if (unmaskResolved !== null) return unmaskResolved;
|
|
38
|
+
try {
|
|
39
|
+
unmaskResolved = globalThis.process?.env?.[UNMASK_ENV_VAR] === "1";
|
|
40
|
+
} catch {
|
|
41
|
+
unmaskResolved = false;
|
|
42
|
+
}
|
|
43
|
+
if (unmaskResolved) console.error(`[void/env] ${UNMASK_ENV_VAR}=1 is set — env validation errors will include raw values. Unset it before sharing logs.`);
|
|
44
|
+
return unmaskResolved;
|
|
45
|
+
}
|
|
46
|
+
export { redactMessage as n, isUnmaskActive as t };
|
|
@@ -25,10 +25,12 @@ type InferEnv<S extends AnySchema> = { readonly [K in keyof S]: StandardSchemaV1
|
|
|
25
25
|
*/
|
|
26
26
|
declare function defineEnv<S extends AnySchema>(schema: S): InferEnv<S>;
|
|
27
27
|
/**
|
|
28
|
-
* Internal: validate the whole schema against the worker env
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
28
|
+
* Internal: validate the whole schema against the worker env, from the generated
|
|
29
|
+
* worker entry. Catches remote-secret values the deploy CLI cannot see. A
|
|
30
|
+
* completed validation is reused for the same raw values; an env with other
|
|
31
|
+
* values is validated again. Async validators are awaited here, and their values
|
|
32
|
+
* serve later synchronous `env.X` reads of the env this call receives, and of any
|
|
33
|
+
* other env that holds the same raw values.
|
|
32
34
|
*/
|
|
33
35
|
declare function _validateEnvOnce(envValues: unknown): Promise<void>;
|
|
34
36
|
/** Internal: framework-only access to the registered schema (for plugin/CLI). */
|
|
@@ -73,9 +75,8 @@ type EnvValidationReport = {
|
|
|
73
75
|
messages: Array<string>;
|
|
74
76
|
}>;
|
|
75
77
|
/**
|
|
76
|
-
* Resolved values for keys that validated successfully.
|
|
77
|
-
*
|
|
78
|
-
* cache.
|
|
78
|
+
* Resolved values for keys that validated successfully. After async
|
|
79
|
+
* pre-validation they serve sync `env.X` reads.
|
|
79
80
|
*/
|
|
80
81
|
values: Map<string, unknown>;
|
|
81
82
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as join, c as resolve, n as dirname } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
+
import { t as findEnvFile } from "./env-types-Dz9qkiOn.mjs";
|
|
3
|
+
import { t as loadUserEnvFile } from "./load-user-env-CSwdofj0.mjs";
|
|
2
4
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
3
|
-
import { n as readGeneratedWranglerConfigFile } from "./generated-wrangler-config-CoDaaFsA.mjs";
|
|
4
5
|
import { n as scanWranglerDotenvKeys } from "./dotenv-CEI8hapP.mjs";
|
|
5
|
-
import { a as findReservedEnvKeys, c as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { l as resolveCloudflareOperationArgv, n as decodeCloudflareOperationResult, r as encodeCloudflareOperation } from "./cloudflare-process-D9aC-jXr.mjs";
|
|
6
|
+
import { a as findReservedEnvKeys, c as loadLocalEnv, i as findLegacyEnvFiles, l as reservedEnvKeysMessage, o as isClientEnvKey, r as LOCAL_ENV_FILE, s as legacyEnvExampleHint } from "./env-UqS-21xi.mjs";
|
|
7
|
+
import { l as resolveCloudflareOperationArgv, n as decodeCloudflareOperationResult, r as encodeCloudflareOperation } from "./cloudflare-process-DmTxZR-N.mjs";
|
|
8
|
+
import { n as readGeneratedWranglerConfigFile } from "./generated-wrangler-config-CoDaaFsA.mjs";
|
|
9
9
|
import { existsSync, readFileSync } from "node:fs";
|
|
10
10
|
import { spawn } from "node:child_process";
|
|
11
11
|
import { parseRootWranglerConfig, readWranglerTopLevelString } from "@void/deploy-cloudflare";
|
|
@@ -50,7 +50,7 @@ function emptyReport() {
|
|
|
50
50
|
*/
|
|
51
51
|
async function validateProdEnv(root, options) {
|
|
52
52
|
const legacyFiles = findLegacyEnvFiles(root);
|
|
53
|
-
if (legacyFiles.length > 0) throw new Error(`env: only .env is supported for local development. Remove ${legacyFiles.join(", ")} and follow the env migration guide
|
|
53
|
+
if (legacyFiles.length > 0) throw new Error(`env: only .env is supported for local development. Remove ${legacyFiles.join(", ")} and follow the env migration guide.${legacyEnvExampleHint(legacyFiles)}`);
|
|
54
54
|
const reservedInDotenv = options.productionOnly ? [] : findReservedEnvKeys(scanWranglerDotenvKeys(join(root, LOCAL_ENV_FILE)));
|
|
55
55
|
if (reservedInDotenv.length > 0) throw new Error(`env: ${reservedEnvKeysMessage(".env", reservedInDotenv)}`);
|
|
56
56
|
const envFile = findEnvFile(root);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as SelfHostSchemaError, a as computeInvalidEmittedKeys, c as deriveSelfHostSchemaFacts, p as readEmittedWorkerVars } from "./env-validation-
|
|
1
|
+
export { r as SelfHostSchemaError, a as computeInvalidEmittedKeys, c as deriveSelfHostSchemaFacts, p as readEmittedWorkerVars } from "./env-validation-BpCCQE_6.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as interpolateRouteParams } from "./route-url-CRDF-I0I.mjs";
|
|
2
1
|
import { n as createFetch } from "./fetch-error-DmlRM6e4.mjs";
|
|
2
|
+
import { t as interpolateRouteParams } from "./route-url-CfCR4oMj.mjs";
|
|
3
3
|
// src/runtime/fetch.ts
|
|
4
4
|
const browserFetch = createRouteFetch((...args) => globalThis.fetch(...args));
|
|
5
5
|
async function fetch(path, options) {
|
|
@@ -17,7 +17,7 @@ type FetchErrorConstructor = new <T = unknown>(message: string, opts?: {
|
|
|
17
17
|
}) => FetchError<T>;
|
|
18
18
|
declare const FetchError: FetchErrorConstructor;
|
|
19
19
|
type MethodsOf<P extends keyof RouteMap> = keyof RouteMap[P] & string;
|
|
20
|
-
type DefaultMethod<P extends keyof RouteMap> = "GET" extends MethodsOf<P> ? "GET" :
|
|
20
|
+
type DefaultMethod<P extends keyof RouteMap> = "GET" extends MethodsOf<P> ? "GET" : MethodsOf<P>;
|
|
21
21
|
type RouteEntry<P extends keyof RouteMap, M extends MethodsOf<P>> = RouteMap[P][M] extends {
|
|
22
22
|
input: infer I;
|
|
23
23
|
output: infer O;
|
|
@@ -53,7 +53,9 @@ type FetchOptions<P extends keyof RouteMap, M extends MethodsOf<P>> = BodyOption
|
|
|
53
53
|
baseURL?: string;
|
|
54
54
|
retry?: number;
|
|
55
55
|
timeout?: number;
|
|
56
|
-
}
|
|
56
|
+
} & ("GET" extends M ? unknown : {
|
|
57
|
+
method: M;
|
|
58
|
+
});
|
|
57
59
|
type UntypedFetchOptions = {
|
|
58
60
|
method?: string;
|
|
59
61
|
params?: Record<string, string>;
|
|
@@ -75,10 +77,10 @@ type UntypedFetchOptions = {
|
|
|
75
77
|
* import { fetch } from "void/client";
|
|
76
78
|
*
|
|
77
79
|
* const users = await fetch("/api/users"); // typed!
|
|
78
|
-
* const user = await fetch("/api/users
|
|
80
|
+
* const user = await fetch("/api/users/[id]", { params: { id: "1" } });
|
|
79
81
|
* ```
|
|
80
82
|
*/
|
|
81
|
-
declare function fetch<P extends keyof RouteMap & string>(path: HasRequiredInput<P, DefaultMethod<P>> extends false ? P : never): Promise<OutputOf<P, DefaultMethod<P>>>;
|
|
83
|
+
declare function fetch<P extends keyof RouteMap & string>(path: "GET" extends MethodsOf<P> ? HasRequiredInput<P, DefaultMethod<P>> extends false ? P : never : never): Promise<OutputOf<P, DefaultMethod<P>>>;
|
|
82
84
|
declare function fetch<P extends keyof RouteMap & string, M extends MethodsOf<P> = DefaultMethod<P>>(path: P, options: FetchOptions<P, M>): Promise<OutputOf<P, M>>;
|
|
83
85
|
/** Apply the same route interpolation and request options to browser and server transports. */
|
|
84
86
|
declare function createRouteFetch(transport: typeof globalThis.fetch): (path: string, options?: UntypedFetchOptions) => Promise<unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as interpolateRouteParams } from "./route-url-CRDF-I0I.mjs";
|
|
2
1
|
import { r as ofetch, t as FetchError } from "./fetch-error-DmlRM6e4.mjs";
|
|
3
2
|
import { n as asUsageLimit, r as limitFromResponse } from "./limits-CrHLm5Tk.mjs";
|
|
3
|
+
import { t as interpolateRouteParams } from "./route-url-CfCR4oMj.mjs";
|
|
4
4
|
// src/runtime/fetch-stream.ts
|
|
5
5
|
/**
|
|
6
6
|
* Consume an SSE endpoint as an async generator of text chunks.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as QueryOption, n as MethodsOf, r as ParamsOption, t as BodyOption } from "./fetch-
|
|
1
|
+
import { i as QueryOption, n as MethodsOf, r as ParamsOption, t as BodyOption } from "./fetch-CbI6lNnk.mjs";
|
|
2
2
|
import { RouteMap } from "void/routes";
|
|
3
3
|
type InputOf<P extends keyof RouteMap, M extends MethodsOf<P>> = RouteMap[P][M] extends {
|
|
4
4
|
input: infer I;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as runGenCommand } from "./gen-upKJChvd.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { K as select, L as log, O as cancel, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
1
2
|
import { a as join, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
3
|
+
import { l as getDatabaseDialect, p as readConfig } from "./config-5oSQhZNj.mjs";
|
|
4
|
+
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-DcqUBGCb.mjs";
|
|
5
|
+
import { n as snapshotDrizzleOutputs } from "./generate-CWb8aOsm.mjs";
|
|
4
6
|
import { n as readJournal, t as collectMigrations } from "./collect-C6Blu9yw.mjs";
|
|
5
|
-
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-CNDjO-15.mjs";
|
|
6
7
|
import { t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { m as printSuccess } from "./output-
|
|
8
|
+
import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
|
|
9
|
+
import { m as printSuccess } from "./output-DNVILSz2.mjs";
|
|
9
10
|
import { n as drizzleKitBin, t as buildDrizzleKitSpawnEnv } from "./yarn-pnp-DgWbE7z5.mjs";
|
|
10
|
-
import { n as snapshotDrizzleOutputs } from "./generate-CWb8aOsm.mjs";
|
|
11
11
|
import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
|
|
12
12
|
import { spawnSync } from "node:child_process";
|
|
13
13
|
// src/cli/gen.ts
|
|
@@ -329,7 +329,7 @@ async function runModel(root, name, columns) {
|
|
|
329
329
|
const existing = readFileSync(barrelPath, "utf-8");
|
|
330
330
|
if (!existing.includes(exportLine)) writeFileSync(barrelPath, existing.trimEnd() + "\n" + exportLine + "\n");
|
|
331
331
|
} else writeFileSync(barrelPath, exportLine + "\n");
|
|
332
|
-
const { prepareProject } = await import("./prepare-
|
|
332
|
+
const { prepareProject } = await import("./prepare-a1_5usAn.mjs");
|
|
333
333
|
await prepareProject(root);
|
|
334
334
|
log.step(`Created ${relative(root, modelPath)}`);
|
|
335
335
|
log.step(`Updated ${relative(root, barrelPath)}`);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as getToken, n as createCodeChallenge, r as createCodeVerifier, t as awaitBrowserCallback, u as openBrowser } from "./auth-
|
|
3
|
-
import {
|
|
4
|
-
import { c as platformErrorMessage, n as PlatformApiError, r as PlatformClient, s as parsePlatformErrorBody } from "./client-CoxPEhJq.mjs";
|
|
5
|
-
import { f as import_picocolors, l as formatUrl, m as printSuccess } from "./output-BCdLioKP.mjs";
|
|
6
|
-
import { a as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-D0YNnJfm.mjs";
|
|
1
|
+
import { A as confirm, K as select, L as log, O as cancel, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
2
|
+
import { c as getToken, n as createCodeChallenge, r as createCodeVerifier, t as awaitBrowserCallback, u as openBrowser } from "./auth-CCk9Seol.mjs";
|
|
3
|
+
import { c as platformErrorMessage, n as PlatformApiError, r as PlatformClient, s as parsePlatformErrorBody } from "./client-SZPyj4X_.mjs";
|
|
7
4
|
import { t as collectGitDeployMetadata } from "./git-metadata-Cukp5kV5.mjs";
|
|
5
|
+
import { f as import_picocolors, l as formatUrl, m as printSuccess } from "./output-DNVILSz2.mjs";
|
|
6
|
+
import { r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
7
|
+
import { a as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-Da3OgCU1.mjs";
|
|
8
8
|
import { randomBytes } from "node:crypto";
|
|
9
9
|
// src/cli/github-cmd.ts
|
|
10
10
|
/**
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { l as VoidPlatformSandbox } from "./sandbox-DE1WsxuB.mjs";
|
|
2
|
-
import { t as StandardSchemaV1 } from "./standard-schema-CuDawHOC.mjs";
|
|
3
2
|
import { n as HeadDescriptor } from "./head-MeF_5M_3.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as DevCssAsset } from "./types-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import { i as AuthUser, n as AuthSession } from "./auth-Bk9VGtQW.mjs";
|
|
4
|
+
import { u as TypedRoutes } from "./route-url-C3JwYrER.mjs";
|
|
5
|
+
import { t as DevCssAsset } from "./types-IPut3_Yx.mjs";
|
|
6
|
+
import { t as StandardSchemaV1 } from "./standard-schema-CuDawHOC.mjs";
|
|
7
|
+
import { Context, Env, ExecutionContext as ExecutionContext$1, MiddlewareHandler, Next, TypedResponse } from "hono";
|
|
8
|
+
import { RewriteDestination, RouteDestination, RouteUrl, RouteUrlInput } from "void/routes";
|
|
9
|
+
import { RedirectStatusCode } from "hono/utils/http-status";
|
|
9
10
|
type ClientAssetTags = {
|
|
10
11
|
css: string;
|
|
11
12
|
preloads: string;
|
|
@@ -69,12 +70,18 @@ type WorkerFetchOptions = {
|
|
|
69
70
|
remoteEnv?: (env: RuntimeEnvironment) => RuntimeEnvironment;
|
|
70
71
|
internalRoute: (request: Request, env: RuntimeEnvironment, ctx: ExecutionContext$1) => Promise<Response | null>;
|
|
71
72
|
collectPrerenderPaths: (request: Request, env: RuntimeEnvironment, ctx: ExecutionContext$1) => Promise<Array<string>>;
|
|
73
|
+
staticNotFound?: (request: Request, env: RuntimeEnvironment) => Promise<Response>;
|
|
72
74
|
emailReceipt?: (request: Request, env: RuntimeEnvironment, ctx: ExecutionContext$1) => Promise<Response>;
|
|
73
75
|
isr?: {
|
|
74
76
|
deploymentId: string;
|
|
75
77
|
handle: (request: Request, env: RuntimeEnvironment, ctx: ExecutionContext$1, render: (request: Request) => Promise<Response>) => Promise<Response | null>;
|
|
76
78
|
};
|
|
77
79
|
};
|
|
80
|
+
/**
|
|
81
|
+
* Answer the prerender runner. A getPrerenderPaths() error is returned in the
|
|
82
|
+
* body so the build can show which page and entry to fix, not only HTTP 500.
|
|
83
|
+
*/
|
|
84
|
+
declare function prerenderPathsResponse(collect: () => Promise<Array<string>>): Promise<Response>;
|
|
78
85
|
declare function createWorkerFetch(options: WorkerFetchOptions): (request: Request, env: RuntimeEnvironment, ctx: ExecutionContext$1) => Promise<Response>;
|
|
79
86
|
type ValidatorSlots = {
|
|
80
87
|
body?: StandardSchemaV1;
|
|
@@ -226,8 +233,15 @@ declare module "hono" {
|
|
|
226
233
|
*
|
|
227
234
|
* This is the type of the `c` parameter in route handlers and middleware
|
|
228
235
|
* created with {@link defineHandler} and {@link defineMiddleware}.
|
|
236
|
+
* `redirect` accepts a {@link RouteUrlInput}.
|
|
229
237
|
*/
|
|
230
|
-
|
|
238
|
+
interface CloudContext extends Context<CloudEnv> {
|
|
239
|
+
redirect<T extends RedirectStatusCode = 302>(this: never, location: string | URL, status?: T): Response & TypedResponse<undefined, T, "redirect">;
|
|
240
|
+
redirect<T extends RedirectStatusCode = 302>(location: RouteUrlInput, status?: T): Response & TypedResponse<undefined, T, "redirect">;
|
|
241
|
+
set: {
|
|
242
|
+
set(this: never, key: PropertyKey, value: unknown): void;
|
|
243
|
+
}["set"] & Context<CloudEnv>["set"];
|
|
244
|
+
}
|
|
231
245
|
type HandlerFn = (c: CloudContext) => unknown | Promise<unknown>;
|
|
232
246
|
type LoaderFn<R> = (c: CloudContext) => R | Response | Promise<R | Response>;
|
|
233
247
|
type LoaderOutput<F extends HandlerFn> = Exclude<Awaited<ReturnType<F>>, Response>;
|
|
@@ -359,4 +373,4 @@ declare function defineHead<P = Record<string, unknown>>(handler: (c: CloudConte
|
|
|
359
373
|
* At runtime it simply returns the function passed to it.
|
|
360
374
|
*/
|
|
361
375
|
declare function defineQueue<T = unknown>(handler: QueueFn<T>): TypedQueueHandler<T>;
|
|
362
|
-
export { filterInternalBindings as A, defer as C, runValidation as D, ValidatorSlots as E,
|
|
376
|
+
export { filterInternalBindings as A, defer as C, runValidation as D, ValidatorSlots as E, ClientAssetTags as M, createClientAssetTags as N, createAssetFallback as O, createManifestLoader as P, InferProps as S, HandlerInput as T, defineQueue as _, CloudEnv as a, Deferred as b, QueueRetryOptions as c, TypedQueueHandler as d, VoidAssetRewriteError as f, defineMiddleware as g, defineHead as h, CloudContextVariables as i, prerenderPathsResponse as j, createWorkerFetch as k, RenderAssetTags as l, defineHandler as m, CloudBindings as n, QueueBatch as o, basicAuth as p, CloudContext as r, QueueMessage as s, BasicAuthOptions as t, TypedHandler as u, defineRender as v, ValidationError as w, DeferredState as x, defineScheduled as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as base64ToBytes } from "./base64-ikl9yBy3.mjs";
|
|
2
2
|
import { a as executeComposedHandler, s as setHandlerComposition } from "./validation-error-uAAjlsiW.mjs";
|
|
3
3
|
import { t as convertReturnValue } from "./response-HmNjB30w.mjs";
|
|
4
|
-
import { t as runValidation } from "./validator-
|
|
4
|
+
import { t as runValidation } from "./validator-8-NZs2Xr.mjs";
|
|
5
5
|
// src/runtime/handler.ts
|
|
6
6
|
/**
|
|
7
7
|
* Thrown when `c.rewrite()` is called with a destination whose final path
|
|
@@ -27,11 +27,12 @@ function defineHandler(...args) {
|
|
|
27
27
|
(function(_defineHandler) {
|
|
28
28
|
function withValidator(validators) {
|
|
29
29
|
return (handler) => {
|
|
30
|
-
|
|
30
|
+
const leaf = async (c) => {
|
|
31
31
|
const result = await runValidation(validators, c);
|
|
32
32
|
if (!result.ok) return result.response;
|
|
33
|
-
return
|
|
34
|
-
}
|
|
33
|
+
return handler(c, result.input);
|
|
34
|
+
};
|
|
35
|
+
return setHandlerComposition(async (c) => convertReturnValue(await leaf(c)), [], leaf);
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
_defineHandler.withValidator = withValidator;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { a as convertRewritesConfig, d as isProtocolRelative, f as parseHostPrefixedSource, i as convertRedirectsConfig, n as convertFallbacksConfig, o as countSplats, r as convertHeadersConfig, t as VALID_REDIRECT_STATUSES } from "./config-
|
|
2
|
+
import { a as convertRewritesConfig, d as isProtocolRelative, f as parseHostPrefixedSource, i as convertRedirectsConfig, n as convertFallbacksConfig, o as countSplats, r as convertHeadersConfig, t as VALID_REDIRECT_STATUSES } from "./config-5oSQhZNj.mjs";
|
|
3
3
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
5
5
|
// src/asset-routing.ts
|
|
@@ -178,7 +178,7 @@ function resolveStaticPageBypass(facts, assetsDir, files) {
|
|
|
178
178
|
if (!assetsDir || !isPlainPath(assetsDir)) return null;
|
|
179
179
|
rules.add("/" + assetsDir + "/*");
|
|
180
180
|
} else if (files.length > 0) headers = renderGeneratedAssetHeaders(files);
|
|
181
|
-
const runWorkerFirst = [...VOID_INTERNAL_WORKER_FIRST, ...[...rules].sort()];
|
|
181
|
+
const runWorkerFirst = withoutRedundantRules([...VOID_INTERNAL_WORKER_FIRST, ...[...rules].sort()]);
|
|
182
182
|
return fitsRunWorkerFirstLimits(runWorkerFirst) ? {
|
|
183
183
|
runWorkerFirst,
|
|
184
184
|
headers
|
|
@@ -199,6 +199,15 @@ function workerPathRules(pattern) {
|
|
|
199
199
|
const rule = "/" + prefix + "/*";
|
|
200
200
|
return dynamic === segments.length - 1 && segments[dynamic] === "*" ? ["/" + prefix, rule] : [rule];
|
|
201
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Leaves out each rule that a `/prefix/*` rule in the list already matches.
|
|
204
|
+
* Cloudflare rejects a list with such a rule ("rule '/blog/*' makes it
|
|
205
|
+
* redundant"), and the wider rule already sends those paths to the Worker.
|
|
206
|
+
*/
|
|
207
|
+
function withoutRedundantRules(rules) {
|
|
208
|
+
const prefixes = rules.filter((rule) => rule.endsWith("/*")).map((rule) => rule.slice(0, -1));
|
|
209
|
+
return rules.filter((rule) => !prefixes.some((prefix) => rule !== prefix + "*" && rule.startsWith(prefix)));
|
|
210
|
+
}
|
|
202
211
|
function fitsRunWorkerFirstLimits(rules) {
|
|
203
212
|
return rules.length <= MAX_RUN_WORKER_FIRST_RULES && rules.every((rule) => rule.length <= MAX_RUN_WORKER_FIRST_RULE_LENGTH);
|
|
204
213
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as printHelpPage } from "./help-TPCjTu6e.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { H as outro } from "./dist-
|
|
1
|
+
import { H as outro } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { n as getOwnVersion } from "./agents-DRo8gzni.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { n as operatorGroups, t as operatorCommands } from "./operator-args-DGTuCdSE.mjs";
|
|
4
|
+
import { d as helpLine, f as import_picocolors, g as sectionTitle, l as formatUrl, p as note, t as categoryTitle } from "./output-DNVILSz2.mjs";
|
|
5
5
|
// src/cli/ascii.ts
|
|
6
6
|
const asciiArts = [
|
|
7
7
|
`
|
|
@@ -192,6 +192,10 @@ const HELP_TREE = {
|
|
|
192
192
|
command: "--skip-build",
|
|
193
193
|
description: "Skip the build step and use existing output (static deploys on Cloudflare)"
|
|
194
194
|
},
|
|
195
|
+
{
|
|
196
|
+
command: "--skip-migrations",
|
|
197
|
+
description: "Deploy without applying application or authentication database migrations"
|
|
198
|
+
},
|
|
195
199
|
{
|
|
196
200
|
command: "--platform <cloudflare|void>",
|
|
197
201
|
description: "Override the platform saved by void init"
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import {
|
|
3
|
-
import { s as RouteEnvironment } from "./types-agfx0alu.mjs";
|
|
4
|
-
import { C as defer, E as ValidatorSlots, S as InferProps, T as HandlerInput, _ as defineQueue, a as CloudEnv, b as Deferred, c as QueueRetryOptions, d as TypedQueueHandler, f as VoidAssetRewriteError, g as defineMiddleware, h as defineHead, i as CloudContextVariables, l as RenderAssetTags, m as defineHandler, o as QueueBatch, p as basicAuth, r as CloudContext, s as QueueMessage, t as BasicAuthOptions, u as TypedHandler, v as defineRender, x as DeferredState, y as defineScheduled } from "./handler-BR6Tvjkp.mjs";
|
|
1
|
+
import { C as defer, E as ValidatorSlots, S as InferProps, T as HandlerInput, _ as defineQueue, a as CloudEnv, b as Deferred, c as QueueRetryOptions, d as TypedQueueHandler, f as VoidAssetRewriteError, g as defineMiddleware, h as defineHead, i as CloudContextVariables, l as RenderAssetTags, m as defineHandler, n as CloudBindings, o as QueueBatch, p as basicAuth, r as CloudContext, s as QueueMessage, t as BasicAuthOptions, u as TypedHandler, v as defineRender, x as DeferredState, y as defineScheduled } from "./handler-BO7Od-z9.mjs";
|
|
2
|
+
import { i as AuthUser } from "./auth-Bk9VGtQW.mjs";
|
|
5
3
|
import { t as QueueMap } from "./queues-DdM42xXW.mjs";
|
|
4
|
+
import { n as HeadDescriptor } from "./head-MeF_5M_3.mjs";
|
|
5
|
+
import { l as RouteEnvironment } from "./types-IPut3_Yx.mjs";
|
|
6
6
|
import { Plugin } from "vite";
|
|
7
7
|
import { convertToWranglerConfig } from "@cloudflare/config";
|
|
8
8
|
import { PluginConfig } from "@cloudflare/vite-plugin";
|
|
@@ -63,4 +63,4 @@ export declare function voidPlugin(options?: {
|
|
|
63
63
|
persistTo?: string;
|
|
64
64
|
auxiliaryWorkers?: Array<AuxiliaryWorkerConfig>;
|
|
65
65
|
}): Array<Plugin>;
|
|
66
|
-
export { type AuthUser, type BasicAuthOptions, type CloudContext, type CloudContextVariables, type CloudEnv, type Deferred, type DeferredState, type HandlerInput, type HeadDescriptor, type InferProps, type QueueBatch, type QueueMap, type QueueMessage, type QueueRetryOptions, type RenderAssetTags, type TypedHandler, type TypedQueueHandler, type ValidatorSlots, VoidAssetRewriteError, basicAuth, defer, defineHandler, defineHead, defineMiddleware, defineQueue, defineRender, defineScheduled };
|
|
66
|
+
export { type AuthUser, type BasicAuthOptions, type CloudBindings, type CloudContext, type CloudContextVariables, type CloudEnv, type Deferred, type DeferredState, type HandlerInput, type HeadDescriptor, type InferProps, type QueueBatch, type QueueMap, type QueueMessage, type QueueRetryOptions, type RenderAssetTags, type TypedHandler, type TypedQueueHandler, type ValidatorSlots, VoidAssetRewriteError, basicAuth, defer, defineHandler, defineHead, defineMiddleware, defineQueue, defineRender, defineScheduled };
|