forked from Github/frigate
Reviewed buttons (#10271)
* mark items as reviewed when they are opened * Update api to use json and add button to mark all as reviewed * fix api so last24 hours has its own review summary * fix sidebar spacing * formatting * Bug fixes * Make motion activity respect filters
This commit is contained in:
@@ -28,7 +28,7 @@ export type ReviewFilter = {
|
||||
showReviewed?: 0 | 1;
|
||||
};
|
||||
|
||||
export type ReviewSummary = {
|
||||
type ReviewSummaryDay = {
|
||||
day: string;
|
||||
reviewed_alert: number;
|
||||
reviewed_detection: number;
|
||||
@@ -38,6 +38,10 @@ export type ReviewSummary = {
|
||||
total_motion: number;
|
||||
};
|
||||
|
||||
export type ReviewSummary = {
|
||||
[day: string]: ReviewSummaryDay;
|
||||
};
|
||||
|
||||
export type MotionData = {
|
||||
start_time: number;
|
||||
motion: number;
|
||||
|
||||
Reference in New Issue
Block a user