feat(transcription): add Supabase schema and API endpoints for CIS

This commit is contained in:
2026-05-20 21:03:00 +00:00
parent d68b63cedb
commit a746aed937
10 changed files with 818 additions and 17 deletions
+11 -1
View File
@@ -161,4 +161,14 @@ async def process_worker_timetable(file_content, user_node_data, worker_node_dat
raise
finally:
logging.info(f"Closing driver for {worker_node_data['worker_db_name']}")
driver.close_driver(neo_driver)
driver.close_driver(neo_driver)
@router.get("/current-period")
async def get_current_period(user_id: str = ""):
# Phase 1: return stub — TODO: implement Neo4j query in Phase 2
return {
"period_id": None,
"event_type": None,
"event_label": None,
"start_time": None,
"end_time": None,
}