Improve review mqtt topic (#11072)

* Don't request preview for current hour and fix content type

* Send before / after on messages

* Send before / after for end

* Handle specific cases

* remove log

* Fix update type
This commit is contained in:
Nicolas Mowen
2024-04-22 20:20:30 -06:00
committed by GitHub
parent d6e93d039d
commit 2d71cd7fe2
5 changed files with 70 additions and 16 deletions

View File

@@ -31,7 +31,8 @@ type FrigateObjectState = {
export interface FrigateReview {
type: "new" | "update" | "end";
review: ReviewSegment;
before: ReviewSegment;
after: ReviewSegment;
}
export interface FrigateEvent {