feat: make step in editor configurable

This commit is contained in:
Ali BARIN
2022-01-13 21:25:18 +01:00
committed by Ömer Faruk Aydın
parent 4985fb422e
commit 95a63affe7
21 changed files with 1966 additions and 5016 deletions

View File

@@ -0,0 +1,15 @@
import { gql } from '@apollo/client';
export const CREATE_STEP = gql`
mutation CreateStep($input: StepInput!) {
createStep(input: $input) {
id
type
key
appKey
connection {
id
}
}
}
`;

View File

@@ -0,0 +1,15 @@
import { gql } from '@apollo/client';
export const UPDATE_STEP = gql`
mutation UpdateStep($input: StepInput!) {
updateStep(input: $input) {
id
type
key
appKey
connection {
id
}
}
}
`;

View File

@@ -55,6 +55,17 @@ export const GET_APP = gql`
name
key
description
subSteps {
name
}
}
actions {
name
key
description
subSteps {
name
}
}
}
}

View File

@@ -5,6 +5,7 @@ export const GET_FLOW = gql`
getFlow(id: $id) {
id
name
active
steps {
id
type