PR comment.

This commit is contained in:
mike12345567 2024-04-19 12:36:05 +01:00
parent b05f56222e
commit 1af0eaae93
1 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ describe("/datasources", () => {
}) })
) )
type SupportedTypes = type SupportedSqlTypes =
| FieldType.STRING | FieldType.STRING
| FieldType.BARCODEQR | FieldType.BARCODEQR
| FieldType.LONGFORM | FieldType.LONGFORM
@ -276,7 +276,7 @@ describe("/datasources", () => {
| FieldType.ARRAY | FieldType.ARRAY
const fullSchema: { const fullSchema: {
[type in SupportedTypes]: FieldSchema & { type: type } [type in SupportedSqlTypes]: FieldSchema & { type: type }
} = { } = {
[FieldType.STRING]: { [FieldType.STRING]: {
name: "string", name: "string",