1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

Fixing integration base types.

This commit is contained in:
Michael Drury 2024-03-05 18:15:19 +00:00
parent 1918ec6c68
commit b58b0d3b40

View file

@ -45,7 +45,9 @@ const DEFINITIONS: Record<SourceName, Integration | undefined> = {
[SourceName.BUDIBASE]: undefined,
}
const INTEGRATIONS: Record<SourceName, any> = {
type IntegrationBaseConstructor = new (...args: any[]) => IntegrationBase
const INTEGRATIONS: Record<SourceName, IntegrationBaseConstructor | undefined> = {
[SourceName.POSTGRES]: postgres.integration,
[SourceName.DYNAMODB]: dynamodb.integration,
[SourceName.MONGODB]: mongodb.integration,