Create database and model for EXIF

This commit is contained in:
Alex Tran 2022-02-09 22:59:32 -06:00
parent 03b67a98d3
commit ea9766a60b
9 changed files with 175 additions and 7 deletions

View file

@ -2,6 +2,7 @@ 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 { BackgroundTaskProcessor } from './background-task.processor';
import { BackgroundTaskService } from './background-task.service';
@Module({
@ -16,6 +17,7 @@ import { BackgroundTaskService } from './background-task.service';
}),
TypeOrmModule.forFeature([AssetEntity]),
],
providers: [BackgroundTaskService],
providers: [BackgroundTaskService, BackgroundTaskProcessor],
exports: [BackgroundTaskService],
})
export class BackgroundTaskModule {}