@cloudflare/config 0.27.0 → 0.28.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/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as RateLimitBindingOptions, $t as Triggers, A as ImagesBinding, At as WorkerReference, B as LogfwdrBinding, Bt as StandardContainerConfig, C as DispatchNamespaceBindingOptions, Ct as WorkflowBinding, D as FlagshipBindingOptions, Dt as ConfigContext, E as FlagshipBinding, Et as Json, F as K2ProduceResult, Ft as ContainerConfig, G as MtlsCertificateBindingOptions, Gt as EmailTrigger, H as MediaBinding, Ht as ConnectTrigger, I as K2Producer, It as ContainerObservabilityConfig, J as QueueBinding, Jt as FetchTriggerOptions, K as PipelineBinding, Kt as EmailTriggerOptions, L as K2Record, Lt as CustomDomain, M as JsonBinding, Mt as defineContainer, N as K2Binding, Nt as defineWorker, O as HyperdriveBinding, Ot as ContainerDefinition, P as K2BindingOptions, Pt as CloudflareConfig, Q as RateLimitBinding, Qt as ScheduledTriggerOptions, R as KvBinding, Rt as DurableObjectContainerConfig, S as DispatchNamespaceBinding, Sn as exports, St as WorkerLoaderBinding, T as DurableObjectBindingOptions, Tt as bindings, U as MediaBindingOptions, Ut as ConnectTriggerOptions, V as LogfwdrBindingOptions, Vt as WorkerConfig, W as MtlsCertificateBinding, Wt as ConnectTriggerOptionsBase, X as R2Binding, Xt as QueueConsumerTriggerOptions, Y as QueueBindingOptions, Yt as QueueConsumerTrigger, Z as R2BindingOptions, Zt as ScheduledTrigger, _ as Bindings, _n as Exports, _t as VpcNetworkBindingOptions, a as AiSearchBinding, an as UnwrapConfig, at as StreamBinding, b as D1Binding, bn as WorkflowExport, bt as WorkerBinding, c as AiSearchNamespaceBindingOptions, cn as DurableObjectDeletedExport, ct as TypedAiBinding, d as AnalyticsSQLBinding, dn as DurableObjectExpectingTransferExportOptions, dt as TypedQueueBinding, en as triggers, et as SecretBinding, f as AnalyticsSQLBindingOptions, fn as DurableObjectExportOptions, ft as UnsafeBinding, g as BindingDevOptions, gn as DurableObjectTransferredExportOptions, gt as VpcNetworkBinding, h as AssetsBinding, hn as DurableObjectTransferredExport, ht as VersionMetadataBinding, i as AiBindingOptions, in as InferMainModule, it as SendEmailBindingOptions, j as ImagesBindingOptions, jt as defineConfig, k as HyperdriveBindingOptions, kt as WorkerDefinition, l as AnalyticsEngineDatasetBinding, ln as DurableObjectDeletedExportOptions, lt as TypedKvBinding, m as ArtifactsBindingOptions, mn as DurableObjectRenamedExportOptions, mt as VectorizeBindingOptions, n as AgentMemoryBindingOptions, nn as InferDurableNamespaces, nt as SecretsStoreSecretBindingOptions, o as AiSearchBindingOptions, on as DurableObjectCreatedExport, ot as StreamBindingOptions, p as ArtifactsBinding, pn as DurableObjectRenamedExport, pt as VectorizeBinding, q as PipelineBindingOptions, qt as FetchTrigger, r as AiBinding, rn as InferEnv, rt as SendEmailBinding, s as AiSearchNamespaceBinding, sn as DurableObjectCreatedExportOptions, st as TextBinding, t as AgentMemoryBinding, tn as DefaultModule, tt as SecretsStoreSecretBinding, u as AnalyticsEngineDatasetBindingOptions, un as DurableObjectExpectingTransferExport, ut as TypedPipelineBinding, v as BrowserBinding, vn as WorkerEntrypointExport, vt as VpcServiceBinding, w as DurableObjectBinding, wt as WorkflowBindingOptions, x as D1BindingOptions, xn as WorkflowExportOptions, xt as WorkerBindingOptions, y as BrowserBindingOptions, yn as WorkerEntrypointExportOptions, yt as VpcServiceBindingOptions, z as KvBindingOptions, zt as Settings } from "./public-
|
|
1
|
+
import { $ as RateLimitBindingOptions, $t as Triggers, A as ImagesBinding, At as WorkerReference, B as LogfwdrBinding, Bt as StandardContainerConfig, C as DispatchNamespaceBindingOptions, Ct as WorkflowBinding, D as FlagshipBindingOptions, Dt as ConfigContext, E as FlagshipBinding, Et as Json, F as K2ProduceResult, Ft as ContainerConfig, G as MtlsCertificateBindingOptions, Gt as EmailTrigger, H as MediaBinding, Ht as ConnectTrigger, I as K2Producer, It as ContainerObservabilityConfig, J as QueueBinding, Jt as FetchTriggerOptions, K as PipelineBinding, Kt as EmailTriggerOptions, L as K2Record, Lt as CustomDomain, M as JsonBinding, Mt as defineContainer, N as K2Binding, Nt as defineWorker, O as HyperdriveBinding, Ot as ContainerDefinition, P as K2BindingOptions, Pt as CloudflareConfig, Q as RateLimitBinding, Qt as ScheduledTriggerOptions, R as KvBinding, Rt as DurableObjectContainerConfig, S as DispatchNamespaceBinding, Sn as exports, St as WorkerLoaderBinding, T as DurableObjectBindingOptions, Tt as bindings, U as MediaBindingOptions, Ut as ConnectTriggerOptions, V as LogfwdrBindingOptions, Vt as WorkerConfig, W as MtlsCertificateBinding, Wt as ConnectTriggerOptionsBase, X as R2Binding, Xt as QueueConsumerTriggerOptions, Y as QueueBindingOptions, Yt as QueueConsumerTrigger, Z as R2BindingOptions, Zt as ScheduledTrigger, _ as Bindings, _n as Exports, _t as VpcNetworkBindingOptions, a as AiSearchBinding, an as UnwrapConfig, at as StreamBinding, b as D1Binding, bn as WorkflowExport, bt as WorkerBinding, c as AiSearchNamespaceBindingOptions, cn as DurableObjectDeletedExport, ct as TypedAiBinding, d as AnalyticsSQLBinding, dn as DurableObjectExpectingTransferExportOptions, dt as TypedQueueBinding, en as triggers, et as SecretBinding, f as AnalyticsSQLBindingOptions, fn as DurableObjectExportOptions, ft as UnsafeBinding, g as BindingDevOptions, gn as DurableObjectTransferredExportOptions, gt as VpcNetworkBinding, h as AssetsBinding, hn as DurableObjectTransferredExport, ht as VersionMetadataBinding, i as AiBindingOptions, in as InferMainModule, it as SendEmailBindingOptions, j as ImagesBindingOptions, jt as defineConfig, k as HyperdriveBindingOptions, kt as WorkerDefinition, l as AnalyticsEngineDatasetBinding, ln as DurableObjectDeletedExportOptions, lt as TypedKvBinding, m as ArtifactsBindingOptions, mn as DurableObjectRenamedExportOptions, mt as VectorizeBindingOptions, n as AgentMemoryBindingOptions, nn as InferDurableNamespaces, nt as SecretsStoreSecretBindingOptions, o as AiSearchBindingOptions, on as DurableObjectCreatedExport, ot as StreamBindingOptions, p as ArtifactsBinding, pn as DurableObjectRenamedExport, pt as VectorizeBinding, q as PipelineBindingOptions, qt as FetchTrigger, r as AiBinding, rn as InferEnv, rt as SendEmailBinding, s as AiSearchNamespaceBinding, sn as DurableObjectCreatedExportOptions, st as TextBinding, t as AgentMemoryBinding, tn as DefaultModule, tt as SecretsStoreSecretBinding, u as AnalyticsEngineDatasetBindingOptions, un as DurableObjectExpectingTransferExport, ut as TypedPipelineBinding, v as BrowserBinding, vn as WorkerEntrypointExport, vt as VpcServiceBinding, w as DurableObjectBinding, wt as WorkflowBindingOptions, x as D1BindingOptions, xn as WorkflowExportOptions, xt as WorkerBindingOptions, y as BrowserBindingOptions, yn as WorkerEntrypointExportOptions, yt as VpcServiceBindingOptions, z as KvBindingOptions, zt as Settings } from "./public-DsUKmT49.mjs";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
import { RawConfig } from "@cloudflare/workers-utils";
|
|
4
4
|
|
|
@@ -95,6 +95,7 @@ declare const HyperdriveBindingSchema: z.ZodObject<{
|
|
|
95
95
|
type: z.ZodLiteral<"hyperdrive">;
|
|
96
96
|
id: z.ZodString;
|
|
97
97
|
dev: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
98
99
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
99
100
|
}, z.core.$strict>>;
|
|
100
101
|
}, z.core.$strict>;
|
|
@@ -173,6 +174,7 @@ declare const KnownBindingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
173
174
|
type: z.ZodLiteral<"hyperdrive">;
|
|
174
175
|
id: z.ZodString;
|
|
175
176
|
dev: z.ZodOptional<z.ZodObject<{
|
|
177
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
176
178
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
177
179
|
}, z.core.$strict>>;
|
|
178
180
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -606,6 +608,11 @@ declare const WorkflowExportSchema: z.ZodObject<{
|
|
|
606
608
|
successRetention: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
607
609
|
errorRetention: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
608
610
|
}, z.core.$strict>>;
|
|
611
|
+
jurisdiction: z.ZodOptional<z.ZodEnum<{
|
|
612
|
+
eu: "eu";
|
|
613
|
+
fedramp: "fedramp";
|
|
614
|
+
us: "us";
|
|
615
|
+
}>>;
|
|
609
616
|
}, z.core.$strict>;
|
|
610
617
|
declare const ExportSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
611
618
|
type: z.ZodLiteral<"durable-object">;
|
|
@@ -657,6 +664,11 @@ declare const ExportSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
657
664
|
successRetention: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
658
665
|
errorRetention: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
659
666
|
}, z.core.$strict>>;
|
|
667
|
+
jurisdiction: z.ZodOptional<z.ZodEnum<{
|
|
668
|
+
eu: "eu";
|
|
669
|
+
fedramp: "fedramp";
|
|
670
|
+
us: "us";
|
|
671
|
+
}>>;
|
|
660
672
|
}, z.core.$strict>]>;
|
|
661
673
|
declare const TailConsumerSchema: z.ZodObject<{
|
|
662
674
|
worker: z.ZodString;
|
|
@@ -846,6 +858,11 @@ declare const InputWorkerSchema: z.ZodObject<{
|
|
|
846
858
|
successRetention: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
847
859
|
errorRetention: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
848
860
|
}, z.core.$strict>>;
|
|
861
|
+
jurisdiction: z.ZodOptional<z.ZodEnum<{
|
|
862
|
+
eu: "eu";
|
|
863
|
+
fedramp: "fedramp";
|
|
864
|
+
us: "us";
|
|
865
|
+
}>>;
|
|
849
866
|
}, z.core.$strict>]>>>;
|
|
850
867
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
851
868
|
}, z.core.$strict>;
|
|
@@ -1044,6 +1061,11 @@ declare const InputConfigSchema: z.ZodObject<{
|
|
|
1044
1061
|
successRetention: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1045
1062
|
errorRetention: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1046
1063
|
}, z.core.$strict>>;
|
|
1064
|
+
jurisdiction: z.ZodOptional<z.ZodEnum<{
|
|
1065
|
+
eu: "eu";
|
|
1066
|
+
fedramp: "fedramp";
|
|
1067
|
+
us: "us";
|
|
1068
|
+
}>>;
|
|
1047
1069
|
}, z.core.$strict>]>>>;
|
|
1048
1070
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
1049
1071
|
}, z.core.$strict>>;
|
|
@@ -1368,6 +1390,11 @@ declare const OutputWorkerSchema: z.ZodObject<{
|
|
|
1368
1390
|
successRetention: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1369
1391
|
errorRetention: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1370
1392
|
}, z.core.$strict>>;
|
|
1393
|
+
jurisdiction: z.ZodOptional<z.ZodEnum<{
|
|
1394
|
+
eu: "eu";
|
|
1395
|
+
fedramp: "fedramp";
|
|
1396
|
+
us: "us";
|
|
1397
|
+
}>>;
|
|
1371
1398
|
}, z.core.$strict>]>>>;
|
|
1372
1399
|
manifest: z.ZodOptional<z.ZodObject<{
|
|
1373
1400
|
type: z.ZodEnum<{
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as exports$1, i as WORKFLOW_JURISDICTIONS, n as defineContainer, o as triggers, r as defineWorker, s as bindings, t as defineConfig } from "./public-DQgVzHKW.mjs";
|
|
2
2
|
import * as nodeModule from "node:module";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import * as z from "zod";
|
|
@@ -88,7 +88,7 @@ const FlagshipBindingSchema = z.strictObject({
|
|
|
88
88
|
const HyperdriveBindingSchema = z.strictObject({
|
|
89
89
|
type: z.literal("hyperdrive"),
|
|
90
90
|
id: z.string(),
|
|
91
|
-
dev:
|
|
91
|
+
dev: RemoteBindingDevSchema.extend({ connectionString: z.string().optional() }).optional()
|
|
92
92
|
});
|
|
93
93
|
const KnownBindingSchema = z.discriminatedUnion("type", [
|
|
94
94
|
z.strictObject({
|
|
@@ -454,7 +454,8 @@ const WorkflowExportSchema = z.strictObject({
|
|
|
454
454
|
defaultRetention: z.strictObject({
|
|
455
455
|
successRetention: WorkflowRetentionSchema.optional(),
|
|
456
456
|
errorRetention: WorkflowRetentionSchema.optional()
|
|
457
|
-
}).optional()
|
|
457
|
+
}).optional(),
|
|
458
|
+
jurisdiction: z.enum(WORKFLOW_JURISDICTIONS).optional()
|
|
458
459
|
});
|
|
459
460
|
const DurableObjectCreatedSqliteExportSchema = DurableObjectCreatedExportSchema.extend({ storage: z.literal("sqlite") });
|
|
460
461
|
const DurableObjectCreatedLegacyKvExportSchema = DurableObjectCreatedExportSchema.omit({ container: true }).extend({ storage: z.literal("legacy-kv") });
|
|
@@ -1107,6 +1108,7 @@ function convertBindingsAndAssets(config, result) {
|
|
|
1107
1108
|
hyperdrive.push(omitUndefined({
|
|
1108
1109
|
binding: name,
|
|
1109
1110
|
id: binding.id,
|
|
1111
|
+
remote: binding.dev?.remote,
|
|
1110
1112
|
localConnectionString: binding.dev?.connectionString
|
|
1111
1113
|
}));
|
|
1112
1114
|
break;
|
|
@@ -188,6 +188,11 @@ const triggers = {
|
|
|
188
188
|
|
|
189
189
|
//#endregion
|
|
190
190
|
//#region src/exports.ts
|
|
191
|
+
const WORKFLOW_JURISDICTIONS = [
|
|
192
|
+
"eu",
|
|
193
|
+
"fedramp",
|
|
194
|
+
"us"
|
|
195
|
+
];
|
|
191
196
|
function durableObject(options) {
|
|
192
197
|
return {
|
|
193
198
|
type: "durable-object",
|
|
@@ -293,4 +298,4 @@ function defineWorker(config) {
|
|
|
293
298
|
}
|
|
294
299
|
|
|
295
300
|
//#endregion
|
|
296
|
-
export {
|
|
301
|
+
export { exports as a, WORKFLOW_JURISDICTIONS as i, defineContainer as n, triggers as o, defineWorker as r, bindings as s, defineConfig as t };
|
|
@@ -105,6 +105,7 @@ interface WorkerEntrypointExportOptions {
|
|
|
105
105
|
interface WorkerEntrypointExport extends WorkerEntrypointExportOptions {
|
|
106
106
|
type: "worker";
|
|
107
107
|
}
|
|
108
|
+
declare const WORKFLOW_JURISDICTIONS: readonly ["eu", "fedramp", "us"];
|
|
108
109
|
interface WorkflowExportOptions {
|
|
109
110
|
/**
|
|
110
111
|
* The name of the Workflow. It identifies the Workflow's instances and must
|
|
@@ -132,6 +133,11 @@ interface WorkflowExportOptions {
|
|
|
132
133
|
/** How long to retain errored instances. */
|
|
133
134
|
errorRetention?: number | string;
|
|
134
135
|
};
|
|
136
|
+
/**
|
|
137
|
+
* Jurisdiction that the Workflow's instances run and store their data in.
|
|
138
|
+
* It is set when the Workflow is created and cannot be changed afterwards.
|
|
139
|
+
*/
|
|
140
|
+
jurisdiction?: (typeof WORKFLOW_JURISDICTIONS)[number];
|
|
135
141
|
}
|
|
136
142
|
interface WorkflowExport extends WorkflowExportOptions {
|
|
137
143
|
type: "workflow";
|
|
@@ -1381,7 +1387,7 @@ interface HyperdriveBindingOptions {
|
|
|
1381
1387
|
/** The ID of the Hyperdrive configuration. */
|
|
1382
1388
|
id: string;
|
|
1383
1389
|
/** Options that only apply during local development. */
|
|
1384
|
-
dev?: {
|
|
1390
|
+
dev?: BindingDevOptions & {
|
|
1385
1391
|
/** The database connection string used during local development. */
|
|
1386
1392
|
connectionString?: string;
|
|
1387
1393
|
};
|
package/dist/public.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RateLimitBindingOptions, $t as Triggers, A as ImagesBinding, At as WorkerReference, B as LogfwdrBinding, Bt as StandardContainerConfig, C as DispatchNamespaceBindingOptions, Ct as WorkflowBinding, D as FlagshipBindingOptions, Dt as ConfigContext, E as FlagshipBinding, Et as Json, F as K2ProduceResult, Ft as ContainerConfig, G as MtlsCertificateBindingOptions, Gt as EmailTrigger, H as MediaBinding, Ht as ConnectTrigger, I as K2Producer, It as ContainerObservabilityConfig, J as QueueBinding, Jt as FetchTriggerOptions, K as PipelineBinding, Kt as EmailTriggerOptions, L as K2Record, Lt as CustomDomain, M as JsonBinding, Mt as defineContainer, N as K2Binding, Nt as defineWorker, O as HyperdriveBinding, Ot as ContainerDefinition, P as K2BindingOptions, Pt as CloudflareConfig, Q as RateLimitBinding, Qt as ScheduledTriggerOptions, R as KvBinding, Rt as DurableObjectContainerConfig, S as DispatchNamespaceBinding, Sn as exports, St as WorkerLoaderBinding, T as DurableObjectBindingOptions, Tt as bindings, U as MediaBindingOptions, Ut as ConnectTriggerOptions, V as LogfwdrBindingOptions, Vt as WorkerConfig, W as MtlsCertificateBinding, Wt as ConnectTriggerOptionsBase, X as R2Binding, Xt as QueueConsumerTriggerOptions, Y as QueueBindingOptions, Yt as QueueConsumerTrigger, Z as R2BindingOptions, Zt as ScheduledTrigger, _ as Bindings, _n as Exports, _t as VpcNetworkBindingOptions, a as AiSearchBinding, an as UnwrapConfig, at as StreamBinding, b as D1Binding, bn as WorkflowExport, bt as WorkerBinding, c as AiSearchNamespaceBindingOptions, cn as DurableObjectDeletedExport, ct as TypedAiBinding, d as AnalyticsSQLBinding, dn as DurableObjectExpectingTransferExportOptions, dt as TypedQueueBinding, en as triggers, et as SecretBinding, f as AnalyticsSQLBindingOptions, fn as DurableObjectExportOptions, ft as UnsafeBinding, g as BindingDevOptions, gn as DurableObjectTransferredExportOptions, gt as VpcNetworkBinding, h as AssetsBinding, hn as DurableObjectTransferredExport, ht as VersionMetadataBinding, i as AiBindingOptions, in as InferMainModule, it as SendEmailBindingOptions, j as ImagesBindingOptions, jt as defineConfig, k as HyperdriveBindingOptions, kt as WorkerDefinition, l as AnalyticsEngineDatasetBinding, ln as DurableObjectDeletedExportOptions, lt as TypedKvBinding, m as ArtifactsBindingOptions, mn as DurableObjectRenamedExportOptions, mt as VectorizeBindingOptions, n as AgentMemoryBindingOptions, nn as InferDurableNamespaces, nt as SecretsStoreSecretBindingOptions, o as AiSearchBindingOptions, on as DurableObjectCreatedExport, ot as StreamBindingOptions, p as ArtifactsBinding, pn as DurableObjectRenamedExport, pt as VectorizeBinding, q as PipelineBindingOptions, qt as FetchTrigger, r as AiBinding, rn as InferEnv, rt as SendEmailBinding, s as AiSearchNamespaceBinding, sn as DurableObjectCreatedExportOptions, st as TextBinding, t as AgentMemoryBinding, tn as DefaultModule, tt as SecretsStoreSecretBinding, u as AnalyticsEngineDatasetBindingOptions, un as DurableObjectExpectingTransferExport, ut as TypedPipelineBinding, v as BrowserBinding, vn as WorkerEntrypointExport, vt as VpcServiceBinding, w as DurableObjectBinding, wt as WorkflowBindingOptions, x as D1BindingOptions, xn as WorkflowExportOptions, xt as WorkerBindingOptions, y as BrowserBindingOptions, yn as WorkerEntrypointExportOptions, yt as VpcServiceBindingOptions, z as KvBindingOptions, zt as Settings } from "./public-
|
|
1
|
+
import { $ as RateLimitBindingOptions, $t as Triggers, A as ImagesBinding, At as WorkerReference, B as LogfwdrBinding, Bt as StandardContainerConfig, C as DispatchNamespaceBindingOptions, Ct as WorkflowBinding, D as FlagshipBindingOptions, Dt as ConfigContext, E as FlagshipBinding, Et as Json, F as K2ProduceResult, Ft as ContainerConfig, G as MtlsCertificateBindingOptions, Gt as EmailTrigger, H as MediaBinding, Ht as ConnectTrigger, I as K2Producer, It as ContainerObservabilityConfig, J as QueueBinding, Jt as FetchTriggerOptions, K as PipelineBinding, Kt as EmailTriggerOptions, L as K2Record, Lt as CustomDomain, M as JsonBinding, Mt as defineContainer, N as K2Binding, Nt as defineWorker, O as HyperdriveBinding, Ot as ContainerDefinition, P as K2BindingOptions, Pt as CloudflareConfig, Q as RateLimitBinding, Qt as ScheduledTriggerOptions, R as KvBinding, Rt as DurableObjectContainerConfig, S as DispatchNamespaceBinding, Sn as exports, St as WorkerLoaderBinding, T as DurableObjectBindingOptions, Tt as bindings, U as MediaBindingOptions, Ut as ConnectTriggerOptions, V as LogfwdrBindingOptions, Vt as WorkerConfig, W as MtlsCertificateBinding, Wt as ConnectTriggerOptionsBase, X as R2Binding, Xt as QueueConsumerTriggerOptions, Y as QueueBindingOptions, Yt as QueueConsumerTrigger, Z as R2BindingOptions, Zt as ScheduledTrigger, _ as Bindings, _n as Exports, _t as VpcNetworkBindingOptions, a as AiSearchBinding, an as UnwrapConfig, at as StreamBinding, b as D1Binding, bn as WorkflowExport, bt as WorkerBinding, c as AiSearchNamespaceBindingOptions, cn as DurableObjectDeletedExport, ct as TypedAiBinding, d as AnalyticsSQLBinding, dn as DurableObjectExpectingTransferExportOptions, dt as TypedQueueBinding, en as triggers, et as SecretBinding, f as AnalyticsSQLBindingOptions, fn as DurableObjectExportOptions, ft as UnsafeBinding, g as BindingDevOptions, gn as DurableObjectTransferredExportOptions, gt as VpcNetworkBinding, h as AssetsBinding, hn as DurableObjectTransferredExport, ht as VersionMetadataBinding, i as AiBindingOptions, in as InferMainModule, it as SendEmailBindingOptions, j as ImagesBindingOptions, jt as defineConfig, k as HyperdriveBindingOptions, kt as WorkerDefinition, l as AnalyticsEngineDatasetBinding, ln as DurableObjectDeletedExportOptions, lt as TypedKvBinding, m as ArtifactsBindingOptions, mn as DurableObjectRenamedExportOptions, mt as VectorizeBindingOptions, n as AgentMemoryBindingOptions, nn as InferDurableNamespaces, nt as SecretsStoreSecretBindingOptions, o as AiSearchBindingOptions, on as DurableObjectCreatedExport, ot as StreamBindingOptions, p as ArtifactsBinding, pn as DurableObjectRenamedExport, pt as VectorizeBinding, q as PipelineBindingOptions, qt as FetchTrigger, r as AiBinding, rn as InferEnv, rt as SendEmailBinding, s as AiSearchNamespaceBinding, sn as DurableObjectCreatedExportOptions, st as TextBinding, t as AgentMemoryBinding, tn as DefaultModule, tt as SecretsStoreSecretBinding, u as AnalyticsEngineDatasetBindingOptions, un as DurableObjectExpectingTransferExport, ut as TypedPipelineBinding, v as BrowserBinding, vn as WorkerEntrypointExport, vt as VpcServiceBinding, w as DurableObjectBinding, wt as WorkflowBindingOptions, x as D1BindingOptions, xn as WorkflowExportOptions, xt as WorkerBindingOptions, y as BrowserBindingOptions, yn as WorkerEntrypointExportOptions, yt as VpcServiceBindingOptions, z as KvBindingOptions, zt as Settings } from "./public-DsUKmT49.mjs";
|
|
2
2
|
export { AgentMemoryBinding, AgentMemoryBindingOptions, AiBinding, AiBindingOptions, AiSearchBinding, AiSearchBindingOptions, AiSearchNamespaceBinding, AiSearchNamespaceBindingOptions, AnalyticsEngineDatasetBinding, AnalyticsEngineDatasetBindingOptions, AnalyticsSQLBinding, AnalyticsSQLBindingOptions, ArtifactsBinding, ArtifactsBindingOptions, AssetsBinding, BindingDevOptions, Bindings, BrowserBinding, BrowserBindingOptions, CloudflareConfig, ConfigContext, ConnectTrigger, ConnectTriggerOptions, ConnectTriggerOptionsBase, ContainerConfig, ContainerDefinition, ContainerObservabilityConfig, CustomDomain, D1Binding, D1BindingOptions, DefaultModule, DispatchNamespaceBinding, DispatchNamespaceBindingOptions, DurableObjectBinding, DurableObjectBindingOptions, DurableObjectContainerConfig, DurableObjectCreatedExport, DurableObjectCreatedExportOptions, DurableObjectDeletedExport, DurableObjectDeletedExportOptions, DurableObjectExpectingTransferExport, DurableObjectExpectingTransferExportOptions, DurableObjectExportOptions, DurableObjectRenamedExport, DurableObjectRenamedExportOptions, DurableObjectTransferredExport, DurableObjectTransferredExportOptions, EmailTrigger, EmailTriggerOptions, Exports, FetchTrigger, FetchTriggerOptions, FlagshipBinding, FlagshipBindingOptions, HyperdriveBinding, HyperdriveBindingOptions, ImagesBinding, ImagesBindingOptions, InferDurableNamespaces, InferEnv, InferMainModule, Json, JsonBinding, K2Binding, K2BindingOptions, K2ProduceResult, K2Producer, K2Record, KvBinding, KvBindingOptions, LogfwdrBinding, LogfwdrBindingOptions, MediaBinding, MediaBindingOptions, MtlsCertificateBinding, MtlsCertificateBindingOptions, PipelineBinding, PipelineBindingOptions, QueueBinding, QueueBindingOptions, QueueConsumerTrigger, QueueConsumerTriggerOptions, R2Binding, R2BindingOptions, RateLimitBinding, RateLimitBindingOptions, ScheduledTrigger, ScheduledTriggerOptions, SecretBinding, SecretsStoreSecretBinding, SecretsStoreSecretBindingOptions, SendEmailBinding, SendEmailBindingOptions, Settings, StandardContainerConfig, StreamBinding, StreamBindingOptions, TextBinding, Triggers, TypedAiBinding, TypedKvBinding, TypedPipelineBinding, TypedQueueBinding, UnsafeBinding, UnwrapConfig, VectorizeBinding, VectorizeBindingOptions, VersionMetadataBinding, VpcNetworkBinding, VpcNetworkBindingOptions, VpcServiceBinding, VpcServiceBindingOptions, WorkerBinding, WorkerBindingOptions, WorkerConfig, WorkerDefinition, WorkerEntrypointExport, WorkerEntrypointExportOptions, WorkerLoaderBinding, WorkerReference, WorkflowBinding, WorkflowBindingOptions, WorkflowExport, WorkflowExportOptions, bindings, defineConfig, defineContainer, defineWorker, exports, triggers };
|
package/dist/public.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as exports, n as defineContainer, o as triggers, r as defineWorker, s as bindings, t as defineConfig } from "./public-DQgVzHKW.mjs";
|
|
2
2
|
|
|
3
3
|
export { bindings, defineConfig, defineContainer, defineWorker, exports, triggers };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "Definitions and utilities for configuring Cloudflare Workers and related products. This is not yet stable enough for external use — APIs may change without notice.",
|
|
5
5
|
"homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/config#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"zod": "4.6.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@cloudflare/workers-types": "^5.
|
|
34
|
+
"@cloudflare/workers-types": "^5.20261019.1",
|
|
35
35
|
"ts-dedent": "^2.2.0",
|
|
36
36
|
"tsdown": "0.16.3",
|
|
37
37
|
"typescript": "5.8.3",
|
|
38
|
-
"vitest": "
|
|
39
|
-
"@cloudflare/workers-
|
|
40
|
-
"@cloudflare/workers-
|
|
38
|
+
"vitest": "5.0.4",
|
|
39
|
+
"@cloudflare/workers-utils": "0.48.0",
|
|
40
|
+
"@cloudflare/workers-tsconfig": "0.0.0"
|
|
41
41
|
},
|
|
42
42
|
"workers-sdk": {
|
|
43
43
|
"prerelease": true
|