Minor cleanup.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
// TODO Feature: Add title to clips / snapshots playing/viewing
|
||||
// TODO Feature: Automatically reload views as events happen.
|
||||
// TODO Quality: Single enum for view modes across enum and types and editor.
|
||||
// TODO Bug: Sometimes webrtc component shows up as not found in browser (maybe after fresh build?)
|
||||
// TODO Last step: Add documentation & screenshots.
|
||||
|
||||
|
||||
@@ -12,14 +12,6 @@ declare global {
|
||||
* Internal types.
|
||||
*/
|
||||
|
||||
|
||||
// enum FrigateCardView {
|
||||
// LIVE = "live", // Show the live camera.
|
||||
// CLIP = "clip", // Show a clip video.
|
||||
// CLIPS = "clips", // Show the clips gallery.
|
||||
// SNAPSHOT = "snapshot", // Show a snapshot.
|
||||
// SNAPSHOTS = "snapshots", // Show the snapshots gallery.
|
||||
// }
|
||||
export const FRIGATE_CARD_VIEWS = ["live", "clip", "clips", "snapshot", "snapshots"] as const;
|
||||
export type FrigateCardView = typeof FRIGATE_CARD_VIEWS[number];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user