chore: Adjust create step mutation to work with flows
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
8a7d54bb25
commit
f8e823545a
@@ -1,5 +1,5 @@
|
||||
import Base from './base'
|
||||
import Flow from './flow'
|
||||
import Base from './base';
|
||||
import Flow from './flow';
|
||||
|
||||
enum StepEnumType {
|
||||
'trigger',
|
||||
@@ -8,6 +8,7 @@ enum StepEnumType {
|
||||
|
||||
class Step extends Base {
|
||||
id!: number
|
||||
flowId!: number
|
||||
key!: string
|
||||
appKey!: string
|
||||
type!: StepEnumType
|
||||
@@ -22,6 +23,7 @@ class Step extends Base {
|
||||
|
||||
properties: {
|
||||
id: { type: 'integer' },
|
||||
flowId: { type: 'integer' },
|
||||
key: { type: 'string', minLength: 1, maxLength: 255 },
|
||||
appKey: { type: 'string', minLength: 1, maxLength: 255 },
|
||||
type: { type: "string", enum: ["action", "trigger"] },
|
||||
|
Reference in New Issue
Block a user