refactor: rewrite get execution steps using useExecutionSteps with RQ

This commit is contained in:
Rıdvan Akca
2024-03-11 13:54:37 +03:00
parent 35d8b2e790
commit e68696ccd4
8 changed files with 40 additions and 83 deletions

View File

@@ -1,34 +0,0 @@
import { gql } from '@apollo/client';
export const GET_EXECUTION_STEPS = gql`
query GetExecutionSteps($executionId: String!, $limit: Int!, $offset: Int!) {
getExecutionSteps(
executionId: $executionId
limit: $limit
offset: $offset
) {
pageInfo {
currentPage
totalPages
}
edges {
node {
id
executionId
status
dataIn
dataOut
errorDetails
createdAt
updatedAt
step {
id
appKey
type
status
position
}
}
}
}
}
`;