Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import {
CustomObject,
CustomObjectDefinition,
DataConnectionName,
DataConnector,
DataRefreshment,
Overwrite,
Team,
TeamAssignment,
User,
Variable,
VariableValue,
} from '@amalia/core/models';
import { DataDatabaseModule, DefaultDatabaseModule } from '@amalia/kernel/data-access/core';
import { locales } from '@amalia/kernel/intl/bundles/backend';
import { IntlModule } from '@amalia/kernel/intl/module';
import { LoggerModule } from '@amalia/kernel/logger/server';
import { QueueModule } from '@amalia/kernel/queue/core';
import { MailModule } from '@amalia/kernel/user-notifications/mail/core';
import { configuration } from '../configuration';
import { CustomObjectsService } from '../refreshments-execute/sync/dataConnector/customObjects.service';
import { DataConnectorService } from '../refreshments-execute/sync/dataConnector/dataConnector.service';
import { DataSyncService } from '../refreshments-execute/sync/dataSync.service';
import { SyncDirectoryService } from '../refreshments-execute/sync/directorySync.service';
import { RefreshmentExecuteHandler } from '../refreshments-execute/sync/handlers/refreshment-execute.handler';
import { QuotaConnectorService } from '../refreshments-execute/sync/quotaConnector/quotaConnector.service';
import { SyncTeamService } from '../refreshments-execute/sync/teamSync.service';
import { UserConnectorService } from '../refreshments-execute/sync/userConnector/userConnector.service';
@Module({
imports: [
LoggerModule.forRoot(),
IntlModule.forRoot({ locales }),
MailModule.forRoot(),
TypeOrmModule.forFeature([
CustomObjectDefinition,
DataConnector,
DataRefreshment,
Overwrite,
User,
Variable,
VariableValue,
Team,
TeamAssignment,
]),
TypeOrmModule.forFeature([CustomObject], DataConnectionName),
QueueModule,
],
providers: [
CustomObjectsService,
DataConnectorService,
QuotaConnectorService,
UserConnectorService,
DataSyncService,
SyncDirectoryService,
RefreshmentExecuteHandler,
SyncTeamService,
],
})
export class AppModuleRoot {}
@Module({
imports: [DefaultDatabaseModule(configuration), DataDatabaseModule(configuration), AppModuleRoot],
})
export class AppModule {}
|