@powerlines/plugin-cloudflare 0.6.314 → 0.6.316

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.
Files changed (65) hide show
  1. package/dist/cloudflare-builtin-lvchn8aN.d.cts +10 -0
  2. package/dist/cloudflare-builtin-lvchn8aN.d.cts.map +1 -0
  3. package/dist/cloudflare-builtin-lvchn8aN.d.mts +10 -0
  4. package/dist/cloudflare-builtin-lvchn8aN.d.mts.map +1 -0
  5. package/dist/components/cloudflare-builtin.cjs +2 -2
  6. package/dist/components/cloudflare-builtin.d.cts +2 -10
  7. package/dist/components/cloudflare-builtin.d.mts +2 -10
  8. package/dist/components/env-builtin.cjs +2 -2
  9. package/dist/components/env-builtin.d.cts +2 -10
  10. package/dist/components/env-builtin.d.mts +2 -10
  11. package/dist/components/index.d.cts +3 -3
  12. package/dist/components/index.d.mts +3 -3
  13. package/dist/components/worker-entry.cjs +2 -2
  14. package/dist/components/worker-entry.d.cts +2 -14
  15. package/dist/components/worker-entry.d.mts +2 -14
  16. package/dist/env-builtin-DBC3IzNC.d.cts +10 -0
  17. package/dist/env-builtin-DBC3IzNC.d.cts.map +1 -0
  18. package/dist/env-builtin-DBC3IzNC.d.mts +10 -0
  19. package/dist/env-builtin-DBC3IzNC.d.mts.map +1 -0
  20. package/dist/index-CzSH-wX5.d.mts +3 -0
  21. package/dist/index-DKQw89Z9.d.cts +3 -0
  22. package/dist/index.cjs +5 -5
  23. package/dist/index.d.cts +7 -7
  24. package/dist/index.d.mts +7 -7
  25. package/dist/plugin-DHHBrJ0X.d.cts +84 -0
  26. package/dist/plugin-DHHBrJ0X.d.cts.map +1 -0
  27. package/dist/plugin-QOCaPGt-.d.mts +84 -0
  28. package/dist/plugin-QOCaPGt-.d.mts.map +1 -0
  29. package/dist/{_virtual/_rolldown/runtime.cjs → rolldown-runtime-C24Yb2bl.cjs} +6 -1
  30. package/dist/types/index.cjs +2 -0
  31. package/dist/types/index.d.cts +4 -3
  32. package/dist/types/index.d.mts +4 -3
  33. package/dist/types/index.mjs +2 -0
  34. package/dist/types/plugin.d.cts +2 -84
  35. package/dist/types/plugin.d.mts +2 -84
  36. package/dist/types/worker-module.d.cts +2 -39
  37. package/dist/types/worker-module.d.mts +2 -39
  38. package/dist/types/wrangler.cjs +4 -4
  39. package/dist/types/wrangler.d.cts +2 -34
  40. package/dist/types/wrangler.d.mts +2 -34
  41. package/dist/worker-entry-CReS1fQZ.d.mts +14 -0
  42. package/dist/worker-entry-CReS1fQZ.d.mts.map +1 -0
  43. package/dist/worker-entry-CiarlLKk.d.cts +14 -0
  44. package/dist/worker-entry-CiarlLKk.d.cts.map +1 -0
  45. package/dist/worker-module-CfGxF7da.d.cts +39 -0
  46. package/dist/worker-module-CfGxF7da.d.cts.map +1 -0
  47. package/dist/worker-module-DVjaixwZ.d.mts +39 -0
  48. package/dist/worker-module-DVjaixwZ.d.mts.map +1 -0
  49. package/dist/wrangler-DuuHql6r.d.cts +34 -0
  50. package/dist/wrangler-DuuHql6r.d.cts.map +1 -0
  51. package/dist/wrangler-DuuHql6r.d.mts +34 -0
  52. package/dist/wrangler-DuuHql6r.d.mts.map +1 -0
  53. package/package.json +9 -9
  54. package/dist/components/cloudflare-builtin.d.cts.map +0 -1
  55. package/dist/components/cloudflare-builtin.d.mts.map +0 -1
  56. package/dist/components/env-builtin.d.cts.map +0 -1
  57. package/dist/components/env-builtin.d.mts.map +0 -1
  58. package/dist/components/worker-entry.d.cts.map +0 -1
  59. package/dist/components/worker-entry.d.mts.map +0 -1
  60. package/dist/types/plugin.d.cts.map +0 -1
  61. package/dist/types/plugin.d.mts.map +0 -1
  62. package/dist/types/worker-module.d.cts.map +0 -1
  63. package/dist/types/worker-module.d.mts.map +0 -1
  64. package/dist/types/wrangler.d.cts.map +0 -1
  65. package/dist/types/wrangler.d.mts.map +0 -1
@@ -0,0 +1,10 @@
1
+ import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
2
+ //#region src/components/cloudflare-builtin.d.ts
3
+ type CloudflareBuiltinProps = Partial<BuiltinFileProps> & Omit<BuiltinFileProps, "id" | "description">;
4
+ /**
5
+ * Generates the Cloudflare environment configuration module for the Powerlines project.
6
+ */
7
+ declare function CloudflareBuiltin(props: CloudflareBuiltinProps): import("@alloy-js/core").Children;
8
+ //#endregion
9
+ export { CloudflareBuiltinProps as n, CloudflareBuiltin as t };
10
+ //# sourceMappingURL=cloudflare-builtin-lvchn8aN.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudflare-builtin-lvchn8aN.d.cts","names":[],"sources":["../src/components/cloudflare-builtin.tsx"],"mappings":";;KAoCY,yBAAyB,QAAQ,oBAC3C,KAAK;;;;iBAKS,kBAAkB,OAAO,kDAAsB"}
@@ -0,0 +1,10 @@
1
+ import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
2
+ //#region src/components/cloudflare-builtin.d.ts
3
+ type CloudflareBuiltinProps = Partial<BuiltinFileProps> & Omit<BuiltinFileProps, "id" | "description">;
4
+ /**
5
+ * Generates the Cloudflare environment configuration module for the Powerlines project.
6
+ */
7
+ declare function CloudflareBuiltin(props: CloudflareBuiltinProps): import("@alloy-js/core").Children;
8
+ //#endregion
9
+ export { CloudflareBuiltinProps as n, CloudflareBuiltin as t };
10
+ //# sourceMappingURL=cloudflare-builtin-lvchn8aN.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudflare-builtin-lvchn8aN.d.mts","names":[],"sources":["../src/components/cloudflare-builtin.tsx"],"mappings":""}
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
2
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.cjs');
3
3
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
4
  let _alloy_js_core = require("@alloy-js/core");
