|
|
@ -44,6 +44,51 @@ enum UITypes { |
|
|
|
LastModifiedBy = 'LastModifiedBy', |
|
|
|
LastModifiedBy = 'LastModifiedBy', |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const UITypesName = { |
|
|
|
|
|
|
|
[UITypes.ID]: 'ID', |
|
|
|
|
|
|
|
[UITypes.LinkToAnotherRecord]: 'Link to another record', |
|
|
|
|
|
|
|
[UITypes.ForeignKey]: 'Foreign key', |
|
|
|
|
|
|
|
[UITypes.Lookup]: 'Lookup', |
|
|
|
|
|
|
|
[UITypes.SingleLineText]: 'Single line text', |
|
|
|
|
|
|
|
[UITypes.LongText]: 'Long text', |
|
|
|
|
|
|
|
RichText: 'Rich text', |
|
|
|
|
|
|
|
[UITypes.Attachment]: 'Attachment', |
|
|
|
|
|
|
|
[UITypes.Checkbox]: 'Checkbox', |
|
|
|
|
|
|
|
[UITypes.MultiSelect]: 'Multi select', |
|
|
|
|
|
|
|
[UITypes.SingleSelect]: 'Single select', |
|
|
|
|
|
|
|
[UITypes.Collaborator]: 'Collaborator', |
|
|
|
|
|
|
|
[UITypes.Date]: 'Date', |
|
|
|
|
|
|
|
[UITypes.Year]: 'Year', |
|
|
|
|
|
|
|
[UITypes.Time]: 'Time', |
|
|
|
|
|
|
|
[UITypes.PhoneNumber]: 'Phone number', |
|
|
|
|
|
|
|
[UITypes.GeoData]: 'Geo data', |
|
|
|
|
|
|
|
[UITypes.Email]: 'Email', |
|
|
|
|
|
|
|
[UITypes.URL]: 'URL', |
|
|
|
|
|
|
|
[UITypes.Number]: 'Number', |
|
|
|
|
|
|
|
[UITypes.Decimal]: 'Decimal', |
|
|
|
|
|
|
|
[UITypes.Currency]: 'Currency', |
|
|
|
|
|
|
|
[UITypes.Percent]: 'Percent', |
|
|
|
|
|
|
|
[UITypes.Duration]: 'Duration', |
|
|
|
|
|
|
|
[UITypes.Rating]: 'Rating', |
|
|
|
|
|
|
|
[UITypes.Formula]: 'Formula', |
|
|
|
|
|
|
|
[UITypes.Rollup]: 'Rollup', |
|
|
|
|
|
|
|
[UITypes.Count]: 'Count', |
|
|
|
|
|
|
|
[UITypes.DateTime]: 'Date time', |
|
|
|
|
|
|
|
[UITypes.CreatedTime]: 'Created time', |
|
|
|
|
|
|
|
[UITypes.LastModifiedTime]: 'Last modified time', |
|
|
|
|
|
|
|
[UITypes.AutoNumber]: 'Auto number', |
|
|
|
|
|
|
|
[UITypes.Geometry]: 'Geometry', |
|
|
|
|
|
|
|
[UITypes.JSON]: 'JSON', |
|
|
|
|
|
|
|
[UITypes.SpecificDBType]: 'Specific DB type', |
|
|
|
|
|
|
|
[UITypes.Barcode]: 'Barcode', |
|
|
|
|
|
|
|
[UITypes.QrCode]: 'Qr code', |
|
|
|
|
|
|
|
[UITypes.Button]: 'Button', |
|
|
|
|
|
|
|
[UITypes.Links]: 'Links', |
|
|
|
|
|
|
|
[UITypes.User]: 'User', |
|
|
|
|
|
|
|
[UITypes.CreatedBy]: 'Created by', |
|
|
|
|
|
|
|
[UITypes.LastModifiedBy]: 'Last modified by', |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
export const numericUITypes = [ |
|
|
|
export const numericUITypes = [ |
|
|
|
UITypes.Duration, |
|
|
|
UITypes.Duration, |
|
|
|
UITypes.Currency, |
|
|
|
UITypes.Currency, |
|
|
|