Skip to content

armgit / ente

Public Imported from GitHub
0

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

Rename

Manav Rathib70c21613125
diff --git a/web/apps/photos/src/components/Collections/AllAlbums.tsx b/web/apps/photos/src/components/Collections/AllAlbums.tsx
index 9406779c0b..ca2a032a35 100644
--- a/web/apps/photos/src/components/Collections/AllAlbums.tsx
+++ b/web/apps/photos/src/components/Collections/AllAlbums.tsx
@@ -18,8 +18,10 @@ import {
LargeTileButton,
LargeTileTextOverlay,
} from "ente-new/photos/components/Tiles";
-import type { CollectionSummary } from "ente-new/photos/services/collection/ui";
-import { CollectionsSortBy } from "ente-new/photos/services/collection/ui";
+import {
+ CollectionsSortBy,
+ type CollectionSummary,
+} from "ente-new/photos/services/collection-summary";
import { t } from "i18next";
import memoize from "memoize-one";
import React, { useEffect, useRef, useState } from "react";
diff --git a/web/apps/photos/src/components/Collections/CollectionHeader.tsx b/web/apps/photos/src/components/Collections/CollectionHeader.tsx
index 91a4210ae7..85266d965f 100644
--- a/web/apps/photos/src/components/Collections/CollectionHeader.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionHeader.tsx
@@ -48,7 +48,7 @@ import {
import type {
CollectionSummary,
CollectionSummaryType,
-} from "ente-new/photos/services/collection/ui";
+} from "ente-new/photos/services/collection-summary";
import {
clearLocalTrash,
emptyTrash,
diff --git a/web/apps/photos/src/components/Collections/CollectionShare.tsx b/web/apps/photos/src/components/Collections/CollectionShare.tsx
index 063a4ca94f..623de19983 100644
--- a/web/apps/photos/src/components/Collections/CollectionShare.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionShare.tsx
@@ -64,7 +64,7 @@ import {
type CreatePublicURLAttributes,
type UpdatePublicURLAttributes,
} from "ente-new/photos/services/collection";
-import type { CollectionSummary } from "ente-new/photos/services/collection/ui";
+import type { CollectionSummary } from "ente-new/photos/services/collection-summary";
import { usePhotosAppContext } from "ente-new/photos/types/context";
import { CustomError, parseSharingErrorCodes } from "ente-shared/error";
import { wait } from "ente-utils/promise";
diff --git a/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx b/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx
index 37fc46b1ff..ded05c4a61 100644
--- a/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx
+++ b/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx
@@ -16,7 +16,7 @@ import {
shouldShowOnCollectionBar,
type CollectionsSortBy,
type CollectionSummaries,
-} from "ente-new/photos/services/collection/ui";
+} from "ente-new/photos/services/collection-summary";
import { getData, removeData } from "ente-shared/storage/localStorage";
import { includes } from "ente-utils/type-guards";
import React, { useCallback, useEffect, useMemo, useState } from "react";
diff --git a/web/apps/photos/src/components/Sidebar.tsx b/web/apps/photos/src/components/Sidebar.tsx
index 6af8de34da..c9a8b9ec8b 100644
--- a/web/apps/photos/src/components/Sidebar.tsx
+++ b/web/apps/photos/src/components/Sidebar.tsx
@@ -83,7 +83,7 @@ import {
DUMMY_UNCATEGORIZED_COLLECTION,
TRASH_SECTION,
} from "ente-new/photos/services/collection";
-import type { CollectionSummaries } from "ente-new/photos/services/collection/ui";
+import type { CollectionSummaries } from "ente-new/photos/services/collection-summary";
import exportService from "ente-new/photos/services/export";
import { isMLSupported } from "ente-new/photos/services/ml";
import {
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 914d305c3b..1a296ec2aa 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -76,7 +76,7 @@ import {
createUncategorizedCollection,
DUMMY_UNCATEGORIZED_COLLECTION,
} from "ente-new/photos/services/collection";
-import { areOnlySystemCollections } from "ente-new/photos/services/collection/ui";
+import { areOnlySystemCollections } from "ente-new/photos/services/collection-summary";
import { getAllLocalCollections } from "ente-new/photos/services/collections";
import exportService from "ente-new/photos/services/export";
import {
diff --git a/web/apps/photos/src/services/collectionService.ts b/web/apps/photos/src/services/collectionService.ts
index 394bed0668..c561ee1150 100644
--- a/web/apps/photos/src/services/collectionService.ts
+++ b/web/apps/photos/src/services/collectionService.ts
@@ -12,11 +12,11 @@ import {
isDefaultHiddenCollection,
moveToCollection,
} from "ente-new/photos/services/collection";
-import type { CollectionSummary } from "ente-new/photos/services/collection/ui";
+import type { CollectionSummary } from "ente-new/photos/services/collection-summary";
import {
CollectionSummaryOrder,
CollectionsSortBy,
-} from "ente-new/photos/services/collection/ui";
+} from "ente-new/photos/services/collection-summary";
import { getLocalCollections } from "ente-new/photos/services/collections";
import {
getLocalFiles,
diff --git a/web/packages/new/photos/components/CollectionSelector.tsx b/web/packages/new/photos/components/CollectionSelector.tsx
index 03b609ce0a..7323b91c3e 100644
--- a/web/packages/new/photos/components/CollectionSelector.tsx
+++ b/web/packages/new/photos/components/CollectionSelector.tsx
@@ -22,7 +22,7 @@ import {
CollectionSummaryOrder,
type CollectionSummaries,
type CollectionSummary,
-} from "ente-new/photos/services/collection/ui";
+} from "ente-new/photos/services/collection-summary";
import { t } from "i18next";
import React, { useEffect, useState } from "react";
diff --git a/web/packages/new/photos/components/CollectionsSortOptions.tsx b/web/packages/new/photos/components/CollectionsSortOptions.tsx
index d71b706426..7cec13e47d 100644
--- a/web/packages/new/photos/components/CollectionsSortOptions.tsx
+++ b/web/packages/new/photos/components/CollectionsSortOptions.tsx
@@ -5,7 +5,7 @@ import {
OverflowMenu,
OverflowMenuOption,
} from "ente-base/components/OverflowMenu";
-import type { CollectionsSortBy } from "ente-new/photos/services/collection/ui";
+import type { CollectionsSortBy } from "ente-new/photos/services/collection-summary";
import { t } from "i18next";
import React from "react";
diff --git a/web/packages/new/photos/components/gallery/BarImpl.tsx b/web/packages/new/photos/components/gallery/BarImpl.tsx
index fa928fbfbb..bd3d94fb1e 100644
--- a/web/packages/new/photos/components/gallery/BarImpl.tsx
+++ b/web/packages/new/photos/components/gallery/BarImpl.tsx
@@ -25,7 +25,7 @@ import type {
CollectionSummary,
CollectionSummaryType,
CollectionsSortBy,
-} from "ente-new/photos/services/collection/ui";
+} from "ente-new/photos/services/collection-summary";
import type { Person } from "ente-new/photos/services/ml/people";
import { t } from "i18next";
import React, {
diff --git a/web/packages/new/photos/components/gallery/reducer.ts b/web/packages/new/photos/components/gallery/reducer.ts
index 2f55a9f3c0..9fe1c45785 100644
--- a/web/packages/new/photos/components/gallery/reducer.ts
+++ b/web/packages/new/photos/components/gallery/reducer.ts
@@ -28,7 +28,7 @@ import {
import type {
CollectionSummary,
CollectionSummaryType,
-} from "../../services/collection/ui";
+} from "../../services/collection-summary";
import {
createFileCollectionIDs,
getLatestVersionFiles,
diff --git a/web/packages/new/photos/services/collection/ui.ts b/web/packages/new/photos/services/collection-summary.ts
similarity index 100%
rename from web/packages/new/photos/services/collection/ui.ts
rename to web/packages/new/photos/services/collection-summary.ts