From 23b0f3dfe4a7879bb30a21064c6d9382b3c07cf0 Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 27 Jun 2024 14:25:32 +0100 Subject: [PATCH] Added missing rowProcessor mapping config for BB_Reference, BB_Reference_Single and Attachment_Single --- .../server/src/utilities/rowProcessor/map.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/packages/server/src/utilities/rowProcessor/map.ts b/packages/server/src/utilities/rowProcessor/map.ts index 2e0ac9efe1..6c750630a9 100644 --- a/packages/server/src/utilities/rowProcessor/map.ts +++ b/packages/server/src/utilities/rowProcessor/map.ts @@ -50,6 +50,20 @@ export const TYPE_TRANSFORM_MAP: any = { [undefined]: undefined, parse: parseArrayString, }, + [FieldType.BB_REFERENCE]: { + //@ts-ignore + [null]: [], + //@ts-ignore + [undefined]: undefined, + parse: parseArrayString, + }, + [FieldType.BB_REFERENCE_SINGLE]: { + "": null, + //@ts-ignore + [null]: null, + //@ts-ignore + [undefined]: undefined, + }, [FieldType.STRING]: { "": null, //@ts-ignore @@ -113,6 +127,9 @@ export const TYPE_TRANSFORM_MAP: any = { [undefined]: undefined, parse: parseArrayString, }, + [FieldType.ATTACHMENT_SINGLE]: { + "": null, + }, [FieldType.BOOLEAN]: { "": null, //@ts-ignore