diff --git a/src/backend/middlewares/RenderingMWs.ts b/src/backend/middlewares/RenderingMWs.ts index f0a6d254..c8ec2d91 100644 --- a/src/backend/middlewares/RenderingMWs.ts +++ b/src/backend/middlewares/RenderingMWs.ts @@ -56,6 +56,7 @@ export class RenderingMWs { return next(); } + // eslint-disable-next-line @typescript-eslint/no-unused-vars const { password, creator, ...sharing } = req.resultPipe as SharingDTO; RenderingMWs.renderMessage(res, sharing); } diff --git a/src/backend/middlewares/admin/SettingsMWs.ts b/src/backend/middlewares/admin/SettingsMWs.ts index 6b7f2067..fea8ff79 100644 --- a/src/backend/middlewares/admin/SettingsMWs.ts +++ b/src/backend/middlewares/admin/SettingsMWs.ts @@ -21,7 +21,7 @@ import { import { ClientAlbumConfig, ClientFacesConfig, - ClientMapConfig, ClientMediaConfig, + ClientMapConfig, ClientMetaFileConfig, ClientPhotoConfig, ClientRandomPhotoConfig, diff --git a/src/backend/model/DiskManger.ts b/src/backend/model/DiskManger.ts index d4bb0af5..4e31d89e 100644 --- a/src/backend/model/DiskManger.ts +++ b/src/backend/model/DiskManger.ts @@ -1,15 +1,14 @@ import { - DirectoryDTOUtils, ParentDirectoryDTO, } from '../../common/entities/DirectoryDTO'; -import { Logger } from '../Logger'; -import { Config } from '../../common/config/private/Config'; -import { DiskManagerTH } from './threading/ThreadPool'; +import {Logger} from '../Logger'; +import {Config} from '../../common/config/private/Config'; +import {DiskManagerTH} from './threading/ThreadPool'; import { DirectoryScanSettings, DiskMangerWorker, } from './threading/DiskMangerWorker'; -import { FileDTO } from '../../common/entities/FileDTO'; +import {FileDTO} from '../../common/entities/FileDTO'; const LOG_TAG = '[DiskManager]'; diff --git a/src/backend/model/database/memory/AlbumManager.ts b/src/backend/model/database/memory/AlbumManager.ts index 09e4ede1..9a6a510a 100644 --- a/src/backend/model/database/memory/AlbumManager.ts +++ b/src/backend/model/database/memory/AlbumManager.ts @@ -1,6 +1,5 @@ -import { AlbumBaseDTO } from '../../../../common/entities/album/AlbumBaseDTO'; -import { SearchQueryDTO } from '../../../../common/entities/SearchQueryDTO'; -import { IAlbumManager } from '../interfaces/IAlbumManager'; +import {AlbumBaseDTO} from '../../../../common/entities/album/AlbumBaseDTO'; +import {IAlbumManager} from '../interfaces/IAlbumManager'; export class AlbumManager implements IAlbumManager { resetPreviews(): Promise { @@ -11,27 +10,15 @@ export class AlbumManager implements IAlbumManager { throw new Error('not supported by memory DB'); } - public async onGalleryIndexUpdate(): Promise { + public async addIfNotExistSavedSearch(): Promise { throw new Error('not supported by memory DB'); } - public async addIfNotExistSavedSearch( - name: string, - searchQuery: SearchQueryDTO, - lockedAlbum?: boolean - ): Promise { + public async addSavedSearch(): Promise { throw new Error('not supported by memory DB'); } - public async addSavedSearch( - name: string, - searchQuery: SearchQueryDTO, - lockedAlbum?: boolean - ): Promise { - throw new Error('not supported by memory DB'); - } - - public async deleteAlbum(id: number): Promise { + public async deleteAlbum(): Promise { throw new Error('not supported by memory DB'); }