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

@@ -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
}
}
}
}
`;