Skip to main content

Interface: SkipArtifact

Defined in: packages/core/src/application/use-cases/skip-artifact.ts:23

Explicitly skips an optional artifact on a change.

Throws ArtifactNotOptionalError if the artifact is not optional. Throws ChangeNotFoundError if the change does not exist.

Methods

execute()

execute(input): Promise<Change>

Defined in: packages/core/src/application/use-cases/skip-artifact.ts:47

Executes the use case.

Parameters

input

SkipArtifactInput

Skip parameters

Returns

Promise<Change>

The updated change

Throws

If no change with the given name exists

Throws

If the artifact does not exist on the change

Throws

If the artifact is not optional