5
5
  let defu = require("defu");
6
- defu = require_runtime.__toESM(defu, 1);
6
+ defu = require_rolldown_runtime.__toESM(defu, 1);
7
7
  let _alloy_js_typescript = require("@alloy-js/typescript");
8
8
  let _power_plant_alloy_js_core_components_spacing = require("@power-plant/alloy-js/core/components/spacing");
9
9
  let _power_plant_alloy_js_typescript_components_interface_declaration = require("@power-plant/alloy-js/typescript/components/interface-declaration");
@@ -1,10 +1,2 @@
1
- import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
2
- //#region src/components/cloudflare-builtin.d.ts
3
- type CloudflareBuiltinProps = Partial<BuiltinFileProps> & Omit<BuiltinFileProps, "id" | "description">;
4
- /**
5
- * Generates the Cloudflare environment configuration module for the Powerlines project.
6
- */
7
- declare function CloudflareBuiltin(props: CloudflareBuiltinProps): import("@alloy-js/core").Children;
8
- //#endregion
9
- export { CloudflareBuiltin, CloudflareBuiltinProps };
10
- //# sourceMappingURL=cloudflare-builtin.d.cts.map
1
+ import { n as CloudflareBuiltinProps, t as CloudflareBuiltin } from "../cloudflare-builtin-lvchn8aN.cjs";
2
+ export { CloudflareBuiltin, CloudflareBuiltinProps };
@@ -1,10 +1,2 @@
1
- import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
2
- //#region src/components/cloudflare-builtin.d.ts
3
- type CloudflareBuiltinProps = Partial<BuiltinFileProps> & Omit<BuiltinFileProps, "id" | "description">;
4
- /**
5
- * Generates the Cloudflare environment configuration module for the Powerlines project.
6
- */
7
- declare function CloudflareBuiltin(props: CloudflareBuiltinProps): import("@alloy-js/core").Children;
8
- //#endregion
9
- export { CloudflareBuiltin, CloudflareBuiltinProps };
10
- //# sourceMappingURL=cloudflare-builtin.d.mts.map
1
+ import { n as CloudflareBuiltinProps, t as CloudflareBuiltin } from "../cloudflare-builtin-lvchn8aN.mjs";
2
+ export { CloudflareBuiltin, CloudflareBuiltinProps };
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
2
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.cjs');
3
3
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
4
  let _alloy_js_core = require("@alloy-js/core");
5
5
  let defu = require("defu");
6
- defu = require_runtime.__toESM(defu, 1);
6
+ defu = require_rolldown_runtime.__toESM(defu, 1);
7
7
  let _power_plant_alloy_js_core_components_spacing = require("@power-plant/alloy-js/core/components/spacing");
8
8
  let _powerlines_plugin_env_components_env_builtin = require("@powerlines/plugin-env/components/env-builtin");
9
9
 
@@ -1,10 +1,2 @@
1
- import { EnvBuiltinProps } from "@powerlines/plugin-env/components/env-builtin";
2
- //#region src/components/env-builtin.d.ts
3
- type CloudflareEnvBuiltinProps = Omit<EnvBuiltinProps, "defaultConfig">;
4
- /**
5
- * Generates the Cloudflare environment configuration module for the Powerlines project.
6
- */
7
- declare function CloudflareEnvBuiltin(props: CloudflareEnvBuiltinProps): import("@alloy-js/core").Children;
8
- //#endregion
9
- export { CloudflareEnvBuiltin, CloudflareEnvBuiltinProps };
10
- //# sourceMappingURL=env-builtin.d.cts.map
1
+ import { n as CloudflareEnvBuiltinProps, t as CloudflareEnvBuiltin } from "../env-builtin-DBC3IzNC.cjs";
2
+ export { CloudflareEnvBuiltin, CloudflareEnvBuiltinProps };
@@ -1,10 +1,2 @@
1
- import { EnvBuiltinProps } from "@powerlines/plugin-env/components/env-builtin";
2
- //#region src/components/env-builtin.d.ts
3
- type CloudflareEnvBuiltinProps = Omit<EnvBuiltinProps, "defaultConfig">;
4
- /**
5
- * Generates the Cloudflare environment configuration module for the Powerlines project.
6
- */
7
- declare function CloudflareEnvBuiltin(props: CloudflareEnvBuiltinProps): import("@alloy-js/core").Children;
8
- //#endregion
9
- export { CloudflareEnvBuiltin, CloudflareEnvBuiltinProps };
10
- //# sourceMappingURL=env-builtin.d.mts.map
1
+ import { n as CloudflareEnvBuiltinProps, t as CloudflareEnvBuiltin } from "../env-builtin-DBC3IzNC.mjs";
2
+ export { CloudflareEnvBuiltin, CloudflareEnvBuiltinProps };
@@ -1,4 +1,4 @@
1
- import { CloudflareBuiltin, CloudflareBuiltinProps } from "./cloudflare-builtin.cjs";
2
- import { CloudflareEnvBuiltin, CloudflareEnvBuiltinProps } from "./env-builtin.cjs";
3
- import { WorkerEntry, WorkerEntryProps } from "./worker-entry.cjs";
1
+ import { n as CloudflareBuiltinProps, t as CloudflareBuiltin } from "../cloudflare-builtin-lvchn8aN.cjs";
2
+ import { n as CloudflareEnvBuiltinProps, t as CloudflareEnvBuiltin } from "../env-builtin-DBC3IzNC.cjs";
3
+ import { n as WorkerEntryProps, t as WorkerEntry } from "../worker-entry-CiarlLKk.cjs";
4
4
  export { CloudflareBuiltin, CloudflareBuiltinProps, CloudflareEnvBuiltin, CloudflareEnvBuiltinProps, WorkerEntry, WorkerEntryProps };
