π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
LF
Manav Rathi3cca9512dfe0
diff --git a/web/apps/photos/src/components/Search/SearchBar/searchInput/index.tsx b/web/apps/photos/src/components/Search/SearchBar/searchInput/index.tsxindex 1317464b49..18b7289915 100644--- a/web/apps/photos/src/components/Search/SearchBar/searchInput/index.tsx+++ b/web/apps/photos/src/components/Search/SearchBar/searchInput/index.tsx@@ -1,6 +1,9 @@import { FileType } from "@/media/file-type";import { isMLEnabled } from "@/new/photos/services/ml";-import type { SearchPerson } from "@/new/photos/services/search";+import type {+ SearchDateComponents,+ SearchPerson,+} from "@/new/photos/services/search/types";import { EnteFile } from "@/new/photos/types/file";import CloseIcon from "@mui/icons-material/Close";import { IconButton } from "@mui/material";@@ -21,7 +24,6 @@ import { Collection } from "types/collection";import { LocationTagData } from "types/entity";import {ClipSearchScores,- DateValue,Search,SearchOption,SuggestionType,@@ -118,7 +120,7 @@ export default function SearchInput(props: Iprops) {switch (selectedOption.type) {case SuggestionType.DATE:search = {- date: selectedOption.value as DateValue,+ date: selectedOption.value as SearchDateComponents,};props.setIsOpen(true);break;diff --git a/web/packages/new/photos/components/PeopleList.tsx b/web/packages/new/photos/components/PeopleList.tsxindex d3d6fe0c9c..7c42d157dd 100644--- a/web/packages/new/photos/components/PeopleList.tsx+++ b/web/packages/new/photos/components/PeopleList.tsx@@ -3,7 +3,7 @@ import type { EnteFile } from "@/new/photos/types/file";import { Skeleton, Typography, styled } from "@mui/material";import { t } from "i18next";import React, { useEffect, useState } from "react";-import type { SearchPerson } from "../services/search";+import type { SearchPerson } from "../services/search/types";export interface PeopleListProps {people: SearchPerson[];