FieldMappingFunction interface

Represents a function that transforms a value from a data source before indexing.

Properties

name

The name of the field mapping function.

parameters

A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type.

Property Details

name

The name of the field mapping function.

name: string

Property Value

string

parameters

A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type.

parameters?: Record<string, any>

Property Value

Record<string, any>