Explore pane infinite loading (#13738)

* swr for infinite loading

* search detail language change

* drawer padding

* spacing

* center calendar

* padding

* catch error

* use limit const
This commit is contained in:
Josh Hawkins
2024-09-14 08:42:56 -05:00
committed by GitHub
parent 088a0fb4a5
commit 2a66923524
9 changed files with 162 additions and 36 deletions

View File

@@ -38,3 +38,20 @@ export type SearchFilter = {
search_type?: SearchSource[];
event_id?: string;
};
export type SearchQueryParams = {
cameras?: string[];
labels?: string[];
sub_labels?: string[];
zones?: string[];
before?: string;
after?: string;
search_type?: string;
limit?: number;
in_progress?: number;
include_thumbnails?: number;
query?: string;
page?: number;
};
export type SearchQuery = [string, SearchQueryParams] | null;