Skip to main content

fallow_api/
output_contracts.rs

1//! Concrete output-contract aliases shared by schema and adapter crates.
2
3pub type AuditOutput = fallow_output::AuditOutput<
4    crate::AuditVerdict,
5    crate::AuditSummary,
6    crate::AuditAttribution,
7    fallow_output::CheckOutput,
8    crate::DupesReportPayload,
9    fallow_output::HealthReport,
10>;
11
12pub type CombinedOutput = fallow_output::CombinedOutput<
13    fallow_output::CheckOutput,
14    crate::DupesReportPayload,
15    fallow_output::HealthReport,
16>;
17
18pub type ListBoundariesOutput = fallow_output::ListBoundariesOutput<
19    fallow_config::LogicalGroupStatus,
20    fallow_config::AuthoredRule,
21>;
22
23pub type WorkspacesOutput = fallow_output::WorkspacesOutput<fallow_config::WorkspaceDiagnostic>;
24
25pub type BoundariesListing = fallow_output::BoundariesListing<
26    fallow_config::LogicalGroupStatus,
27    fallow_config::AuthoredRule,
28>;
29
30pub type BoundariesListZone = fallow_output::BoundariesListZone;
31
32pub type BoundariesListRule = fallow_output::BoundariesListRule;
33
34pub type BoundariesListLogicalGroup = fallow_output::BoundariesListLogicalGroup<
35    fallow_config::LogicalGroupStatus,
36    fallow_config::AuthoredRule,
37>;
38
39pub type ListOutput =
40    fallow_output::ListOutput<BoundariesListing, fallow_config::WorkspaceDiagnostic>;
41
42pub type ListEntryPointOutput = fallow_output::ListEntryPointOutput;
43
44pub type ListPluginOutput = fallow_output::ListPluginOutput;
45
46pub type SecurityGate = fallow_output::SecurityGate<crate::SecurityGateMode>;
47
48pub type SecurityOutputConfig = fallow_output::SecurityOutputConfig<fallow_config::Severity>;
49
50pub type SecuritySummaryOutput =
51    fallow_output::SecuritySummaryOutput<SecurityOutputConfig, SecurityGate>;
52
53pub type SecurityOutput = fallow_output::SecurityOutput<SecurityOutputConfig, SecurityGate>;
54
55#[allow(
56    clippy::type_complexity,
57    reason = "the concrete review brief contract names every typed wire section"
58)]
59pub type ReviewBriefWireOutput = fallow_output::ReviewBriefWireOutput<
60    fallow_output::FocusMap,
61    fallow_output::WeakeningSignal,
62    fallow_output::RoutingFacts,
63    fallow_output::DecisionSurface,
64    crate::AuditVerdict,
65    crate::AuditSummary,
66    crate::AuditAttribution,
67    fallow_output::CheckOutput,
68    crate::DupesReportPayload,
69    fallow_output::HealthReport,
70>;
71
72#[allow(
73    clippy::type_complexity,
74    reason = "concrete root union intentionally fills every output payload slot"
75)]
76pub type FallowOutput = fallow_output::FallowOutput<
77    AuditOutput,
78    fallow_output::ExplainOutput,
79    fallow_output::InspectOutput,
80    fallow_types::trace_chain::SymbolChainTrace,
81    fallow_output::ReviewEnvelopeOutput,
82    fallow_output::ReviewReconcileOutput,
83    fallow_output::CoverageSetupOutput,
84    fallow_output::CoverageAnalyzeOutput,
85    ListBoundariesOutput,
86    WorkspacesOutput,
87    fallow_output::HealthOutput<fallow_output::HealthReport, fallow_output::HealthGroup>,
88    fallow_output::DupesOutput<crate::DupesReportPayload, crate::DuplicationGroup>,
89    fallow_output::CheckGroupedOutput,
90    fallow_output::ImpactReport,
91    fallow_output::CrossRepoImpactReport,
92    SecuritySummaryOutput,
93    SecurityOutput,
94    fallow_output::SecuritySurvivorsOutput,
95    fallow_output::SecurityBlindSpotsOutput,
96    fallow_output::CheckOutput,
97    CombinedOutput,
98    fallow_output::FeatureFlagsOutput,
99    ReviewBriefWireOutput,
100    fallow_output::DecisionSurfaceOutput,
101    fallow_output::StandardWalkthroughGuide,
102    fallow_output::WalkthroughValidation,
103    fallow_output::SuppressionInventoryOutput,
104>;