PR comment.
This commit is contained in:
parent
b05f56222e
commit
1af0eaae93
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue