Explore view fixes (#13726)

* return description consistently under data object

* description type

* navigate to history view from explore video tab
This commit is contained in:
Josh Hawkins
2024-09-13 15:44:31 -05:00
committed by GitHub
parent 5ff476c6f9
commit 5aee70ac7a
4 changed files with 89 additions and 25 deletions

View File

@@ -3,7 +3,6 @@ export type SearchSource = "similarity" | "thumbnail" | "description";
export type SearchResult = {
id: string;
camera: string;
description?: string;
start_time: number;
end_time?: number;
score: number;
@@ -25,6 +24,7 @@ export type SearchResult = {
area: number;
ratio: number;
type: "object" | "audio" | "manual";
description?: string;
};
};