Skip to main content

Crate type_bridge_contract

Crate type_bridge_contract 

Source
Expand description

Versioned, binding-neutral contract primitives for TypeBridge.

This public, release-lockstep supporting crate sits at the bottom of the workspace dependency graph. It deliberately contains no parser, query, migration, provider, or binding dependencies.

Re-exports§

pub use migration_assertion::migration_assertion_capability_vocabulary;
pub use query_plan::query_given_rows_capability;
pub use query_plan::query_plan_capability_vocabulary;

Modules§

capability
Open capability identifiers and deterministic sets. Open capability identifiers and deterministic capability sets.
codec
Canonical JSON encoding, decoding, and format versions. Bounded canonical JSON encoding and fail-closed decoding.
decimal
Canonical TypeDB decimal parsing and comparison. Canonical TypeDB decimal parsing and semantic comparison.
diagnostic
Stable binding-neutral structured diagnostics. Stable structured diagnostics shared by contract parsers and codecs.
fingerprint
Domain-separated fingerprint algorithms and values. Domain-separated canonical fingerprint values.
id
Validated typed identifier primitives. Validated typed identifiers that do not depend on schema envelopes.
limits
Canonical codec structural limits. Canonical implementation-independent codec ceilings.
managed_scope
Durable managed-scope identities, bindings, and profile fingerprints. Durable managed-scope identities and frozen profile fingerprints.
migration
Context-free canonical migration identities, fingerprints, and schema steps. Context-free canonical migration identities, fingerprints, and schema steps.
migration_assertion
Canonical typed migration assertion syntax and fingerprints. Context-free canonical syntax for migration assertions.
migration_backfill
Closed binding-neutral migration backfill plans and fingerprints. Closed binding-neutral data plans used by canonical migration steps.
projected_record
Target-independent canonical generated-model records and ordered archives. Target-independent canonical generated-model records and ordered archives.
projection
Binding-target configuration and reproducible projection fingerprints. Binding-target configuration and reproducible projection fingerprints.
projection_wire
Fail-closed canonical wire decoding for runtime projections. Bounded canonical wire decoder for trusted runtime projections.
query_plan
Versioned schema identities, facts, provenance, and fingerprints. Reusable typed query plans and the first public V2 read vocabulary. Reusable typed query plans: the first public V2 read vocabulary.
query_remote
Versioned fail-closed wire envelopes for remote query execution.
query_remote_v2
Additive V2 remote envelopes and hydrated model-result evidence. Additive V2 remote-query envelopes and hydrated model evidence.
reserved
Reserved TypeBridge schema-namespace vocabulary shared across layers.
schema
Versioned schema identities, facts, provenance, and declared fingerprints.
schema_delta
Trusted, reversible schema transitions over one durable managed scope. Trusted, reversible schema transitions over one durable managed scope.
schema_fingerprint
Domain-safe schema fingerprint wrappers. Domain-separated fingerprints for schema comparison scopes.
schema_lowering
Validated identity and fingerprint primitives for schema-lowering profiles.
sdk_diagnostic
Versioned in-memory diagnostics for binding-neutral SDK execution. Versioned in-memory diagnostics for binding-neutral SDK execution.
semantic_profile
Versioned server-semantic defaults shared by resolution and fingerprints. Versioned defaults that affect schema semantics without changing declarations.
temporal
Canonical temporal component values. Canonical low-dependency temporal component values.
value
Domain-tagged canonical scalar, cardinality, and annotation values. Domain-tagged canonical scalar, cardinality, and annotation values.