Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Note

Manav Rathi6abea7ae6dff
diff --git a/web/packages/gallery/services/file-data.ts b/web/packages/gallery/services/file-data.ts
index 23e3225442..307d1da7f9 100644
--- a/web/packages/gallery/services/file-data.ts
+++ b/web/packages/gallery/services/file-data.ts
@@ -137,9 +137,21 @@ export const fetchFileData = async (
* structure has more fields, there are just the fields we are interested in.
*/
const RemoteFDStatus = z.object({
+ /**
+ * The ID of the file whose file data we're querying.
+ */
fileID: z.number(),
- /** Expected to be one of {@link FileDataType} */
+ /**
+ * Expected to be one of {@link FileDataType}
+ */
type: z.string(),
+ /**
+ * `true` if the file data has been deleted.
+ *
+ * This can be true in the in-progress partial deletion case, which the file
+ * data deletion has been processed but the file deletion has not yet been
+ * processed.
+ */
isDeleted: z.boolean(),
/**
* The epoch microseconds when this file data entry was added or updated.