refactor(server): view repository (#12755)

This commit is contained in:
Jason Rasmussen 2024-09-17 16:32:09 -04:00 committed by GitHub
parent f53e4721cf
commit 1e6ef5c9e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 159 additions and 166 deletions

View file

@ -147,8 +147,6 @@ export type AssetPathEntity = Pick<AssetEntity, 'id' | 'originalPath' | 'isOffli
export const IAssetRepository = 'IAssetRepository';
export interface IAssetRepository {
getAssetsByOriginalPath(userId: string, partialPath: string): Promise<AssetEntity[]>;
getUniqueOriginalPaths(userId: string): Promise<string[]>;
create(asset: AssetCreate): Promise<AssetEntity>;
getByIds(
ids: string[],