Package version:

Interface FieldMappingFunction

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

interface FieldMappingFunction {
    name: string;
    parameters?: {
        [propertyName: string]: any;
    };
}

Properties

Properties

name: string

The name of the field mapping function.

parameters?: {
    [propertyName: string]: any;
}

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