feat(server): memory includes partners assets on timeline (#7993)

* feat(server): memory includes partners assets on timeline

* remove unsued code, generate sql

* fix test

* add test
This commit is contained in:
Alex
2024-03-18 14:46:52 -05:00
committed by GitHub
parent cd8a124b25
commit 761e7fdd2d
5 changed files with 28 additions and 89 deletions
@@ -123,7 +123,7 @@ export interface IAssetRepository {
select?: FindOptionsSelect<AssetEntity>,
): Promise<AssetEntity[]>;
getByIdsWithAllRelations(ids: string[]): Promise<AssetEntity[]>;
getByDayOfYear(ownerId: string, monthDay: MonthDay): Promise<AssetEntity[]>;
getByDayOfYear(ownerIds: string[], monthDay: MonthDay): Promise<AssetEntity[]>;
getByChecksum(userId: string, checksum: Buffer): Promise<AssetEntity | null>;
getByAlbumId(pagination: PaginationOptions, albumId: string): Paginated<AssetEntity>;
getByUserId(pagination: PaginationOptions, userId: string, options?: AssetSearchOptions): Paginated<AssetEntity>;