prepare FileModel to manage files, cleanup

This commit is contained in:
marlon-erler
2024-07-21 23:32:20 +02:00
parent 5443d045db
commit e2c01138bb
5 changed files with 98 additions and 23 deletions
+4
View File
@@ -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";
}