@@ -1,4 +1,4 @@
1
- import { CloudflareBuiltin, CloudflareBuiltinProps } from "./cloudflare-builtin.mjs";
2
- import { CloudflareEnvBuiltin, CloudflareEnvBuiltinProps } from "./env-builtin.mjs";
3
- import { WorkerEntry, WorkerEntryProps } from "./worker-entry.mjs";
1
+ import { n as CloudflareBuiltinProps, t as CloudflareBuiltin } from "../cloudflare-builtin-lvchn8aN.mjs";
2
+ import { n as CloudflareEnvBuiltinProps, t as CloudflareEnvBuiltin } from "../env-builtin-DBC3IzNC.mjs";
3
+ import { n as WorkerEntryProps, t as WorkerEntry } from "../worker-entry-CReS1fQZ.mjs";
4
4
  export { CloudflareBuiltin, CloudflareBuiltinProps, CloudflareEnvBuiltin, CloudflareEnvBuiltinProps, WorkerEntry, WorkerEntryProps };
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
2
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.cjs');
3
3
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
4
  let _alloy_js_core = require("@alloy-js/core");
5
5
  let defu = require("defu");
6
- defu = require_runtime.__toESM(defu, 1);
6
+ defu = require_rolldown_runtime.__toESM(defu, 1);
7
7
  let _power_plant_alloy_js_core_components_spacing = require("@power-plant/alloy-js/core/components/spacing");
8
8
  let _powerlines_plugin_alloy_core_contexts = require("@powerlines/plugin-alloy/core/contexts");
9
9
  let _powerlines_plugin_alloy_typescript_components_entry_file = require("@powerlines/plugin-alloy/typescript/components/entry-file");
@@ -1,14 +1,2 @@
1
- import { CloudflareWorkerEntryModule } from "../types/plugin.cjs";
2
- import "../types/index.cjs";
3
- import { EntryFileProps } from "@powerlines/plugin-alloy/typescript/components/entry-file";
4
- //#region src/components/worker-entry.d.ts
5
- type WorkerEntryProps = Partial<EntryFileProps> & Omit<EntryFileProps, "path"> & {
6
- worker: CloudflareWorkerEntryModule;
7
- };
8
- /**
9
- * Generates a [Cloudflare Worker](https://developers.cloudflare.com/workers/runtime-apis/handlers/) entry module for the Powerlines project, providing a runtime context and utilities for integrating with Cloudflare services. This module defines a `CloudflareContext` interface, an `AsyncLocalStorage` instance for managing the context, and helper functions for retrieving and running code within the context. The generated module is designed to be used as a built-in file within the Powerlines environment, allowing developers to easily access Cloudflare-specific functionality in their applications.
10
- */
11
- declare function WorkerEntry(props: WorkerEntryProps): import("@alloy-js/core").Children;
12
- //#endregion
13
- export { WorkerEntry, WorkerEntryProps };
14
- //# sourceMappingURL=worker-entry.d.cts.map
1
+ import { n as WorkerEntryProps, t as WorkerEntry } from "../worker-entry-CiarlLKk.cjs";
2
+ export { WorkerEntry, WorkerEntryProps };
@@ -1,14 +1,2 @@
1
- import { CloudflareWorkerEntryModule } from "../types/plugin.mjs";
2
- import "../types/index.mjs";
3
- import { EntryFileProps } from "@powerlines/plugin-alloy/typescript/components/entry-file";
4
- //#region src/components/worker-entry.d.ts
5
- type WorkerEntryProps = Partial<EntryFileProps> & Omit<EntryFileProps, "path"> & {
6
- worker: CloudflareWorkerEntryModule;
7
- };
8
- /**
9
- * Generates a [Cloudflare Worker](https://developers.cloudflare.com/workers/runtime-apis/handlers/) entry module for the Powerlines project, providing a runtime context and utilities for integrating with Cloudflare services. This module defines a `CloudflareContext` interface, an `AsyncLocalStorage` instance for managing the context, and helper functions for retrieving and running code within the context. The generated module is designed to be used as a built-in file within the Powerlines environment, allowing developers to easily access Cloudflare-specific functionality in their applications.
10
- */
11
- declare function WorkerEntry(props: WorkerEntryProps): import("@alloy-js/core").Children;
12
- //#endregion
13
- export { WorkerEntry, WorkerEntryProps };
14
- //# sourceMappingURL=worker-entry.d.mts.map
1
+ import { n as WorkerEntryProps, t as WorkerEntry } from "../worker-entry-CReS1fQZ.mjs";
2
+ export { WorkerEntry, WorkerEntryProps };
@@ -0,0 +1,10 @@
1
+ import { EnvBuiltinProps } from "@powerlines/plugin-env/components/env-builtin";
2
+ //#region src/components/env-builtin.d.ts
3
+ type CloudflareEnvBuiltinProps = Omit<EnvBuiltinProps, "defaultConfig">;
4
+ /**
5
+ * Generates the Cloudflare environment configuration module for the Powerlines project.
6
+ */
7
+ declare function CloudflareEnvBuiltin(props: CloudflareEnvBuiltinProps): import("@alloy-js/core").Children;
8
+ //#endregion
9
+ export { CloudflareEnvBuiltinProps as n, CloudflareEnvBuiltin as t };
10
+ //# sourceMappingURL=env-builtin-DBC3IzNC.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env-builtin-DBC3IzNC.d.cts","names":[],"sources":["../src/components/env-builtin.tsx"],"mappings":";;KA0BY,4BAA4B,KAAK;;;;iBAK7B,qBAAqB,OAAO,qDAAyB"}
@@ -0,0 +1,10 @@
1
+ import { EnvBuiltinProps } from "@powerlines/plugin-env/components/env-builtin";
2
+ //#region src/components/env-builtin.d.ts
3
+ type CloudflareEnvBuiltinProps = Omit<EnvBuiltinProps, "defaultConfig">;
4
+ /**
5
+ * Generates the Cloudflare environment configuration module for the Powerlines project.
6
+ */
7
+ declare function CloudflareEnvBuiltin(props: CloudflareEnvBuiltinProps): import("@alloy-js/core").Children;
8
+ //#endregion
9
+ export { CloudflareEnvBuiltinProps as n, CloudflareEnvBuiltin as t };
10
+ //# sourceMappingURL=env-builtin-DBC3IzNC.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env-builtin-DBC3IzNC.d.mts","names":[],"sources":["../src/components/env-builtin.tsx"],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import "./wrangler-DuuHql6r.mjs";
2
+ import "./worker-module-DVjaixwZ.mjs";
3
+ import "./plugin-QOCaPGt-.mjs";
@@ -0,0 +1,3 @@
1
+ import "./wrangler-DuuHql6r.cjs";
2
+ import "./worker-module-CfGxF7da.cjs";
3
+ import "./plugin-DHHBrJ0X.cjs";
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
2
+ const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
3
3
  const require_components_cloudflare_builtin = require('./components/cloudflare-builtin.cjs');
