From bac709564b46ce49cc877452bb386d5c4b530890 Mon Sep 17 00:00:00 2001 From: Arne Gnisa Date: Mon, 17 Jun 2024 15:52:58 +0200 Subject: [PATCH] N21-1967 fixes linter --- .../mapper/copy-files-of-parent-param.builder.spec.ts | 1 + .../modules/files-storage-client/service/copy-files.service.ts | 2 +- .../service/files-storage-client.service.spec.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/server/src/modules/files-storage-client/mapper/copy-files-of-parent-param.builder.spec.ts b/apps/server/src/modules/files-storage-client/mapper/copy-files-of-parent-param.builder.spec.ts index 89193019d00..c3d9fb9573a 100644 --- a/apps/server/src/modules/files-storage-client/mapper/copy-files-of-parent-param.builder.spec.ts +++ b/apps/server/src/modules/files-storage-client/mapper/copy-files-of-parent-param.builder.spec.ts @@ -1,5 +1,6 @@ import { FileRecordParentType } from '@infra/rabbitmq'; import { ObjectId } from '@mikro-orm/mongodb'; +import { StorageLocation } from '@modules/files-storage/entity'; import { lessonFactory, setupEntities, taskFactory } from '@shared/testing'; import { CopyFilesOfParentParamBuilder } from './copy-files-of-parent-param.builder'; import { FileParamBuilder } from './files-storage-param.builder'; diff --git a/apps/server/src/modules/files-storage-client/service/copy-files.service.ts b/apps/server/src/modules/files-storage-client/service/copy-files.service.ts index 3d813c3e3a1..4868e518160 100644 --- a/apps/server/src/modules/files-storage-client/service/copy-files.service.ts +++ b/apps/server/src/modules/files-storage-client/service/copy-files.service.ts @@ -1,7 +1,7 @@ import { CopyElementType, CopyHelperService, CopyStatus, CopyStatusEnum } from '@modules/copy-helper'; +import { StorageLocation } from '@modules/files-storage/entity'; import { Injectable } from '@nestjs/common'; import { EntityId } from '@shared/domain/types'; -import { StorageLocation } from '@src/modules/files-storage/entity'; import { CopyFileDto } from '../dto'; import { EntityWithEmbeddedFiles, FileUrlReplacement } from '../interfaces'; import { CopyFilesOfParentParamBuilder, FileParamBuilder } from '../mapper'; diff --git a/apps/server/src/modules/files-storage-client/service/files-storage-client.service.spec.ts b/apps/server/src/modules/files-storage-client/service/files-storage-client.service.spec.ts index a2f0993fcbb..92718bf5c1d 100644 --- a/apps/server/src/modules/files-storage-client/service/files-storage-client.service.spec.ts +++ b/apps/server/src/modules/files-storage-client/service/files-storage-client.service.spec.ts @@ -10,6 +10,7 @@ import { OperationType, } from '@modules/deletion'; import { deletionRequestFactory } from '@modules/deletion/domain/testing'; +import { StorageLocation } from '@modules/files-storage/entity'; import { EventBus } from '@nestjs/cqrs'; import { Test, TestingModule } from '@nestjs/testing'; import { schoolEntityFactory, setupEntities, taskFactory } from '@shared/testing';