feat: add delete step functionality

This commit is contained in:
Ali BARIN
2022-01-30 16:22:30 +01:00
committed by Ömer Faruk Aydın
parent 0b6eecd41d
commit 90aac874bf
6 changed files with 88 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ export const CREATE_STEP = gql`
type
key
appKey
parameters
connection {
id
}

View File

@@ -0,0 +1,15 @@
import { gql } from '@apollo/client';
export const DELETE_STEP = gql`
mutation DeleteStep($id: String!) {
deleteStep(id: $id) {
id
flow {
id
steps {
id
}
}
}
}
`;

View File

@@ -8,7 +8,6 @@ export const GET_APP = gql`
iconUrl
docUrl
primaryColor
connectionCount
fields {
key
label