Skip to content

Type alias: MetadataFormulaDef<ContextT>

core.MetadataFormulaDef

Ƭ MetadataFormulaDef<ContextT>: MetadataFormula<ContextT> | MetadataFunction<ContextT>

The type of values that will be accepted as a metadata formula definition. This can either be the JavaScript function that implements a metadata formula (strongly recommended) or a full metadata formula definition (mostly supported for legacy code).

Type parameters

Name Type
ContextT extends ExecutionContext = ExecutionContext

Defined in

api.ts:1872