@cloudflare/workers-utils 0.33.0 → 0.34.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/browser.d.mts +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/{chunk-3K53PSCY.mjs → chunk-QFKPUV4H.mjs} +57 -4
- package/dist/{chunk-NMPHTL5R.mjs → chunk-QKX75RGI.mjs} +4 -40
- package/dist/{config-BKgj-0W1.d.mts → config-BnUbzrPY.d.mts} +92 -11
- package/dist/index.d.mts +208 -7
- package/dist/index.mjs +574 -145
- package/dist/metafile-esm.json +1 -1
- package/dist/open-PBXRGS4R.mjs +3 -3
- package/dist/test-helpers/index.d.mts +1 -1
- package/dist/test-helpers/index.mjs +1 -1
- package/package.json +2 -2
package/dist/browser.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { be as TailConsumer, bi as WorkerMetadata, R as RawConfig } from './config-BnUbzrPY.mjs';
|
|
2
2
|
import { AssetConfig } from '@cloudflare/workers-shared';
|
|
3
3
|
import { Cloudflare } from 'cloudflare';
|
|
4
4
|
import 'node:url';
|
package/dist/browser.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { constructWranglerConfig } from './chunk-
|
|
1
|
+
export { constructWranglerConfig } from './chunk-QKX75RGI.mjs';
|
|
2
2
|
import './chunk-Q72B4Q5Z.mjs';
|
|
@@ -3,21 +3,74 @@ import { readFileSync as readFileSync$1, statSync, existsSync } from 'node:fs';
|
|
|
3
3
|
import path, { resolve, isAbsolute, dirname, join } from 'node:path';
|
|
4
4
|
|
|
5
5
|
// src/config/exports.ts
|
|
6
|
-
function
|
|
6
|
+
function hasKnownExportType(entry) {
|
|
7
|
+
const type = entry?.type;
|
|
8
|
+
return type === "durable-object" || type === "worker";
|
|
9
|
+
}
|
|
10
|
+
__name(hasKnownExportType, "hasKnownExportType");
|
|
11
|
+
function partitionExports(exports$1) {
|
|
7
12
|
const partitioned = {
|
|
8
13
|
"durable-object": {},
|
|
9
14
|
worker: {}
|
|
10
15
|
};
|
|
11
|
-
if (exports === void 0) {
|
|
16
|
+
if (exports$1 === void 0) {
|
|
12
17
|
return partitioned;
|
|
13
18
|
}
|
|
14
|
-
for (const [name, entry] of Object.entries(exports)) {
|
|
19
|
+
for (const [name, entry] of Object.entries(exports$1)) {
|
|
20
|
+
if (!hasKnownExportType(entry)) {
|
|
21
|
+
continue;
|
|
22
|
+
}
|
|
15
23
|
partitioned[entry.type][name] = entry;
|
|
16
24
|
}
|
|
17
25
|
return partitioned;
|
|
18
26
|
}
|
|
19
27
|
__name(partitionExports, "partitionExports");
|
|
20
28
|
|
|
29
|
+
// src/config/durable-object-exports.ts
|
|
30
|
+
function getDurableObjectExports(exports$1) {
|
|
31
|
+
return partitionExports(exports$1)["durable-object"];
|
|
32
|
+
}
|
|
33
|
+
__name(getDurableObjectExports, "getDurableObjectExports");
|
|
34
|
+
function hasDurableObjectExports(exports$1) {
|
|
35
|
+
return Object.keys(getDurableObjectExports(exports$1)).length > 0;
|
|
36
|
+
}
|
|
37
|
+
__name(hasDurableObjectExports, "hasDurableObjectExports");
|
|
38
|
+
|
|
39
|
+
// src/config/containers.ts
|
|
40
|
+
function getContainerNameToClassNameMap(exports$1) {
|
|
41
|
+
const containerNameToClassName = /* @__PURE__ */ new Map();
|
|
42
|
+
for (const [className, entry] of Object.entries(
|
|
43
|
+
getDurableObjectExports(exports$1)
|
|
44
|
+
)) {
|
|
45
|
+
if ("container" in entry && typeof entry.container === "string" && !containerNameToClassName.has(entry.container)) {
|
|
46
|
+
containerNameToClassName.set(entry.container, className);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return containerNameToClassName;
|
|
50
|
+
}
|
|
51
|
+
__name(getContainerNameToClassNameMap, "getContainerNameToClassNameMap");
|
|
52
|
+
function resolveContainerClassName(container, exports$1) {
|
|
53
|
+
if (container.class_name !== void 0) {
|
|
54
|
+
return container.class_name;
|
|
55
|
+
}
|
|
56
|
+
if (container.name === void 0) {
|
|
57
|
+
return void 0;
|
|
58
|
+
}
|
|
59
|
+
return getContainerNameToClassNameMap(exports$1).get(container.name);
|
|
60
|
+
}
|
|
61
|
+
__name(resolveContainerClassName, "resolveContainerClassName");
|
|
62
|
+
function getContainerDurableObjectClassNames(containers, exports$1) {
|
|
63
|
+
const classNames = /* @__PURE__ */ new Set();
|
|
64
|
+
for (const container of containers ?? []) {
|
|
65
|
+
const className = resolveContainerClassName(container, exports$1);
|
|
66
|
+
if (className !== void 0) {
|
|
67
|
+
classNames.add(className);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return classNames;
|
|
71
|
+
}
|
|
72
|
+
__name(getContainerDurableObjectClassNames, "getContainerDurableObjectClassNames");
|
|
73
|
+
|
|
21
74
|
// src/errors.ts
|
|
22
75
|
var UserError = class extends Error {
|
|
23
76
|
static {
|
|
@@ -3201,4 +3254,4 @@ smol-toml/dist/index.js:
|
|
|
3201
3254
|
*)
|
|
3202
3255
|
*/
|
|
3203
3256
|
|
|
3204
|
-
export { APIError, CommandLineArgsError, DeprecationError, ENVIRONMENT_TAG_PREFIX, FatalError, INHERIT_SYMBOL, JSON_CONFIG_FORMATS, JsonFriendlyFatalError, MissingConfigError, PATH_TO_DEPLOY_CONFIG, ParseError, SERVICE_TAG_PREFIX, UserError, applyEdits, configFileName, configFormat, createFatalError, dedent, dir, dist_default, experimental_readRawConfig, findWranglerConfig, format2 as format, formatConfigSnippet, indexLocation, isRedirectedConfig, isRedirectedRawConfig, modify, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, partitionExports, readFileSync, readFileSyncToBuffer, resolveWranglerConfigPath, searchLocation };
|
|
3257
|
+
export { APIError, CommandLineArgsError, DeprecationError, ENVIRONMENT_TAG_PREFIX, FatalError, INHERIT_SYMBOL, JSON_CONFIG_FORMATS, JsonFriendlyFatalError, MissingConfigError, PATH_TO_DEPLOY_CONFIG, ParseError, SERVICE_TAG_PREFIX, UserError, applyEdits, configFileName, configFormat, createFatalError, dedent, dir, dist_default, experimental_readRawConfig, findWranglerConfig, format2 as format, formatConfigSnippet, getContainerDurableObjectClassNames, getContainerNameToClassNameMap, getDurableObjectExports, hasDurableObjectExports, indexLocation, isRedirectedConfig, isRedirectedRawConfig, modify, parseByteSize, parseHumanDuration, parseJSON, parseJSONC, parseNonHyphenedUuid, parsePackageJSON, parseTOML, partitionExports, readFileSync, readFileSyncToBuffer, resolveContainerClassName, resolveWranglerConfigPath, searchLocation };
|
|
@@ -1,43 +1,7 @@
|
|
|
1
1
|
import { __name } from './chunk-Q72B4Q5Z.mjs';
|
|
2
|
-
import assert from 'node:assert';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
__name(isCompatDate, "isCompatDate");
|
|
8
|
-
function formatCompatibilityDate(date) {
|
|
9
|
-
const compatDate = date.toISOString().slice(0, 10);
|
|
10
|
-
assert(isCompatDate(compatDate));
|
|
11
|
-
return compatDate;
|
|
12
|
-
}
|
|
13
|
-
__name(formatCompatibilityDate, "formatCompatibilityDate");
|
|
14
|
-
function getTodaysCompatDate() {
|
|
15
|
-
return formatCompatibilityDate(/* @__PURE__ */ new Date());
|
|
16
|
-
}
|
|
17
|
-
__name(getTodaysCompatDate, "getTodaysCompatDate");
|
|
18
|
-
var NODEJS_COMPAT_DEFAULT_ON_DATE = "2026-08-04";
|
|
19
|
-
function isNodejsCompatDefaultOn(compatibilityDate) {
|
|
20
|
-
return compatibilityDate !== void 0 && compatibilityDate >= NODEJS_COMPAT_DEFAULT_ON_DATE;
|
|
21
|
-
}
|
|
22
|
-
__name(isNodejsCompatDefaultOn, "isNodejsCompatDefaultOn");
|
|
23
|
-
var NODEJS_COMPAT_V2_SWITCH_OVER_DATE = "2024-09-23";
|
|
24
|
-
function resolveNodejsCompat(compatibilityDate, compatibilityFlags) {
|
|
25
|
-
const isDefaultOn = isNodejsCompatDefaultOn(compatibilityDate);
|
|
26
|
-
const isNodejsCompatEnabled = compatibilityFlags.includes("nodejs_compat") || isDefaultOn && !compatibilityFlags.includes("no_nodejs_compat");
|
|
27
|
-
const isNodejsCompatV2Enabled = compatibilityFlags.includes("nodejs_compat_v2") || !compatibilityFlags.includes("no_nodejs_compat_v2") && (isDefaultOn || isNodejsCompatEnabled && compatibilityDate >= NODEJS_COMPAT_V2_SWITCH_OVER_DATE);
|
|
28
|
-
return { isNodejsCompatEnabled, isNodejsCompatV2Enabled };
|
|
29
|
-
}
|
|
30
|
-
__name(resolveNodejsCompat, "resolveNodejsCompat");
|
|
31
|
-
function stripRedundantNodejsCompatFlags(compatibilityDate, compatibilityFlags) {
|
|
32
|
-
if (!isNodejsCompatDefaultOn(compatibilityDate)) {
|
|
33
|
-
return compatibilityFlags;
|
|
34
|
-
}
|
|
35
|
-
const redundantFlags = ["nodejs_compat", "nodejs_compat_v2"].filter(
|
|
36
|
-
(flag) => !compatibilityFlags.includes(`no_${flag}`)
|
|
37
|
-
);
|
|
38
|
-
return compatibilityFlags.filter((flag) => !redundantFlags.includes(flag));
|
|
39
|
-
}
|
|
40
|
-
__name(stripRedundantNodejsCompatFlags, "stripRedundantNodejsCompatFlags");
|
|
3
|
+
// src/default-compat-date.ts
|
|
4
|
+
var DEFAULT_COMPAT_DATE = "2026-08-20";
|
|
41
5
|
|
|
42
6
|
// src/assert-never.ts
|
|
43
7
|
function assertNever(_value) {
|
|
@@ -483,7 +447,7 @@ function constructWranglerConfig(config) {
|
|
|
483
447
|
main: config.entrypoint,
|
|
484
448
|
workers_dev: config.subdomain.enabled,
|
|
485
449
|
preview_urls: config.subdomain.previews_enabled,
|
|
486
|
-
compatibility_date: config.compatibility_date ??
|
|
450
|
+
compatibility_date: config.compatibility_date ?? DEFAULT_COMPAT_DATE,
|
|
487
451
|
compatibility_flags: config.compatibility_flags,
|
|
488
452
|
...allRoutes.length ? { routes: allRoutes } : {},
|
|
489
453
|
placement: config.placement?.mode === "smart" ? { mode: "smart" } : void 0,
|
|
@@ -508,4 +472,4 @@ function constructWranglerConfig(config) {
|
|
|
508
472
|
}
|
|
509
473
|
__name(constructWranglerConfig, "constructWranglerConfig");
|
|
510
474
|
|
|
511
|
-
export {
|
|
475
|
+
export { DEFAULT_COMPAT_DATE, assertNever, constructWranglerConfig, mapWorkerMetadataBindings };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { URLSearchParams } from 'node:url';
|
|
2
|
-
import { RequestInit, Response as Response$1,
|
|
2
|
+
import { RequestInit, Headers, Response as Response$1, MockAgent } from 'undici';
|
|
3
3
|
import { RouterConfig, AssetConfig } from '@cloudflare/workers-shared';
|
|
4
4
|
|
|
5
5
|
interface FetchError {
|
|
@@ -53,6 +53,13 @@ declare function isDoNotTrackEnabled(): boolean;
|
|
|
53
53
|
* `DO_NOT_TRACK` takes precedence when it is set to an opt-out value.
|
|
54
54
|
*/
|
|
55
55
|
declare function getWranglerSendMetricsFromEnv(): boolean | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* `WRANGLER_NO_SKILLS_UPDATE_PROMPTS` suppresses the prompt that offers to
|
|
58
|
+
* update Cloudflare agent skills when they are out of date.
|
|
59
|
+
*
|
|
60
|
+
* Set to `"true"` to never be prompted for skills updates.
|
|
61
|
+
*/
|
|
62
|
+
declare const getNoSkillsUpdatePromptsFromEnv: () => boolean | undefined;
|
|
56
63
|
/**
|
|
57
64
|
* `WRANGLER_SEND_ERROR_REPORTS` controls whether we attempt to send error reports to Sentry.
|
|
58
65
|
*
|
|
@@ -548,7 +555,6 @@ interface CfWorkflow {
|
|
|
548
555
|
class_name: string;
|
|
549
556
|
binding: string;
|
|
550
557
|
script_name?: string;
|
|
551
|
-
remote?: boolean;
|
|
552
558
|
raw?: boolean;
|
|
553
559
|
limits?: {
|
|
554
560
|
steps?: number;
|
|
@@ -800,8 +806,13 @@ interface CfWorkerInit {
|
|
|
800
806
|
* The list of source maps to include on upload.
|
|
801
807
|
*/
|
|
802
808
|
sourceMaps: CfWorkerSourceMap[] | undefined;
|
|
809
|
+
/**
|
|
810
|
+
* A container is linked to its Durable Object either by `class_name`, or by
|
|
811
|
+
* the Durable Object's `exports` entry naming the container by `name`.
|
|
812
|
+
*/
|
|
803
813
|
containers: {
|
|
804
|
-
|
|
814
|
+
name?: string;
|
|
815
|
+
class_name?: string;
|
|
805
816
|
}[] | undefined;
|
|
806
817
|
migrations: CfDurableObjectMigrations | undefined;
|
|
807
818
|
/**
|
|
@@ -1145,7 +1156,8 @@ type WorkerMetadataPut = {
|
|
|
1145
1156
|
};
|
|
1146
1157
|
observability?: Observability | undefined;
|
|
1147
1158
|
containers?: {
|
|
1148
|
-
|
|
1159
|
+
name?: string;
|
|
1160
|
+
class_name?: string;
|
|
1149
1161
|
}[];
|
|
1150
1162
|
package_dependencies?: Array<{
|
|
1151
1163
|
name: string;
|
|
@@ -1278,7 +1290,12 @@ type Trigger = {
|
|
|
1278
1290
|
cron: string;
|
|
1279
1291
|
} | ({
|
|
1280
1292
|
type: "queue-consumer";
|
|
1281
|
-
} & Omit<QueueConsumer, "type">)
|
|
1293
|
+
} & Omit<QueueConsumer, "type">) | {
|
|
1294
|
+
type: "connect";
|
|
1295
|
+
protocol: "tcp";
|
|
1296
|
+
port: number;
|
|
1297
|
+
address?: string;
|
|
1298
|
+
};
|
|
1282
1299
|
type BindingOmit<T> = Omit<T, "binding">;
|
|
1283
1300
|
type NameOmit<T> = Omit<T, "name">;
|
|
1284
1301
|
type Binding = {
|
|
@@ -1443,6 +1460,8 @@ interface StartDevWorkerInput {
|
|
|
1443
1460
|
triggers?: Trigger[];
|
|
1444
1461
|
tailConsumers?: CfTailConsumer[];
|
|
1445
1462
|
streamingTailConsumers?: CfTailConsumer[];
|
|
1463
|
+
/** Cloudflare Access authentication configuration */
|
|
1464
|
+
access?: Config["access"];
|
|
1446
1465
|
/**
|
|
1447
1466
|
* Whether Wrangler should send usage metrics to Cloudflare for this project.
|
|
1448
1467
|
*
|
|
@@ -1663,8 +1682,14 @@ type UnsafeBinding = {
|
|
|
1663
1682
|
*/
|
|
1664
1683
|
type ContainerApp = {
|
|
1665
1684
|
/**
|
|
1666
|
-
* Name of the application
|
|
1667
|
-
*
|
|
1685
|
+
* Name of the application.
|
|
1686
|
+
*
|
|
1687
|
+
* This is also the identifier used to reference the container from a Durable
|
|
1688
|
+
* Object's `exports` entry via its `container` field.
|
|
1689
|
+
*
|
|
1690
|
+
* @optional Defaults to `worker_name-class_name` if not specified. A name is
|
|
1691
|
+
* required when `class_name` is not set, since there is no class name to
|
|
1692
|
+
* derive the default from.
|
|
1668
1693
|
*/
|
|
1669
1694
|
name?: string;
|
|
1670
1695
|
/**
|
|
@@ -1695,8 +1720,12 @@ type ContainerApp = {
|
|
|
1695
1720
|
image_vars?: Record<string, string>;
|
|
1696
1721
|
/**
|
|
1697
1722
|
* The class name of the Durable Object the container is connected to.
|
|
1723
|
+
*
|
|
1724
|
+
* @optional Instead of naming the Durable Object here, you can reference this
|
|
1725
|
+
* container from the Durable Object's `exports` entry via its `container`
|
|
1726
|
+
* field. Exactly one of the two directions must be configured.
|
|
1698
1727
|
*/
|
|
1699
|
-
class_name
|
|
1728
|
+
class_name?: string;
|
|
1700
1729
|
/**
|
|
1701
1730
|
* The scheduling policy of the application
|
|
1702
1731
|
* @optional
|
|
@@ -1908,11 +1937,22 @@ type DurableObjectExportStorage = "sqlite" | "legacy-kv";
|
|
|
1908
1937
|
* script via `transfer_from`.
|
|
1909
1938
|
* - `expecting-transfer` (live): receiving side of a two-phase transfer;
|
|
1910
1939
|
* `storage` and `transfer_from` are both required.
|
|
1940
|
+
*
|
|
1941
|
+
* The live states may additionally attach a container via `container`, which
|
|
1942
|
+
* names an entry in the top-level `containers` array. Tombstones cannot.
|
|
1911
1943
|
*/
|
|
1912
1944
|
type DurableObjectExport = {
|
|
1913
1945
|
type: "durable-object";
|
|
1914
1946
|
state?: "created";
|
|
1915
1947
|
storage: DurableObjectExportStorage;
|
|
1948
|
+
/**
|
|
1949
|
+
* Attach a container to this Durable Object. Must match the `name` of an
|
|
1950
|
+
* entry in the top-level `containers` array, and requires
|
|
1951
|
+
* `storage: "sqlite"`.
|
|
1952
|
+
*
|
|
1953
|
+
* @optional
|
|
1954
|
+
*/
|
|
1955
|
+
container?: string;
|
|
1916
1956
|
} | {
|
|
1917
1957
|
type: "durable-object";
|
|
1918
1958
|
state: "deleted";
|
|
@@ -1929,6 +1969,14 @@ type DurableObjectExport = {
|
|
|
1929
1969
|
state: "expecting-transfer";
|
|
1930
1970
|
storage: DurableObjectExportStorage;
|
|
1931
1971
|
transfer_from: string;
|
|
1972
|
+
/**
|
|
1973
|
+
* Attach a container to this Durable Object. Must match the `name` of an
|
|
1974
|
+
* entry in the top-level `containers` array, and requires
|
|
1975
|
+
* `storage: "sqlite"`.
|
|
1976
|
+
*
|
|
1977
|
+
* @optional
|
|
1978
|
+
*/
|
|
1979
|
+
container?: string;
|
|
1932
1980
|
};
|
|
1933
1981
|
interface WorkerEntrypointExport {
|
|
1934
1982
|
type: "worker";
|
|
@@ -2243,6 +2291,12 @@ interface EnvironmentInheritable {
|
|
|
2243
2291
|
* @inheritable
|
|
2244
2292
|
*/
|
|
2245
2293
|
observability: Observability | undefined;
|
|
2294
|
+
/**
|
|
2295
|
+
* Specify the Cloudflare Access authentication behavior of the Worker.
|
|
2296
|
+
*
|
|
2297
|
+
* @inheritable
|
|
2298
|
+
*/
|
|
2299
|
+
access: Access | undefined;
|
|
2246
2300
|
/**
|
|
2247
2301
|
* Specify the cache behavior of the Worker.
|
|
2248
2302
|
*
|
|
@@ -2316,8 +2370,6 @@ type WorkflowBinding = {
|
|
|
2316
2370
|
class_name: string;
|
|
2317
2371
|
/** The script where the Workflow is defined (if it's external to this Worker) */
|
|
2318
2372
|
script_name?: string;
|
|
2319
|
-
/** Whether the Workflow should be remote or not in local development */
|
|
2320
|
-
remote?: boolean;
|
|
2321
2373
|
/** Optional limits for the Workflow */
|
|
2322
2374
|
limits?: {
|
|
2323
2375
|
/** Maximum number of steps a Workflow instance can execute */
|
|
@@ -2515,6 +2567,26 @@ interface EnvironmentNonInheritable {
|
|
|
2515
2567
|
retry_delay?: number;
|
|
2516
2568
|
}[];
|
|
2517
2569
|
};
|
|
2570
|
+
/**
|
|
2571
|
+
* Specifies raw sockets that this Worker should listen on.
|
|
2572
|
+
* Each entry opens a listening socket on the
|
|
2573
|
+
* given port that delivers incoming connections directly to the Worker's
|
|
2574
|
+
* `connect(socket, env, ctx)` handler.
|
|
2575
|
+
*
|
|
2576
|
+
* NOTE: This field is not automatically inherited from the top level environment,
|
|
2577
|
+
* and so must be specified in every named environment.
|
|
2578
|
+
*
|
|
2579
|
+
* @default []
|
|
2580
|
+
* @nonInheritable
|
|
2581
|
+
*/
|
|
2582
|
+
connect: {
|
|
2583
|
+
/** The transport protocol to listen for. */
|
|
2584
|
+
protocol: "tcp";
|
|
2585
|
+
/** The port to listen on. */
|
|
2586
|
+
port: number;
|
|
2587
|
+
/** The address to bind to. Defaults to `127.0.0.1`. */
|
|
2588
|
+
address?: string;
|
|
2589
|
+
}[];
|
|
2518
2590
|
/**
|
|
2519
2591
|
* Specifies R2 buckets that are bound to this Worker environment.
|
|
2520
2592
|
*
|
|
@@ -3197,6 +3269,15 @@ interface Observability {
|
|
|
3197
3269
|
destinations?: string[];
|
|
3198
3270
|
};
|
|
3199
3271
|
}
|
|
3272
|
+
interface Access {
|
|
3273
|
+
/** Local dev simulation of Cloudflare Access authentication */
|
|
3274
|
+
dev?: {
|
|
3275
|
+
/** The Access application audience tag (aud) */
|
|
3276
|
+
aud: string;
|
|
3277
|
+
/** Mock identity object returned by ctx.access.getIdentity() */
|
|
3278
|
+
identity?: Record<string, unknown>;
|
|
3279
|
+
};
|
|
3280
|
+
}
|
|
3200
3281
|
interface CacheOptions {
|
|
3201
3282
|
/** If cache is enabled for this Worker */
|
|
3202
3283
|
enabled: boolean;
|
|
@@ -3507,4 +3588,4 @@ interface EnvironmentMap {
|
|
|
3507
3588
|
}
|
|
3508
3589
|
declare const defaultWranglerConfig: Config;
|
|
3509
3590
|
|
|
3510
|
-
export { type
|
|
3591
|
+
export { type CfPipeline as $, ARTIFACTS_EVENT_TYPES as A, type Binding as B, type ComputedFields as C, type DurableObjectExport as D, type Exports as E, type CfCapnp as F, type CfD1Database as G, type CfDataBlobBindings as H, type CfDevPluginCfg as I, type CfDispatchNamespace as J, type CfDurableObject as K, type Logger as L, type CfDurableObjectMigrations as M, type CfExports as N, type CfFlagship as O, type CfHelloWorld as P, type CfHyperdrive as Q, type RawConfig as R, type CfImagesBinding as S, type CfKvNamespace as T, type CfLogfwdr as U, type CfLogfwdrBinding as V, type WorkerEntrypointExport as W, type CfMTlsCertificate as X, type CfMediaBinding as Y, type CfModule as Z, type CfModuleType as _, type RedirectedRawConfig as a, type LocalS3Credentials as a$, type CfPlacement as a0, type CfQueue as a1, type CfR2Bucket as a2, type CfRateLimit as a3, type CfScriptFormat as a4, type CfSecretsStoreSecrets as a5, type CfSendEmailBindings as a6, type CfService as a7, type CfStreamBinding as a8, type CfTailConsumer as a9, type DurableObjectExportStorage as aA, type DurableObjectMigration as aB, ENVIRONMENT_TAG_PREFIX as aC, type Entry as aD, type Environment as aE, type EnvironmentNonInheritable as aF, type ExportsReconciliationEntryBase as aG, type ExportsReconciliationErrorDetail as aH, type ExportsReconciliationInfo as aI, type ExportsReconciliationRename as aJ, type ExportsReconciliationResult as aK, type ExportsReconciliationTransfer as aL, type ExportsReconciliationTransferPending as aM, type ExportsReconciliationWarning as aN, type FetchKVGetValueFetcher as aO, type FetchListResultFetcher as aP, type FetchPagedListResultFetcher as aQ, type FetchResult as aR, type FetchResultFetcher as aS, type File as aT, type Hook as aU, type HookValues as aV, INHERIT_SYMBOL as aW, JSON_CONFIG_FORMATS as aX, type Json as aY, LOGGER_LEVELS as aZ, type LegacyAssetPaths as a_, type CfTextBlobBindings as aa, type CfUnsafe as ab, type CfUnsafeBinding as ac, type CfUserLimits as ad, type CfVars as ae, type CfVectorize as af, type CfVersionMetadataBinding as ag, type CfVpcNetwork as ah, type CfVpcService as ai, type CfWasmModuleBindings as aj, type CfWebSearch as ak, type CfWorkerContext as al, type CfWorkerInit as am, type CfWorkerLoader as an, type CfWorkerSourceMap as ao, type CfWorkflow as ap, type CloudchamberConfig as aq, type ComplianceConfig as ar, type ConfigFields as as, type ConfigModuleRuleType as at, type ConfiguredExport as au, type ContainerEngine as av, type CustomDomainRoute as aw, type DispatchNamespaceOutbound as ax, type DockerConfiguration as ay, type DurableObjectBindings as az, type Config as b, getWranglerHideBanner as b$, type LogLevel as b0, type LoggerLevel as b1, type NodeJSCompatMode as b2, type Observability as b3, PATH_TO_DEPLOY_CONFIG as b4, type PreviewsConfig as b5, type RawDevConfig as b6, type RawEnvironment as b7, type Rule as b8, SERVICE_TAG_PREFIX as b9, getCIOverrideName as bA, getCIOverrideNetworkModeHost as bB, getCfFetchEnabledFromEnv as bC, getCfFetchPathFromEnv as bD, getCloudflareApiBaseUrl as bE, getCloudflareApiEnvironmentFromEnv as bF, getCloudflareComplianceRegion as bG, getCloudflareEnv as bH, getCloudflareIncludeProcessEnvFromEnv as bI, getCloudflareLoadDevVarsFromDotEnv as bJ, getCloudflaredPathFromEnv as bK, getComplianceRegionSubdomain as bL, getD1ExtraLocationChoices as bM, getDisableConfigWatching as bN, getDockerPath as bO, getLocalExplorerEnabledFromEnv as bP, getLocalObservabilityEnabledFromEnv as bQ, getNoSkillsUpdatePromptsFromEnv as bR, getOpenNextDeployFromEnv as bS, getOutputFileDirectoryFromEnv as bT, getOutputFilePathFromEnv as bU, getRegistryPath as bV, getSanitizeLogs as bW, getSubdomainMixedStateCheckDisabled as bX, getTraceHeader as bY, getWorkersCIBranchName as bZ, getWranglerCacheDirFromEnv as b_, type ServiceFetch as ba, type ServiceMetadataRes as bb, type StartDevWorkerInput as bc, type StreamingTailConsumer as bd, type TailConsumer as be, type Trigger as bf, type UserLimits as bg, type ValidatedAssetsOptions as bh, type WorkerMetadata as bi, type WorkflowBinding as bj, type ZoneIdRoute as bk, type ZoneNameRoute as bl, addAuthorizationHeader as bm, defaultWranglerConfig as bn, extractAccountTag as bo, extractWAFBlockRayId as bp, fetchInternalBase as bq, fetchKVGetValueBase as br, fetchListResultBase as bs, fetchResultBase as bt, getBrowserRenderingHeadfulFromEnv as bu, getBuildConditionsFromEnv as bv, getBuildPlatformFromEnv as bw, getC3CommandFromEnv as bx, getCIGeneratePreviewAlias as by, getCIMatchTag as bz, type ContainerApp as c, getWranglerSendErrorReportsFromEnv as c0, getWranglerSendMetricsFromEnv as c1, hasCursor as c2, hasMorePages as c3, isDoNotTrackEnabled as c4, isWAFBlockResponse as c5, maybeAddTraceHeader as c6, parseRetryAfterMs as c7, parseRetryAfterValue as c8, performApiFetchBase as c9, renderError as ca, throwFetchError as cb, truncate as cc, type WorkerMetadataBinding as d, type Route as e, type Access as f, type ApiCredentials as g, type ArtifactsEventTrigger as h, type ArtifactsEventType as i, type AssetConfigMetadata as j, type Assets as k, type AssetsOptions as l, type AsyncHook as m, type BinaryFile as n, COMPLIANCE_REGION_CONFIG_PUBLIC as o, COMPLIANCE_REGION_CONFIG_UNKNOWN as p, type CacheOptions as q, type CfAIBinding as r, type CfAISearch as s, type CfAISearchNamespace as t, type CfAccount as u, type CfAgentMemory as v, type CfAnalyticsEngineDataset as w, type CfArtifacts as x, type CfAssetsBinding as y, type CfBrowserBinding as z };
|