diff --git a/apps/server/src/modules/files-storage/uc/files-storage.uc.ts b/apps/server/src/modules/files-storage/uc/files-storage.uc.ts index 0d715939834..352ce492bb6 100644 --- a/apps/server/src/modules/files-storage/uc/files-storage.uc.ts +++ b/apps/server/src/modules/files-storage/uc/files-storage.uc.ts @@ -3,9 +3,9 @@ import { AuthorizationContext } from '@modules/authorization'; import { AuthorizationReferenceService } from '@modules/authorization/domain'; import { HttpService } from '@nestjs/axios'; import { Injectable, NotFoundException } from '@nestjs/common'; -import { EntityId } from '@shared/domain/types'; +import { Counted, EntityId } from '@shared/domain/types'; import { LegacyLogger } from '@src/core/logger'; -import { AxiosRequestConfig } from 'axios'; +import { AxiosRequestConfig, AxiosResponse } from 'axios'; import busboy from 'busboy'; import { Request } from 'express'; import { firstValueFrom } from 'rxjs'; @@ -25,6 +25,7 @@ import { import { FileRecord, FileRecordParentType } from '../entity'; import { ErrorType } from '../error'; import { FileStorageAuthorizationContext } from '../files-storage.const'; +import { GetFileResponse } from '../interface'; import { FileDtoBuilder, FilesStorageMapper } from '../mapper'; import { FilesStorageService } from '../service/files-storage.service'; import { PreviewService } from '../service/preview.service';