Skip to main content

tokmd_analysis_types/
imports.rs

1//! Import graph receipt DTOs.
2//!
3//! These contract types remain re-exported from the crate root to preserve
4//! existing `tokmd_analysis_types::...` names.
5
6use serde::{Deserialize, Serialize};
7
8#[derive(Debug, Clone, Serialize, Deserialize)]
9pub struct ImportReport {
10    pub granularity: String,
11    pub edges: Vec<ImportEdge>,
12}
13
14#[derive(Debug, Clone, Serialize, Deserialize)]
15pub struct ImportEdge {
16    pub from: String,
17    pub to: String,
18    pub count: usize,
19}