From 69b6edb1e76a49ab934ede4218b0cd3cbf8f4e66 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 20 Sep 2023 16:41:55 +0200 Subject: [PATCH] FieldTypes from @budibase/types --- packages/client/src/constants.js | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/packages/client/src/constants.js b/packages/client/src/constants.js index 37a45fbe5d..f0a89b9cfd 100644 --- a/packages/client/src/constants.js +++ b/packages/client/src/constants.js @@ -1,17 +1,5 @@ -export const FieldTypes = { - STRING: "string", - BARCODEQR: "barcodeqr", - LONGFORM: "longform", - OPTIONS: "options", - NUMBER: "number", - BOOLEAN: "boolean", - ARRAY: "array", - DATETIME: "datetime", - ATTACHMENT: "attachment", - LINK: "link", - FORMULA: "formula", - JSON: "json", -} +import { FieldType as FieldTypes } from "@budibase/types" +export { FieldType as FieldTypes } from "@budibase/types" export const UnsortableTypes = [ FieldTypes.FORMULA,