1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13: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.LONGFORM]: "longformfield",
[FieldType.DATETIME]: "datetimefield", [FieldType.DATETIME]: "datetimefield",
[FieldType.ATTACHMENT]: "attachmentfield", [FieldType.ATTACHMENT]: "attachmentfield",
[FieldType.ATTACHMENT_SINGLE]: "attachmentfield",
[FieldType.LINK]: "relationshipfield", [FieldType.LINK]: "relationshipfield",
[FieldType.JSON]: "jsonfield", [FieldType.JSON]: "jsonfield",
[FieldType.BARCODEQR]: "codescanner", [FieldType.BARCODEQR]: "codescanner",

View file

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