Interface: EditChange
Defined in: packages/core/src/application/use-cases/edit-change.ts:36
Edits the spec scope of an existing change by adding or removing spec paths.
Workspaces are derived from the resulting set of specIds via the computed
Change.workspaces getter — they are never managed directly. Any
modification to specIds triggers approval invalidation via
Change.updateSpecIds.
Methods
execute()
execute(
input):Promise<EditChangeResult>
Defined in: packages/core/src/application/use-cases/edit-change.ts:66
Executes the use case.
Parameters
input
Edit parameters
Returns
Promise<EditChangeResult>
The updated change and whether approvals were invalidated
Throws
If no change with the given name exists
Throws
If a spec to remove is not in the change's specIds