mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
22 lines
539 B
TypeScript
22 lines
539 B
TypeScript
import { Module } from "@nestjs/common";
|
|
import { PGBossModule } from "@apricote/nest-pg-boss";
|
|
import {
|
|
CrawlerSupervisorJob,
|
|
ImportSpotifyJob,
|
|
UpdateSpotifyLibraryJob,
|
|
} from "./jobs";
|
|
import { SchedulerService } from "./scheduler.service";
|
|
import { SpotifyModule } from "./spotify/spotify.module";
|
|
|
|
@Module({
|
|
imports: [
|
|
SpotifyModule,
|
|
PGBossModule.forJobs([
|
|
CrawlerSupervisorJob,
|
|
ImportSpotifyJob,
|
|
UpdateSpotifyLibraryJob,
|
|
]),
|
|
],
|
|
providers: [SchedulerService],
|
|
})
|
|
export class SourcesModule {}
|