4
4
  const require_components_env_builtin = require('./components/env-builtin.cjs');
5
5
  const require_components_worker_entry = require('./components/worker-entry.cjs');
@@ -11,17 +11,17 @@ let _cloudflare_unenv_preset = require("@cloudflare/unenv-preset");
11
11
  let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
12
12
  let _powerlines_plugin_env_helpers = require("@powerlines/plugin-env/helpers");
13
13
  let _powerlines_plugin_pulumi = require("@powerlines/plugin-pulumi");
14
- _powerlines_plugin_pulumi = require_runtime.__toESM(_powerlines_plugin_pulumi, 1);
14
+ _powerlines_plugin_pulumi = require_rolldown_runtime.__toESM(_powerlines_plugin_pulumi, 1);
15
15
  let _powerlines_plugin_unenv = require("@powerlines/plugin-unenv");
16
- _powerlines_plugin_unenv = require_runtime.__toESM(_powerlines_plugin_unenv, 1);
16
+ _powerlines_plugin_unenv = require_rolldown_runtime.__toESM(_powerlines_plugin_unenv, 1);
17
17
  let _pulumi_cloudflare = require("@pulumi/cloudflare");
18
- _pulumi_cloudflare = require_runtime.__toESM(_pulumi_cloudflare, 1);
18
+ _pulumi_cloudflare = require_rolldown_runtime.__toESM(_pulumi_cloudflare, 1);
19
19
  let _stryke_helpers_omit = require("@stryke/helpers/omit");
20
20
  let _stryke_path = require("@stryke/path");
21
21
  let _stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
22
22
  let _stryke_type_checks_is_function = require("@stryke/type-checks/is-function");
23
23
  let defu = require("defu");
24
- defu = require_runtime.__toESM(defu, 1);
24
+ defu = require_rolldown_runtime.__toESM(defu, 1);
25
25
  let powerlines_schema = require("powerlines/schema");
26
26
  let wrangler = require("wrangler");
27
27
 
package/dist/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { CloudflareBuiltin, CloudflareBuiltinProps } from "./components/cloudflare-builtin.cjs";
2
- import { CloudflareEnvBuiltin, CloudflareEnvBuiltinProps } from "./components/env-builtin.cjs";
3
- import { Json, JsonSchema, Literal, LiteralSchema, OptionalZodTypeOf, PathSchema, WranglerResolvedConfig, WranglerUserConfig, defaultWranglerConfig, isCyclic, parseWithRootPath } from "./types/wrangler.cjs";
4
- import { WorkerModule, WorkerModuleMetadata } from "./types/worker-module.cjs";
5
- import { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, CloudflareWorkerMetadata } from "./types/plugin.cjs";
6
- import "./types/index.cjs";
7
- import { WorkerEntry, WorkerEntryProps } from "./components/worker-entry.cjs";
1
+ import { n as CloudflareBuiltinProps, t as CloudflareBuiltin } from "./cloudflare-builtin-lvchn8aN.cjs";
2
+ import { n as CloudflareEnvBuiltinProps, t as CloudflareEnvBuiltin } from "./env-builtin-DBC3IzNC.cjs";
3
+ import { a as OptionalZodTypeOf, c as WranglerUserConfig, d as parseWithRootPath, i as LiteralSchema, l as defaultWranglerConfig, n as JsonSchema, o as PathSchema, r as Literal, s as WranglerResolvedConfig, t as Json, u as isCyclic } from "./wrangler-DuuHql6r.cjs";
4
+ import { n as WorkerModuleMetadata, t as WorkerModule } from "./worker-module-CfGxF7da.cjs";
5
+ import { a as CloudflareWorkerEntryModule, i as CloudflarePluginUserConfig, n as CloudflarePluginOptions, o as CloudflareWorkerMetadata, r as CloudflarePluginResolvedConfig, t as CloudflarePluginContext } from "./plugin-DHHBrJ0X.cjs";
6
+ import "./index-DKQw89Z9.cjs";
7
+ import { n as WorkerEntryProps, t as WorkerEntry } from "./worker-entry-CiarlLKk.cjs";
8
8
  import "./components/index.cjs";
