cf 0.11.0 → 0.12.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/_meta/agent-context.json +3 -3
- package/dist/_meta/commands.json +149 -5
- package/dist/_meta/hand-written-commands.json +181 -5
- package/dist/{abuse-reports-sDBTV0qZ.mjs → abuse-reports-D40QFl-y.mjs} +1 -1
- package/dist/{access-DcNzuCue.mjs → access-Dl2IU1ID.mjs} +1 -1
- package/dist/{account-BX90zXn5.mjs → account-CPbieCZ4.mjs} +1 -1
- package/dist/{account-tags-Bz3JG5hI.mjs → account-tags-skfP7H8k.mjs} +1 -1
- package/dist/{accounts-DCuW3xyZ.mjs → accounts-CSgR6909.mjs} +1 -1
- package/dist/{acm-zjfShZLS.mjs → acm-CVvCTaNk.mjs} +1 -1
- package/dist/{addressing-DORQ64Ux.mjs → addressing-Uq5hEDDP.mjs} +1 -1
- package/dist/{agent-context-BgPR_aQr.mjs → agent-context-BvuDdaJb.mjs} +1 -1
- package/dist/{agent-memory-C0hAUMeC.mjs → agent-memory-BrHMIU0E.mjs} +1 -1
- package/dist/{ai-audit-DnU3vn3E.mjs → ai-audit-BoZuL84i.mjs} +1 -1
- package/dist/{ai-gateway-COOrr_Yw.mjs → ai-gateway-DE50Jem1.mjs} +1 -1
- package/dist/{ai-search-DKbN9Tyd.mjs → ai-search-Fx7NHCHB.mjs} +1 -1
- package/dist/{ai-security-C_I5lo58.mjs → ai-security-DyLbY9kv.mjs} +1 -1
- package/dist/{ai-BpEBGMT2.mjs → ai-v2fP1r0s.mjs} +1 -1
- package/dist/{alerting-4T8gmZs-.mjs → alerting-5mFZjTcD.mjs} +1 -1
- package/dist/{analytics-Bxh4TCP7.mjs → analytics-BygTfozw.mjs} +1 -1
- package/dist/{analytics_engine-fV56bjVN.mjs → analytics_engine-4L-q362P.mjs} +1 -1
- package/dist/{api-security-COk_i184.mjs → api-security-DjFsRYWx.mjs} +1 -1
- package/dist/{argo-DIRfvxvv.mjs → argo-TzXPN7tz.mjs} +1 -1
- package/dist/args-CDgWUP4J.mjs +2 -0
- package/dist/{artifacts-BBfXNfUg.mjs → artifacts-dEw2UUBV.mjs} +1 -1
- package/dist/{audit-logs-BlOrlAWe.mjs → audit-logs-CqY7zzwv.mjs} +1 -1
- package/dist/{auth-DPhNN3Ly.mjs → auth-CPLdkOC7.mjs} +1 -1
- package/dist/{auth-D3X9HYhD.mjs → auth-DY_Y2bXC.mjs} +2 -2
- package/dist/{billing-B9e4PnvN.mjs → billing-DHQuRT8S.mjs} +1 -1
- package/dist/{bot-management-D2JVeS-V.mjs → bot-management-CfqG79hF.mjs} +1 -1
- package/dist/{botnet-feed-BTzTYs5d.mjs → botnet-feed-BOeNnDoH.mjs} +1 -1
- package/dist/{brand-protection-C5Q6Gpw9.mjs → brand-protection-DYttrKIM.mjs} +1 -1
- package/dist/{browser-extension-u5uA0Lwk.mjs → browser-extension-CTUCdgfn.mjs} +1 -1
- package/dist/{browser-run-CHGOCTdG.mjs → browser-run-373D4e1i.mjs} +1 -1
- package/dist/build-D0ir_S70.mjs +2 -0
- package/dist/{cache-C6V7PbQM.mjs → cache-DJXBmc3w.mjs} +1 -1
- package/dist/{calls-Bye8Tyy-.mjs → calls-COO0Eoz1.mjs} +1 -1
- package/dist/{certificate-authorities-B-U_e6JJ.mjs → certificate-authorities-DbHLmKbd.mjs} +1 -1
- package/dist/{cf-Ds4JFovl.mjs → cf-yPz_IqW6.mjs} +11 -11
- package/dist/{chunk-LQW53VED-22IYZovK.mjs → chunk-LQW53VED-9MACsvSG.mjs} +25 -25
- package/dist/{chunk-QBZBEHZB-CKzQKcIp.mjs → chunk-QBZBEHZB-yeyhVUeD.mjs} +1 -1
- package/dist/{client-certificates-3RrC-6LG.mjs → client-certificates-RBRqYP3f.mjs} +1 -1
- package/dist/{client-side-security-DIdKvRMT.mjs → client-side-security-HOmA37et.mjs} +1 -1
- package/dist/{cloud-connector-CL1jPQud.mjs → cloud-connector-C7hw1c1f.mjs} +1 -1
- package/dist/{cloudforce-one-DULeqLkR.mjs → cloudforce-one-DLOj76q4.mjs} +1 -1
- package/dist/command-BV87D4tR.mjs +2 -0
- package/dist/{completions-CqgGKRAC.mjs → completions-BnD46cXe.mjs} +1 -1
- package/dist/config.d.mts +305 -332
- package/dist/config.mjs +1 -1
- package/dist/{connector-interrupts-CXlLObDv.mjs → connector-interrupts-DY-z_LrH.mjs} +1 -1
- package/dist/{connector-telemetry-events-BrYX4ig4.mjs → connector-telemetry-events-DCXmcAc9.mjs} +1 -1
- package/dist/{connector-telemetry-snapshots-BdeBQYcM.mjs → connector-telemetry-snapshots-D8GNuzx3.mjs} +1 -1
- package/dist/{connectors-BQwyBJ4_.mjs → connectors-fEOn-J_i.mjs} +1 -1
- package/dist/containers-BDBsEs7-.mjs +58 -0
- package/dist/{content-scan-DNzhXYkY.mjs → content-scan-Cmj9--XY.mjs} +1 -1
- package/dist/{csamScanner-CFq5s1Q3.mjs → csamScanner-BRXyMCyH.mjs} +1 -1
- package/dist/{ct-alerting-CH6UmsGQ.mjs → ct-alerting-9AvYys-f.mjs} +1 -1
- package/dist/{custom-certificates-DnG73Wg2.mjs → custom-certificates-C5qrlyhb.mjs} +1 -1
- package/dist/{custom-csrs-bhClr2SU.mjs → custom-csrs-BgOnTbBW.mjs} +1 -1
- package/dist/{custom-hostnames-C0eiGvG9.mjs → custom-hostnames-CbQD9aYo.mjs} +1 -1
- package/dist/{custom-nameservers-CVMhhLm6.mjs → custom-nameservers-2ZajBkRC.mjs} +1 -1
- package/dist/{custom-pages-DTINMR30.mjs → custom-pages-Buki_Cb8.mjs} +1 -1
- package/dist/{d1-sKdExJYF.mjs → d1-n2in0cSF.mjs} +1 -1
- package/dist/{data-security-mV3a6UfW.mjs → data-security-DzOQMkv3.mjs} +1 -1
- package/dist/{dcv-delegation-dBu3jdRw.mjs → dcv-delegation-BTP9LCOm.mjs} +1 -1
- package/dist/deploy-BUSz35vq.mjs +2 -0
- package/dist/deploy-input-BvD9aRP1.mjs +2 -0
- package/dist/dev-DY_DquQx.mjs +4 -0
- package/dist/{diagnostics-CJV6qWUA.mjs → diagnostics-BvHV8kQb.mjs} +1 -1
- package/dist/{directory-B5zCMusW.mjs → directory-BeiSyg8A.mjs} +1 -1
- package/dist/{dispatch-namespaces-Dg5lu5xX.mjs → dispatch-namespaces-Dp8Jjpwy.mjs} +1 -1
- package/dist/dist-BBx1io2f.mjs +2 -0
- package/dist/dist-Cb9TJ2VV.mjs +9 -0
- package/dist/dist-DV7LR38l.mjs +387 -0
- package/dist/dist-DvizctjW.mjs +48 -0
- package/dist/{dls-t0hnIe_P.mjs → dls-BwoU29mS.mjs} +1 -1
- package/dist/{dns-C8FC2hbh.mjs → dns-DISAfuzj.mjs} +1 -1
- package/dist/{dns-firewall-CuhhUm55.mjs → dns-firewall-wBcCx_ua.mjs} +1 -1
- package/dist/dry-run-ILZRVpnp.mjs +2 -0
- package/dist/{durable-objects-BLrgM3Cw.mjs → durable-objects-DhDL3San.mjs} +1 -1
- package/dist/{email-auth-BmYrl0pO.mjs → email-auth-BROqK6-C.mjs} +1 -1
- package/dist/{email-routing-CF3_Z957.mjs → email-routing-BZXHDAOO.mjs} +1 -1
- package/dist/{email-security-F7OYcMkZ.mjs → email-security-DVumybrk.mjs} +1 -1
- package/dist/{email-sending-EyU3WvGQ.mjs → email-sending-CDQ3_wyz.mjs} +1 -1
- package/dist/{fieldExtractors-Cno37T2m.mjs → fieldExtractors-Cy1rxHEF.mjs} +1 -1
- package/dist/{firewall-8YWWy4iB.mjs → firewall-C0g5X7Zd.mjs} +1 -1
- package/dist/{flagship-C4x0l-8J.mjs → flagship-fFBiZUz-.mjs} +1 -1
- package/dist/{fraud-HR_SdUx3.mjs → fraud-CjIETOaM.mjs} +1 -1
- package/dist/{google-tag-gateway-BdcS0WnX.mjs → google-tag-gateway-hPa5IHUx.mjs} +1 -1
- package/dist/{healthchecks-4qOvjrTN.mjs → healthchecks-CoycpTf9.mjs} +1 -1
- package/dist/{hostnames-DehdYOMz.mjs → hostnames-x_Yezxpr.mjs} +1 -1
- package/dist/{hyperdrive-3gD3hn70.mjs → hyperdrive-BlfrTwSq.mjs} +1 -1
- package/dist/{iam-DR72hmii.mjs → iam-Bk7K_PPO.mjs} +1 -1
- package/dist/{images-CeKc5JPh.mjs → images-BAEFb9q1.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{intel-DtFix9WL.mjs → intel-DDkyJVaP.mjs} +1 -1
- package/dist/interactive-CRnq-B5I.mjs +11 -0
- package/dist/{interactive-C7M55Wxx.mjs → interactive-cytQzL94.mjs} +1 -1
- package/dist/{ips-CtWCjXAN.mjs → ips-DU0ti0i0.mjs} +1 -1
- package/dist/{keyless-certificates-Dk24yQFz.mjs → keyless-certificates-E1P9jBTb.mjs} +1 -1
- package/dist/{keys-BmhG6Kn1.mjs → keys-DqldTZqH.mjs} +1 -1
- package/dist/{kv-BuVPAuZP.mjs → kv-CcfCfnwq.mjs} +1 -1
- package/dist/{leaked-credential-checks-XcZmt1I-.mjs → leaked-credential-checks-CqmKaEbd.mjs} +1 -1
- package/dist/{load-balancers-CylN-l7n.mjs → load-balancers-Dg4pDad1.mjs} +1 -1
- package/dist/{local-Be3lg_9E.mjs → local-DGiIS1uM.mjs} +1 -1
- package/dist/local-runtime--IQr44qq.mjs +2 -0
- package/dist/{logexplorer-CvRPoKbj.mjs → logexplorer-Bu2mG5rh.mjs} +1 -1
- package/dist/{logo-matches-Heuft3yF.mjs → logo-matches-CWUzxY7G.mjs} +1 -1
- package/dist/{logos-DRYjGBDq.mjs → logos-BTfdkDPi.mjs} +1 -1
- package/dist/{logpush-Dve9jOMp.mjs → logpush-BZyay3h2.mjs} +1 -1
- package/dist/{logs-SC86FE89.mjs → logs-BqF7jjQO.mjs} +1 -1
- package/dist/{magic-cloud-networking-DXzeqwX-.mjs → magic-cloud-networking-Dhd8pTyM.mjs} +1 -1
- package/dist/{magic-network-monitoring-DW0Jl74i.mjs → magic-network-monitoring-D0FnkjuN.mjs} +1 -1
- package/dist/{magic-transit-BK_3asH2.mjs → magic-transit-B5skt0G7.mjs} +1 -1
- package/dist/{managed-transforms-B6TV4qoE.mjs → managed-transforms-B6X_crcJ.mjs} +1 -1
- package/dist/{matches-Iss9Fo4R.mjs → matches-DeYaB4I0.mjs} +1 -1
- package/dist/{mcp-8wxXT6JU.mjs → mcp-ChjBiMx2.mjs} +1 -1
- package/dist/{mesh-Bf9UAS4J.mjs → mesh-DRVAFLBX.mjs} +1 -1
- package/dist/{moq-ZKMFOeVz.mjs → moq-DE7VDEFS.mjs} +1 -1
- package/dist/{mtls-certificates-DoWm6GiE.mjs → mtls-certificates-Cbc3uAkN.mjs} +1 -1
- package/dist/{network-B1lBARU9.mjs → network-CDPZNFbn.mjs} +1 -1
- package/dist/{network-interconnects-CLYIFHfU.mjs → network-interconnects-CMRs_chR.mjs} +1 -1
- package/dist/{oauth-DuEONNgC.mjs → oauth-DAa7SwkM.mjs} +4 -4
- package/dist/{oauth-clients-DgiTzLzu.mjs → oauth-clients-DAI_gcuL.mjs} +1 -1
- package/dist/{oauth-scopes-BOBRMxjm.mjs → oauth-scopes-BE6xF4_h.mjs} +1 -1
- package/dist/{observability-Jya7-zkl.mjs → observability-DnyI8rPJ.mjs} +1 -1
- package/dist/{organization-CYxYV4e0.mjs → organization-yh0mSUdI.mjs} +1 -1
- package/dist/{organizations-SacGUW44.mjs → organizations-B3aU-RCG.mjs} +1 -1
- package/dist/{origin-ca-certificates-Ph1bJGQ1.mjs → origin-ca-certificates-BaNWfVqf.mjs} +1 -1
- package/dist/{origin-post-quantum-encryption-BBLiGAGB.mjs → origin-post-quantum-encryption-CIUtQgyv.mjs} +1 -1
- package/dist/{origin-tls-client-auth-DSDgTN2X.mjs → origin-tls-client-auth-CvEpbX2Q.mjs} +1 -1
- package/dist/{page-rules-BqEyFR2c.mjs → page-rules-CzbyXbt6.mjs} +1 -1
- package/dist/{pages-CQ7ZVWk1.mjs → pages-CX8yefTI.mjs} +1 -1
- package/dist/{pay-per-crawl-BMe_3_Qj.mjs → pay-per-crawl-v4vBOMWD.mjs} +1 -1
- package/dist/{pipelines-6De2Pe2C.mjs → pipelines-BZ1KGupx.mjs} +1 -1
- package/dist/{precursor-iwK-1P_d.mjs → precursor-D42A9ay5.mjs} +1 -1
- package/dist/{progress-BqQcF5QH.mjs → progress-jYW64HY7.mjs} +1 -1
- package/dist/{project-settings-C_1-JI6Y.mjs → project-settings-BN7tL0c7.mjs} +2 -2
- package/dist/{prompt-B0sWIs9c.mjs → prompt-CyATfGUu.mjs} +1 -1
- package/dist/{public-BYCVISMH-DnMJ5Jct.mjs → public-BMg6-Hxh-DgIH5obr.mjs} +1 -1
- package/dist/{queries-c7zvnfEQ.mjs → queries-xvETUjUE.mjs} +1 -1
- package/dist/{queues-BU6y16qS.mjs → queues-CpqHDtxF.mjs} +1 -1
- package/dist/{r2-data-catalog-B-tw-JdG.mjs → r2-data-catalog-DgKmlTKR.mjs} +1 -1
- package/dist/{r2-Jo3QMahK.mjs → r2-jhmLvD1z.mjs} +1 -1
- package/dist/{radar-DIYAMEof.mjs → radar-C2J16wpX.mjs} +1 -1
- package/dist/{rate-limits-DewOcznT.mjs → rate-limits-CoH9Xma0.mjs} +1 -1
- package/dist/{raw-fetch-Cc-MjHeL.mjs → raw-fetch-CNKIypJ7.mjs} +1 -1
- package/dist/{realtimekit-cnZEVNDn.mjs → realtimekit-CDs0Z5WW.mjs} +1 -1
- package/dist/{registrar-BsWr_aPM.mjs → registrar-BI5ewTAk.mjs} +1 -1
- package/dist/{registrar-sandbox-BlcpUyIH.mjs → registrar-sandbox-al1znWMc.mjs} +1 -1
- package/dist/{registry-jifR3_Y6.mjs → registry-5-I2XLwF.mjs} +1 -1
- package/dist/{reporting--1AyTV7k.mjs → reporting-CxsdHAH3.mjs} +1 -1
- package/dist/{request-tracers-C_VX7X6-.mjs → request-tracers-DJJCncft.mjs} +1 -1
- package/dist/{resource-sharing-Br5dqr3o.mjs → resource-sharing-qQGn8AEn.mjs} +1 -1
- package/dist/{resource-tagging-C33U6T74.mjs → resource-tagging-aTtpX5e5.mjs} +1 -1
- package/dist/{rules-BfjzALMi.mjs → rules-PpsDU89Q.mjs} +1 -1
- package/dist/{rulesets-3i_1Vwt-.mjs → rulesets-DP12Aqik.mjs} +1 -1
- package/dist/{rum-CjmIckiR.mjs → rum-DxvpzJYc.mjs} +1 -1
- package/dist/{schema-1mwmslUV.mjs → schema-DlLbiOJj.mjs} +1 -1
- package/dist/{schema-flags-llLJuFFw.mjs → schema-flags-CTfQVGCs.mjs} +1 -1
- package/dist/schemas-BFCBlp_W.mjs +65 -0
- package/dist/{scim-pApmzA5B.mjs → scim-DJ4AVU20.mjs} +1 -1
- package/dist/{secrets-store-DBC9WJau.mjs → secrets-store-D6KDNo_s.mjs} +1 -1
- package/dist/{security-center-Djm06dq-.mjs → security-center-008FMs_z.mjs} +1 -1
- package/dist/{security-txt-Ci7bP4zH.mjs → security-txt-CqcfrhlN.mjs} +1 -1
- package/dist/{share-Dj-MNXrw.mjs → share-D5fzsVAJ.mjs} +1 -1
- package/dist/{shared-BJvq4DkR.mjs → shared-DlKGNPiT.mjs} +92 -142
- package/dist/{smart-shield--8EpJjrF.mjs → smart-shield-DpFscIk8.mjs} +1 -1
- package/dist/{snippets-Dyz0PH60.mjs → snippets-CCKgI2ZX.mjs} +1 -1
- package/dist/spawn-C3_tJ3RB.mjs +526 -0
- package/dist/{spectrum-rAHWz8rH.mjs → spectrum-LmdqY3ki.mjs} +1 -1
- package/dist/{speed-BKepWBXj.mjs → speed-CEK36h3A.mjs} +1 -1
- package/dist/src-CEb2fgtT.mjs +108 -0
- package/dist/{ssl-KdFiY3ev.mjs → ssl-ChHUyaQm.mjs} +1 -1
- package/dist/{startup-profile-GLNPHQ9U.mjs → startup-profile-Dpxg-MjV.mjs} +3 -3
- package/dist/{state-Cu3cItUg.mjs → state-DeX23Kmg.mjs} +1 -1
- package/dist/{stream-CKJ6Tb0M.mjs → stream-DfUSELMX.mjs} +1 -1
- package/dist/{submit-BxbKKhBn.mjs → submit-DF2G5CIz.mjs} +1 -1
- package/dist/{tags-DA8dq9fx.mjs → tags-nFJJHlLJ.mjs} +1 -1
- package/dist/{tenant-DLXw48hS.mjs → tenant-CRLw1oRU.mjs} +1 -1
- package/dist/{tenant-custom-nameservers-9G93XuvU.mjs → tenant-custom-nameservers-BvBQRDcs.mjs} +1 -1
- package/dist/{tools-x8bj9E6b.mjs → tools-j8UGEtP1.mjs} +1 -1
- package/dist/{tunnel-CNQA5Flp.mjs → tunnel-CMQeBgmb.mjs} +1 -1
- package/dist/{tunnels-CC10EOsU.mjs → tunnels-iVA3MrdS.mjs} +1 -1
- package/dist/{turnstile-CH58hnf4.mjs → turnstile-DQHP6-_b.mjs} +1 -1
- package/dist/{ui-CmnnBm_O.mjs → ui-DJFcf61J.mjs} +1 -1
- package/dist/{url-info-BpCgdUtL.mjs → url-info-BVgdb_pf.mjs} +1 -1
- package/dist/{url-normalization-BzuynEy1.mjs → url-normalization-BTcxLxIQ.mjs} +1 -1
- package/dist/{url-scanner-APIZbhB7.mjs → url-scanner-DwuDZLPk.mjs} +1 -1
- package/dist/{user-2-NGebfI.mjs → user-I_MbB_KX.mjs} +1 -1
- package/dist/{values-S_bNv819.mjs → values-S-Q7-5o8.mjs} +1 -1
- package/dist/{vectorize-Bv7feLBC.mjs → vectorize-CNZdF_0A.mjs} +1 -1
- package/dist/{waiting-rooms-Dk4LIpvm.mjs → waiting-rooms-Bo-OSsxu.mjs} +1 -1
- package/dist/{web-assets-C1UmOyzD.mjs → web-assets-tlFzKdNL.mjs} +1 -1
- package/dist/{web3-GnUocVYH.mjs → web3-CdbfoZ2x.mjs} +1 -1
- package/dist/{workers-J1-PLwdl.mjs → workers-DQ9Q7czn.mjs} +2 -2
- package/dist/{workers-builds-DCHmWOMS.mjs → workers-builds-CGRhYx-x.mjs} +1 -1
- package/dist/{workflows-CArfEI2c.mjs → workflows-BhEy-crm.mjs} +1 -1
- package/dist/{zaraz-mg2YlR3_.mjs → zaraz-DbKvA_8C.mjs} +1 -1
- package/dist/{zero-trust-DVdUPtj1.mjs → zero-trust-DrHCPVOc.mjs} +1 -1
- package/dist/{zone-DMAfrDJX.mjs → zone-D2zrbJI2.mjs} +1 -1
- package/dist/{zones-CNwxUi7I.mjs → zones-DrpxQ_-A.mjs} +1 -1
- package/package.json +9 -8
- package/dist/args-DlUhyGU0.mjs +0 -2
- package/dist/build-D0FhOj40.mjs +0 -8
- package/dist/command-C9VP3xaA.mjs +0 -2
- package/dist/containers-BrQtGiNp.mjs +0 -58
- package/dist/deploy-BL59O1O1.mjs +0 -2
- package/dist/deploy-input-Dz6q-__n.mjs +0 -2
- package/dist/dev-BDaavgH1.mjs +0 -4
- package/dist/dist-BHi7UhXO.mjs +0 -72
- package/dist/dist-BWpErtDM.mjs +0 -384
- package/dist/dry-run-DL2V6yFm.mjs +0 -2
- package/dist/local-runtime-Ce7k598H.mjs +0 -2
- package/dist/spawn-C5Z7oWdp.mjs +0 -519
- package/dist/src-gJma71Ec.mjs +0 -108
- /package/dist/{alerts-15-IW4jE.mjs → alerts-9PR5sQ_z.mjs} +0 -0
- /package/dist/{autorag-CFwRkEKw.mjs → autorag-Bevo1kIH.mjs} +0 -0
- /package/dist/{body-parser-BshbixEq.mjs → body-parser-BGVbwPeM.mjs} +0 -0
- /package/dist/{brands-BgT1vu9B.mjs → brands-C4M04Man.mjs} +0 -0
- /package/dist/{clear-BlCK85Me.mjs → clear-DS0eRXOc.mjs} +0 -0
- /package/dist/{cli-types-DAYeL_Mj.mjs → cli-types-C3nVfpSG.mjs} +0 -0
- /package/dist/{connector-telemetry-events-latest-BbpcII3_.mjs → connector-telemetry-events-latest-CKKG6_pD.mjs} +0 -0
- /package/dist/{connector-telemetry-snapshots-latest-DuCiimXl.mjs → connector-telemetry-snapshots-latest-Bv5OddJr.mjs} +0 -0
- /package/dist/{domain-info-C7LBxPBt.mjs → domain-info-BUiaGCEq.mjs} +0 -0
- /package/dist/{health-DZFfafkX.mjs → health-vX6Ml2Na.mjs} +0 -0
- /package/dist/{input-validation-QDIYu7Vb.mjs → input-validation-1esLElok.mjs} +0 -0
- /package/dist/{internal-BKHC2D1Y.mjs → internal-ROz7anul.mjs} +0 -0
- /package/dist/{live-DwCvDmaH.mjs → live-CSxvigCS.mjs} +0 -0
- /package/dist/{metadata-B5yfL0ln.mjs → metadata-DEqBUaSv.mjs} +0 -0
- /package/dist/{open-PBXRGS4R-CX8K4WYl.mjs → open-PBXRGS4R-DIiYQyU9.mjs} +0 -0
- /package/dist/{output-Ccqw2WOb.mjs → output-BqDR9h74.mjs} +0 -0
- /package/dist/{rate-limit-analytics-B8Vuu1sU.mjs → rate-limit-analytics-CgHgKjmV.mjs} +0 -0
- /package/dist/{ready-D9H2zHHI.mjs → ready-6G9zVGPJ.mjs} +0 -0
- /package/dist/{recent-submissions-BPo0J80d.mjs → recent-submissions-B3Smh-QM.mjs} +0 -0
- /package/dist/{refute-2W8NLCN4.mjs → refute-DjkmLSNe.mjs} +0 -0
- /package/dist/{resolve-B8CyM1mi.mjs → resolve-DEvdeprv.mjs} +0 -0
- /package/dist/{scan-logo-D5x6F1Y0.mjs → scan-logo-545qLcGs.mjs} +0 -0
- /package/dist/{scan-page-CWhta3x7.mjs → scan-page-DRQiVufl.mjs} +0 -0
- /package/dist/{search-DZmBQJL9.mjs → search-CXbqFoqe.mjs} +0 -0
- /package/dist/{signed-url-CQrmWgz5.mjs → signed-url-rU_nvgFA.mjs} +0 -0
- /package/dist/{submission-info-C98A0bqq.mjs → submission-info-D6PgXNQP.mjs} +0 -0
- /package/dist/{total-queries-BZoaFoDE.mjs → total-queries-XkFyu8H5.mjs} +0 -0
- /package/dist/{tracked-domains-CNHogPHx.mjs → tracked-domains-CmcRXHj_.mjs} +0 -0
- /package/dist/{verify-4e4L9IRk.mjs → verify-CM1NakP0.mjs} +0 -0
package/dist/config.d.mts
CHANGED
|
@@ -1,7 +1,171 @@
|
|
|
1
1
|
|
|
2
2
|
import { Pipeline, PipelineRecord } from "cloudflare:pipelines";
|
|
3
3
|
|
|
4
|
-
//#region ../../node_modules/.pnpm/@cloudflare+config@0.
|
|
4
|
+
//#region ../../node_modules/.pnpm/@cloudflare+config@0.17.0/node_modules/@cloudflare/config/dist/public-fVh2BrM5.d.mts
|
|
5
|
+
//#region src/exports.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Storage backend for the Durable Object.
|
|
8
|
+
*
|
|
9
|
+
* Containers are only supported on the SQLite storage engine, so `container` is
|
|
10
|
+
* only offered alongside `storage: "sqlite"`.
|
|
11
|
+
*/
|
|
12
|
+
type DurableObjectStorageOptions<TContainer extends ContainerDefinition | undefined = ContainerDefinition | undefined> = {
|
|
13
|
+
/**
|
|
14
|
+
* Selects the SQLite-backed storage engine (recommended for new
|
|
15
|
+
* classes).
|
|
16
|
+
*/
|
|
17
|
+
storage: "sqlite";
|
|
18
|
+
/**
|
|
19
|
+
* Attach a Container application to this Durable Object by config reference.
|
|
20
|
+
*/
|
|
21
|
+
container?: TContainer;
|
|
22
|
+
} | {
|
|
23
|
+
/** Selects the legacy key-value storage engine. */storage: "legacy-kv";
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Declares a provisioned Durable Object class exported from this Worker.
|
|
27
|
+
*
|
|
28
|
+
* For more information about Durable Objects, see the documentation at
|
|
29
|
+
* https://developers.cloudflare.com/workers/learning/using-durable-objects
|
|
30
|
+
*
|
|
31
|
+
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
|
|
32
|
+
*/
|
|
33
|
+
type DurableObjectCreatedExportOptions<TContainer extends ContainerDefinition | undefined = ContainerDefinition | undefined> = {
|
|
34
|
+
state?: "created";
|
|
35
|
+
} & DurableObjectStorageOptions<TContainer>;
|
|
36
|
+
/**
|
|
37
|
+
* Retire a provisioned Durable Object namespace whose class has
|
|
38
|
+
* been removed from code.
|
|
39
|
+
*
|
|
40
|
+
* During deploy, the class must not be exported in the uploaded code, and no
|
|
41
|
+
* other Worker may hold a `durableObject` binding to the namespace.
|
|
42
|
+
*/
|
|
43
|
+
interface DurableObjectDeletedExportOptions {
|
|
44
|
+
state: "deleted";
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Rename a provisioned Durable Object namespace's class. The
|
|
48
|
+
* `renamedTo` value must also appear as a live (`state: "created"`)
|
|
49
|
+
* `durableObject` entry in the same `exports` map.
|
|
50
|
+
*/
|
|
51
|
+
interface DurableObjectRenamedExportOptions {
|
|
52
|
+
state: "renamed";
|
|
53
|
+
/**
|
|
54
|
+
* The destination class name. Must be a valid JavaScript identifier and
|
|
55
|
+
* must appear as a live (`state: "created"`) `durableObject` entry in the
|
|
56
|
+
* same `exports` map.
|
|
57
|
+
*/
|
|
58
|
+
renamedTo: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Transfer ownership of a Durable Object namespace to another Worker in the same account.
|
|
62
|
+
* The target Worker must first deploy an `expectingTransfer` entry naming this Worker via `transferFrom`.
|
|
63
|
+
*/
|
|
64
|
+
interface DurableObjectTransferredExportOptions {
|
|
65
|
+
state: "transferred";
|
|
66
|
+
/**
|
|
67
|
+
* The destination Worker. Must reference a Worker in the same account.
|
|
68
|
+
*/
|
|
69
|
+
transferredTo: string;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Prepare to receive cross-Worker Durable Object transfer.
|
|
73
|
+
* Once the source Worker's `transferred` export is deployed, this entry becomes a normal live `durable-object` export.
|
|
74
|
+
*/
|
|
75
|
+
type DurableObjectExpectingTransferExportOptions<TContainer extends ContainerDefinition | undefined = ContainerDefinition | undefined> = {
|
|
76
|
+
state: "expecting-transfer";
|
|
77
|
+
/**
|
|
78
|
+
* The source Worker for the two-phase cross-Worker transfer.
|
|
79
|
+
*/
|
|
80
|
+
transferFrom: string;
|
|
81
|
+
} & DurableObjectStorageOptions<TContainer>;
|
|
82
|
+
type DurableObjectCreatedExport<TContainer extends ContainerDefinition | undefined = ContainerDefinition | undefined> = DurableObjectCreatedExportOptions<TContainer> & {
|
|
83
|
+
type: "durable-object";
|
|
84
|
+
};
|
|
85
|
+
interface DurableObjectDeletedExport extends DurableObjectDeletedExportOptions {
|
|
86
|
+
type: "durable-object";
|
|
87
|
+
}
|
|
88
|
+
interface DurableObjectRenamedExport extends DurableObjectRenamedExportOptions {
|
|
89
|
+
type: "durable-object";
|
|
90
|
+
}
|
|
91
|
+
interface DurableObjectTransferredExport extends DurableObjectTransferredExportOptions {
|
|
92
|
+
type: "durable-object";
|
|
93
|
+
}
|
|
94
|
+
type DurableObjectExpectingTransferExport<TContainer extends ContainerDefinition | undefined = ContainerDefinition | undefined> = DurableObjectExpectingTransferExportOptions<TContainer> & {
|
|
95
|
+
type: "durable-object";
|
|
96
|
+
};
|
|
97
|
+
type DurableObjectExportOptions = DurableObjectCreatedExportOptions | DurableObjectDeletedExportOptions | DurableObjectRenamedExportOptions | DurableObjectTransferredExportOptions | DurableObjectExpectingTransferExportOptions;
|
|
98
|
+
type DurableObjectExports = DurableObjectCreatedExport | DurableObjectDeletedExport | DurableObjectRenamedExport | DurableObjectTransferredExport | DurableObjectExpectingTransferExport;
|
|
99
|
+
interface WorkerEntrypointExportOptions {
|
|
100
|
+
cache?: {
|
|
101
|
+
/** Whether cache is enabled for this entrypoint. */enabled: boolean;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
interface WorkerEntrypointExport extends WorkerEntrypointExportOptions {
|
|
105
|
+
type: "worker";
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Configuration for named exports declared by the Worker. Each entry's
|
|
109
|
+
* key is the exported class name; the value configures the export.
|
|
110
|
+
*/
|
|
111
|
+
interface Exports {
|
|
112
|
+
/**
|
|
113
|
+
* Declares a Durable Object class defined by this Worker.
|
|
114
|
+
*
|
|
115
|
+
* For more information about Durable Objects, see the documentation at
|
|
116
|
+
* https://developers.cloudflare.com/workers/learning/using-durable-objects
|
|
117
|
+
*
|
|
118
|
+
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
|
|
119
|
+
*/
|
|
120
|
+
durableObject<TContainer extends ContainerDefinition | undefined = undefined>(options: DurableObjectCreatedExportOptions<TContainer>): DurableObjectCreatedExport<TContainer>;
|
|
121
|
+
/**
|
|
122
|
+
* Retire a provisioned Durable Object namespace whose class has been removed from code.
|
|
123
|
+
*/
|
|
124
|
+
durableObject(options: DurableObjectDeletedExportOptions): DurableObjectDeletedExport;
|
|
125
|
+
/**
|
|
126
|
+
* Rename a provisioned Durable Object namespace's class.
|
|
127
|
+
*/
|
|
128
|
+
durableObject(options: DurableObjectRenamedExportOptions): DurableObjectRenamedExport;
|
|
129
|
+
/**
|
|
130
|
+
* Transfer ownership of a Durable Object namespace to another Worker in the same account.
|
|
131
|
+
*/
|
|
132
|
+
durableObject(options: DurableObjectTransferredExportOptions): DurableObjectTransferredExport;
|
|
133
|
+
/**
|
|
134
|
+
* Prepare to receive cross-Worker Durable Object transfer.
|
|
135
|
+
* The source Worker must follow up with a deployment containing a `transferred` export to commit the transfer.
|
|
136
|
+
*/
|
|
137
|
+
durableObject<TContainer extends ContainerDefinition | undefined = undefined>(options: DurableObjectExpectingTransferExportOptions<TContainer>): DurableObjectExpectingTransferExport<TContainer>;
|
|
138
|
+
durableObject(options: DurableObjectExportOptions): DurableObjectExports;
|
|
139
|
+
/** Declares a WorkerEntrypoint export defined by this Worker. */
|
|
140
|
+
worker(options?: WorkerEntrypointExportOptions): WorkerEntrypointExport;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Exports builder for configuring Worker exports.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* ```typescript
|
|
147
|
+
* import { defineConfig, defineContainer, defineWorker, exports } from "@cloudflare/config";
|
|
148
|
+
*
|
|
149
|
+
* const myContainer = defineContainer({
|
|
150
|
+
* name: "my-container",
|
|
151
|
+
* image: { dockerfile: "./Dockerfile" },
|
|
152
|
+
* });
|
|
153
|
+
*
|
|
154
|
+
* const worker = defineWorker({
|
|
155
|
+
* exports: {
|
|
156
|
+
* MyDurableObject: exports.durableObject({ storage: "sqlite" }),
|
|
157
|
+
* MyContainerDO: exports.durableObject({ storage: "sqlite", container: myContainer }),
|
|
158
|
+
* OldClass: exports.durableObject({ state: "deleted" }),
|
|
159
|
+
* OldName: exports.durableObject({ state: "renamed", renamedTo: "NewName" }),
|
|
160
|
+
* Outgoing: exports.durableObject({ state: "transferred", transferredTo: "target-worker" }),
|
|
161
|
+
* Incoming: exports.durableObject({ state: "expecting-transfer", storage: "sqlite", transferFrom: "source-worker" }),
|
|
162
|
+
* },
|
|
163
|
+
* });
|
|
164
|
+
*
|
|
165
|
+
* export default defineConfig({ worker, containers: [myContainer] });
|
|
166
|
+
* ```
|
|
167
|
+
*/
|
|
168
|
+
declare const exports: Exports; //#endregion
|
|
5
169
|
//#region src/inference.d.ts
|
|
6
170
|
/**
|
|
7
171
|
* The Worker's entry module, imported with the `{ type: "cf-worker" }` import attribute
|
|
@@ -83,7 +247,6 @@ interface BindingTypeMap<TBinding> {
|
|
|
83
247
|
"version-metadata": WorkerVersionMetadata;
|
|
84
248
|
"vpc-service": Fetcher;
|
|
85
249
|
"vpc-network": Fetcher;
|
|
86
|
-
"web-search": WebSearch;
|
|
87
250
|
worker: Fetcher;
|
|
88
251
|
"worker-loader": WorkerLoader;
|
|
89
252
|
workflow: Workflow;
|
|
@@ -134,7 +297,7 @@ type InferWorkerEntrypointExports<TUnwrappedConfig> = Exclude<keyof InferMainMod
|
|
|
134
297
|
* Unwrap function and promise types to get the underlying config.
|
|
135
298
|
* Use this to normalize a config before passing it to other inference utilities.
|
|
136
299
|
*/
|
|
137
|
-
type UnwrapConfig<TConfig
|
|
300
|
+
type UnwrapConfig<TConfig> = TConfig extends ((...args: any[]) => infer TReturn) ? UnwrapConfig<TReturn> : TConfig extends Promise<infer TCompletion> ? UnwrapConfig<TCompletion> : TConfig;
|
|
138
301
|
/**
|
|
139
302
|
* Infer the `Env` interface type from a Worker config.
|
|
140
303
|
*
|
|
@@ -203,212 +366,6 @@ type InferDurableNamespaces<TUnwrappedConfig> = TUnwrappedConfig extends {
|
|
|
203
366
|
type InferMainModule<TUnwrappedConfig> = TUnwrappedConfig extends {
|
|
204
367
|
entrypoint: infer TModule extends WorkerModule;
|
|
205
368
|
} ? TModule : DefaultModule; //#endregion
|
|
206
|
-
//#region src/utils.d.ts
|
|
207
|
-
/**
|
|
208
|
-
* Represents any valid JSON value.
|
|
209
|
-
*/
|
|
210
|
-
type Json = string | number | boolean | null | Json[] | {
|
|
211
|
-
[key: string]: Json;
|
|
212
|
-
}; //#endregion
|
|
213
|
-
//#region src/definition.d.ts
|
|
214
|
-
interface ConfigContext {
|
|
215
|
-
/**
|
|
216
|
-
* The mode the config is being evaluated in.
|
|
217
|
-
* Set via the `--mode` CLI flag.
|
|
218
|
-
* In Vite the mode defaults to `development` in `vite dev` and `production` in `vite build` ([more info](https://vite.dev/guide/env-and-mode.html#modes)).
|
|
219
|
-
* In Wrangler the mode defaults to `undefined`.
|
|
220
|
-
*/
|
|
221
|
-
mode: string | undefined;
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* The authored config in any of its supported shapes: a plain value, a promise,
|
|
225
|
-
* or a function of {@link ConfigContext}.
|
|
226
|
-
*/
|
|
227
|
-
type ConfigInput<T$1> = T$1 | Promise<T$1> | ((ctx: ConfigContext) => T$1 | Promise<T$1>);
|
|
228
|
-
type ConfigObject = Record<string, unknown>;
|
|
229
|
-
type ConfigWithType<T$1 extends ConfigObject, TType extends string> = T$1 & {
|
|
230
|
-
type: TType;
|
|
231
|
-
}; //#endregion
|
|
232
|
-
//#region src/container-definition.d.ts
|
|
233
|
-
type ContainerConfigExport<T$1 extends ContainerConfig = ContainerConfig> = ConfigInput<T$1>;
|
|
234
|
-
type DistributiveOmit<T$1, K$1 extends PropertyKey> = T$1 extends unknown ? Omit<T$1, K$1> : never;
|
|
235
|
-
/**
|
|
236
|
-
* Authored Container config shape — {@link ContainerConfig} without the `type`
|
|
237
|
-
* discriminant, which `defineContainer` injects.
|
|
238
|
-
*/
|
|
239
|
-
type ContainerConfigInput = DistributiveOmit<ContainerConfig, "type">;
|
|
240
|
-
/** Declare a Container application. */
|
|
241
|
-
declare const defineContainer: <const TInput extends ConfigInput<ContainerConfigInput>>(config: TInput) => TInput extends ((ctx: ConfigContext) => infer TResult) ? (ctx: ConfigContext) => TResult extends Promise<infer TConfig extends {
|
|
242
|
-
[x: string]: unknown;
|
|
243
|
-
}> ? Promise<ConfigWithType<TConfig, "container">> : TResult extends {
|
|
244
|
-
[x: string]: unknown;
|
|
245
|
-
} ? ConfigWithType<TResult, "container"> : never : TInput extends Promise<infer TConfig extends {
|
|
246
|
-
[x: string]: unknown;
|
|
247
|
-
}> ? Promise<ConfigWithType<TConfig, "container">> : TInput extends {
|
|
248
|
-
[x: string]: unknown;
|
|
249
|
-
} ? ConfigWithType<TInput, "container"> : never; //#endregion
|
|
250
|
-
//#region src/exports.d.ts
|
|
251
|
-
/**
|
|
252
|
-
* Storage backend for the Durable Object.
|
|
253
|
-
*
|
|
254
|
-
* Containers are only supported on the SQLite storage engine, so `container` is
|
|
255
|
-
* only offered alongside `storage: "sqlite"`.
|
|
256
|
-
*/
|
|
257
|
-
type DurableObjectStorageOptions<TContainer extends ContainerConfigExport | undefined = ContainerConfigExport | undefined> = {
|
|
258
|
-
/**
|
|
259
|
-
* Selects the SQLite-backed storage engine (recommended for new
|
|
260
|
-
* classes).
|
|
261
|
-
*/
|
|
262
|
-
storage: "sqlite";
|
|
263
|
-
/**
|
|
264
|
-
* Attach a Container application to this Durable Object by config reference.
|
|
265
|
-
*/
|
|
266
|
-
container?: TContainer;
|
|
267
|
-
} | {
|
|
268
|
-
/** Selects the legacy key-value storage engine. */storage: "legacy-kv";
|
|
269
|
-
};
|
|
270
|
-
/**
|
|
271
|
-
* Declares a provisioned Durable Object class exported from this Worker.
|
|
272
|
-
*
|
|
273
|
-
* For more information about Durable Objects, see the documentation at
|
|
274
|
-
* https://developers.cloudflare.com/workers/learning/using-durable-objects
|
|
275
|
-
*
|
|
276
|
-
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
|
|
277
|
-
*/
|
|
278
|
-
type DurableObjectCreatedExportOptions<TContainer extends ContainerConfigExport | undefined = ContainerConfigExport | undefined> = {
|
|
279
|
-
state?: "created";
|
|
280
|
-
} & DurableObjectStorageOptions<TContainer>;
|
|
281
|
-
/**
|
|
282
|
-
* Retire a provisioned Durable Object namespace whose class has
|
|
283
|
-
* been removed from code.
|
|
284
|
-
*
|
|
285
|
-
* During deploy, the class must not be exported in the uploaded code, and no
|
|
286
|
-
* other Worker may hold a `durableObject` binding to the namespace.
|
|
287
|
-
*/
|
|
288
|
-
interface DurableObjectDeletedExportOptions {
|
|
289
|
-
state: "deleted";
|
|
290
|
-
}
|
|
291
|
-
/**
|
|
292
|
-
* Rename a provisioned Durable Object namespace's class. The
|
|
293
|
-
* `renamedTo` value must also appear as a live (`state: "created"`)
|
|
294
|
-
* `durableObject` entry in the same `exports` map.
|
|
295
|
-
*/
|
|
296
|
-
interface DurableObjectRenamedExportOptions {
|
|
297
|
-
state: "renamed";
|
|
298
|
-
/**
|
|
299
|
-
* The destination class name. Must be a valid JavaScript identifier and
|
|
300
|
-
* must appear as a live (`state: "created"`) `durableObject` entry in the
|
|
301
|
-
* same `exports` map.
|
|
302
|
-
*/
|
|
303
|
-
renamedTo: string;
|
|
304
|
-
}
|
|
305
|
-
/**
|
|
306
|
-
* Transfer ownership of a Durable Object namespace to another Worker in the same account.
|
|
307
|
-
* The target Worker must first deploy an `expectingTransfer` entry naming this Worker via `transferFrom`.
|
|
308
|
-
*/
|
|
309
|
-
interface DurableObjectTransferredExportOptions {
|
|
310
|
-
state: "transferred";
|
|
311
|
-
/**
|
|
312
|
-
* The destination Worker. Must reference a Worker in the same account.
|
|
313
|
-
*/
|
|
314
|
-
transferredTo: string;
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
* Prepare to receive cross-Worker Durable Object transfer.
|
|
318
|
-
* Once the source Worker's `transferred` export is deployed, this entry becomes a normal live `durable-object` export.
|
|
319
|
-
*/
|
|
320
|
-
type DurableObjectExpectingTransferExportOptions<TContainer extends ContainerConfigExport | undefined = ContainerConfigExport | undefined> = {
|
|
321
|
-
state: "expecting-transfer";
|
|
322
|
-
/**
|
|
323
|
-
* The source Worker for the two-phase cross-Worker transfer.
|
|
324
|
-
*/
|
|
325
|
-
transferFrom: string;
|
|
326
|
-
} & DurableObjectStorageOptions<TContainer>;
|
|
327
|
-
type DurableObjectCreatedExport<TContainer extends ContainerConfigExport | undefined = ContainerConfigExport | undefined> = DurableObjectCreatedExportOptions<TContainer> & {
|
|
328
|
-
type: "durable-object";
|
|
329
|
-
};
|
|
330
|
-
interface DurableObjectDeletedExport extends DurableObjectDeletedExportOptions {
|
|
331
|
-
type: "durable-object";
|
|
332
|
-
}
|
|
333
|
-
interface DurableObjectRenamedExport extends DurableObjectRenamedExportOptions {
|
|
334
|
-
type: "durable-object";
|
|
335
|
-
}
|
|
336
|
-
interface DurableObjectTransferredExport extends DurableObjectTransferredExportOptions {
|
|
337
|
-
type: "durable-object";
|
|
338
|
-
}
|
|
339
|
-
type DurableObjectExpectingTransferExport<TContainer extends ContainerConfigExport | undefined = ContainerConfigExport | undefined> = DurableObjectExpectingTransferExportOptions<TContainer> & {
|
|
340
|
-
type: "durable-object";
|
|
341
|
-
};
|
|
342
|
-
type DurableObjectExportOptions = DurableObjectCreatedExportOptions | DurableObjectDeletedExportOptions | DurableObjectRenamedExportOptions | DurableObjectTransferredExportOptions | DurableObjectExpectingTransferExportOptions;
|
|
343
|
-
type DurableObjectExports = DurableObjectCreatedExport | DurableObjectDeletedExport | DurableObjectRenamedExport | DurableObjectTransferredExport | DurableObjectExpectingTransferExport;
|
|
344
|
-
interface WorkerEntrypointExportOptions {
|
|
345
|
-
cache?: {
|
|
346
|
-
/** Whether cache is enabled for this entrypoint. */enabled: boolean;
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
interface WorkerEntrypointExport extends WorkerEntrypointExportOptions {
|
|
350
|
-
type: "worker";
|
|
351
|
-
}
|
|
352
|
-
/**
|
|
353
|
-
* Configuration for named exports declared by the Worker. Each entry's
|
|
354
|
-
* key is the exported class name; the value configures the export.
|
|
355
|
-
*/
|
|
356
|
-
interface Exports {
|
|
357
|
-
/**
|
|
358
|
-
* Declares a Durable Object class defined by this Worker.
|
|
359
|
-
*
|
|
360
|
-
* For more information about Durable Objects, see the documentation at
|
|
361
|
-
* https://developers.cloudflare.com/workers/learning/using-durable-objects
|
|
362
|
-
*
|
|
363
|
-
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
|
|
364
|
-
*/
|
|
365
|
-
durableObject<TContainer extends ContainerConfigExport | undefined = undefined>(options: DurableObjectCreatedExportOptions<TContainer>): DurableObjectCreatedExport<TContainer>;
|
|
366
|
-
/**
|
|
367
|
-
* Retire a provisioned Durable Object namespace whose class has been removed from code.
|
|
368
|
-
*/
|
|
369
|
-
durableObject(options: DurableObjectDeletedExportOptions): DurableObjectDeletedExport;
|
|
370
|
-
/**
|
|
371
|
-
* Rename a provisioned Durable Object namespace's class.
|
|
372
|
-
*/
|
|
373
|
-
durableObject(options: DurableObjectRenamedExportOptions): DurableObjectRenamedExport;
|
|
374
|
-
/**
|
|
375
|
-
* Transfer ownership of a Durable Object namespace to another Worker in the same account.
|
|
376
|
-
*/
|
|
377
|
-
durableObject(options: DurableObjectTransferredExportOptions): DurableObjectTransferredExport;
|
|
378
|
-
/**
|
|
379
|
-
* Prepare to receive cross-Worker Durable Object transfer.
|
|
380
|
-
* The source Worker must follow up with a deployment containing a `transferred` export to commit the transfer.
|
|
381
|
-
*/
|
|
382
|
-
durableObject<TContainer extends ContainerConfigExport | undefined = undefined>(options: DurableObjectExpectingTransferExportOptions<TContainer>): DurableObjectExpectingTransferExport<TContainer>;
|
|
383
|
-
durableObject(options: DurableObjectExportOptions): DurableObjectExports;
|
|
384
|
-
/** Declares a WorkerEntrypoint export defined by this Worker. */
|
|
385
|
-
worker(options?: WorkerEntrypointExportOptions): WorkerEntrypointExport;
|
|
386
|
-
}
|
|
387
|
-
/**
|
|
388
|
-
* Exports builder for configuring Worker exports.
|
|
389
|
-
*
|
|
390
|
-
* @example
|
|
391
|
-
* ```typescript
|
|
392
|
-
* import { defineContainer, defineWorker, exports } from "@cloudflare/config";
|
|
393
|
-
*
|
|
394
|
-
* const myContainer = defineContainer({
|
|
395
|
-
* name: "my-container",
|
|
396
|
-
* image: { dockerfile: "./Dockerfile" },
|
|
397
|
-
* });
|
|
398
|
-
*
|
|
399
|
-
* export default defineWorker({
|
|
400
|
-
* exports: {
|
|
401
|
-
* MyDurableObject: exports.durableObject({ storage: "sqlite" }),
|
|
402
|
-
* MyContainerDO: exports.durableObject({ storage: "sqlite", container: myContainer }),
|
|
403
|
-
* OldClass: exports.durableObject({ state: "deleted" }),
|
|
404
|
-
* OldName: exports.durableObject({ state: "renamed", renamedTo: "NewName" }),
|
|
405
|
-
* Outgoing: exports.durableObject({ state: "transferred", transferredTo: "target-worker" }),
|
|
406
|
-
* Incoming: exports.durableObject({ state: "expecting-transfer", storage: "sqlite", transferFrom: "source-worker" }),
|
|
407
|
-
* },
|
|
408
|
-
* });
|
|
409
|
-
* ```
|
|
410
|
-
*/
|
|
411
|
-
declare const exports: Exports; //#endregion
|
|
412
369
|
//#region src/triggers.d.ts
|
|
413
370
|
interface FetchTriggerOptions {
|
|
414
371
|
/**
|
|
@@ -557,26 +514,50 @@ interface Triggers {
|
|
|
557
514
|
*
|
|
558
515
|
* @example
|
|
559
516
|
* ```typescript
|
|
560
|
-
* import {
|
|
517
|
+
* import { defineConfig, triggers } from "@cloudflare/config";
|
|
561
518
|
*
|
|
562
|
-
* export default
|
|
563
|
-
*
|
|
564
|
-
*
|
|
565
|
-
*
|
|
566
|
-
* triggers
|
|
567
|
-
*
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
*
|
|
519
|
+
* export default defineConfig({
|
|
520
|
+
* worker: {
|
|
521
|
+
* name: "my-worker",
|
|
522
|
+
* compatibilityDate: "2026-09-17",
|
|
523
|
+
* triggers: [
|
|
524
|
+
* triggers.fetch({ pattern: "example.com/*", zone: "example.com" }),
|
|
525
|
+
* triggers.queue({ name: "my-queue" }),
|
|
526
|
+
* triggers.scheduled({ schedule: "0 * * * *" }),
|
|
527
|
+
* triggers.scheduled({ schedule: "30 0 * * *" }),
|
|
528
|
+
* triggers.email({ addresses: ["support@example.com"] }),
|
|
529
|
+
* triggers.connect({ protocol: "tcp", port: 5432 }),
|
|
530
|
+
* ],
|
|
531
|
+
* },
|
|
571
532
|
* });
|
|
572
533
|
* ```
|
|
573
534
|
*/
|
|
574
535
|
declare const triggers: Triggers; //#endregion
|
|
575
536
|
//#region src/types.d.ts
|
|
537
|
+
/** Account-level values shared by the resources in a configuration. */
|
|
538
|
+
interface Settings {
|
|
539
|
+
/**
|
|
540
|
+
* This is the ID of the account associated with your zone. It can also be
|
|
541
|
+
* specified through the `CLOUDFLARE_ACCOUNT_ID` environment variable.
|
|
542
|
+
*/
|
|
543
|
+
accountId?: string;
|
|
544
|
+
/**
|
|
545
|
+
* The compliance boundary in which commands should operate. When omitted,
|
|
546
|
+
* this can be supplied through `CLOUDFLARE_COMPLIANCE_REGION`.
|
|
547
|
+
*/
|
|
548
|
+
complianceRegion?: "public" | "fedramp-high";
|
|
549
|
+
}
|
|
550
|
+
/** The authored shape of `cloudflare.config.ts`'s default export. */
|
|
551
|
+
interface CloudflareConfig extends Settings {
|
|
552
|
+
/** The Worker defined by this configuration. */
|
|
553
|
+
worker?: ConfigInput<WorkerConfig>;
|
|
554
|
+
/** Container applications defined by this configuration. */
|
|
555
|
+
containers?: ConfigInput<ContainerConfig>[];
|
|
556
|
+
}
|
|
576
557
|
/**
|
|
577
558
|
* Union of all binding definitions accepted in `env`.
|
|
578
559
|
*/
|
|
579
|
-
type Binding = AgentMemoryBinding | AiBinding | AiSearchBinding | AiSearchNamespaceBinding | AnalyticsEngineDatasetBinding | ArtifactsBinding | AssetsBinding | BrowserBinding | D1Binding | DispatchNamespaceBinding | DurableObjectBinding | FlagshipBinding | HyperdriveBinding | ImagesBinding$1 | JsonBinding | KvBinding | LogfwdrBinding | MediaBinding$1 | MtlsCertificateBinding | PipelineBinding | QueueBinding | R2Binding | RateLimitBinding | SecretBinding | SecretsStoreSecretBinding | SendEmailBinding | StreamBinding$1 | TextBinding | UnsafeBinding | VectorizeBinding | VersionMetadataBinding | VpcNetworkBinding | VpcServiceBinding |
|
|
560
|
+
type Binding = AgentMemoryBinding | AiBinding | AiSearchBinding | AiSearchNamespaceBinding | AnalyticsEngineDatasetBinding | ArtifactsBinding | AssetsBinding | BrowserBinding | D1Binding | DispatchNamespaceBinding | DurableObjectBinding | FlagshipBinding | HyperdriveBinding | ImagesBinding$1 | JsonBinding | KvBinding | LogfwdrBinding | MediaBinding$1 | MtlsCertificateBinding | PipelineBinding | QueueBinding | R2Binding | RateLimitBinding | SecretBinding | SecretsStoreSecretBinding | SendEmailBinding | StreamBinding$1 | TextBinding | UnsafeBinding | VectorizeBinding | VersionMetadataBinding | VpcNetworkBinding | VpcServiceBinding | WorkerBinding | WorkerLoaderBinding;
|
|
580
561
|
/**
|
|
581
562
|
* Union of all trigger definitions accepted in `triggers`.
|
|
582
563
|
*/
|
|
@@ -606,15 +587,24 @@ type ContainerImage = {
|
|
|
606
587
|
*/
|
|
607
588
|
reference: string;
|
|
608
589
|
};
|
|
590
|
+
/** Application-wide observability settings shared by all Containers. */
|
|
591
|
+
interface ContainerObservabilityConfig {
|
|
592
|
+
/** Whether observability is enabled. */
|
|
593
|
+
enabled?: boolean;
|
|
594
|
+
logs?: {
|
|
595
|
+
/** Whether log collection is enabled. */enabled?: boolean;
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
/** Observability settings for a standard Container application. */
|
|
599
|
+
type StandardContainerObservabilityConfig = ContainerObservabilityConfig & ({
|
|
600
|
+
/** Percentage of Container instances targeted for observability. */targetInstancePercentage?: number;
|
|
601
|
+
targetInstanceCount?: never;
|
|
602
|
+
} | {
|
|
603
|
+
targetInstancePercentage?: never; /** Number of Container instances targeted for observability. */
|
|
604
|
+
targetInstanceCount?: number;
|
|
605
|
+
});
|
|
609
606
|
/** Fields shared by all Container application configurations. */
|
|
610
607
|
interface BaseContainerConfig {
|
|
611
|
-
/**
|
|
612
|
-
* Discriminates this config as a Container config.
|
|
613
|
-
*
|
|
614
|
-
* Injected automatically by `defineContainer`; only needs to be written by
|
|
615
|
-
* hand when authoring a raw config object without the helper.
|
|
616
|
-
*/
|
|
617
|
-
type: "container";
|
|
618
608
|
/**
|
|
619
609
|
* Name of the application.
|
|
620
610
|
*
|
|
@@ -622,19 +612,6 @@ interface BaseContainerConfig {
|
|
|
622
612
|
* Object's `exports` entry via its `container` field.
|
|
623
613
|
*/
|
|
624
614
|
name: string;
|
|
625
|
-
/** Configures observability for Container instances. */
|
|
626
|
-
observability?: {
|
|
627
|
-
/** Whether observability is enabled. */enabled?: boolean;
|
|
628
|
-
logs?: {
|
|
629
|
-
/** Whether log collection is enabled. */enabled?: boolean;
|
|
630
|
-
};
|
|
631
|
-
} & ({
|
|
632
|
-
/** Percentage of Container instances targeted for observability. */targetInstancePercentage?: number;
|
|
633
|
-
targetInstanceCount?: never;
|
|
634
|
-
} | {
|
|
635
|
-
targetInstancePercentage?: never; /** Number of Container instances targeted for observability. */
|
|
636
|
-
targetInstanceCount?: number;
|
|
637
|
-
});
|
|
638
615
|
/**
|
|
639
616
|
* Passed through without client-side validation or transformation.
|
|
640
617
|
*
|
|
@@ -644,6 +621,8 @@ interface BaseContainerConfig {
|
|
|
644
621
|
}
|
|
645
622
|
/** A Container application managed with a standard scheduling policy. */
|
|
646
623
|
interface StandardContainerConfig extends BaseContainerConfig {
|
|
624
|
+
/** Configures observability and optional targeting for Container instances. */
|
|
625
|
+
observability?: StandardContainerObservabilityConfig;
|
|
647
626
|
/** The image to build or deploy. */
|
|
648
627
|
image: ContainerImage;
|
|
649
628
|
/**
|
|
@@ -743,29 +722,27 @@ interface StandardContainerConfig extends BaseContainerConfig {
|
|
|
743
722
|
/** A Container application managed by a Durable Object. */
|
|
744
723
|
interface DurableObjectContainerConfig extends BaseContainerConfig {
|
|
745
724
|
schedulingPolicy: "durable-object";
|
|
725
|
+
/**
|
|
726
|
+
* Configures application-wide observability. Instance targeting is not
|
|
727
|
+
* supported for Durable Object-managed Containers.
|
|
728
|
+
*/
|
|
729
|
+
observability?: ContainerObservabilityConfig;
|
|
746
730
|
/** Named images that the Durable Object can start. */
|
|
747
731
|
images?: Record<string, ContainerImage>;
|
|
748
732
|
}
|
|
749
733
|
/**
|
|
750
734
|
* Container application configuration. This is the input shape passed to
|
|
751
|
-
* `defineContainer` and
|
|
735
|
+
* `defineContainer` and parsed at runtime by `InputContainerSchema`.
|
|
752
736
|
*/
|
|
753
737
|
type ContainerConfig = DurableObjectContainerConfig | StandardContainerConfig;
|
|
754
738
|
/**
|
|
755
739
|
* Worker configuration. This is the input shape passed to
|
|
756
740
|
* [`defineWorker`](https://developers.cloudflare.com/workers/wrangler/configuration/).
|
|
757
741
|
*
|
|
758
|
-
* Fields are
|
|
742
|
+
* Fields are parsed and normalised at runtime by `InputWorkerSchema` before
|
|
759
743
|
* being passed to downstream tooling.
|
|
760
744
|
*/
|
|
761
745
|
interface WorkerConfig {
|
|
762
|
-
/**
|
|
763
|
-
* Discriminates this config as a Worker config.
|
|
764
|
-
*
|
|
765
|
-
* Injected automatically by `defineWorker`; only needs to be written by
|
|
766
|
-
* hand when authoring a raw config object without the helper.
|
|
767
|
-
*/
|
|
768
|
-
type: "worker";
|
|
769
746
|
/**
|
|
770
747
|
* The name of your Worker.
|
|
771
748
|
*/
|
|
@@ -794,8 +771,10 @@ interface WorkerConfig {
|
|
|
794
771
|
*
|
|
795
772
|
* @example
|
|
796
773
|
* ```ts
|
|
774
|
+
* import { defineConfig, defineWorker } from "@cloudflare/config";
|
|
797
775
|
* import * as entrypoint from "./src" with { type: "cf-worker" };
|
|
798
|
-
*
|
|
776
|
+
* const worker = defineWorker({ entrypoint });
|
|
777
|
+
* export default defineConfig({ worker });
|
|
799
778
|
* ```
|
|
800
779
|
*/
|
|
801
780
|
entrypoint?: string | WorkerModule;
|
|
@@ -901,7 +880,10 @@ interface WorkerConfig {
|
|
|
901
880
|
*
|
|
902
881
|
* @default false
|
|
903
882
|
*/
|
|
904
|
-
redactQueryString?: boolean;
|
|
883
|
+
redactQueryString?: boolean; /** Real-time Issues settings for this Worker. */
|
|
884
|
+
issues?: {
|
|
885
|
+
/** Whether real-time Issues are enabled. */enabled?: boolean;
|
|
886
|
+
};
|
|
905
887
|
logs?: {
|
|
906
888
|
enabled?: boolean; /** The sampling rate. */
|
|
907
889
|
headSamplingRate?: number; /** Set to false to disable invocation logs. */
|
|
@@ -1002,52 +984,80 @@ interface WorkerConfig {
|
|
|
1002
984
|
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects.
|
|
1003
985
|
*/
|
|
1004
986
|
exports?: Record<string, Export>;
|
|
987
|
+
} //#endregion
|
|
988
|
+
//#region src/definition.d.ts
|
|
989
|
+
interface ConfigContext {
|
|
990
|
+
/** Whether the config is being evaluated for a Preview build. */
|
|
991
|
+
isPreview: boolean;
|
|
992
|
+
/**
|
|
993
|
+
* The mode the config is being evaluated in.
|
|
994
|
+
* Set via the `--mode` CLI flag.
|
|
995
|
+
* In Vite the mode defaults to `development` in `vite dev` and `production` in `vite build` ([more info](https://vite.dev/guide/env-and-mode.html#modes)).
|
|
996
|
+
* In Wrangler the mode defaults to `undefined`.
|
|
997
|
+
*/
|
|
998
|
+
mode: string | undefined;
|
|
1005
999
|
}
|
|
1006
1000
|
/**
|
|
1007
|
-
*
|
|
1008
|
-
*
|
|
1009
|
-
*
|
|
1001
|
+
* A configuration value, promise, or factory. Factories can be passed directly
|
|
1002
|
+
* for automatic resolution with the current context or called explicitly with
|
|
1003
|
+
* another context before they are used.
|
|
1010
1004
|
*/
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
*
|
|
1039
|
-
*
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1005
|
+
type ConfigInput<T$1> = T$1 | Promise<T$1> | ((ctx: ConfigContext) => T$1 | Promise<T$1>);
|
|
1006
|
+
type ContainerDefinition<T$1 extends ContainerConfig = ContainerConfig> = ConfigInput<T$1>;
|
|
1007
|
+
type WorkerDefinition<T$1 extends WorkerConfig = WorkerConfig> = ConfigInput<T$1>;
|
|
1008
|
+
/** A Worker name, value, promise, or context-aware factory. */
|
|
1009
|
+
type WorkerReference = string | WorkerDefinition;
|
|
1010
|
+
/**
|
|
1011
|
+
* Used to define the default export in `cloudflare.config.ts`.
|
|
1012
|
+
*
|
|
1013
|
+
* @example
|
|
1014
|
+
* ```typescript
|
|
1015
|
+
* import { defineConfig } from "@cloudflare/config";
|
|
1016
|
+
*
|
|
1017
|
+
* export default defineConfig({
|
|
1018
|
+
* worker: {
|
|
1019
|
+
* name: "my-worker",
|
|
1020
|
+
* compatibilityDate: "2026-09-17",
|
|
1021
|
+
* },
|
|
1022
|
+
* });
|
|
1023
|
+
* ```
|
|
1024
|
+
*/
|
|
1025
|
+
declare const defineConfig: <const TInput extends ConfigInput<CloudflareConfig>>(config: TInput) => TInput;
|
|
1026
|
+
/**
|
|
1027
|
+
* Define a Container.
|
|
1028
|
+
*
|
|
1029
|
+
* @example
|
|
1030
|
+
* ```typescript
|
|
1031
|
+
* import { defineContainer } from "@cloudflare/config";
|
|
1032
|
+
*
|
|
1033
|
+
* const container = defineContainer({
|
|
1034
|
+
* name: "my-container",
|
|
1035
|
+
* image: { dockerfile: "./Dockerfile" },
|
|
1036
|
+
* });
|
|
1037
|
+
* ```
|
|
1038
|
+
*/
|
|
1039
|
+
declare const defineContainer: <const TInput extends ConfigInput<ContainerConfig>>(config: TInput) => TInput;
|
|
1040
|
+
/**
|
|
1041
|
+
* Define a Worker.
|
|
1042
|
+
*
|
|
1043
|
+
* @example
|
|
1044
|
+
* ```typescript
|
|
1045
|
+
* import { defineWorker } from "@cloudflare/config";
|
|
1046
|
+
*
|
|
1047
|
+
* const worker = defineWorker({
|
|
1048
|
+
* name: "my-worker",
|
|
1049
|
+
* compatibilityDate: "2026-09-17",
|
|
1050
|
+
* });
|
|
1051
|
+
* ```
|
|
1052
|
+
*/
|
|
1053
|
+
declare const defineWorker: <const TInput extends ConfigInput<WorkerConfig>>(config: TInput) => TInput; //#endregion
|
|
1054
|
+
//#region src/utils.d.ts
|
|
1055
|
+
/**
|
|
1056
|
+
* Represents any valid JSON value.
|
|
1057
|
+
*/
|
|
1058
|
+
type Json = string | number | boolean | null | Json[] | {
|
|
1059
|
+
[key: string]: Json;
|
|
1060
|
+
}; //#endregion
|
|
1051
1061
|
//#region src/bindings.d.ts
|
|
1052
1062
|
/** Options that control a binding during local development. */
|
|
1053
1063
|
interface BindingDevOptions {
|
|
@@ -1194,7 +1204,6 @@ interface DispatchNamespaceBindingOptions {
|
|
|
1194
1204
|
interface DispatchNamespaceBinding extends DispatchNamespaceBindingOptions {
|
|
1195
1205
|
type: "dispatch-namespace";
|
|
1196
1206
|
}
|
|
1197
|
-
type WorkerReference = string | WorkerConfigExport;
|
|
1198
1207
|
type ReferencedWorkerConfig<TWorker$1 extends WorkerReference> = TWorker$1 extends string ? never : UnwrapConfig<TWorker$1>;
|
|
1199
1208
|
type DurableObjectExportName<TWorker$1 extends WorkerReference> = TWorker$1 extends string ? string : InferDurableNamespaces<ReferencedWorkerConfig<TWorker$1>>;
|
|
1200
1209
|
type WorkerEntrypointExportName<TWorker$1 extends WorkerReference> = TWorker$1 extends string ? string : InferWorkerEntrypointExports<ReferencedWorkerConfig<TWorker$1>>;
|
|
@@ -1512,17 +1521,6 @@ interface VpcServiceBindingOptions {
|
|
|
1512
1521
|
interface VpcServiceBinding extends VpcServiceBindingOptions {
|
|
1513
1522
|
type: "vpc-service";
|
|
1514
1523
|
}
|
|
1515
|
-
interface WebSearchBindingOptions {
|
|
1516
|
-
/** Options that only apply during local development. */
|
|
1517
|
-
dev?: BindingDevOptions;
|
|
1518
|
-
}
|
|
1519
|
-
/**
|
|
1520
|
-
* Cloudflare Web Search binding. There is exactly one shared web corpus, so
|
|
1521
|
-
* the binding is zero-config — only the variable name is required.
|
|
1522
|
-
*/
|
|
1523
|
-
interface WebSearchBinding extends WebSearchBindingOptions {
|
|
1524
|
-
type: "web-search";
|
|
1525
|
-
}
|
|
1526
1524
|
interface WorkerBindingOptions<TWorker$1 extends WorkerReference = WorkerReference, TExportName$1 extends WorkerEntrypointExportName<TWorker$1> | undefined = WorkerEntrypointExportName<TWorker$1> | undefined> {
|
|
1527
1525
|
/** The name or config of the bound Worker. */
|
|
1528
1526
|
worker: TWorker$1;
|
|
@@ -1716,11 +1714,6 @@ interface Bindings {
|
|
|
1716
1714
|
vpcNetwork(options: VpcNetworkBindingOptions): VpcNetworkBinding;
|
|
1717
1715
|
/** Binding to a VPC service. */
|
|
1718
1716
|
vpcService(options: VpcServiceBindingOptions): VpcServiceBinding;
|
|
1719
|
-
/**
|
|
1720
|
-
* Cloudflare Web Search binding. There is exactly one shared web corpus, so
|
|
1721
|
-
* the binding is zero-config — only the variable name is required.
|
|
1722
|
-
*/
|
|
1723
|
-
webSearch(options?: WebSearchBindingOptions): WebSearchBinding;
|
|
1724
1717
|
/**
|
|
1725
1718
|
* Service binding (Worker-to-Worker). `worker` is the name or config of the
|
|
1726
1719
|
* bound Worker; `exportName` selects a named `WorkerEntrypoint` export
|
|
@@ -1733,25 +1726,5 @@ interface Bindings {
|
|
|
1733
1726
|
workerLoader(): WorkerLoaderBinding;
|
|
1734
1727
|
}
|
|
1735
1728
|
declare const bindings: Bindings; //#endregion
|
|
1736
|
-
//#region src/settings-definition.d.ts
|
|
1737
|
-
type SettingsConfigExport<T$1 extends SettingsConfig = SettingsConfig> = ConfigInput<T$1>;
|
|
1738
|
-
/**
|
|
1739
|
-
* Authored settings config shape — {@link SettingsConfig} without the `type`
|
|
1740
|
-
* discriminant, which `defineSettings` injects.
|
|
1741
|
-
*/
|
|
1742
|
-
type SettingsConfigInput = Omit<SettingsConfig, "type">;
|
|
1743
|
-
/**
|
|
1744
|
-
* Declare shared settings.
|
|
1745
|
-
* Authored as a named `settings` export.
|
|
1746
|
-
*/
|
|
1747
|
-
declare const defineSettings: <const TInput extends ConfigInput<SettingsConfigInput>>(config: TInput) => TInput extends ((ctx: ConfigContext) => infer TResult) ? (ctx: ConfigContext) => TResult extends Promise<infer TConfig extends {
|
|
1748
|
-
[x: string]: unknown;
|
|
1749
|
-
}> ? Promise<ConfigWithType<TConfig, "settings">> : TResult extends {
|
|
1750
|
-
[x: string]: unknown;
|
|
1751
|
-
} ? ConfigWithType<TResult, "settings"> : never : TInput extends Promise<infer TConfig extends {
|
|
1752
|
-
[x: string]: unknown;
|
|
1753
|
-
}> ? Promise<ConfigWithType<TConfig, "settings">> : TInput extends {
|
|
1754
|
-
[x: string]: unknown;
|
|
1755
|
-
} ? ConfigWithType<TInput, "settings"> : never; //#endregion
|
|
1756
1729
|
//#endregion
|
|
1757
|
-
export { AgentMemoryBinding, AiBinding, AiSearchBinding, AiSearchNamespaceBinding, AnalyticsEngineDatasetBinding, ArtifactsBinding, AssetsBinding, BindingDevOptions, Bindings, BrowserBinding, ConfigContext, ConnectTrigger, ContainerConfig,
|
|
1730
|
+
export { AgentMemoryBinding, AiBinding, AiSearchBinding, AiSearchNamespaceBinding, AnalyticsEngineDatasetBinding, ArtifactsBinding, AssetsBinding, BindingDevOptions, Bindings, BrowserBinding, CloudflareConfig, ConfigContext, ConnectTrigger, ContainerConfig, ContainerDefinition, D1Binding, DispatchNamespaceBinding, DurableObjectBinding, DurableObjectCreatedExport, DurableObjectDeletedExport, DurableObjectExpectingTransferExport, DurableObjectRenamedExport, DurableObjectTransferredExport, EmailTrigger, Exports, FetchTrigger, FlagshipBinding, HyperdriveBinding, ImagesBinding$1 as ImagesBinding, InferDurableNamespaces, InferEnv, InferMainModule, JsonBinding, KvBinding, LogfwdrBinding, MediaBinding$1 as MediaBinding, MtlsCertificateBinding, PipelineBinding, QueueBinding, QueueConsumerTrigger, R2Binding, RateLimitBinding, ScheduledTrigger, SecretBinding, SecretsStoreSecretBinding, SendEmailBinding, Settings, StreamBinding$1 as StreamBinding, TextBinding, Triggers, TypedAiBinding, TypedKvBinding, TypedPipelineBinding, TypedQueueBinding, UnsafeBinding, UnwrapConfig, VectorizeBinding, VersionMetadataBinding, VpcNetworkBinding, VpcServiceBinding, WorkerBinding, WorkerConfig, WorkerDefinition, WorkerEntrypointExport, WorkerEntrypointExportOptions, WorkerLoaderBinding, WorkerReference, WorkflowBinding, bindings, defineConfig, defineContainer, defineWorker, exports, triggers };
|