Type Alias: Field

Field: object

Represents a field

Type declaration 

apiName 

apiName: string

The apiName of the field

dataType 

dataType: string

The data type of the field

fieldType 

fieldType: string

The field type, could be either Dimension or Measure

label 

label: string

The label of the field

objectName? 

optional objectName: string

The object name of the field

Example 

1const field: Field = {
2  apiName: "AccountId",
3  label: "Account ID",
4  objectName: "Account",
5  dataType: "Text",
6  fieldType: "Dimension"
7};

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!