mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +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 }>;
|
|
}
|