Interface: DraftChange
Defined in: packages/core/src/application/use-cases/draft-change.ts:19
Shelves a change to drafts/, appending a drafted event to its history.
The FsChangeRepository implementation moves the change directory from
changes/ to drafts/ when the manifest is saved with isDrafted === true.
Methods
execute()
execute(
input):Promise<Change>
Defined in: packages/core/src/application/use-cases/draft-change.ts:41
Executes the use case.
Parameters
input
Shelving parameters
Returns
Promise<Change>
The updated change
Throws
If no change with the given name exists