@cloudflare/deploy-helpers 0.13.0 → 0.14.1

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.
@@ -2,6 +2,7 @@ import { __name } from './chunk-Q72B4Q5Z.mjs';
2
2
 
3
3
  // src/shared/context.ts
4
4
  var logger;
5
+ var createCloudflareClient;
5
6
  var fetchResult;
6
7
  var fetchListResult;
7
8
  var fetchPagedListResult;
@@ -11,6 +12,7 @@ var prompt;
11
12
  var select;
12
13
  function initDeployHelpersContext(ctx) {
13
14
  logger = ctx.logger;
15
+ createCloudflareClient = ctx.createCloudflareClient;
14
16
  fetchResult = ctx.fetchResult;
15
17
  fetchListResult = ctx.fetchListResult;
16
18
  fetchPagedListResult = ctx.fetchPagedListResult;
@@ -21,4 +23,4 @@ function initDeployHelpersContext(ctx) {
21
23
  }
22
24
  __name(initDeployHelpersContext, "initDeployHelpersContext");
23
25
 
24
- export { confirm, fetchKVGetValue, fetchListResult, fetchPagedListResult, fetchResult, initDeployHelpersContext, logger, prompt, select };
26
+ export { confirm, createCloudflareClient, fetchKVGetValue, fetchListResult, fetchPagedListResult, fetchResult, initDeployHelpersContext, logger, prompt, select };
@@ -1,11 +1,13 @@
1
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
+ import { ContainerApp, Config, ComplianceConfig, FetchResultFetcher, FetchListResultFetcher, FetchPagedListResultFetcher, FetchKVGetValueFetcher, Logger, Entry, ValidatedAssetsOptions, LegacyAssetPaths, Route, CfModule, CfWorkerSourceMap, CfModuleType } from '@cloudflare/workers-utils';
3
+ import Cloudflare from 'cloudflare';
3
4
 
4
5
  /**
5
6
  * client needs to handle logger and fetch/auth implementation
6
7
  * these are passed into this package to handle any API requests/logs
7
8
  */
8
9
  type DeployHelpersContext = {
10
+ createCloudflareClient: (complianceConfig: ComplianceConfig) => Cloudflare;
9
11
  fetchResult: FetchResultFetcher;
10
12
  fetchListResult: FetchListResultFetcher;
11
13
  fetchPagedListResult: FetchPagedListResultFetcher;
@@ -189,6 +191,7 @@ type TriggerProps = {
189
191
  * const { logger } = await import("./context"); // WRONG: captures undefined
190
192
  */
191
193
  declare let logger: Logger;
194
+ declare let createCloudflareClient: DeployHelpersContext["createCloudflareClient"];
192
195
  declare let fetchResult: FetchResultFetcher;
193
196
  declare let fetchListResult: FetchListResultFetcher;
194
197
  declare let fetchPagedListResult: FetchPagedListResultFetcher;
@@ -202,4 +205,4 @@ declare let select: DeployHelpersContext["select"];
202
205
  */
203
206
  declare function initDeployHelpersContext(ctx: DeployHelpersContext): void;
204
207
 
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 };
208
+ 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, createCloudflareClient as e, fetchKVGetValue as f, fetchListResult as g, fetchPagedListResult as h, initDeployHelpersContext as i, fetchResult as j, logger as l, prompt as p, select as s };
@@ -1,3 +1,4 @@
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';
1
+ export { d as confirm, e as createCloudflareClient, f as fetchKVGetValue, g as fetchListResult, h as fetchPagedListResult, j as fetchResult, i as initDeployHelpersContext, l as logger, p as prompt, s as select } from './context-B7aozQRl.mjs';
2
2
  import '@cloudflare/workers-utils';
3
3
  import '@cloudflare/containers-shared';
4
+ import 'cloudflare';
package/dist/context.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { confirm, fetchKVGetValue, fetchListResult, fetchPagedListResult, fetchResult, initDeployHelpersContext, logger, prompt, select } from './chunk-Z4LB73IF.mjs';
1
+ export { confirm, createCloudflareClient, fetchKVGetValue, fetchListResult, fetchPagedListResult, fetchResult, initDeployHelpersContext, logger, prompt, select } from './chunk-BH7NP23L.mjs';
2
2
  import './chunk-Q72B4Q5Z.mjs';
package/dist/index.d.mts CHANGED
@@ -1,14 +1,16 @@
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';
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-B7aozQRl.mjs';
2
+ export { b as ContainerDeployConfig, c as DeployHelpersContext, i as initDeployHelpersContext } from './context-B7aozQRl.mjs';
3
3
  import * as _cloudflare_workers_utils from '@cloudflare/workers-utils';
4
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, ResolvedDurableObjectContainerApp, DurableObjectContainerApp, ExportsReconciliationErrorDetail, ExportsReconciliationResult, StartDevWorkerInput, Json, CacheOptions, PreviewsConfig } from '@cloudflare/workers-utils';
5
5
  import { FormData } from 'undici';
