@@ -1,13 +1,14 @@
|
||||
import { Module } from "@nestjs/common";
|
||||
import { WidgetsController } from "./widgets.controller";
|
||||
import { WidgetsService } from "./widgets.service";
|
||||
import { WidgetDataService } from "./widget-data.service";
|
||||
import { PrismaModule } from "../prisma/prisma.module";
|
||||
import { AuthModule } from "../auth/auth.module";
|
||||
|
||||
@Module({
|
||||
imports: [PrismaModule, AuthModule],
|
||||
controllers: [WidgetsController],
|
||||
providers: [WidgetsService],
|
||||
exports: [WidgetsService],
|
||||
providers: [WidgetsService, WidgetDataService],
|
||||
exports: [WidgetsService, WidgetDataService],
|
||||
})
|
||||
export class WidgetsModule {}
|
||||
|
||||
Reference in New Issue
Block a user