Retain previous behaviour

This commit is contained in:
Manav Rathi
2024-07-27 20:22:49 +05:30
parent e1923fdebd
commit 08833390bc
2 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
import type { FileType } from "./file-type";
import { FileType } from "./file-type";
/**
* Information about the file that never changes post upload.

View File

@@ -12,6 +12,15 @@ export enum FileType {
* containing both the parts.
*/
livePhoto = 2,
/**
* An unknown file type.
*
* The exact value here doesn't matter (and won't likely match what we get
* from remote). This instead is serving as a placeholder, forcing us to
* deal with the scenario that an EnteFile's type can be different from one
* of the above.
*/
other = 3,
}
export interface FileTypeInfo {