feat: add delete step functionality
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
0b6eecd41d
commit
90aac874bf
@@ -7,6 +7,7 @@ export const CREATE_STEP = gql`
|
||||
type
|
||||
key
|
||||
appKey
|
||||
parameters
|
||||
connection {
|
||||
id
|
||||
}
|
||||
|
15
packages/web/src/graphql/mutations/delete-step.ts
Normal file
15
packages/web/src/graphql/mutations/delete-step.ts
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
@@ -8,7 +8,6 @@ export const GET_APP = gql`
|
||||
iconUrl
|
||||
docUrl
|
||||
primaryColor
|
||||
connectionCount
|
||||
fields {
|
||||
key
|
||||
label
|
||||
|
Reference in New Issue
Block a user