109 lines
2.8 KiB
JSON
109 lines
2.8 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "task_dependencies",
|
|
"title": "Task dependency relationships within workflows",
|
|
"primary": [
|
|
"id"
|
|
],
|
|
"catelog": "relation"
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "Dependency ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Unique dependency identifier"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"title": "User ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "User who owns this dependency"
|
|
},
|
|
{
|
|
"name": "workflow_id",
|
|
"title": "Workflow ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Parent workflow reference"
|
|
},
|
|
{
|
|
"name": "dependent_task_id",
|
|
"title": "Dependent Task ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Task that depends on another"
|
|
},
|
|
{
|
|
"name": "dependency_task_id",
|
|
"title": "Dependency Task ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Task that is depended upon"
|
|
},
|
|
{
|
|
"name": "dependency_type",
|
|
"title": "Dependency Type",
|
|
"type": "str",
|
|
"length": 20,
|
|
"nullable": "no",
|
|
"default": "completion",
|
|
"comments": "completion, success, failure, data_available"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "Created At",
|
|
"type": "timestamp",
|
|
"nullable": "no",
|
|
"comments": "Creation timestamp"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "Updated At",
|
|
"type": "timestamp",
|
|
"nullable": "no",
|
|
"comments": "Last update timestamp"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx_task_dep_workflow",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"workflow_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_task_dep_dependent",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"dependent_task_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_task_dep_dependency",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"dependency_task_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_task_dep_unique",
|
|
"idxtype": "unique",
|
|
"idxfields": [
|
|
"dependent_task_id",
|
|
"dependency_task_id"
|
|
]
|
|
}
|
|
],
|
|
"codes": []
|
|
} |