forked from Github/frigate
Publish finished reviews to mqtt / ws and use that for source of update banner (#10072)
* Add reviews to frontend * Update ready when new review is saved * fix * Formatting
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { ReviewSegment } from "./review";
|
||||
|
||||
type FrigateObjectState = {
|
||||
id: string;
|
||||
camera: string;
|
||||
@@ -27,6 +29,11 @@ type FrigateObjectState = {
|
||||
};
|
||||
};
|
||||
|
||||
export interface FrigateReview {
|
||||
type: "new" | "update" | "end";
|
||||
review: ReviewSegment;
|
||||
}
|
||||
|
||||
export interface FrigateEvent {
|
||||
type: "new" | "update" | "end";
|
||||
before: FrigateObjectState;
|
||||
|
||||
Reference in New Issue
Block a user