From 1af0eaae9385f0a02fca1328b3e07cdeb5324604 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 19 Apr 2024 12:36:05 +0100 Subject: [PATCH] PR comment. --- packages/server/src/api/routes/tests/datasource.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/api/routes/tests/datasource.spec.ts b/packages/server/src/api/routes/tests/datasource.spec.ts index ec438611d4..d5c0a256a1 100644 --- a/packages/server/src/api/routes/tests/datasource.spec.ts +++ b/packages/server/src/api/routes/tests/datasource.spec.ts @@ -261,7 +261,7 @@ describe("/datasources", () => { }) ) - type SupportedTypes = + type SupportedSqlTypes = | FieldType.STRING | FieldType.BARCODEQR | FieldType.LONGFORM @@ -276,7 +276,7 @@ describe("/datasources", () => { | FieldType.ARRAY const fullSchema: { - [type in SupportedTypes]: FieldSchema & { type: type } + [type in SupportedSqlTypes]: FieldSchema & { type: type } } = { [FieldType.STRING]: { name: "string",