refactor(server): android motion photos (#3711)

This commit is contained in:
Jason Rasmussen
2023-09-12 23:46:37 -04:00
committed by GitHub
parent bf3b38a7f2
commit 74d34b4f6c
7 changed files with 106 additions and 156 deletions

View File

@@ -71,6 +71,7 @@ export const IAssetRepository = 'IAssetRepository';
export interface IAssetRepository {
getByDate(ownerId: string, date: Date): Promise<AssetEntity[]>;
getByIds(ids: string[]): Promise<AssetEntity[]>;
getByChecksum(userId: string, checksum: Buffer): Promise<AssetEntity | null>;
getByAlbumId(pagination: PaginationOptions, albumId: string): Paginated<AssetEntity>;
getByUserId(pagination: PaginationOptions, userId: string): Paginated<AssetEntity>;
getWithout(pagination: PaginationOptions, property: WithoutProperty): Paginated<AssetEntity>;