From 442d438b36f7c416289bdd7012b4bdc6e84202e6 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sat, 30 Sep 2023 12:50:42 +0300 Subject: [PATCH] squash! --- Documentation/_worker.js | 2 +- Documentation/assets/search.js | 2 +- Documentation/modules/Build.html | 2 +- Documentation/modules/Exec.html | 2 +- Documentation/modules/File.html | 2 +- Documentation/modules/JSON.html | 2 +- Target/Function/Worker.d.ts | 2 +- Target/Function/Worker.js | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/_worker.js b/Documentation/_worker.js index fd82b705..faac0d49 100644 --- a/Documentation/_worker.js +++ b/Documentation/_worker.js @@ -1 +1 @@ -var o={fetch:async(e,r)=>{const t=new URL(e.url);return t.pathname.startsWith("/functions/")?new n(t.pathname):r.ASSETS.fetch(e)}};import{Response as n}from"@cloudflare/workers-types";export{o as default}; +var r={fetch:async(n,t)=>{const e=new URL(n.url);return e.pathname.startsWith("/functions/")?new Response(e.pathname):t.ASSETS.fetch(n)}};export{r as default}; diff --git a/Documentation/assets/search.js b/Documentation/assets/search.js index 641f90cf..b9d6e7d3 100644 --- a/Documentation/assets/search.js +++ b/Documentation/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAACqVXTW/bMAz9LzobriV/59ihA7bDNqDDdgiCIo2VzatjB7LTDwT575NkOxIdsUnbSwxZj0+PpEg6eyKap5bM5nvyUNYFmTGP1MsNJzPy82XLb1ei3HY3t9e7siqIR3aikjubpthVvL06Qfh/u00lYatq2bZc0hJy8Ebm8BLqx6Uol/du8kuO88h2KXjdOQ8xWowUt2fnvWFxAtw5UpR1x8V6uTqyqN3XleLqbp756kScevlhbZrkvDQtwKXsc1nxE2Xq5YeVaZLzyrQAl7Kvt9+/nShTLz+sTJOcV6YFGOYkcqdzvatXXdnU4z1B0vrKPbGYC863Gy7+cJT+iHj3GYK3TfWInzDsv43f6go/SivsphH05Grz3cyfdkKDMPJh/92RgU1kGpcLetUr3Mid0bfl/JWZ1K/FCwrY8OrqQ+oYrz6LF5Sf4dW1g1QhXjtWvxmYrn434oGL09Yz7N/1+5dOogmbuRhTPpTWDspEo7OjI7P0jRMUn5sj0UUz8jgZF55sdAV/JrM9eeSilV7IbeaHfi7x65JXhfpK6I+XbM1moxgWw94vvuoaoRA95Cog3jzwGPMTmi0W3ny00Bv6hYZRDEYBjMkVdcEYgIVyxTya+GkEUCFARXIVejT3WRwCWARgMUIWA1QiV5FLWQJgKUKWAlQmV7GLLAOwHCHLYWgDzE86yYGKdeKx1E9ZAoEwC1RFO3UCYR6oCnjmBMJUUBXy3AmEyaAxdgMozAdNUK9hRmiKZY7CpFA0KxSmhar408DpDUwNUwmg1IVkMDdMZYAy59WflAjDkX12dInL2u548aUvdVms930X2ZO7ofzp2GL2hMmfg0dkhOXzYIperTT/OFWNdW6sZQbdZtanijFMLEOKGPL2VC2z5NJeL2OYvZ6kxjg0ttHgajA8E4RirYemoYgMRTKYppjpOByehpFjeRFY3ueI/b9WtmTLKDY22XB0hphu9YeVMc2s40LE5vixZ8xSywyLcfcCj7LyE/Yq4/6R9g/MW8XT6j9vjqxb4RoThtA4Ym1f8MBlJutEBawqawmaLw6H/5qTpPQkDwAA"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAACp1X246bMBD9Fz8jwph7HlttpfahrbRV+xBFq2xwWroEIiB7UZR/r20utomnIfsSZOac48PM+JITqauXhixXJ/KUlxlZUoeUmz0jS/Lj7cDut3V+aO/uPxzzIiMOOdYFj+yr7FiwZnGBcP+0+4LDtsWmaRiXJeTsDMr+HOnnTZ1vHu3ic6ZzyGFTs7K1TqK8KCv2L7v+NVEwSty9su2osDuW2zavykFDBP/vc+pNU84YO+xZ/Zuh8iPi3XPUrKmKZ3yGPn6bvlbr7/mBWcrbiYvgu5U/HmsJwsT7+LszY7bGNC8zOhDvOqNlhqZDWuWWnpMS11tOsm2+PuUFu/AlXs71ZQgoX1IC0dF8SbbN15f7b18vfImXc30ZAsqXlEB0NF+Sbc1Xr7T4VdVPrL5MXR9/6OJz98eJmmrsqR4qqyd14lH7jjAytuRxwrxsWb3bbMelJKI39voMbdmo16Wn3TpDWbbadeVpv81Qls1yXRntGOwsvfEExc/NQWjWGTmejGuHf2TGXsnyRJ5Z3fB+4WHq+m7K8bucFZm4JXTTc7VqvxcK6z72k23bqhaIDrLwiLPyHErdCJL12lkNDBmQLyQMMBgYMMpHYINRA+bzEXUgdWnoGzDfgAV85Ds0dmMaGbDAgIV8FNhgoQGL+Ci0wSIDFvNRZIPFBizBvjQxYCn2pamZXg/DwaQOIt+xtRBmJYCiQLMWIHKeWIFmNSBAgWY9QOQ9taUQzIqAyDx4VqRZFBDJB3AgcuPABJplgQQFmoWBFAWapaEeBqRmaagoAFBr909WCcWRXXHkKufLu2XZ52618/X62G0kJ/LQ7wAw7DInQvnP2SGJeJzVshcjKT/cwBQ5UuQYYWm3WsXzFS9AeKy5tEo1r9CZpRTjyzuTImtcv6Om3YMvDrvCTt5ulEKsFKCfHbDZh0vH4qU/3JVMqsmECP1vw3dkjZNonN49YIk7yCu44oaKGyGU8V+BYgWKhZls38yJQGsliHuXSf/sk02xZAuxRv5/sxTeU8Jer4fIXKYbNDJYE8DXichZkZcctFqfz/8A2IWYECcPAAA="; \ No newline at end of file diff --git a/Documentation/modules/Build.html b/Documentation/modules/Build.html index 9d72c3b5..711cef60 100644 --- a/Documentation/modules/Build.html +++ b/Documentation/modules/Build.html @@ -16,7 +16,7 @@
  • Build
  • Module Build

    +
  • Defined in Application/NikolaRHristov/NPM/TypeScriptESBuild/Source/Function/Build.ts:1
  • Index

    diff --git a/Documentation/modules/Exec.html b/Documentation/modules/Exec.html index a7692365..2f812700 100644 --- a/Documentation/modules/Exec.html +++ b/Documentation/modules/Exec.html @@ -16,7 +16,7 @@
  • Exec
  • Module Exec

    +
  • Defined in Application/NikolaRHristov/NPM/TypeScriptESBuild/Source/Function/Exec.ts:1
  • Index

    diff --git a/Documentation/modules/File.html b/Documentation/modules/File.html index 8821477f..3bac93e3 100644 --- a/Documentation/modules/File.html +++ b/Documentation/modules/File.html @@ -16,7 +16,7 @@
  • File
  • Module File

    +
  • Defined in Application/NikolaRHristov/NPM/TypeScriptESBuild/Source/Function/File.ts:1
  • Index

    diff --git a/Documentation/modules/JSON.html b/Documentation/modules/JSON.html index 479350c5..2cdc0e63 100644 --- a/Documentation/modules/JSON.html +++ b/Documentation/modules/JSON.html @@ -16,7 +16,7 @@
  • JSON
  • Module JSON

    +
  • Defined in Application/NikolaRHristov/NPM/TypeScriptESBuild/Source/Function/JSON.ts:1
  • Index

    diff --git a/Target/Function/Worker.d.ts b/Target/Function/Worker.d.ts index 906f3a11..bb67dfba 100644 --- a/Target/Function/Worker.d.ts +++ b/Target/Function/Worker.d.ts @@ -1,6 +1,6 @@ +/// interface Environment { ASSETS: Fetcher; } declare const _default: ExportedHandler; export default _default; -import type { ExportedHandler, Fetcher } from "@cloudflare/workers-types"; diff --git a/Target/Function/Worker.js b/Target/Function/Worker.js index c3804ce7..faac0d49 100644 --- a/Target/Function/Worker.js +++ b/Target/Function/Worker.js @@ -1 +1 @@ -var r={fetch:async(e,n)=>{const t=new URL(e.url);return t.pathname.startsWith("/functions/")?new Response(t.pathname):n.ASSETS.fetch(e)}};export{r as default}; +var r={fetch:async(n,t)=>{const e=new URL(n.url);return e.pathname.startsWith("/functions/")?new Response(e.pathname):t.ASSETS.fetch(n)}};export{r as default};