2020-02-02 19:21:58 +01:00
|
|
|
import { Module } from "@nestjs/common";
|
2020-09-05 21:07:05 +02:00
|
|
|
import { ListensModule } from "../../listens/listens.module";
|
2020-02-02 19:21:58 +01:00
|
|
|
import { MusicLibraryModule } from "../../music-library/music-library.module";
|
2020-09-05 21:07:05 +02:00
|
|
|
import { UsersModule } from "../../users/users.module";
|
2020-02-02 19:21:58 +01:00
|
|
|
import { SpotifyApiModule } from "./spotify-api/spotify-api.module";
|
|
|
|
|
import { SpotifyAuthModule } from "./spotify-auth/spotify-auth.module";
|
2020-09-05 21:07:05 +02:00
|
|
|
import { SpotifyService } from "./spotify.service";
|
2020-02-01 16:11:48 +01:00
|
|
|
|
|
|
|
|
@Module({
|
2020-02-02 19:21:58 +01:00
|
|
|
imports: [
|
|
|
|
|
UsersModule,
|
|
|
|
|
ListensModule,
|
|
|
|
|
MusicLibraryModule,
|
|
|
|
|
SpotifyApiModule,
|
2020-05-02 17:17:20 +02:00
|
|
|
SpotifyAuthModule,
|
2020-02-02 19:21:58 +01:00
|
|
|
],
|
2020-05-02 17:17:20 +02:00
|
|
|
providers: [SpotifyService],
|
2020-11-28 18:28:38 +01:00
|
|
|
exports: [SpotifyService],
|
2020-02-01 16:11:48 +01:00
|
|
|
})
|
|
|
|
|
export class SpotifyModule {}
|