ArchitectureSnapshot
constructor(modules: List<String> = emptyList(), edges: List<String> = emptyList(), cycles: List<String> = emptyList(), entryPoints: List<String> = emptyList(), layers: Map<String, String> = emptyMap(), metrics: MetricSnapshot = MetricSnapshot(), aalekhVersion: String = "")(source)
Parameters
modules
Module paths, sorted.
edges
Production dependency pairs as "from>to", sorted. The arrow form keeps the file diffable line by line, which is the point of committing it.
cycles
Module paths that sit inside a production dependency cycle, sorted.
entryPoints
Modules nothing depends on, sorted.
layers
Declared layer name per module, for the modules a layer claims.
metrics
The structural numbers worth watching over time.
aalekhVersion
The plugin version that wrote this snapshot.