chore(server): remove unused code (#9746)

This commit is contained in:
Jason Rasmussen 2024-05-25 06:15:07 -04:00 committed by GitHub
parent d5cf8e4bfe
commit 9e71256191
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 17 additions and 89 deletions

View file

@ -4,7 +4,6 @@ import { LibraryEntity } from 'src/entities/library.entity';
export const ILibraryRepository = 'ILibraryRepository';
export interface ILibraryRepository {
getCountForUser(ownerId: string): Promise<number>;
getAll(withDeleted?: boolean): Promise<LibraryEntity[]>;
getAllDeleted(): Promise<LibraryEntity[]>;
get(id: string, withDeleted?: boolean): Promise<LibraryEntity | null>;
@ -12,6 +11,6 @@ export interface ILibraryRepository {
delete(id: string): Promise<void>;
softDelete(id: string): Promise<void>;
update(library: Partial<LibraryEntity>): Promise<LibraryEntity>;
getStatistics(id: string): Promise<LibraryStatsResponseDto>;
getStatistics(id: string): Promise<LibraryStatsResponseDto | undefined>;
getAssetIds(id: string, withDeleted?: boolean): Promise<string[]>;
}