Doc lat/lng

This commit is contained in:
Manav Rathi
2024-10-03 12:07:53 +05:30
parent 8ccfe3c609
commit aecd7dc9f9

View File

@@ -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 =