• Give a list of custom fields and a list of custom field definitions, expand the custom fields for customFieldDefinition type

    Parameters

    • customFields: undefined | null | Record<string, unknown>

      customFields data

    • customFieldDefinitionList: CustomField[]

      customField definition list

    • Optional fieldToExpand: Record<string, boolean>

      fieldToExpand is a map of custom field name to boolean, if true, expand the field, if false, do not expand the field

    Returns Promise<Record<string, unknown>>

    return new Custom fields data, with type expanded (if any), for type no need to expand, the value is unchanged

Generated using TypeDoc