9
9
  import { Plugin } from "powerlines";
10
10
  //#region src/index.d.ts
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
- import { CloudflareBuiltin, CloudflareBuiltinProps } from "./components/cloudflare-builtin.mjs";
2
- import { CloudflareEnvBuiltin, CloudflareEnvBuiltinProps } from "./components/env-builtin.mjs";
3
- import { Json, JsonSchema, Literal, LiteralSchema, OptionalZodTypeOf, PathSchema, WranglerResolvedConfig, WranglerUserConfig, defaultWranglerConfig, isCyclic, parseWithRootPath } from "./types/wrangler.mjs";
4
- import { WorkerModule, WorkerModuleMetadata } from "./types/worker-module.mjs";
5
- import { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, CloudflareWorkerMetadata } from "./types/plugin.mjs";
6
- import "./types/index.mjs";
7
- import { WorkerEntry, WorkerEntryProps } from "./components/worker-entry.mjs";
1
+ import { n as CloudflareBuiltinProps, t as CloudflareBuiltin } from "./cloudflare-builtin-lvchn8aN.mjs";
2
+ import { n as CloudflareEnvBuiltinProps, t as CloudflareEnvBuiltin } from "./env-builtin-DBC3IzNC.mjs";
3
+ import { a as OptionalZodTypeOf, c as WranglerUserConfig, d as parseWithRootPath, i as LiteralSchema, l as defaultWranglerConfig, n as JsonSchema, o as PathSchema, r as Literal, s as WranglerResolvedConfig, t as Json, u as isCyclic } from "./wrangler-DuuHql6r.mjs";
4
+ import { n as WorkerModuleMetadata, t as WorkerModule } from "./worker-module-DVjaixwZ.mjs";
5
+ import { a as CloudflareWorkerEntryModule, i as CloudflarePluginUserConfig, n as CloudflarePluginOptions, o as CloudflareWorkerMetadata, r as CloudflarePluginResolvedConfig, t as CloudflarePluginContext } from "./plugin-QOCaPGt-.mjs";
6
+ import "./index-CzSH-wX5.mjs";
7
+ import { n as WorkerEntryProps, t as WorkerEntry } from "./worker-entry-CReS1fQZ.mjs";
8
8
  import "./components/index.mjs";
9
9
  import { Plugin } from "powerlines";
10
10
  //#region src/index.d.ts
