Type Alias BaseFieldMap<Field>

BaseFieldMap<Field>: Field extends EntryFieldTypes.Symbol<infer Values>
    ? EntryFields.Symbol<Values>
    : Field extends EntryFieldTypes.Text<infer Values>
        ? EntryFields.Text<Values>
        : Field extends EntryFieldTypes.Integer<infer Values>
            ? EntryFields.Integer<Values>
            : Field extends EntryFieldTypes.Number<infer Values>
                ? EntryFields.Number<Values>
                : Field extends EntryFieldTypes.Date
                    ? EntryFields.Date
                    : Field extends EntryFieldTypes.Boolean
                        ? EntryFields.Boolean
                        : Field extends EntryFieldTypes.Location
                            ? EntryFields.Location
                            : Field extends EntryFieldTypes.RichText
                                ? EntryFields.RichText
                                : Field extends EntryFieldTypes.Object<infer Data>
                                    ? EntryFields.Object<Data>
                                    : never

Mapping between abstract entry field types with additional type information and entry field types

Type Parameters