forked from Cutlery/immich
better typing
This commit is contained in:
parent
7e07b74406
commit
27a57a0c3a
@ -120,7 +120,7 @@ export class StorageCore {
|
|||||||
return path.startsWith(THUMBNAIL_DIR) || path.startsWith(ENCODED_VIDEO_DIR);
|
return path.startsWith(THUMBNAIL_DIR) || path.startsWith(ENCODED_VIDEO_DIR);
|
||||||
}
|
}
|
||||||
|
|
||||||
async moveAssetImage(asset: AssetEntity, pathType: GeneratedAssetType, format: ImageFormat) {
|
async moveAssetImage(asset: AssetEntity, pathType: GeneratedImageType, format: ImageFormat) {
|
||||||
const { id: entityId, previewPath, thumbnailPath } = asset;
|
const { id: entityId, previewPath, thumbnailPath } = asset;
|
||||||
return this.moveFile({
|
return this.moveFile({
|
||||||
entityId,
|
entityId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user