Skip to content

Commit

Permalink
feat(comms): add a States enum to FileSpray service
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Clements <[email protected]>
  • Loading branch information
jeclrsg committed Jan 25, 2024
1 parent 60849f9 commit 813ae88
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/comms/src/services/fileSpray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ export {
type UpdateDFUWorkunitMinusWU = Omit<FileSpray.UpdateDFUWorkunit, "wu">;
type UpdateDFUWorkunitWU = FileSpray.UpdateDFUWorkunit["wu"];

export enum FileSprayStates {
unknown = 0,
scheduled,
queued,
started,
aborted,
failed,
finished,
monitoring,
aborting,
notfound = 999
}

export interface UpdateDFUWorkunitEx extends UpdateDFUWorkunitMinusWU {
wu?: Partial<UpdateDFUWorkunitWU>
}
Expand Down

0 comments on commit 813ae88

Please sign in to comment.