feat: add single execution page

This commit is contained in:
Ali BARIN
2022-03-16 17:37:06 +01:00
parent c9bf7c9e21
commit f11f523b30
24 changed files with 372 additions and 36 deletions

View File

@@ -19,7 +19,8 @@ const getExecutionSteps = async (
const executionSteps = execution
.$relatedQuery('executionSteps')
.orderBy('created_at', 'desc');
.withGraphFetched('step')
.orderBy('created_at', 'asc');
return paginate(executionSteps, params.limit, params.offset);
};

View File

@@ -163,9 +163,12 @@ type ExecutionStep {
id: String
executionId: String
stepId: String
step: Step
status: String
dataIn: JSONObject
dataOut: JSONObject
createdAt: String
updatedAt: String
}
type Field {