mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
11 lines
365 B
TypeScript
11 lines
365 B
TypeScript
|
|
import { Paginated, PaginationOptions } from 'src/utils/pagination';
|
||
|
|
|
||
|
|
export const ITrashRepository = 'ITrashRepository';
|
||
|
|
|
||
|
|
export interface ITrashRepository {
|
||
|
|
empty(userId: string): Promise<number>;
|
||
|
|
restore(userId: string): Promise<number>;
|
||
|
|
restoreAll(assetIds: string[]): Promise<number>;
|
||
|
|
getDeletedIds(pagination: PaginationOptions): Paginated<string>;
|
||
|
|
}
|