feat: Implement getStepWithTestExecutions query
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Base from './base';
|
||||
import Execution from './execution';
|
||||
import Step from './step';
|
||||
|
||||
class ExecutionStep extends Base {
|
||||
id!: string;
|
||||
@@ -33,6 +34,14 @@ class ExecutionStep extends Base {
|
||||
to: 'executions.id',
|
||||
},
|
||||
},
|
||||
step: {
|
||||
relation: Base.BelongsToOneRelation,
|
||||
modelClass: Step,
|
||||
join: {
|
||||
from: 'execution_steps.step_id',
|
||||
to: 'steps.id',
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user