Skip to main content
Version: Next

BaseVersion <SourceType>

Fields every Actor version carries, whatever its source type.

The spec models a version as one flat object with all four source locations optional. This client keeps a union discriminated on sourceType instead, because that narrows the source location down to the single field which applies -- so the four are dropped here and reinstated per variant.

Hierarchy

Index

Properties

optionalinheritedapplyEnvVarsToBuild

applyEnvVarsToBuild?: null | boolean
false

Whether to inject the environment variables at build time.

optionalinheritedbuildTag

buildTag?: null | string
latest

The tag name to apply to a successful build of this version. Can be null when the version has no build tag.

optionalinheritedenvVars

envVars?: null | EnvVar[]

sourceType

sourceType: SourceType

inheritedversionNumber

versionNumber: string
0.0

The version number of the Actor. Two numbers separated by a dot, that represent the MAJOR.MINOR part of the semantic versioning.