@@ -0,0 +1,84 @@
1
+ import { s as WranglerResolvedConfig } from "./wrangler-DuuHql6r.cjs";
2
+ import { n as WorkerModuleMetadata } from "./worker-module-CfGxF7da.cjs";
3
+ import { ExportedHandler } from "@cloudflare/workers-types";
4
+ import { EnvPluginContext, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env";
5
+ import { PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig } from "@powerlines/plugin-pulumi";
6
+ import { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig } from "@powerlines/plugin-unenv";
7
+ import { RequiredKeys } from "@stryke/types/base";
8
+ import { PluginContext, ResolvedEntryFileReference } from "powerlines";
9
+ //#region src/types/plugin.d.ts
10
+ interface CloudflarePluginOptions {
11
+ /**
12
+ * The Cloudflare account ID to use for the plugin.
13
+ *
14
+ * @remarks
15
+ * This is required for certain features of the plugin, such as deploying a Cloudflare Worker entry module. This option can also be set via the `CLOUDFLARE_ACCOUNT_ID` environment variable. If both are provided, the value from the plugin options will take precedence.
16
+ *
17
+ * @see https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/
18
+ */
19
+ accountId?: string;
20
+ /**
21
+ * The Cloudflare API token to use for the plugin.
22
+ *
23
+ * @remarks
24
+ * This option can also be set via the `CLOUDFLARE_API_TOKEN` environment variable. If both are provided, the value from the plugin options will take precedence.
25
+ *
26
+ * @see https://developers.cloudflare.com/fundamentals/api/get-started/create-token/
27
+ */
28
+ apiToken?: string;
29
+ /**
30
+ * A path to the Wrangler configuration file (either `.toml` or `.jsonc`) to use as the base configuration for the plugin.
31
+ *
32
+ * @remarks
33
+ * This is required for certain features of the plugin, such as deploying a Cloudflare Worker entry module. If not provided, the plugin will look for a Wrangler configuration file in the project root directory with the default name `wrangler.toml`. You can also specify a custom path to the Wrangler configuration file using this option.
34
+ */
35
+ configPath?: string;
36
+ /**
37
+ * The domain to use for the Cloudflare deployed resources.
38
+ */
39
+ domain?: string;
40
+ /**
41
+ * The [unenv](https://unjs.dev/packages/unenv) plugin configuration options.
42
+ *
43
+ * @remarks
44
+ * The plugin will automatically include the Cloudflare preset for unenv, which provides compatibility with Cloudflare Workers runtimes. You can customize the unenv configuration by providing options here, but the Cloudflare preset will always be included.
45
+ */
46
+ unenv?: UnenvPluginOptions;
47
+ /**
48
+ * The configuration options for Pulumi.
49
+ */
50
+ pulumi?: PulumiPluginOptions;
51
+ }
52
+ type CloudflarePluginUserConfig = EnvPluginUserConfig & PulumiPluginUserConfig & UnenvPluginUserConfig & {
53
+ /**
54
+ * Options for the Cloudflare plugin.
55
+ */
56
+ cloudflare?: Omit<CloudflarePluginOptions, "unenv" | "pulumi">;
57
+ };
58
+ type CloudflarePluginResolvedConfig = EnvPluginResolvedConfig & PulumiPluginResolvedConfig & UnenvPluginResolvedConfig & {
59
+ /**
60
+ * Options for the Cloudflare plugin.
61
+ */
62
+ cloudflare: Required<Omit<CloudflarePluginOptions, "unenv" | "pulumi">>;
63
+ };
64
+ type CloudflareWorkerMetadata = RequiredKeys<WorkerModuleMetadata, "name" | "pattern"> & {
65
+ /**
66
+ * The resolved entry definition for the Worker module, including the original entry definition and the resolved file path to the module.
67
+ */
68
+ entry: ResolvedEntryFileReference;
69
+ };
70
+ type CloudflareWorkerEntryModule = Record<keyof ExportedHandler, boolean> & {
71
+ /**
72
+ * The metadata for the Worker module, including the name of the Cloudflare Worker script to deploy. If no name is provided, the plugin will use the `name` configuration value from the plugin configuration as the default name for the Worker script.
73
+ */
74
+ metadata: CloudflareWorkerMetadata;
75
+ };
76
+ type CloudflarePluginContext<TResolvedConfig extends CloudflarePluginResolvedConfig = CloudflarePluginResolvedConfig> = PluginContext<TResolvedConfig> & EnvPluginContext<TResolvedConfig> & PulumiPluginContext<TResolvedConfig> & UnenvPluginContext<TResolvedConfig> & {
77
+ cloudflare: {
78
+ wrangler?: WranglerResolvedConfig;
79
+ workers: CloudflareWorkerEntryModule[];
80
+ };
81
+ };
82
+ //#endregion
83
+ export { CloudflareWorkerEntryModule as a, CloudflarePluginUserConfig as i, CloudflarePluginOptions as n, CloudflareWorkerMetadata as o, CloudflarePluginResolvedConfig as r, CloudflarePluginContext as t };
84
+ //# sourceMappingURL=plugin-DHHBrJ0X.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-DHHBrJ0X.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;;;;;;;;UAyCiB;;;;;;;;;EASf;;;;;;;;;EAUA;;;;;;;EAQA;;;;EAKA;;;;;;;EAQA,QAAQ;;;;EAKR,SAAS;;KAGC,6BAA6B,sBACvC,yBACA;;;;EAIE,aAAa,KAAK;;KAGV,iCAAiC,0BAC3C,6BACA;;;;EAIE,YAAY,SAAS,KAAK;;KAGlB,2BAA2B,aACrC;;;;EAMA,OAAO;;KAGG,8BAA8B,aAClC;;;;EAMN,UAAU;;KAGA,wBACV,wBAAwB,iCACtB,kCACA,cAAc,mBAChB,iBAAiB,mBACjB,oBAAoB,mBACpB,mBAAmB;EACjB;IACE,WAAW;IACX,SAAS"}
@@ -0,0 +1,84 @@
1
+ import { s as WranglerResolvedConfig } from "./wrangler-DuuHql6r.mjs";
2
+ import { n as WorkerModuleMetadata } from "./worker-module-DVjaixwZ.mjs";
3
+ import { PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig } from "@powerlines/plugin-pulumi";
4
+ import { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig } from "@powerlines/plugin-unenv";
5
+ import { ExportedHandler } from "@cloudflare/workers-types";
6
+ import { EnvPluginContext, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env";
7
+ import { RequiredKeys } from "@stryke/types/base";
8
+ import { PluginContext, ResolvedEntryFileReference } from "powerlines";
9
+ //#region src/types/plugin.d.ts
10
+ interface CloudflarePluginOptions {
11
+ /**
12
+ * The Cloudflare account ID to use for the plugin.
13
+ *
14
+ * @remarks
15
+ * This is required for certain features of the plugin, such as deploying a Cloudflare Worker entry module. This option can also be set via the `CLOUDFLARE_ACCOUNT_ID` environment variable. If both are provided, the value from the plugin options will take precedence.
16
+ *
17
+ * @see https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/
18
+ */
19
+ accountId?: string;
20
+ /**
21
+ * The Cloudflare API token to use for the plugin.
22
+ *
23
+ * @remarks
24
+ * This option can also be set via the `CLOUDFLARE_API_TOKEN` environment variable. If both are provided, the value from the plugin options will take precedence.
25
+ *
26
+ * @see https://developers.cloudflare.com/fundamentals/api/get-started/create-token/
27
+ */
28
+ apiToken?: string;
29
+ /**
30
+ * A path to the Wrangler configuration file (either `.toml` or `.jsonc`) to use as the base configuration for the plugin.
31
+ *
32
+ * @remarks
33
+ * This is required for certain features of the plugin, such as deploying a Cloudflare Worker entry module. If not provided, the plugin will look for a Wrangler configuration file in the project root directory with the default name `wrangler.toml`. You can also specify a custom path to the Wrangler configuration file using this option.
34
+ */
35
+ configPath?: string;
36
+ /**
37
+ * The domain to use for the Cloudflare deployed resources.
38
+ */
39
+ domain?: string;
40
+ /**
41
+ * The [unenv](https://unjs.dev/packages/unenv) plugin configuration options.
42
+ *
43
+ * @remarks
44
+ * The plugin will automatically include the Cloudflare preset for unenv, which provides compatibility with Cloudflare Workers runtimes. You can customize the unenv configuration by providing options here, but the Cloudflare preset will always be included.
45
+ */
46
+ unenv?: UnenvPluginOptions;
47
+ /**
48
+ * The configuration options for Pulumi.
49
+ */
50
+ pulumi?: PulumiPluginOptions;
51
+ }
52
+ type CloudflarePluginUserConfig = EnvPluginUserConfig & PulumiPluginUserConfig & UnenvPluginUserConfig & {
53
+ /**
54
+ * Options for the Cloudflare plugin.
55
+ */
56
+ cloudflare?: Omit<CloudflarePluginOptions, "unenv" | "pulumi">;
57
+ };
58
+ type CloudflarePluginResolvedConfig = EnvPluginResolvedConfig & PulumiPluginResolvedConfig & UnenvPluginResolvedConfig & {
59
+ /**
60
+ * Options for the Cloudflare plugin.
61
+ */
62
+ cloudflare: Required<Omit<CloudflarePluginOptions, "unenv" | "pulumi">>;
63
+ };
64
+ type CloudflareWorkerMetadata = RequiredKeys<WorkerModuleMetadata, "name" | "pattern"> & {
65
+ /**
66
+ * The resolved entry definition for the Worker module, including the original entry definition and the resolved file path to the module.
67
+ */
68
+ entry: ResolvedEntryFileReference;
69
+ };
70
+ type CloudflareWorkerEntryModule = Record<keyof ExportedHandler, boolean> & {
71
+ /**
72
+ * The metadata for the Worker module, including the name of the Cloudflare Worker script to deploy. If no name is provided, the plugin will use the `name` configuration value from the plugin configuration as the default name for the Worker script.
73
+ */
74
+ metadata: CloudflareWorkerMetadata;
75
+ };
76
+ type CloudflarePluginContext<TResolvedConfig extends CloudflarePluginResolvedConfig = CloudflarePluginResolvedConfig> = PluginContext<TResolvedConfig> & EnvPluginContext<TResolvedConfig> & PulumiPluginContext<TResolvedConfig> & UnenvPluginContext<TResolvedConfig> & {
77
+ cloudflare: {
78
+ wrangler?: WranglerResolvedConfig;
79
+ workers: CloudflareWorkerEntryModule[];
80
+ };
81
+ };
82
+ //#endregion
83
+ export { CloudflareWorkerEntryModule as a, CloudflarePluginUserConfig as i, CloudflarePluginOptions as n, CloudflareWorkerMetadata as o, CloudflarePluginResolvedConfig as r, CloudflarePluginContext as t };
84
+ //# sourceMappingURL=plugin-QOCaPGt-.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-QOCaPGt-.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
@@ -25,4 +25,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  }) : target, mod));
26
26
 
