17 lines
326 B
JavaScript
17 lines
326 B
JavaScript
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
|