@powerlines/plugin-cloudflare 0.5.3 → 0.5.4
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/package.json +8 -8
- package/dist/_virtual/_rolldown/runtime.cjs +0 -29
- package/dist/_virtual/_rolldown/runtime.mjs +0 -3
- package/dist/components/cloudflare-builtin.cjs +0 -917
- package/dist/components/cloudflare-builtin.d.cts +0 -13
- package/dist/components/cloudflare-builtin.d.cts.map +0 -1
- package/dist/components/cloudflare-builtin.d.mts +0 -13
- package/dist/components/cloudflare-builtin.d.mts.map +0 -1
- package/dist/components/cloudflare-builtin.mjs +0 -915
- package/dist/components/cloudflare-builtin.mjs.map +0 -1
- package/dist/components/env-builtin.cjs +0 -32
- package/dist/components/env-builtin.d.cts +0 -13
- package/dist/components/env-builtin.d.cts.map +0 -1
- package/dist/components/env-builtin.d.mts +0 -13
- package/dist/components/env-builtin.d.mts.map +0 -1
- package/dist/components/env-builtin.mjs +0 -30
- package/dist/components/env-builtin.mjs.map +0 -1
- package/dist/components/index.cjs +0 -8
- package/dist/components/index.d.cts +0 -4
- package/dist/components/index.d.mts +0 -4
- package/dist/components/index.mjs +0 -5
- package/dist/components/worker-entry.cjs +0 -203
- package/dist/components/worker-entry.d.cts +0 -16
- package/dist/components/worker-entry.d.cts.map +0 -1
- package/dist/components/worker-entry.d.mts +0 -16
- package/dist/components/worker-entry.d.mts.map +0 -1
- package/dist/components/worker-entry.mjs +0 -201
- package/dist/components/worker-entry.mjs.map +0 -1
- package/dist/index.cjs +0 -138
- package/dist/index.d.cts +0 -20
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts +0 -20
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs +0 -130
- package/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@cloudflare_unenv-preset@2.15.0_unenv@2.0.0-rc.24/node_modules/@cloudflare/unenv-preset/dist/index.cjs +0 -370
- package/dist/node_modules/.pnpm/@cloudflare_unenv-preset@2.15.0_unenv@2.0.0-rc.24/node_modules/@cloudflare/unenv-preset/dist/index.mjs +0 -367
- package/dist/node_modules/.pnpm/@cloudflare_unenv-preset@2.15.0_unenv@2.0.0-rc.24/node_modules/@cloudflare/unenv-preset/dist/index.mjs.map +0 -1
- package/dist/types/index.cjs +0 -0
- package/dist/types/index.d.cts +0 -3
- package/dist/types/index.d.mts +0 -3
- package/dist/types/index.mjs +0 -1
- package/dist/types/plugin.cjs +0 -0
- package/dist/types/plugin.d.cts +0 -76
- package/dist/types/plugin.d.cts.map +0 -1
- package/dist/types/plugin.d.mts +0 -76
- package/dist/types/plugin.d.mts.map +0 -1
- package/dist/types/plugin.mjs +0 -1
- package/dist/types/worker-module.cjs +0 -0
- package/dist/types/worker-module.d.cts +0 -35
- package/dist/types/worker-module.d.cts.map +0 -1
- package/dist/types/worker-module.d.mts +0 -35
- package/dist/types/worker-module.d.mts.map +0 -1
- package/dist/types/worker-module.mjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"worker-module.d.cts","names":[],"sources":["../../src/types/worker-module.ts"],"mappings":";;;;KAqBY,oBAAA,GAAuB,OAAA,CACjC,IAAA,CAAK,iBAAA,2DAEL,OAAA,CAAQ,IAAA,CAAK,gBAAA;;AAHf;;;;;EAUI,IAAA;EAPW;;;;;;;;;;;;EAqBX,OAAA;AAAA;AAAA,UAGa,YAAA;EACf,QAAA,GAAW,oBAAA;EACX,OAAA,EAAS,eAAA;AAAA;AAAA"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { WorkersRouteArgs, WorkersScriptArgs } from "@pulumi/cloudflare";
|
|
2
|
-
import { ExportedHandler } from "@cloudflare/workers-types";
|
|
3
|
-
|
|
4
|
-
//#region src/types/worker-module.d.ts
|
|
5
|
-
type WorkerModuleMetadata = Partial<Omit<WorkersScriptArgs, "accountId" | "scriptName" | "contentFile" | "entry">> & Partial<Omit<WorkersRouteArgs, "zoneId" | "script" | "pattern" | "entry">> & {
|
|
6
|
-
/**
|
|
7
|
-
* The name of the Cloudflare Worker script to deploy - used in URLs and route configuration.
|
|
8
|
-
*
|
|
9
|
-
* @remarks
|
|
10
|
-
* If no value is provided, the {@link Config.name} configuration value will be used.
|
|
11
|
-
*/
|
|
12
|
-
name?: string;
|
|
13
|
-
/**
|
|
14
|
-
* A routing pattern to associate with the deployed Worker script.
|
|
15
|
-
*
|
|
16
|
-
* @remarks
|
|
17
|
-
* This is required for the Worker script to be accessible via a public URL. The plugin will replace the string `{domain}` in the pattern with the value of the `domain` configuration option, if provided. If no pattern is provided, a default pattern will be generated based on the script name and plugin mode (e.g. `https://{scriptName}.{mode}.worker-script.{domain}`).
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```typescript
|
|
21
|
-
* // Example pattern for: "worker-script.my-example-domain.com"
|
|
22
|
-
* pattern: "worker-script.{domain}"
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
pattern?: string;
|
|
26
|
-
};
|
|
27
|
-
interface WorkerModule {
|
|
28
|
-
metadata?: WorkerModuleMetadata;
|
|
29
|
-
default: ExportedHandler;
|
|
30
|
-
}
|
|
31
|
-
declare type __ΩWorkerModuleMetadata = any[];
|
|
32
|
-
declare type __ΩWorkerModule = any[];
|
|
33
|
-
//#endregion
|
|
34
|
-
export { WorkerModule, WorkerModuleMetadata, __ΩWorkerModule, __ΩWorkerModuleMetadata };
|
|
35
|
-
//# sourceMappingURL=worker-module.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"worker-module.d.mts","names":[],"sources":["../../src/types/worker-module.ts"],"mappings":";;;;KAqBY,oBAAA,GAAuB,OAAA,CACjC,IAAA,CAAK,iBAAA,2DAEL,OAAA,CAAQ,IAAA,CAAK,gBAAA;;AAHf;;;;;EAUI,IAAA;EAPW;;;;;;;;;;;;EAqBX,OAAA;AAAA;AAAA,UAGa,YAAA;EACf,QAAA,GAAW,oBAAA;EACX,OAAA,EAAS,eAAA;AAAA;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|