fix(modules): file imports fixes
This commit is contained in:
parent
d81186ba2b
commit
e4447a138c
|
|
@ -1,8 +1,8 @@
|
|||
import { Controller, Get, Req, Sse,
|
||||
MessageEvent as NestMessageEvent } from "@nestjs/common";
|
||||
import { NotificationsService } from "../services/notifications.service";
|
||||
import { Observable } from "rxjs";
|
||||
import { map } from 'rxjs/operators';
|
||||
import { NotificationsService } from "src/shared/notifications/notifications.service";
|
||||
|
||||
@Controller('notifications')
|
||||
export class NotificationsController {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { Module } from "@nestjs/common";
|
||||
import { NotificationsController } from "./controllers/notifications.controller";
|
||||
import { NotificationsService } from "./notifications.service";
|
||||
import { NotificationsController } from "src/shared/notifications/notifications.controller";
|
||||
@Module({
|
||||
providers: [NotificationsService],
|
||||
controllers: [NotificationsController],
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
controllers: [ AttachmentsController],
|
||||
providers: [
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
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 { 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')
|
||||
@ModuleAccessAllowed(ModulesEnum.employee_management)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user