dynamic-forms / Interface

DerivationLogEntry

Information about a single derivation evaluation for logging.

Properties

NameTypeDescription
debugName
string | undefined

Debug name if provided in the derivation config

durationMs
number | undefined

Duration in milliseconds (optional, for performance tracking)

error
string | undefined

Error message (if result is 'error')

fieldKey
string

Field key where the derivation is defined and targets

newValue
unknown

The new value that was set (if result is 'applied')

previousValue
unknown

The previous value before the derivation (if result is 'applied')

result
"error" | "applied" | "skipped"

Result of the derivation evaluation

skipReason
"condition-false" | "value-unchanged" | "already-applied" | "target-not-found" | undefined

Reason for skipping (if result is 'skipped')