Skip to main content

Interface: UpdateSpecDeps

Defined in: packages/core/src/application/use-cases/update-spec-deps.ts:32

Updates the declared dependsOn dependencies for a single spec within a change.

Dependencies are stored in change.specDependsOn and used by CompileContext as the highest-priority source for dependsOn resolution.

Methods

execute()

execute(input): Promise<UpdateSpecDepsResult>

Defined in: packages/core/src/application/use-cases/update-spec-deps.ts:53

Executes the dependency update.

Parameters

input

UpdateSpecDepsInput

Update parameters

Returns

Promise<UpdateSpecDepsResult>

The resulting dependency list for the spec

Throws

If no change with the given name exists

Throws

If specId is not in change.specIds, or if set is used with add/remove, or if a remove value is not in current deps, or if no operation is specified