@cloudflare/config 0.20.0 → 0.21.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 +51 -29
- package/dist/index.mjs +14 -14
- package/dist/{public-DA8eKvPJ.d.mts → public-u2AoxvhN.d.mts} +20 -20
- package/dist/public.d.mts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as Settings, A as TextBinding, B as WorkerBinding, C as QueueBinding, D as SecretsStoreSecretBinding, E as SecretBinding, F as UnsafeBinding, G as ContainerDefinition, H as WorkflowBinding, I as VectorizeBinding, J as defineConfig, K as WorkerDefinition, L as VersionMetadataBinding, M as TypedKvBinding, N as TypedPipelineBinding, O as SendEmailBinding, P as TypedQueueBinding, Q as ContainerConfig, R as VpcNetworkBinding, S as PipelineBinding, St as exports, T as RateLimitBinding, U as bindings, V as WorkerLoaderBinding, W as ConfigContext, X as defineWorker, Y as defineContainer, Z as CloudflareConfig, _ as JsonBinding, _t as Exports, a as AnalyticsEngineDatasetBinding, at as ScheduledTrigger, b as MediaBinding, bt as WorkflowExport, c as BindingDevOptions, ct as InferDurableNamespaces, d as D1Binding, dt as UnwrapConfig, et as WorkerConfig, f as DispatchNamespaceBinding, ft as DurableObjectCreatedExport, g as ImagesBinding, gt as DurableObjectTransferredExport, h as HyperdriveBinding, ht as DurableObjectRenamedExport, i as AiSearchNamespaceBinding, it as QueueConsumerTrigger, j as TypedAiBinding, k as StreamBinding, l as Bindings, lt as InferEnv, m as FlagshipBinding, mt as DurableObjectExpectingTransferExport, n as AiBinding, nt as EmailTrigger, o as ArtifactsBinding, ot as Triggers, p as DurableObjectBinding, pt as DurableObjectDeletedExport, q as WorkerReference, r as AiSearchBinding, rt as FetchTrigger, s as AssetsBinding, st as triggers, t as AgentMemoryBinding, tt as ConnectTrigger, u as BrowserBinding, ut as InferMainModule, v as KvBinding, vt as WorkerEntrypointExport, w as R2Binding, x as MtlsCertificateBinding, xt as WorkflowExportOptions, y as LogfwdrBinding, yt as WorkerEntrypointExportOptions, z as VpcServiceBinding } from "./public-
|
|
1
|
+
import { $ as Settings, A as TextBinding, B as WorkerBinding, C as QueueBinding, D as SecretsStoreSecretBinding, E as SecretBinding, F as UnsafeBinding, G as ContainerDefinition, H as WorkflowBinding, I as VectorizeBinding, J as defineConfig, K as WorkerDefinition, L as VersionMetadataBinding, M as TypedKvBinding, N as TypedPipelineBinding, O as SendEmailBinding, P as TypedQueueBinding, Q as ContainerConfig, R as VpcNetworkBinding, S as PipelineBinding, St as exports, T as RateLimitBinding, U as bindings, V as WorkerLoaderBinding, W as ConfigContext, X as defineWorker, Y as defineContainer, Z as CloudflareConfig, _ as JsonBinding, _t as Exports, a as AnalyticsEngineDatasetBinding, at as ScheduledTrigger, b as MediaBinding, bt as WorkflowExport, c as BindingDevOptions, ct as InferDurableNamespaces, d as D1Binding, dt as UnwrapConfig, et as WorkerConfig, f as DispatchNamespaceBinding, ft as DurableObjectCreatedExport, g as ImagesBinding, gt as DurableObjectTransferredExport, h as HyperdriveBinding, ht as DurableObjectRenamedExport, i as AiSearchNamespaceBinding, it as QueueConsumerTrigger, j as TypedAiBinding, k as StreamBinding, l as Bindings, lt as InferEnv, m as FlagshipBinding, mt as DurableObjectExpectingTransferExport, n as AiBinding, nt as EmailTrigger, o as ArtifactsBinding, ot as Triggers, p as DurableObjectBinding, pt as DurableObjectDeletedExport, q as WorkerReference, r as AiSearchBinding, rt as FetchTrigger, s as AssetsBinding, st as triggers, t as AgentMemoryBinding, tt as ConnectTrigger, u as BrowserBinding, ut as InferMainModule, v as KvBinding, vt as WorkerEntrypointExport, w as R2Binding, x as MtlsCertificateBinding, xt as WorkflowExportOptions, y as LogfwdrBinding, yt as WorkerEntrypointExportOptions, z as VpcServiceBinding } from "./public-u2AoxvhN.mjs";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
import { RawConfig } from "@cloudflare/workers-utils";
|
|
4
4
|
|
|
@@ -334,6 +334,14 @@ declare function validateSingletonBindings(env: Record<string, {
|
|
|
334
334
|
declare const InputContainerSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
335
335
|
name: z.ZodString;
|
|
336
336
|
unsafe: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
337
|
+
ssh: z.ZodOptional<z.ZodObject<{
|
|
338
|
+
enabled: z.ZodBoolean;
|
|
339
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
}, z.core.$strict>>;
|
|
341
|
+
authorizedKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
342
|
+
name: z.ZodString;
|
|
343
|
+
publicKey: z.ZodString;
|
|
344
|
+
}, z.core.$strict>>>;
|
|
337
345
|
observability: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
338
346
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
339
347
|
logs: z.ZodOptional<z.ZodObject<{
|
|
@@ -364,14 +372,6 @@ declare const InputContainerSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
364
372
|
default: "default";
|
|
365
373
|
regional: "regional";
|
|
366
374
|
}>>;
|
|
367
|
-
ssh: z.ZodOptional<z.ZodObject<{
|
|
368
|
-
enabled: z.ZodBoolean;
|
|
369
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
370
|
-
}, z.core.$strict>>;
|
|
371
|
-
authorizedKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
372
|
-
name: z.ZodString;
|
|
373
|
-
publicKey: z.ZodString;
|
|
374
|
-
}, z.core.$strict>>>;
|
|
375
375
|
constraints: z.ZodOptional<z.ZodObject<{
|
|
376
376
|
regions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
377
377
|
ENAM: "ENAM";
|
|
@@ -408,6 +408,14 @@ declare const InputContainerSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
408
408
|
}, z.core.$strict>, z.ZodObject<{
|
|
409
409
|
name: z.ZodString;
|
|
410
410
|
unsafe: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
411
|
+
ssh: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
enabled: z.ZodBoolean;
|
|
413
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
}, z.core.$strict>>;
|
|
415
|
+
authorizedKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
416
|
+
name: z.ZodString;
|
|
417
|
+
publicKey: z.ZodString;
|
|
418
|
+
}, z.core.$strict>>>;
|
|
411
419
|
schedulingPolicy: z.ZodLiteral<"durable-object">;
|
|
412
420
|
observability: z.ZodOptional<z.ZodObject<{
|
|
413
421
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -431,6 +439,14 @@ type ParsedInputContainerConfig = z.output<typeof InputContainerSchema>;
|
|
|
431
439
|
declare const OutputContainerSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
432
440
|
name: z.ZodString;
|
|
433
441
|
unsafe: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
442
|
+
ssh: z.ZodOptional<z.ZodObject<{
|
|
443
|
+
enabled: z.ZodBoolean;
|
|
444
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
445
|
+
}, z.core.$strict>>;
|
|
446
|
+
authorizedKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
447
|
+
name: z.ZodString;
|
|
448
|
+
publicKey: z.ZodString;
|
|
449
|
+
}, z.core.$strict>>>;
|
|
434
450
|
observability: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
435
451
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
436
452
|
logs: z.ZodOptional<z.ZodObject<{
|
|
@@ -461,14 +477,6 @@ declare const OutputContainerSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
461
477
|
default: "default";
|
|
462
478
|
regional: "regional";
|
|
463
479
|
}>>;
|
|
464
|
-
ssh: z.ZodOptional<z.ZodObject<{
|
|
465
|
-
enabled: z.ZodBoolean;
|
|
466
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
467
|
-
}, z.core.$strict>>;
|
|
468
|
-
authorizedKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
469
|
-
name: z.ZodString;
|
|
470
|
-
publicKey: z.ZodString;
|
|
471
|
-
}, z.core.$strict>>>;
|
|
472
480
|
constraints: z.ZodOptional<z.ZodObject<{
|
|
473
481
|
regions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
474
482
|
ENAM: "ENAM";
|
|
@@ -503,6 +511,14 @@ declare const OutputContainerSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
503
511
|
}, z.core.$strict>, z.ZodObject<{
|
|
504
512
|
name: z.ZodString;
|
|
505
513
|
unsafe: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
514
|
+
ssh: z.ZodOptional<z.ZodObject<{
|
|
515
|
+
enabled: z.ZodBoolean;
|
|
516
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
}, z.core.$strict>>;
|
|
518
|
+
authorizedKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
519
|
+
name: z.ZodString;
|
|
520
|
+
publicKey: z.ZodString;
|
|
521
|
+
}, z.core.$strict>>>;
|
|
506
522
|
schedulingPolicy: z.ZodLiteral<"durable-object">;
|
|
507
523
|
observability: z.ZodOptional<z.ZodObject<{
|
|
508
524
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -992,6 +1008,14 @@ declare const InputConfigSchema: z.ZodObject<{
|
|
|
992
1008
|
containers: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
993
1009
|
name: z.ZodString;
|
|
994
1010
|
unsafe: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1011
|
+
ssh: z.ZodOptional<z.ZodObject<{
|
|
1012
|
+
enabled: z.ZodBoolean;
|
|
1013
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1014
|
+
}, z.core.$strict>>;
|
|
1015
|
+
authorizedKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1016
|
+
name: z.ZodString;
|
|
1017
|
+
publicKey: z.ZodString;
|
|
1018
|
+
}, z.core.$strict>>>;
|
|
995
1019
|
observability: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
996
1020
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
997
1021
|
logs: z.ZodOptional<z.ZodObject<{
|
|
@@ -1022,14 +1046,6 @@ declare const InputConfigSchema: z.ZodObject<{
|
|
|
1022
1046
|
default: "default";
|
|
1023
1047
|
regional: "regional";
|
|
1024
1048
|
}>>;
|
|
1025
|
-
ssh: z.ZodOptional<z.ZodObject<{
|
|
1026
|
-
enabled: z.ZodBoolean;
|
|
1027
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
1028
|
-
}, z.core.$strict>>;
|
|
1029
|
-
authorizedKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1030
|
-
name: z.ZodString;
|
|
1031
|
-
publicKey: z.ZodString;
|
|
1032
|
-
}, z.core.$strict>>>;
|
|
1033
1049
|
constraints: z.ZodOptional<z.ZodObject<{
|
|
1034
1050
|
regions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1035
1051
|
ENAM: "ENAM";
|
|
@@ -1066,6 +1082,14 @@ declare const InputConfigSchema: z.ZodObject<{
|
|
|
1066
1082
|
}, z.core.$strict>, z.ZodObject<{
|
|
1067
1083
|
name: z.ZodString;
|
|
1068
1084
|
unsafe: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1085
|
+
ssh: z.ZodOptional<z.ZodObject<{
|
|
1086
|
+
enabled: z.ZodBoolean;
|
|
1087
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1088
|
+
}, z.core.$strict>>;
|
|
1089
|
+
authorizedKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1090
|
+
name: z.ZodString;
|
|
1091
|
+
publicKey: z.ZodString;
|
|
1092
|
+
}, z.core.$strict>>>;
|
|
1069
1093
|
schedulingPolicy: z.ZodLiteral<"durable-object">;
|
|
1070
1094
|
observability: z.ZodOptional<z.ZodObject<{
|
|
1071
1095
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1322,10 +1346,8 @@ interface GenerateTypesOptions {
|
|
|
1322
1346
|
* Package name used in the inline `import("<packageName>")` type expressions
|
|
1323
1347
|
* for `InferEnv`/`InferDurableNamespaces`/`InferMainModule`/`UnwrapConfig`.
|
|
1324
1348
|
*
|
|
1325
|
-
* Defaults to `"@cloudflare/config"`. Integrations
|
|
1326
|
-
*
|
|
1327
|
-
* own re-export path here so users don't need to depend on
|
|
1328
|
-
* `@cloudflare/config` directly.
|
|
1349
|
+
* Defaults to `"@cloudflare/config"`. Integrations should pass the public
|
|
1350
|
+
* `cf/config` package used to author `cloudflare.config.ts` files.
|
|
1329
1351
|
*/
|
|
1330
1352
|
packageName?: string;
|
|
1331
1353
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -333,7 +333,15 @@ const ContainerObservabilityBaseSchema = z.strictObject({
|
|
|
333
333
|
const StandardContainerObservabilitySchema = z.union([ContainerObservabilityBaseSchema.extend({ targetInstancePercentage: z.number().min(0).max(100).optional() }), ContainerObservabilityBaseSchema.extend({ targetInstanceCount: z.number().int().nonnegative().optional() })]);
|
|
334
334
|
const BaseContainerSchema = z.strictObject({
|
|
335
335
|
name: z.string().min(1),
|
|
336
|
-
unsafe: z.record(z.string(), z.unknown()).optional()
|
|
336
|
+
unsafe: z.record(z.string(), z.unknown()).optional(),
|
|
337
|
+
ssh: z.strictObject({
|
|
338
|
+
enabled: z.boolean(),
|
|
339
|
+
port: z.number().int().min(1).max(65535).optional()
|
|
340
|
+
}).optional(),
|
|
341
|
+
authorizedKeys: z.array(z.strictObject({
|
|
342
|
+
name: z.string(),
|
|
343
|
+
publicKey: z.string()
|
|
344
|
+
})).optional()
|
|
337
345
|
});
|
|
338
346
|
const StandardContainerBaseSchema = BaseContainerSchema.extend({
|
|
339
347
|
observability: StandardContainerObservabilitySchema.optional(),
|
|
@@ -351,14 +359,6 @@ const StandardContainerBaseSchema = BaseContainerSchema.extend({
|
|
|
351
359
|
diskMb: z.number().nonnegative().optional()
|
|
352
360
|
})]).optional(),
|
|
353
361
|
schedulingPolicy: z.enum(["default", "regional"]).optional(),
|
|
354
|
-
ssh: z.strictObject({
|
|
355
|
-
enabled: z.boolean(),
|
|
356
|
-
port: z.number().int().min(1).max(65535).optional()
|
|
357
|
-
}).optional(),
|
|
358
|
-
authorizedKeys: z.array(z.strictObject({
|
|
359
|
-
name: z.string(),
|
|
360
|
-
publicKey: z.string()
|
|
361
|
-
})).optional(),
|
|
362
362
|
constraints: z.strictObject({
|
|
363
363
|
regions: z.array(z.enum([
|
|
364
364
|
"ENAM",
|
|
@@ -825,6 +825,11 @@ function convertContainer(container) {
|
|
|
825
825
|
const converted = { name: container.name };
|
|
826
826
|
if (container.observability !== void 0) converted.observability = convertContainerObservability(container.observability);
|
|
827
827
|
if (container.unsafe !== void 0) converted.unsafe = container.unsafe;
|
|
828
|
+
if (container.ssh !== void 0) converted.ssh = container.ssh;
|
|
829
|
+
if (container.authorizedKeys !== void 0) converted.authorized_keys = container.authorizedKeys.map(({ name, publicKey }) => ({
|
|
830
|
+
name,
|
|
831
|
+
public_key: publicKey
|
|
832
|
+
}));
|
|
828
833
|
if (container.schedulingPolicy === "durable-object") {
|
|
829
834
|
converted.scheduling_policy = "durable_object";
|
|
830
835
|
if (container.images !== void 0) converted.images = Object.fromEntries(Object.entries(container.images).map(([name, image]) => [name, convertDurableObjectContainerImage(image)]));
|
|
@@ -845,11 +850,6 @@ function convertContainer(container) {
|
|
|
845
850
|
converted.instance_type = instanceType;
|
|
846
851
|
}
|
|
847
852
|
if (container.schedulingPolicy !== void 0) converted.scheduling_policy = container.schedulingPolicy;
|
|
848
|
-
if (container.ssh !== void 0) converted.ssh = container.ssh;
|
|
849
|
-
if (container.authorizedKeys !== void 0) converted.authorized_keys = container.authorizedKeys.map(({ name, publicKey }) => ({
|
|
850
|
-
name,
|
|
851
|
-
public_key: publicKey
|
|
852
|
-
}));
|
|
853
853
|
if (container.constraints !== void 0) converted.constraints = container.constraints;
|
|
854
854
|
if (container.rollout !== void 0) {
|
|
855
855
|
if (container.rollout.kind !== void 0) converted.rollout_kind = ROLLOUT_KIND_MAP[container.rollout.kind];
|
|
@@ -677,6 +677,26 @@ interface BaseContainerConfig {
|
|
|
677
677
|
* @hidden
|
|
678
678
|
*/
|
|
679
679
|
unsafe?: Record<string, unknown>;
|
|
680
|
+
ssh?: {
|
|
681
|
+
/**
|
|
682
|
+
* If enabled, users with write access to the Container application can
|
|
683
|
+
* connect to it over SSH.
|
|
684
|
+
*
|
|
685
|
+
* @default true
|
|
686
|
+
*/
|
|
687
|
+
enabled: boolean;
|
|
688
|
+
/**
|
|
689
|
+
* Port that the SSH service is running on.
|
|
690
|
+
*
|
|
691
|
+
* @default 22
|
|
692
|
+
*/
|
|
693
|
+
port?: number;
|
|
694
|
+
};
|
|
695
|
+
/** SSH public keys to put in the Container's authorized_keys file. */
|
|
696
|
+
authorizedKeys?: Array<{
|
|
697
|
+
name: string;
|
|
698
|
+
publicKey: string;
|
|
699
|
+
}>;
|
|
680
700
|
}
|
|
681
701
|
/** A Container application managed with a standard scheduling policy. */
|
|
682
702
|
interface StandardContainerConfig extends BaseContainerConfig {
|
|
@@ -720,26 +740,6 @@ interface StandardContainerConfig extends BaseContainerConfig {
|
|
|
720
740
|
* @default "default"
|
|
721
741
|
*/
|
|
722
742
|
schedulingPolicy?: "default" | "regional";
|
|
723
|
-
ssh?: {
|
|
724
|
-
/**
|
|
725
|
-
* If enabled, users with write access to the Container application can
|
|
726
|
-
* connect to it over SSH.
|
|
727
|
-
*
|
|
728
|
-
* @default false
|
|
729
|
-
*/
|
|
730
|
-
enabled: boolean;
|
|
731
|
-
/**
|
|
732
|
-
* Port that the SSH service is running on.
|
|
733
|
-
*
|
|
734
|
-
* @default 22
|
|
735
|
-
*/
|
|
736
|
-
port?: number;
|
|
737
|
-
};
|
|
738
|
-
/** SSH public keys to put in the Container's authorized_keys file. */
|
|
739
|
-
authorizedKeys?: Array<{
|
|
740
|
-
name: string;
|
|
741
|
-
publicKey: string;
|
|
742
|
-
}>;
|
|
743
743
|
/** Scheduling constraints for Container placement. */
|
|
744
744
|
constraints?: {
|
|
745
745
|
/** Limit Container placement to specific geographic regions. */
|
package/dist/public.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as Settings, A as TextBinding, B as WorkerBinding, C as QueueBinding, D as SecretsStoreSecretBinding, E as SecretBinding, F as UnsafeBinding, G as ContainerDefinition, H as WorkflowBinding, I as VectorizeBinding, J as defineConfig, K as WorkerDefinition, L as VersionMetadataBinding, M as TypedKvBinding, N as TypedPipelineBinding, O as SendEmailBinding, P as TypedQueueBinding, Q as ContainerConfig, R as VpcNetworkBinding, S as PipelineBinding, St as exports, T as RateLimitBinding, U as bindings, V as WorkerLoaderBinding, W as ConfigContext, X as defineWorker, Y as defineContainer, Z as CloudflareConfig, _ as JsonBinding, _t as Exports, a as AnalyticsEngineDatasetBinding, at as ScheduledTrigger, b as MediaBinding, bt as WorkflowExport, c as BindingDevOptions, ct as InferDurableNamespaces, d as D1Binding, dt as UnwrapConfig, et as WorkerConfig, f as DispatchNamespaceBinding, ft as DurableObjectCreatedExport, g as ImagesBinding, gt as DurableObjectTransferredExport, h as HyperdriveBinding, ht as DurableObjectRenamedExport, i as AiSearchNamespaceBinding, it as QueueConsumerTrigger, j as TypedAiBinding, k as StreamBinding, l as Bindings, lt as InferEnv, m as FlagshipBinding, mt as DurableObjectExpectingTransferExport, n as AiBinding, nt as EmailTrigger, o as ArtifactsBinding, ot as Triggers, p as DurableObjectBinding, pt as DurableObjectDeletedExport, q as WorkerReference, r as AiSearchBinding, rt as FetchTrigger, s as AssetsBinding, st as triggers, t as AgentMemoryBinding, tt as ConnectTrigger, u as BrowserBinding, ut as InferMainModule, v as KvBinding, vt as WorkerEntrypointExport, w as R2Binding, x as MtlsCertificateBinding, xt as WorkflowExportOptions, y as LogfwdrBinding, yt as WorkerEntrypointExportOptions, z as VpcServiceBinding } from "./public-
|
|
1
|
+
import { $ as Settings, A as TextBinding, B as WorkerBinding, C as QueueBinding, D as SecretsStoreSecretBinding, E as SecretBinding, F as UnsafeBinding, G as ContainerDefinition, H as WorkflowBinding, I as VectorizeBinding, J as defineConfig, K as WorkerDefinition, L as VersionMetadataBinding, M as TypedKvBinding, N as TypedPipelineBinding, O as SendEmailBinding, P as TypedQueueBinding, Q as ContainerConfig, R as VpcNetworkBinding, S as PipelineBinding, St as exports, T as RateLimitBinding, U as bindings, V as WorkerLoaderBinding, W as ConfigContext, X as defineWorker, Y as defineContainer, Z as CloudflareConfig, _ as JsonBinding, _t as Exports, a as AnalyticsEngineDatasetBinding, at as ScheduledTrigger, b as MediaBinding, bt as WorkflowExport, c as BindingDevOptions, ct as InferDurableNamespaces, d as D1Binding, dt as UnwrapConfig, et as WorkerConfig, f as DispatchNamespaceBinding, ft as DurableObjectCreatedExport, g as ImagesBinding, gt as DurableObjectTransferredExport, h as HyperdriveBinding, ht as DurableObjectRenamedExport, i as AiSearchNamespaceBinding, it as QueueConsumerTrigger, j as TypedAiBinding, k as StreamBinding, l as Bindings, lt as InferEnv, m as FlagshipBinding, mt as DurableObjectExpectingTransferExport, n as AiBinding, nt as EmailTrigger, o as ArtifactsBinding, ot as Triggers, p as DurableObjectBinding, pt as DurableObjectDeletedExport, q as WorkerReference, r as AiSearchBinding, rt as FetchTrigger, s as AssetsBinding, st as triggers, t as AgentMemoryBinding, tt as ConnectTrigger, u as BrowserBinding, ut as InferMainModule, v as KvBinding, vt as WorkerEntrypointExport, w as R2Binding, x as MtlsCertificateBinding, xt as WorkflowExportOptions, y as LogfwdrBinding, yt as WorkerEntrypointExportOptions, z as VpcServiceBinding } from "./public-u2AoxvhN.mjs";
|
|
2
2
|
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, InferDurableNamespaces, InferEnv, InferMainModule, JsonBinding, KvBinding, LogfwdrBinding, MediaBinding, MtlsCertificateBinding, PipelineBinding, QueueBinding, QueueConsumerTrigger, R2Binding, RateLimitBinding, ScheduledTrigger, SecretBinding, SecretsStoreSecretBinding, SendEmailBinding, Settings, StreamBinding, TextBinding, Triggers, TypedAiBinding, TypedKvBinding, TypedPipelineBinding, TypedQueueBinding, UnsafeBinding, UnwrapConfig, VectorizeBinding, VersionMetadataBinding, VpcNetworkBinding, VpcServiceBinding, WorkerBinding, WorkerConfig, WorkerDefinition, WorkerEntrypointExport, WorkerEntrypointExportOptions, WorkerLoaderBinding, WorkerReference, WorkflowBinding, WorkflowExport, WorkflowExportOptions, 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.21.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": {
|