fix(modules): file imports fixes

This commit is contained in:
Matthieu Haineault 2025-12-04 15:02:54 -05:00
parent d81186ba2b
commit e4447a138c
4 changed files with 14 additions and 13 deletions

View File

@ -1,8 +1,8 @@
import { Controller, Get, Req, Sse, import { Controller, Get, Req, Sse,
MessageEvent as NestMessageEvent } from "@nestjs/common"; MessageEvent as NestMessageEvent } from "@nestjs/common";
import { NotificationsService } from "../services/notifications.service";
import { Observable } from "rxjs"; import { Observable } from "rxjs";
import { map } from 'rxjs/operators'; import { map } from 'rxjs/operators';
import { NotificationsService } from "src/shared/notifications/notifications.service";
@Controller('notifications') @Controller('notifications')
export class NotificationsController { export class NotificationsController {

View File

@ -1,6 +1,6 @@
import { Module } from "@nestjs/common"; import { Module } from "@nestjs/common";
import { NotificationsController } from "./controllers/notifications.controller";
import { NotificationsService } from "./notifications.service"; import { NotificationsService } from "./notifications.service";
import { NotificationsController } from "src/shared/notifications/notifications.controller";
@Module({ @Module({
providers: [NotificationsService], providers: [NotificationsService],
controllers: [NotificationsController], controllers: [NotificationsController],

View File

@ -1,13 +1,13 @@
import { AttachmentArchivalService } from "src/modules/attachments/services/attachment-archival.service";
import { GarbargeCollectorService } from "src/modules/attachments/services/garbage-collector.service";
import { AttachmentsController } from "src/modules/attachments/controllers/attachments.controller";
import { DiskStorageService } from "src/modules/attachments/services/disk-storage.service";
import { VariantsQueue } from "src/modules/attachments/services/variants.queue";
import { Module } from "@nestjs/common";
import { AttachmentDeleteService } from "src/modules/attachments/services/attachment-delete.service";
import { AttachmentUploadService } from "src/modules/attachments/services/attachment-upload.service";
import { AttachmentGetService } from "src/modules/attachments/services/attachment-get.service";
import { Module } from "@nestjs/common";
import { AttachmentsController } from "src/time-and-attendance/attachments/attachments.controller";
import { AttachmentArchivalService } from "src/time-and-attendance/attachments/services/attachment-archival.service";
import { AttachmentDeleteService } from "src/time-and-attendance/attachments/services/attachment-delete.service";
import { AttachmentGetService } from "src/time-and-attendance/attachments/services/attachment-get.service";
import { AttachmentUploadService } from "src/time-and-attendance/attachments/services/attachment-upload.service";
import { DiskStorageService } from "src/time-and-attendance/attachments/services/disk-storage.service";
import { GarbargeCollectorService } from "src/time-and-attendance/attachments/services/garbage-collector.service";
import { VariantsQueue } from "src/time-and-attendance/attachments/services/variants.queue";
@Module({ @Module({
controllers: [ AttachmentsController], controllers: [ AttachmentsController],
providers: [ providers: [

View File

@ -1,8 +1,9 @@
import { Body, Controller, Delete, Get, Param, ParseIntPipe, Patch, Post } from "@nestjs/common"; import { Body, Controller, Delete, Get, Param, ParseIntPipe, Patch, Post } from "@nestjs/common";
import { BankCodesService } from "../services/bank-codes.service";
import { BankCodeDto } from "../bank-code.dto";
import { ModuleAccessAllowed } from "src/common/decorators/modules-guard.decorators"; import { ModuleAccessAllowed } from "src/common/decorators/modules-guard.decorators";
import { Modules as ModulesEnum } from ".prisma/client"; import { Modules as ModulesEnum } from ".prisma/client";
import { BankCodeDto } from "src/time-and-attendance/bank-codes/bank-code.dto";
import { BankCodesService } from "src/time-and-attendance/bank-codes/bank-codes.service";
@Controller('bank-codes') @Controller('bank-codes')
@ModuleAccessAllowed(ModulesEnum.employee_management) @ModuleAccessAllowed(ModulesEnum.employee_management)