Reverting type changes.

This commit is contained in:
Michael Drury 2024-03-05 18:00:15 +00:00
parent b72edc21ec
commit 1918ec6c68
1 changed files with 2 additions and 2 deletions

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,