feat: Use status directly from executions
This commit is contained in:
@@ -20,6 +20,13 @@ exports[`Execution model > jsonSchema should have correct validations 1`] = `
|
||||
"internalId": {
|
||||
"type": "string",
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"success",
|
||||
"failure",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
"testRun": {
|
||||
"default": false,
|
||||
"type": "boolean",
|
||||
|
||||
@@ -14,6 +14,7 @@ class Execution extends Base {
|
||||
flowId: { type: 'string', format: 'uuid' },
|
||||
testRun: { type: 'boolean', default: false },
|
||||
internalId: { type: 'string' },
|
||||
status: { type: 'string', enum: ['success', 'failure'] },
|
||||
deletedAt: { type: 'string' },
|
||||
createdAt: { type: 'string' },
|
||||
updatedAt: { type: 'string' },
|
||||
|
||||
Reference in New Issue
Block a user