mirror of
https://github.com/immich-app/immich.git
synced 2026-05-23 07:22:31 -04:00
fix tests
This commit is contained in:
@@ -476,7 +476,6 @@ export type UpdateLibraryDto = {
|
||||
name?: string;
|
||||
};
|
||||
export type ScanLibraryDto = {
|
||||
checkForOffline?: boolean;
|
||||
refreshAllFiles?: boolean;
|
||||
refreshModifiedFiles?: boolean;
|
||||
};
|
||||
@@ -1943,6 +1942,14 @@ export function scanLibrary({ id, scanLibraryDto }: {
|
||||
body: scanLibraryDto
|
||||
})));
|
||||
}
|
||||
export function scanDeletedFiles({ id }: {
|
||||
id: string;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchText(`/library/${encodeURIComponent(id)}/scanDeleted`, {
|
||||
...opts,
|
||||
method: "POST"
|
||||
}));
|
||||
}
|
||||
export function getLibraryStatistics({ id }: {
|
||||
id: string;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
|
||||
Reference in New Issue
Block a user