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 = "concrete root union intentionally fills every output payload slot"
58)]
59pub type FallowOutput = fallow_output::FallowOutput<
60    AuditOutput,
61    fallow_output::ExplainOutput,
62    fallow_output::InspectOutput,
63    fallow_types::trace_chain::SymbolChainTrace,
64    fallow_output::ReviewEnvelopeOutput,
65    fallow_output::ReviewReconcileOutput,
66    fallow_output::CoverageSetupOutput,
67    fallow_output::CoverageAnalyzeOutput,
68    ListBoundariesOutput,
69    WorkspacesOutput,
70    fallow_output::HealthOutput<fallow_output::HealthReport, fallow_output::HealthGroup>,
71    fallow_output::DupesOutput<crate::DupesReportPayload, crate::DuplicationGroup>,
72    fallow_output::CheckGroupedOutput,
73    fallow_output::ImpactReport,
74    fallow_output::CrossRepoImpactReport,
75    SecuritySummaryOutput,
76    SecurityOutput,
77    fallow_output::SecuritySurvivorsOutput,
78    fallow_output::SecurityBlindSpotsOutput,
79    fallow_output::CheckOutput,
80    CombinedOutput,
81    fallow_output::FeatureFlagsOutput,
82    fallow_output::StandardReviewBriefOutput,
83    fallow_output::DecisionSurfaceOutput,
84    fallow_output::StandardWalkthroughGuide,
85    fallow_output::WalkthroughValidation,
86>;