@cloudflare/deploy-helpers 0.11.0 → 0.11.2
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/{context-nFHuelHB.d.mts → context-CruwKULH.d.mts} +25 -2
- package/dist/context.d.mts +2 -1
- package/dist/index.d.mts +53 -34
- package/dist/index.mjs +777 -525
- package/dist/metafile-esm.json +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BuiltImage, ContainerNormalizedConfig, BuiltContainerImage } from '@cloudflare/containers-shared';
|
|
2
|
+
import { ContainerApp, Config, FetchResultFetcher, FetchListResultFetcher, FetchPagedListResultFetcher, FetchKVGetValueFetcher, Logger, Entry, ValidatedAssetsOptions, LegacyAssetPaths, Route, CfModule, CfWorkerSourceMap, CfModuleType } from '@cloudflare/workers-utils';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* client needs to handle logger and fetch/auth implementation
|
|
@@ -27,6 +28,25 @@ type DeployHelpersContext = {
|
|
|
27
28
|
fallbackOption?: number;
|
|
28
29
|
}) => Promise<Values>;
|
|
29
30
|
};
|
|
31
|
+
type ContainerlessConfig = Omit<Config, "containers">;
|
|
32
|
+
type BuiltDurableObjectContainerImage = BuiltImage & {
|
|
33
|
+
className: string;
|
|
34
|
+
imageName: string;
|
|
35
|
+
};
|
|
36
|
+
type ContainerDeployConfig = {
|
|
37
|
+
/** Original resolved container configuration. */
|
|
38
|
+
source: ContainerApp[] | undefined;
|
|
39
|
+
standard: {
|
|
40
|
+
/** Normalized non-Durable-Object container applications. */
|
|
41
|
+
normalized: ContainerNormalizedConfig[];
|
|
42
|
+
/** Locally built images awaiting deployment or cleanup. */
|
|
43
|
+
builtImages: BuiltContainerImage[];
|
|
44
|
+
};
|
|
45
|
+
durableObjects: {
|
|
46
|
+
/** Locally built named images awaiting upload or cleanup. */
|
|
47
|
+
builtImages: BuiltDurableObjectContainerImage[];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
30
50
|
/**
|
|
31
51
|
* Shared fields produced by merging CLI args with wrangler config.
|
|
32
52
|
* After this point, no raw config/arg merging should happen.
|
|
@@ -85,6 +105,8 @@ type SharedDeployVersionsProps = {
|
|
|
85
105
|
skipProvisioningConfigWriteback: boolean;
|
|
86
106
|
/** From --strict arg. In strict mode, conflicting pre-upload checks abort instead of auto-continuing. */
|
|
87
107
|
strict: boolean;
|
|
108
|
+
/** Container configuration and locally built image state. */
|
|
109
|
+
containers: ContainerDeployConfig;
|
|
88
110
|
/** Whether the resolved Worker name differs from the pre-merge config/args name. */
|
|
89
111
|
workerNameOverridden?: boolean;
|
|
90
112
|
};
|
|
@@ -137,6 +159,7 @@ type WorkerBuildResult = {
|
|
|
137
159
|
};
|
|
138
160
|
interface TriggerDeployment {
|
|
139
161
|
targets: string[];
|
|
162
|
+
changed?: boolean;
|
|
140
163
|
category?: string;
|
|
141
164
|
resource?: string;
|
|
142
165
|
error?: Error;
|
|
@@ -179,4 +202,4 @@ declare let select: DeployHelpersContext["select"];
|
|
|
179
202
|
*/
|
|
180
203
|
declare function initDeployHelpersContext(ctx: DeployHelpersContext): void;
|
|
181
204
|
|
|
182
|
-
export { type DeployProps as D, type SharedDeployVersionsProps as S, type TriggerProps as T, type VersionsUploadProps as V, type WorkerBuildResult as W, type TriggerDeployment as a, type
|
|
205
|
+
export { type BuiltDurableObjectContainerImage as B, type ContainerlessConfig as C, type DeployProps as D, type SharedDeployVersionsProps as S, type TriggerProps as T, type VersionsUploadProps as V, type WorkerBuildResult as W, type TriggerDeployment as a, type ContainerDeployConfig as b, type DeployHelpersContext as c, confirm as d, fetchListResult as e, fetchKVGetValue as f, fetchPagedListResult as g, fetchResult as h, initDeployHelpersContext as i, logger as l, prompt as p, select as s };
|
package/dist/context.d.mts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { d as confirm, f as fetchKVGetValue, e as fetchListResult, g as fetchPagedListResult, h as fetchResult, i as initDeployHelpersContext, l as logger, p as prompt, s as select } from './context-CruwKULH.mjs';
|
|
2
2
|
import '@cloudflare/workers-utils';
|
|
3
|
+
import '@cloudflare/containers-shared';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { S as SharedDeployVersionsProps, D as DeployProps, W as WorkerBuildResult, V as VersionsUploadProps, T as TriggerProps, a as TriggerDeployment } from './context-
|
|
2
|
-
export { b as DeployHelpersContext, i as initDeployHelpersContext } from './context-
|
|
1
|
+
import { S as SharedDeployVersionsProps, D as DeployProps, C as ContainerlessConfig, W as WorkerBuildResult, V as VersionsUploadProps, T as TriggerProps, a as TriggerDeployment, B as BuiltDurableObjectContainerImage } from './context-CruwKULH.mjs';
|
|
2
|
+
export { b as ContainerDeployConfig, c as DeployHelpersContext, i as initDeployHelpersContext } from './context-CruwKULH.mjs';
|
|
3
3
|
import * as _cloudflare_workers_utils from '@cloudflare/workers-utils';
|
|
4
|
-
import { CfModule, Config, AssetsOptions, ComplianceConfig, LegacyAssetPaths, Route, ZoneIdRoute, ZoneNameRoute, CustomDomainRoute, CfPlacement, Binding as Binding$1, RawConfig, CfCapnp, CfScriptFormat, ParseError, WorkerMetadataBinding, CfUserLimits, CfWorkerInit, TailConsumer, StreamingTailConsumer, Observability, ExportsReconciliationErrorDetail, ExportsReconciliationResult, StartDevWorkerInput, CacheOptions, PreviewsConfig } from '@cloudflare/workers-utils';
|
|
5
|
-
import { ContainerNormalizedConfig, ImageURIConfig } from '@cloudflare/containers-shared';
|
|
4
|
+
import { CfModule, Config, AssetsOptions, ComplianceConfig, LegacyAssetPaths, Route, ZoneIdRoute, ZoneNameRoute, CustomDomainRoute, CfPlacement, Binding as Binding$1, RawConfig, CfCapnp, CfScriptFormat, ParseError, WorkerMetadataBinding, CfUserLimits, CfWorkerInit, TailConsumer, StreamingTailConsumer, Observability, DurableObjectContainerApp, ExportsReconciliationErrorDetail, ExportsReconciliationResult, StartDevWorkerInput, CacheOptions, PreviewsConfig } from '@cloudflare/workers-utils';
|
|
6
5
|
import { FormData } from 'undici';
|
|
7
6
|
export { createWorkerUploadForm, fromMimeType, moduleTypeMimeType } from './create-worker-upload-form.mjs';
|
|
8
7
|
import { Options } from '@cspotcode/source-map-support';
|
|
9
8
|
import Protocol from 'devtools-protocol';
|
|
10
9
|
import { NodeJSCompatMode } from 'miniflare';
|
|
10
|
+
import { ContainerNormalizedConfig } from '@cloudflare/containers-shared';
|
|
11
11
|
|
|
12
12
|
interface BundleSize {
|
|
13
13
|
size: number;
|
|
@@ -40,7 +40,7 @@ declare function resolveAssetOptions({ assetsDir, main }: Pick<SharedDeployVersi
|
|
|
40
40
|
/**
|
|
41
41
|
* Wrangler-specific functions injected into `deploy()`. These remain in
|
|
42
42
|
* wrangler because they depend on wrangler-only systems (account selection,
|
|
43
|
-
* metrics, the dev-mode worker registry,
|
|
43
|
+
* metrics, the dev-mode worker registry, etc.).
|
|
44
44
|
*/
|
|
45
45
|
type DeployCallbacks = {
|
|
46
46
|
syncWorkersSite: ((complianceConfig: ComplianceConfig, accountId: string | undefined, scriptName: string, siteAssets: LegacyAssetPaths | undefined, preview: boolean, dryRun: boolean | undefined, oldAssetTTL: number | undefined) => Promise<{
|
|
@@ -49,28 +49,6 @@ type DeployCallbacks = {
|
|
|
49
49
|
} | undefined;
|
|
50
50
|
namespace: string | undefined;
|
|
51
51
|
}>) | undefined;
|
|
52
|
-
getNormalizedContainerOptions: ((config: Config, args: {
|
|
53
|
-
containersRollout?: "gradual" | "immediate" | "none";
|
|
54
|
-
dryRun?: boolean;
|
|
55
|
-
}) => Promise<ContainerNormalizedConfig[]>) | undefined;
|
|
56
|
-
buildContainer: ((containerConfig: Exclude<ContainerNormalizedConfig, ImageURIConfig>, imageTag: string, dryRun: boolean, pathToDocker: string, verifyDockerIsRunning: boolean) => Promise<unknown>) | undefined;
|
|
57
|
-
deployContainers: ((config: Config, normalisedContainerConfig: ContainerNormalizedConfig[], args: {
|
|
58
|
-
versionId: string;
|
|
59
|
-
accountId: string;
|
|
60
|
-
scriptName: string;
|
|
61
|
-
dispatchNamespace?: string;
|
|
62
|
-
}) => Promise<void>) | undefined;
|
|
63
|
-
prepareDurableObjectContainerApplications: ((config: Config, args: {
|
|
64
|
-
dryRun: boolean;
|
|
65
|
-
scriptName: string;
|
|
66
|
-
dispatchNamespace?: string;
|
|
67
|
-
}) => Promise<Record<string, Record<string, string>>>) | undefined;
|
|
68
|
-
deployDurableObjectContainerApplications: ((config: Config, args: {
|
|
69
|
-
versionId: string;
|
|
70
|
-
accountId: string;
|
|
71
|
-
scriptName: string;
|
|
72
|
-
dispatchNamespace?: string;
|
|
73
|
-
}) => Promise<void>) | undefined;
|
|
74
52
|
analyseBundle: ((workerBundle: string | FormData) => Promise<Record<string, unknown>>) | undefined;
|
|
75
53
|
};
|
|
76
54
|
type DeployResult = {
|
|
@@ -81,9 +59,9 @@ type DeployResult = {
|
|
|
81
59
|
targets?: string[];
|
|
82
60
|
bundleSize?: BundleSize;
|
|
83
61
|
};
|
|
84
|
-
declare function deploy(props: DeployProps, config:
|
|
62
|
+
declare function deploy(props: DeployProps, config: ContainerlessConfig, buildResult: WorkerBuildResult, callbacks: DeployCallbacks): Promise<DeployResult>;
|
|
85
63
|
|
|
86
|
-
type VersionsUploadCallbacks = Pick<DeployCallbacks, "analyseBundle"
|
|
64
|
+
type VersionsUploadCallbacks = Pick<DeployCallbacks, "analyseBundle">;
|
|
87
65
|
type VersionsUploadResult = {
|
|
88
66
|
versionId: string | null;
|
|
89
67
|
workerTag: string | null;
|
|
@@ -92,8 +70,9 @@ type VersionsUploadResult = {
|
|
|
92
70
|
versionPreviewAliasUrl?: string | undefined;
|
|
93
71
|
bundleSize?: BundleSize;
|
|
94
72
|
};
|
|
95
|
-
declare function versionsUpload(props: VersionsUploadProps, config:
|
|
73
|
+
declare function versionsUpload(props: VersionsUploadProps, config: ContainerlessConfig, buildResult: WorkerBuildResult, callbacks: VersionsUploadCallbacks): Promise<VersionsUploadResult>;
|
|
96
74
|
|
|
75
|
+
declare const PREVIEW_DOMAIN_PROVISIONING_NOTE = "Note: DNS and TLS certificate provisioning for Preview domains may continue after this deploy. If a new Preview URL does not work immediately, wait a few minutes and retry.";
|
|
97
76
|
declare function triggersDeploy(props: TriggerProps): Promise<string[] | void>;
|
|
98
77
|
declare function getSubdomainValues(config_workers_dev: boolean | undefined, config_preview_urls: boolean | undefined, routes: Route[]): {
|
|
99
78
|
workers_dev: boolean;
|
|
@@ -171,7 +150,7 @@ declare function publishRoutes(complianceConfig: ComplianceConfig, routes: Route
|
|
|
171
150
|
scriptName: string;
|
|
172
151
|
accountId: string;
|
|
173
152
|
}): Promise<string[]>;
|
|
174
|
-
declare function publishCustomDomains(complianceConfig: ComplianceConfig, workerUrl: string, accountId: string, domains: Array<RouteObject>): Promise<TriggerDeployment>;
|
|
153
|
+
declare function publishCustomDomains(complianceConfig: ComplianceConfig, workerUrl: string, accountId: string, scriptName: string, domains: Array<RouteObject>): Promise<TriggerDeployment>;
|
|
175
154
|
|
|
176
155
|
interface PostQueueBody {
|
|
177
156
|
queue_name: string;
|
|
@@ -705,6 +684,41 @@ declare function resolveDoLifecyclePayload(props: {
|
|
|
705
684
|
exports: CfWorkerInit["exports"];
|
|
706
685
|
}>;
|
|
707
686
|
|
|
687
|
+
type DeployDurableObjectContainerApplicationsArgs = {
|
|
688
|
+
dispatchNamespace?: string;
|
|
689
|
+
versionId: string;
|
|
690
|
+
accountId: string;
|
|
691
|
+
scriptName: string;
|
|
692
|
+
};
|
|
693
|
+
type PrepareDurableObjectContainerApplicationsArgs = {
|
|
694
|
+
accountId: string | undefined;
|
|
695
|
+
dispatchNamespace?: string;
|
|
696
|
+
dryRun: boolean;
|
|
697
|
+
scriptName: string;
|
|
698
|
+
};
|
|
699
|
+
type DurableObjectContainerApplication = Pick<DurableObjectContainerApp, "class_name" | "name">;
|
|
700
|
+
type VersionedDurableObjectContainerApplication = DurableObjectContainerApplication & {
|
|
701
|
+
namespaceId?: string;
|
|
702
|
+
};
|
|
703
|
+
type PreparedContainerImages = Record<string, Record<string, string>>;
|
|
704
|
+
declare function createDurableObjectContainerApplication(application: DurableObjectContainerApplication, namespaceId: string): Promise<void>;
|
|
705
|
+
declare function getVersionedDurableObjectContainerApplications(versions: ApiVersion[], scriptName: string): VersionedDurableObjectContainerApplication[];
|
|
706
|
+
/** Resolve every versioned application's namespace without creating applications. */
|
|
707
|
+
declare function resolveVersionedDurableObjectContainerApplications(config: Config, { applications, accountId, scriptName, allowMissingNamespaces, }: {
|
|
708
|
+
applications: VersionedDurableObjectContainerApplication[];
|
|
709
|
+
accountId: string;
|
|
710
|
+
scriptName: string;
|
|
711
|
+
allowMissingNamespaces?: boolean;
|
|
712
|
+
}): Promise<VersionedDurableObjectContainerApplication[]>;
|
|
713
|
+
/** Create applications only after every deployed namespace has been resolved. */
|
|
714
|
+
declare function deployVersionedDurableObjectContainerApplications(config: Config, args: {
|
|
715
|
+
applications: VersionedDurableObjectContainerApplication[];
|
|
716
|
+
accountId: string;
|
|
717
|
+
scriptName: string;
|
|
718
|
+
}): Promise<void>;
|
|
719
|
+
declare function prepareDurableObjectContainerApplications(config: ContainerlessConfig, durableObjectContainerConfig: DurableObjectContainerApp[], builtImages: BuiltDurableObjectContainerImage[], { accountId, dryRun, scriptName, dispatchNamespace, }: PrepareDurableObjectContainerApplicationsArgs): Promise<PreparedContainerImages>;
|
|
720
|
+
declare function deployDurableObjectContainerApplications(config: ContainerlessConfig, durableObjectContainerConfig: DurableObjectContainerApp[], { versionId, accountId, scriptName, dispatchNamespace, }: DeployDurableObjectContainerApplicationsArgs): Promise<void>;
|
|
721
|
+
|
|
708
722
|
type ResolveExportsUploadPayloadProps = Parameters<typeof resolveDoLifecyclePayload>[0];
|
|
709
723
|
declare function resolveExportsUploadPayload(props: ResolveExportsUploadPayloadProps): Promise<{
|
|
710
724
|
migrations: CfWorkerInit["migrations"];
|
|
@@ -1100,13 +1114,18 @@ type PreviewResult = {
|
|
|
1100
1114
|
deployment: DeploymentResource;
|
|
1101
1115
|
isNewPreview: boolean;
|
|
1102
1116
|
};
|
|
1103
|
-
type PreviewCallbacks =
|
|
1117
|
+
type PreviewCallbacks = {
|
|
1118
|
+
getNormalizedContainerOptions: ((config: Config, args: {
|
|
1119
|
+
containersRollout?: "gradual" | "immediate" | "none";
|
|
1120
|
+
dryRun?: boolean;
|
|
1121
|
+
}) => Promise<ContainerNormalizedConfig[]>) | undefined;
|
|
1104
1122
|
deployPreviewContainers: ((scopedConfig: Config, normalisedContainerConfig: ContainerNormalizedConfig[], deployment: DeploymentResource, accountId: string, options: {
|
|
1105
1123
|
quiet: boolean;
|
|
1106
1124
|
}) => Promise<void>) | undefined;
|
|
1107
1125
|
verifyContainersScope?: (scopedConfig: Config) => Promise<void>;
|
|
1108
1126
|
};
|
|
1109
|
-
declare const NO_ACTIVE_PREVIEW_URLS_MESSAGE = "Note: This Preview deployment has no active URLs.
|
|
1127
|
+
declare const NO_ACTIVE_PREVIEW_URLS_MESSAGE = "Note: This Preview deployment has no active URLs.";
|
|
1128
|
+
declare function formatNoActivePreviewUrlsMessage(config: Config): string;
|
|
1110
1129
|
/**
|
|
1111
1130
|
* Full preview create/update + deployment orchestration.
|
|
1112
1131
|
* The wrangler handler calls this after auth + build.
|
|
@@ -1165,4 +1184,4 @@ type DrawConnectedChildBoxOptions = {
|
|
|
1165
1184
|
*/
|
|
1166
1185
|
declare function drawConnectedChildBox(contentLines: string[], options?: DrawConnectedChildBoxOptions): string;
|
|
1167
1186
|
|
|
1168
|
-
export { ACTOR_BINDING_DEPENDS_ON_EXPORT_CODE, type ApiDeployment, type ApiVersion, type AssetManifest, type AssetUploadStats, type AssetsUploadResult, type Binding, type BulkInputNullableResult, type BulkInputResult, type BundleSize, type Consumer, type ConsumerSettings, type CreatePreviewDeploymentRequestParams, type CreatePreviewRequestParams, type CustomDomain, type CustomDomainChangeset, type DeployCallbacks, DeployProps, type DeploymentResource, EXPORTS_RECONCILIATION_ERROR_CODE, type EnvBindings, INCONSISTENT_EXPORTS_ACROSS_VERSIONS_CODE, INVALID_INHERIT_BINDING_CODE, type JsonLike, NO_ACTIVE_PREVIEW_URLS_MESSAGE, NoInputError, type NonVersionedScriptSettings, type PackageDependency, type Percentage, type PostQueueBody, type PostQueueResponse, type PostTypedConsumerBody, type PreviewArgs, type PreviewAssetsOptions, type PreviewBaseConfig, type PreviewBaseConfigPatch, type PreviewCallbacks, type PreviewDeleteArgs, type PreviewDeploymentModule, type PreviewRequestOptions, type PreviewResource, type PreviewResult, type Producer, type ProvisionBindingsResult, type PullRequestMetadata, type PurgeQueueBody, type PurgeQueueResponse, type QueueResponse, type QueueSettings, type RetrieveSourceMapFunction, type RouteObject, type ScriptReference, type Settings, SharedDeployVersionsProps, TriggerDeployment, TriggerProps, type TypedConsumerResponse, type UpdatePreviewRequestParams, type VersionCache, type VersionId, type VersionsUploadCallbacks, VersionsUploadProps, WORKER_LEGACY_ENVIRONMENT_NOT_FOUND_ERR_CODE, WORKER_NOT_FOUND_ERR_CODE, WORKFLOW_CRON_REQUIRES_PAID_PLAN_CODE, WORKFLOW_NOT_FOUND_CODE, WorkerBuildResult, type Workflow, type WorkflowConflict, type Zone, type ZoneIdCache, addRequiredSecretsInheritBindings, addWorkersSitesBindings, applyServiceAndEnvironmentTags, assemblePreviewScriptSettings, buildAssetManifest, checkRemoteSecretsOverride, checkWorkflowConflicts, collectPackageDependencies, confirmLatestDeploymentOverwrite, createDeployment, createPreview, createPreviewDeployment, createPreviewDeploymentForm, createPreviewParentWorker, createTruncatedAlias, decodeJwtPayload, deletePreview, deletePullConsumer, deleteWorkerConsumer, deploy, deployWfpUserWorker, diagnoseScriptSizeError, diagnoseStartupError, diffJsonObjects, downloadWorkerConfig, drawBox, drawConnectedChildBox, editPreview, ensureQueuesExistByConfig, extractConfigBindings, fetchDeployableVersions, fetchDeploymentVersions, fetchLatestDeployment, fetchLatestDeployments, fetchSecrets, fetchVersion, fetchVersions, fetchWorkerConfig, formatAlignedRows, formatBindings, generatePreviewAlias, getBindingValue, getBranchName, getCommitSha, getConfigPatch, getDeployConfirmFunction, getEdgeKvUploadConcurrency, getHeadCommitMessage, getHeadCommitRef, getMigrationsToUpload, getPreview, getPreviewBaseConfig, getPreviewDeployment, getPreviewOwnedContainerClassNames, getPullRequestMetadata, getQueue, getRemoteConfigDiff, getRepositoryUrl, getSettings, getSize, getSourceMappedStack, getSourceMappedString, getSubdomainValues, getSubdomainValuesAPIMock, getWorkersDevSubdomain, getZoneForRoute, getZoneIdFromHost, handleMissingSecretsError, handleUnsafeCapnp, hasDefinedEnvironments, hashFile, helpIfErrorIsSizeOrScriptStartup, isExportsReconciliationErrorDetails, isJwtExpired, isModifiedDiffValue, isNonDestructive, isWorkerNotFoundError, listConsumers, listQueues, maybeRetrieveFileSourceMap, padToVisibleWidth, parseBulkInputToObject, parseConfigPlacement, patchNonVersionedScriptSettings, patchPreviewBaseConfig, patchPreviewDeployment, postConsumer, preview, previewContainerAppName, previewDelete, printBundleSize, printVersions, provisionBindings, publishCustomDomains, publishRoutes, putConsumer, putConsumerById, renderBindingDependsOnExportError, renderExportsReconciliationError, renderExportsReconciliationSuccess, renderInconsistentExportsAcrossVersionsError, renderRoute, resolveAssetOptions, resolveDoLifecyclePayload, resolveExportsUploadPayload, resolveWorkerName, sanitizeBranchName, shouldUseCIMetadataFallback, stripAnsi, syncAssets, tagsAreEqual, triggersDeploy, updateQueueConsumers, validateEventTriggerTargets, validateFileSecrets, validateNodeCompatMode, validateRoutes, verifyWorkerMatchesCITag, versionsUpload, visibleLength, warnOnErrorUpdatingServiceAndEnvironmentTags, workerNotFoundErrorMessage };
|
|
1187
|
+
export { ACTOR_BINDING_DEPENDS_ON_EXPORT_CODE, type ApiDeployment, type ApiVersion, type AssetManifest, type AssetUploadStats, type AssetsUploadResult, type Binding, BuiltDurableObjectContainerImage, type BulkInputNullableResult, type BulkInputResult, type BundleSize, type Consumer, type ConsumerSettings, ContainerlessConfig, type CreatePreviewDeploymentRequestParams, type CreatePreviewRequestParams, type CustomDomain, type CustomDomainChangeset, type DeployCallbacks, DeployProps, type DeploymentResource, type DurableObjectContainerApplication, EXPORTS_RECONCILIATION_ERROR_CODE, type EnvBindings, INCONSISTENT_EXPORTS_ACROSS_VERSIONS_CODE, INVALID_INHERIT_BINDING_CODE, type JsonLike, NO_ACTIVE_PREVIEW_URLS_MESSAGE, NoInputError, type NonVersionedScriptSettings, PREVIEW_DOMAIN_PROVISIONING_NOTE, type PackageDependency, type Percentage, type PostQueueBody, type PostQueueResponse, type PostTypedConsumerBody, type PreparedContainerImages, type PreviewArgs, type PreviewAssetsOptions, type PreviewBaseConfig, type PreviewBaseConfigPatch, type PreviewCallbacks, type PreviewDeleteArgs, type PreviewDeploymentModule, type PreviewRequestOptions, type PreviewResource, type PreviewResult, type Producer, type ProvisionBindingsResult, type PullRequestMetadata, type PurgeQueueBody, type PurgeQueueResponse, type QueueResponse, type QueueSettings, type RetrieveSourceMapFunction, type RouteObject, type ScriptReference, type Settings, SharedDeployVersionsProps, TriggerDeployment, TriggerProps, type TypedConsumerResponse, type UpdatePreviewRequestParams, type VersionCache, type VersionId, type VersionedDurableObjectContainerApplication, type VersionsUploadCallbacks, VersionsUploadProps, WORKER_LEGACY_ENVIRONMENT_NOT_FOUND_ERR_CODE, WORKER_NOT_FOUND_ERR_CODE, WORKFLOW_CRON_REQUIRES_PAID_PLAN_CODE, WORKFLOW_NOT_FOUND_CODE, WorkerBuildResult, type Workflow, type WorkflowConflict, type Zone, type ZoneIdCache, addRequiredSecretsInheritBindings, addWorkersSitesBindings, applyServiceAndEnvironmentTags, assemblePreviewScriptSettings, buildAssetManifest, checkRemoteSecretsOverride, checkWorkflowConflicts, collectPackageDependencies, confirmLatestDeploymentOverwrite, createDeployment, createDurableObjectContainerApplication, createPreview, createPreviewDeployment, createPreviewDeploymentForm, createPreviewParentWorker, createTruncatedAlias, decodeJwtPayload, deletePreview, deletePullConsumer, deleteWorkerConsumer, deploy, deployDurableObjectContainerApplications, deployVersionedDurableObjectContainerApplications, deployWfpUserWorker, diagnoseScriptSizeError, diagnoseStartupError, diffJsonObjects, downloadWorkerConfig, drawBox, drawConnectedChildBox, editPreview, ensureQueuesExistByConfig, extractConfigBindings, fetchDeployableVersions, fetchDeploymentVersions, fetchLatestDeployment, fetchLatestDeployments, fetchSecrets, fetchVersion, fetchVersions, fetchWorkerConfig, formatAlignedRows, formatBindings, formatNoActivePreviewUrlsMessage, generatePreviewAlias, getBindingValue, getBranchName, getCommitSha, getConfigPatch, getDeployConfirmFunction, getEdgeKvUploadConcurrency, getHeadCommitMessage, getHeadCommitRef, getMigrationsToUpload, getPreview, getPreviewBaseConfig, getPreviewDeployment, getPreviewOwnedContainerClassNames, getPullRequestMetadata, getQueue, getRemoteConfigDiff, getRepositoryUrl, getSettings, getSize, getSourceMappedStack, getSourceMappedString, getSubdomainValues, getSubdomainValuesAPIMock, getVersionedDurableObjectContainerApplications, getWorkersDevSubdomain, getZoneForRoute, getZoneIdFromHost, handleMissingSecretsError, handleUnsafeCapnp, hasDefinedEnvironments, hashFile, helpIfErrorIsSizeOrScriptStartup, isExportsReconciliationErrorDetails, isJwtExpired, isModifiedDiffValue, isNonDestructive, isWorkerNotFoundError, listConsumers, listQueues, maybeRetrieveFileSourceMap, padToVisibleWidth, parseBulkInputToObject, parseConfigPlacement, patchNonVersionedScriptSettings, patchPreviewBaseConfig, patchPreviewDeployment, postConsumer, prepareDurableObjectContainerApplications, preview, previewContainerAppName, previewDelete, printBundleSize, printVersions, provisionBindings, publishCustomDomains, publishRoutes, putConsumer, putConsumerById, renderBindingDependsOnExportError, renderExportsReconciliationError, renderExportsReconciliationSuccess, renderInconsistentExportsAcrossVersionsError, renderRoute, resolveAssetOptions, resolveDoLifecyclePayload, resolveExportsUploadPayload, resolveVersionedDurableObjectContainerApplications, resolveWorkerName, sanitizeBranchName, shouldUseCIMetadataFallback, stripAnsi, syncAssets, tagsAreEqual, triggersDeploy, updateQueueConsumers, validateEventTriggerTargets, validateFileSecrets, validateNodeCompatMode, validateRoutes, verifyWorkerMatchesCITag, versionsUpload, visibleLength, warnOnErrorUpdatingServiceAndEnvironmentTags, workerNotFoundErrorMessage };
|