oramasearch / orama-plugin-strapi

3 stars 1 forks source link

Feat: Add documentsFormatter to plugin config #9

Open raiindev opened 4 days ago

raiindev commented 4 days ago

Adding documentsTransformer function that can be passed as config to the plugin. This function will be called before sending all the data to Orama Cloud. Takes and Array as parameter and expects a return value from it. This return value will be the data sent to Orama Cloud.

Closes #8