Skip to content

Profile

A profile implementation for one profile major version.

Desc extends DescMessage = DescMessage

Translation = unknown

readonly capability: DialectCapabilityProfile

Machine-readable base capability declaration for the profile.


readonly outputSchema: Desc

Protobuf schema of the profile’s sole predicate output type.


readonly translate: (context, functions) => MessageShape<Desc>

Produces one complete predicate through this constructed profile and its selected libraries.

ProfileContext

ReadonlyMap<string, Translation>

MessageShape<Desc>


readonly validate: (context, functions) => void

Verifies one expression through this constructed profile and its selected libraries.

ProfileContext

ReadonlyMap<string, Translation>

void


readonly optional validateConfiguration?: (profileConfiguration?) => void

Validates trusted profile configuration before any translation outcome is selected.

Any

void