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

Reverting type changes.

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

View file

@ -25,7 +25,7 @@ import env from "../environment"
import cloneDeep from "lodash/cloneDeep"
import sdk from "../sdk"
const DEFINITIONS: { [key: SourceName]: Integration | undefined } = {
const DEFINITIONS: Record<SourceName, Integration | undefined> = {
[SourceName.POSTGRES]: postgres.schema,
[SourceName.DYNAMODB]: dynamodb.schema,
[SourceName.MONGODB]: mongodb.schema,
@ -45,7 +45,7 @@ const DEFINITIONS: { [key: SourceName]: Integration | undefined } = {
[SourceName.BUDIBASE]: undefined,
}
const INTEGRATIONS: { [key: SourceName]: IntegrationBase | undefined } = {
const INTEGRATIONS: Record<SourceName, any> = {
[SourceName.POSTGRES]: postgres.integration,
[SourceName.DYNAMODB]: dynamodb.integration,
[SourceName.MONGODB]: mongodb.integration,