Skip to content

CreateAtomicDeployPlanOptions

Defined in: src/sync/createAtomicDeployPlan.ts:95

Options accepted by createAtomicDeployPlan.

PropertyTypeDescriptionDefined in
destinationSyncEndpointInputLive destination endpoint the release activates onto.src/sync/createAtomicDeployPlan.ts:103
diffRemoteTreeDiffDiff describing source vs. staging contents (typically diffed against an empty staging directory).src/sync/createAtomicDeployPlan.ts:99
dryRun?booleanWhether the plan is informational only. Defaults to true.src/sync/createAtomicDeployPlan.ts:115
existingReleases?string[]Existing release directory paths under the releases root that may be pruned.src/sync/createAtomicDeployPlan.ts:113
idstringStable plan identifier.src/sync/createAtomicDeployPlan.ts:97
metadata?Record<string, unknown>Caller-defined metadata retained for diagnostics.src/sync/createAtomicDeployPlan.ts:119
now?() => DateClock used for deterministic tests. Defaults to new Date().src/sync/createAtomicDeployPlan.ts:117
releaseId?stringRelease identifier. Defaults to a timestamp derived from now.src/sync/createAtomicDeployPlan.ts:107
releasesDirectory?stringReleases directory name under the destination root. Defaults to ".releases".src/sync/createAtomicDeployPlan.ts:109
retain?numberNumber of releases to retain after the new release, including the new one. Defaults to 3.src/sync/createAtomicDeployPlan.ts:111
sourceSyncEndpointInputSource-side endpoint feeding the release.src/sync/createAtomicDeployPlan.ts:101
strategy?AtomicDeployStrategyActivation strategy. Defaults to "rename".src/sync/createAtomicDeployPlan.ts:105