Retain previous behaviour
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { FileType } from "./file-type";
|
||||
import { FileType } from "./file-type";
|
||||
|
||||
/**
|
||||
* Information about the file that never changes post upload.
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user