remove unwanted type

This commit is contained in:
Abhinav 2023-02-09 23:48:25 +05:30
parent d065c171a7
commit 9e1fdfe3f2

View file

@ -2,8 +2,6 @@ import { CollectionSelectorAttributes } from 'components/Collections/CollectionS
import { TimeStampListItem } from 'components/PhotoList';
import { Collection } from 'types/collection';
import { EnteFile } from 'types/file';
import { Person, ThingClass, WordGroup } from 'types/machineLearning';
import { DateValue, Bbox } from 'types/search';
export type SelectedState = {
[k: number]: boolean;
@ -13,20 +11,6 @@ export type SelectedState = {
};
export type SetFiles = React.Dispatch<React.SetStateAction<EnteFile[]>>;
export type SetCollections = React.Dispatch<React.SetStateAction<Collection[]>>;
export type setSearchStats = React.Dispatch<React.SetStateAction<SearchStats>>;
export type Search = {
date?: DateValue;
location?: Bbox;
fileIndex?: number;
person?: Person;
thing?: ThingClass;
text?: WordGroup;
};
export interface SearchStats {
resultCount: number;
timeTaken: number;
}
export type SetLoading = React.Dispatch<React.SetStateAction<boolean>>;
export type SetCollectionSelectorAttributes = React.Dispatch<
React.SetStateAction<CollectionSelectorAttributes>