feat: Create empty trigger step when the flow is created

This commit is contained in:
Faruk AYDIN
2022-01-06 00:08:54 +03:00
committed by Ömer Faruk Aydın
parent 247b25cfc4
commit c07b377de1
6 changed files with 31 additions and 9 deletions
+3 -3
View File
@@ -10,8 +10,8 @@ enum StepEnumType {
class Step extends Base {
id!: number
flowId!: number
key!: string
appKey!: string
key: string
appKey: string
type!: StepEnumType
connectionId!: number
parameters: any
@@ -20,7 +20,7 @@ class Step extends Base {
static jsonSchema = {
type: 'object',
required: ['key', 'appKey', 'type', 'connectionId'],
required: ['type'],
properties: {
id: { type: 'integer' },