diff --git a/services/audit-service/migration.js b/services/audit-service/migration.js index 00ebf7c8df..1754aa4e5e 100644 --- a/services/audit-service/migration.js +++ b/services/audit-service/migration.js @@ -1,6 +1,5 @@ const dotenvExt = require('dotenv-extended'); const fs = require('fs'); -const DBMigrate = require('db-migrate'); const path = require('path'); let isLocal = false; dotenvExt.load({ @@ -27,6 +26,7 @@ if (isLocal) { `${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`, ); } else { + const DBMigrate = require('db-migrate'); dotenvExt.load({ schema: path.join('.', 'migrations', '.env.schema'), path: path.join(process.env.INIT_CWD, '.env'), diff --git a/services/authentication-service/migration.js b/services/authentication-service/migration.js index 78ac56b557..15d3d09392 100644 --- a/services/authentication-service/migration.js +++ b/services/authentication-service/migration.js @@ -1,6 +1,5 @@ const dotenvExt = require('dotenv-extended'); const fs = require('fs'); -const DBMigrate = require('db-migrate'); const path = require('path'); let isLocal = false; dotenvExt.load({ @@ -27,6 +26,7 @@ if (isLocal) { `${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`, ); } else { + const DBMigrate = require('db-migrate'); dotenvExt.load({ schema: path.join('.', 'migrations', '.env.schema'), path: path.join(process.env.INIT_CWD, '.env'), diff --git a/services/bpmn-service/migration.js b/services/bpmn-service/migration.js index cdd04537d9..f0ab979432 100644 --- a/services/bpmn-service/migration.js +++ b/services/bpmn-service/migration.js @@ -1,6 +1,5 @@ const dotenvExt = require('dotenv-extended'); const fs = require('fs'); -const DBMigrate = require('db-migrate'); const path = require('path'); let isLocal = false; dotenvExt.load({ @@ -27,6 +26,7 @@ if (isLocal) { `${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`, ); } else { + const DBMigrate = require('db-migrate'); dotenvExt.load({ schema: path.join('.', 'migrations', '.env.schema'), path: path.join(process.env.INIT_CWD, '.env'), diff --git a/services/in-mail-service/migration.js b/services/in-mail-service/migration.js index da5bf1ecf7..f2e129bee6 100644 --- a/services/in-mail-service/migration.js +++ b/services/in-mail-service/migration.js @@ -1,6 +1,5 @@ const dotenvExt = require('dotenv-extended'); const fs = require('fs'); -const DBMigrate = require('db-migrate'); const path = require('path'); let isLocal = false; dotenvExt.load({ @@ -27,6 +26,7 @@ if (isLocal) { `${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`, ); } else { + const DBMigrate = require('db-migrate'); dotenvExt.load({ schema: path.join('.', 'migrations', '.env.schema'), path: path.join(process.env.INIT_CWD, '.env'), diff --git a/services/notification-service/migration.js b/services/notification-service/migration.js index ff5377a51a..4c1fab4e0d 100644 --- a/services/notification-service/migration.js +++ b/services/notification-service/migration.js @@ -1,6 +1,5 @@ const dotenvExt = require('dotenv-extended'); const fs = require('fs'); -const DBMigrate = require('db-migrate'); const path = require('path'); let isLocal = false; dotenvExt.load({ @@ -27,6 +26,7 @@ if (isLocal) { `${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`, ); } else { + const DBMigrate = require('db-migrate'); dotenvExt.load({ schema: path.join('.', 'migrations', '.env.schema'), path: path.join(process.env.INIT_CWD, '.env'), diff --git a/services/scheduler-service/migration.js b/services/scheduler-service/migration.js index 70d76ee5df..43a3bf7225 100644 --- a/services/scheduler-service/migration.js +++ b/services/scheduler-service/migration.js @@ -1,6 +1,5 @@ const dotenvExt = require('dotenv-extended'); const fs = require('fs'); -const DBMigrate = require('db-migrate'); const path = require('path'); let isLocal = false; dotenvExt.load({ @@ -27,6 +26,7 @@ if (isLocal) { `${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`, ); } else { + const DBMigrate = require('db-migrate'); dotenvExt.load({ schema: path.join('.', 'migrations', '.env.schema'), path: path.join(process.env.INIT_CWD, '.env'), diff --git a/services/video-conferencing-service/migration.js b/services/video-conferencing-service/migration.js index 32597301bf..f99a14cfa6 100644 --- a/services/video-conferencing-service/migration.js +++ b/services/video-conferencing-service/migration.js @@ -1,6 +1,5 @@ const dotenvExt = require('dotenv-extended'); const fs = require('fs'); -const DBMigrate = require('db-migrate'); const path = require('path'); let isLocal = false; dotenvExt.load({ @@ -27,6 +26,7 @@ if (isLocal) { `${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`, ); } else { + const DBMigrate = require('db-migrate'); dotenvExt.load({ schema: path.join('.', 'migrations', '.env.schema'), path: path.join(process.env.INIT_CWD, '.env'), diff --git a/services/video-conferencing-service/src/index.ts b/services/video-conferencing-service/src/index.ts index 71323eeb36..384a240bdf 100644 --- a/services/video-conferencing-service/src/index.ts +++ b/services/video-conferencing-service/src/index.ts @@ -1,2 +1,5 @@ export * from './component'; export * from './providers'; +export * from './keys'; +export * from './types'; +export * from './models';