feat: Add error details jsonb column to execution steps

This commit is contained in:
Faruk AYDIN
2022-09-04 19:13:25 +03:00
parent fc330e25cf
commit d0922d85b3
2 changed files with 15 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ class ExecutionStep extends Base {
stepId!: string;
dataIn!: Record<string, unknown>;
dataOut!: Record<string, unknown>;
errorDetails: Record<string, unknown>;
status = 'failure';
step: Step;
@@ -25,6 +26,7 @@ class ExecutionStep extends Base {
dataIn: { type: 'object' },
dataOut: { type: 'object' },
status: { type: 'string', enum: ['success', 'failure'] },
errorDetails: { type: ['object', 'null'] },
},
};