interface MapperData<Arguments extends string | MergeableRecord> {
    mapper: (
        e: FlowrSearchElement<ParentInformation>,
        data: PipelineOutput<
            Pipeline<IPipelineStep<PipelineStepName, (...args: any[]) => any>>,
        > & { dataflow: DataflowInformation; normalize: NormalizedAst },
        args: Arguments,
    ) => FlowrSearchElement<ParentInformation>[];
}

Type Parameters

Properties

Properties

mapper: (
    e: FlowrSearchElement<ParentInformation>,
    data: PipelineOutput<
        Pipeline<IPipelineStep<PipelineStepName, (...args: any[]) => any>>,
    > & { dataflow: DataflowInformation; normalize: NormalizedAst },
    args: Arguments,
) => FlowrSearchElement<ParentInformation>[]