refactor: asset v1, app.utils (#8152)

This commit is contained in:
Jason Rasmussen
2024-03-21 08:07:47 -05:00
committed by GitHub
parent 87ccba7f9d
commit 382b63954c
34 changed files with 518 additions and 548 deletions

View File

@@ -4,9 +4,9 @@ import { NextFunction, Response } from 'express';
import { AssetIdsDto } from 'src/dtos/asset.dto';
import { AuthDto } from 'src/dtos/auth.dto';
import { DownloadInfoDto, DownloadResponseDto } from 'src/dtos/download.dto';
import { asStreamableFile, sendFile } from 'src/immich/app.utils';
import { Auth, Authenticated, FileResponse, SharedLinkRoute } from 'src/middleware/auth.guard';
import { DownloadService } from 'src/services/download.service';
import { asStreamableFile, sendFile } from 'src/utils/file';
import { UUIDParamDto } from 'src/validation';
@ApiTags('Download')