Function: sanitizeData()
sanitizeData<
M
>(values
,properties
):any
Add missing required fields, expected in the collection, to the values of an entity
Type Parameters​
• M extends Record
<string
, any
>
Parameters​
• values: M
• properties: ResolvedProperties
<M
>
Returns​
any