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