getModelSanitizeModes
Function: getModelSanitizeModes()
getModelSanitizeModes(
model):SanitizeModes
Defined in: packages/core/src/contexts/sanitize.ts:445
Sanitization modes of the texts of a model: the attributes its Input schema marks x-webda-sanitize
(@sanitize none, html or markdown on the property, see getSanitizeModes)
Parameters
model
any
the model class
Returns
the modes per dotted path, * standing for any array index or record key