utils/getTypeMapping
Overview
Resolves a per-type mapping entry from a typeSerializer -> typeModel lookup table, with a default fallback. Shared by form field/widget resolution (useFormModel) and list column resolution (resolveColumnComponents).
Methods
- getTypeMapping - Resolve the mapping for a field's
typeSerializer, falling back to the serializer's default entry whentypeModelis unknown.
Source
client/lib/utils/getTypeMapping.js:1