fix: restore svg image DataURL dimensions (#8730)

This commit is contained in:
David Luzar
2024-10-29 22:40:24 +01:00
committed by GitHub
parent f9815b8b4f
commit 79b181bcdc
13 changed files with 196 additions and 94 deletions

View File

@@ -106,6 +106,11 @@ export type BinaryFileData = {
* Epoch timestamp in milliseconds.
*/
lastRetrieved?: number;
/**
* indicates the version of the file. This can be used to determine whether
* the file dataURL has changed e.g. as part of restore due to schema update.
*/
version?: number;
};
export type BinaryFileMetadata = Omit<BinaryFileData, "dataURL">;