mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-27 03:05:10 +02:00
docs: Add new plan for backend structure
This commit is contained in:
4
backend/src/users/library/library.module.ts
Normal file
4
backend/src/users/library/library.module.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
|
||||
@Module({})
|
||||
export class LibraryModule {}
|
||||
4
backend/src/users/play-state/play-state.module.ts
Normal file
4
backend/src/users/play-state/play-state.module.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
|
||||
@Module({})
|
||||
export class PlayStateModule {}
|
||||
@@ -3,9 +3,11 @@ import { UsersService } from './users.service';
|
||||
import { userProviders } from './user.providers';
|
||||
import { UsersController } from './users.controller';
|
||||
import { DatabaseModule } from '../database/database.module';
|
||||
import { LibraryModule } from './library/library.module';
|
||||
import { PlayStateModule } from './play-state/play-state.module';
|
||||
|
||||
@Module({
|
||||
imports: [DatabaseModule],
|
||||
imports: [DatabaseModule, LibraryModule, PlayStateModule],
|
||||
providers: [...userProviders, UsersService],
|
||||
controllers: [UsersController],
|
||||
exports: [UsersService],
|
||||
|
||||
Reference in New Issue
Block a user