You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
326 B
17 lines
326 B
4 years ago
|
const { Injectable } = require('flitter-di')
|
||
|
|
||
|
class StepResult extends Injectable {
|
||
|
step
|
||
|
routine
|
||
|
status = 'pending' // pending | success | fail
|
||
|
message = ''
|
||
|
|
||
|
constructor(routine, step) {
|
||
|
super()
|
||
|
this.routine = routine
|
||
|
this.step = step
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = exports = StepResult
|