1 line
9.2 KiB
JSON
1 line
9.2 KiB
JSON
{"nodes": [{"id": "backend_routers_admin_backups_py", "label": "backups.py", "file_type": "code", "source_file": "backend/routers/admin/backups.py", "source_location": "L1"}, {"id": "backups_get_backups", "label": "get_backups()", "file_type": "code", "source_file": "backend/routers/admin/backups.py", "source_location": "L15"}, {"id": "backups_get_db_stats", "label": "get_db_stats()", "file_type": "code", "source_file": "backend/routers/admin/backups.py", "source_location": "L23"}, {"id": "backups_trigger_manual_backup", "label": "trigger_manual_backup()", "file_type": "code", "source_file": "backend/routers/admin/backups.py", "source_location": "L31"}, {"id": "backups_restore_database", "label": "restore_database()", "file_type": "code", "source_file": "backend/routers/admin/backups.py", "source_location": "L44"}, {"id": "backups_export_database", "label": "export_database()", "file_type": "code", "source_file": "backend/routers/admin/backups.py", "source_location": "L65"}, {"id": "backups_import_database", "label": "import_database()", "file_type": "code", "source_file": "backend/routers/admin/backups.py", "source_location": "L80"}, {"id": "backups_rationale_19", "label": "List available database backups.", "file_type": "rationale", "source_file": "backend/routers/admin/backups.py", "source_location": "L19"}, {"id": "backups_rationale_27", "label": "Get database backup storage statistics.", "file_type": "rationale", "source_file": "backend/routers/admin/backups.py", "source_location": "L27"}, {"id": "backups_rationale_35", "label": "Trigger a manual database backup.", "file_type": "rationale", "source_file": "backend/routers/admin/backups.py", "source_location": "L35"}, {"id": "backups_rationale_49", "label": "Restore database from a specific file. DANGEROUS.", "file_type": "rationale", "source_file": "backend/routers/admin/backups.py", "source_location": "L49"}, {"id": "backups_rationale_68", "label": "Download the current database file.", "file_type": "rationale", "source_file": "backend/routers/admin/backups.py", "source_location": "L68"}, {"id": "backups_rationale_85", "label": "Upload and replace the current database. DANGEROUS.", "file_type": "rationale", "source_file": "backend/routers/admin/backups.py", "source_location": "L85"}], "edges": [{"source": "backend_routers_admin_backups_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "fastapi_responses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "backend_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "backend_database_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "backend_db_manager_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "backups_get_backups", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "backups_get_db_stats", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "backups_trigger_manual_backup", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L31", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "backups_restore_database", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L44", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "backups_export_database", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L65", "weight": 1.0}, {"source": "backend_routers_admin_backups_py", "target": "backups_import_database", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L80", "weight": 1.0}, {"source": "backups_rationale_19", "target": "backups_get_backups", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L19", "weight": 1.0}, {"source": "backups_rationale_27", "target": "backups_get_db_stats", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L27", "weight": 1.0}, {"source": "backups_rationale_35", "target": "backups_trigger_manual_backup", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L35", "weight": 1.0}, {"source": "backups_rationale_49", "target": "backups_restore_database", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L49", "weight": 1.0}, {"source": "backups_rationale_68", "target": "backups_export_database", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L68", "weight": 1.0}, {"source": "backups_rationale_85", "target": "backups_import_database", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/backups.py", "source_location": "L85", "weight": 1.0}], "raw_calls": [{"caller_nid": "backups_get_backups", "callee": "get_backup_list", "source_file": "backend/routers/admin/backups.py", "source_location": "L20"}, {"caller_nid": "backups_get_db_stats", "callee": "get_stats", "source_file": "backend/routers/admin/backups.py", "source_location": "L28"}, {"caller_nid": "backups_trigger_manual_backup", "callee": "create_backup", "source_file": "backend/routers/admin/backups.py", "source_location": "L36"}, {"caller_nid": "backups_trigger_manual_backup", "callee": "get_backup_list", "source_file": "backend/routers/admin/backups.py", "source_location": "L37"}, {"caller_nid": "backups_trigger_manual_backup", "callee": "HTTPException", "source_file": "backend/routers/admin/backups.py", "source_location": "L41"}, {"caller_nid": "backups_restore_database", "callee": "get", "source_file": "backend/routers/admin/backups.py", "source_location": "L50"}, {"caller_nid": "backups_restore_database", "callee": "get", "source_file": "backend/routers/admin/backups.py", "source_location": "L51"}, {"caller_nid": "backups_restore_database", "callee": "HTTPException", "source_file": "backend/routers/admin/backups.py", "source_location": "L54"}, {"caller_nid": "backups_restore_database", "callee": "HTTPException", "source_file": "backend/routers/admin/backups.py", "source_location": "L56"}, {"caller_nid": "backups_restore_database", "callee": "restore_backup", "source_file": "backend/routers/admin/backups.py", "source_location": "L59"}, {"caller_nid": "backups_restore_database", "callee": "HTTPException", "source_file": "backend/routers/admin/backups.py", "source_location": "L62"}, {"caller_nid": "backups_restore_database", "callee": "str", "source_file": "backend/routers/admin/backups.py", "source_location": "L62"}, {"caller_nid": "backups_export_database", "callee": "export_db", "source_file": "backend/routers/admin/backups.py", "source_location": "L70"}, {"caller_nid": "backups_export_database", "callee": "FileResponse", "source_file": "backend/routers/admin/backups.py", "source_location": "L71"}, {"caller_nid": "backups_export_database", "callee": "HTTPException", "source_file": "backend/routers/admin/backups.py", "source_location": "L77"}, {"caller_nid": "backups_export_database", "callee": "str", "source_file": "backend/routers/admin/backups.py", "source_location": "L77"}, {"caller_nid": "backups_import_database", "callee": "read", "source_file": "backend/routers/admin/backups.py", "source_location": "L86"}, {"caller_nid": "backups_import_database", "callee": "import_db", "source_file": "backend/routers/admin/backups.py", "source_location": "L88"}, {"caller_nid": "backups_import_database", "callee": "HTTPException", "source_file": "backend/routers/admin/backups.py", "source_location": "L91"}, {"caller_nid": "backups_import_database", "callee": "str", "source_file": "backend/routers/admin/backups.py", "source_location": "L91"}]} |