1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-26 10:50:29 +02:00

chore: organize library imports (#4396)

This commit is contained in:
Jason Rasmussen 2023-10-08 23:52:12 -04:00 committed by GitHub
parent d8e66acd02
commit 9070a361bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,10 +7,9 @@ import { basename, parse } from 'path';
import { AccessCore, IAccessRepository, Permission } from '../access'; import { AccessCore, IAccessRepository, Permission } from '../access';
import { IAssetRepository, WithProperty } from '../asset'; import { IAssetRepository, WithProperty } from '../asset';
import { AuthUserDto } from '../auth'; import { AuthUserDto } from '../auth';
import { usePagination } from '../domain.util';
import { ICryptoRepository } from '../crypto'; import { ICryptoRepository } from '../crypto';
import { mimeTypes } from '../domain.constant'; import { mimeTypes } from '../domain.constant';
import { usePagination } from '../domain.util';
import { import {
IBaseJob, IBaseJob,
IEntityJob, IEntityJob,
@ -18,8 +17,8 @@ import {
ILibraryFileJob, ILibraryFileJob,
ILibraryRefreshJob, ILibraryRefreshJob,
IOfflineLibraryFileJob, IOfflineLibraryFileJob,
JobName,
JOBS_ASSET_PAGINATION_SIZE, JOBS_ASSET_PAGINATION_SIZE,
JobName,
} from '../job'; } from '../job';
import { IStorageRepository } from '../storage'; import { IStorageRepository } from '../storage';
import { IUserRepository } from '../user'; import { IUserRepository } from '../user';
@ -27,9 +26,9 @@ import {
CreateLibraryDto, CreateLibraryDto,
LibraryResponseDto, LibraryResponseDto,
LibraryStatsResponseDto, LibraryStatsResponseDto,
mapLibrary,
ScanLibraryDto, ScanLibraryDto,
UpdateLibraryDto, UpdateLibraryDto,
mapLibrary,
} from './library.dto'; } from './library.dto';
import { ILibraryRepository } from './library.repository'; import { ILibraryRepository } from './library.repository';