first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import {PlaylistEntity} from "./playlist.entity";
|
||||
import {PlaylistService} from "./playlist.service";
|
||||
import {PlaylistController} from "./playlist.controller";
|
||||
import {TrackModule} from "../track/track.module";
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([PlaylistEntity]),
|
||||
TrackModule,
|
||||
],
|
||||
providers: [PlaylistService],
|
||||
controllers: [PlaylistController],
|
||||
exports: [PlaylistService]
|
||||
})
|
||||
export class PlaylistModule {}
|
||||
Reference in New Issue
Block a user