feat: processes and process runs CRUD

This commit is contained in:
2026-03-01 22:04:24 +00:00
parent dbd40485ba
commit 21bbb169f9
14 changed files with 1095 additions and 0 deletions

View File

@@ -151,6 +151,20 @@ SEARCH_ENTITIES = [
"url": "/weblinks",
"icon": "weblink",
},
{
"type": "processes",
"label": "Processes",
"query": """
SELECT p.id, p.name, p.status,
p.category as domain_name, NULL as project_name,
ts_rank(p.search_vector, websearch_to_tsquery('english', :q)) as rank
FROM processes p
WHERE p.is_deleted = false AND p.search_vector @@ websearch_to_tsquery('english', :q)
ORDER BY rank DESC LIMIT :lim
""",
"url": "/processes/{id}",
"icon": "process",
},
{
"type": "appointments",
"label": "Appointments",