π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Move
Manav Rathic4e54d1a6ddc
diff --git a/web/apps/photos/src/services/publicCollectionService.ts b/web/apps/photos/src/services/publicCollectionService.tsindex 39b62d83db..493f2f7deb 100644--- a/web/apps/photos/src/services/publicCollectionService.ts+++ b/web/apps/photos/src/services/publicCollectionService.ts@@ -11,7 +11,6 @@ import { sortFiles } from "@/new/photos/services/files";import { CustomError, parseSharingErrorCodes } from "@ente/shared/error";import HTTPService from "@ente/shared/network/HTTPService";import localForage from "@ente/shared/storage/localForage";-import { LocalSavedPublicCollectionFiles } from "types/publicCollection";import { decryptFile } from "utils/file";const PUBLIC_COLLECTION_FILES_TABLE = "public-collection-files";@@ -43,6 +42,11 @@ export const savePublicCollectionUploaderName = async (uploaderName,);+export interface LocalSavedPublicCollectionFiles {+ collectionUID: string;+ files: EnteFile[];+}+export const getLocalPublicFiles = async (collectionUID: string) => {const localSavedPublicCollectionFiles =(diff --git a/web/apps/photos/src/types/publicCollection/index.ts b/web/apps/photos/src/types/publicCollection/index.tsindex 7f8a0995b1..f11dd79059 100644--- a/web/apps/photos/src/types/publicCollection/index.ts+++ b/web/apps/photos/src/types/publicCollection/index.ts@@ -1,5 +1,4 @@import type { PublicURL } from "@/media/collection";-import { EnteFile } from "@/media/file";import { TimeStampListItem } from "components/PhotoList";export interface PublicCollectionGalleryContextType {@@ -11,11 +10,6 @@ export interface PublicCollectionGalleryContextType {photoListFooter: TimeStampListItem;}-export interface LocalSavedPublicCollectionFiles {- collectionUID: string;- files: EnteFile[];-}-export type SetPublicShareProp = React.Dispatch<React.SetStateAction<PublicURL>>;