27
27
  //#endregion
28
- exports.__toESM = __toESM;
28
+ Object.defineProperty(exports, '__toESM', {
29
+ enumerable: true,
30
+ get: function () {
31
+ return __toESM;
32
+ }
33
+ });
@@ -1,5 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_types_wrangler = require('./wrangler.cjs');
3
+ require('./worker-module.cjs');
4
+ require('./plugin.cjs');
3
5
 
4
6
  exports.JsonSchema = require_types_wrangler.JsonSchema;
5
7
  exports.LiteralSchema = require_types_wrangler.LiteralSchema;
@@ -1,4 +1,5 @@
1
- import { Json, JsonSchema, Literal, LiteralSchema, OptionalZodTypeOf, PathSchema, WranglerResolvedConfig, WranglerUserConfig, defaultWranglerConfig, isCyclic, parseWithRootPath } from "./wrangler.cjs";
2
- import { WorkerModule, WorkerModuleMetadata } from "./worker-module.cjs";
3
- import { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, CloudflareWorkerMetadata } from "./plugin.cjs";
1
+ import { a as OptionalZodTypeOf, c as WranglerUserConfig, d as parseWithRootPath, i as LiteralSchema, l as defaultWranglerConfig, n as JsonSchema, o as PathSchema, r as Literal, s as WranglerResolvedConfig, t as Json, u as isCyclic } from "../wrangler-DuuHql6r.cjs";
2
+ import { n as WorkerModuleMetadata, t as WorkerModule } from "../worker-module-CfGxF7da.cjs";
3
+ import { a as CloudflareWorkerEntryModule, i as CloudflarePluginUserConfig, n as CloudflarePluginOptions, o as CloudflareWorkerMetadata, r as CloudflarePluginResolvedConfig, t as CloudflarePluginContext } from "../plugin-DHHBrJ0X.cjs";
4
+ import "../index-DKQw89Z9.cjs";
4
5
  export { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, CloudflareWorkerMetadata, Json, JsonSchema, Literal, LiteralSchema, OptionalZodTypeOf, PathSchema, WorkerModule, WorkerModuleMetadata, WranglerResolvedConfig, WranglerUserConfig, defaultWranglerConfig, isCyclic, parseWithRootPath };
@@ -1,4 +1,5 @@
1
- import { Json, JsonSchema, Literal, LiteralSchema, OptionalZodTypeOf, PathSchema, WranglerResolvedConfig, WranglerUserConfig, defaultWranglerConfig, isCyclic, parseWithRootPath } from "./wrangler.mjs";
2
- import { WorkerModule, WorkerModuleMetadata } from "./worker-module.mjs";
3
- import { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, CloudflareWorkerMetadata } from "./plugin.mjs";
1
+ import { a as OptionalZodTypeOf, c as WranglerUserConfig, d as parseWithRootPath, i as LiteralSchema, l as defaultWranglerConfig, n as JsonSchema, o as PathSchema, r as Literal, s as WranglerResolvedConfig, t as Json, u as isCyclic } from "../wrangler-DuuHql6r.mjs";
2
+ import { n as WorkerModuleMetadata, t as WorkerModule } from "../worker-module-DVjaixwZ.mjs";
3
+ import { a as CloudflareWorkerEntryModule, i as CloudflarePluginUserConfig, n as CloudflarePluginOptions, o as CloudflareWorkerMetadata, r as CloudflarePluginResolvedConfig, t as CloudflarePluginContext } from "../plugin-QOCaPGt-.mjs";
4
+ import "../index-CzSH-wX5.mjs";
4
5
  export { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, CloudflareWorkerMetadata, Json, JsonSchema, Literal, LiteralSchema, OptionalZodTypeOf, PathSchema, WorkerModule, WorkerModuleMetadata, WranglerResolvedConfig, WranglerUserConfig, defaultWranglerConfig, isCyclic, parseWithRootPath };
