mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
10 lines
365 B
TypeScript
10 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>;
|
|
}
|