feat: Use status directly from executions

This commit is contained in:
Faruk AYDIN
2025-03-19 17:09:36 +01:00
parent fcc1c5067e
commit 9a0aef9d9b
7 changed files with 12 additions and 23 deletions

View File

@@ -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",

View File

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