6
+ import { Worker } from 'cloudflare/resources/workers/beta/workers/workers';
6
7
  export { createWorkerUploadForm, fromMimeType, moduleTypeMimeType } from './create-worker-upload-form.mjs';
7
8
  import { Options } from '@cspotcode/source-map-support';
8
9
  import Protocol from 'devtools-protocol';
9
10
  import { NodeJSCompatMode } from 'miniflare';
10
- import { ParsedOutputWorkerConfig, ParsedOutputSettingsConfig } from '@cloudflare/config';
11
+ import { ParsedOutputWorkerConfig, ParsedOutputRootConfig } from '@cloudflare/config';
11
12
  import { ContainerNormalizedConfig } from '@cloudflare/containers-shared';
13
+ import 'cloudflare';
12
14
 
13
15
  interface BundleSize {
14
16
  size: number;
@@ -96,10 +98,27 @@ type GetWorkersDevSubdomainOptions = {
96
98
  configPath?: string | undefined;
97
99
  registrationContext?: WorkersDevSubdomainRegistrationContext | undefined;
98
100
  };
101
+ type WorkerSubdomain = Worker.Subdomain & {
102
+ enabled: boolean;
103
+ previews_enabled: boolean;
104
+ url?: string;
105
+ /** Includes the leading "-" separator. */
106
+ preview_url_suffix?: string;
107
+ };
99
108
  /**
100
109
  * Gets the <user-subdomain>.(fed.)workers.dev URL for the given account.
101
110
  */
102
111
  declare function getWorkersDevSubdomain(complianceConfig: ComplianceConfig, accountId: string, options?: GetWorkersDevSubdomainOptions): Promise<string>;
112
+ /**
113
+ * Gets the account's workers.dev hostname when the token can read it.
114
+ *
115
+ * Granular Worker tokens may manage a Worker without access to account-level
116
+ * subdomain metadata. Callers should use this helper only when the hostname is
117
+ * optional and the Worker-scoped API can validate the requested operation.
118
+ */
119
+ declare function getWorkersDevSubdomainIfAccessible(complianceConfig: ComplianceConfig, accountId: string, options?: GetWorkersDevSubdomainOptions): Promise<string | undefined>;
120
+ /** Gets the Worker-scoped subdomain configuration and routable URLs. */
121
+ declare function getWorkerSubdomain(complianceConfig: ComplianceConfig, accountId: string, workerName: string): Promise<WorkerSubdomain>;
103
122
 
104
123
  interface Zone {
105
124
  id: string;
@@ -157,8 +176,10 @@ declare function publishRoutes(complianceConfig: ComplianceConfig, routes: Route
157
176
  }): Promise<string[]>;
158
177
  declare function publishCustomDomains(complianceConfig: ComplianceConfig, workerUrl: string, accountId: string, scriptName: string, domains: Array<RouteObject>): Promise<TriggerDeployment>;
159
178
 
179
+ type QueueJurisdiction = "eu" | "us" | "fedramp";
160
180
  interface PostQueueBody {
161
181
  queue_name: string;
182
+ jurisdiction?: QueueJurisdiction;
162
183
  settings?: QueueSettings;
163
184
  }
164
185
  interface QueueSettings {
@@ -176,6 +197,7 @@ interface PostQueueResponse {
176
197
  interface QueueResponse {
177
198
  queue_id: string;
178
199
  queue_name: string;
200
+ jurisdiction?: QueueJurisdiction;
179
201
  created_on: string;
180
202
  modified_on: string;
181
203
  producers: Producer[];
@@ -703,6 +725,8 @@ type PrepareDurableObjectContainerApplicationsArgs = {
703
725
  dispatchNamespace?: string;
704
726
  dryRun: boolean;
705
727
  scriptName: string;
728
+ /** Version uploads cannot initialize applications without named images. */
729
+ requireExistingImageLessApplications?: boolean;
706
730
  };
707
731
  type DurableObjectContainerApplication = Pick<ResolvedDurableObjectContainerApp, "class_name" | "name">;
708
732
  type VersionedDurableObjectContainerApplication = DurableObjectContainerApplication & {
@@ -711,13 +735,24 @@ type VersionedDurableObjectContainerApplication = DurableObjectContainerApplicat
711
735
  type PreparedContainerImages = Record<string, Record<string, string>>;
712
736
  declare function createDurableObjectContainerApplication(application: DurableObjectContainerApplication, namespaceId: string): Promise<void>;
713
737
  /**
714
- * Read managed application identities from selected Worker versions.
738
+ * Read managed application identities from native images on selected Worker versions.
715
739
  *
716
- * Versions must agree on class/name associations and known namespace IDs.
740
+ * Named images identify managed classes. Versions may add or remove images, but
741
+ * must agree on those classes' names and known namespace IDs. Image-less classes
742
+ * rely on applications provisioned by a normal deploy.
717
743
  * Application-wide settings are deliberately not read from local config or
718
744
  * restored with a Worker version.
719
745
  */
720
746
  declare function getVersionedDurableObjectContainerApplications(versions: ApiVersion[], scriptName: string): VersionedDurableObjectContainerApplication[];
747
+ /**
748
+ * Require existing applications for version uploads without named images.
749
+ * These versions carry no managed-policy discriminator, so versions deploy
750
+ * cannot initialize their applications. A normal deploy must provision them first.
751
+ */
752
+ declare function validateImageLessContainerApplicationsForUpload(config: ContainerlessConfig, containers: DurableObjectContainerApp[], { accountId, scriptName }: {
753
+ accountId: string;
754
+ scriptName: string;
755
+ }): Promise<void>;
721
756
  /** Resolve every versioned application's namespace without creating applications. */
722
757
  declare function resolveVersionedDurableObjectContainerApplications(config: Config, { applications, accountId, scriptName, allowMissingNamespaces, }: {
723
758
  applications: VersionedDurableObjectContainerApplication[];
@@ -737,7 +772,7 @@ declare function deployVersionedDurableObjectContainerApplications(config: Confi
737
772
  scriptName: string;
738
773
  }): Promise<void>;
739
774
  /** Validate managed classes and prepare their named images before Worker upload. */
740
- declare function prepareDurableObjectContainerApplications(config: ContainerlessConfig, durableObjectContainerConfig: DurableObjectContainerApp[], builtImages: BuiltDurableObjectContainerImage[], { accountId, dryRun, scriptName, dispatchNamespace, }: PrepareDurableObjectContainerApplicationsArgs): Promise<PreparedContainerImages>;
775
+ declare function prepareDurableObjectContainerApplications(config: ContainerlessConfig, durableObjectContainerConfig: DurableObjectContainerApp[], builtImages: BuiltDurableObjectContainerImage[], { accountId, dryRun, scriptName, dispatchNamespace, requireExistingImageLessApplications, }: PrepareDurableObjectContainerApplicationsArgs): Promise<PreparedContainerImages>;
741
776
  /**
742
777
  * Apply explicit application settings after an uploaded Worker's namespaces exist.
743
778
  *
@@ -1155,17 +1190,19 @@ type PreviewResult = {
1155
1190
  deployment: DeploymentResource;
1156
1191
  isNewPreview: boolean;
1157
1192
  };
1158
- type PreviewBuildOutputSettings = ParsedOutputSettingsConfig & {
1159
- isPreview: true;
1193
+ type PreviewBuildOutputRootConfig = ParsedOutputRootConfig & {
1194
+ buildContext: ParsedOutputRootConfig["buildContext"] & {
1195
+ isPreview: true;
1196
+ };
1160
1197
  };
1161
1198
  type PreviewBuildOutput = {
1162
1199
  workerConfig: ParsedOutputWorkerConfig;
1163
- projectSettings: PreviewBuildOutputSettings;
1200
+ rootConfig: PreviewBuildOutputRootConfig;
1164
1201
  buildResult?: WorkerBuildResult;
1165
1202
  assets?: Pick<PreviewAssetsOptions, "directory" | "_headers" | "_redirects">;
1166
1203
  };
1167
1204
  /** Verify that Build Output was produced with Preview configuration. */
1168
- declare function assertPreviewBuildOutputSettings(settings: ParsedOutputSettingsConfig | undefined): asserts settings is PreviewBuildOutputSettings;
1205
+ declare function assertPreviewBuildOutputRootConfig(rootConfig: ParsedOutputRootConfig | undefined): asserts rootConfig is PreviewBuildOutputRootConfig;
1169
1206
  type PreviewCallbacks = {
1170
1207
  productionBindingsExpectedInPreview?: Record<string, {
1171
1208
  type: string;
@@ -1256,4 +1293,4 @@ type DrawConnectedChildBoxOptions = {
1256
1293
  */
1257
1294
  declare function drawConnectedChildBox(contentLines: string[], options?: DrawConnectedChildBoxOptions): string;
1258
1295
 
1259
- 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 PreviewBuildOutput, type PreviewBuildOutputSettings, 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, assertPreviewBuildOutputSettings, 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, extractBuildOutputBindings, 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, previewBuildOutput, 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 };
1296
+ 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 PreviewBuildOutput, type PreviewBuildOutputRootConfig, type PreviewCallbacks, type PreviewDeleteArgs, type PreviewDeploymentModule, type PreviewRequestOptions, type PreviewResource, type PreviewResult, type Producer, type ProvisionBindingsResult, type PullRequestMetadata, type PurgeQueueBody, type PurgeQueueResponse, type QueueJurisdiction, 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 WorkerSubdomain, type Workflow, type WorkflowConflict, type Zone, type ZoneIdCache, addRequiredSecretsInheritBindings, addWorkersSitesBindings, applyServiceAndEnvironmentTags, assemblePreviewScriptSettings, assertPreviewBuildOutputRootConfig, 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, extractBuildOutputBindings, 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, getWorkerSubdomain, getWorkersDevSubdomain, getWorkersDevSubdomainIfAccessible, getZoneForRoute, getZoneIdFromHost, handleMissingSecretsError, handleUnsafeCapnp, hasDefinedEnvironments, hashFile, helpIfErrorIsSizeOrScriptStartup, isExportsReconciliationErrorDetails, isJwtExpired, isModifiedDiffValue, isNonDestructive, isWorkerNotFoundError, listConsumers, listQueues, maybeRetrieveFileSourceMap, padToVisibleWidth, parseBulkInputToObject, parseConfigPlacement, patchNonVersionedScriptSettings, patchPreviewBaseConfig, patchPreviewDeployment, postConsumer, prepareDurableObjectContainerApplications, preview, previewBuildOutput, 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, validateImageLessContainerApplicationsForUpload, validateNodeCompatMode, validateRoutes, verifyWorkerMatchesCITag, versionsUpload, visibleLength, warnOnErrorUpdatingServiceAndEnvironmentTags, workerNotFoundErrorMessage };