This commit is contained in:
Manav Rathi 2025-02-19 09:39:15 +05:30
parent 239f08b516
commit f31a6f2401
No known key found for this signature in database
6 changed files with 5 additions and 5 deletions

View File

@ -2,6 +2,7 @@ import { FocusVisibleButton } from "@/base/components/mui/FocusVisibleButton";
import type { ModalVisibilityProps } from "@/base/components/utils/modal";
import log from "@/base/log";
import { downloadManager } from "@/gallery/services/download";
import { extractExifDates } from "@/gallery/services/exif";
import { fileLogID, type EnteFile } from "@/media/file";
import {
decryptPublicMagicMetadata,
@ -11,7 +12,6 @@ import {
} from "@/media/file-metadata";
import { FileType } from "@/media/file-type";
import { PhotoDateTimePicker } from "@/new/photos/components/PhotoDateTimePicker";
import { extractExifDates } from "@/new/photos/services/exif";
import {
Dialog,
DialogContent,

View File

@ -12,6 +12,7 @@ import log from "@/base/log";
import { FileInfo, type FileInfoProps } from "@/gallery/components/FileInfo";
import { type FileInfoExif } from "@/gallery/components/viewer/data-source";
import { downloadManager } from "@/gallery/services/download";
import { extractRawExif, parseExif } from "@/gallery/services/exif";
import type { Collection } from "@/media/collection";
import { fileLogID, type EnteFile } from "@/media/file";
import { FileType } from "@/media/file-type";
@ -19,7 +20,6 @@ import { isHEICExtension, needsJPEGConversion } from "@/media/formats";
import { ConfirmDeleteFileDialog } from "@/new/photos/components/FileViewerComponents";
import { ImageEditorOverlay } from "@/new/photos/components/ImageEditorOverlay";
import { moveToTrash } from "@/new/photos/services/collection";
import { extractRawExif, parseExif } from "@/new/photos/services/exif";
import { usePhotosAppContext } from "@/new/photos/types/context";
import AlbumOutlinedIcon from "@mui/icons-material/AlbumOutlined";
import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";

View File

@ -5,6 +5,7 @@ import { ensureElectron } from "@/base/electron";
import { basename, nameAndExtension } from "@/base/file-name";
import type { PublicAlbumsCredentials } from "@/base/http";
import log from "@/base/log";
import { extractExif } from "@/gallery/services/exif";
import { extractVideoMetadata } from "@/gallery/services/ffmpeg";
import {
getNonEmptyMagicMetadataProps,
@ -38,7 +39,6 @@ import {
import { FileType, type FileTypeInfo } from "@/media/file-type";
import { encodeLivePhoto } from "@/media/live-photo";
import { addToCollection } from "@/new/photos/services/collection";
import { extractExif } from "@/new/photos/services/exif";
import { mergeUint8Arrays } from "@/utils/array";
import { ensureInteger, ensureNumber } from "@/utils/ensure";
import { CustomError, handleUploadError } from "@ente/shared/error";

View File

@ -24,6 +24,7 @@ import { nameAndExtension } from "@/base/file-name";
import log from "@/base/log";
import type { Location } from "@/base/types";
import { CopyButton } from "@/gallery/components/FileInfoComponents";
import { tagNumericValue, type RawExifTags } from "@/gallery/services/exif";
import {
changeCaption,
changeFileName,
@ -49,7 +50,6 @@ import {
aboveFileViewerContentZ,
fileInfoDrawerZ,
} from "@/new/photos/components/utils/z-index";
import { tagNumericValue, type RawExifTags } from "@/new/photos/services/exif";
import {
getAnnotatedFacesForFile,
isMLEnabled,

View File

@ -12,7 +12,7 @@ import {
extractRawExif,
parseExif,
type RawExifTags,
} from "@/new/photos/services/exif";
} from "@/gallery/services/exif";
/**
* This is a subset of the fields expected by PhotoSwipe itself (see the