Rename
This commit is contained in:
@@ -3,7 +3,7 @@ import {
|
||||
ItemCard,
|
||||
LargeTileTextOverlay,
|
||||
} from "@/new/photos/components/ItemCards";
|
||||
import type { CollectionSummary } from "@/new/photos/types/collection";
|
||||
import type { CollectionSummary } from "@/new/photos/services/collection/ui";
|
||||
import { FlexWrapper } from "@ente/shared/components/Container";
|
||||
import useWindowSize from "@ente/shared/hooks/useWindowSize";
|
||||
import { DialogContent, Typography } from "@mui/material";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { CollectionsSortOptions } from "@/new/photos/components/CollectionsSortOptions";
|
||||
import { FilledIconButton } from "@/new/photos/components/mui";
|
||||
import { SlideUpTransition } from "@/new/photos/components/mui/SlideUpTransition";
|
||||
import type { CollectionSummary } from "@/new/photos/types/collection";
|
||||
import { CollectionsSortBy } from "@/new/photos/types/collection";
|
||||
import type { CollectionSummary } from "@/new/photos/services/collection/ui";
|
||||
import { CollectionsSortBy } from "@/new/photos/services/collection/ui";
|
||||
import { FlexWrapper, FluidContainer } from "@ente/shared/components/Container";
|
||||
import Close from "@mui/icons-material/Close";
|
||||
import {
|
||||
|
||||
@@ -10,7 +10,7 @@ import { SpaceBetweenFlex } from "@/new/photos/components/mui";
|
||||
import type {
|
||||
CollectionSummary,
|
||||
CollectionSummaryType,
|
||||
} from "@/new/photos/types/collection";
|
||||
} from "@/new/photos/services/collection/ui";
|
||||
import { HorizontalFlex } from "@ente/shared/components/Container";
|
||||
import EnteSpinner from "@ente/shared/components/EnteSpinner";
|
||||
import OverflowMenu, {
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
CollectionSummaryOrder,
|
||||
type CollectionSummaries,
|
||||
type CollectionSummary,
|
||||
} from "@/new/photos/types/collection";
|
||||
} from "@/new/photos/services/collection/ui";
|
||||
import { FlexWrapper } from "@ente/shared/components/Container";
|
||||
import DialogTitleWithCloseButton from "@ente/shared/components/DialogBox/TitleWithCloseButton";
|
||||
import {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { EnteDrawer } from "@/base/components/EnteDrawer";
|
||||
import { Titlebar } from "@/base/components/Titlebar";
|
||||
import type { Collection } from "@/media/collection";
|
||||
import type { CollectionSummary } from "@/new/photos/types/collection";
|
||||
import type { CollectionSummary } from "@/new/photos/services/collection/ui";
|
||||
import { DialogProps, Stack } from "@mui/material";
|
||||
import { t } from "i18next";
|
||||
import EmailShare from "./emailShare";
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
collectionsSortBy,
|
||||
type CollectionsSortBy,
|
||||
type CollectionSummaries,
|
||||
} from "@/new/photos/types/collection";
|
||||
} from "@/new/photos/services/collection/ui";
|
||||
import { includes } from "@/utils/type-guards";
|
||||
import {
|
||||
getData,
|
||||
|
||||
@@ -4,7 +4,7 @@ import { EnteDrawer } from "@/base/components/EnteDrawer";
|
||||
import log from "@/base/log";
|
||||
import { savedLogs } from "@/base/log-web";
|
||||
import { customAPIHost } from "@/base/origins";
|
||||
import type { CollectionSummaries } from "@/new/photos/types/collection";
|
||||
import type { CollectionSummaries } from "@/new/photos/services/collection/ui";
|
||||
import { initiateEmail, openURL } from "@/new/photos/utils/web";
|
||||
import { SpaceBetweenFlex } from "@ente/shared/components/Container";
|
||||
import { EnteLogo } from "@ente/shared/components/EnteLogo";
|
||||
|
||||
@@ -15,6 +15,7 @@ import {
|
||||
} from "@/new/photos/components/SearchBar";
|
||||
import { WhatsNew } from "@/new/photos/components/WhatsNew";
|
||||
import { shouldShowWhatsNew } from "@/new/photos/services/changelog";
|
||||
import type { CollectionSummaries } from "@/new/photos/services/collection/ui";
|
||||
import downloadManager from "@/new/photos/services/download";
|
||||
import {
|
||||
getLocalFiles,
|
||||
@@ -28,7 +29,6 @@ import {
|
||||
setSearchCollectionsAndFiles,
|
||||
} from "@/new/photos/services/search";
|
||||
import type { SearchOption } from "@/new/photos/services/search/types";
|
||||
import type { CollectionSummaries } from "@/new/photos/types/collection";
|
||||
import { EnteFile } from "@/new/photos/types/file";
|
||||
import { mergeMetadata } from "@/new/photos/utils/file";
|
||||
import { ensure } from "@/utils/ensure";
|
||||
|
||||
@@ -19,16 +19,16 @@ import {
|
||||
UpdatePublicURL,
|
||||
} from "@/media/collection";
|
||||
import { ItemVisibility } from "@/media/file-metadata";
|
||||
import { getLocalFiles, sortFiles } from "@/new/photos/services/files";
|
||||
import type {
|
||||
CollectionSummaries,
|
||||
CollectionSummary,
|
||||
CollectionSummaryType,
|
||||
} from "@/new/photos/types/collection";
|
||||
} from "@/new/photos/services/collection/ui";
|
||||
import {
|
||||
CollectionSummaryOrder,
|
||||
CollectionsSortBy,
|
||||
} from "@/new/photos/types/collection";
|
||||
} from "@/new/photos/services/collection/ui";
|
||||
import { getLocalFiles, sortFiles } from "@/new/photos/services/files";
|
||||
import { EnteFile } from "@/new/photos/types/file";
|
||||
import {
|
||||
EncryptedMagicMetadata,
|
||||
|
||||
@@ -8,11 +8,11 @@ import {
|
||||
CollectionType,
|
||||
} from "@/media/collection";
|
||||
import { ItemVisibility } from "@/media/file-metadata";
|
||||
import { getAllLocalFiles, getLocalFiles } from "@/new/photos/services/files";
|
||||
import type {
|
||||
CollectionSummaries,
|
||||
CollectionSummaryType,
|
||||
} from "@/new/photos/types/collection";
|
||||
} from "@/new/photos/services/collection/ui";
|
||||
import { getAllLocalFiles, getLocalFiles } from "@/new/photos/services/files";
|
||||
import { EnteFile } from "@/new/photos/types/file";
|
||||
import { SUB_TYPE } from "@/new/photos/types/magicMetadata";
|
||||
import { safeDirectoryName } from "@/new/photos/utils/native-fs";
|
||||
|
||||
@@ -113,7 +113,6 @@ export function getSelectedFiles(
|
||||
return files.filter((file) => selectedFilesIDs.has(file.id));
|
||||
}
|
||||
|
||||
|
||||
export async function decryptFile(
|
||||
file: EncryptedEnteFile,
|
||||
collectionKey: string,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionsSortBy } from "@/new/photos/types/collection";
|
||||
import type { CollectionsSortBy } from "@/new/photos/services/collection/ui";
|
||||
import OverflowMenu from "@ente/shared/components/OverflowMenu/menu";
|
||||
import { OverflowMenuOption } from "@ente/shared/components/OverflowMenu/option";
|
||||
import TickIcon from "@mui/icons-material/Done";
|
||||
|
||||
@@ -11,12 +11,12 @@ import {
|
||||
MIN_COLUMNS,
|
||||
} from "@/new/photos/components/PhotoList";
|
||||
import { UnstyledButton } from "@/new/photos/components/UnstyledButton";
|
||||
import type { Person } from "@/new/photos/services/ml/people";
|
||||
import type {
|
||||
CollectionSummary,
|
||||
CollectionSummaryType,
|
||||
CollectionsSortBy,
|
||||
} from "@/new/photos/types/collection";
|
||||
} from "@/new/photos/services/collection/ui";
|
||||
import type { Person } from "@/new/photos/services/ml/people";
|
||||
import { ensure } from "@/utils/ensure";
|
||||
import { Overlay } from "@ente/shared/components/Container";
|
||||
import ArchiveIcon from "@mui/icons-material/Archive";
|
||||
|
||||
Reference in New Issue
Block a user