Skip to main content
Version: v0.0.4

Interface: TranslateUnmapped

A fail-safe unmapped translation - the never-fabricate outcome. The source is surfaced as-is; no target is ever guessed. Any group.unmapped fallback the author declared is reported via UnmappedMode (and fixedTarget/otherMapUrl) for the caller to accept or reject - the engine does not silently substitute it.

Properties

code

readonly code: "TERM_TRANSLATE_UNMAPPED"

The stable diagnostic code for an unmapped translation.


fixedTarget?

readonly optional fixedTarget?: Coding

For mode: "fixed", the author's fixed fallback coding - reported, not auto-applied.


mode

readonly mode: UnmappedMode

The map author's declared fallback mode (or none).


otherMapUrl?

readonly optional otherMapUrl?: string

For mode: "other-map", the referenced map's URL - reported, not auto-followed.


provenance

readonly provenance: MapProvenance

Where the (failed) translation was attempted.


source

readonly source: Coding

The original source Coding, surfaced untouched.


unmapped

readonly unmapped: true

Discriminant: the source did not map.