@@ -1,3 +1,5 @@
1
1
  import { JsonSchema, LiteralSchema, PathSchema, defaultWranglerConfig, isCyclic, parseWithRootPath } from "./wrangler.mjs";
2
+ import "./worker-module.mjs";
3
+ import "./plugin.mjs";
2
4
 
3
5
  export { JsonSchema, LiteralSchema, PathSchema, defaultWranglerConfig, isCyclic, parseWithRootPath };
@@ -1,84 +1,2 @@
1
- import { WranglerResolvedConfig } from "./wrangler.cjs";
2
- import { WorkerModuleMetadata } from "./worker-module.cjs";
3
- import { ExportedHandler } from "@cloudflare/workers-types";
4
- import { EnvPluginContext, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env";
5
- import { PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig } from "@powerlines/plugin-pulumi";
6
- import { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig } from "@powerlines/plugin-unenv";
7
- import { RequiredKeys } from "@stryke/types/base";
8
- import { PluginContext, ResolvedEntryFileReference } from "powerlines";
9
- //#region src/types/plugin.d.ts
10
- interface CloudflarePluginOptions {
11
- /**
12
- * The Cloudflare account ID to use for the plugin.
13
- *
14
- * @remarks
15
- * This is required for certain features of the plugin, such as deploying a Cloudflare Worker entry module. This option can also be set via the `CLOUDFLARE_ACCOUNT_ID` environment variable. If both are provided, the value from the plugin options will take precedence.
16
- *
17
- * @see https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/
18
- */
19
- accountId?: string;
20
- /**
21
- * The Cloudflare API token to use for the plugin.
22
- *
23
- * @remarks
24
- * This option can also be set via the `CLOUDFLARE_API_TOKEN` environment variable. If both are provided, the value from the plugin options will take precedence.
25
- *
26
- * @see https://developers.cloudflare.com/fundamentals/api/get-started/create-token/
27
- */
28
- apiToken?: string;
29
- /**
30
- * A path to the Wrangler configuration file (either `.toml` or `.jsonc`) to use as the base configuration for the plugin.
31
- *
32
- * @remarks
33
- * This is required for certain features of the plugin, such as deploying a Cloudflare Worker entry module. If not provided, the plugin will look for a Wrangler configuration file in the project root directory with the default name `wrangler.toml`. You can also specify a custom path to the Wrangler configuration file using this option.
34
- */
35
- configPath?: string;
36
- /**
37
- * The domain to use for the Cloudflare deployed resources.
38
- */
39
- domain?: string;
40
- /**
41
- * The [unenv](https://unjs.dev/packages/unenv) plugin configuration options.
42
- *
43
- * @remarks
44
- * The plugin will automatically include the Cloudflare preset for unenv, which provides compatibility with Cloudflare Workers runtimes. You can customize the unenv configuration by providing options here, but the Cloudflare preset will always be included.
45
- */
46
- unenv?: UnenvPluginOptions;
47
- /**
48
- * The configuration options for Pulumi.
49
- */
50
- pulumi?: PulumiPluginOptions;
51
- }
52
- type CloudflarePluginUserConfig = EnvPluginUserConfig & PulumiPluginUserConfig & UnenvPluginUserConfig & {
53
- /**
54
- * Options for the Cloudflare plugin.
55
- */
56
- cloudflare?: Omit<CloudflarePluginOptions, "unenv" | "pulumi">;
57
- };
58
- type CloudflarePluginResolvedConfig = EnvPluginResolvedConfig & PulumiPluginResolvedConfig & UnenvPluginResolvedConfig & {
59
- /**
60
- * Options for the Cloudflare plugin.
61
- */
62
- cloudflare: Required<Omit<CloudflarePluginOptions, "unenv" | "pulumi">>;
63
- };
64
- type CloudflareWorkerMetadata = RequiredKeys<WorkerModuleMetadata, "name" | "pattern"> & {
65
- /**
66
- * The resolved entry definition for the Worker module, including the original entry definition and the resolved file path to the module.
67
- */
68
- entry: ResolvedEntryFileReference;
69
- };
70
- type CloudflareWorkerEntryModule = Record<keyof ExportedHandler, boolean> & {
71
- /**
72
- * The metadata for the Worker module, including the name of the Cloudflare Worker script to deploy. If no name is provided, the plugin will use the `name` configuration value from the plugin configuration as the default name for the Worker script.
73
- */
74
- metadata: CloudflareWorkerMetadata;
75
- };
76
- type CloudflarePluginContext<TResolvedConfig extends CloudflarePluginResolvedConfig = CloudflarePluginResolvedConfig> = PluginContext<TResolvedConfig> & EnvPluginContext<TResolvedConfig> & PulumiPluginContext<TResolvedConfig> & UnenvPluginContext<TResolvedConfig> & {
77
- cloudflare: {
78
- wrangler?: WranglerResolvedConfig;
79
- workers: CloudflareWorkerEntryModule[];
80
- };
81
- };
82
- //#endregion
83
- export { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, CloudflareWorkerMetadata };
84
- //# sourceMappingURL=plugin.d.cts.map
1
+ import { a as CloudflareWorkerEntryModule, i as CloudflarePluginUserConfig, n as CloudflarePluginOptions, o as CloudflareWorkerMetadata, r as CloudflarePluginResolvedConfig, t as CloudflarePluginContext } from "../plugin-DHHBrJ0X.cjs";
2
+ export { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, CloudflareWorkerMetadata };