Registers a transform plugin by type name so the FieldTransformEngine can dispatch a
non-built-in transform to it.
This is how heavier transforms (e.g. jsonpath, xpath) are added WITHOUT making their libraries
(jsonpath-plus, xpath, @xmldom/xmldom, …) dependencies of this foundational package: a separate
package owns the libs, implements the handler, and calls this at module-load to register it. Any
FieldTransformEngine in the process (integration sync, rules-based bulk update, …) then supports the
transform — the engine stays lib-free, the plugin owns the deps. Idempotent per type (last wins).
Parameters
type: string
The transform Type string (case-insensitive), e.g. 'jsonpath'.
Registers a transform plugin by type name so the FieldTransformEngine can dispatch a non-built-in transform to it.
This is how heavier transforms (e.g.
jsonpath,xpath) are added WITHOUT making their libraries (jsonpath-plus, xpath, @xmldom/xmldom, …) dependencies of this foundational package: a separate package owns the libs, implements the handler, and calls this at module-load to register it. AnyFieldTransformEnginein the process (integration sync, rules-based bulk update, …) then supports the transform — the engine stays lib-free, the plugin owns the deps. Idempotent per type (last wins).