forked from Github/frigate
Motion timeline data (#10245)
* Refactor activity api to send motion and audio data * Prepare for using motion data timeline * Get working * reduce to 0 * fix * Formatting * fix typing * add motion data to timelines and allow motion cameas to be selectable * Fix tests * cleanup * Fix not loading preview when changing hours
This commit is contained in:
@@ -37,3 +37,9 @@ export type ReviewSummary = {
|
||||
total_detection: number;
|
||||
total_motion: number;
|
||||
};
|
||||
|
||||
export type MotionData = {
|
||||
start_time: number;
|
||||
motion: number;
|
||||
audio: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user