Expand description
Shared TypeScript semantic identity, provenance, API surface, impact, and public-signature coupling contracts. Shared contracts for opt-in TypeScript semantic analysis.
These types describe project-wide evidence that complements Fallow’s syntactic graph. They do not model TypeScript compiler diagnostics or generic typed lint findings.
Structs§
- ApiSurface
Entry - One package-public API entry described by the semantic backend.
- ApiSurface
Result - Package API surface result shared by inspect and private-leak analysis.
- Public
Type Reference - One project-local type referenced by a public signature.
- Semantic
Alias Hop - One alias or re-export hop in semantic provenance.
- Semantic
Analysis Identity - Compatibility identity for comparing two analysis results.
- Semantic
Candidate Decision - Bounded, inspectable decision record for one semantic dead-code candidate.
- Semantic
Contract Evidence - Exact declaration evidence for an inherited or implemented class-member relation.
- Semantic
Edit Guard - Exact source span and content hash used to guard semantic source edits.
- Semantic
Framework Contract - Exact framework contract supplied by a detected Fallow plugin.
- Semantic
Framework Contract Evidence - Checker-validated evidence that a framework contract preserves a member.
- Semantic
Impact Path - One production file or test reached by exact-symbol impact analysis.
- Semantic
Omission - Counted omission attached to a partial or unavailable result.
- Semantic
Private Type Leak - Exact semantic evidence for a private type leak.
- Semantic
Query Summary - Compact per-query status embedded in run metadata.
- Semantic
Reference - Located semantic reference evidence.
- Semantic
Source Location - One project-root-relative source location used as semantic evidence.
- Semantic
Symbol - Stable identity for a declaration sent to or returned by the backend.
- Semantic
Symbol Impact - Exact-symbol impact and targeted-test recommendation.
- Semantic
Symbol Trace - Typed semantic trace attached to an existing syntactic trace.
- Type
Coupling Cycle - One project-local cycle through public-signature type dependencies.
- Type
Coupling Edge - One project-local public-signature type edge.
- Type
Coupling File - Per-file project-local public-signature coupling.
- Type
Coupling Report - Advisory project-local public-signature coupling report.
- Type
Coupling Summary - Project summary for advisory type coupling.
Enums§
- Semantic
Analysis Mode - Analysis mode stored with baselines, snapshots, audit sides, and impact data.
- Semantic
Candidate Decision Kind - Conservative outcome for one existing Fallow dead-code candidate.
- Semantic
Capability - Semantic capabilities that can share one TypeScript Program session.
- Semantic
Completeness - Whether the semantic backend answered every requested query safely.
- Semantic
Completeness Requirement - Effective policy applied when semantic evidence is incomplete.
- Semantic
Contract Relation - How a class member participates in an inherited or implemented relation.
- Semantic
Framework Relation - Heritage relation used by a framework-owned class-member contract.
- Semantic
GapReason - Stable reason why semantic evidence is partial or unavailable.
- Semantic
Impact Confidence - Confidence of exact-symbol impact analysis after known dynamic gaps.
- Semantic
Namespace - Value or type namespace for one exact declaration or reference.
Constants§
- DEFERRED_
PROJECT_ CONFIG_ HASH - Project-config identity used only when no semantic query was needed.