1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"nodes": [{"id": "backend_routers_operations_py", "label": "operations.py", "file_type": "code", "source_file": "backend/routers/operations.py", "source_location": "L1"}, {"id": "operations_check_in_item", "label": "check_in_item()", "file_type": "code", "source_file": "backend/routers/operations.py", "source_location": "L14"}, {"id": "operations_check_out_item", "label": "check_out_item()", "file_type": "code", "source_file": "backend/routers/operations.py", "source_location": "L55"}, {"id": "operations_trash_item", "label": "trash_item()", "file_type": "code", "source_file": "backend/routers/operations.py", "source_location": "L99"}, {"id": "operations_bulk_check_out", "label": "bulk_check_out()", "file_type": "code", "source_file": "backend/routers/operations.py", "source_location": "L144"}, {"id": "operations_get_logs", "label": "get_logs()", "file_type": "code", "source_file": "backend/routers/operations.py", "source_location": "L194"}, {"id": "operations_rationale_19", "label": "[C-01] Check-in item \u2014 only for authenticated users. [M-02] user_id from token.", "file_type": "rationale", "source_file": "backend/routers/operations.py", "source_location": "L19"}, {"id": "operations_rationale_60", "label": "[C-01] Check-out item \u2014 only for authenticated users.", "file_type": "rationale", "source_file": "backend/routers/operations.py", "source_location": "L60"}, {"id": "operations_rationale_104", "label": "[C-01] Trash item \u2014 only for authenticated users.", "file_type": "rationale", "source_file": "backend/routers/operations.py", "source_location": "L104"}, {"id": "operations_rationale_149", "label": "[C-01] Bulk check-out \u2014 only for authenticated users.", "file_type": "rationale", "source_file": "backend/routers/operations.py", "source_location": "L149"}, {"id": "operations_rationale_199", "label": "[C-01] Audit logs list \u2014 only for authenticated users.", "file_type": "rationale", "source_file": "backend/routers/operations.py", "source_location": "L199"}], "edges": [{"source": "backend_routers_operations_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_routers_operations_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_routers_operations_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_routers_operations_py", "target": "backend_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_routers_operations_py", "target": "backend_database_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_routers_operations_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_routers_operations_py", "target": "operations_check_in_item", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_routers_operations_py", "target": "operations_check_out_item", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L55", "weight": 1.0}, {"source": "backend_routers_operations_py", "target": "operations_trash_item", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L99", "weight": 1.0}, {"source": "backend_routers_operations_py", "target": "operations_bulk_check_out", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L144", "weight": 1.0}, {"source": "backend_routers_operations_py", "target": "operations_get_logs", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L194", "weight": 1.0}, {"source": "operations_rationale_19", "target": "operations_check_in_item", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L19", "weight": 1.0}, {"source": "operations_rationale_60", "target": "operations_check_out_item", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L60", "weight": 1.0}, {"source": "operations_rationale_104", "target": "operations_trash_item", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L104", "weight": 1.0}, {"source": "operations_rationale_149", "target": "operations_bulk_check_out", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L149", "weight": 1.0}, {"source": "operations_rationale_199", "target": "operations_get_logs", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/operations.py", "source_location": "L199", "weight": 1.0}], "raw_calls": [{"caller_nid": "operations_check_in_item", "callee": "HTTPException", "source_file": "backend/routers/operations.py", "source_location": "L21"}, {"caller_nid": "operations_check_in_item", "callee": "first", "source_file": "backend/routers/operations.py", "source_location": "L23"}, {"caller_nid": "operations_check_in_item", "callee": "filter", "source_file": "backend/routers/operations.py", "source_location": "L23"}, {"caller_nid": "operations_check_in_item", "callee": "query", "source_file": "backend/routers/operations.py", "source_location": "L23"}, {"caller_nid": "operations_check_in_item", "callee": "HTTPException", "source_file": "backend/routers/operations.py", "source_location": "L25"}, {"caller_nid": "operations_check_in_item", "callee": "AuditLog", "source_file": "backend/routers/operations.py", "source_location": "L38"}, {"caller_nid": "operations_check_in_item", "callee": "dumps", "source_file": "backend/routers/operations.py", "source_location": "L45"}, {"caller_nid": "operations_check_in_item", "callee": "add", "source_file": "backend/routers/operations.py", "source_location": "L49"}, {"caller_nid": "operations_check_in_item", "callee": "commit", "source_file": "backend/routers/operations.py", "source_location": "L50"}, {"caller_nid": "operations_check_in_item", "callee": "refresh", "source_file": "backend/routers/operations.py", "source_location": "L51"}, {"caller_nid": "operations_check_out_item", "callee": "HTTPException", "source_file": "backend/routers/operations.py", "source_location": "L62"}, {"caller_nid": "operations_check_out_item", "callee": "first", "source_file": "backend/routers/operations.py", "source_location": "L64"}, {"caller_nid": "operations_check_out_item", "callee": "filter", "source_file": "backend/routers/operations.py", "source_location": "L64"}, {"caller_nid": "operations_check_out_item", "callee": "query", "source_file": "backend/routers/operations.py", "source_location": "L64"}, {"caller_nid": "operations_check_out_item", "callee": "HTTPException", "source_file": "backend/routers/operations.py", "source_location": "L66"}, {"caller_nid": "operations_check_out_item", "callee": "HTTPException", "source_file": "backend/routers/operations.py", "source_location": "L69"}, {"caller_nid": "operations_check_out_item", "callee": "AuditLog", "source_file": "backend/routers/operations.py", "source_location": "L82"}, {"caller_nid": "operations_check_out_item", "callee": "dumps", "source_file": "backend/routers/operations.py", "source_location": "L89"}, {"caller_nid": "operations_check_out_item", "callee": "add", "source_file": "backend/routers/operations.py", "source_location": "L93"}, {"caller_nid": "operations_check_out_item", "callee": "commit", "source_file": "backend/routers/operations.py", "source_location": "L94"}, {"caller_nid": "operations_check_out_item", "callee": "refresh", "source_file": "backend/routers/operations.py", "source_location": "L95"}, {"caller_nid": "operations_trash_item", "callee": "HTTPException", "source_file": "backend/routers/operations.py", "source_location": "L106"}, {"caller_nid": "operations_trash_item", "callee": "first", "source_file": "backend/routers/operations.py", "source_location": "L108"}, {"caller_nid": "operations_trash_item", "callee": "filter", "source_file": "backend/routers/operations.py", "source_location": "L108"}, {"caller_nid": "operations_trash_item", "callee": "query", "source_file": "backend/routers/operations.py", "source_location": "L108"}, {"caller_nid": "operations_trash_item", "callee": "HTTPException", "source_file": "backend/routers/operations.py", "source_location": "L110"}, {"caller_nid": "operations_trash_item", "callee": "HTTPException", "source_file": "backend/routers/operations.py", "source_location": "L113"}, {"caller_nid": "operations_trash_item", "callee": "AuditLog", "source_file": "backend/routers/operations.py", "source_location": "L126"}, {"caller_nid": "operations_trash_item", "callee": "dumps", "source_file": "backend/routers/operations.py", "source_location": "L133"}, {"caller_nid": "operations_trash_item", "callee": "add", "source_file": "backend/routers/operations.py", "source_location": "L138"}, {"caller_nid": "operations_trash_item", "callee": "commit", "source_file": "backend/routers/operations.py", "source_location": "L139"}, {"caller_nid": "operations_trash_item", "callee": "refresh", "source_file": "backend/routers/operations.py", "source_location": "L140"}, {"caller_nid": "operations_bulk_check_out", "callee": "first", "source_file": "backend/routers/operations.py", "source_location": "L154"}, {"caller_nid": "operations_bulk_check_out", "callee": "filter", "source_file": "backend/routers/operations.py", "source_location": "L154"}, {"caller_nid": "operations_bulk_check_out", "callee": "query", "source_file": "backend/routers/operations.py", "source_location": "L154"}, {"caller_nid": "operations_bulk_check_out", "callee": "append", "source_file": "backend/routers/operations.py", "source_location": "L156"}, {"caller_nid": "operations_bulk_check_out", "callee": "append", "source_file": "backend/routers/operations.py", "source_location": "L160"}, {"caller_nid": "operations_bulk_check_out", "callee": "AuditLog", "source_file": "backend/routers/operations.py", "source_location": "L174"}, {"caller_nid": "operations_bulk_check_out", "callee": "dumps", "source_file": "backend/routers/operations.py", "source_location": "L181"}, {"caller_nid": "operations_bulk_check_out", "callee": "add", "source_file": "backend/routers/operations.py", "source_location": "L184"}, {"caller_nid": "operations_bulk_check_out", "callee": "append", "source_file": "backend/routers/operations.py", "source_location": "L185"}, {"caller_nid": "operations_bulk_check_out", "callee": "append", "source_file": "backend/routers/operations.py", "source_location": "L188"}, {"caller_nid": "operations_bulk_check_out", "callee": "str", "source_file": "backend/routers/operations.py", "source_location": "L188"}, {"caller_nid": "operations_bulk_check_out", "callee": "commit", "source_file": "backend/routers/operations.py", "source_location": "L190"}, {"caller_nid": "operations_get_logs", "callee": "all", "source_file": "backend/routers/operations.py", "source_location": "L201"}, {"caller_nid": "operations_get_logs", "callee": "limit", "source_file": "backend/routers/operations.py", "source_location": "L201"}, {"caller_nid": "operations_get_logs", "callee": "order_by", "source_file": "backend/routers/operations.py", "source_location": "L201"}, {"caller_nid": "operations_get_logs", "callee": "join", "source_file": "backend/routers/operations.py", "source_location": "L201"}, {"caller_nid": "operations_get_logs", "callee": "query", "source_file": "backend/routers/operations.py", "source_location": "L201"}, {"caller_nid": "operations_get_logs", "callee": "desc", "source_file": "backend/routers/operations.py", "source_location": "L214"}]} |