prepare FileModel to manage files, cleanup
This commit is contained in:
@@ -3,3 +3,7 @@ export const DATA_VERSION = "v2"
|
||||
export function checkIsValidObject(object: any): boolean {
|
||||
return object.dataVersion == DATA_VERSION;
|
||||
}
|
||||
|
||||
export interface ValidObject {
|
||||
dataVersion: "v2";
|
||||
}
|
||||
Reference in New Issue
Block a user