pub struct TypeAwareProjectMeta {Show 19 fields
pub config: String,
pub source: TypeAwareProjectSource,
pub status: TypeAwareProjectStatus,
pub candidate_count: usize,
pub confirmed_used_count: usize,
pub contract_preserved_count: usize,
pub no_static_references_count: usize,
pub fix_eligible_count: usize,
pub unresolved_count: usize,
pub abstained_count: usize,
pub blocking_diagnostic_count: usize,
pub source_file_count: usize,
pub program_reused: Option<bool>,
pub program_shared_across_queries: Option<bool>,
pub program_reused_from_previous_snapshot: Option<bool>,
pub snapshot_revision: Option<u64>,
pub invalidation_kind: Option<TypeAwareInvalidationKind>,
pub reason_code: Option<SemanticGapReason>,
pub abstain_reason: Option<TypeAwareAbstentionReason>,
}Expand description
Bounded provenance for one TypeScript project handled by the sidecar.
Fields§
§config: StringProject config relative to the analysis root, or <inferred>.
source: TypeAwareProjectSourceHow the project was selected: auto or explicit.
status: TypeAwareProjectStatusProject result: refined, abstained, complete, or unavailable.
candidate_count: usizeCandidates assigned to this project.
confirmed_used_count: usizeCandidates confirmed as used and removed.
contract_preserved_count: usizeCandidates retained because they implement or override a contract.
no_static_references_count: usizeCandidates with complete no-static-reference evidence.
fix_eligible_count: usizeCandidates eligible for a guarded class-member fix.
unresolved_count: usizeCandidates whose exact semantic outcome remained unresolved.
abstained_count: usizeCandidates retained without scanning because the project was unsafe.
blocking_diagnostic_count: usizeConfig, program, syntactic, and bind diagnostics that block scanning.
source_file_count: usizeSource files loaded into this TypeScript program.
program_reused: Option<bool>Whether this Program served more than one semantic query in the batch.
Whether this Program served more than one query in the current batch.
program_reused_from_previous_snapshot: Option<bool>Whether the root-bound semantic session reused the prior snapshot.
snapshot_revision: Option<u64>Monotonic revision within the root-bound semantic session.
invalidation_kind: Option<TypeAwareInvalidationKind>Full, incremental, or no invalidation before this query.
reason_code: Option<SemanticGapReason>Stable project-level gap reason.
abstain_reason: Option<TypeAwareAbstentionReason>Stable reason code when status is abstained.
Trait Implementations§
Source§impl Clone for TypeAwareProjectMeta
impl Clone for TypeAwareProjectMeta
Source§fn clone(&self) -> TypeAwareProjectMeta
fn clone(&self) -> TypeAwareProjectMeta
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TypeAwareProjectMeta
impl Debug for TypeAwareProjectMeta
Source§impl Default for TypeAwareProjectMeta
impl Default for TypeAwareProjectMeta
Source§fn default() -> TypeAwareProjectMeta
fn default() -> TypeAwareProjectMeta
Source§impl<'de> Deserialize<'de> for TypeAwareProjectMeta
impl<'de> Deserialize<'de> for TypeAwareProjectMeta
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeAwareProjectMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeAwareProjectMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for TypeAwareProjectMeta
impl JsonSchema for TypeAwareProjectMeta
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more