Types

Type alias: MetadataInput

react-autonomy.MetadataInput

Ƭ MetadataInput: Record<string | number, unknown> | null

MetadataInput allows for setting of freeform data on a record. Any empty value, such as null or an empty string will unset the key-value pair. You can completely remove metadata from the record by passing null. You do not need to provide the full metadata object to update it, as added attributes will update the existing object instead of replacing it.

Defined in

node_modules/@chordcommerce/chord-js-autonomy/dist/oms/types/inputs.d.ts:297