mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
8 lines
286 B
TypeScript
8 lines
286 B
TypeScript
export const ITrashRepository = 'ITrashRepository';
|
|
|
|
export interface ITrashRepository {
|
|
empty(userId: string): Promise<number>;
|
|
restore(userId: string): Promise<number>;
|
|
restoreAll(assetIds: string[]): Promise<number>;
|
|
getDeletedIds(): AsyncIterableIterator<{ id: string }>;
|
|
}
|