ParamBinding: | { kind: "const"; value: unknown } | { default?: unknown; from: "input" | "document" | "row"; kind: "path"; path: string | string[]; required?: boolean; take?: "first" | "all"; } | { kind: "template"; params: Record<string, ParamBinding>; template: string; } Type declaration
- { kind: "const"; value: unknown }
- {
default?: unknown;
from: "input" | "document" | "row";
kind: "path";
path: string | string[];
required?: boolean;
take?: "first" | "all";
}Optionaldefault?: unknown
from: "input" | "document" | "row"
kind: "path"
path: string | string[]
Optionalrequired?: boolean
Optionaltake?: "first" | "all"
- { kind: "template"; params: Record<string, ParamBinding>; template: string }
$…= JSONPath, otherwise lodash path — identical to mapByConfig's source.path