Skip to content

armgit / ente

Public Imported from GitHub
0

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

Doc lat/lng

Manav Rathiaecd7dc9f935
diff --git a/web/packages/new/photos/types/file.ts b/web/packages/new/photos/types/file.ts
index 38b6236c13..03055cbf25 100644
--- a/web/packages/new/photos/types/file.ts
+++ b/web/packages/new/photos/types/file.ts
@@ -157,10 +157,28 @@ export interface FilePublicMagicMetadataProps {
*/
caption?: string;
uploaderName?: string;
- /** Width of the image / video, in pixels. */
+ /**
+ * Width of the image / video, in pixels.
+ */
w?: number;
- /** Height of the image / video, in pixels. */
+ /**
+ * Height of the image / video, in pixels.
+ */
h?: number;
+ /**
+ * Edited latitude for the {@link EnteFile}.
+ *
+ * If the user edits the location (latitude and longitude) of a file within
+ * Ente, then the edits will be stored as the {@link lat} and {@link long}
+ * properties in the file's public magic metadata.
+ */
+ lat?: number;
+ /**
+ * Edited longitude for the {@link EnteFile}.
+ *
+ * See {@link long}.
+ */
+ long?: number;
}
export type FilePublicMagicMetadata =