mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
* Added EXIF extracting in the backend * Added EXIF displaying on `image_viewer_page.dart` * Added Icon for backup option not enable
25 lines
826 B
TypeScript
25 lines
826 B
TypeScript
import { BullModule } from '@nestjs/bull';
|
|
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { AssetEntity } from '../../api-v1/asset/entities/asset.entity';
|
|
import { ExifEntity } from '../../api-v1/asset/entities/exif.entity';
|
|
import { BackgroundTaskProcessor } from './background-task.processor';
|
|
import { BackgroundTaskService } from './background-task.service';
|
|
|
|
@Module({
|
|
imports: [
|
|
BullModule.registerQueue({
|
|
name: 'background-task',
|
|
defaultJobOptions: {
|
|
attempts: 3,
|
|
removeOnComplete: true,
|
|
removeOnFail: false,
|
|
},
|
|
}),
|
|
TypeOrmModule.forFeature([AssetEntity, ExifEntity]),
|
|
],
|
|
providers: [BackgroundTaskService, BackgroundTaskProcessor],
|
|
exports: [BackgroundTaskService],
|
|
})
|
|
export class BackgroundTaskModule {}
|