feat: Create empty trigger step when the flow is created

This commit is contained in:
Faruk AYDIN
2022-01-05 23:24:31 +03:00
committed by Ömer Faruk Aydın
parent 247b25cfc4
commit c07b377de1
6 changed files with 31 additions and 9 deletions

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' },