Parses a configurable operation's description template (e.g.
"buy at least { minimum } of the specified products") into an ordered list
of segments. Placeholders which match an argument of the operation become
arg segments; args never referenced in the template are appended as
trailing arg segments with referenced: false so that every argument is
always representable in the rendered sentence.
Parameters
Pick<ConfigurableOperationDefFragment, 'description' | 'args'>Formats a scalar configurable operation arg value for compact display,
applying the same currency precision and date formatting rules as
interpolateDescription. Returns undefined for empty values.
Parameters
Pick<ConfigurableOperationArgDef, 'type' | 'ui'>string | undefinedRenders a configurable operation as an inline sentence based on its description template, where each argument is an interactive chip that opens a popover containing the arg's regular input component.
Parameters
Readonly<OperationSentenceProps>Architecture reviews, custom plugin work, migrations, ongoing support. Get a hand from the team that builds Vendure.
Talk to the team