mirror of
https://github.com/immich-app/immich.git
synced 2025-10-29 17:52:36 -04:00
17 lines
440 B
TypeScript
17 lines
440 B
TypeScript
import { DomainModule } from '@app/domain';
|
|
import { InfraModule } from '@app/infra';
|
|
import { Module, OnModuleInit } from '@nestjs/common';
|
|
import { AppService } from './app.service';
|
|
|
|
@Module({
|
|
imports: [InfraModule, DomainModule],
|
|
providers: [AppService],
|
|
})
|
|
export class MicroservicesModule implements OnModuleInit {
|
|
constructor(private appService: AppService) {}
|
|
|
|
async onModuleInit() {
|
|
await this.appService.init();
|
|
}
|
|
}
|