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

committed by
Ömer Faruk Aydın

parent
0b6eecd41d
commit
90aac874bf
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
Reference in New Issue
Block a user