From aecd7dc9f9351b67a56c451cd2748c818fabb9f0 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 3 Oct 2024 12:07:53 +0530 Subject: [PATCH] Doc lat/lng --- web/packages/new/photos/types/file.ts | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) 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 =