1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

More types

This commit is contained in:
Adria Navarro 2024-03-26 11:05:45 +01:00
parent 7523cf8be3
commit 7d88548255
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@
[FieldType.LONGFORM]: "longformfield",
[FieldType.DATETIME]: "datetimefield",
[FieldType.ATTACHMENT]: "attachmentfield",
[FieldType.ATTACHMENT_SINGLE]: "attachmentfield",
[FieldType.LINK]: "relationshipfield",
[FieldType.JSON]: "jsonfield",
[FieldType.BARCODEQR]: "codescanner",

View file

@ -23,6 +23,7 @@ const TypeComponentMap = {
[FieldType.NUMBER]: NumberCell,
[FieldType.BOOLEAN]: BooleanCell,
[FieldType.ATTACHMENT]: AttachmentCell,
[FieldType.ATTACHMENT_SINGLE]: AttachmentCell,
[FieldType.LINK]: RelationshipCell,
[FieldType.FORMULA]: FormulaCell,
[FieldType.JSON]: JSONCell,